Gentoo Archives: gentoo-commits

From: "Pacho Ramos (pacho)" <pacho@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-video/totem: totem-2.28.5-r4.ebuild ChangeLog totem-2.28.5-r3.ebuild totem-2.28.5-r2.ebuild
Date: Sun, 02 May 2010 13:40:21
Message-Id: 20100502134012.00B8D2C21F@corvid.gentoo.org
1 pacho 10/05/02 13:40:11
2
3 Modified: ChangeLog
4 Added: totem-2.28.5-r4.ebuild totem-2.28.5-r3.ebuild
5 Removed: totem-2.28.5-r2.ebuild
6 Log:
7 Bump including upstream fixes
8 (Portage version: 2.1.8.3/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.281 media-video/totem/ChangeLog
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/totem/ChangeLog?rev=1.281&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/totem/ChangeLog?rev=1.281&content-type=text/plain
15 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/totem/ChangeLog?r1=1.280&r2=1.281
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/media-video/totem/ChangeLog,v
20 retrieving revision 1.280
21 retrieving revision 1.281
22 diff -u -r1.280 -r1.281
23 --- ChangeLog 16 Apr 2010 18:37:01 -0000 1.280
24 +++ ChangeLog 2 May 2010 13:40:11 -0000 1.281
25 @@ -1,6 +1,17 @@
26 # ChangeLog for media-video/totem
27 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/media-video/totem/ChangeLog,v 1.280 2010/04/16 18:37:01 pacho Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/media-video/totem/ChangeLog,v 1.281 2010/05/02 13:40:11 pacho Exp $
30 +
31 +*totem-2.28.5-r4 (02 May 2010)
32 +*totem-2.28.5-r3 (02 May 2010)
33 +
34 + 02 May 2010; Pacho Ramos <pacho@g.o> -totem-2.28.5-r2.ebuild,
35 + +totem-2.28.5-r3.ebuild, +totem-2.28.5-r4.ebuild:
36 + Revision bump to include upstream patches committed to gnome-2.28 branch
37 + fixing tons of bugs like problems playing through gvfs mounts, youtube
38 + updates and many others. For full descriptions feel free to read each
39 + patch header. This also auto-enables python USE to workaround bug #316409
40 + until a fix is found. Dropping old testing version.
41
42 *totem-2.28.5-r2 (16 Apr 2010)
43
44
45
46
47 1.1 media-video/totem/totem-2.28.5-r4.ebuild
48
49 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/totem/totem-2.28.5-r4.ebuild?rev=1.1&view=markup
50 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/totem/totem-2.28.5-r4.ebuild?rev=1.1&content-type=text/plain
51
52 Index: totem-2.28.5-r4.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-video/totem/totem-2.28.5-r4.ebuild,v 1.1 2010/05/02 13:40:11 pacho Exp $
57
58 EAPI="2"
59
60 inherit autotools eutils gnome2 multilib python
61
62 DESCRIPTION="Media player for GNOME"
63 HOMEPAGE="http://gnome.org/projects/totem/"
64
65 LICENSE="GPL-2 LGPL-2"
66 SLOT="0"
67 KEYWORDS="~amd64 ~x86 ~x86-fbsd"
68
69 SRC_URI="${SRC_URI}
70 mirror://gentoo/${P}-patches.tar.bz2"
71
72 # FIXME: Enable for now python USE flag per bug #316409
73 # this change should only be noticed by people not following current
74 # current linux profiles default
75 IUSE="bluetooth debug doc galago iplayer lirc nautilus nsplugin +python tracker +youtube" #zeroconf
76
77 # TODO:
78 # Cone (VLC) plugin needs someone with the right setup (remi ?)
79 # check gmyth requirement ? -> waiting for updates in tree
80 # coherence plugin not enabled until we have deps in tree
81 RDEPEND=">=dev-libs/glib-2.15
82 >=x11-libs/gtk+-2.16.0
83 >=gnome-base/gconf-2.0
84 >=dev-libs/totem-pl-parser-2.27.0
85 >=x11-themes/gnome-icon-theme-2.16
86 x11-libs/cairo
87 app-text/iso-codes
88 >=dev-libs/libxml2-2.6
89 >=dev-libs/dbus-glib-0.71
90 >=media-libs/gstreamer-0.10.25
91 >=media-libs/gst-plugins-good-0.10
92 >=media-libs/gst-plugins-base-0.10.25
93 >=media-plugins/gst-plugins-gconf-0.10
94
95 >=media-plugins/gst-plugins-taglib-0.10
96 >=media-plugins/gst-plugins-gio-0.10
97 >=media-plugins/gst-plugins-pango-0.10
98 >=media-plugins/gst-plugins-x-0.10
99 >=media-plugins/gst-plugins-meta-0.10-r2
100
101 dev-libs/libunique
102 x11-libs/libSM
103 x11-libs/libX11
104 x11-libs/libXtst
105 >=x11-libs/libXrandr-1.1.1
106 >=x11-libs/libXxf86vm-1.0.1
107
108 bluetooth? ( || (
109 net-wireless/bluez
110 net-wireless/bluez-libs ) )
111 galago? ( >=dev-libs/libgalago-0.5.2 )
112 iplayer? (
113 dev-python/pygobject
114 dev-python/pygtk
115 dev-python/httplib2
116 dev-python/feedparser
117 dev-python/beautifulsoup )
118 lirc? ( app-misc/lirc )
119 nautilus? ( >=gnome-base/nautilus-2.10 )
120 python? (
121 dev-lang/python[threads]
122 >=dev-python/pygtk-2.12
123 dev-python/pyxdg
124 dev-python/gst-python
125 dev-python/dbus-python
126 dev-python/gconf-python )
127 tracker? (
128 >=app-misc/tracker-0.6
129 <app-misc/tracker-0.7 )
130 youtube? (
131 >=dev-libs/libgdata-0.4.0
132 media-plugins/gst-plugins-soup )"
133 # FIXME: freezes totem
134 # zeroconf? ( >=net-libs/libepc-0.3 )
135 DEPEND="${RDEPEND}
136 x11-proto/xproto
137 x11-proto/xextproto
138 x11-proto/xf86vidmodeproto
139 app-text/scrollkeeper
140 gnome-base/gnome-common
141 app-text/gnome-doc-utils
142 >=dev-util/intltool-0.40
143 >=dev-util/pkgconfig-0.20
144 dev-util/gtk-doc-am
145 doc? ( >=dev-util/gtk-doc-1.11 )
146 app-text/docbook-xml-dtd:4.5"
147 # docbook-xml-dtd is needed for user doc
148
149 DOCS="AUTHORS ChangeLog NEWS README TODO"
150
151 pkg_setup() {
152 G2CONF="${G2CONF}
153 --disable-scrollkeeper
154 --disable-schemas-install
155 --disable-static
156 --disable-vala
157 --with-dbus
158 --with-smclient
159 --enable-easy-codec-installation
160 $(use_enable nsplugin browser-plugins)"
161
162 # Plugin configuration
163 G2CONF="${G2CONF}
164 BROWSER_PLUGIN_DIR=/usr/$(get_libdir)/nsbrowser/plugins
165 PLUGINDIR=/usr/$(get_libdir)/totem/plugins"
166
167 local plugins="properties,thumbnail,screensaver,ontop,gromit,media-player-keys,skipto,brasero-disc-recorder,screenshot"
168 use bluetooth && plugins="${plugins},bemused"
169 use galago && plugins="${plugins},galago"
170 use iplayer && plugins="${plugins},iplayer"
171 use lirc && plugins="${plugins},lirc"
172 use python && plugins="${plugins},opensubtitles,jamendo,pythonconsole,dbus-service"
173 use tracker && plugins="${plugins},tracker"
174 use youtube && plugins="${plugins},youtube"
175 #use zeroconf && plugins="${plugins},publish"
176
177 G2CONF="${G2CONF} --with-plugins=${plugins}"
178
179 G2CONF="${G2CONF}
180 $(use_enable debug)
181 $(use_enable nautilus)
182 $(use_enable python)"
183 }
184
185 src_prepare() {
186 gnome2_src_prepare
187
188 # Fix broken smclient option passing
189 epatch "${FILESDIR}/${PN}-2.26.1-smclient-target-detection.patch"
190
191 # Apply upstream patches committed to gnome-2.28 branch
192 epatch "${WORKDIR}"/${P}-patches/*.patch
193
194 intltoolize --force --copy --automake || die "intltoolize failed"
195 eautoreconf
196
197 # disable pyc compiling
198 mv py-compile py-compile.orig
199 ln -s $(type -P true) py-compile
200 }
201
202 src_configure() {
203 # FIXME: why does it need write access here, probably need to set up a fake
204 # home in /var/tmp like other pkgs do
205
206 addpredict "$(unset HOME; echo ~)/.gconf"
207 addpredict "$(unset HOME; echo ~)/.gconfd"
208 addpredict "$(unset HOME; echo ~)/.gnome2"
209
210 gnome2_src_configure
211 }
212
213 src_install() {
214 gnome2_src_install
215 # Installed for plugins, but they're dlopen()-ed
216 # firefox, totem as well as nautilus
217 find "${D}" -name "*.la" -delete || die "remove of la files failed"
218 }
219
220 pkg_postinst() {
221 gnome2_pkg_postinst
222 if use python; then
223 python_need_rebuild
224 python_mod_optimize /usr/$(get_libdir)/totem/plugins
225 fi
226
227 ewarn
228 ewarn "If totem doesn't play some video format, please check your"
229 ewarn "USE flags on media-plugins/gst-plugins-meta"
230 ewarn
231 }
232
233 pkg_postrm() {
234 gnome2_pkg_postrm
235 python_mod_cleanup /usr/$(get_libdir)/totem/plugins
236 }
237
238
239
240 1.1 media-video/totem/totem-2.28.5-r3.ebuild
241
242 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/totem/totem-2.28.5-r3.ebuild?rev=1.1&view=markup
243 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/totem/totem-2.28.5-r3.ebuild?rev=1.1&content-type=text/plain
244
245 Index: totem-2.28.5-r3.ebuild
246 ===================================================================
247 # Copyright 1999-2010 Gentoo Foundation
248 # Distributed under the terms of the GNU General Public License v2
249 # $Header: /var/cvsroot/gentoo-x86/media-video/totem/totem-2.28.5-r3.ebuild,v 1.1 2010/05/02 13:40:11 pacho Exp $
250
251 EAPI="2"
252
253 inherit autotools eutils gnome2 multilib python
254
255 DESCRIPTION="Media player for GNOME"
256 HOMEPAGE="http://gnome.org/projects/totem/"
257
258 LICENSE="GPL-2 LGPL-2"
259 SLOT="0"
260 KEYWORDS="~amd64 ~x86 ~x86-fbsd"
261
262 SRC_URI="${SRC_URI}
263 mirror://gentoo/${P}-patches.tar.bz2"
264
265 # FIXME: Enable for now python USE flag per bug #316409
266 # this change should only be noticed by people not following current
267 # current linux profiles default
268 IUSE="bluetooth debug doc galago iplayer lirc nautilus nsplugin +python +youtube" #zeroconf
269
270 # TODO:
271 # Cone (VLC) plugin needs someone with the right setup (remi ?)
272 # check gmyth requirement ? -> waiting for updates in tree
273 # coherence plugin not enabled until we have deps in tree
274 RDEPEND=">=dev-libs/glib-2.15
275 >=x11-libs/gtk+-2.16.0
276 >=gnome-base/gconf-2.0
277 >=dev-libs/totem-pl-parser-2.27.0
278 >=x11-themes/gnome-icon-theme-2.16
279 x11-libs/cairo
280 app-text/iso-codes
281 >=dev-libs/libxml2-2.6
282 >=dev-libs/dbus-glib-0.71
283 >=media-libs/gstreamer-0.10.25
284 >=media-libs/gst-plugins-good-0.10
285 >=media-libs/gst-plugins-base-0.10.25
286 >=media-plugins/gst-plugins-gconf-0.10
287
288 >=media-plugins/gst-plugins-taglib-0.10
289 >=media-plugins/gst-plugins-gio-0.10
290 >=media-plugins/gst-plugins-pango-0.10
291 >=media-plugins/gst-plugins-x-0.10
292 >=media-plugins/gst-plugins-meta-0.10-r2
293
294 dev-libs/libunique
295 x11-libs/libSM
296 x11-libs/libX11
297 x11-libs/libXtst
298 >=x11-libs/libXrandr-1.1.1
299 >=x11-libs/libXxf86vm-1.0.1
300
301 bluetooth? ( || (
302 net-wireless/bluez
303 net-wireless/bluez-libs ) )
304 galago? ( >=dev-libs/libgalago-0.5.2 )
305 iplayer? (
306 dev-python/pygobject
307 dev-python/pygtk
308 dev-python/httplib2
309 dev-python/feedparser
310 dev-python/beautifulsoup )
311 lirc? ( app-misc/lirc )
312 nautilus? ( >=gnome-base/nautilus-2.10 )
313 python? (
314 dev-lang/python[threads]
315 >=dev-python/pygtk-2.12
316 dev-python/pyxdg
317 dev-python/gst-python
318 dev-python/dbus-python
319 dev-python/gconf-python )
320 youtube? (
321 >=dev-libs/libgdata-0.4.0
322 media-plugins/gst-plugins-soup )"
323 # FIXME: freezes totem
324 # zeroconf? ( >=net-libs/libepc-0.3 )
325 DEPEND="${RDEPEND}
326 x11-proto/xproto
327 x11-proto/xextproto
328 x11-proto/xf86vidmodeproto
329 app-text/scrollkeeper
330 gnome-base/gnome-common
331 app-text/gnome-doc-utils
332 >=dev-util/intltool-0.40
333 >=dev-util/pkgconfig-0.20
334 dev-util/gtk-doc-am
335 doc? ( >=dev-util/gtk-doc-1.11 )
336 app-text/docbook-xml-dtd:4.5"
337 # docbook-xml-dtd is needed for user doc
338
339 DOCS="AUTHORS ChangeLog NEWS README TODO"
340
341 pkg_setup() {
342 G2CONF="${G2CONF}
343 --disable-scrollkeeper
344 --disable-schemas-install
345 --disable-static
346 --disable-vala
347 --with-dbus
348 --with-smclient
349 --enable-easy-codec-installation
350 $(use_enable nsplugin browser-plugins)"
351
352 # Plugin configuration
353 G2CONF="${G2CONF}
354 BROWSER_PLUGIN_DIR=/usr/$(get_libdir)/nsbrowser/plugins
355 PLUGINDIR=/usr/$(get_libdir)/totem/plugins"
356
357 local plugins="properties,thumbnail,screensaver,ontop,gromit,media-player-keys,skipto,brasero-disc-recorder,screenshot"
358 use bluetooth && plugins="${plugins},bemused"
359 use galago && plugins="${plugins},galago"
360 use iplayer && plugins="${plugins},iplayer"
361 use lirc && plugins="${plugins},lirc"
362 use python && plugins="${plugins},opensubtitles,jamendo,pythonconsole,dbus-service"
363 use youtube && plugins="${plugins},youtube"
364 #use zeroconf && plugins="${plugins},publish"
365
366 G2CONF="${G2CONF} --with-plugins=${plugins}"
367
368 G2CONF="${G2CONF}
369 $(use_enable debug)
370 $(use_enable nautilus)
371 $(use_enable python)"
372 }
373
374 src_prepare() {
375 gnome2_src_prepare
376
377 # Fix broken smclient option passing
378 epatch "${FILESDIR}/${PN}-2.26.1-smclient-target-detection.patch"
379
380 # Apply upstream patches committed to gnome-2.28 branch
381 epatch "${WORKDIR}"/${P}-patches/*.patch
382
383 intltoolize --force --copy --automake || die "intltoolize failed"
384 eautoreconf
385
386 # disable pyc compiling
387 mv py-compile py-compile.orig
388 ln -s $(type -P true) py-compile
389 }
390
391 src_configure() {
392 # FIXME: why does it need write access here, probably need to set up a fake
393 # home in /var/tmp like other pkgs do
394
395 addpredict "$(unset HOME; echo ~)/.gconf"
396 addpredict "$(unset HOME; echo ~)/.gconfd"
397 addpredict "$(unset HOME; echo ~)/.gnome2"
398
399 gnome2_src_configure
400 }
401
402 src_install() {
403 gnome2_src_install
404 # Installed for plugins, but they're dlopen()-ed
405 # firefox, totem as well as nautilus
406 find "${D}" -name "*.la" -delete || die "remove of la files failed"
407 }
408
409 pkg_postinst() {
410 gnome2_pkg_postinst
411 if use python; then
412 python_need_rebuild
413 python_mod_optimize /usr/$(get_libdir)/totem/plugins
414 fi
415
416 ewarn
417 ewarn "If totem doesn't play some video format, please check your"
418 ewarn "USE flags on media-plugins/gst-plugins-meta"
419 ewarn
420 }
421
422 pkg_postrm() {
423 gnome2_pkg_postrm
424 python_mod_cleanup /usr/$(get_libdir)/totem/plugins
425 }