public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] proj/gnome:master commit in: gnome-extra/gnome-tweak-tool/, gnome-extra/gnome-tweak-tool/files/
@ 2011-05-03  6:12 Nirbheek Chauhan
  0 siblings, 0 replies; 5+ messages in thread
From: Nirbheek Chauhan @ 2011-05-03  6:12 UTC (permalink / raw
  To: gentoo-commits

commit:     a8d8f4b93d31c6e28d4720da6aabfebc91d78b00
Author:     Nirbheek Chauhan <nirbheek <AT> gentoo <DOT> org>
AuthorDate: Tue May  3 06:12:12 2011 +0000
Commit:     Nirbheek Chauhan <nirbheek <AT> gentoo <DOT> org>
CommitDate: Tue May  3 06:12:14 2011 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/gnome.git;a=commit;h=a8d8f4b9

gnome-extra/gnome-tweak-tool: fix gnome bug 649003

* There's a Gentoo bug for this too, but bugzie is down, so I can't find it or
  close it.

---
 .../files/gnome-tweak-tool-no-cursor-themes.patch  |   28 ++++++++++++++++++++
 ...0.3.ebuild => gnome-tweak-tool-3.0.3-r1.ebuild} |   10 +++++++
 2 files changed, 38 insertions(+), 0 deletions(-)

diff --git a/gnome-extra/gnome-tweak-tool/files/gnome-tweak-tool-no-cursor-themes.patch b/gnome-extra/gnome-tweak-tool/files/gnome-tweak-tool-no-cursor-themes.patch
new file mode 100644
index 0000000..a2ff5f4
--- /dev/null
+++ b/gnome-extra/gnome-tweak-tool/files/gnome-tweak-tool-no-cursor-themes.patch
@@ -0,0 +1,28 @@
+From 5097c671f199cb108d999fed80156b8a9a506b55 Mon Sep 17 00:00:00 2001
+From: Nirbheek Chauhan <nirbheek@gentoo.org>
+Date: Tue, 3 May 2011 11:35:01 +0530
+Subject: [PATCH] Don't error out if no cursor themes were found
+
+---
+ gtweak/widgets.py |    5 +++--
+ 1 files changed, 3 insertions(+), 2 deletions(-)
+
+diff --git a/gtweak/widgets.py b/gtweak/widgets.py
+index f50ae29..7414836 100644
+--- a/gtweak/widgets.py
++++ b/gtweak/widgets.py
+@@ -137,8 +137,9 @@ class GSettingsComboTweak(_GSettingsTweak):
+     def __init__(self, schema_name, key_name, key_options, **options):
+         _GSettingsTweak.__init__(self, schema_name, key_name, **options)
+ 
+-        assert len(key_options) > 0
+-        assert len(key_options[0]) == 2
++        # Don't error out if no cursor themes were found
++        #assert len(key_options) > 0
++        #assert len(key_options[0]) == 2
+ 
+         combo = build_combo_box_text(
+                     self.settings.get_value(self.key_name),
+-- 
+1.7.3.4
+

diff --git a/gnome-extra/gnome-tweak-tool/gnome-tweak-tool-3.0.3.ebuild b/gnome-extra/gnome-tweak-tool/gnome-tweak-tool-3.0.3-r1.ebuild
similarity index 74%
rename from gnome-extra/gnome-tweak-tool/gnome-tweak-tool-3.0.3.ebuild
rename to gnome-extra/gnome-tweak-tool/gnome-tweak-tool-3.0.3-r1.ebuild
index 94fd0d5..10eff08 100644
--- a/gnome-extra/gnome-tweak-tool/gnome-tweak-tool-3.0.3.ebuild
+++ b/gnome-extra/gnome-tweak-tool/gnome-tweak-tool-3.0.3-r1.ebuild
@@ -37,6 +37,16 @@ pkg_setup() {
 	gnome2-python_pkg_setup
 }
 
+src_prepare() {
+	# https://bugzilla.gnome.org/show_bug.cgi?id=649003
+	# Cursor themes are not installed in the usual place in Gentoo
+	# In addition, due to some weird setup issue, changing "cursor-theme" in
+	# org.gnome.desktop.interface doesn't change the cursor at all.
+	# This is a temporary workaround till we can figure this out properly.
+	epatch "${FILESDIR}/${PN}-no-cursor-themes.patch"
+	gnome2-python_src_prepare
+}
+
 src_install() {
 	gnome2-python_src_install
 	python_convert_shebangs 2 "${ED}"/usr/bin/gnome-tweak-tool



^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [gentoo-commits] proj/gnome:master commit in: gnome-extra/gnome-tweak-tool/, gnome-extra/gnome-tweak-tool/files/
@ 2011-05-25  1:35 Gilles Dartiguelongue
  0 siblings, 0 replies; 5+ messages in thread
From: Gilles Dartiguelongue @ 2011-05-25  1:35 UTC (permalink / raw
  To: gentoo-commits

commit:     81191e9e98c5c8817c73523ba0e78ba4117bc6c1
Author:     Alexandre Rostovtsev <tetromino <AT> gmail <DOT> com>
AuthorDate: Mon May 23 11:11:38 2011 +0000
Commit:     Gilles Dartiguelongue <eva <AT> gentoo <DOT> org>
CommitDate: Tue May 24 22:43:45 2011 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/gnome.git;a=commit;h=81191e9e

gnome-extra/gnome-tweak-tool: 3.0.3-r1 → 3.0.4 + Gentoo cursor theme support

* Bump gnome-tweak-tool to 3.0.4
* Gnome bug 649003 has been fixed
* Add support for Gentoo's /usr/share/cursors/xorg-x11
  cursor theme directory
* Install AUTHORS file

Signed-off-by: Gilles Dartiguelongue <eva <AT> gentoo.org>

---
 ...ome-tweak-tool-3.0.4-gentoo-cursor-themes.patch |   26 ++++++++++++++++++
 .../files/gnome-tweak-tool-no-cursor-themes.patch  |   28 --------------------
 ...0.3-r1.ebuild => gnome-tweak-tool-3.0.4.ebuild} |   10 ++-----
 3 files changed, 29 insertions(+), 35 deletions(-)

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 0000000..dfd4a9e
--- /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/files/gnome-tweak-tool-no-cursor-themes.patch b/gnome-extra/gnome-tweak-tool/files/gnome-tweak-tool-no-cursor-themes.patch
deleted file mode 100644
index a2ff5f4..0000000
--- a/gnome-extra/gnome-tweak-tool/files/gnome-tweak-tool-no-cursor-themes.patch
+++ /dev/null
@@ -1,28 +0,0 @@
-From 5097c671f199cb108d999fed80156b8a9a506b55 Mon Sep 17 00:00:00 2001
-From: Nirbheek Chauhan <nirbheek@gentoo.org>
-Date: Tue, 3 May 2011 11:35:01 +0530
-Subject: [PATCH] Don't error out if no cursor themes were found
-
----
- gtweak/widgets.py |    5 +++--
- 1 files changed, 3 insertions(+), 2 deletions(-)
-
-diff --git a/gtweak/widgets.py b/gtweak/widgets.py
-index f50ae29..7414836 100644
---- a/gtweak/widgets.py
-+++ b/gtweak/widgets.py
-@@ -137,8 +137,9 @@ class GSettingsComboTweak(_GSettingsTweak):
-     def __init__(self, schema_name, key_name, key_options, **options):
-         _GSettingsTweak.__init__(self, schema_name, key_name, **options)
- 
--        assert len(key_options) > 0
--        assert len(key_options[0]) == 2
-+        # Don't error out if no cursor themes were found
-+        #assert len(key_options) > 0
-+        #assert len(key_options[0]) == 2
- 
-         combo = build_combo_box_text(
-                     self.settings.get_value(self.key_name),
--- 
-1.7.3.4
-

diff --git a/gnome-extra/gnome-tweak-tool/gnome-tweak-tool-3.0.3-r1.ebuild b/gnome-extra/gnome-tweak-tool/gnome-tweak-tool-3.0.4.ebuild
similarity index 75%
rename from gnome-extra/gnome-tweak-tool/gnome-tweak-tool-3.0.3-r1.ebuild
rename to gnome-extra/gnome-tweak-tool/gnome-tweak-tool-3.0.4.ebuild
index 64067c1..e49feab 100644
--- a/gnome-extra/gnome-tweak-tool/gnome-tweak-tool-3.0.3-r1.ebuild
+++ b/gnome-extra/gnome-tweak-tool/gnome-tweak-tool-3.0.4.ebuild
@@ -32,18 +32,14 @@ DEPEND="${COMMON_DEPEND}
 	>=sys-devel/gettext-0.17"
 
 pkg_setup() {
-	DOCS="NEWS README"
+	DOCS="AUTHORS NEWS README"
 	G2CONF="${G2CONF} --disable-schemas-compile"
 	gnome2-python_pkg_setup
 }
 
 src_prepare() {
-	# https://bugzilla.gnome.org/show_bug.cgi?id=649003
-	# Cursor themes are not installed in the usual place in Gentoo
-	# In addition, due to some weird setup issue, changing "cursor-theme" in
-	# org.gnome.desktop.interface doesn't change the cursor at all.
-	# This is a temporary workaround till we can figure this out properly.
-	epatch "${FILESDIR}/${PN}-no-cursor-themes.patch"
+	# Add contents of Gentoo's cursor theme directory to cursor theme list
+	epatch "${FILESDIR}/${PN}-3.0.4-gentoo-cursor-themes.patch"
 	gnome2-python_src_prepare
 }
 



^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [gentoo-commits] proj/gnome:master commit in: gnome-extra/gnome-tweak-tool/, gnome-extra/gnome-tweak-tool/files/
@ 2012-03-27  9:38 Alexandre Restovtsev
  0 siblings, 0 replies; 5+ messages in thread
From: Alexandre Restovtsev @ 2012-03-27  9:38 UTC (permalink / raw
  To: gentoo-commits

commit:     430956d191771bb3e5a8d8aa6af90b28a5ca4973
Author:     Alexandre Rostovtsev <tetromino <AT> gentoo <DOT> org>
AuthorDate: Tue Mar 27 09:37:23 2012 +0000
Commit:     Alexandre Restovtsev <tetromino <AT> gmail <DOT> com>
CommitDate: Tue Mar 27 09:37:23 2012 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/gnome.git;a=commit;h=430956d1

gnome-extra/gnome-tweak-tool: add 3.3.4

---
 ...ome-tweak-tool-3.0.4-gentoo-cursor-themes.patch |   26 +++++++
 .../gnome-tweak-tool/gnome-tweak-tool-3.3.4.ebuild |   74 ++++++++++++++++++++
 .../gnome-tweak-tool/gnome-tweak-tool-9999.ebuild  |   74 ++++++++++++++++++++
 3 files changed, 174 insertions(+), 0 deletions(-)

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 0000000..dfd4a9e
--- /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.3.4.ebuild b/gnome-extra/gnome-tweak-tool/gnome-tweak-tool-3.3.4.ebuild
new file mode 100644
index 0000000..a813179
--- /dev/null
+++ b/gnome-extra/gnome-tweak-tool/gnome-tweak-tool-3.3.4.ebuild
@@ -0,0 +1,74 @@
+# Copyright 1999-2012 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-r2.ebuild,v 1.1 2012/01/10 17:38:32 tetromino Exp $
+
+EAPI="4"
+GNOME2_LA_PUNT="yes"
+GCONF_DEBUG="no"
+PYTHON_DEPEND="2:2.6"
+
+inherit eutils gnome2 python
+if [[ ${PV} = 9999 ]]; then
+	inherit gnome2-live
+fi
+
+DESCRIPTION="Tool to customize GNOME 3 options"
+HOMEPAGE="http://live.gnome.org/GnomeTweakTool"
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE=""
+if [[ ${PV} = 9999 ]]; then
+	KEYWORDS=""
+else
+	KEYWORDS="~amd64 ~x86"
+fi
+
+COMMON_DEPEND="
+	>=gnome-base/gsettings-desktop-schemas-3.3.2
+	>=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"
+
+	python_clean_py-compile_files
+
+	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/gnome-tweak-tool-9999.ebuild b/gnome-extra/gnome-tweak-tool/gnome-tweak-tool-9999.ebuild
new file mode 100644
index 0000000..a813179
--- /dev/null
+++ b/gnome-extra/gnome-tweak-tool/gnome-tweak-tool-9999.ebuild
@@ -0,0 +1,74 @@
+# Copyright 1999-2012 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-r2.ebuild,v 1.1 2012/01/10 17:38:32 tetromino Exp $
+
+EAPI="4"
+GNOME2_LA_PUNT="yes"
+GCONF_DEBUG="no"
+PYTHON_DEPEND="2:2.6"
+
+inherit eutils gnome2 python
+if [[ ${PV} = 9999 ]]; then
+	inherit gnome2-live
+fi
+
+DESCRIPTION="Tool to customize GNOME 3 options"
+HOMEPAGE="http://live.gnome.org/GnomeTweakTool"
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE=""
+if [[ ${PV} = 9999 ]]; then
+	KEYWORDS=""
+else
+	KEYWORDS="~amd64 ~x86"
+fi
+
+COMMON_DEPEND="
+	>=gnome-base/gsettings-desktop-schemas-3.3.2
+	>=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"
+
+	python_clean_py-compile_files
+
+	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
+}



^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [gentoo-commits] proj/gnome:master commit in: gnome-extra/gnome-tweak-tool/, gnome-extra/gnome-tweak-tool/files/
@ 2013-12-02 23:46 Gilles Dartiguelongue
  0 siblings, 0 replies; 5+ messages in thread
From: Gilles Dartiguelongue @ 2013-12-02 23:46 UTC (permalink / raw
  To: gentoo-commits

commit:     e0ba38127a3a894641b4abe91a6c030f0d84005f
Author:     Gilles Dartiguelongue <eva <AT> gentoo <DOT> org>
AuthorDate: Mon Dec  2 23:18:20 2013 +0000
Commit:     Gilles Dartiguelongue <eva <AT> gentoo <DOT> org>
CommitDate: Mon Dec  2 23:45:24 2013 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/gnome.git;a=commit;h=e0ba3812

gnome-extra/gnome-tweak-tool: 3.8.3-r1 → 3.10.1

---
 ...ome-tweak-tool-3.0.4-gentoo-cursor-themes.patch | 26 ---------------
 ...me-tweak-tool-3.10.1-gentoo-cursor-themes.patch | 26 +++++++++++++++
 .../gnome-tweak-tool-3.8.1-wm-preferences.patch    | 11 +++++++
 ...-9999.ebuild => gnome-tweak-tool-3.10.1.ebuild} | 38 +++++++++-------------
 .../gnome-tweak-tool/gnome-tweak-tool-9999.ebuild  | 31 +++++++++---------
 5 files changed, 67 insertions(+), 65 deletions(-)

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
deleted file mode 100644
index dfd4a9e..0000000
--- a/gnome-extra/gnome-tweak-tool/files/gnome-tweak-tool-3.0.4-gentoo-cursor-themes.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-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/files/gnome-tweak-tool-3.10.1-gentoo-cursor-themes.patch b/gnome-extra/gnome-tweak-tool/files/gnome-tweak-tool-3.10.1-gentoo-cursor-themes.patch
new file mode 100644
index 0000000..b65a713
--- /dev/null
+++ b/gnome-extra/gnome-tweak-tool/files/gnome-tweak-tool-3.10.1-gentoo-cursor-themes.patch
@@ -0,0 +1,26 @@
+From c848d45b0697a6ac3661dbf3fbd356864e8b4e24 Mon Sep 17 00:00:00 2001
+From: Sobhan Mohammadpour <sobhanmohammadpour1@yahoo.fr>
+Date: Tue, 15 Jan 2013 17:23:12 +0330
+Subject: [PATCH] gentoo-cursor-themes
+
+---
+ gtweak/tweaks/tweak_interface.py | 3 ++-
+ 1 file changed, 2 insertions(+), 1 deletion(-)
+
+diff --git a/gtweak/tweaks/tweak_group_interface.py b/gtweak/tweaks/tweak_group_interface.py
+index b20a41c..2125d59 100644
+--- a/gtweak/tweaks/tweak_group_interface.py
++++ b/gtweak/tweaks/tweak_group_interface.py
+@@ -69,7 +69,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(GLib.get_user_data_dir(), "icons"),
+                  os.path.join(os.path.expanduser("~"), ".icons"))
+         valid = walk_directories(dirs, lambda d:
+-- 
+1.8.1
+

diff --git a/gnome-extra/gnome-tweak-tool/files/gnome-tweak-tool-3.8.1-wm-preferences.patch b/gnome-extra/gnome-tweak-tool/files/gnome-tweak-tool-3.8.1-wm-preferences.patch
new file mode 100644
index 0000000..4283b51
--- /dev/null
+++ b/gnome-extra/gnome-tweak-tool/files/gnome-tweak-tool-3.8.1-wm-preferences.patch
@@ -0,0 +1,11 @@
+--- gtweak/gsettings.py.old	2013-11-16 09:00:44.863767301 +0100
++++ gtweak/gsettings.py	2013-11-16 09:01:18.873393932 +0100
+@@ -34,6 +34,8 @@
+     def __init__(self, schema_name, schema_dir=None, schema_filename=None, **options):
+         if not schema_dir:
+             schema_dir = gtweak.GSETTINGS_SCHEMA_DIR
++        if schema_name == "org.gnome.desktop.wm.preferences":
++            schema_filename = schema_name + ".gschema.xml"
+         if not schema_filename:
+             schema_filename = schema_name + ".gschema.xml"
+ 

diff --git a/gnome-extra/gnome-tweak-tool/gnome-tweak-tool-9999.ebuild b/gnome-extra/gnome-tweak-tool/gnome-tweak-tool-3.10.1.ebuild
similarity index 69%
copy from gnome-extra/gnome-tweak-tool/gnome-tweak-tool-9999.ebuild
copy to gnome-extra/gnome-tweak-tool/gnome-tweak-tool-3.10.1.ebuild
index 5175986..86a5d09 100644
--- a/gnome-extra/gnome-tweak-tool/gnome-tweak-tool-9999.ebuild
+++ b/gnome-extra/gnome-tweak-tool/gnome-tweak-tool-3.10.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2013 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Header: $
 
@@ -7,33 +7,30 @@ GCONF_DEBUG="no"
 GNOME2_LA_PUNT="yes"
 PYTHON_COMPAT=( python2_{6,7} )
 
-inherit eutils gnome2 python
-if [[ ${PV} = 9999 ]]; then
-	inherit gnome2-live
-fi
+inherit eutils gnome2 python-r1
 
 DESCRIPTION="Tool to customize GNOME 3 options"
-HOMEPAGE="http://live.gnome.org/GnomeTweakTool"
+HOMEPAGE="https://wiki.gnome.org/GnomeTweakTool"
 
 LICENSE="GPL-2+"
 SLOT="0"
 IUSE=""
-if [[ ${PV} = 9999 ]]; then
-	KEYWORDS=""
-else
-	KEYWORDS="~amd64 ~x86"
-fi
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86"
 
 COMMON_DEPEND="
+	${PYTHON_DEPS}
 	>=gnome-base/gsettings-desktop-schemas-3.4
 	>=dev-python/pygobject-3.2.1:3[${PYTHON_USEDEP}]
-	gnome-base/gconf:2
 "
 # g-s-d, gnome-desktop, gnome-shell etc. needed at runtime for the gsettings schemas
 RDEPEND="${COMMON_DEPEND}
-	gnome-base/gconf:2[introspection]
 	>=gnome-base/gnome-desktop-3.6.0.1:3=[introspection]
-	x11-libs/gtk+:3[introspection]
+	>=x11-libs/gtk+-3.9.10:3[introspection]
+
+	net-libs/libsoup[introspection]
+	x11-libs/libnotify[introspection]
 
 	>=gnome-base/gnome-settings-daemon-3
 	gnome-base/gnome-shell
@@ -42,13 +39,15 @@ RDEPEND="${COMMON_DEPEND}
 "
 DEPEND="${COMMON_DEPEND}
 	>=dev-util/intltool-0.40.0
-	>=sys-devel/gettext-0.17
 	virtual/pkgconfig
 "
 
 src_prepare() {
 	# Add contents of Gentoo's cursor theme directory to cursor theme list
-	epatch "${FILESDIR}/${PN}-3.0.4-gentoo-cursor-themes.patch"
+	epatch "${FILESDIR}/${PN}-3.10.1-gentoo-cursor-themes.patch"
+
+	# Prevent problems setting WM preferences, upstream bug #706834
+	epatch "${FILESDIR}/${PN}-3.8.1-wm-preferences.patch"
 
 	gnome2_src_prepare
 	python_copy_sources
@@ -73,10 +72,3 @@ src_install() {
 	}
 	python_foreach_impl run_in_build_dir install_python
 }
-
-run_in_build_dir() {
-    pushd "${BUILD_DIR}" > /dev/null || die
-    "$@"
-    popd > /dev/null
-}
-

diff --git a/gnome-extra/gnome-tweak-tool/gnome-tweak-tool-9999.ebuild b/gnome-extra/gnome-tweak-tool/gnome-tweak-tool-9999.ebuild
index 5175986..5755f21 100644
--- a/gnome-extra/gnome-tweak-tool/gnome-tweak-tool-9999.ebuild
+++ b/gnome-extra/gnome-tweak-tool/gnome-tweak-tool-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2013 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Header: $
 
@@ -7,33 +7,37 @@ GCONF_DEBUG="no"
 GNOME2_LA_PUNT="yes"
 PYTHON_COMPAT=( python2_{6,7} )
 
-inherit eutils gnome2 python
+inherit eutils gnome2 python-r1
 if [[ ${PV} = 9999 ]]; then
 	inherit gnome2-live
 fi
 
 DESCRIPTION="Tool to customize GNOME 3 options"
-HOMEPAGE="http://live.gnome.org/GnomeTweakTool"
+HOMEPAGE="https://wiki.gnome.org/GnomeTweakTool"
 
 LICENSE="GPL-2+"
 SLOT="0"
 IUSE=""
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
 if [[ ${PV} = 9999 ]]; then
 	KEYWORDS=""
 else
-	KEYWORDS="~amd64 ~x86"
+	KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86"
 fi
 
 COMMON_DEPEND="
+	${PYTHON_DEPS}
 	>=gnome-base/gsettings-desktop-schemas-3.4
 	>=dev-python/pygobject-3.2.1:3[${PYTHON_USEDEP}]
-	gnome-base/gconf:2
 "
 # g-s-d, gnome-desktop, gnome-shell etc. needed at runtime for the gsettings schemas
 RDEPEND="${COMMON_DEPEND}
-	gnome-base/gconf:2[introspection]
 	>=gnome-base/gnome-desktop-3.6.0.1:3=[introspection]
-	x11-libs/gtk+:3[introspection]
+	>=x11-libs/gtk+-3.9.10:3[introspection]
+
+	net-libs/libsoup[introspection]
+	x11-libs/libnotify[introspection]
 
 	>=gnome-base/gnome-settings-daemon-3
 	gnome-base/gnome-shell
@@ -42,13 +46,15 @@ RDEPEND="${COMMON_DEPEND}
 "
 DEPEND="${COMMON_DEPEND}
 	>=dev-util/intltool-0.40.0
-	>=sys-devel/gettext-0.17
 	virtual/pkgconfig
 "
 
 src_prepare() {
 	# Add contents of Gentoo's cursor theme directory to cursor theme list
-	epatch "${FILESDIR}/${PN}-3.0.4-gentoo-cursor-themes.patch"
+	epatch "${FILESDIR}/${PN}-3.10.1-gentoo-cursor-themes.patch"
+
+	# Prevent problems setting WM preferences, upstream bug #706834
+	epatch "${FILESDIR}/${PN}-3.8.1-wm-preferences.patch"
 
 	gnome2_src_prepare
 	python_copy_sources
@@ -73,10 +79,3 @@ src_install() {
 	}
 	python_foreach_impl run_in_build_dir install_python
 }
-
-run_in_build_dir() {
-    pushd "${BUILD_DIR}" > /dev/null || die
-    "$@"
-    popd > /dev/null
-}
-


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [gentoo-commits] proj/gnome:master commit in: gnome-extra/gnome-tweak-tool/, gnome-extra/gnome-tweak-tool/files/
@ 2018-06-10 19:19 Sobhan Mohammadpour
  0 siblings, 0 replies; 5+ messages in thread
From: Sobhan Mohammadpour @ 2018-06-10 19:19 UTC (permalink / raw
  To: gentoo-commits

commit:     16d3ce46a6c8c50ba5e96871a6a278d462846887
Author:     Sobhan Mohammadpour <sobhan <AT> gentoo <DOT> org>
AuthorDate: Sun Jun 10 19:19:21 2018 +0000
Commit:     Sobhan Mohammadpour <sobhan <AT> gentoo <DOT> org>
CommitDate: Sun Jun 10 19:19:21 2018 +0000
URL:        https://gitweb.gentoo.org/proj/gnome.git/commit/?id=16d3ce46

gnome-extra/gnome-tweak-tool: 3.24.1 -> 3.26.4

Package-Manager: Portage-2.3.36, Repoman-2.3.9
Manifest-Sign-Key: 0x7DF238CF0AA182E1

 ...me-tweak-tool-3.26.4-gentoo-cursor-themes.patch | 26 ++++++++
 .../gnome-tweak-tool-3.26.4.ebuild                 | 75 ++++++++++++++++++++++
 2 files changed, 101 insertions(+)

diff --git a/gnome-extra/gnome-tweak-tool/files/gnome-tweak-tool-3.26.4-gentoo-cursor-themes.patch b/gnome-extra/gnome-tweak-tool/files/gnome-tweak-tool-3.26.4-gentoo-cursor-themes.patch
new file mode 100644
index 00000000..a974b4f0
--- /dev/null
+++ b/gnome-extra/gnome-tweak-tool/files/gnome-tweak-tool-3.26.4-gentoo-cursor-themes.patch
@@ -0,0 +1,26 @@
+From dd1a9a03cb424fe9fcded3c6e0ba4505e04e8cec Mon Sep 17 00:00:00 2001
+From: Sobhan Mohammadpour <sobhan@gentoo.org>
+Date: Sun, 10 Jun 2018 22:12:59 +0430
+Subject: [PATCH] update gnome-tweak-tool-3.10.1-gentoo-cursor-themes patch
+
+---
+ gtweak/tweaks/tweak_group_appearance.py | 3 ++-
+ 1 file changed, 2 insertions(+), 1 deletion(-)
+
+diff --git a/gtweak/tweaks/tweak_group_appearance.py b/gtweak/tweaks/tweak_group_appearance.py
+index 05d13e9..920df59 100644
+--- a/gtweak/tweaks/tweak_group_appearance.py
++++ b/gtweak/tweaks/tweak_group_appearance.py
+@@ -89,7 +89,8 @@ class CursorThemeSwitcher(GSettingsComboTweak):
+     def _get_valid_cursor_themes(self):
+         dirs = ( os.path.join(gtweak.DATA_DIR, "icons"),
+                  os.path.join(GLib.get_user_data_dir(), "icons"),
+-                 os.path.join(os.path.expanduser("~"), ".icons"))
++                 os.path.join(os.path.expanduser("~"), ".icons"),
++                 os.path.join(gtweak.DATA_DIR, "cursors", "xorg-x11"))
+         valid = walk_directories(dirs, lambda d:
+                     os.path.isdir(d) and \
+                         os.path.exists(os.path.join(d, "cursors")))
+-- 
+2.17.0
+

diff --git a/gnome-extra/gnome-tweak-tool/gnome-tweak-tool-3.26.4.ebuild b/gnome-extra/gnome-tweak-tool/gnome-tweak-tool-3.26.4.ebuild
new file mode 100644
index 00000000..ca70d152
--- /dev/null
+++ b/gnome-extra/gnome-tweak-tool/gnome-tweak-tool-3.26.4.ebuild
@@ -0,0 +1,75 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+GNOME2_LA_PUNT="yes"
+PYTHON_COMPAT=( python3_{4,5,6} )
+
+inherit gnome-meson python-r1
+
+DESCRIPTION="Tool to customize GNOME 3 options"
+HOMEPAGE="https://wiki.gnome.org/action/show/Apps/GnomeTweakTool"
+
+LICENSE="GPL-2+"
+SLOT="0"
+
+IUSE=""
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+KEYWORDS="~amd64 ~ia64 ~x86"
+
+COMMON_DEPEND="
+	${PYTHON_DEPS}
+	dev-libs/glib:2[dbus]
+	>=dev-python/pygobject-3.10.2:3[${PYTHON_USEDEP}]
+	>=gnome-base/gsettings-desktop-schemas-3.23.3
+"
+# g-s-d, gnome-desktop, gnome-shell etc. needed at runtime for the gsettings schemas
+RDEPEND="${COMMON_DEPEND}
+	>=gnome-base/gnome-desktop-3.6.0.1:3=[introspection]
+	>=x11-libs/gtk+-3.12:3[introspection]
+
+	net-libs/libsoup:2.4[introspection]
+	x11-libs/libnotify[introspection]
+
+	>=gnome-base/gnome-settings-daemon-3
+	>=gnome-base/gnome-shell-3.24
+	>=gnome-base/nautilus-3
+"
+DEPEND="${COMMON_DEPEND}
+	sys-devel/gettext
+	>=dev-util/intltool-0.40.0
+	virtual/pkgconfig
+"
+run_in_sane_meson_variables() {
+	local EMESON_SOURCE
+	EMESON_SOURCE=${BUILD_DIR}
+	BUILD_DIR="${BUILD_DIR}-build"
+	"$@"
+	BUILD_DIR=${EMESON_SOURCE}
+}
+
+src_prepare() {
+	# Add contents of Gentoo's cursor theme directory to cursor theme list
+	eapply "${FILESDIR}/${PN}-3.26.4-gentoo-cursor-themes.patch"
+
+	gnome-meson_src_prepare
+	python_copy_sources
+}
+
+src_configure() {
+	python_foreach_impl run_in_build_dir run_in_sane_meson_variables gnome-meson_src_configure
+}
+
+src_compile() {
+	python_foreach_impl run_in_build_dir run_in_sane_meson_variables gnome-meson_src_compile
+}
+
+src_test() {
+	python_foreach_impl run_in_build_dir run_in_sane_meson_variables meson_src_test
+}
+
+src_install() {
+	python_foreach_impl run_in_build_dir run_in_sane_meson_variables gnome-meson_src_install
+	python_foreach_impl run_in_build_dir python_doscript gnome-tweak-tool || die
+}


^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2018-06-10 19:19 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-05-03  6:12 [gentoo-commits] proj/gnome:master commit in: gnome-extra/gnome-tweak-tool/, gnome-extra/gnome-tweak-tool/files/ Nirbheek Chauhan
  -- strict thread matches above, loose matches on Subject: below --
2011-05-25  1:35 Gilles Dartiguelongue
2012-03-27  9:38 Alexandre Restovtsev
2013-12-02 23:46 Gilles Dartiguelongue
2018-06-10 19:19 Sobhan Mohammadpour

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox