summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexandre Rostovtsev <tetromino@gentoo.org>2012-05-13 18:43:24 +0000
committerAlexandre Rostovtsev <tetromino@gentoo.org>2012-05-13 18:43:24 +0000
commit95b19df82ff2e5771ae86c7851797da24eaf199f (patch)
treef3849eb07cc5f469f2600f3ef5a0c2201e867366 /gnome-base/gnome-menus
parentRevision bump to 6.1.4-r1 to fix buffer overflow, bug 364683 (diff)
downloadgentoo-2-95b19df82ff2e5771ae86c7851797da24eaf199f.tar.gz
gentoo-2-95b19df82ff2e5771ae86c7851797da24eaf199f.tar.bz2
gentoo-2-95b19df82ff2e5771ae86c7851797da24eaf199f.zip
Version bump, drop old.
(Portage version: 2.2.0_alpha104/cvs/Linux x86_64)
Diffstat (limited to 'gnome-base/gnome-menus')
-rw-r--r--gnome-base/gnome-menus/ChangeLog8
-rw-r--r--gnome-base/gnome-menus/gnome-menus-3.4.0.ebuild (renamed from gnome-base/gnome-menus/gnome-menus-3.2.0.1.ebuild)43
2 files changed, 38 insertions, 13 deletions
diff --git a/gnome-base/gnome-menus/ChangeLog b/gnome-base/gnome-menus/ChangeLog
index 4bc1b07f7054..ef50c04c5ae0 100644
--- a/gnome-base/gnome-menus/ChangeLog
+++ b/gnome-base/gnome-menus/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for gnome-base/gnome-menus
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/gnome-base/gnome-menus/ChangeLog,v 1.177 2012/05/05 05:38:10 jdhore Exp $
+# $Header: /var/cvsroot/gentoo-x86/gnome-base/gnome-menus/ChangeLog,v 1.178 2012/05/13 18:43:24 tetromino Exp $
+
+*gnome-menus-3.4.0 (13 May 2012)
+
+ 13 May 2012; Alexandre Rostovtsev <tetromino@gentoo.org>
+ -gnome-menus-3.2.0.1.ebuild, +gnome-menus-3.4.0.ebuild:
+ Version bump, drop old.
05 May 2012; Jeff Horelick <jdhore@gentoo.org> gnome-menus-2.30.5.ebuild,
gnome-menus-3.0.1-r1.ebuild, gnome-menus-3.2.0.1.ebuild,
diff --git a/gnome-base/gnome-menus/gnome-menus-3.2.0.1.ebuild b/gnome-base/gnome-menus/gnome-menus-3.4.0.ebuild
index ecd54f2c26d1..6c8418e902a8 100644
--- a/gnome-base/gnome-menus/gnome-menus-3.2.0.1.ebuild
+++ b/gnome-base/gnome-menus/gnome-menus-3.4.0.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/gnome-base/gnome-menus/gnome-menus-3.2.0.1.ebuild,v 1.4 2012/05/05 05:38:10 jdhore Exp $
+# $Header: /var/cvsroot/gentoo-x86/gnome-base/gnome-menus/gnome-menus-3.4.0.ebuild,v 1.1 2012/05/13 18:43:24 tetromino Exp $
EAPI="4"
GCONF_DEBUG="no"
@@ -39,7 +39,7 @@ DEPEND="${COMMON_DEPEND}
test? ( dev-libs/gjs )"
pkg_setup() {
- python_pkg_setup
+ use python && python_pkg_setup
DOCS="AUTHORS ChangeLog HACKING NEWS README"
# Do NOT compile with --disable-debug/--enable-debug=no
@@ -64,34 +64,53 @@ src_prepare() {
# Don't show KDE standalone settings desktop files in GNOME others menu
epatch "${FILESDIR}/${PN}-3.0.0-ignore_kde_standalone.patch"
- # disable pyc compiling
- echo '#!/bin/sh' > py-compile
-
- python_copy_sources
+ if use python; then
+ python_clean_py-compile_files
+ python_copy_sources
+ else
+ sed -e 's/\(SUBDIRS.*\) simple-editor/\1/' \
+ -i Makefile.* || die "sed failed"
+ fi
}
src_configure() {
- python_execute_function -s gnome2_src_configure
+ if use python; then
+ python_execute_function -s gnome2_src_configure
+ else
+ gnome2_src_configure
+ fi
}
src_compile() {
- python_execute_function -s gnome2_src_compile
+ if use python; then
+ python_execute_function -s gnome2_src_compile
+ else
+ gnome2_src_compile
+ fi
}
src_test() {
- python_execute_function -s -d
+ if use python; then
+ python_execute_function -s -d
+ else
+ default
+ fi
}
src_install() {
- python_execute_function -s gnome2_src_install
- python_clean_installation_image
+ if use python; then
+ python_execute_function -s gnome2_src_install
+ python_clean_installation_image
+ else
+ gnome2_src_install
+ fi
# Prefix menu, bug #256614
mv "${ED}"/etc/xdg/menus/applications.menu \
"${ED}"/etc/xdg/menus/gnome-applications.menu || die "menu move failed"
exeinto /etc/X11/xinit/xinitrc.d/
- doexe "${FILESDIR}/10-xdg-menu-gnome"
+ newexe "${FILESDIR}/10-xdg-menu-gnome-r1" 10-xdg-menu-gnome
}
pkg_postinst() {