Gentoo Archives: gentoo-commits

From: Alexandre Restovtsev <tetromino@×××××.com>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/gnome:master commit in: gnome-base/gnome-menus/, gnome-base/gnome-menus/files/
Date: Sat, 29 Oct 2011 19:57:04
Message-Id: f7d956110cb24da280c6bdfe3656247e26b67581.tetromino@gentoo
1 commit: f7d956110cb24da280c6bdfe3656247e26b67581
2 Author: Alexandre Rostovtsev <tetromino <AT> gentoo <DOT> org>
3 AuthorDate: Sat Oct 29 19:52:12 2011 +0000
4 Commit: Alexandre Restovtsev <tetromino <AT> gmail <DOT> com>
5 CommitDate: Sat Oct 29 19:52:12 2011 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/gnome.git;a=commit;h=f7d95611
7
8 gnome-base/gnome-menus: moved to gx86
9
10 ---
11 gnome-base/gnome-menus/files/10-xdg-menu-gnome | 6 -
12 .../gnome-menus-3.0.0-ignore_kde_standalone.patch | 22 ----
13 .../files/gnome-menus-3.0.2-library-only.patch | 26 -----
14 .../gnome-menus/gnome-menus-3.0.1-r50.ebuild | 84 ---------------
15 gnome-base/gnome-menus/gnome-menus-3.2.0.1.ebuild | 110 --------------------
16 5 files changed, 0 insertions(+), 248 deletions(-)
17
18 diff --git a/gnome-base/gnome-menus/files/10-xdg-menu-gnome b/gnome-base/gnome-menus/files/10-xdg-menu-gnome
19 deleted file mode 100644
20 index b12a712..0000000
21 --- a/gnome-base/gnome-menus/files/10-xdg-menu-gnome
22 +++ /dev/null
23 @@ -1,6 +0,0 @@
24 -#!/bin/sh
25 -
26 -if [ -z "$XDG_MENU_PREFIX" ] && [ "$DESKTOP_SESSION" = "gnome" ]
27 -then
28 - export XDG_MENU_PREFIX=gnome-
29 -fi
30
31 diff --git a/gnome-base/gnome-menus/files/gnome-menus-3.0.0-ignore_kde_standalone.patch b/gnome-base/gnome-menus/files/gnome-menus-3.0.0-ignore_kde_standalone.patch
32 deleted file mode 100644
33 index 5f5f8b2..0000000
34 --- a/gnome-base/gnome-menus/files/gnome-menus-3.0.0-ignore_kde_standalone.patch
35 +++ /dev/null
36 @@ -1,22 +0,0 @@
37 ---- layout/applications.menu.orig 2007-09-21 17:51:43.000000000 +0300
38 -+++ layout/applications.menu 2007-09-21 17:55:38.000000000 +0300
39 -@@ -146,6 +146,19 @@
40 - <Not><Category>Core</Category></Not>
41 - <Not><Category>Screensaver</Category></Not>
42 - <Not><Category>X-GNOME-Settings-Panel</Category></Not>
43 -+ <Not><Category>X-KDE-settings-accessibility</Category></Not>
44 -+ <Not><Category>X-KDE-settings-components</Category></Not>
45 -+ <Not><Category>X-KDE-settings-desktop</Category></Not>
46 -+ <Not><Category>X-KDE-settings-looknfeel</Category></Not>
47 -+ <Not><Category>X-KDE-settings-network</Category></Not>
48 -+ <Not><Category>X-KDE-settings-webbrowsing</Category></Not>
49 -+ <Not><Category>X-KDE-settings-peripherals</Category></Not>
50 -+ <Not><Category>X-KDE-settings-hardware</Category></Not>
51 -+ <Not><Category>X-KDE-settings-power</Category></Not>
52 -+ <Not><Category>X-KDE-settings-security</Category></Not>
53 -+ <Not><Category>X-KDE-settings-sound</Category></Not>
54 -+ <Not><Category>X-KDE-settings-system</Category></Not>
55 -+ <Not><Category>X-KDE-information</Category></Not>
56 - </And>
57 - </Include>
58 - </Menu> <!-- End Other -->
59
60 diff --git a/gnome-base/gnome-menus/files/gnome-menus-3.0.2-library-only.patch b/gnome-base/gnome-menus/files/gnome-menus-3.0.2-library-only.patch
61 deleted file mode 100644
62 index b55ed7e..0000000
63 --- a/gnome-base/gnome-menus/files/gnome-menus-3.0.2-library-only.patch
64 +++ /dev/null
65 @@ -1,26 +0,0 @@
66 -From f2ad7820b3a6b197f8cfec9e2bec877e51671ec9 Mon Sep 17 00:00:00 2001
67 -From: Alexandre Rostovtsev <tetromino@×××××.com>
68 -Date: Thu, 18 Aug 2011 20:05:56 -0400
69 -Subject: [PATCH 2/2] Do not install anything other than the library
70 -
71 ----
72 - Makefile.am | 4 ++--
73 - 1 files changed, 2 insertions(+), 2 deletions(-)
74 -
75 -diff --git a/Makefile.am b/Makefile.am
76 -index 565ab87..65c059a 100644
77 ---- a/Makefile.am
78 -+++ b/Makefile.am
79 -@@ -1,7 +1,7 @@
80 --SUBDIRS = libmenu desktop-directories layout util po
81 -+SUBDIRS = libmenu util po
82 -
83 - if HAVE_PYTHON
84 --SUBDIRS += python simple-editor
85 -+SUBDIRS += python
86 - endif
87 -
88 - ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}
89 ---
90 -1.7.6
91 -
92
93 diff --git a/gnome-base/gnome-menus/gnome-menus-3.0.1-r50.ebuild b/gnome-base/gnome-menus/gnome-menus-3.0.1-r50.ebuild
94 deleted file mode 100644
95 index f644bda..0000000
96 --- a/gnome-base/gnome-menus/gnome-menus-3.0.1-r50.ebuild
97 +++ /dev/null
98 @@ -1,84 +0,0 @@
99 -# Copyright 1999-2011 Gentoo Foundation
100 -# Distributed under the terms of the GNU General Public License v2
101 -# $Header: /var/cvsroot/gentoo-x86/gnome-base/gnome-menus/gnome-menus-2.30.5.ebuild,v 1.4 2011/01/30 18:40:38 armin76 Exp $
102 -
103 -EAPI="3"
104 -GCONF_DEBUG="no"
105 -GNOME2_LA_PUNT="yes"
106 -
107 -PYTHON_DEPEND="python? 2:2.4"
108 -SUPPORT_PYTHON_ABIS="1"
109 -RESTRICT_PYTHON_ABIS="3.*"
110 -
111 -inherit autotools eutils gnome2 python
112 -
113 -DESCRIPTION="The GNOME menu system, implementing the F.D.O cross-desktop spec"
114 -HOMEPAGE="http://www.gnome.org"
115 -
116 -LICENSE="GPL-2 LGPL-2"
117 -SLOT="0"
118 -KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris"
119 -
120 -IUSE="debug python +introspection"
121 -
122 -RDEPEND=">=dev-libs/glib-2.18
123 - introspection? ( >=dev-libs/gobject-introspection-0.9.5 )"
124 -DEPEND="${RDEPEND}
125 - sys-devel/gettext
126 - >=dev-util/pkgconfig-0.9
127 - >=dev-util/intltool-0.40"
128 -# The actual menus are provided by slot 3
129 -PDEPEND="gnome-base/gnome-menus:3"
130 -
131 -pkg_setup() {
132 - DOCS="AUTHORS ChangeLog HACKING NEWS README"
133 -
134 - # Do NOT compile with --disable-debug/--enable-debug=no
135 - # It disables api usage checks
136 - if ! use debug ; then
137 - G2CONF="${G2CONF} --enable-debug=minimum"
138 - fi
139 -
140 - G2CONF="${G2CONF}
141 - --disable-static
142 - $(use_enable python)
143 - $(use_enable introspection)"
144 -}
145 -
146 -src_prepare() {
147 - # Only build the library (everything else is coming from slot 3)
148 - epatch "${FILESDIR}/${PN}-3.0.2-library-only.patch"
149 - eautoreconf
150 - gnome2_src_prepare
151 -
152 - # disable pyc compiling
153 - mv py-compile py-compile-disabled
154 - ln -s $(type -P true) py-compile
155 -
156 - python_copy_sources
157 -}
158 -
159 -src_configure() {
160 - python_execute_function -s gnome2_src_configure
161 -}
162 -
163 -src_compile() {
164 - python_execute_function -s gnome2_src_compile
165 -}
166 -
167 -src_test() {
168 - python_execute_function -s -d
169 -}
170 -
171 -src_install() {
172 - python_execute_function -s gnome2_src_install
173 - python_clean_installation_image
174 -}
175 -
176 -pkg_postinst() {
177 - gnome2_pkg_postinst
178 -}
179 -
180 -pkg_postrm() {
181 - gnome2_pkg_postrm
182 -}
183
184 diff --git a/gnome-base/gnome-menus/gnome-menus-3.2.0.1.ebuild b/gnome-base/gnome-menus/gnome-menus-3.2.0.1.ebuild
185 deleted file mode 100644
186 index c2209e0..0000000
187 --- a/gnome-base/gnome-menus/gnome-menus-3.2.0.1.ebuild
188 +++ /dev/null
189 @@ -1,110 +0,0 @@
190 -# Copyright 1999-2011 Gentoo Foundation
191 -# Distributed under the terms of the GNU General Public License v2
192 -# $Header: /var/cvsroot/gentoo-x86/gnome-base/gnome-menus/gnome-menus-2.30.5.ebuild,v 1.4 2011/01/30 18:40:38 armin76 Exp $
193 -
194 -EAPI="3"
195 -GNOME_TARBALL_SUFFIX="xz"
196 -GCONF_DEBUG="no"
197 -GNOME2_LA_PUNT="yes"
198 -
199 -PYTHON_DEPEND="2:2.4"
200 -SUPPORT_PYTHON_ABIS="1"
201 -RESTRICT_PYTHON_ABIS="3.*"
202 -
203 -inherit eutils gnome2 python
204 -
205 -DESCRIPTION="The GNOME menu system, implementing the F.D.O cross-desktop spec"
206 -HOMEPAGE="http://www.gnome.org"
207 -
208 -LICENSE="GPL-2 LGPL-2"
209 -SLOT="3"
210 -KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris"
211 -
212 -# +python for gmenu-simple-editor
213 -IUSE="debug +introspection +python test"
214 -
215 -COMMON_DEPEND=">=dev-libs/glib-2.29.15:2
216 - introspection? ( >=dev-libs/gobject-introspection-0.9.5 )
217 - python? (
218 - >=dev-libs/gobject-introspection-0.9.5
219 - dev-python/pygobject:3
220 - x11-libs/gdk-pixbuf:2[introspection]
221 - x11-libs/gtk+:3[introspection] )"
222 -# Older versions of slot 0 install the menu editor and the desktop directories
223 -RDEPEND="${COMMON_DEPEND}
224 - !<gnome-base/gnome-menus-3.0.1-r50:0"
225 -DEPEND="${COMMON_DEPEND}
226 - sys-devel/gettext
227 - >=dev-util/pkgconfig-0.9
228 - >=dev-util/intltool-0.40
229 - test? ( dev-libs/gjs )"
230 -
231 -pkg_setup() {
232 - DOCS="AUTHORS ChangeLog HACKING NEWS README"
233 -
234 - # Do NOT compile with --disable-debug/--enable-debug=no
235 - # It disables api usage checks
236 - if ! use debug ; then
237 - G2CONF="${G2CONF} --enable-debug=minimum"
238 - fi
239 -
240 - if use python || use introspection; then
241 - use introspection || ewarn "Enabling introspection due to USE=python"
242 - G2CONF="${G2CONF} --enable-introspection"
243 - else
244 - G2CONF="${G2CONF} --disable-introspection"
245 - fi
246 -
247 - G2CONF="${G2CONF} --disable-static"
248 -}
249 -
250 -src_prepare() {
251 - gnome2_src_prepare
252 -
253 - # Don't show KDE standalone settings desktop files in GNOME others menu
254 - epatch "${FILESDIR}/${PN}-3.0.0-ignore_kde_standalone.patch"
255 -
256 - # disable pyc compiling
257 - mv py-compile py-compile-disabled
258 - ln -s $(type -P true) py-compile
259 -
260 - python_copy_sources
261 -}
262 -
263 -src_configure() {
264 - python_execute_function -s gnome2_src_configure
265 -}
266 -
267 -src_compile() {
268 - python_execute_function -s gnome2_src_compile
269 -}
270 -
271 -src_test() {
272 - python_execute_function -s -d
273 -}
274 -
275 -src_install() {
276 - python_execute_function -s gnome2_src_install
277 - python_clean_installation_image
278 -
279 - # Prefix menu, bug #256614
280 - mv "${ED}"/etc/xdg/menus/applications.menu \
281 - "${ED}"/etc/xdg/menus/gnome-applications.menu || die "menu move failed"
282 -
283 - exeinto /etc/X11/xinit/xinitrc.d/
284 - doexe "${FILESDIR}/10-xdg-menu-gnome" || die "doexe failed"
285 -}
286 -
287 -pkg_postinst() {
288 - gnome2_pkg_postinst
289 - if use python; then
290 - python_mod_optimize GMenuSimpleEditor
291 - fi
292 -}
293 -
294 -pkg_postrm() {
295 - gnome2_pkg_postrm
296 - if use python; then
297 - python_mod_cleanup GMenuSimpleEditor
298 - fi
299 -}