Gentoo Archives: gentoo-commits

From: "Gilles Dartiguelongue (eva)" <eva@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-sound/rhythmbox: rhythmbox-0.12.6-r1.ebuild ChangeLog rhythmbox-0.12.8-r1.ebuild rhythmbox-0.12.5-r2.ebuild
Date: Wed, 05 May 2010 22:50:36
Message-Id: 20100505225031.372A028867@corvid.gentoo.org
1 eva 10/05/05 22:50:31
2
3 Modified: ChangeLog
4 Added: rhythmbox-0.12.6-r1.ebuild
5 rhythmbox-0.12.8-r1.ebuild
6 Removed: rhythmbox-0.12.5-r2.ebuild
7 Log:
8 Fix segfault with recent python, bug #318333. Clean up old revisions.
9 (Portage version: 2.2_rc67/cvs/Linux x86_64)
10
11 Revision Changes Path
12 1.183 media-sound/rhythmbox/ChangeLog
13
14 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/rhythmbox/ChangeLog?rev=1.183&view=markup
15 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/rhythmbox/ChangeLog?rev=1.183&content-type=text/plain
16 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/rhythmbox/ChangeLog?r1=1.182&r2=1.183
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/media-sound/rhythmbox/ChangeLog,v
21 retrieving revision 1.182
22 retrieving revision 1.183
23 diff -u -r1.182 -r1.183
24 --- ChangeLog 21 Apr 2010 18:02:44 -0000 1.182
25 +++ ChangeLog 5 May 2010 22:50:30 -0000 1.183
26 @@ -1,6 +1,16 @@
27 # ChangeLog for media-sound/rhythmbox
28 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/media-sound/rhythmbox/ChangeLog,v 1.182 2010/04/21 18:02:44 fauli Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/media-sound/rhythmbox/ChangeLog,v 1.183 2010/05/05 22:50:30 eva Exp $
31 +
32 +*rhythmbox-0.12.8-r1 (05 May 2010)
33 +*rhythmbox-0.12.6-r1 (05 May 2010)
34 +
35 + 05 May 2010; Gilles Dartiguelongue <eva@g.o>
36 + -rhythmbox-0.12.5-r2.ebuild,
37 + -files/rhythmbox-0.12.5-fix-daap-plugin-linking.patch,
38 + +rhythmbox-0.12.6-r1.ebuild, +rhythmbox-0.12.8-r1.ebuild,
39 + +files/rhythmbox-0.12-python-initialization.patch:
40 + Fix segfault with recent python, bug #318333. Clean up old revisions.
41
42 21 Apr 2010; Christian Faulhammer <fauli@g.o>
43 rhythmbox-0.12.8.ebuild:
44
45
46
47 1.1 media-sound/rhythmbox/rhythmbox-0.12.6-r1.ebuild
48
49 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/rhythmbox/rhythmbox-0.12.6-r1.ebuild?rev=1.1&view=markup
50 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/rhythmbox/rhythmbox-0.12.6-r1.ebuild?rev=1.1&content-type=text/plain
51
52 Index: rhythmbox-0.12.6-r1.ebuild
53 ===================================================================
54 # Copyright 1999-2010 Gentoo Foundation
55 # Distributed under the terms of the GNU General Public License v2
56 # $Header: /var/cvsroot/gentoo-x86/media-sound/rhythmbox/rhythmbox-0.12.6-r1.ebuild,v 1.1 2010/05/05 22:50:30 eva Exp $
57
58 EAPI="2"
59
60 inherit eutils gnome2 python multilib virtualx
61
62 DESCRIPTION="Music management and playback software for GNOME"
63 HOMEPAGE="http://www.rhythmbox.org/"
64 LICENSE="GPL-2"
65 KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86"
66 IUSE="+brasero cdr daap doc gnome-keyring hal ipod libnotify lirc musicbrainz mtp nsplugin python test udev"
67
68 # FIXME: double check what to do with fm-radio plugin
69 # TODO: watchout for udev use flag changes
70
71 SLOT="0"
72
73 COMMON_DEPEND=">=dev-libs/glib-2.16
74 dev-libs/libxml2
75 >=x11-libs/gtk+-2.16
76 >=dev-libs/dbus-glib-0.71
77 >=dev-libs/totem-pl-parser-2.26
78 >=gnome-base/gconf-2
79 >=gnome-extra/gnome-media-2.14
80 >=net-libs/libsoup-2.26:2.4
81 >=net-libs/libsoup-gnome-2.26:2.4
82
83 >=media-libs/gst-plugins-base-0.10.20
84 || (
85 >=media-libs/gst-plugins-base-0.10.24
86 >=media-libs/gst-plugins-bad-0.10.6 )
87
88 cdr? (
89 brasero? ( >=app-cdr/brasero-0.9.1 )
90 !brasero? ( >=gnome-extra/nautilus-cd-burner-2.21.6 ) )
91 daap? ( >=net-dns/avahi-0.6 )
92 gnome-keyring? ( >=gnome-base/gnome-keyring-0.4.9 )
93 udev? (
94 ipod? ( >=media-libs/libgpod-0.6 )
95 mtp? ( >=media-libs/libmtp-0.3 )
96 >=sys-fs/udev-145[extras] )
97 hal? (
98 ipod? ( >=media-libs/libgpod-0.6 )
99 mtp? ( >=media-libs/libmtp-0.3 )
100 >=sys-apps/hal-0.5 )
101 libnotify? ( >=x11-libs/libnotify-0.4.1 )
102 lirc? ( app-misc/lirc )
103 musicbrainz? ( media-libs/musicbrainz:3 )
104 python? (
105 >=dev-lang/python-2.4.2
106 || (
107 >=dev-lang/python-2.5
108 dev-python/celementtree )
109 >=dev-python/pygtk-2.8
110 >=dev-python/gnome-vfs-python-2.22
111 >=dev-python/gconf-python-2.22
112 >=dev-python/libgnome-python-2.22
113 >=dev-python/gst-python-0.10.8 )"
114
115 RDEPEND="${COMMON_DEPEND}
116 >=media-plugins/gst-plugins-soup-0.10
117 >=media-plugins/gst-plugins-libmms-0.10
118 || (
119 >=media-plugins/gst-plugins-cdparanoia-0.10
120 >=media-plugins/gst-plugins-cdio-0.10 )
121 >=media-plugins/gst-plugins-meta-0.10-r2:0.10
122 >=media-plugins/gst-plugins-taglib-0.10.6
123 nsplugin? ( net-libs/xulrunner )"
124
125 # gtk-doc-am needed for eautoreconf
126 # dev-util/gtk-doc-am
127 DEPEND="${COMMON_DEPEND}
128 dev-util/pkgconfig
129 >=dev-util/intltool-0.40
130 app-text/scrollkeeper
131 >=app-text/gnome-doc-utils-0.9.1
132 doc? ( >=dev-util/gtk-doc-1.4 )
133 test? ( dev-libs/check )"
134
135 DOCS="AUTHORS ChangeLog DOCUMENTERS INTERNALS \
136 MAINTAINERS MAINTAINERS.old NEWS README THANKS"
137
138 pkg_setup() {
139 if ! use hal && ! use udev; then
140 if use ipod; then
141 ewarn "ipod support requires hal or udev support. Please"
142 ewarn "re-emerge with USE=udev to enable ipod support"
143 fi
144
145 if use mtp; then
146 ewarn "MTP support requires hal or udev support. Please"
147 ewarn "re-emerge with USE=udev to enable MTP support"
148 fi
149 fi
150
151 if use hal && use udev; then
152 einfo "udev support replaces hal support completely. You can disable"
153 einfo "hal on this package via /etc/portage/package.use."
154 fi
155
156 if ! use cdr ; then
157 ewarn "You have cdr USE flag disabled."
158 ewarn "You will not be able to burn CDs."
159 fi
160
161 if use brasero; then
162 G2CONF="${G2CONF} $(use_with cdr libbrasero-media) --without-libnautilus-burn"
163 else
164 G2CONF="${G2CONF} $(use_with cdr libnautilus-burn) --without-libbrasero-media"
165 fi
166
167 G2CONF="${G2CONF}
168 MOZILLA_PLUGINDIR=/usr/$(get_libdir)/nsbrowser/plugins
169 $(use_with gnome-keyring)
170 $(use_with udev gudev)
171 $(use_with hal)
172 $(use_with ipod)
173 $(use_enable libnotify)
174 $(use_enable lirc)
175 $(use_enable musicbrainz)
176 $(use_with mtp)
177 $(use_enable nsplugin browser-plugin)
178 $(use_enable python)
179 $(use_enable daap)
180 $(use_with daap mdns avahi)
181 --enable-mmkeys
182 --disable-scrollkeeper
183 --disable-schemas-install
184 --disable-static
185 --disable-vala"
186
187 export GST_INSPECT=/bin/true
188 }
189
190 src_prepare() {
191 gnome2_src_prepare
192
193 # disable pyc compiling
194 mv py-compile py-compile.orig
195 ln -s $(type -P true) py-compile
196
197 # Fix python initialization problems, bug #318333
198 epatch "${FILESDIR}/${PN}-0.12-python-initialization.patch"
199 }
200
201 src_compile() {
202 addpredict "$(unset HOME; echo ~)/.gconf"
203 addpredict "$(unset HOME; echo ~)/.gconfd"
204 gnome2_src_compile
205 }
206
207 src_test() {
208 unset SESSION_MANAGER
209 unset DBUS_SESSION_BUS_ADDRESS
210 Xemake check || die "test failed"
211 }
212
213 src_install() {
214 gnome2_src_install
215
216 find "${D}/usr/$(get_libdir)/rhythmbox/plugins" -name "*.la" -delete \
217 || die "failed to remove *.la files"
218 }
219
220 pkg_postinst() {
221 gnome2_pkg_postinst
222 use python && python_mod_optimize /usr/$(get_libdir)/rhythmbox/plugins
223
224 ewarn
225 ewarn "If ${PN} doesn't play some music format, please check your"
226 ewarn "USE flags on media-plugins/gst-plugins-meta"
227 ewarn
228 }
229
230 pkg_postrm() {
231 gnome2_pkg_postrm
232 python_mod_cleanup /usr/$(get_libdir)/rhythmbox/plugins
233 }
234
235
236
237 1.1 media-sound/rhythmbox/rhythmbox-0.12.8-r1.ebuild
238
239 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/rhythmbox/rhythmbox-0.12.8-r1.ebuild?rev=1.1&view=markup
240 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/rhythmbox/rhythmbox-0.12.8-r1.ebuild?rev=1.1&content-type=text/plain
241
242 Index: rhythmbox-0.12.8-r1.ebuild
243 ===================================================================
244 # Copyright 1999-2010 Gentoo Foundation
245 # Distributed under the terms of the GNU General Public License v2
246 # $Header: /var/cvsroot/gentoo-x86/media-sound/rhythmbox/rhythmbox-0.12.8-r1.ebuild,v 1.1 2010/05/05 22:50:30 eva Exp $
247
248 EAPI="2"
249
250 inherit eutils gnome2 python multilib virtualx
251
252 DESCRIPTION="Music management and playback software for GNOME"
253 HOMEPAGE="http://www.rhythmbox.org/"
254 LICENSE="GPL-2"
255 KEYWORDS="~amd64 ~x86"
256 IUSE="+brasero cdr daap doc gnome-keyring hal ipod libnotify lirc musicbrainz mtp nsplugin python test udev upnp webkit"
257
258 # FIXME: double check what to do with fm-radio plugin
259 # TODO: watchout for udev use flag changes
260
261 SLOT="0"
262
263 COMMON_DEPEND=">=dev-libs/glib-2.18
264 dev-libs/libxml2
265 >=x11-libs/gtk+-2.18
266 >=dev-libs/dbus-glib-0.71
267 >=dev-libs/totem-pl-parser-2.26
268 >=gnome-base/gconf-2
269 >=gnome-extra/gnome-media-2.14
270 >=net-libs/libsoup-2.26:2.4
271 >=net-libs/libsoup-gnome-2.26:2.4
272
273 >=media-libs/gst-plugins-base-0.10.20
274 || (
275 >=media-libs/gst-plugins-base-0.10.24
276 >=media-libs/gst-plugins-bad-0.10.6 )
277
278 cdr? (
279 brasero? ( >=app-cdr/brasero-0.9.1 )
280 !brasero? ( >=gnome-extra/nautilus-cd-burner-2.21.6 ) )
281 daap? ( >=net-dns/avahi-0.6 )
282 gnome-keyring? ( >=gnome-base/gnome-keyring-0.4.9 )
283 udev? (
284 ipod? ( >=media-libs/libgpod-0.6 )
285 mtp? ( >=media-libs/libmtp-0.3 )
286 >=sys-fs/udev-145[extras] )
287 hal? (
288 ipod? ( >=media-libs/libgpod-0.6 )
289 mtp? ( >=media-libs/libmtp-0.3 )
290 >=sys-apps/hal-0.5 )
291 libnotify? ( >=x11-libs/libnotify-0.4.1 )
292 lirc? ( app-misc/lirc )
293 musicbrainz? ( media-libs/musicbrainz:3 )
294 python? (
295 >=dev-lang/python-2.4.2
296 || (
297 >=dev-lang/python-2.5
298 dev-python/celementtree )
299 >=dev-python/pygtk-2.8
300 >=dev-python/pygobject-2.15.4
301 >=dev-python/gconf-python-2.22
302 >=dev-python/libgnome-python-2.22
303 >=dev-python/gnome-keyring-python-2.22
304 >=dev-python/gst-python-0.10.8
305 webkit? (
306 dev-python/mako
307 dev-python/pywebkitgtk )
308 upnp? ( media-video/coherence )
309 )"
310
311 RDEPEND="${COMMON_DEPEND}
312 >=media-plugins/gst-plugins-soup-0.10
313 >=media-plugins/gst-plugins-libmms-0.10
314 || (
315 >=media-plugins/gst-plugins-cdparanoia-0.10
316 >=media-plugins/gst-plugins-cdio-0.10 )
317 >=media-plugins/gst-plugins-meta-0.10-r2:0.10
318 >=media-plugins/gst-plugins-taglib-0.10.6
319 nsplugin? ( net-libs/xulrunner )"
320
321 # gtk-doc-am needed for eautoreconf
322 # dev-util/gtk-doc-am
323 DEPEND="${COMMON_DEPEND}
324 dev-util/pkgconfig
325 >=dev-util/intltool-0.40
326 app-text/scrollkeeper
327 >=app-text/gnome-doc-utils-0.9.1
328 doc? ( >=dev-util/gtk-doc-1.4 )
329 test? ( dev-libs/check )"
330
331 DOCS="AUTHORS ChangeLog DOCUMENTERS INTERNALS \
332 MAINTAINERS MAINTAINERS.old NEWS README THANKS"
333
334 pkg_setup() {
335 if ! use hal && ! use udev; then
336 if use ipod; then
337 ewarn "ipod support requires hal or udev support. Please"
338 ewarn "re-emerge with USE=udev to enable ipod support"
339 fi
340
341 if use mtp; then
342 ewarn "MTP support requires hal or udev support. Please"
343 ewarn "re-emerge with USE=udev to enable MTP support"
344 fi
345 fi
346
347 if use hal && use udev; then
348 einfo "udev support replaces hal support completely. You can disable"
349 einfo "hal on this package via /etc/portage/package.use."
350 fi
351
352 if ! use cdr ; then
353 ewarn "You have cdr USE flag disabled."
354 ewarn "You will not be able to burn CDs."
355 fi
356
357 if ! use python; then
358 if use webkit; then
359 ewarn "You need python support in addition to webkit to be able to use"
360 ewarn "the context panel plugin."
361 fi
362
363 if use upnp; then
364 ewarn "You need python support in addition to upnp"
365 fi
366 fi
367
368 if use brasero; then
369 G2CONF="${G2CONF} $(use_with cdr libbrasero-media) --without-libnautilus-burn"
370 else
371 G2CONF="${G2CONF} $(use_with cdr libnautilus-burn) --without-libbrasero-media"
372 fi
373
374 G2CONF="${G2CONF}
375 MOZILLA_PLUGINDIR=/usr/$(get_libdir)/nsbrowser/plugins
376 $(use_with gnome-keyring)
377 $(use_with udev gudev)
378 $(use_with hal)
379 $(use_with ipod)
380 $(use_enable libnotify)
381 $(use_enable lirc)
382 $(use_enable musicbrainz)
383 $(use_with mtp)
384 $(use_enable nsplugin browser-plugin)
385 $(use_enable python)
386 $(use_enable daap)
387 $(use_with daap mdns avahi)
388 --enable-mmkeys
389 --disable-scrollkeeper
390 --disable-schemas-install
391 --disable-static
392 --disable-vala"
393
394 export GST_INSPECT=/bin/true
395 }
396
397 src_prepare() {
398 gnome2_src_prepare
399
400 # disable pyc compiling
401 mv py-compile py-compile.orig
402 ln -s $(type -P true) py-compile
403
404 # Fix python initialization problems, bug #318333
405 epatch "${FILESDIR}/${PN}-0.12-python-initialization.patch"
406 }
407
408 src_compile() {
409 addpredict "$(unset HOME; echo ~)/.gconf"
410 addpredict "$(unset HOME; echo ~)/.gconfd"
411 gnome2_src_compile
412 }
413
414 src_test() {
415 unset SESSION_MANAGER
416 unset DBUS_SESSION_BUS_ADDRESS
417 Xemake check || die "test failed"
418 }
419
420 src_install() {
421 gnome2_src_install
422
423 find "${D}/usr/$(get_libdir)/rhythmbox/plugins" -name "*.la" -delete \
424 || die "failed to remove *.la files"
425 }
426
427 pkg_postinst() {
428 gnome2_pkg_postinst
429 use python && python_mod_optimize /usr/$(get_libdir)/rhythmbox/plugins
430
431 ewarn
432 ewarn "If ${PN} doesn't play some music format, please check your"
433 ewarn "USE flags on media-plugins/gst-plugins-meta"
434 ewarn
435 }
436
437 pkg_postrm() {
438 gnome2_pkg_postrm
439 python_mod_cleanup /usr/$(get_libdir)/rhythmbox/plugins
440 }