Gentoo Archives: gentoo-commits

From: "Alexandre Rostovtsev (tetromino)" <tetromino@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in gnome-base/gnome-menus: ChangeLog gnome-menus-3.0.1-r1.ebuild gnome-menus-3.2.0.1.ebuild gnome-menus-3.0.1.ebuild
Date: Sat, 29 Oct 2011 01:58:25
Message-Id: 20111029015809.0A1122004B@flycatcher.gentoo.org
1 tetromino 11/10/29 01:58:09
2
3 Modified: ChangeLog
4 Added: gnome-menus-3.0.1-r1.ebuild
5 gnome-menus-3.2.0.1.ebuild
6 Removed: gnome-menus-3.0.1.ebuild
7 Log:
8 Bump to 3.2.0.1 and 3.0.1-r1 from the gnome overlay and drop old. Note that 3.2 is now slotted as 3 (since it installs libgnome-menu-3) and <=3.0 is slotted as 0 (since it installs libgnome-menu). But the actual menu definitions should only be installed by one of the slots, hence the blocker in the 3.2.0.1 ebuild and the pdepend in 3.0.1-r1.
9
10 (Portage version: 2.2.0_alpha71/cvs/Linux x86_64)
11
12 Revision Changes Path
13 1.172 gnome-base/gnome-menus/ChangeLog
14
15 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-base/gnome-menus/ChangeLog?rev=1.172&view=markup
16 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-base/gnome-menus/ChangeLog?rev=1.172&content-type=text/plain
17 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-base/gnome-menus/ChangeLog?r1=1.171&r2=1.172
18
19 Index: ChangeLog
20 ===================================================================
21 RCS file: /var/cvsroot/gentoo-x86/gnome-base/gnome-menus/ChangeLog,v
22 retrieving revision 1.171
23 retrieving revision 1.172
24 diff -u -r1.171 -r1.172
25 --- ChangeLog 23 Oct 2011 23:03:09 -0000 1.171
26 +++ ChangeLog 29 Oct 2011 01:58:08 -0000 1.172
27 @@ -1,6 +1,18 @@
28 # ChangeLog for gnome-base/gnome-menus
29 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
30 -# $Header: /var/cvsroot/gentoo-x86/gnome-base/gnome-menus/ChangeLog,v 1.171 2011/10/23 23:03:09 abcd Exp $
31 +# $Header: /var/cvsroot/gentoo-x86/gnome-base/gnome-menus/ChangeLog,v 1.172 2011/10/29 01:58:08 tetromino Exp $
32 +
33 +*gnome-menus-3.2.0.1 (29 Oct 2011)
34 +*gnome-menus-3.0.1-r1 (29 Oct 2011)
35 +
36 + 29 Oct 2011; Alexandre Rostovtsev <tetromino@g.o>
37 + -gnome-menus-3.0.1.ebuild, +gnome-menus-3.0.1-r1.ebuild,
38 + +files/gnome-menus-3.0.2-library-only.patch, +gnome-menus-3.2.0.1.ebuild:
39 + Bump to 3.2.0.1 and 3.0.1-r1 from the gnome overlay and drop old. Note that
40 + 3.2 is now slotted as 3 (since it installs libgnome-menu-3) and <=3.0 is
41 + slotted as 0 (since it installs libgnome-menu). But the actual menu
42 + definitions should only be installed by one of the slots, hence the blocker
43 + in the 3.2.0.1 ebuild and the pdepend in 3.0.1-r1.
44
45 23 Oct 2011; Jonathan Callen <abcd@g.o> gnome-menus-2.30.5.ebuild,
46 gnome-menus-3.0.1.ebuild:
47
48
49
50 1.1 gnome-base/gnome-menus/gnome-menus-3.0.1-r1.ebuild
51
52 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-base/gnome-menus/gnome-menus-3.0.1-r1.ebuild?rev=1.1&view=markup
53 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-base/gnome-menus/gnome-menus-3.0.1-r1.ebuild?rev=1.1&content-type=text/plain
54
55 Index: gnome-menus-3.0.1-r1.ebuild
56 ===================================================================
57 # Copyright 1999-2011 Gentoo Foundation
58 # Distributed under the terms of the GNU General Public License v2
59 # $Header: /var/cvsroot/gentoo-x86/gnome-base/gnome-menus/gnome-menus-3.0.1-r1.ebuild,v 1.1 2011/10/29 01:58:08 tetromino Exp $
60
61 EAPI="3"
62 GCONF_DEBUG="no"
63 GNOME2_LA_PUNT="yes"
64
65 PYTHON_DEPEND="python? 2:2.4"
66 SUPPORT_PYTHON_ABIS="1"
67 RESTRICT_PYTHON_ABIS="3.*"
68
69 inherit autotools eutils gnome2 python
70
71 DESCRIPTION="The GNOME menu system, implementing the F.D.O cross-desktop spec"
72 HOMEPAGE="http://www.gnome.org"
73
74 LICENSE="GPL-2 LGPL-2"
75 SLOT="0"
76 KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris"
77
78 IUSE="debug python +introspection"
79
80 RDEPEND=">=dev-libs/glib-2.18
81 introspection? ( >=dev-libs/gobject-introspection-0.9.5 )"
82 DEPEND="${RDEPEND}
83 sys-devel/gettext
84 >=dev-util/pkgconfig-0.9
85 >=dev-util/intltool-0.40"
86 # The actual menus are provided by slot 3
87 PDEPEND="gnome-base/gnome-menus:3"
88
89 pkg_setup() {
90 DOCS="AUTHORS ChangeLog HACKING NEWS README"
91
92 # Do NOT compile with --disable-debug/--enable-debug=no
93 # It disables api usage checks
94 if ! use debug ; then
95 G2CONF="${G2CONF} --enable-debug=minimum"
96 fi
97
98 G2CONF="${G2CONF}
99 --disable-static
100 $(use_enable python)
101 $(use_enable introspection)"
102 }
103
104 src_prepare() {
105 # Only build the library (everything else is coming from slot 3)
106 epatch "${FILESDIR}/${PN}-3.0.2-library-only.patch"
107 eautoreconf
108 gnome2_src_prepare
109
110 # disable pyc compiling
111 mv py-compile py-compile-disabled
112 ln -s $(type -P true) py-compile
113
114 python_copy_sources
115 }
116
117 src_configure() {
118 python_execute_function -s gnome2_src_configure
119 }
120
121 src_compile() {
122 python_execute_function -s gnome2_src_compile
123 }
124
125 src_test() {
126 python_execute_function -s -d
127 }
128
129 src_install() {
130 python_execute_function -s gnome2_src_install
131 python_clean_installation_image
132 }
133
134 pkg_postinst() {
135 gnome2_pkg_postinst
136 }
137
138 pkg_postrm() {
139 gnome2_pkg_postrm
140 }
141
142
143
144 1.1 gnome-base/gnome-menus/gnome-menus-3.2.0.1.ebuild
145
146 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-base/gnome-menus/gnome-menus-3.2.0.1.ebuild?rev=1.1&view=markup
147 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-base/gnome-menus/gnome-menus-3.2.0.1.ebuild?rev=1.1&content-type=text/plain
148
149 Index: gnome-menus-3.2.0.1.ebuild
150 ===================================================================
151 # Copyright 1999-2011 Gentoo Foundation
152 # Distributed under the terms of the GNU General Public License v2
153 # $Header: /var/cvsroot/gentoo-x86/gnome-base/gnome-menus/gnome-menus-3.2.0.1.ebuild,v 1.1 2011/10/29 01:58:08 tetromino Exp $
154
155 EAPI="4"
156 GCONF_DEBUG="no"
157 GNOME2_LA_PUNT="yes"
158
159 PYTHON_DEPEND="2:2.4"
160 SUPPORT_PYTHON_ABIS="1"
161 RESTRICT_PYTHON_ABIS="3.*"
162
163 inherit eutils gnome2 python
164
165 DESCRIPTION="The GNOME menu system, implementing the F.D.O cross-desktop spec"
166 HOMEPAGE="http://www.gnome.org"
167
168 LICENSE="GPL-2 LGPL-2"
169 SLOT="3"
170 KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris"
171
172 # +python for gmenu-simple-editor
173 IUSE="debug +introspection +python test"
174
175 COMMON_DEPEND=">=dev-libs/glib-2.29.15:2
176 introspection? ( >=dev-libs/gobject-introspection-0.9.5 )
177 python? (
178 >=dev-libs/gobject-introspection-0.9.5
179 dev-python/pygobject:3
180 x11-libs/gdk-pixbuf:2[introspection]
181 x11-libs/gtk+:3[introspection] )"
182 # Older versions of slot 0 install the menu editor and the desktop directories
183 RDEPEND="${COMMON_DEPEND}
184 !<gnome-base/gnome-menus-3.0.1-r1:0"
185 DEPEND="${COMMON_DEPEND}
186 sys-devel/gettext
187 >=dev-util/pkgconfig-0.9
188 >=dev-util/intltool-0.40
189 test? ( dev-libs/gjs )"
190
191 pkg_setup() {
192 python_pkg_setup
193 DOCS="AUTHORS ChangeLog HACKING NEWS README"
194
195 # Do NOT compile with --disable-debug/--enable-debug=no
196 # It disables api usage checks
197 if ! use debug ; then
198 G2CONF="${G2CONF} --enable-debug=minimum"
199 fi
200
201 if use python || use introspection; then
202 use introspection || ewarn "Enabling introspection due to USE=python"
203 G2CONF="${G2CONF} --enable-introspection"
204 else
205 G2CONF="${G2CONF} --disable-introspection"
206 fi
207
208 G2CONF="${G2CONF} --disable-static"
209 }
210
211 src_prepare() {
212 gnome2_src_prepare
213
214 # Don't show KDE standalone settings desktop files in GNOME others menu
215 epatch "${FILESDIR}/${PN}-3.0.0-ignore_kde_standalone.patch"
216
217 # disable pyc compiling
218 mv py-compile py-compile-disabled
219 ln -s $(type -P true) py-compile
220
221 python_copy_sources
222 }
223
224 src_configure() {
225 python_execute_function -s gnome2_src_configure
226 }
227
228 src_compile() {
229 python_execute_function -s gnome2_src_compile
230 }
231
232 src_test() {
233 python_execute_function -s -d
234 }
235
236 src_install() {
237 python_execute_function -s gnome2_src_install
238 python_clean_installation_image
239
240 # Prefix menu, bug #256614
241 mv "${ED}"/etc/xdg/menus/applications.menu \
242 "${ED}"/etc/xdg/menus/gnome-applications.menu || die "menu move failed"
243
244 exeinto /etc/X11/xinit/xinitrc.d/
245 doexe "${FILESDIR}/10-xdg-menu-gnome"
246 }
247
248 pkg_postinst() {
249 gnome2_pkg_postinst
250 if use python; then
251 python_mod_optimize GMenuSimpleEditor
252 fi
253 }
254
255 pkg_postrm() {
256 gnome2_pkg_postrm
257 if use python; then
258 python_mod_cleanup GMenuSimpleEditor
259 fi
260 }