diff options
author | Alexandre Rostovtsev <tetromino@gentoo.org> | 2012-05-24 05:01:18 +0000 |
---|---|---|
committer | Alexandre Rostovtsev <tetromino@gentoo.org> | 2012-05-24 05:01:18 +0000 |
commit | f1727859237c57d9b8c9f3fd08b2b5da0dbddcba (patch) | |
tree | f231a1df4e9347ad3812dd29d1d1460d856f1982 /x11-misc | |
parent | Inherit user for enewuser/etc... (diff) | |
download | historical-f1727859237c57d9b8c9f3fd08b2b5da0dbddcba.tar.gz historical-f1727859237c57d9b8c9f3fd08b2b5da0dbddcba.tar.bz2 historical-f1727859237c57d9b8c9f3fd08b2b5da0dbddcba.zip |
Version bump, first fully gnome3-compatible release.
Package-Manager: portage-2.2.0_alpha107/cvs/Linux x86_64
Diffstat (limited to 'x11-misc')
-rw-r--r-- | x11-misc/alacarte/ChangeLog | 11 | ||||
-rw-r--r-- | x11-misc/alacarte/Manifest | 21 | ||||
-rw-r--r-- | x11-misc/alacarte/alacarte-0.13.3.ebuild | 89 | ||||
-rw-r--r-- | x11-misc/alacarte/files/alacarte-0.13.3-cursor-changed-selection-none.patch | 42 | ||||
-rw-r--r-- | x11-misc/alacarte/files/alacarte-0.13.3-icon-crash.patch | 26 | ||||
-rw-r--r-- | x11-misc/alacarte/files/alacarte-0.13.3-no-pygtk-checks.patch | 79 |
6 files changed, 266 insertions, 2 deletions
diff --git a/x11-misc/alacarte/ChangeLog b/x11-misc/alacarte/ChangeLog index 5b77424d9596..25df4ea9416d 100644 --- a/x11-misc/alacarte/ChangeLog +++ b/x11-misc/alacarte/ChangeLog @@ -1,6 +1,15 @@ # ChangeLog for x11-misc/alacarte # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/x11-misc/alacarte/ChangeLog,v 1.113 2012/05/05 04:53:41 jdhore Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-misc/alacarte/ChangeLog,v 1.114 2012/05/24 05:01:18 tetromino Exp $ + +*alacarte-0.13.3 (24 May 2012) + + 24 May 2012; Alexandre Rostovtsev <tetromino@gentoo.org> + +alacarte-0.13.3.ebuild, + +files/alacarte-0.13.3-cursor-changed-selection-none.patch, + +files/alacarte-0.13.3-icon-crash.patch, + +files/alacarte-0.13.3-no-pygtk-checks.patch: + Version bump, first fully gnome3-compatible release. 05 May 2012; Jeff Horelick <jdhore@gentoo.org> alacarte-0.12.4.ebuild, alacarte-0.13.2.ebuild, alacarte-0.13.2-r50.ebuild: diff --git a/x11-misc/alacarte/Manifest b/x11-misc/alacarte/Manifest index 7559728fda56..1d54c8d69085 100644 --- a/x11-misc/alacarte/Manifest +++ b/x11-misc/alacarte/Manifest @@ -1,10 +1,29 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + AUX alacarte-0.11.5-python-2.6.patch 448 RMD160 db11ef6e261fa0b72af5eeb02a810834288898fb SHA1 e7c0dfed53e4ef4ce06342dea5c8b675b516a703 SHA256 ea7a0b5962de081766809268ce226bd6b606e15d76110b32157af6f3a0c1affa AUX alacarte-0.13.2-selection_browse.patch 1066 RMD160 7bd0a5ffc720932d2547b54fd5ba49948b122a08 SHA1 8a208340c60c5ae2cd4679f1182a1f84b015a298 SHA256 f575383f14baa5a4bef875c214ace7eb01aacbc21bea6d7a189ecc273d61cc77 AUX alacarte-0.13.2-settings_menu.patch 4766 RMD160 c55d170ded2b88182b6efc60606dcec1cf6c007d SHA1 78e69196da2e7b37c9a4d0d9c940187ce27d7ffd SHA256 64610f00ed9f0f78c28d6cadbb00e59ca5dc18e1675a8011141199bcecf33deb +AUX alacarte-0.13.3-cursor-changed-selection-none.patch 1503 RMD160 c15d99a0312584e5165bafedb120e11a9289a9bb SHA1 f010ce48d9c83a288a03c22e64877a7f3d53152c SHA256 8b19fc6d6c7c2c8d59c1a36eef5e2a5fa396dae5461a1b1ac951eecb13617346 +AUX alacarte-0.13.3-icon-crash.patch 780 RMD160 516d34ebc20a77dc6e5d56f0b7c82e5fd3dd9b2d SHA1 733b5e1c13df730822085d25cfa5b01f87da19a4 SHA256 504733b065064125214c0a54fae42684d34c842cba43cd765ee370902fc416e7 +AUX alacarte-0.13.3-no-pygtk-checks.patch 2437 RMD160 eb6a0038e12e7cee592372a54ffd5a889405412a SHA1 5df86c589b5e105f14a80ea67333f6701a774805 SHA256 91779fdaba540200cdd9ebfe75b8cc3417fb40c4b83aae95f3518e295df8f873 DIST alacarte-0.12.4.tar.bz2 189318 RMD160 e0bbef89f1603c2de2ed60d6de087c3407f06040 SHA1 a44b3c3bba625c570d3ef7f451f912e537fccedb SHA256 f5bccd47d96b22ee73cf537d86bb90cb7b7e0f70ac68253fe512540e5bf64823 DIST alacarte-0.13.2.tar.bz2 193746 RMD160 97924d34e9d460267b6118a01488b635551a8aaa SHA1 6eb6a0f308be0da84ead38fbfae0b247743f6038 SHA256 9fa36e5181b1eea947b184cb0f79d796b25cc5a5f122819a1ac2ff01bc7ee4ed +DIST alacarte-0.13.3.tar.xz 178044 RMD160 38b8835a1ebf1f58253cbd4d022ab8cb47b62279 SHA1 5ffb7dd7081cc116582aa29c2dc9752925583db4 SHA256 47671bcc346096f19e9f569297a1b91502b78042ba14c15d9d6dd3a2e1427e07 EBUILD alacarte-0.12.4.ebuild 1131 RMD160 65f75695e3f2200952129bd081d1a997ca03e9c6 SHA1 63251e65955801d5b6076cbdb5d0bc614528693b SHA256 f07a38e1b6539b94a285fa74853436c550cbfbe1d9f6686669e3ef5f0bfcbf19 EBUILD alacarte-0.13.2-r50.ebuild 1928 RMD160 87b9a323c19f4ba4c16b1c7199680f95f092b9af SHA1 269dab6bc1f4e6db1d8c0e1a5deb75ffa7f949a2 SHA256 d35afcb5db4a38f37f12c3d46ad6f1133941362e41ee0f3a6d68185f2b2be8aa EBUILD alacarte-0.13.2.ebuild 1542 RMD160 cfc3249d44ba719ebdeb1c2e9c8296c6fa6fb90c SHA1 f7956abf42d8c73fdcd4fcd8985935a9918f6299 SHA256 b880297857fba7100b9583d2b5a4be64cd2880b9e9084f9bc1b3009e22701267 -MISC ChangeLog 14509 RMD160 41931938bd3daaf743642ae5c98688fc7509485a SHA1 84b069e45caef56c60bd95bafa920fcd5e539e72 SHA256 37bd5326cd01cf1159453adbb0ee1d4011cf7160e77c1ca792a27692ad14b3e3 +EBUILD alacarte-0.13.3.ebuild 1964 RMD160 88f659e04e91bdd30c30bf6fa12b598745a54add SHA1 e3f7bee325a2aaeac8cea3520896f4b402707ec9 SHA256 67b009da773c1df0c6add9344ce0b2a9bc841127e320b091845ea9b7a4d79dfa +MISC ChangeLog 14839 RMD160 7cf59d1d5565f73e21a9d11b8f10a5bb81581368 SHA1 286c7688368ba1097aceae4938f30bca4058d94d SHA256 0ee3bcd44ded215dbce6bb7ac4b31373ca81064efb2b7fbe0b4b98a21f04affa MISC metadata.xml 158 RMD160 c0e2bae8e91bb6be8922bac5e4f597302e06587e SHA1 38f78e9790bcd4382b4a49aa226aa6dda1d3a3d7 SHA256 3a7dbca0fdc557de69783e0663e2d76ddab129ea8a19b2d0ef6d3e5d1b947ce1 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.19 (GNU/Linux) + +iQEcBAEBAgAGBQJPvcCjAAoJEJ0WA1zPCt1hAGMIAJ3eAFncsNF7T2Wwp3Ut2ahz +tCkG/ad749SPkhs/Owff3MVW+bexZYQzQBfZZ2plYAstcBOoJXuIKtOHZNzHDzMM +Y42xpgelYWxFTMO1GKPZxZB1dfwdTiQR0L8s3i3n2wXQG1jIuTLq0cPt/mc/4GcQ +ayynEoaMsOrc5hYWhGjW71niyVf3oNfiaMZCOIznwLRg8ZAvc6yt8JFJBp73oPG0 +zxOi19y7Sw+TVEkpTQ1U5NAoWItryWB7zX3GlNZzQLPOI4eM0k73y699fZIpLzyL +8M1RPRFzYp1q9sTJO61g3bU9eNeet7WAoyRtzFLE+loF5HhWCRlPN0YVQ90XBNk= +=6zEY +-----END PGP SIGNATURE----- diff --git a/x11-misc/alacarte/alacarte-0.13.3.ebuild b/x11-misc/alacarte/alacarte-0.13.3.ebuild new file mode 100644 index 000000000000..72fee004482d --- /dev/null +++ b/x11-misc/alacarte/alacarte-0.13.3.ebuild @@ -0,0 +1,89 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/x11-misc/alacarte/alacarte-0.13.3.ebuild,v 1.1 2012/05/24 05:01:18 tetromino Exp $ + +EAPI="4" +GCONF_DEBUG="no" +PYTHON_DEPEND="2:2.5" +PYTHON_USE_WITH="xml" +SUPPORT_PYTHON_ABIS="1" +RESTRICT_PYTHON_ABIS="3.*" + +inherit autotools eutils gnome2 python + +DESCRIPTION="Simple GNOME menu editor" +HOMEPAGE="http://live.gnome.org/" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" +IUSE="" + +COMMON_DEPEND="dev-python/pygobject:3 + >=gnome-base/gnome-menus-3.2.0.1:3[introspection] +" +# gnome-panel needed for gnome-desktop-item-edit +RDEPEND="${COMMON_DEPEND} + gnome-base/gnome-panel + x11-libs/gdk-pixbuf:2[introspection] + x11-libs/gtk+:3[introspection] +" +DEPEND="${COMMON_DEPEND} + >=dev-util/intltool-0.40.0 + sys-devel/gettext + virtual/pkgconfig +" + +pkg_setup() { + DOCS="AUTHORS ChangeLog NEWS README" + python_pkg_setup +} + +src_prepare() { + # https://bugzilla.gnome.org/show_bug.cgi?id=676699 + epatch "${FILESDIR}/${P}-no-pygtk-checks.patch" + # https://bugzilla.gnome.org/show_bug.cgi?id=676700 + epatch "${FILESDIR}/${P}-icon-crash.patch" + # https://bugzilla.gnome.org/show_bug.cgi?id=676702 + epatch "${FILESDIR}/${P}-cursor-changed-selection-none.patch" + eautoreconf + + gnome2_src_prepare + + # disable pyc compiling + python_clean_py-compile_files + + python_copy_sources +} + +src_configure() { + configure() { + G2CONF="${G2CONF} PYTHON=$(PYTHON -a)" + gnome2_src_configure + } + python_execute_function -s configure +} + +src_compile() { + python_execute_function -s gnome2_src_compile +} + +src_test() { + python_execute_function -s -d +} + +src_install() { + python_execute_function -s gnome2_src_install + python_clean_installation_image + python_convert_shebangs -r 2 "${ED}" +} + +pkg_postinst() { + gnome2_pkg_postinst + python_mod_optimize Alacarte +} + +pkg_postrm() { + gnome2_pkg_postrm + python_mod_cleanup Alacarte +} diff --git a/x11-misc/alacarte/files/alacarte-0.13.3-cursor-changed-selection-none.patch b/x11-misc/alacarte/files/alacarte-0.13.3-cursor-changed-selection-none.patch new file mode 100644 index 000000000000..b1f9cfef42d1 --- /dev/null +++ b/x11-misc/alacarte/files/alacarte-0.13.3-cursor-changed-selection-none.patch @@ -0,0 +1,42 @@ +From e265c5b46cfa259b03ca08672023b8ef0d0e2ea9 Mon Sep 17 00:00:00 2001 +From: Alexandre Rostovtsev <tetromino@gentoo.org> +Date: Thu, 24 May 2012 00:54:20 -0400 +Subject: [PATCH] MainWindow: treeview.get_selection() in cursor-changed + callbacks can return None + +https://bugzilla.gnome.org/show_bug.cgi?id=676702 +--- + Alacarte/MainWindow.py | 10 ++++++++-- + 1 files changed, 8 insertions(+), 2 deletions(-) + +diff --git a/Alacarte/MainWindow.py b/Alacarte/MainWindow.py +index be460e1..fd18064 100644 +--- a/Alacarte/MainWindow.py ++++ b/Alacarte/MainWindow.py +@@ -366,7 +366,10 @@ class MainWindow(object): + GObject.timeout_add(100, self.waitForEditProcess, process, file_path) + + def on_menu_tree_cursor_changed(self, treeview): +- menus, iter = treeview.get_selection().get_selected() ++ selection = treeview.get_selection() ++ if selection is None: ++ return ++ menus, iter = selection.get_selected() + if iter is None: + return + menu_path = menus.get_path(iter) +@@ -424,7 +427,10 @@ class MainWindow(object): + self.item_store[path][0] = not self.item_store[path][0] + + def on_item_tree_cursor_changed(self, treeview): +- items, iter = treeview.get_selection().get_selected() ++ selection = treeview.get_selection() ++ if selection is None: ++ return ++ items, iter = selection.get_selected() + if iter is None: + return + item = items[iter][3] +-- +1.7.8.6 + diff --git a/x11-misc/alacarte/files/alacarte-0.13.3-icon-crash.patch b/x11-misc/alacarte/files/alacarte-0.13.3-icon-crash.patch new file mode 100644 index 000000000000..2b3dfe6225c9 --- /dev/null +++ b/x11-misc/alacarte/files/alacarte-0.13.3-icon-crash.patch @@ -0,0 +1,26 @@ +From 8fd2c4b9939a9adf5b9bfad9df17ee8bbeac2c2c Mon Sep 17 00:00:00 2001 +From: Alexandre Rostovtsev <tetromino@gentoo.org> +Date: Thu, 24 May 2012 00:04:55 -0400 +Subject: [PATCH] util: avoid crashing if a .desktop file has no icon defined + +https://bugzilla.gnome.org/show_bug.cgi?id=676700 +--- + Alacarte/util.py | 2 ++ + 1 files changed, 2 insertions(+), 0 deletions(-) + +diff --git a/Alacarte/util.py b/Alacarte/util.py +index 8501a35..bcd4bca 100644 +--- a/Alacarte/util.py ++++ b/Alacarte/util.py +@@ -138,6 +138,8 @@ def getIcon(item): + else: + app_info = item.get_app_info() + gicon = app_info.get_icon() ++ if gicon is None: ++ return None + + icon_theme = Gtk.IconTheme.get_default() + info = icon_theme.lookup_by_gicon(gicon, 24, 0) +-- +1.7.8.6 + diff --git a/x11-misc/alacarte/files/alacarte-0.13.3-no-pygtk-checks.patch b/x11-misc/alacarte/files/alacarte-0.13.3-no-pygtk-checks.patch new file mode 100644 index 000000000000..15c5526fc048 --- /dev/null +++ b/x11-misc/alacarte/files/alacarte-0.13.3-no-pygtk-checks.patch @@ -0,0 +1,79 @@ +From 14d2b9a75a0cd6dd7e611caa37dee93b5ac5c3cd Mon Sep 17 00:00:00 2001 +From: Alexandre Rostovtsev <tetromino@gentoo.org> +Date: Wed, 23 May 2012 23:34:36 -0400 +Subject: [PATCH] configure: Remove old pygtk/pygobject-2 checks + +https://bugzilla.gnome.org/show_bug.cgi?id=676699 +--- + configure.ac | 48 +----------------------------------------------- + 1 files changed, 1 insertions(+), 47 deletions(-) + +diff --git a/configure.ac b/configure.ac +index db5495f..378fa6c 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -8,9 +8,6 @@ AC_CONFIG_HEADERS([config.h]) + AM_INIT_AUTOMAKE([1.7]) + AM_MAINTAINER_MODE + +-m4_define(required_pygobject_version, 2.15.1) +-m4_define(required_pygtk_version, 2.13.0) +- + dnl put the ACLOCAL flags in the makefile + ACLOCAL="$ACLOCAL $ACLOCAL_FLAGS" + +@@ -23,50 +20,7 @@ IT_PROG_INTLTOOL([0.40.0]) + + AM_PATH_PYTHON_VERSION(2.7, 2.7.0, 2.6, 2.6.0, 2.5, 2.5.0, 2.4, 2.4.0) + +-PKG_CHECK_MODULES(ALACARTE, libgnome-menu-3.0 >= 3.2.0.1) +- +-dnl Check for correctly installed pygobject +-AC_MSG_CHECKING(for pygobject required_pygobject_version installed for python required_python_abi) +-prog=" +-import pygtk; pygtk.require('2.0') +-import gobject +-assert gobject.pygobject_version >= tuple(map(int, 'required_pygobject_version'.split('.'))) +-" +- +-if $PYTHON -c "$prog" 1>&AC_FD_CC 2>&AC_FD_CC; then +- AC_MSG_RESULT(found) +-else +- AC_MSG_RESULT(not found) +- AC_MSG_ERROR(required pygobject version not found) +-fi +- +-dnl Check for correctly installed pygtk +-AC_MSG_CHECKING(for pygtk required_pygtk_version installed for python ${PYTHON_VERSION}) +-prog=" +-import pygtk; pygtk.require('2.0') +-import gobject +-assert gobject.pygtk_version >= tuple(map(int, 'required_pygtk_version'.split('.'))) +-" +- +-if $PYTHON -c "$prog" 1>&AC_FD_CC 2>&AC_FD_CC; then +- AC_MSG_RESULT(found) +-else +- AC_MSG_RESULT(not found) +- AC_MSG_ERROR(required pygtk version not found) +-fi +- +-dnl Check for correctly installed python-glade +-dnl AC_MSG_CHECKING(for pyglade required_pygtk_version installed for python ${PYTHON_VERSION}) +-dnl prog=" +-dnl import pygtk; pygtk.require('2.0') +-dnl import gtk.glade +-dnl " +-dnl if $PYTHON -c "$prog" 1>&AC_FD_CC 2>&AC_FD_CC; then +-dnl AC_MSG_RESULT(found) +-dnl else +-dnl AC_MSG_RESULT(not found) +-dnl AC_MSG_ERROR(required pyglade version not found) +-dnl fi ++PKG_CHECK_MODULES(ALACARTE, libgnome-menu-3.0 >= 3.2.0.1 pygobject-3.0) + + AC_CONFIG_FILES([ + Makefile +-- +1.7.8.6 + |