summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexandre Rostovtsev <tetromino@gentoo.org>2012-01-27 21:54:26 +0000
committerAlexandre Rostovtsev <tetromino@gentoo.org>2012-01-27 21:54:26 +0000
commitc2d6dad9ce6714ad7bf267d59cd90b7b0a506228 (patch)
treeef2bc810676fb8887eec2ae1071b20f671b19f3d /gnome-extra
parentremove old version (diff)
downloadhistorical-c2d6dad9ce6714ad7bf267d59cd90b7b0a506228.tar.gz
historical-c2d6dad9ce6714ad7bf267d59cd90b7b0a506228.tar.bz2
historical-c2d6dad9ce6714ad7bf267d59cd90b7b0a506228.zip
Add missing gconf-python dep (bug #401083, thanks to Ben Kohler for reporting); make cinnamon-settings respect /usr/lib64 and use python2.
Package-Manager: portage-2.2.0_alpha84/cvs/Linux x86_64
Diffstat (limited to 'gnome-extra')
-rw-r--r--gnome-extra/cinnamon/ChangeLog9
-rw-r--r--gnome-extra/cinnamon/Manifest10
-rw-r--r--gnome-extra/cinnamon/cinnamon-1.2-r1.ebuild (renamed from gnome-extra/cinnamon/cinnamon-1.2.ebuild)28
3 files changed, 37 insertions, 10 deletions
diff --git a/gnome-extra/cinnamon/ChangeLog b/gnome-extra/cinnamon/ChangeLog
index 842ff4ffff9f..8f40b53c58d0 100644
--- a/gnome-extra/cinnamon/ChangeLog
+++ b/gnome-extra/cinnamon/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for gnome-extra/cinnamon
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/gnome-extra/cinnamon/ChangeLog,v 1.3 2012/01/25 08:43:16 tetromino Exp $
+# $Header: /var/cvsroot/gentoo-x86/gnome-extra/cinnamon/ChangeLog,v 1.4 2012/01/27 21:54:26 tetromino Exp $
+
+*cinnamon-1.2-r1 (27 Jan 2012)
+
+ 27 Jan 2012; Alexandre Rostovtsev <tetromino@gentoo.org>
+ -cinnamon-1.2.ebuild, +cinnamon-1.2-r1.ebuild:
+ Add missing gconf-python dep (bug #401083, thanks to Ben Kohler for
+ reporting); make cinnamon-settings respect /usr/lib64 and use python2.
*cinnamon-1.2 (25 Jan 2012)
diff --git a/gnome-extra/cinnamon/Manifest b/gnome-extra/cinnamon/Manifest
index e3da7c9b2017..d84d8e064d41 100644
--- a/gnome-extra/cinnamon/Manifest
+++ b/gnome-extra/cinnamon/Manifest
@@ -9,13 +9,13 @@ DIST cinnamon-1.1.3.tar.gz 2273742 RMD160 37f6cc48c6c46c69c8da16c647af3675ee3c03
DIST cinnamon-1.2.tar.gz 2375269 RMD160 66844177f0b9a331c2bf59434ffbfa39504f4854 SHA1 bdf91cef0e01ccbdf4d1b4e35c0f51ad04adacbd SHA256 caa83d0536bc08e2446277bb744efdf141b40cf705f4cf86ffbb91dea5d6d488
DIST cinnamon-session_1.0.0_all.deb 1634 RMD160 3420dd6144fe184cd0b049f9a7dc0b033b3cdb5a SHA1 f963e4473dbdb28964357f742119cf1c87c3361f SHA256 720e07da6f3163346db9d01fff1b8771aaf145c2d406a4e88435826a38de0134
EBUILD cinnamon-1.1.3.ebuild 6846 RMD160 fb2e31f780a44a9779d6dee4f35153e84396a422 SHA1 07053855f3798253d0f0d0ad55e791956b85b655 SHA256 e5e5b3a7fe436d5e0758606ca35a5ccf44b80492b9e854f1b58c0bce61f0b9c2
-EBUILD cinnamon-1.2.ebuild 6800 RMD160 82f048887fffed5bbb52961fbca3070b4544f213 SHA1 ffdc51f37e1f203e49afc526d8995c2f2ce2c176 SHA256 d7b92a3e6e5cbc03ebe3d4db64a17ee43c351d312b1538282db3168ef63d191c
-MISC ChangeLog 1091 RMD160 67d52b82063bd602c6bc61e92b6f88e41f4d8b7d SHA1 2786e01dc48017f4b990f56d7f58e180c5b6915e SHA256 697d82c5ba1591209010dce844d5068f85d18824c481ab6861e0d553e7d04e03
+EBUILD cinnamon-1.2-r1.ebuild 7525 RMD160 c0c9fd5373c641004d8135c2d5c43a87f3b81139 SHA1 d9a8aa94d097726f24c9d3fb261d10380cc730d9 SHA256 c851b55af494c7578e086177fd11c52eb00a1dfc708c8b959856f43bdb932fa9
+MISC ChangeLog 1375 RMD160 0fd5605cde3d2c48849c97ebda1bc2a550ed7895 SHA1 b0e711d7eb07f088a488dbbb795fbcbd07d6d7b2 SHA256 2c7eefc3e73263aa62ee3dc2ebc01ffd67cfc11bf41e1315f3ad08965097035d
MISC metadata.xml 158 RMD160 c0e2bae8e91bb6be8922bac5e4f597302e06587e SHA1 38f78e9790bcd4382b4a49aa226aa6dda1d3a3d7 SHA256 3a7dbca0fdc557de69783e0663e2d76ddab129ea8a19b2d0ef6d3e5d1b947ce1
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.18 (GNU/Linux)
-iF4EAREIAAYFAk8fwKoACgkQdjK8w9WeBnCPhQEAgmDi6vN5Kfcw5KZ3hZyMV1tT
-KD0LucXLk4dKmkkeDRcA/18HJQmClFpuWBYpaise4LvT9iRbcBBoDWkNsvQSfJ/j
-=MDAd
+iF4EAREIAAYFAk8jHRgACgkQdjK8w9WeBnC1vQD/Rjc2PFHDjJs++6hrq+QCqqUH
+pvAqlRM+L4e/r4+Lmd0BAIqY1nP4gjYx6PfIhB+0QFC8d0O/HYQ0sC1yEQUEMpvq
+=hC+v
-----END PGP SIGNATURE-----
diff --git a/gnome-extra/cinnamon/cinnamon-1.2.ebuild b/gnome-extra/cinnamon/cinnamon-1.2-r1.ebuild
index 216865818989..0679be78139d 100644
--- a/gnome-extra/cinnamon/cinnamon-1.2.ebuild
+++ b/gnome-extra/cinnamon/cinnamon-1.2-r1.ebuild
@@ -1,13 +1,13 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/gnome-extra/cinnamon/cinnamon-1.2.ebuild,v 1.1 2012/01/25 08:43:16 tetromino Exp $
+# $Header: /var/cvsroot/gentoo-x86/gnome-extra/cinnamon/cinnamon-1.2-r1.ebuild,v 1.1 2012/01/27 21:54:26 tetromino Exp $
EAPI="4"
GCONF_DEBUG="no"
GNOME2_LA_PUNT="yes"
PYTHON_DEPEND="2:2.5"
-inherit autotools eutils gnome2 pax-utils python
+inherit autotools eutils gnome2 multilib pax-utils python
DESCRIPTION="A fork of GNOME Shell with layout similar to GNOME 2"
HOMEPAGE="http://cinnamon.linuxmint.com/"
@@ -74,6 +74,7 @@ COMMON_DEPEND=">=dev-libs/glib-2.29.10:2
# user switching with gdm-3.1.x)
# 6. caribou needed for on-screen keyboard
# 7. xdg-utils needed for xdg-open, used by extension tool
+# 8. gconf-python needed for cinnamon-settings
RDEPEND="${COMMON_DEPEND}
>=gnome-base/dconf-0.4.1
>=gnome-base/libgnomekbd-2.91.4[introspection]
@@ -90,6 +91,8 @@ RDEPEND="${COMMON_DEPEND}
x11-misc/xdg-utils
+ dev-python/gconf-python:2
+
networkmanager? (
net-misc/mobile-broadband-provider-info
sys-libs/timezone-data )"
@@ -133,18 +136,28 @@ src_prepare() {
sed -e "s:/usr/lib/gnome-session/gnome-session-check-accelerated:${EPREFIX}/usr/libexec/gnome-session-check-accelerated:" \
-i "files/usr/share/gnome-session/sessions/cinnamon.session" || die "sed 1 failed"
+ # Gentoo uses /usr/$(get_libdir), not /usr/lib even for python
+ sed -e "s:/usr/lib/cinnamon-settings:/usr/$(get_libdir)/cinnamon-settings:" \
+ -i files/usr/lib/cinnamon-settings/cinnamon-settings.py \
+ files/usr/bin/cinnamon-settings \
+ files/cinnamon-settings.pot \
+ files/makepot || die "sed 2 failed"
+ mv files/usr/lib files/usr/$(get_libdir) || die "mv failed"
+
eautoreconf
gnome2_src_prepare
# Drop G_DISABLE_DEPRECATED for sanity on glib upgrades; bug #384765
# Note: sed Makefile.in because it is generated from several Makefile.ams
sed -e 's/-DG_DISABLE_DEPRECATED//g' \
- -i src/Makefile.in browser-plugin/Makefile.in || die "sed 2 failed"
+ -i src/Makefile.in browser-plugin/Makefile.in || die "sed 3 failed"
}
src_install() {
gnome2_src_install
- python_convert_shebangs 2 "${D}"/usr/bin/cinnamon-extension-tool
+ python_convert_shebangs 2 "${ED}usr/bin/cinnamon-extension-tool" \
+ "${ED}usr/bin/cinnamon-settings" \
+ "${ED}usr/$(get_libdir)/cinnamon-settings/cinnamon-settings.py"
# Required for gnome-shell on hardened/PaX, bug #398941
pax-mark mr "${ED}usr/bin/cinnamon"
@@ -152,6 +165,8 @@ src_install() {
pkg_postinst() {
gnome2_pkg_postinst
+ python_mod_optimize /usr/$(get_libdir)/cinnamon-settings
+
if ! has_version '>=media-libs/gst-plugins-good-0.10.23' || \
! has_version 'media-plugins/gst-plugins-vp8'; then
ewarn "To make use of Cinnamon's built-in screen recording utility,"
@@ -190,3 +205,8 @@ pkg_postinst() {
fi
fi
}
+
+pkg_postrm() {
+ gnome2_pkg_postrm
+ python_mod_cleanup /usr/$(get_libdir)/cinnamon-settings
+}