Gentoo Archives: gentoo-commits

From: "Pacho Ramos (pacho)" <pacho@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in gnome-base/gnome-menus: ChangeLog gnome-menus-2.30.5.ebuild gnome-menus-2.30.3.ebuild
Date: Mon, 29 Nov 2010 19:17:58
Message-Id: 20101129191743.38EBB20051@flycatcher.gentoo.org
1 pacho 10/11/29 19:17:43
2
3 Modified: ChangeLog
4 Added: gnome-menus-2.30.5.ebuild
5 Removed: gnome-menus-2.30.3.ebuild
6 Log:
7 Version bump (and eapi bump), remove old.
8
9 (Portage version: 2.1.9.25/cvs/Linux x86_64)
10
11 Revision Changes Path
12 1.160 gnome-base/gnome-menus/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-base/gnome-menus/ChangeLog?rev=1.160&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-base/gnome-menus/ChangeLog?rev=1.160&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-base/gnome-menus/ChangeLog?r1=1.159&r2=1.160
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/gnome-base/gnome-menus/ChangeLog,v
21 retrieving revision 1.159
22 retrieving revision 1.160
23 diff -u -r1.159 -r1.160
24 --- ChangeLog 8 Nov 2010 22:08:18 -0000 1.159
25 +++ ChangeLog 29 Nov 2010 19:17:43 -0000 1.160
26 @@ -1,6 +1,12 @@
27 # ChangeLog for gnome-base/gnome-menus
28 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/gnome-base/gnome-menus/ChangeLog,v 1.159 2010/11/08 22:08:18 eva Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/gnome-base/gnome-menus/ChangeLog,v 1.160 2010/11/29 19:17:43 pacho Exp $
31 +
32 +*gnome-menus-2.30.5 (29 Nov 2010)
33 +
34 + 29 Nov 2010; Pacho Ramos <pacho@g.o> -gnome-menus-2.30.3.ebuild,
35 + +gnome-menus-2.30.5.ebuild:
36 + Version bump (and eapi bump), remove old.
37
38 08 Nov 2010; Gilles Dartiguelongue <eva@g.o>
39 -gnome-menus-2.26.2.ebuild, -gnome-menus-2.28.0.1.ebuild,
40
41
42
43 1.1 gnome-base/gnome-menus/gnome-menus-2.30.5.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-base/gnome-menus/gnome-menus-2.30.5.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-base/gnome-menus/gnome-menus-2.30.5.ebuild?rev=1.1&content-type=text/plain
47
48 Index: gnome-menus-2.30.5.ebuild
49 ===================================================================
50 # Copyright 1999-2010 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/gnome-base/gnome-menus/gnome-menus-2.30.5.ebuild,v 1.1 2010/11/29 19:17:43 pacho Exp $
53
54 EAPI="3"
55 GCONF_DEBUG="no"
56
57 PYTHON_DEPEND="python? 2:2.4"
58 SUPPORT_PYTHON_ABIS="1"
59 RESTRICT_PYTHON_ABIS="3.*"
60
61 inherit eutils gnome2 python
62
63 DESCRIPTION="The GNOME menu system, implementing the F.D.O cross-desktop spec"
64 HOMEPAGE="http://www.gnome.org"
65
66 LICENSE="GPL-2 LGPL-2"
67 SLOT="0"
68 KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd"
69 IUSE="debug +introspection python"
70
71 RDEPEND=">=dev-libs/glib-2.18
72 python? ( dev-python/pygtk )
73 introspection? ( >=dev-libs/gobject-introspection-0.6.7 )"
74 DEPEND="${RDEPEND}
75 sys-devel/gettext
76 >=dev-util/pkgconfig-0.9
77 >=dev-util/intltool-0.40"
78
79 pkg_setup() {
80 DOCS="AUTHORS ChangeLog HACKING NEWS README"
81
82 # Do NOT compile with --disable-debug/--enable-debug=no
83 # It disables api usage checks
84 if ! use debug ; then
85 G2CONF="${G2CONF} --enable-debug=minimum"
86 fi
87
88 G2CONF="${G2CONF}
89 --disable-static
90 $(use_enable python)
91 $(use_enable introspection)"
92 }
93
94 src_prepare() {
95 gnome2_src_prepare
96
97 # Don't show KDE standalone settings desktop files in GNOME others menu
98 epatch "${FILESDIR}/${PN}-2.18.3-ignore_kde_standalone.patch"
99
100 # disable pyc compiling
101 mv py-compile py-compile-disabled
102 ln -s $(type -P true) py-compile
103
104 python_copy_sources
105 }
106
107 src_configure() {
108 python_execute_function -s gnome2_src_configure
109 }
110
111 src_compile() {
112 python_execute_function -s gnome2_src_compile
113 }
114
115 src_test() {
116 python_execute_function -s -d
117 }
118
119 src_install() {
120 python_execute_function -s gnome2_src_install
121 python_clean_installation_image
122
123 # Prefix menu, bug #256614
124 mv "${ED}"/etc/xdg/menus/applications.menu \
125 "${ED}"/etc/xdg/menus/gnome-applications.menu || die "menu move failed"
126
127 exeinto /etc/X11/xinit/xinitrc.d/
128 doexe "${FILESDIR}/10-xdg-menu-gnome" || die "doexe failed"
129 }
130
131 pkg_postinst() {
132 gnome2_pkg_postinst
133 if use python; then
134 python_mod_optimize GMenuSimpleEditor
135 fi
136
137 ewarn "Due to bug #256614, you might lose icons in applications menus."
138 ewarn "If you use a login manager, please re-select your session."
139 ewarn "If you use startx and have no .xinitrc, just export XSESSION=Gnome."
140 ewarn "If you use startx and have .xinitrc, export XDG_MENU_PREFIX=gnome-."
141 }
142
143 pkg_postrm() {
144 gnome2_pkg_postrm
145 if use python; then
146 python_mod_cleanup GMenuSimpleEditor
147 fi
148 }