1 |
pacho 11/04/02 12:03:50 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: totem-2.32.0-r1.ebuild |
5 |
Removed: totem-2.30.2.ebuild |
6 |
Log: |
7 |
Revision bump including patches from master and 2.32 upstream branches fixing some bugs, this also unset DBUS_SESSION_BUS_ADDRESS to prevent bug #332139 problems and xml validation fix (bug #357893 by Dustin Polke). Remove old. |
8 |
|
9 |
(Portage version: 2.1.9.45/cvs/Linux x86_64) |
10 |
|
11 |
Revision Changes Path |
12 |
1.318 media-video/totem/ChangeLog |
13 |
|
14 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/totem/ChangeLog?rev=1.318&view=markup |
15 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/totem/ChangeLog?rev=1.318&content-type=text/plain |
16 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/totem/ChangeLog?r1=1.317&r2=1.318 |
17 |
|
18 |
Index: ChangeLog |
19 |
=================================================================== |
20 |
RCS file: /var/cvsroot/gentoo-x86/media-video/totem/ChangeLog,v |
21 |
retrieving revision 1.317 |
22 |
retrieving revision 1.318 |
23 |
diff -u -r1.317 -r1.318 |
24 |
--- ChangeLog 22 Mar 2011 19:38:57 -0000 1.317 |
25 |
+++ ChangeLog 2 Apr 2011 12:03:50 -0000 1.318 |
26 |
@@ -1,6 +1,16 @@ |
27 |
# ChangeLog for media-video/totem |
28 |
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
29 |
-# $Header: /var/cvsroot/gentoo-x86/media-video/totem/ChangeLog,v 1.317 2011/03/22 19:38:57 ranger Exp $ |
30 |
+# $Header: /var/cvsroot/gentoo-x86/media-video/totem/ChangeLog,v 1.318 2011/04/02 12:03:50 pacho Exp $ |
31 |
+ |
32 |
+*totem-2.32.0-r1 (02 Apr 2011) |
33 |
+ |
34 |
+ 02 Apr 2011; Pacho Ramos <pacho@g.o> |
35 |
+ -files/totem-2.26.1-smclient-target-detection.patch, -totem-2.30.2.ebuild, |
36 |
+ -files/totem-2.30.2-init-gtype.patch, -files/totem-2.30.2-webm-support.patch, |
37 |
+ +totem-2.32.0-r1.ebuild: |
38 |
+ Revision bump including patches from master and 2.32 upstream branches fixing |
39 |
+ some bugs, this also unset DBUS_SESSION_BUS_ADDRESS to prevent bug #332139 |
40 |
+ problems and xml validation fix (bug #357893 by Dustin Polke). Remove old. |
41 |
|
42 |
22 Mar 2011; Brent Baude <ranger@g.o> totem-2.32.0.ebuild: |
43 |
Marking totem-2.32.0 ppc stable for bug 353436 |
44 |
|
45 |
|
46 |
|
47 |
1.1 media-video/totem/totem-2.32.0-r1.ebuild |
48 |
|
49 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/totem/totem-2.32.0-r1.ebuild?rev=1.1&view=markup |
50 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/totem/totem-2.32.0-r1.ebuild?rev=1.1&content-type=text/plain |
51 |
|
52 |
Index: totem-2.32.0-r1.ebuild |
53 |
=================================================================== |
54 |
# Copyright 1999-2011 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.32.0-r1.ebuild,v 1.1 2011/04/02 12:03:50 pacho Exp $ |
57 |
|
58 |
EAPI="3" |
59 |
GCONF_DEBUG="yes" |
60 |
PYTHON_DEPEND="python? 2" |
61 |
PYTHON_USE_WITH="threads" |
62 |
|
63 |
inherit autotools eutils gnome2 multilib python |
64 |
|
65 |
DESCRIPTION="Media player for GNOME" |
66 |
HOMEPAGE="http://projects.gnome.org/totem/" |
67 |
|
68 |
SRC_URI="${SRC_URI} http://dev.gentoo.org/~pacho/gnome/${P}-patches.tar.bz2" |
69 |
|
70 |
LICENSE="GPL-2 LGPL-2" |
71 |
SLOT="0" |
72 |
KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" |
73 |
|
74 |
# FIXME: Enable for now python USE flag per bug #316409 |
75 |
# this change should only be noticed by people not following current |
76 |
# current linux profiles default |
77 |
IUSE="bluetooth debug doc galago iplayer lirc nautilus nsplugin +python tracker upnp +youtube" #zeroconf |
78 |
|
79 |
# TODO: |
80 |
# Cone (VLC) plugin needs someone with the right setup (remi ?) |
81 |
# check gmyth requirement ? -> waiting for updates in tree |
82 |
# vala ( dev-lang/vala ) requires 0.7.5 |
83 |
RDEPEND=">=dev-libs/glib-2.25.11:2 |
84 |
>=x11-libs/gtk+-2.21.8:2 |
85 |
>=gnome-base/gconf-2:2 |
86 |
>=dev-libs/totem-pl-parser-2.30.2 |
87 |
>=x11-themes/gnome-icon-theme-2.16 |
88 |
x11-libs/cairo |
89 |
>=dev-libs/libxml2-2.6:2 |
90 |
>=dev-libs/dbus-glib-0.82 |
91 |
>=media-libs/gstreamer-0.10.30:0.10 |
92 |
>=media-libs/gst-plugins-good-0.10:0.10 |
93 |
>=media-libs/gst-plugins-base-0.10.30:0.10 |
94 |
>=media-plugins/gst-plugins-gconf-0.10:0.10 |
95 |
|
96 |
>=media-plugins/gst-plugins-taglib-0.10:0.10 |
97 |
>=media-plugins/gst-plugins-gio-0.10:0.10 |
98 |
>=media-plugins/gst-plugins-pango-0.10:0.10 |
99 |
>=media-plugins/gst-plugins-x-0.10:0.10 |
100 |
>=media-plugins/gst-plugins-meta-0.10-r2:0.10 |
101 |
|
102 |
dev-libs/libunique:1 |
103 |
x11-libs/libICE |
104 |
x11-libs/libSM |
105 |
x11-libs/libX11 |
106 |
x11-libs/libXtst |
107 |
>=x11-libs/libXrandr-1.1.1 |
108 |
>=x11-libs/libXxf86vm-1.0.1 |
109 |
|
110 |
bluetooth? ( net-wireless/bluez ) |
111 |
galago? ( >=dev-libs/libgalago-0.5.2 ) |
112 |
iplayer? ( |
113 |
dev-python/pygobject:2 |
114 |
dev-python/pygtk:2 |
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 |
nsplugin? ( media-plugins/gst-plugins-soup:0.10 ) |
121 |
python? ( |
122 |
>=dev-python/pygtk-2.12:2 |
123 |
dev-python/pyxdg |
124 |
dev-python/gst-python:0.10 |
125 |
dev-python/dbus-python |
126 |
dev-python/gconf-python:2 ) |
127 |
tracker? ( >=app-misc/tracker-0.8.1 ) |
128 |
upnp? ( media-video/coherence ) |
129 |
youtube? ( |
130 |
>=dev-libs/libgdata-0.4 |
131 |
net-libs/libsoup:2.4 |
132 |
media-plugins/gst-plugins-soup:0.10 |
133 |
>=dev-libs/totem-pl-parser-2.32.4[quvi] )" |
134 |
# FIXME: freezes totem |
135 |
# zeroconf? ( >=net-libs/libepc-0.3 ) |
136 |
DEPEND="${RDEPEND} |
137 |
x11-proto/xproto |
138 |
x11-proto/xextproto |
139 |
x11-proto/xf86vidmodeproto |
140 |
app-text/scrollkeeper |
141 |
>=app-text/gnome-doc-utils-0.20.3 |
142 |
>=dev-util/intltool-0.40 |
143 |
>=dev-util/pkgconfig-0.20 |
144 |
app-text/docbook-xml-dtd:4.5 |
145 |
gnome-base/gnome-common |
146 |
dev-util/gtk-doc-am |
147 |
doc? ( >=dev-util/gtk-doc-1.11 )" |
148 |
# eautoreconf needs: |
149 |
# gnome-base/gnome-common |
150 |
# dev-util/gtk-doc-am |
151 |
|
152 |
# docbook-xml-dtd is needed for user doc |
153 |
|
154 |
pkg_setup() { |
155 |
DOCS="AUTHORS ChangeLog NEWS README TODO" |
156 |
G2CONF="${G2CONF} |
157 |
--disable-scrollkeeper |
158 |
--disable-schemas-install |
159 |
--disable-static |
160 |
--disable-vala |
161 |
--with-dbus |
162 |
--with-smclient |
163 |
--enable-easy-codec-installation |
164 |
$(use_enable nsplugin browser-plugins)" |
165 |
|
166 |
# Plugin configuration |
167 |
G2CONF="${G2CONF} |
168 |
BROWSER_PLUGIN_DIR=/usr/$(get_libdir)/nsbrowser/plugins |
169 |
PLUGINDIR=/usr/$(get_libdir)/totem/plugins" |
170 |
|
171 |
local plugins="properties,thumbnail,screensaver,ontop,gromit,media-player-keys,skipto,brasero-disc-recorder,screenshot,chapters" |
172 |
use bluetooth && plugins="${plugins},bemused" |
173 |
use galago && plugins="${plugins},galago" |
174 |
use iplayer && plugins="${plugins},iplayer" |
175 |
use lirc && plugins="${plugins},lirc" |
176 |
use python && plugins="${plugins},opensubtitles,jamendo,pythonconsole,dbus-service" |
177 |
use tracker && plugins="${plugins},tracker" |
178 |
use upnp && plugins="${plugins},coherence_upnp" |
179 |
use youtube && plugins="${plugins},youtube" |
180 |
#use zeroconf && plugins="${plugins},publish" |
181 |
|
182 |
G2CONF="${G2CONF} --with-plugins=${plugins}" |
183 |
|
184 |
G2CONF="${G2CONF} |
185 |
$(use_enable debug) |
186 |
$(use_enable nautilus) |
187 |
$(use_enable python)" |
188 |
|
189 |
python_set_active_version 2 |
190 |
} |
191 |
|
192 |
src_prepare() { |
193 |
gnome2_src_prepare |
194 |
|
195 |
# Use fixed gnome-doc-utils.make, bug #348403 (can be dropped in next bump) |
196 |
cp -f /usr/share/gnome-doc-utils/gnome-doc-utils.make . || die |
197 |
|
198 |
# Fix broken smclient option passing |
199 |
epatch "${FILESDIR}/${PN}-2.32.0-smclient-target-detection.patch" |
200 |
|
201 |
# Apply multiple backports and fixes from master and 2.32 branch |
202 |
epatch "${WORKDIR}/${P}-patches"/*.patch |
203 |
|
204 |
intltoolize --force --copy --automake || die "intltoolize failed" |
205 |
eautoreconf |
206 |
|
207 |
# disable pyc compiling |
208 |
mv py-compile py-compile.orig |
209 |
ln -s $(type -P true) py-compile |
210 |
} |
211 |
|
212 |
src_configure() { |
213 |
# FIXME: why does it need write access here, probably need to set up a fake |
214 |
# home in /var/tmp like other pkgs do |
215 |
|
216 |
addpredict "$(unset HOME; echo ~)/.gconf" |
217 |
addpredict "$(unset HOME; echo ~)/.gconfd" |
218 |
addpredict "$(unset HOME; echo ~)/.gnome2" |
219 |
|
220 |
unset DBUS_SESSION_BUS_ADDRESS |
221 |
gnome2_src_configure |
222 |
} |
223 |
|
224 |
src_install() { |
225 |
gnome2_src_install |
226 |
# Installed for plugins, but they're dlopen()-ed |
227 |
# firefox, totem as well as nautilus |
228 |
find "${ED}" -name "*.la" -delete || die "remove of la files failed" |
229 |
|
230 |
# Fix python script shebangs |
231 |
python_convert_shebangs 2 "${ED}"/usr/libexec/totem/totem-bugreport.py |
232 |
} |
233 |
|
234 |
pkg_postinst() { |
235 |
gnome2_pkg_postinst |
236 |
if use python; then |
237 |
python_need_rebuild |
238 |
python_mod_optimize /usr/$(get_libdir)/totem/plugins |
239 |
fi |
240 |
|
241 |
ewarn |
242 |
ewarn "If totem doesn't play some video format, please check your" |
243 |
ewarn "USE flags on media-plugins/gst-plugins-meta" |
244 |
ewarn |
245 |
} |
246 |
|
247 |
pkg_postrm() { |
248 |
gnome2_pkg_postrm |
249 |
python_mod_cleanup /usr/$(get_libdir)/totem/plugins |
250 |
} |