diff options
author | Gilles Dartiguelongue <eva@gentoo.org> | 2008-04-09 21:34:27 +0000 |
---|---|---|
committer | Gilles Dartiguelongue <eva@gentoo.org> | 2008-04-09 21:34:27 +0000 |
commit | 8892305968629085f22950bf15f7ee394791e216 (patch) | |
tree | 76fbdce640c8730545b65c292c399347d55021a9 /gnome-base | |
parent | amd64/x86 stable, bug #216689 (diff) | |
download | gentoo-2-8892305968629085f22950bf15f7ee394791e216.tar.gz gentoo-2-8892305968629085f22950bf15f7ee394791e216.tar.bz2 gentoo-2-8892305968629085f22950bf15f7ee394791e216.zip |
bump to 2.22.1. Remove shebangs from non-executable Python scripts and
translation updates.
(Portage version: 2.1.5_rc2)
Diffstat (limited to 'gnome-base')
-rw-r--r-- | gnome-base/gnome-menus/ChangeLog | 9 | ||||
-rw-r--r-- | gnome-base/gnome-menus/gnome-menus-2.22.1.ebuild | 56 |
2 files changed, 64 insertions, 1 deletions
diff --git a/gnome-base/gnome-menus/ChangeLog b/gnome-base/gnome-menus/ChangeLog index ae319dabcc31..73c2cdf92fa6 100644 --- a/gnome-base/gnome-menus/ChangeLog +++ b/gnome-base/gnome-menus/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for gnome-base/gnome-menus # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/gnome-base/gnome-menus/ChangeLog,v 1.105 2008/03/18 00:10:41 leio Exp $ +# $Header: /var/cvsroot/gentoo-x86/gnome-base/gnome-menus/ChangeLog,v 1.106 2008/04/09 21:34:27 eva Exp $ + +*gnome-menus-2.22.1 (09 Apr 2008) + + 09 Apr 2008; Gilles Dartiguelongue <eva@gentoo.org> + +gnome-menus-2.22.1.ebuild: + bump to 2.22.1. Remove shebangs from non-executable Python scripts and + translation updates. *gnome-menus-2.22.0 (18 Mar 2008) diff --git a/gnome-base/gnome-menus/gnome-menus-2.22.1.ebuild b/gnome-base/gnome-menus/gnome-menus-2.22.1.ebuild new file mode 100644 index 000000000000..ec0fde85734f --- /dev/null +++ b/gnome-base/gnome-menus/gnome-menus-2.22.1.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/gnome-base/gnome-menus/gnome-menus-2.22.1.ebuild,v 1.1 2008/04/09 21:34:27 eva Exp $ + +inherit eutils gnome2 python + +DESCRIPTION="The GNOME menu system, implementing the F.D.O cross-desktop spec" +HOMEPAGE="http://www.gnome.org" + +LICENSE="GPL-2 LGPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd" +IUSE="debug python" + +RDEPEND=">=dev-libs/glib-2.15.2 + python? ( + >=dev-lang/python-2.4.4-r5 + dev-python/pygtk + )" +DEPEND="${RDEPEND} + sys-devel/gettext + >=dev-util/pkgconfig-0.9 + >=dev-util/intltool-0.35" + +DOCS="AUTHORS ChangeLog HACKING NEWS README" + +pkg_setup() { + G2CONF="${G2CONF} $(use_enable debug) $(use_enable python)" +} + +src_unpack() { + gnome2_src_unpack + + # Don't show KDE standalone settings desktop files in GNOME others menu + epatch "${FILESDIR}/${PN}-2.18.3-ignore_kde_standalone.patch" + + # disable pyc compiling + mv py-compile py-compile.orig + ln -s $(type -P true) py-compile +} + +pkg_postinst() { + gnome2_pkg_postinst + if use python; then + python_version + python_mod_optimize "${ROOT}"usr/$(get_libdir)/python${PYVER}/site-packages/GMenuSimpleEditor + fi +} + +pkg_postrm() { + gnome2_pkg_postrm + if use python; then + python_version + python_mod_cleanup /usr/$(get_libdir)/python${PYVER}/site-packages/GMenuSimpleEditor + fi +} |