Gentoo Archives: gentoo-commits

From: "Nirbheek Chauhan (nirbheek)" <nirbheek@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in gnome-base/gnome-applets: ChangeLog gnome-applets-2.26.3.ebuild gnome-applets-2.26.3-r1.ebuild
Date: Sun, 27 Sep 2009 15:36:47
Message-Id: E1Mrvnp-0007db-74@stork.gentoo.org
1 nirbheek 09/09/27 15:36:45
2
3 Modified: ChangeLog gnome-applets-2.26.3.ebuild
4 Added: gnome-applets-2.26.3-r1.ebuild
5 Log:
6 Remove networkmanager support from 2.26.3 for stabilization since networkmanager-0.7 is not going stable (2.24* doesn't have NM support). Use 2.26.3-r1 for networkmanager support in ~arch
7 (Portage version: 2.2_rc41/cvs/Linux i686)
8
9 Revision Changes Path
10 1.292 gnome-base/gnome-applets/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/gnome-base/gnome-applets/ChangeLog?rev=1.292&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/gnome-base/gnome-applets/ChangeLog?rev=1.292&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/gnome-base/gnome-applets/ChangeLog?r1=1.291&r2=1.292
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/gnome-base/gnome-applets/ChangeLog,v
19 retrieving revision 1.291
20 retrieving revision 1.292
21 diff -u -r1.291 -r1.292
22 --- ChangeLog 19 Jul 2009 21:38:22 -0000 1.291
23 +++ ChangeLog 27 Sep 2009 15:36:44 -0000 1.292
24 @@ -1,6 +1,14 @@
25 # ChangeLog for gnome-base/gnome-applets
26 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/gnome-base/gnome-applets/ChangeLog,v 1.291 2009/07/19 21:38:22 eva Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/gnome-base/gnome-applets/ChangeLog,v 1.292 2009/09/27 15:36:44 nirbheek Exp $
29 +
30 +*gnome-applets-2.26.3-r1 (27 Sep 2009)
31 +
32 + 27 Sep 2009; Nirbheek Chauhan <nirbheek@g.o>
33 + gnome-applets-2.26.3.ebuild, +gnome-applets-2.26.3-r1.ebuild:
34 + Remove networkmanager support from 2.26.3 for stabilization since
35 + networkmanager-0.7 is not going stable (2.24* doesn't have NM support).
36 + Use 2.26.3-r1 for networkmanager support in ~arch
37
38 *gnome-applets-2.26.3 (19 Jul 2009)
39
40
41
42
43 1.2 gnome-base/gnome-applets/gnome-applets-2.26.3.ebuild
44
45 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/gnome-base/gnome-applets/gnome-applets-2.26.3.ebuild?rev=1.2&view=markup
46 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/gnome-base/gnome-applets/gnome-applets-2.26.3.ebuild?rev=1.2&content-type=text/plain
47 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/gnome-base/gnome-applets/gnome-applets-2.26.3.ebuild?r1=1.1&r2=1.2
48
49 Index: gnome-applets-2.26.3.ebuild
50 ===================================================================
51 RCS file: /var/cvsroot/gentoo-x86/gnome-base/gnome-applets/gnome-applets-2.26.3.ebuild,v
52 retrieving revision 1.1
53 retrieving revision 1.2
54 diff -u -r1.1 -r1.2
55 --- gnome-applets-2.26.3.ebuild 19 Jul 2009 21:38:23 -0000 1.1
56 +++ gnome-applets-2.26.3.ebuild 27 Sep 2009 15:36:44 -0000 1.2
57 @@ -1,6 +1,6 @@
58 # Copyright 1999-2009 Gentoo Foundation
59 # Distributed under the terms of the GNU General Public License v2
60 -# $Header: /var/cvsroot/gentoo-x86/gnome-base/gnome-applets/gnome-applets-2.26.3.ebuild,v 1.1 2009/07/19 21:38:23 eva Exp $
61 +# $Header: /var/cvsroot/gentoo-x86/gnome-base/gnome-applets/gnome-applets-2.26.3.ebuild,v 1.2 2009/09/27 15:36:44 nirbheek Exp $
62
63 inherit autotools eutils gnome2 python
64
65 @@ -10,7 +10,7 @@
66 LICENSE="GPL-2 FDL-1.1 LGPL-2"
67 SLOT="2"
68 KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
69 -IUSE="acpi apm doc gnome gstreamer hal ipv6 networkmanager policykit"
70 +IUSE="acpi apm doc gnome gstreamer hal ipv6 policykit"
71
72 # TODO: configure says python stuff is optional
73 # my secret script says cpufrequtils might be needed in RDEPEND
74 @@ -50,7 +50,6 @@
75 || (
76 >=media-plugins/gst-plugins-alsa-0.10.14
77 >=media-plugins/gst-plugins-oss-0.10.14 ) )
78 - networkmanager? ( >=net-misc/networkmanager-0.7.0 )
79 policykit? (
80 >=sys-auth/policykit-0.7
81 >=gnome-extra/policykit-gnome-0.7 )"
82 @@ -91,14 +90,16 @@
83 }
84
85 pkg_setup() {
86 + # networkmanager-0.7 is not going stable.
87 + # For networkmanager support, see -r1
88 G2CONF="${G2CONF}
89 --disable-scrollkeeper
90 --disable-schemas-install
91 --enable-flags
92 + --disable-networkmanager
93 $(use_enable gstreamer mixer-applet)
94 $(use_with hal)
95 $(use_enable ipv6)
96 - $(use_enable networkmanager)
97 $(use_enable policykit polkit)"
98
99 if ! use ppc && ! use apm && ! use acpi; then
100
101
102
103 1.1 gnome-base/gnome-applets/gnome-applets-2.26.3-r1.ebuild
104
105 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/gnome-base/gnome-applets/gnome-applets-2.26.3-r1.ebuild?rev=1.1&view=markup
106 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/gnome-base/gnome-applets/gnome-applets-2.26.3-r1.ebuild?rev=1.1&content-type=text/plain
107
108 Index: gnome-applets-2.26.3-r1.ebuild
109 ===================================================================
110 # Copyright 1999-2009 Gentoo Foundation
111 # Distributed under the terms of the GNU General Public License v2
112 # $Header: /var/cvsroot/gentoo-x86/gnome-base/gnome-applets/gnome-applets-2.26.3-r1.ebuild,v 1.1 2009/09/27 15:36:44 nirbheek Exp $
113
114 inherit autotools eutils gnome2 python
115
116 DESCRIPTION="Applets for the GNOME Desktop and Panel"
117 HOMEPAGE="http://www.gnome.org/"
118
119 LICENSE="GPL-2 FDL-1.1 LGPL-2"
120 SLOT="2"
121 KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
122 IUSE="acpi apm doc gnome gstreamer hal ipv6 networkmanager policykit"
123
124 # TODO: configure says python stuff is optional
125 # my secret script says cpufrequtils might be needed in RDEPEND
126
127 RDEPEND=">=x11-libs/gtk+-2.13
128 >=dev-libs/glib-2.18.0
129 >=gnome-base/gconf-2.8
130 >=gnome-base/gnome-panel-2.13.4
131 >=x11-libs/libxklavier-2.91
132 >=x11-libs/libwnck-2.9.3
133 >=gnome-base/gnome-desktop-2.11.1
134 >=x11-libs/libnotify-0.3.2
135 hal? ( >=sys-apps/hal-0.5.3 )
136 >=sys-apps/dbus-1.1.2
137 >=dev-libs/dbus-glib-0.74
138 >=dev-libs/libxml2-2.5.0
139 >=x11-themes/gnome-icon-theme-2.15.91
140 >=dev-libs/libgweather-2.22.1
141 >=virtual/python-2.4
142 apm? ( sys-apps/apmd )
143 x11-libs/libX11
144 gnome? (
145 >=gnome-base/libgnomekbd-2.21.4.1
146 gnome-base/gnome-settings-daemon
147
148 >=gnome-extra/gucharmap-2.23
149 >=gnome-base/libgtop-2.11.92
150
151 >=dev-python/pygobject-2.6
152 >=dev-python/pygtk-2.6
153 >=dev-python/libgnome-python-2.10
154 >=dev-python/gconf-python-2.10
155 >=dev-python/gnome-applets-python-2.10 )
156 gstreamer? (
157 >=media-libs/gstreamer-0.10.2
158 >=media-libs/gst-plugins-base-0.10.14
159 || (
160 >=media-plugins/gst-plugins-alsa-0.10.14
161 >=media-plugins/gst-plugins-oss-0.10.14 ) )
162 networkmanager? ( >=net-misc/networkmanager-0.7.0 )
163 policykit? (
164 >=sys-auth/policykit-0.7
165 >=gnome-extra/policykit-gnome-0.7 )"
166
167 DEPEND="${RDEPEND}
168 >=app-text/scrollkeeper-0.1.4
169 >=app-text/gnome-doc-utils-0.3.2
170 >=dev-util/pkgconfig-0.19
171 >=dev-util/intltool-0.35
172 dev-libs/libxslt
173 ~app-text/docbook-xml-dtd-4.3
174 doc? ( app-text/docbook-sgml-utils )"
175
176 DOCS="AUTHORS ChangeLog NEWS README"
177
178 src_unpack() {
179 gnome2_src_unpack
180
181 # disable pyc compiling
182 mv py-compile py-compile.orig
183 ln -s $(type -P true) py-compile
184
185 # Networmanager is automagic, bug #266056
186 epatch "${FILESDIR}/${PN}-2.26.1-automagic-networkmanager.patch"
187
188 # Make it libtool-1 compatible, bug #266248
189 rm -v m4/lt* m4/libtool.m4 || die "removing libtool macros failed"
190
191 # Invest applet tests need gconf/proxy/...
192 sed 's/^TESTS.*/TESTS=/g' -i invest-applet/invest/Makefile.am \
193 invest-applet/invest/Makefile.in || die "disabling invest tests failed"
194
195 # Fix documentation validation, upstream bug #589058
196 epatch "${FILESDIR}/${P}-documentation-fix.patch"
197
198 intltoolize --force --copy --automake || die "intltoolize failed"
199 eautoreconf
200 }
201
202 pkg_setup() {
203 G2CONF="${G2CONF}
204 --disable-scrollkeeper
205 --disable-schemas-install
206 --enable-flags
207 $(use_enable gstreamer mixer-applet)
208 $(use_with hal)
209 $(use_enable ipv6)
210 $(use_enable networkmanager)
211 $(use_enable policykit polkit)"
212
213 if ! use ppc && ! use apm && ! use acpi; then
214 G2CONF="${G2CONF} --disable-battstat"
215 fi
216
217 if use ppc && ! use apm; then
218 G2CONF="${G2CONF} --disable-battstat"
219 fi
220 }
221
222 src_test() {
223 unset DBUS_SESSION_BUS_ADDRESS
224 emake check || die "emake check failed"
225 }
226
227 src_install() {
228 gnome2_src_install
229
230 local APPLETS="accessx-status battstat charpick cpufreq drivemount geyes
231 gkb-new gswitchit gweather invest-applet mini-commander
232 mixer modemlights multiload null_applet stickynotes trashapplet"
233
234 # modemlights is out because it needs system-tools-backends-1
235
236 for applet in ${APPLETS} ; do
237 docinto ${applet}
238
239 for d in AUTHORS ChangeLog NEWS README README.themes TODO ; do
240 [ -s ${applet}/${d} ] && dodoc ${applet}/${d}
241 done
242 done
243 }
244
245 pkg_postinst() {
246 gnome2_pkg_postinst
247
248 if use acpi && ! use hal ; then
249 elog "It is highly recommended that you install acpid if you use the"
250 elog "battstat applet to prevent any issues with other applications "
251 elog "trying to read acpi information."
252 fi
253
254 # check for new python modules on bumps
255 python_mod_optimize $(python_get_sitedir)/invest
256 }
257
258 pkg_postrm() {
259 gnome2_pkg_postrm
260 python_mod_cleanup /usr/$(get_libdir)/python*/site-packages/invest
261 }