diff options
author | Alexandre Rostovtsev <tetromino@gentoo.org> | 2011-11-05 06:08:28 +0000 |
---|---|---|
committer | Alexandre Rostovtsev <tetromino@gentoo.org> | 2011-11-05 06:08:28 +0000 |
commit | c4f3310ad3399b2b565ff4374fe6ccd9ea6224aa (patch) | |
tree | 92f666094e1e29bc422706ccece88ba49335c1d2 /gnome-extra/gnome-tweak-tool | |
parent | Initial commit. (diff) | |
download | gentoo-2-c4f3310ad3399b2b565ff4374fe6ccd9ea6224aa.tar.gz gentoo-2-c4f3310ad3399b2b565ff4374fe6ccd9ea6224aa.tar.bz2 gentoo-2-c4f3310ad3399b2b565ff4374fe6ccd9ea6224aa.zip |
Add GNOME 3 advanced customization tool from the gnome overlay.
(Portage version: 2.2.0_alpha72/cvs/Linux x86_64)
Diffstat (limited to 'gnome-extra/gnome-tweak-tool')
4 files changed, 111 insertions, 0 deletions
diff --git a/gnome-extra/gnome-tweak-tool/ChangeLog b/gnome-extra/gnome-tweak-tool/ChangeLog new file mode 100644 index 000000000000..5abf4abc26e6 --- /dev/null +++ b/gnome-extra/gnome-tweak-tool/ChangeLog @@ -0,0 +1,11 @@ +# 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.1 2011/11/05 06:08:28 tetromino Exp $ + +*gnome-tweak-tool-3.2.1 (05 Nov 2011) + + 05 Nov 2011; Alexandre Rostovtsev <tetromino@gentoo.org> + +files/gnome-tweak-tool-3.0.4-gentoo-cursor-themes.patch, + +gnome-tweak-tool-3.2.1.ebuild, +metadata.xml: + Add GNOME 3 advanced customization tool from the gnome overlay. + diff --git a/gnome-extra/gnome-tweak-tool/files/gnome-tweak-tool-3.0.4-gentoo-cursor-themes.patch b/gnome-extra/gnome-tweak-tool/files/gnome-tweak-tool-3.0.4-gentoo-cursor-themes.patch new file mode 100644 index 000000000000..dfd4a9ee5cd2 --- /dev/null +++ b/gnome-extra/gnome-tweak-tool/files/gnome-tweak-tool-3.0.4-gentoo-cursor-themes.patch @@ -0,0 +1,26 @@ +From 4dc16c9c7b409cc39f51031be8202093d22563c9 Mon Sep 17 00:00:00 2001 +From: Alexandre Rostovtsev <tetromino@gmail.com> +Date: Mon, 23 May 2011 06:50:28 -0400 +Subject: [PATCH] Support Gentoo's /usr/share/cursors/xorg-x11 cursor theme directory + +--- + gtweak/tweaks/tweak_interface.py | 3 ++- + 1 files changed, 2 insertions(+), 1 deletions(-) + +diff --git a/gtweak/tweaks/tweak_interface.py b/gtweak/tweaks/tweak_interface.py +index 33ee362..31f6e1d 100644 +--- a/gtweak/tweaks/tweak_interface.py ++++ b/gtweak/tweaks/tweak_interface.py +@@ -66,7 +66,8 @@ class CursorThemeSwitcher(GSettingsComboTweak): + **options) + + def _get_valid_cursor_themes(self): +- dirs = ( os.path.join(gtweak.DATA_DIR, "icons"), ++ dirs = ( os.path.join(gtweak.DATA_DIR, "cursors", "xorg-x11"), ++ os.path.join(gtweak.DATA_DIR, "icons"), + os.path.join(os.path.expanduser("~"), ".icons")) + valid = walk_directories(dirs, lambda d: + os.path.isdir(d) and \ +-- +1.7.5.rc3 + diff --git a/gnome-extra/gnome-tweak-tool/gnome-tweak-tool-3.2.1.ebuild b/gnome-extra/gnome-tweak-tool/gnome-tweak-tool-3.2.1.ebuild new file mode 100644 index 000000000000..43f44e6b94b4 --- /dev/null +++ b/gnome-extra/gnome-tweak-tool/gnome-tweak-tool-3.2.1.ebuild @@ -0,0 +1,69 @@ +# 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.1.ebuild,v 1.1 2011/11/05 06:08:28 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.0.0 + >=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" + + # 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 +} diff --git a/gnome-extra/gnome-tweak-tool/metadata.xml b/gnome-extra/gnome-tweak-tool/metadata.xml new file mode 100644 index 000000000000..da6fd63d0085 --- /dev/null +++ b/gnome-extra/gnome-tweak-tool/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>gnome</herd> +</pkgmetadata> |