summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexandre Rostovtsev <tetromino@gentoo.org>2015-06-14 01:59:47 +0000
committerAlexandre Rostovtsev <tetromino@gentoo.org>2015-06-14 01:59:47 +0000
commit78f055d0e0dec0db9fa9b1cf6a7f01933101e5a5 (patch)
tree3450af3fa0453057e9efe41bb5a83974cf1dc2e2 /gnome-extra
parentVersion bump for Cinnamon 2.6 (diff)
downloadhistorical-78f055d0e0dec0db9fa9b1cf6a7f01933101e5a5.tar.gz
historical-78f055d0e0dec0db9fa9b1cf6a7f01933101e5a5.tar.bz2
historical-78f055d0e0dec0db9fa9b1cf6a7f01933101e5a5.zip
Version bump (bug #549916), see http://segfault.linuxmint.com/2015/06/cinnamon-2-6/ for release notes. Drop old.
Package-Manager: portage-2.2.20/cvs/Linux x86_64 Manifest-Sign-Key: 0x18E5B6F2D8D5EC8D
Diffstat (limited to 'gnome-extra')
-rw-r--r--gnome-extra/cinnamon/ChangeLog12
-rw-r--r--gnome-extra/cinnamon/Manifest28
-rw-r--r--gnome-extra/cinnamon/cinnamon-2.6.7.ebuild (renamed from gnome-extra/cinnamon/cinnamon-2.2.16-r2.ebuild)122
-rw-r--r--gnome-extra/cinnamon/files/cinnamon-2.6.7-optional-networkmanager.patch88
-rw-r--r--gnome-extra/cinnamon/files/cinnamon-2.6.7-set-wheel.patch73
5 files changed, 255 insertions, 68 deletions
diff --git a/gnome-extra/cinnamon/ChangeLog b/gnome-extra/cinnamon/ChangeLog
index c623f27dcdff..c8df40661019 100644
--- a/gnome-extra/cinnamon/ChangeLog
+++ b/gnome-extra/cinnamon/ChangeLog
@@ -1,6 +1,16 @@
# ChangeLog for gnome-extra/cinnamon
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/gnome-extra/cinnamon/ChangeLog,v 1.58 2015/06/07 11:00:12 pacho Exp $
+# $Header: /var/cvsroot/gentoo-x86/gnome-extra/cinnamon/ChangeLog,v 1.59 2015/06/14 01:59:41 tetromino Exp $
+
+*cinnamon-2.6.7 (14 Jun 2015)
+
+ 14 Jun 2015; Alexandre Rostovtsev <tetromino@gentoo.org>
+ -cinnamon-2.2.16-r2.ebuild, +cinnamon-2.6.7.ebuild,
+ +files/cinnamon-2.6.7-optional-networkmanager.patch,
+ +files/cinnamon-2.6.7-set-wheel.patch:
+ Version bump (bug #549916), see
+ http://segfault.linuxmint.com/2015/06/cinnamon-2-6/ for release notes. Drop
+ old.
*cinnamon-2.4.7 (07 Jun 2015)
diff --git a/gnome-extra/cinnamon/Manifest b/gnome-extra/cinnamon/Manifest
index 04922344feb1..66d073700543 100644
--- a/gnome-extra/cinnamon/Manifest
+++ b/gnome-extra/cinnamon/Manifest
@@ -12,21 +12,35 @@ AUX cinnamon-2.4.5-background.patch 1084 SHA256 d13d14917cd5372f1078963c33f3e32d
AUX cinnamon-2.4.5-gnome-3.14.patch 1761 SHA256 a26e0b876c49abf9bb610bdb7766e689d2a5a3459de31c1a1f86c7cf4041c321 SHA512 bd0b8f19c628c634c9e8ca939d4a6e0d16da1dd12d2ef3e0ffcc1b7605fbf103847a6d0d2e41e2143033fc8a50b222515e8638fe7807ad595ac34d4975835c10 WHIRLPOOL 101a5b4c3e735e376cb063f0b30573adde6f79bca47501bd376820443f3105013de81b5560a26adf56c88cac8261ecda39e7debbc863890c66068d121c2f7fc2
AUX cinnamon-2.4.5-optional-networkmanager.patch 3579 SHA256 6bd12e4fc844457399f004a30371c34774016a3f6ee3e6203393edb781488c8b SHA512 47bac1d6e52ee7fca305e5ee910229d84142eda40826281f6773a62125604609c4ac8df1f4274f09f1e9a99118b9c12cf3f1889b80a4b7a566b528606cfac207 WHIRLPOOL 79757d88f07e928c3f45a5b97399c67c555a63367a2e8294c2210fbe774f139062011f9d448b0f4cd97495e318ea25cacec161ca7fa133daf1d6e7d9d49ef8f3
AUX cinnamon-2.4.5-set-wheel.patch 3141 SHA256 d7c38162bc0c8bf56f8fc6f58c04397638675816da23a93ba2de829967c0a7ee SHA512 729e389580658db0e124ea74dd9c0e3033592e13a90e1d1baa880107adcdb97c61ec5f122c6663f98232117ec3448dd6fad34baa7ebae23fdb0cd4cb26e4c402 WHIRLPOOL 92f5ae780220060b7dc227bc43117fda2a8cb50e98c059bcc226b55d081f83ce768342712a4716666820749694d52456bda7cab54c6b8a1a7e58b61fffb75410
+AUX cinnamon-2.6.7-optional-networkmanager.patch 3508 SHA256 f2f78dc683fcd096ae922dfa849686037047b78de51fd513fa1667aebdcfb94b SHA512 3798c0e616297390db3a5006ca7616546979796b0665496536c58745c97b05bed6fb363e73c0ac0ef83d024cd8d5f3faa309df1c5acc8f5efd481b8bc9b43a5c WHIRLPOOL d8efac762368adfa71676674c016de80bf5c01818ff85f2d73f6bba9c9eebd6a5e8a2da7313185de8568a1e1c3da42d4ebb6affd4124dc1969fbcf24d113c256
+AUX cinnamon-2.6.7-set-wheel.patch 3309 SHA256 61fa87e33cca75ce0e947513a1f95e3fe9de92167ef72e3c0f9ddd5b18edcead SHA512 6fa8a789cbec93f31e6bc4b6689431d5c6732ee4f8a088ffcf1103890e055b89d4ab21872bbe2b996bea27755324299366f5232aa22fd05b57db073e652fb687 WHIRLPOOL 94463bfd46b017198b6135585d04e959378e36d6b45de2d2de98e1801f43884170369b641761eae687cd6d3b8757874a29c45877db4f12f1e4a418e9c80190a0
AUX cinnamon-screensaver.desktop 451 SHA256 19ca21fbe12ef393176c2dfa75c7c1b248c6e1560005e0c19a07349f25101323 SHA512 8e1f7b5524494336da3f469f446c45adfefee0ff55f04d069612234cc27ca39b6bf1c87bdcdb18078ddffad4b46a8750bd5b41d35ab9180b4ed1417cc82e5552 WHIRLPOOL 29a1a430f7d7aa73bd8ff5d0877772fe092c3c39b9bc1adb35b32f5432f357204b7367edd00616adc5a15f3059cd16da14db5047ddc09795ce761e53f2fec626
AUX cinnamon2d-screensaver.desktop 455 SHA256 ce9172af04758a4078079e6bcb7b1117bfce02e3a9a7f794f32d7359612a3aa0 SHA512 2dffcbc2dba76597176ea645974208b58aca9c5809e46426e55f655a4f05a2fafffb9f024d25ec6bbe7fb05a3e8bfbfdfed055051895838db8816edfaea57791 WHIRLPOOL a4bec3d1c85b47691b2ddd337c480889a51a3140ff17ecb7fd11e3326788b9b20044a540851b3bcfae3a106e143363369d47c03310b315a78faff5201c66e215
AUX polkit-cinnamon-authentication-agent-1.desktop 213 SHA256 9bc4aa73d429ed0563390fa1abdb4512b664c60ef5043f01db7bda9a0635d645 SHA512 b60eb24e3bbd501ed9a22cea386c3f70be431e15c3851ac8e8ebbc454648510ab30ad89d1720cbd9036debb2d970adaef0aa28ca37e8f5cbfe56cbf50c8775db WHIRLPOOL dacb03daf730732ea9b8f9a7bd694e212152e2f2129ce300302bad5f4ae3d49c6be3c3adca38523d301c7469558faebe100ff605e7e3931766d95e9108f203b0
-DIST cinnamon-2.2.16.tar.gz 2656994 SHA256 1fc0bc1b6dbd071ca61f90c5cac5e41abfddbfa77577bdf3407afd1c1ca04793 SHA512 1e671c02393bb42ffcf20766a4bda005199115f9686784b3baa85828182d630cedce392a589689e639005aaf4ae05a2fb5c9b852cd94691f62ef55ab415a53fa WHIRLPOOL a8f86eb71449fd8281ff85b0e93e92d53fde43c7cf617621d2093b8222b8061ed278a7fe13413fc4f896dfbbdd12f67cb5b20536637ac53d6b06564b76dd918f
DIST cinnamon-2.4.6.tar.gz 2813177 SHA256 f0f8b0c56e8c6ee53daa06bea28c04967960eefed601db2f0ae745ca2abe78e1 SHA512 c7553b3af4a46dc25e7b39ce8b66036d6975b9487ecaba023df3d5b4176fc9f2cea90f1e6a8daadcf482f5cfc0c495c011b2734b60af1bf3577c033c587de43d WHIRLPOOL 2060d1784e285b084e576e33e0dfcf3721779a8ce92be0cd7187db792b8ac631d931cdd327203b694904552657133e1a418ce8e23e1d2b1ef165cc97f1b8477b
DIST cinnamon-2.4.7.tar.gz 2812013 SHA256 d971c893d4617f482bad1d79b18cf14ccb3a2298f2381f1a64f1d72ee59cb40e SHA512 0450657804d5bd290177577a7059b494d7ef88bbfbec7b5a480cdc29894dd92d6f4e404d789009abcaad4c6adf279be991c5f8c3d300f70fec81acd57fb8700c WHIRLPOOL 43f31b2b83009321e3d7cd17a0570a2d83bed7fe0cef54966ff32c7075cf6e9181f96c5fd1725f540bb1cce00a6944f57b65bb77361995e527c85c74884e6a0d
-EBUILD cinnamon-2.2.16-r2.ebuild 9328 SHA256 6893dc734d355fcbcc913cbc9b9db9bfdfe95619af2267fc2a9131647665490a SHA512 7a5b5b9de285f670040585b62dce6be4150bbcc7d6877c9f0989f7bd984cd082bed7f1ce3b49fdb5b748542a9d6a1645a569b2686f59e9bbddc9b0da5918d698 WHIRLPOOL 802dffa3cb025948c10d3a004717d7bee2d1bfbf65ec3d5b7ff847afa999e0be7ed438f6547ef6cfcd7937766c1e7f8f2d90ba5aa05d1af5dc69a2521da15ce8
+DIST cinnamon-2.6.7.tar.gz 2967804 SHA256 839ab0ea86b718809e53a0209d72701638ab3ac68263f2469e70967aaf21a004 SHA512 f76aa7401e44b0529ec5041b613df2ad95393701949fe8a25de75332984d102b441da32d08b06618cdf132d5026a92cd21ebaf8cac1707798dae667c468d57f0 WHIRLPOOL 0b1acc4e4e03c374cfcf12abe1e9cfb2593d0b72c2ace10db113665e517b1d9204ac54bdb9237ae2dc544b50b10b94d581fa7163ea2a0b07669bfbd0f8a3e30b
EBUILD cinnamon-2.4.6.ebuild 8420 SHA256 0771b3abecdbc455cc9f7f26c59fe1dc318b099c3b769623a1837c341dbe74ce SHA512 aaceda46cc0f002325d23145c43138411c02757afea482268187a4edf9969bbeb86a7fc9db342e01525a35ebe1cc00e93c4dd971e265b717e8675eba09b620e9 WHIRLPOOL 03eb83357ab9cb51a057e7a80ad95dc6e7b7f8ae53c410a407febc3d153f81a1774fa89177b82c1b45f823e5528bf7063964796e79b840c5c604d6b7382fce20
EBUILD cinnamon-2.4.7.ebuild 8426 SHA256 7a8ab76dde16638f4d76259ca540a29cbeb9f7577a27f5c7bc306d3f476d052a SHA512 58ebcf834d2cff460e9acd6590030faa9ebb927a201e653559fde1b50ad268ed51c83a397ffd0e706591cfcf84e180dc341b2495e6fea22a734a3c3ba900bd3b WHIRLPOOL f03fd8742c0ac58604ef9470dcc47fbae90629cb1f91206d99b1d5bc59019f70a9404239084c7dd8e2803251448f5bb2f79c603474b6d20bc909f95b91bf669a
-MISC ChangeLog 13171 SHA256 96c2e6b3faa9522bf8d9039ff67a8575895ae7288871e6efa0e3406b0aad2103 SHA512 4fcef4efe5d0db4c0de9f67e57a61c462f9b8474965ff3c6479a695a3e0e7a2078d23e40b29f3add8d9e8fa604f18cf78b74a3754a6b7a4c2264cf487b5b4b8f WHIRLPOOL 1bc80d7d37c43ab3f47d8afdd10ce66ccea3af1c6a7b510feed18427be3daddf952056fad40eabffc0e58d18a80c4a8c6708587cae139be7a76aa1f34cf85ff3
+EBUILD cinnamon-2.6.7.ebuild 8840 SHA256 fcc5a6577d955ab84bda316b903b0cb0c896a9aaa865c7adc6126711d2acea33 SHA512 a388773f3b8b6658cf787242cf54c5d3bb95cb14d4341c454e517e4518994b700e922d5b5c9b9cf69161d5a01ed60ba8b4850588f18c5b43bb9844f4e75eef09 WHIRLPOOL d07206b8d03c7b7782865433b9044c94550b1941517c2a8e224dbf19f474f9e49c215e02f0124a505491814da9d489d62f25eab7e3b1ad4b414f1f5ee1079423
+MISC ChangeLog 13535 SHA256 22aac8e91f0b562e8c6af0ec84eeb09f07935304d6ad0c65a75b497643b6d60f SHA512 3e357ce8811950781d63b883146b64716452afac45babfe02e0593aee83dbdb71125ae06b5a33455eedafe0235f797db048edc27c2f36c326be86ded5f32d45f WHIRLPOOL 758c799eb832b13dac017f8bcfee6bbeacb48b506c3d89a3974f63a10ea5f6cbb063e7eb983ba1cc10c0f26c06e2d87e094be157969ba65aaff6a70f4d085ce1
MISC metadata.xml 277 SHA256 6786a8b1c9403816c51e1d0148d688b84c4af397d5e9d1339c6b744145599b05 SHA512 57f61828a2c1bc24fa0ee0d83fac6e8aa1c6bf6baae9f291e649dac3a08bb8d49ab299f3b64a384f0dbb436ce210ac74cd1fc230079416d894ffb49717cd401a WHIRLPOOL f6d039a872e0b23097060a856262638e4d092dd407a0b332ce419216663b7d08269c8291fcf493300b4d55d0ac6f2cd8a771ed7bfcca2a329ffcba8f6ad4ab75
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2
+Version: GnuPG v2.0
-iEYEAREIAAYFAlV0JD0ACgkQCaWpQKGI+9QqOwCaAvdBEkVUwG/sNYdnm4fZU3zY
-4SEAn3jZrejP0GCMV5X9u1IhmLHt+WIl
-=AFZD
+iQJ8BAEBCABmBQJVfOAPXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
+ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ1RTNCRkUzRDRBNkI2MEEwQkYwQzMyOEEx
+OEU1QjZGMkQ4RDVFQzhEAAoJEBjltvLY1eyNjW4P/jF2xvogFtIR+mRTPfNqWw6Y
+AZ7mlAMb9jIyHMWX76Frm85MStxRWNKGcL0Wf71J7EZ+P1eS4Q9jRDU7DDhNwGcz
+PysjHqiwYTWw3QMv8KQ/s9+bRwZM2UB6zeX6GJlqOohxLZtoCykRUuRAYO9BjJwJ
+PUYKtBj55v7thLIP0EbtIVTXg5YPzHd26UB8c3SR15/ArJcBV0IKjVevzJTsWFLz
+U30ZlGDjXT5HQOaqFu20F0sAuxjJnTnJNarVDt57K/Gi6kgp1XzIQnkxUhSRdL6O
+T4qiosLlyZcPYYRoEs4/C3WcrRV0gJdUV0F9cI0PIXn30fK4y1GTpSaQNICCcycl
+BUvCNAHsAtbkBXbtzZDdRkQcggB9rBwlLkPII7sJBtrt00jPQLBWEpiYeKRgrttE
+rasYLDrNW863y+Y8cDTAwQYgnc0hPdzIrsuky7i8F1yUjIZ23xGPY44eFxKjkZ6/
+8RqHK1DjEufep8NVNVbARgM8bXvuTEU/+wvOOBtRueKLgTVYW2na/5eszyR/eTdX
+sTQ+4CwikL9iRjAD4FxokLbqbzygGynP6trNdW0+YQTRHXOJdrvm8CrdsA2b1LU6
+tirSU21Oa3XOGVss9wbSnFPBw/mLh5U0E3HafdEJ1ud5pIGQZT7p2Fy9KKFyG6am
+O8BjnJwUUg1mnUjixuS6
+=LkzS
-----END PGP SIGNATURE-----
diff --git a/gnome-extra/cinnamon/cinnamon-2.2.16-r2.ebuild b/gnome-extra/cinnamon/cinnamon-2.6.7.ebuild
index 9c42d038fee4..12a93504ec84 100644
--- a/gnome-extra/cinnamon/cinnamon-2.2.16-r2.ebuild
+++ b/gnome-extra/cinnamon/cinnamon-2.6.7.ebuild
@@ -1,14 +1,14 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/gnome-extra/cinnamon/cinnamon-2.2.16-r2.ebuild,v 1.3 2014/12/19 13:38:02 pacho Exp $
+# $Header: /var/cvsroot/gentoo-x86/gnome-extra/cinnamon/cinnamon-2.6.7.ebuild,v 1.1 2015/06/14 01:59:41 tetromino Exp $
EAPI="5"
GCONF_DEBUG="no"
GNOME2_LA_PUNT="yes"
-PYTHON_COMPAT=( python2_7 )
+PYTHON_COMPAT=( python2_7 python3_3 python3_4 )
PYTHON_REQ_USE="xml"
-inherit autotools eutils gnome2 multilib pax-utils python-single-r1
+inherit autotools eutils flag-o-matic gnome2 multilib pax-utils python-r1
DESCRIPTION="A fork of GNOME Shell with layout similar to GNOME 2"
HOMEPAGE="http://cinnamon.linuxmint.com/"
@@ -21,40 +21,44 @@ SRC_URI="https://github.com/linuxmint/Cinnamon/archive/${MY_PV}.tar.gz -> ${MY_P
LICENSE="GPL-2+"
SLOT="0"
# bluetooth support dropped due bug #511648
-IUSE="+l10n +networkmanager" #+bluetooth
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+IUSE="+nls +networkmanager" #+bluetooth
+# We need *both* python 2.7 and 3.x
+REQUIRED_USE="${PYTHON_REQUIRED_USE}
+ python_targets_python2_7
+ || ( python_targets_python3_3 python_targets_python3_4 )
+ "
-KEYWORDS="amd64 x86"
+KEYWORDS="~amd64 ~x86"
COMMON_DEPEND="
+ app-accessibility/at-spi2-atk:2
app-misc/ca-certificates
dev-libs/dbus-glib
- >=dev-libs/glib-2.29.10:2
+ >=dev-libs/glib-2.29.10:2[dbus]
>=dev-libs/gobject-introspection-0.10.1
>=dev-libs/json-glib-0.13.2
>=dev-libs/libcroco-0.6.2:0.6
dev-libs/libxml2:2
gnome-base/gconf:2[introspection]
gnome-base/librsvg
- >=gnome-extra/cinnamon-desktop-1.0:0=[introspection]
+ >=gnome-extra/cinnamon-desktop-2.4:0=[introspection]
gnome-extra/cinnamon-menus[introspection]
- >=gnome-extra/cjs-1.9.0
- >=media-libs/clutter-1.7.5:1.0[introspection]
+ >=gnome-extra/cjs-2.4
+ >=media-libs/clutter-1.10:1.0[introspection]
media-libs/cogl:1.0=[introspection]
>=gnome-base/gsettings-desktop-schemas-2.91.91
media-libs/gstreamer:1.0
media-libs/gst-plugins-base:1.0
- media-libs/libcanberra
media-sound/pulseaudio:0=[glib]
net-libs/libsoup:2.4[introspection]
>=sys-auth/polkit-0.100[introspection]
x11-libs/gdk-pixbuf:2[introspection]
- >=x11-libs/gtk+-3.0.0:3[introspection]
+ >=x11-libs/gtk+-3.9.12:3[introspection]
x11-libs/pango[introspection]
>=x11-libs/startup-notification-0.11
x11-libs/libX11
>=x11-libs/libXfixes-5.0
- >=x11-wm/muffin-1.9.1[introspection]
+ >=x11-wm/muffin-2.4[introspection]
${PYTHON_DEPS}
networkmanager? (
gnome-base/libgnome-keyring
@@ -79,11 +83,10 @@ COMMON_DEPEND="
RDEPEND="${COMMON_DEPEND}
>=gnome-base/dconf-0.4.1
>=gnome-base/libgnomekbd-2.91.4[introspection]
- || ( sys-power/upower[introspection] sys-power/upower-pm-utils[introspection] )
+ sys-power/upower[introspection]
- gnome-extra/cinnamon-session
-
- gnome-extra/cinnamon-settings-daemon
+ >=gnome-extra/cinnamon-session-2.4
+ >=gnome-extra/cinnamon-settings-daemon-2.4
>=sys-apps/accountsservice-0.6.14[introspection]
@@ -91,33 +94,33 @@ RDEPEND="${COMMON_DEPEND}
x11-misc/xdg-utils
- dev-python/dbus-python[${PYTHON_USEDEP}]
- dev-python/gconf-python:2
- dev-python/lxml[${PYTHON_USEDEP}]
- dev-python/pexpect[${PYTHON_USEDEP}]
- dev-python/pycairo[${PYTHON_USEDEP}]
+ dev-python/dbus-python[python_targets_python2_7]
+ dev-python/gconf-python:2[python_targets_python2_7]
+ dev-python/lxml[python_targets_python2_7]
+ dev-python/pexpect[python_targets_python2_7]
+ dev-python/pycairo[python_targets_python2_7]
dev-python/pygobject:3[${PYTHON_USEDEP}]
- dev-python/pyinotify[${PYTHON_USEDEP}]
- dev-python/pypam[${PYTHON_USEDEP}]
- virtual/python-imaging[${PYTHON_USEDEP}]
+ dev-python/pyinotify[python_targets_python2_7]
+ dev-python/pypam[python_targets_python2_7]
+ virtual/python-imaging[python_targets_python2_7]
x11-themes/gnome-themes-standard[gtk]
x11-themes/gnome-icon-theme-symbolic
- gnome-extra/nemo
- gnome-extra/cinnamon-control-center
- gnome-extra/cinnamon-screensaver
+ >=gnome-extra/nemo-2.4
+ >=gnome-extra/cinnamon-control-center-2.4
+ >=gnome-extra/cinnamon-screensaver-2.4
- l10n? ( >=gnome-extra/cinnamon-translations-2.2 )
networkmanager? (
gnome-extra/nm-applet
net-misc/mobile-broadband-provider-info
sys-libs/timezone-data )
+ nls? ( >=gnome-extra/cinnamon-translations-2.4 )
"
#bluetooth? ( net-wireless/cinnamon-bluetooth )
DEPEND="${COMMON_DEPEND}
- dev-python/polib[${PYTHON_USEDEP}]
+ dev-python/polib[python_targets_python2_7]
>=sys-devel/gettext-0.17
virtual/pkgconfig
>=dev-util/intltool-0.40
@@ -130,38 +133,27 @@ DEPEND="${COMMON_DEPEND}
S="${WORKDIR}/Cinnamon-${PV}"
pkg_setup() {
- python-single-r1_pkg_setup
+ python_setup
}
src_prepare() {
# Fix backgrounds path as cinnamon doesn't provide them
# https://github.com/linuxmint/Cinnamon/issues/3575
- epatch "${FILESDIR}/background.patch"
+ epatch "${FILESDIR}"/${PN}-2.4.5-background.patch
# Fix automagic gnome-bluetooth dep, bug #398145
- epatch "${FILESDIR}/${PN}-2.2.6-automagic-gnome-bluetooth.patch"
+ epatch "${FILESDIR}"/${PN}-2.2.6-automagic-gnome-bluetooth.patch
# Optional NetworkManager, bug #488684
- epatch "${FILESDIR}/${PN}-2.2.6-optional-networkmanager.patch"
-
- # Fix lspci path, https://github.com/linuxmint/Cinnamon/issues/3548
- epatch "${FILESDIR}/${PN}-2.2.16-sbin-lspci.patch"
-
- # Fix calendar with latest upower, https://github.com/linuxmint/Cinnamon/issues/2913
- epatch "${FILESDIR}/${PN}-2.2.16-calendar-upower.patch"
+ epatch "${FILESDIR}"/${PN}-2.6.7-optional-networkmanager.patch
# Use wheel group instead of sudo (from Fedora/Arch)
# https://github.com/linuxmint/Cinnamon/issues/3576
- epatch "${FILESDIR}/${PN}-2.2.16-set-wheel.patch"
+ epatch "${FILESDIR}"/${PN}-2.6.7-set-wheel.patch
# Fix GNOME 3.14 support (from Fedora/Arch)
# https://github.com/linuxmint/Cinnamon/issues/3577
- epatch "${FILESDIR}/${PN}-2.2.16-gnome-3.14.patch"
-
- # Check for the cc-panel path, not for the unneeded binary (from Arch)
- # https://github.com/linuxmint/Cinnamon/issues/3578
- sed -i 's|/usr/bin/cinnamon-control-center|/usr/lib/cinnamon-control-center-1/panels|' \
- files/usr/bin/cinnamon-settings || die
+ epatch "${FILESDIR}"/${PN}-2.4.5-gnome-3.14.patch
# Use pkexec instead of gksu (from Arch)
# https://github.com/linuxmint/Cinnamon/issues/3565
@@ -176,14 +168,8 @@ src_prepare() {
sed -e "s:/usr/lib/:/usr/$(get_libdir)/:" \
-e 's:"/usr/lib":"/usr/'"$(get_libdir)"'":' \
-i files/usr/share/polkit-1/actions/org.cinnamon.settings-users.policy \
- -i files/usr/lib/cinnamon-settings-users/cinnamon-settings-users.py \
- -i files/usr/lib/cinnamon-screensaver-lock-dialog/cinnamon-screensaver-lock-dialog.py \
- -i files/usr/lib/cinnamon-settings/cinnamon-settings.py \
- -i files/usr/lib/cinnamon-settings/modules/cs_backgrounds.py \
- -i files/usr/lib/cinnamon-settings/data/spices/applet-detail.html \
- -i files/usr/lib/cinnamon-settings/bin/*.py \
- -i files/usr/lib/cinnamon-desktop-editor/cinnamon-desktop-editor.py \
- -i files/usr/lib/cinnamon-menu-editor/cme/*.py \
+ -i files/usr/lib/*/*.py \
+ -i files/usr/lib/*/*/*.py \
-i files/usr/bin/* || die "sed failed"
if [[ "$(get_libdir)" != lib ]]; then
mv files/usr/lib "files/usr/$(get_libdir)" || die "mv failed"
@@ -193,26 +179,42 @@ src_prepare() {
rm -rv files/usr/share/cinnamon/applets/network@cinnamon.org || die
fi
- python_fix_shebang .
+ epatch_user
+
+ # python 2-and-3 shebang fixing craziness
+ local p
+ python_setup 'python3*'
+ for p in $(grep -rl '#!.*python3'); do
+ python_fix_shebang "${p}"
+ done
+
+ python_setup 'python2*'
+ for p in $(grep -rl '#!.*python[^3]'); do
+ python_fix_shebang "${p}"
+ done
eautoreconf
gnome2_src_prepare
}
src_configure() {
- # Don't error out on warnings
+ # https://bugs.gentoo.org/show_bug.cgi?id=536374
+ # https://github.com/linuxmint/Cinnamon/issues/3843
+ append-ldflags $(no-as-needed)
+
gnome2_src_configure \
+ --libdir="${EPREFIX}/usr/$(get_libdir)" \
+ --disable-rpath \
--disable-jhbuild-wrapper-script \
$(use_enable networkmanager) \
--with-ca-certificates="${EPREFIX}/etc/ssl/certs/ca-certificates.crt" \
BROWSER_PLUGIN_DIR="${EPREFIX}/usr/$(get_libdir)/nsbrowser/plugins" \
--without-bluetooth
- #$(use_with bluetooth)
}
src_install() {
gnome2_src_install
- python_optimize "${ED}usr/$(get_libdir)/cinnamon-"{desktop-editor,json-makepot,launcher,looking-glass,menu-editor,screensaver-lock-dialog,settings,settings-users}
+ python_optimize "${ED}"usr/$(get_libdir)/cinnamon-*
# Required for gnome-shell on hardened/PaX, bug #398941
pax-mark mr "${ED}usr/bin/cinnamon"
diff --git a/gnome-extra/cinnamon/files/cinnamon-2.6.7-optional-networkmanager.patch b/gnome-extra/cinnamon/files/cinnamon-2.6.7-optional-networkmanager.patch
new file mode 100644
index 000000000000..6af4f8642f73
--- /dev/null
+++ b/gnome-extra/cinnamon/files/cinnamon-2.6.7-optional-networkmanager.patch
@@ -0,0 +1,88 @@
+From 3dbb6dc0b3dd08e6d5ae24fa079d9443c1b66ab9 Mon Sep 17 00:00:00 2001
+From: Alexandre Rostovtsev <tetromino@gentoo.org>
+Date: Sat, 10 May 2014 15:14:05 -0400
+Subject: [PATCH] Make networkmanager dependency optional for Gentoo
+
+---
+ configure.ac | 35 ++++++++++++++++++++++++++++++++++-
+ js/misc/config.js.in | 2 ++
+ src/Makefile.am | 5 ++++-
+ 3 files changed, 40 insertions(+), 2 deletions(-)
+
+diff --git a/configure.ac b/configure.ac
+index b5668f4..5f600dd 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -82,7 +82,40 @@ PKG_CHECK_MODULES(CINNAMON, gio-2.0 >= $GIO_MIN_VERSION
+ libstartup-notification-1.0 >= $STARTUP_NOTIFICATION_MIN_VERSION
+ gobject-introspection-1.0 >= $GOBJECT_INTROSPECTION_MIN_VERSION
+ polkit-agent-1 >= $POLKIT_MIN_VERSION xfixes
+- libnm-glib libnm-util gnome-keyring-1 atk-bridge-2.0)
++ atk-bridge-2.0)
++
++##########################
++# Check for NetworkManager
++##########################
++NM_MIN_VERSION=0.9
++AC_ARG_ENABLE(networkmanager,
++ AS_HELP_STRING([--disable-networkmanager],
++ [disable NetworkManager support @<:@default=auto@:>@]),,
++ [enable_networkmanager=auto])
++
++if test "x$enable_networkmanager" != "xno"; then
++ PKG_CHECK_MODULES(NETWORKMANAGER,
++ [libnm-glib libnm-util gnome-keyring-1],
++ [have_networkmanager=yes],
++ [have_networkmanager=no])
++
++ CINNAMON_CFLAGS="$CINNAMON_CFLAGS $NETWORKMANAGER_CFLAGS"
++ CINNAMON_LIBS="$CINNAMON_LIBS $NETWORKMANAGER_LIBS"
++else
++ have_networkmanager="no (disabled)"
++fi
++
++if test "x$have_networkmanager" = "xyes"; then
++ AC_DEFINE(HAVE_NETWORKMANAGER, [1], [Define if we have NetworkManager])
++ AC_SUBST([HAVE_NETWORKMANAGER], [1])
++else
++ if test "x$enable_networkmanager" = "xyes"; then
++ AC_MSG_ERROR([Couldn't find NetworkManager.])
++ fi
++ AC_SUBST([HAVE_NETWORKMANAGER], [0])
++fi
++
++AM_CONDITIONAL(HAVE_NETWORKMANAGER, test "$have_networkmanager" = "yes")
+
+ PKG_CHECK_MODULES(CINNAMON_JS, gio-2.0 cjs-internals-1.0 >= $GJS_MIN_VERSION)
+
+diff --git a/js/misc/config.js.in b/js/misc/config.js.in
+index 704989b..df7e014 100644
+--- a/js/misc/config.js.in
++++ b/js/misc/config.js.in
+@@ -8,5 +8,7 @@ const PACKAGE_VERSION = '@PACKAGE_VERSION@';
+ const GJS_VERSION = '@GJS_VERSION@';
+ /* 1 if gnome-bluetooth is available, 0 otherwise */
+ const HAVE_BLUETOOTH = @HAVE_BLUETOOTH@;
++/* 1 if networkmanager is available, 0 otherwise */
++const HAVE_NETWORKMANAGER = @HAVE_NETWORKMANAGER@;
+ /* The system TLS CA list */
+ const CINNAMON_SYSTEM_CA_FILE = '@CINNAMON_SYSTEM_CA_FILE@';
+diff --git a/src/Makefile.am b/src/Makefile.am
+index 0b0a4a9..cf3a606 100644
+--- a/src/Makefile.am
++++ b/src/Makefile.am
+@@ -290,7 +290,10 @@ libcinnamon_la_LIBADD = \
+ libcinnamon_la_CPPFLAGS = $(cinnamon_cflags)
+
+ Cinnamon-0.1.gir: libcinnamon.la St-1.0.gir
+-Cinnamon_0_1_gir_INCLUDES = Clutter-1.0 ClutterX11-1.0 Meta-Muffin.0 Soup-2.4 CMenu-3.0 NetworkManager-1.0 NMClient-1.0
++Cinnamon_0_1_gir_INCLUDES = Clutter-1.0 ClutterX11-1.0 Meta-Muffin.0 Soup-2.4 CMenu-3.0
++if HAVE_NETWORKMANAGER
++Cinnamon_0_1_gir_INCLUDES += NetworkManager-1.0 NMClient-1.0
++endif
+ Cinnamon_0_1_gir_CFLAGS = $(libcinnamon_la_CPPFLAGS) -I $(srcdir)
+ Cinnamon_0_1_gir_LIBS = libcinnamon.la
+ Cinnamon_0_1_gir_FILES = $(libcinnamon_la_gir_sources)
+--
+2.4.3
+
diff --git a/gnome-extra/cinnamon/files/cinnamon-2.6.7-set-wheel.patch b/gnome-extra/cinnamon/files/cinnamon-2.6.7-set-wheel.patch
new file mode 100644
index 000000000000..386f815959b6
--- /dev/null
+++ b/gnome-extra/cinnamon/files/cinnamon-2.6.7-set-wheel.patch
@@ -0,0 +1,73 @@
+From 387df8aa7c950ab546a52edb36b39db5252dcd1e Mon Sep 17 00:00:00 2001
+From: Gilles Dartiguelongue <eva@gentoo.org>
+Date: Sun, 11 Jan 2015 20:50:13 +0100
+Subject: [PATCH] Use wheel group instead of sudo
+
+from Fedora/Arch
+
+https://github.com/linuxmint/Cinnamon/issues/3576
+---
+ .../cinnamon-settings-users.py | 20 ++++++--------------
+ 1 file changed, 6 insertions(+), 14 deletions(-)
+
+diff --git a/files/usr/lib/cinnamon-settings-users/cinnamon-settings-users.py b/files/usr/lib/cinnamon-settings-users/cinnamon-settings-users.py
+index 6fa9374..364c155 100755
+--- a/files/usr/lib/cinnamon-settings-users/cinnamon-settings-users.py
++++ b/files/usr/lib/cinnamon-settings-users/cinnamon-settings-users.py
+@@ -146,12 +146,11 @@ class EditableEntry (Gtk.Notebook):
+
+ class PasswordDialog(Gtk.Dialog):
+
+- def __init__ (self, user, password_mask, group_mask):
++ def __init__ (self, user, password_mask):
+ super(PasswordDialog, self).__init__()
+
+ self.user = user
+ self.password_mask = password_mask
+- self.group_mask = group_mask
+
+ self.set_modal(True)
+ self.set_skip_taskbar_hint(True)
+@@ -217,14 +216,7 @@ class PasswordDialog(Gtk.Dialog):
+ def change_password(self):
+ newpass = self.new_password.get_text()
+ self.user.set_password(newpass, "")
+- mask = self.group_mask.get_text()
+- if "nopasswdlogin" in mask:
+- os.system("gpasswd -d '%s' nopasswdlogin" % self.user.get_user_name())
+- mask = mask.split(", ")
+- mask.remove("nopasswdlogin")
+- mask = ", ".join(mask)
+- self.group_mask.set_text(mask)
+- self.password_mask.set_text(u'\u2022\u2022\u2022\u2022\u2022\u2022')
++ self.password_mask.set_text(u'\u2022\u2022\u2022\u2022\u2022\u2022')
+ self.destroy()
+
+ def set_passwords_visibility(self):
+@@ -522,7 +514,7 @@ class Module:
+ model, treeiter = self.users_treeview.get_selection().get_selected()
+ if treeiter != None:
+ user = model[treeiter][INDEX_USER_OBJECT]
+- dialog = PasswordDialog(user, self.password_mask, self.groups_label)
++ dialog = PasswordDialog(user, self.password_mask)
+ response = dialog.run()
+
+ def _on_groups_button_clicked(self, widget):
+@@ -766,11 +758,11 @@ class Module:
+ pixbuf = GdkPixbuf.Pixbuf.new_from_file_at_size("/usr/share/cinnamon/faces/user-generic.png", 48, 48)
+ description = "<b>%s</b>\n%s" % (fullname, username)
+ piter = self.users.append(None, [new_user, pixbuf, description])
+- # Add the user to his/her own group and sudo if Administrator was selected
++ # Add the user to his/her own group and wheel if Administrator was selected
+ if dialog.account_type_combo.get_active() == 1:
+- os.system("usermod %s -G %s,sudo,nopasswdlogin" % (username, username))
++ os.system("usermod %s -G %s,wheel" % (username, username))
+ else:
+- os.system("usermod %s -G %s,nopasswdlogin" % (username, username))
++ os.system("usermod %s -G %s" % (username, username))
+ self.load_groups()
+ dialog.destroy()
+
+--
+2.4.3
+