From f2e1210a062e2f1613cddf26cac42cf839babc73 Mon Sep 17 00:00:00 2001 From: Peter Henriksson Date: Fri, 2 Oct 2009 09:17:45 +0200 Subject: [PATCH] gnome-menus: In gnome overlay --- local-gnome/gnome-base/gnome-menus/Manifest | 4 -- .../gnome-base/gnome-menus/files/10-xdg-menu-gnome | 6 -- .../gnome-menus-2.18.3-ignore_kde_standalone.patch | 22 ------- .../gnome-menus/gnome-menus-2.28.0.ebuild | 75 ---------------------- 4 files changed, 107 deletions(-) delete mode 100644 local-gnome/gnome-base/gnome-menus/Manifest delete mode 100644 local-gnome/gnome-base/gnome-menus/files/10-xdg-menu-gnome delete mode 100644 local-gnome/gnome-base/gnome-menus/files/gnome-menus-2.18.3-ignore_kde_standalone.patch delete mode 100644 local-gnome/gnome-base/gnome-menus/gnome-menus-2.28.0.ebuild diff --git a/local-gnome/gnome-base/gnome-menus/Manifest b/local-gnome/gnome-base/gnome-menus/Manifest deleted file mode 100644 index 0b1107f..0000000 --- a/local-gnome/gnome-base/gnome-menus/Manifest +++ /dev/null @@ -1,4 +0,0 @@ -AUX 10-xdg-menu-gnome 115 RMD160 3e235da94ec1e7f97be144358f105d24ca8144e8 SHA1 f4d0e6dff08acd5b06531973f1f68b5f4a640240 SHA256 d6a4938ed879f908e93d0c917db4c99321cb6fa126b79fe1e878ff2ddade963b -AUX gnome-menus-2.18.3-ignore_kde_standalone.patch 1208 RMD160 302201bbc2a9b4d6a673904d11ce60390268b4b5 SHA1 58880f2807bc6a11a724a15c4f626f7385e650be SHA256 6b13ae1708b5d4753f38e57e161e58bd31d0b7a9de8b78145052388b150eedb8 -EBUILD gnome-menus-2.28.0.ebuild 2106 RMD160 3fd447198a81b2f16a600c75ee39bdf08de5eef6 SHA1 a2b844c7293b477e3e79006b6ccf3fbf5cd04cc6 SHA256 d6fb60ff39c0326e40300ecc4b5b203fdb1ed4bf586de3e6d7b0718674c717f9 -DIST gnome-menus-2.28.0.tar.bz2 459632 RMD160 06bb1a734ddc3a19eecea190d4b009beae25d11f SHA1 619fe3aae9348b6cd00b008c8e8d292191946317 SHA256 3a840b2bbcf637bac86beb6524b76a5762f29c17b28b5c5d0de601fb8ac2f3d1 diff --git a/local-gnome/gnome-base/gnome-menus/files/10-xdg-menu-gnome b/local-gnome/gnome-base/gnome-menus/files/10-xdg-menu-gnome deleted file mode 100644 index b12a712..0000000 --- a/local-gnome/gnome-base/gnome-menus/files/10-xdg-menu-gnome +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/sh - -if [ -z "$XDG_MENU_PREFIX" ] && [ "$DESKTOP_SESSION" = "gnome" ] -then - export XDG_MENU_PREFIX=gnome- -fi diff --git a/local-gnome/gnome-base/gnome-menus/files/gnome-menus-2.18.3-ignore_kde_standalone.patch b/local-gnome/gnome-base/gnome-menus/files/gnome-menus-2.18.3-ignore_kde_standalone.patch deleted file mode 100644 index 895f5f2..0000000 --- a/local-gnome/gnome-base/gnome-menus/files/gnome-menus-2.18.3-ignore_kde_standalone.patch +++ /dev/null @@ -1,22 +0,0 @@ ---- layout/applications.menu.orig 2007-09-21 17:51:43.000000000 +0300 -+++ layout/applications.menu 2007-09-21 17:55:38.000000000 +0300 -@@ -146,6 +146,19 @@ - Core - Settings - Screensaver -+ X-KDE-settings-accessibility -+ X-KDE-settings-components -+ X-KDE-settings-desktop -+ X-KDE-settings-looknfeel -+ X-KDE-settings-network -+ X-KDE-settings-webbrowsing -+ X-KDE-settings-peripherals -+ X-KDE-settings-hardware -+ X-KDE-settings-power -+ X-KDE-settings-security -+ X-KDE-settings-sound -+ X-KDE-settings-system -+ X-KDE-information - - - diff --git a/local-gnome/gnome-base/gnome-menus/gnome-menus-2.28.0.ebuild b/local-gnome/gnome-base/gnome-menus/gnome-menus-2.28.0.ebuild deleted file mode 100644 index e9133ba..0000000 --- a/local-gnome/gnome-base/gnome-menus/gnome-menus-2.28.0.ebuild +++ /dev/null @@ -1,75 +0,0 @@ -# Copyright 1999-2009 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.26.2.ebuild,v 1.2 2009/08/03 21:25:24 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.18.0 - 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.40" - -DOCS="AUTHORS ChangeLog HACKING NEWS README" - -pkg_setup() { - # Do NOT compile with --disable-debug/--enable-debug=no - # FIXME: fix autofoo and report upstream - if use debug ; then - G2CONF="${G2CONF} --enable-debug=yes" - fi - - G2CONF="${G2CONF} $(use_enable python) --disable-static" -} - -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-disabled - ln -s $(type -P true) py-compile -} - -src_install() { - gnome2_src_install - - # Prefix menu, bug #256614 - mv "${D}"/etc/xdg/menus/applications.menu \ - "${D}"/etc/xdg/menus/gnome-applications.menu || die "menu move failed" - - exeinto /etc/X11/xinit/xinitrc.d/ - doexe "${FILESDIR}/10-xdg-menu-gnome" || die "doexe failed" -} - -pkg_postinst() { - gnome2_pkg_postinst - if use python; then - python_version - python_need_rebuild - python_mod_optimize $(python_get_sitedir)/GMenuSimpleEditor - fi - - ewarn "Due to bug #256614, you might loose icons in applications menus." - ewarn "If you use a login manager, please re-select your session." - ewarn "If you use startx and have no .xinitrc, just export XSESSION=Gnome." - ewarn "If you use startx and have .xinitrc, export XDG_MENU_PREFIX=gnome-." -} - -pkg_postrm() { - gnome2_pkg_postrm - python_mod_cleanup /usr/$(get_libdir)/python*/site-packages/GMenuSimpleEditor -} -- 2.11.4.GIT