summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexandre Rostovtsev <tetromino@gentoo.org>2011-12-26 04:16:32 +0000
committerAlexandre Rostovtsev <tetromino@gentoo.org>2011-12-26 04:16:32 +0000
commit5ab8c8af3fcc80f0f3b31cd14d0ee1f3dcc42732 (patch)
tree78878a1623aca7a59c04f94aa10b0e9b815dc2cd /gnome-extra/gnome-tweak-tool
parentBump. Adds Crucible 1.0.2 updates, proxy support, bugfixes and UI improvement... (diff)
downloadgentoo-2-5ab8c8af3fcc80f0f3b31cd14d0ee1f3dcc42732.tar.gz
gentoo-2-5ab8c8af3fcc80f0f3b31cd14d0ee1f3dcc42732.tar.bz2
gentoo-2-5ab8c8af3fcc80f0f3b31cd14d0ee1f3dcc42732.zip
Update for new user theme extension ID in gnome-shell-extensions-3.2.2 (bug #395733, thanks to Stefan Zwanenburg for reporting).
(Portage version: 2.2.0_alpha83/cvs/Linux x86_64)
Diffstat (limited to 'gnome-extra/gnome-tweak-tool')
-rw-r--r--gnome-extra/gnome-tweak-tool/ChangeLog10
-rw-r--r--gnome-extra/gnome-tweak-tool/files/gnome-tweak-tool-3.2.2-user-theme-ext-id.patch32
-rw-r--r--gnome-extra/gnome-tweak-tool/gnome-tweak-tool-3.2.2-r1.ebuild72
3 files changed, 113 insertions, 1 deletions
diff --git a/gnome-extra/gnome-tweak-tool/ChangeLog b/gnome-extra/gnome-tweak-tool/ChangeLog
index 49830e644006..6f800d32916c 100644
--- a/gnome-extra/gnome-tweak-tool/ChangeLog
+++ b/gnome-extra/gnome-tweak-tool/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for gnome-extra/gnome-tweak-tool
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/gnome-extra/gnome-tweak-tool/ChangeLog,v 1.2 2011/11/20 19:47:06 eva Exp $
+# $Header: /var/cvsroot/gentoo-x86/gnome-extra/gnome-tweak-tool/ChangeLog,v 1.3 2011/12/26 04:16:32 tetromino Exp $
+
+*gnome-tweak-tool-3.2.2-r1 (26 Dec 2011)
+
+ 26 Dec 2011; Alexandre Rostovtsev (tetromino) <tetromino@gmail.com>
+ +gnome-tweak-tool-3.2.2-r1.ebuild,
+ +files/gnome-tweak-tool-3.2.2-user-theme-ext-id.patch:
+ Update for new user theme extension ID in gnome-shell-extensions-3.2.2 (bug
+ #395733, thanks to Stefan Zwanenburg for reporting).
*gnome-tweak-tool-3.2.2 (20 Nov 2011)
diff --git a/gnome-extra/gnome-tweak-tool/files/gnome-tweak-tool-3.2.2-user-theme-ext-id.patch b/gnome-extra/gnome-tweak-tool/files/gnome-tweak-tool-3.2.2-user-theme-ext-id.patch
new file mode 100644
index 000000000000..f62a54c74487
--- /dev/null
+++ b/gnome-extra/gnome-tweak-tool/files/gnome-tweak-tool-3.2.2-user-theme-ext-id.patch
@@ -0,0 +1,32 @@
+From af33b09d1f21eb3698c4977a4345b6badbefccc2 Mon Sep 17 00:00:00 2001
+From: Nuno Araujo <nuno.araujo@russo79.com>
+Date: Wed, 23 Nov 2011 18:30:28 +0100
+Subject: [PATCH] Fix user-theme extension UUID
+
+Since version 3.2.1, gnome-shell extensions changed their UUID to another value.
+According to the changelog, this was made because gnome.org is temporarily
+forbidden in UUIDS.
+
+As a consequence, gnome-tweak-tool didn't detect the user-theme extension.
+
+https://bugzilla.gnome.org/show_bug.cgi?id=664655
+---
+ gtweak/tweaks/tweak_shell.py | 2 +-
+ 1 files changed, 1 insertions(+), 1 deletions(-)
+
+diff --git a/gtweak/tweaks/tweak_shell.py b/gtweak/tweaks/tweak_shell.py
+index 4de335a..75dc5d8 100644
+--- a/gtweak/tweaks/tweak_shell.py
++++ b/gtweak/tweaks/tweak_shell.py
+@@ -43,7 +43,7 @@ class ShowWindowButtons(GConfComboTweak):
+
+ class ShellThemeTweak(Tweak):
+
+- THEME_EXT_NAME = "user-theme@gnome-shell-extensions.gnome.org"
++ THEME_EXT_NAME = "user-theme@gnome-shell-extensions.gcampax.github.com"
+ THEME_GSETTINGS_SCHEMA = "org.gnome.shell.extensions.user-theme"
+ THEME_GSETTINGS_NAME = "name"
+ THEME_DIR = os.path.join(GLib.get_home_dir(), ".themes")
+--
+1.7.8.1
+
diff --git a/gnome-extra/gnome-tweak-tool/gnome-tweak-tool-3.2.2-r1.ebuild b/gnome-extra/gnome-tweak-tool/gnome-tweak-tool-3.2.2-r1.ebuild
new file mode 100644
index 000000000000..4872909f7b96
--- /dev/null
+++ b/gnome-extra/gnome-tweak-tool/gnome-tweak-tool-3.2.2-r1.ebuild
@@ -0,0 +1,72 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/gnome-extra/gnome-tweak-tool/gnome-tweak-tool-3.2.2-r1.ebuild,v 1.1 2011/12/26 04:16:32 tetromino Exp $
+
+EAPI="4"
+GNOME2_LA_PUNT="yes"
+GCONF_DEBUG="no"
+PYTHON_DEPEND="2:2.6"
+
+inherit eutils gnome2 python
+
+DESCRIPTION="Tool to customize GNOME 3 options"
+HOMEPAGE="http://live.gnome.org/GnomeTweakTool"
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE=""
+KEYWORDS="~amd64 ~x86"
+
+COMMON_DEPEND="
+ >=gnome-base/gsettings-desktop-schemas-3
+ >=dev-python/pygobject-2.90.0:3
+ gnome-base/gconf:2"
+# g-s-d, gnome-shell etc. needed at runtime for the gsettings schemas
+RDEPEND="${COMMON_DEPEND}
+ gnome-base/gconf:2[introspection]
+ x11-libs/gtk+:3[introspection]
+
+ >=gnome-base/gnome-settings-daemon-3
+ gnome-base/gnome-shell
+ >=gnome-base/nautilus-3
+ x11-wm/metacity"
+DEPEND="${COMMON_DEPEND}
+ >=dev-util/intltool-0.40.0
+ >=dev-util/pkgconfig-0.9
+ >=sys-devel/gettext-0.17"
+
+pkg_setup() {
+ DOCS="AUTHORS NEWS README"
+ G2CONF="${G2CONF} --disable-schemas-compile"
+ python_set_active_version 2
+ python_pkg_setup
+}
+
+src_prepare() {
+ # Add contents of Gentoo's cursor theme directory to cursor theme list
+ epatch "${FILESDIR}/${PN}-3.0.4-gentoo-cursor-themes.patch"
+
+ # Patch from upstream git master; user theme extension ID changed in 3.2.2
+ epatch "${FILESDIR}/${PN}-3.2.2-user-theme-ext-id.patch"
+
+ # disable pyc compiling
+ mv py-compile py-compile.orig
+ ln -s $(type -P true) py-compile
+
+ gnome2_src_prepare
+}
+
+src_install() {
+ gnome2_src_install
+ python_convert_shebangs 2 "${ED}"/usr/bin/gnome-tweak-tool
+}
+
+pkg_postinst() {
+ gnome2_pkg_postinst
+ python_mod_optimize gtweak
+}
+
+pkg_postrm() {
+ gnome2_pkg_postrm
+ python_mod_cleanup gtweak
+}