diff options
-rw-r--r-- | x11-terms/guake/ChangeLog | 11 | ||||
-rw-r--r-- | x11-terms/guake/Manifest | 24 | ||||
-rw-r--r-- | x11-terms/guake/files/guake-0.4.2-glib2.32.patch | 11 | ||||
-rw-r--r-- | x11-terms/guake/files/guake-0.4.2-int-ssl-port.patch | 16 | ||||
-rw-r--r-- | x11-terms/guake/files/guake-0.4.2-prefs-spinbox.patch | 12 | ||||
-rw-r--r-- | x11-terms/guake/files/guake-0.4.2-vte-titles.patch | 60 | ||||
-rw-r--r-- | x11-terms/guake/files/guake-0.4.2-window-title.patch | 58 | ||||
-rw-r--r-- | x11-terms/guake/guake-0.4.2-r2.ebuild | 63 | ||||
-rw-r--r-- | x11-terms/guake/guake-0.4.3.ebuild | 68 |
9 files changed, 18 insertions, 305 deletions
diff --git a/x11-terms/guake/ChangeLog b/x11-terms/guake/ChangeLog index 096aa9911420..682809037394 100644 --- a/x11-terms/guake/ChangeLog +++ b/x11-terms/guake/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for x11-terms/guake -# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/x11-terms/guake/ChangeLog,v 1.28 2012/10/17 03:46:04 phajdan.jr Exp $ +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/x11-terms/guake/ChangeLog,v 1.29 2013/06/10 12:50:58 ssuominen Exp $ + + 10 Jun 2013; Samuli Suominen <ssuominen@gentoo.org> + -files/guake-0.4.2-glib2.32.patch, -files/guake-0.4.2-int-ssl-port.patch, + -files/guake-0.4.2-prefs-spinbox.patch, -files/guake-0.4.2-vte-titles.patch, + -files/guake-0.4.2-window-title.patch, -guake-0.4.2-r2.ebuild, + -guake-0.4.3.ebuild: + old 17 Oct 2012; Pawel Hajdan jr <phajdan.jr@gentoo.org> guake-0.4.4.ebuild: x86 stable wrt bug #435608 diff --git a/x11-terms/guake/Manifest b/x11-terms/guake/Manifest index 84ca0a444df0..c849d9a9337a 100644 --- a/x11-terms/guake/Manifest +++ b/x11-terms/guake/Manifest @@ -1,24 +1,18 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 -AUX guake-0.4.2-glib2.32.patch 278 SHA256 9628f6a0c2109e24ab06ed61c499db28852dee55191e2832d4a19cd41c29ced7 SHA512 3c13ecfa569bb08ad478b32da9eec3d6b06784b9ac0aa0a1e6a793fb41a347f1cedbc04decf1da28b8e0063d5f971d91c1e2978475dc2b8ae9e13b27edaa306f WHIRLPOOL 121a983b0da6a6fd88153665c68e243ac05522f9bc386f8ddd4c20762481a61c4bd97c8cb988d054480713ed7de198043d88af444e782cfa3148d700935feb6e -AUX guake-0.4.2-int-ssl-port.patch 579 SHA256 58064f0cb6482c882e9f586c1920a574db98669dc1e842c1fb0f4e99d9befcea SHA512 159edd5635c06774d3dc9986a1039a5ca3f357adc0cb8c15f39d92a637f15f377f25492c1a074b19a6d326be8b91b755a09f5133a6c076283071bd200d0be47e WHIRLPOOL 91a9376d3673378b417bc75dd32fde0720db6e419d95c355e067b5be7dc7bb5435e77318751d45e957e58c50237e711d3cee9d394392770aac9fa7571028adf3 -AUX guake-0.4.2-prefs-spinbox.patch 661 SHA256 4f77de8f86776561148947b0d6d0395cf8e6ac0c2a6eac6953ef78ec58bac833 SHA512 b1dfeef662b17a6c5b89f7bfc0dfb446f6cba29d55768e70454e1af5e24fbe4f067809e4329ea472469a3e8712986eee494331fe4fceca0dca3de7242c09fcd6 WHIRLPOOL 3dec6f573dbbbad4e85c00a72fed515af33e0f4585a5f9739d47e79a6c53d95f9b50537c8356246f6eab334d8858cd0efa9f94a135d08e03c7cee76521048f22 -AUX guake-0.4.2-vte-titles.patch 2657 SHA256 d15dfc79255a8e3f94ed5a13ab376a9b0b4f79528fbd092680b709dfe16fda19 SHA512 96df6d6407c99bd731aa792b5156aa25dfbe98398ad481f549b6f6909718c047bc4e321491ac7080dcaae4d05a3acbb5ac159b86387da6dc85db0a0cca9993aa WHIRLPOOL b05d022bb1ba904118e6c7c699c0a8ae0983a23606551c27e5c9775b9686cf871edf4f8b25cbaea30e7de9a3a704370d5ff235398d85644d8cc70755c270843e -AUX guake-0.4.2-window-title.patch 2264 SHA256 9d2da028f483d74f7b92833964f507edc6c153366126b99d8a3386d075dd087b SHA512 18d902da3ba9e8c1367dfbe393a287dc0b14f1aedb1e5bb4e4cafb23f31e78d1645a6a89f1baf366303e5aac33b4aaa7e4783dc7dfc31a414625b9930694854e WHIRLPOOL c902e122a87a7faf14f9c6b99c56d19521f5db9b984d27dcd1e70293779672ec79ae2562af8e947ba912d4654679fad5f0d7303059626b8b2a0ba7a23d6e7037 DIST guake-0.4.4.tar.gz 549189 SHA256 1e1054ba6bbd79897bda0e1cd2b9df86082f7e794a0e07afc5cb63c0a5e74ca5 SHA512 2c6fe79c90f84b8e298d9b56fd2ce8036c10b22f5905d29255ad9a041f42271637f5f058c93325bc8023444278d5bf38a1c68b81a06071ee3f091b04e1bd52b9 WHIRLPOOL 8d1377dd51aa90ef04d7815bbd700a07478617795c060f4e48f030b6281923447274d551aa8b4101d78bf21ee974330ff6097169607f4fb442b5f2de8924a002 -DIST guake_0.4.2.orig.tar.gz 440653 SHA256 03482efacaff18537402e574efd6d804a1af9c3ee5ef87b0acc7a8fd572994bc SHA512 28c196735935c918a83ae890aefb28bf8d36a28a25cf082ed5b6f1ad4c44546ba4ad8354b20bc89271c6dabe0e645e995c60bf68bf58c86ec6ddf6369b67fd97 WHIRLPOOL ee85f91dbfe3c183b307440eba443b3a964915752df859f76fa2e1043d1728b92adb466bce77c845fc3baedacfc2f217dc11152e89ef1c7abb8ac928bb56b5f0 -DIST guake_0.4.3-1.debian.tar.gz 4928 SHA256 a36013f0225a8cd08f1c823bdcd07f8e7e68720d683b960000c3c30319256978 SHA512 6d97543508ebfc842329e42cb21fd83edc0f4bd5f5ec233480c7efdc1dd0631b60e7de20ccb88e7c0ea5e7b0500004ed7ec51d6718f715ecbcf9674bfb3c76cf WHIRLPOOL 95306ab09b629765c9893aa713b2d3672c57360a46c0b8bc1477ad9d8b9d7fbc170d96a918f2ffbb768edb8e27f9d00cab0f8917801f451f4b82bea89a800b53 -DIST guake_0.4.3.orig.tar.gz 463778 SHA256 0f41580b18167e86e9678893643c176f877444aa5d35d568aaed45374809d551 SHA512 3c28cc85a170e07528cb1f7d459d573250aedf5bd563a0a8d4fdc014b1f1fe949f95b26b7703365a9eb4b2883cea39ca1fc3fb0012cdfab650ec5ad2370ce4e3 WHIRLPOOL a1dbd8833d266e8a5e6b78536597c062393b3778f5ac640d25e13da36d921f0ced4c421957d19a4b144d28f687f72abd358c37d556f49c238ab5cf1b4570c1c3 -EBUILD guake-0.4.2-r2.ebuild 1509 SHA256 750bbe226e759eaa705272237278cd5696822519d1430533fbfe9e94b89bc372 SHA512 2b2e7f82d9088e93e49457d63908f61155c181faa1a6b04e83ad8d8c41816aa02f3e685328d96387000d9e1c1dfdb7d738eaa444e8ce2949b11adcd8469ed1aa WHIRLPOOL 4e2dc2da83d73245835eafc6b871c1c821b9fd480f92e10675708a8cd1d7b5c065e53bdeacd77cbca2d2ab4b451d7d80643e8ea1352917b0685e4326353aab56 -EBUILD guake-0.4.3.ebuild 1455 SHA256 b225705e20eb3bb59f69363bb3a39324e0303a2e5176a606c1eda3015001c8f3 SHA512 466e39c28bf9fa27cf8e04a33fd07858b89454fee98f6d645f7db7c0d77913066f4c666a9778a83e4993a79de3a9164887ea20bda70edb0274b3d3f9680e7179 WHIRLPOOL abb40cc8138da28a7bc6ad904d3e5200e1403c3b8ce942cbd39c220187935189681c0d45b680c3c3fa0fffef0a1b0e0e2e087bcaa887b153d94ecd81f3cba9aa EBUILD guake-0.4.4.ebuild 1154 SHA256 798d97288347466ec046b819d6ef15d419a5b94ec6995ab2afea563d141ab835 SHA512 64b36cc2be8732b6310b2c2ab49297a8cd245b2b02784dbe7465cc65903212eefe882bfab1f6e8255823dcecb93e2ff5ccae8fcda91a876a196839243891135f WHIRLPOOL e3d0d8facdac08d76846f27b3bb1a1a54f8a53238b9848f3be324791086fecc0c66c069059849e2d4b50931a0e7f8940176d3e99841b1d924f0cf9a23fdffe49 -MISC ChangeLog 3884 SHA256 355e5ada3a9bf1b26b866784943e959a245f0a39c3d5b05f078d6b099544703d SHA512 b30d6f5214dde95c94c5b2bee88e0ef13c4840431ebe04816be13f1151e2a0e65047a023a3457a16d89d7b7ef67fc96bdbac3736aa693e7d9c5da2be1e43b336 WHIRLPOOL 84dac6a1da52ee5485de6b6a0d0f9a3653020237798b9725359c5eb56d0d75f4a3d34bac3c85febebe0dfe337536eec1dca69d23d290358989844bdd4d839c72 +MISC ChangeLog 4187 SHA256 d373d7c4c25ada214d7d304cd5ae0b1e79e7dd42bc22fad162eee8c8383b57f0 SHA512 b5c12a4794cffb6ffb8e19f1870ef0612857602556c66799e1bd01a8373612a9ba443411845e4f2c22e97223e2dd366cd4d759b1deb4c9c0553a3f023c03951f WHIRLPOOL 647f5b87b16b22309b7bf7f27ff3d81442432e38d8406dd23d966113a5c1123e5af5449247e78e83f3acd68e34233a7122a008a1714bb607bdd880d7d67aff74 MISC metadata.xml 167 SHA256 63163ddb9082af2890999b3c825b2d21df911f59611694e0e077e75a12bf7241 SHA512 381c3c70deed443ca617d0535541542579acffb8dde5f577acf789380f0cdec6d395fa6a45483978648fa2d4e9dab13a441ebdc95664f5f414efbcc812705754 WHIRLPOOL f4a9e5a69adee7e8ee1e5e7ba1b4b860c5060a80db845e0c7f12c96ab44a86dc81adb6aff76c5130b4ab2ffe5ea18f0a5afc9d87a61177d99a8fc9f49d7e9d6f -----BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.19 (GNU/Linux) +Version: GnuPG v2.0.20 (GNU/Linux) -iEYEAREIAAYFAlB+Kf8ACgkQuUQtlDBCeQKZVQCfXQ0BSMpAFrFslmg0Ci931KuB -DvEAn1iugbMJzsa4LhfWYJFqyfTVL1Rg -=WdAv +iQEcBAEBCAAGBQJRtcsbAAoJEEdUh39IaPFNMoEH/RH0MgLudgiVwcIOe1qQ3B04 +seySXCYmkDoypUXgj95X5/yV3tShAUWpyNpc7Hw/S4B8C7MGvMZ473u69H0o9J9x +BMF8tAhMaTG5oywBGTq8dbRMJP9qwivzh41ASmCm4Bc0vbLcx6X4nDzcwUHxrSwS +3Dk9w+Q6v0/GBim0xdzTJEDfvp3M61e/0dtyGoULcWVRoqgRzOkV0+apxbykhR1n +VfLSEromhibGBgHXgsWFwhcJ6ORG1yGXIENBG9V6gtFeWHOUpqpk4korwlDpjCG5 +YyiFjLNKUHZP5Z+aamXY6vzeo2RpEjbBl6cANFBZ1y38qu6bEM0HZXQMmeuJSqE= +=PLoZ -----END PGP SIGNATURE----- diff --git a/x11-terms/guake/files/guake-0.4.2-glib2.32.patch b/x11-terms/guake/files/guake-0.4.2-glib2.32.patch deleted file mode 100644 index 11a3c88f9324..000000000000 --- a/x11-terms/guake/files/guake-0.4.2-glib2.32.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- src/globalhotkeys/keybinder.h.org 2012-04-19 09:35:51.756585621 +0200 -+++ src/globalhotkeys/keybinder.h 2012-04-19 09:36:06.675585632 +0200 -@@ -2,7 +2,7 @@ - #ifndef __KEY_BINDER_H__ - #define __KEY_BINDER_H__ - --#include <glib/gtypes.h> -+#include <glib.h> - - G_BEGIN_DECLS - diff --git a/x11-terms/guake/files/guake-0.4.2-int-ssl-port.patch b/x11-terms/guake/files/guake-0.4.2-int-ssl-port.patch deleted file mode 100644 index 801e76fb10fc..000000000000 --- a/x11-terms/guake/files/guake-0.4.2-int-ssl-port.patch +++ /dev/null @@ -1,16 +0,0 @@ -http://bugs.gentoo.org/336068 -https://bugzilla.redhat.com/show_bug.cgi?id=626303 -http://guake.org/ticket/246 - ---- src/guake.py -+++ src/guake.py -@@ -1099,7 +1099,7 @@ - ssl_port = port - else: - ssl_host = self.client.get_string('/system/proxy/secure_host') -- ssl_port = self.client.get_string('/system/proxy/secure_port') -+ ssl_port = self.client.get_int('/system/proxy/secure_port') - - if self.client.get_bool(proxy + 'use_authentication'): - auth_user = self.client.get_string( - diff --git a/x11-terms/guake/files/guake-0.4.2-prefs-spinbox.patch b/x11-terms/guake/files/guake-0.4.2-prefs-spinbox.patch deleted file mode 100644 index 0446ea14b927..000000000000 --- a/x11-terms/guake/files/guake-0.4.2-prefs-spinbox.patch +++ /dev/null @@ -1,12 +0,0 @@ -http://bugs.gentoo.org/336068 - ---- data/prefs.glade -+++ data/prefs.glade -@@ -445,7 +445,6 @@ - <property name="visible">True</property> - <child> - <widget class="GtkLabel" id="lblChooseShell3"> -- <property name="width_request">120</property> - <property name="visible">True</property> - <property name="xalign">0</property> - <property name="label" translatable="yes">Scrollback lines:</property> diff --git a/x11-terms/guake/files/guake-0.4.2-vte-titles.patch b/x11-terms/guake/files/guake-0.4.2-vte-titles.patch deleted file mode 100644 index 2559e21feb7b..000000000000 --- a/x11-terms/guake/files/guake-0.4.2-vte-titles.patch +++ /dev/null @@ -1,60 +0,0 @@ -from http://guake.org/ticket/164 - -diff --git a/data/guake.schemas b/data/guake.schemas -index 3d26c6d..403bf1d 100644 ---- a/data/guake.schemas -+++ b/data/guake.schemas -@@ -208,6 +208,18 @@ - </locale> - </schema> - -+ <schema> -+ <key>/schemas/apps/guake/general/use_vte_titles</key> -+ <applyto>/apps/guake/general/use_vte_titles</applyto> -+ <owner>guake</owner> -+ <type>bool</type> -+ <default>true</default> -+ <locale name="C"> -+ <short>Use terminal titles for tab naming</short> -+ <long>Any terminal program can set the terminal's title via special escape sequences. Some shells (e.g. bash) display user's prompt there (though you can adjust that to any arbitrary text in bashrc or similar) and update it automatically as the prompt changes. So you can have easy automatically updating meaningful tab titles with this option turned on.</long> -+ </locale> -+ </schema> -+ - <schema> - <key>/schemas/apps/guake/style/font/style</key> - <applyto>/apps/guake/style/font/style</applyto> -diff --git a/src/guake.py b/src/guake.py -index 6214fb2..81c8057 100644 ---- a/src/guake.py -+++ b/src/guake.py -@@ -863,6 +863,7 @@ class Guake(SimpleGladeApp): - self.client.notify(KEY('/general/use_scrollbar')) - self.client.notify(KEY('/general/history_size')) - self.client.notify(KEY('/general/show_resizer')) -+ self.client.notify(KEY('/general/use_vte_titles')) - self.client.notify(KEY('/style/font/style')) - self.client.notify(KEY('/style/font/color')) - self.client.notify(KEY('/style/font/palette')) -@@ -982,6 +983,13 @@ class Guake(SimpleGladeApp): - """ - self.delete_tab(self.notebook.page_num(widget), kill=False) - -+ def on_terminal_title_changed(self, vte, box): -+ use_them = self.client.get_bool(KEY("/general/use_vte_titles")) -+ if not use_them: -+ return -+ page = self.notebook.page_num(box) -+ self.tabs.get_children()[page].set_label(vte.get_window_title()) -+ - def on_rename_activate(self, *args): - """Shows a dialog to rename the current tab. - """ -@@ -1122,6 +1130,8 @@ class Guake(SimpleGladeApp): - box.terminal.grab_focus() - box.terminal.connect('button-press-event', self.show_context_menu) - box.terminal.connect('child-exited', self.on_terminal_exited, box) -+ box.terminal.connect('window-title-changed', -+ self.on_terminal_title_changed, box) - box.show() - - self.term_list.append(box.terminal) diff --git a/x11-terms/guake/files/guake-0.4.2-window-title.patch b/x11-terms/guake/files/guake-0.4.2-window-title.patch deleted file mode 100644 index 1f876272d9af..000000000000 --- a/x11-terms/guake/files/guake-0.4.2-window-title.patch +++ /dev/null @@ -1,58 +0,0 @@ -from http://guake.org/ticket/164 - ---- a/src/guake.py 2011-09-21 02:15:42.000000000 +0300 -+++ b/src/guake.py.orig 2011-09-21 02:17:46.000000000 +0300 -@@ -894,6 +894,8 @@ class Guake(SimpleGladeApp): - """Callback to add a new tab. Called by the accel key. - """ - self.add_tab() -+ page = self.notebook.get_current_page() -+ self.window.set_title(self.term_list[page].get_window_title()); - return True - - def accel_prev(self, *args): -@@ -903,6 +905,8 @@ class Guake(SimpleGladeApp): - self.notebook.set_current_page(self.notebook.get_n_pages()-1) - else: - self.notebook.prev_page() -+ page = self.notebook.get_current_page() -+ self.window.set_title(self.term_list[page].get_window_title()); - return True - - def accel_next(self, *args): -@@ -912,6 +916,8 @@ class Guake(SimpleGladeApp): - self.notebook.set_current_page(0) - else: - self.notebook.next_page() -+ page = self.notebook.get_current_page() -+ self.window.set_title(self.term_list[page].get_window_title()); - return True - - def accel_rename(self, *args): -@@ -989,6 +995,7 @@ class Guake(SimpleGladeApp): - return - page = self.notebook.page_num(box) - self.tabs.get_children()[page].set_label(vte.get_window_title()) -+ self.window.set_title(vte.get_window_title()); - - def on_rename_activate(self, *args): - """Shows a dialog to rename the current tab. -@@ -1188,6 +1195,8 @@ class Guake(SimpleGladeApp): - self.hide() - # avoiding the delay on next Guake show request - self.add_tab() -+ else: -+ self.window.set_title(self.term_list[self.notebook.get_current_page()].get_window_title()); - - def delete_shell(self, pid): - """This function will kill the shell on a tab, trying to send -@@ -1224,7 +1233,9 @@ class Guake(SimpleGladeApp): - """Grabs the focus on the current tab. - """ - page = self.notebook.get_current_page() -+ self.window.set_title(self.term_list[page].get_window_title()); - self.term_list[page].grab_focus() -+ # self.window.set_title(); - - def select_current_tab(self, notebook, user_data, page): - """When current self.notebook page is changed, the tab bar diff --git a/x11-terms/guake/guake-0.4.2-r2.ebuild b/x11-terms/guake/guake-0.4.2-r2.ebuild deleted file mode 100644 index 5333353a29b5..000000000000 --- a/x11-terms/guake/guake-0.4.2-r2.ebuild +++ /dev/null @@ -1,63 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/x11-terms/guake/guake-0.4.2-r2.ebuild,v 1.2 2012/06/14 23:57:21 ssuominen Exp $ - -EAPI=4 -GCONF_DEBUG="no" -GNOME2_LA_PUNT="yes" -PYTHON_DEPEND="2:2.7" - -inherit eutils gnome2 python multilib - -DESCRIPTION="A dropdown terminal made for the GNOME desktop" -HOMEPAGE="http://guake.org/" -SRC_URI="mirror://debian/pool/main/g/${PN}/${PN}_${PV}.orig.tar.gz" -#SRC_URI="http://guake.org/files/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 x86" -IUSE="nls" - -RDEPEND=">=x11-libs/gtk+-2.10:2 - dev-python/pygtk - x11-libs/vte:0[python] - dev-python/notify-python - dev-python/gconf-python - dev-python/dbus-python - >=gnome-base/gconf-2" -DEPEND="${RDEPEND} - virtual/pkgconfig - nls? ( dev-util/intltool )" - -pkg_setup() { - DOCS="AUTHORS ChangeLog NEWS README TODO" - G2CONF="--disable-static - --disable-dependency-tracking - $(use_enable nls)" - python_set_active_version 2 - python_pkg_setup -} - -src_prepare() { - epatch \ - "${FILESDIR}"/${P}-int-ssl-port.patch \ - "${FILESDIR}"/${P}-prefs-spinbox.patch \ - "${FILESDIR}"/${P}-glib2.32.patch \ - "${FILESDIR}"/${P}-vte-titles.patch \ - "${FILESDIR}"/${P}-window-title.patch - - sed -i -e s:/usr/bin/python:/usr/bin/python2: src/guake*.in || die - - gnome2_src_prepare -} - -pkg_postinst() { - gnome2_pkg_postinst - python_mod_optimize /usr/$(get_libdir)/${PN} -} - -pkg_postrm() { - gnome2_pkg_postrm - python_mod_cleanup /usr/$(get_libdir)/${PN} -} diff --git a/x11-terms/guake/guake-0.4.3.ebuild b/x11-terms/guake/guake-0.4.3.ebuild deleted file mode 100644 index 531cc55b7eb3..000000000000 --- a/x11-terms/guake/guake-0.4.3.ebuild +++ /dev/null @@ -1,68 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/x11-terms/guake/guake-0.4.3.ebuild,v 1.4 2012/08/03 22:28:03 hwoarang Exp $ - -EAPI=4 - -GCONF_DEBUG=no -GNOME2_LA_PUNT=yes -PYTHON_DEPEND="2:2.7" -DEB_REV=1 - -inherit eutils gnome2 python - -DESCRIPTION="A dropdown terminal made for the GTK+ desktops" -HOMEPAGE="http://guake.org/" -DEB_URI="mirror://debian/pool/main/${PN:0:1}/${PN}" -SRC_URI="${DEB_URI}/${PN}_${PV}.orig.tar.gz - ${DEB_URI}/${PN}_${PV}-${DEB_REV}.debian.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 ~arm x86" -IUSE="" - -RDEPEND="dev-python/dbus-python - dev-python/gconf-python - dev-python/notify-python - dev-python/pygtk - dev-python/pyxdg - gnome-base/gconf - >=x11-libs/gtk+-2.10:2 - x11-libs/libX11 - x11-libs/vte:0[python]" -DEPEND="${RDEPEND} - dev-util/intltool - virtual/pkgconfig" - -pkg_setup() { - DOCS="AUTHORS ChangeLog NEWS README TODO" - G2CONF="--disable-static" - python_set_active_version 2 - python_pkg_setup -} - -src_prepare() { - local d=${WORKDIR}/debian/patches - EPATCH_SOURCE=${d} epatch $(<"${d}"/series) - - python_convert_shebangs 2 src/{guake,prefs.py} - - # We byte-compile in pkg_postinst() - >py-compile - - # Validate with desktop-file-utils - sed -i -e '/^Encoding/d' data/*.desktop.in || die - - gnome2_src_prepare -} - -pkg_postinst() { - gnome2_pkg_postinst - python_mod_optimize ${PN} -} - -pkg_postrm() { - gnome2_pkg_postrm - python_mod_cleanup ${PN} -} |