1 |
aballier 08/01/11 18:02:17 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: xine-lib-1.1.9.1.ebuild xine-lib-1.1.9.1-r1.ebuild |
5 |
Log: |
6 |
bump for security fix bug #205197, giving two ebuilds at Diego's request, one candidate for stable without IUSE default, one for ~arch due to numerous people bitching about some defaults... bitching-- |
7 |
(Portage version: 2.1.4_rc14) |
8 |
|
9 |
Revision Changes Path |
10 |
1.488 media-libs/xine-lib/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/xine-lib/ChangeLog?rev=1.488&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/xine-lib/ChangeLog?rev=1.488&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/xine-lib/ChangeLog?r1=1.487&r2=1.488 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/media-libs/xine-lib/ChangeLog,v |
19 |
retrieving revision 1.487 |
20 |
retrieving revision 1.488 |
21 |
diff -u -r1.487 -r1.488 |
22 |
--- ChangeLog 6 Jan 2008 20:11:45 -0000 1.487 |
23 |
+++ ChangeLog 11 Jan 2008 18:02:16 -0000 1.488 |
24 |
@@ -1,6 +1,15 @@ |
25 |
# ChangeLog for media-libs/xine-lib |
26 |
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/media-libs/xine-lib/ChangeLog,v 1.487 2008/01/06 20:11:45 flameeyes Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/media-libs/xine-lib/ChangeLog,v 1.488 2008/01/11 18:02:16 aballier Exp $ |
29 |
+ |
30 |
+*xine-lib-1.1.9.1-r1 (11 Jan 2008) |
31 |
+*xine-lib-1.1.9.1 (11 Jan 2008) |
32 |
+ |
33 |
+ 11 Jan 2008; Alexis Ballier <aballier@g.o> |
34 |
+ +xine-lib-1.1.9.1.ebuild, +xine-lib-1.1.9.1-r1.ebuild: |
35 |
+ bump for security fix bug #205197, giving two ebuilds at Diego's request, |
36 |
+ one candidate for stable without IUSE default, one for ~arch due to numerous |
37 |
+ people bitching about some defaults... bitching-- |
38 |
|
39 |
06 Jan 2008; Diego Pettenò <flameeyes@g.o> |
40 |
-files/xine-lib-1.1.4-CVE-2007-1246.patch, |
41 |
|
42 |
|
43 |
|
44 |
1.1 media-libs/xine-lib/xine-lib-1.1.9.1.ebuild |
45 |
|
46 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/xine-lib/xine-lib-1.1.9.1.ebuild?rev=1.1&view=markup |
47 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/xine-lib/xine-lib-1.1.9.1.ebuild?rev=1.1&content-type=text/plain |
48 |
|
49 |
Index: xine-lib-1.1.9.1.ebuild |
50 |
=================================================================== |
51 |
# Copyright 1999-2008 Gentoo Foundation |
52 |
# Distributed under the terms of the GNU General Public License v2 |
53 |
# $Header: /var/cvsroot/gentoo-x86/media-libs/xine-lib/xine-lib-1.1.9.1.ebuild,v 1.1 2008/01/11 18:02:16 aballier Exp $ |
54 |
|
55 |
inherit eutils flag-o-matic toolchain-funcs libtool |
56 |
|
57 |
# This should normally be empty string, unless a release has a suffix. |
58 |
if [[ "${P/_pre/}" != "${P}" ]]; then |
59 |
SRC_URI="mirror://gentoo/${P}.tar.bz2" |
60 |
else |
61 |
MY_PKG_SUFFIX="" |
62 |
MY_P="${PN}-${PV/_/-}${MY_PKG_SUFFIX}" |
63 |
S="${WORKDIR}/${MY_P}" |
64 |
|
65 |
SRC_URI="mirror://sourceforge/xine/${MY_P}.tar.bz2" |
66 |
fi |
67 |
|
68 |
DESCRIPTION="Core libraries for Xine movie player" |
69 |
HOMEPAGE="http://xine.sourceforge.net" |
70 |
|
71 |
LICENSE="GPL-2" |
72 |
SLOT="1" |
73 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" |
74 |
|
75 |
IUSE="aalib libcaca arts esd win32codecs nls dvd X directfb vorbis alsa |
76 |
gnome sdl speex theora ipv6 altivec opengl aac fbcon xv xvmc |
77 |
samba dxr3 vidix mng flac oss v4l xinerama vcd a52 mad imagemagick dts |
78 |
debug modplug gtk pulseaudio mmap truetype wavpack musepack xcb jack |
79 |
real" |
80 |
|
81 |
RDEPEND="X? ( x11-libs/libXext |
82 |
x11-libs/libX11 ) |
83 |
xv? ( x11-libs/libXv ) |
84 |
xvmc? ( x11-libs/libXvMC ) |
85 |
xinerama? ( x11-libs/libXinerama ) |
86 |
win32codecs? ( >=media-libs/win32codecs-0.50 ) |
87 |
esd? ( media-sound/esound ) |
88 |
dvd? ( >=media-libs/libdvdcss-1.2.7 ) |
89 |
arts? ( kde-base/arts ) |
90 |
alsa? ( media-libs/alsa-lib ) |
91 |
aalib? ( media-libs/aalib ) |
92 |
directfb? ( >=dev-libs/DirectFB-0.9.9 ) |
93 |
gnome? ( >=gnome-base/gnome-vfs-2.0 ) |
94 |
flac? ( >=media-libs/flac-1.1.2 ) |
95 |
sdl? ( >=media-libs/libsdl-1.1.5 ) |
96 |
dxr3? ( >=media-libs/libfame-0.9.0 ) |
97 |
vorbis? ( media-libs/libogg media-libs/libvorbis ) |
98 |
theora? ( media-libs/libogg media-libs/libvorbis >=media-libs/libtheora-1.0_alpha6 ) |
99 |
speex? ( media-libs/libogg media-libs/libvorbis media-libs/speex ) |
100 |
libcaca? ( >=media-libs/libcaca-0.99_beta1 ) |
101 |
samba? ( net-fs/samba ) |
102 |
mng? ( media-libs/libmng ) |
103 |
vcd? ( media-video/vcdimager ) |
104 |
a52? ( >=media-libs/a52dec-0.7.4-r5 ) |
105 |
mad? ( media-libs/libmad ) |
106 |
imagemagick? ( media-gfx/imagemagick ) |
107 |
dts? ( || ( media-libs/libdca media-libs/libdts ) ) |
108 |
>=media-video/ffmpeg-0.4.9_p20070129 |
109 |
modplug? ( media-libs/libmodplug ) |
110 |
nls? ( virtual/libintl ) |
111 |
gtk? ( =x11-libs/gtk+-2* ) |
112 |
pulseaudio? ( media-sound/pulseaudio ) |
113 |
truetype? ( =media-libs/freetype-2* media-libs/fontconfig ) |
114 |
virtual/libiconv |
115 |
wavpack? ( >=media-sound/wavpack-4.31 ) |
116 |
musepack? ( media-libs/libmpcdec ) |
117 |
xcb? ( >=x11-libs/libxcb-1.0 ) |
118 |
jack? ( >=media-sound/jack-audio-connection-kit-0.100 ) |
119 |
real? ( |
120 |
x86? ( media-libs/win32codecs ) |
121 |
x86-fbsd? ( media-libs/win32codecs ) |
122 |
amd64? ( media-libs/amd64codecs ) )" |
123 |
|
124 |
DEPEND="${RDEPEND} |
125 |
X? ( x11-libs/libXt |
126 |
x11-proto/xproto |
127 |
x11-proto/videoproto |
128 |
x11-proto/xf86vidmodeproto |
129 |
xinerama? ( x11-proto/xineramaproto ) ) |
130 |
v4l? ( virtual/os-headers ) |
131 |
dev-util/pkgconfig |
132 |
sys-devel/libtool |
133 |
nls? ( sys-devel/gettext )" |
134 |
|
135 |
src_compile() { |
136 |
#prevent quicktime crashing |
137 |
append-flags -frename-registers -ffunction-sections |
138 |
|
139 |
# Specific workarounds for too-few-registers arch... |
140 |
if [[ $(tc-arch) == "x86" ]]; then |
141 |
filter-flags -fforce-addr |
142 |
filter-flags -momit-leaf-frame-pointer # break on gcc 3.4/4.x |
143 |
filter-flags -fno-omit-frame-pointer #breaks per bug #149704 |
144 |
is-flag -O? || append-flags -O2 |
145 |
fi |
146 |
|
147 |
local myconf |
148 |
|
149 |
# enable/disable appropiate optimizations on sparc |
150 |
[[ "${PROFILE_ARCH}" == "sparc64" ]] && myconf="${myconf} --enable-vis" |
151 |
[[ "${PROFILE_ARCH}" == "sparc" ]] && myconf="${myconf} --disable-vis" |
152 |
|
153 |
# The default CFLAGS (-O) is the only thing working on hppa. |
154 |
use hppa && unset CFLAGS |
155 |
|
156 |
# Too many file names are the same (xine_decoder.c), change the builddir |
157 |
# So that the relative path is used to identify them. |
158 |
mkdir "${WORKDIR}/build" |
159 |
|
160 |
elibtoolize |
161 |
ECONF_SOURCE="${S}" econf \ |
162 |
$(use_enable gnome gnomevfs) \ |
163 |
$(use_enable nls) \ |
164 |
$(use_enable ipv6) \ |
165 |
$(use_enable samba) \ |
166 |
$(use_enable altivec) \ |
167 |
$(use_enable v4l) \ |
168 |
\ |
169 |
$(use_enable mng) \ |
170 |
$(use_with imagemagick) \ |
171 |
$(use_enable gtk gdkpixbuf) \ |
172 |
\ |
173 |
$(use_enable aac faad) \ |
174 |
$(use_with flac libflac) \ |
175 |
$(use_with vorbis) \ |
176 |
$(use_with speex) \ |
177 |
$(use_with theora) \ |
178 |
$(use_with wavpack) \ |
179 |
$(use_enable modplug) \ |
180 |
$(use_enable a52 a52dec) --with-external-a52dec \ |
181 |
$(use_enable mad) --with-external-libmad \ |
182 |
$(use_enable dts) --with-external-libdts \ |
183 |
$(use_enable musepack) --with-external-libmpcdec \ |
184 |
\ |
185 |
$(use_with X x) \ |
186 |
$(use_enable xinerama) \ |
187 |
$(use_enable vidix) \ |
188 |
$(use_enable dxr3) \ |
189 |
$(use_enable directfb) \ |
190 |
$(use_enable fbcon fb) \ |
191 |
$(use_enable opengl) \ |
192 |
$(use_enable aalib) \ |
193 |
$(use_with libcaca caca) \ |
194 |
$(use_with sdl) \ |
195 |
$(use_enable xvmc) \ |
196 |
$(use_with xcb) \ |
197 |
\ |
198 |
$(use_enable oss) \ |
199 |
$(use_with alsa) \ |
200 |
$(use_with arts) \ |
201 |
$(use_with esd esound) \ |
202 |
$(use_with pulseaudio) \ |
203 |
$(use_with jack) \ |
204 |
\ |
205 |
$(use_enable vcd) --without-internal-vcdlibs \ |
206 |
\ |
207 |
$(use_enable win32codecs w32dll) \ |
208 |
$(use_enable real real-codecs) \ |
209 |
\ |
210 |
$(use_enable mmap) \ |
211 |
$(use_with truetype freetype) $(use_with truetype fontconfig) \ |
212 |
\ |
213 |
$(use_enable debug) \ |
214 |
--enable-asf \ |
215 |
--with-external-ffmpeg \ |
216 |
--disable-optimizations \ |
217 |
--disable-syncfb \ |
218 |
${myconf} \ |
219 |
--with-xv-path=/usr/$(get_libdir) \ |
220 |
--with-w32-path=/usr/$(ABI=x86 get_libdir)/win32 \ |
221 |
--with-real-codecs-path=/usr/$(get_libdir)/codecs \ |
222 |
--enable-fast-install \ |
223 |
--disable-dependency-tracking || die "econf failed." |
224 |
|
225 |
emake || die "emake failed." |
226 |
} |
227 |
|
228 |
src_install() { |
229 |
emake DESTDIR="${D}" \ |
230 |
docdir="/usr/share/doc/${PF}" htmldir="/usr/share/doc/${PF}/html" \ |
231 |
install || die "emake install failed." |
232 |
} |
233 |
|
234 |
|
235 |
|
236 |
1.1 media-libs/xine-lib/xine-lib-1.1.9.1-r1.ebuild |
237 |
|
238 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/xine-lib/xine-lib-1.1.9.1-r1.ebuild?rev=1.1&view=markup |
239 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/xine-lib/xine-lib-1.1.9.1-r1.ebuild?rev=1.1&content-type=text/plain |
240 |
|
241 |
Index: xine-lib-1.1.9.1-r1.ebuild |
242 |
=================================================================== |
243 |
# Copyright 1999-2008 Gentoo Foundation |
244 |
# Distributed under the terms of the GNU General Public License v2 |
245 |
# $Header: /var/cvsroot/gentoo-x86/media-libs/xine-lib/xine-lib-1.1.9.1-r1.ebuild,v 1.1 2008/01/11 18:02:16 aballier Exp $ |
246 |
|
247 |
EAPI=1 |
248 |
|
249 |
inherit eutils flag-o-matic toolchain-funcs libtool |
250 |
|
251 |
# This should normally be empty string, unless a release has a suffix. |
252 |
if [[ "${P/_pre/}" != "${P}" ]]; then |
253 |
SRC_URI="mirror://gentoo/${P}.tar.bz2" |
254 |
else |
255 |
MY_PKG_SUFFIX="" |
256 |
MY_P="${PN}-${PV/_/-}${MY_PKG_SUFFIX}" |
257 |
S="${WORKDIR}/${MY_P}" |
258 |
|
259 |
SRC_URI="mirror://sourceforge/xine/${MY_P}.tar.bz2" |
260 |
fi |
261 |
|
262 |
DESCRIPTION="Core libraries for Xine movie player" |
263 |
HOMEPAGE="http://xine.sourceforge.net" |
264 |
|
265 |
LICENSE="GPL-2" |
266 |
SLOT="1" |
267 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" |
268 |
|
269 |
IUSE="-aalib -libcaca -arts esd win32codecs nls +dvd +X directfb +vorbis +alsa |
270 |
gnome sdl speex +theora ipv6 altivec opengl aac -fbcon +xv xvmc |
271 |
-samba dxr3 vidix mng -flac -oss +v4l xinerama vcd +a52 +mad -imagemagick +dts |
272 |
-debug +modplug -gtk pulseaudio -mmap -truetype wavpack +musepack +xcb -jack |
273 |
-real" |
274 |
|
275 |
RDEPEND="X? ( x11-libs/libXext |
276 |
x11-libs/libX11 ) |
277 |
xv? ( x11-libs/libXv ) |
278 |
xvmc? ( x11-libs/libXvMC ) |
279 |
xinerama? ( x11-libs/libXinerama ) |
280 |
win32codecs? ( >=media-libs/win32codecs-0.50 ) |
281 |
esd? ( media-sound/esound ) |
282 |
dvd? ( >=media-libs/libdvdcss-1.2.7 ) |
283 |
arts? ( kde-base/arts ) |
284 |
alsa? ( media-libs/alsa-lib ) |
285 |
aalib? ( media-libs/aalib ) |
286 |
directfb? ( >=dev-libs/DirectFB-0.9.9 ) |
287 |
gnome? ( >=gnome-base/gnome-vfs-2.0 ) |
288 |
flac? ( >=media-libs/flac-1.1.2 ) |
289 |
sdl? ( >=media-libs/libsdl-1.1.5 ) |
290 |
dxr3? ( >=media-libs/libfame-0.9.0 ) |
291 |
vorbis? ( media-libs/libogg media-libs/libvorbis ) |
292 |
theora? ( media-libs/libogg media-libs/libvorbis >=media-libs/libtheora-1.0_alpha6 ) |
293 |
speex? ( media-libs/libogg media-libs/libvorbis media-libs/speex ) |
294 |
libcaca? ( >=media-libs/libcaca-0.99_beta1 ) |
295 |
samba? ( net-fs/samba ) |
296 |
mng? ( media-libs/libmng ) |
297 |
vcd? ( media-video/vcdimager ) |
298 |
a52? ( >=media-libs/a52dec-0.7.4-r5 ) |
299 |
mad? ( media-libs/libmad ) |
300 |
imagemagick? ( media-gfx/imagemagick ) |
301 |
dts? ( || ( media-libs/libdca media-libs/libdts ) ) |
302 |
>=media-video/ffmpeg-0.4.9_p20070129 |
303 |
modplug? ( media-libs/libmodplug ) |
304 |
nls? ( virtual/libintl ) |
305 |
gtk? ( =x11-libs/gtk+-2* ) |
306 |
pulseaudio? ( media-sound/pulseaudio ) |
307 |
truetype? ( =media-libs/freetype-2* media-libs/fontconfig ) |
308 |
virtual/libiconv |
309 |
wavpack? ( >=media-sound/wavpack-4.31 ) |
310 |
musepack? ( media-libs/libmpcdec ) |
311 |
xcb? ( >=x11-libs/libxcb-1.0 ) |
312 |
jack? ( >=media-sound/jack-audio-connection-kit-0.100 ) |
313 |
real? ( |
314 |
x86? ( media-libs/win32codecs ) |
315 |
x86-fbsd? ( media-libs/win32codecs ) |
316 |
amd64? ( media-libs/amd64codecs ) )" |
317 |
|
318 |
DEPEND="${RDEPEND} |
319 |
X? ( x11-libs/libXt |
320 |
x11-proto/xproto |
321 |
x11-proto/videoproto |
322 |
x11-proto/xf86vidmodeproto |
323 |
xinerama? ( x11-proto/xineramaproto ) ) |
324 |
v4l? ( virtual/os-headers ) |
325 |
dev-util/pkgconfig |
326 |
sys-devel/libtool |
327 |
nls? ( sys-devel/gettext )" |
328 |
|
329 |
src_compile() { |
330 |
#prevent quicktime crashing |
331 |
append-flags -frename-registers -ffunction-sections |
332 |
|
333 |
# Specific workarounds for too-few-registers arch... |
334 |
if [[ $(tc-arch) == "x86" ]]; then |
335 |
filter-flags -fforce-addr |
336 |
filter-flags -momit-leaf-frame-pointer # break on gcc 3.4/4.x |
337 |
filter-flags -fno-omit-frame-pointer #breaks per bug #149704 |
338 |
is-flag -O? || append-flags -O2 |
339 |
fi |
340 |
|
341 |
local myconf |
342 |
|
343 |
# enable/disable appropiate optimizations on sparc |
344 |
[[ "${PROFILE_ARCH}" == "sparc64" ]] && myconf="${myconf} --enable-vis" |
345 |
[[ "${PROFILE_ARCH}" == "sparc" ]] && myconf="${myconf} --disable-vis" |
346 |
|
347 |
# The default CFLAGS (-O) is the only thing working on hppa. |
348 |
use hppa && unset CFLAGS |
349 |
|
350 |
# Too many file names are the same (xine_decoder.c), change the builddir |
351 |
# So that the relative path is used to identify them. |
352 |
mkdir "${WORKDIR}/build" |
353 |
|
354 |
elibtoolize |
355 |
ECONF_SOURCE="${S}" econf \ |
356 |
$(use_enable gnome gnomevfs) \ |
357 |
$(use_enable nls) \ |
358 |
$(use_enable ipv6) \ |
359 |
$(use_enable samba) \ |
360 |
$(use_enable altivec) \ |
361 |
$(use_enable v4l) \ |
362 |
\ |
363 |
$(use_enable mng) \ |
364 |
$(use_with imagemagick) \ |
365 |
$(use_enable gtk gdkpixbuf) \ |
366 |
\ |
367 |
$(use_enable aac faad) \ |
368 |
$(use_with flac libflac) \ |
369 |
$(use_with vorbis) \ |
370 |
$(use_with speex) \ |
371 |
$(use_with theora) \ |
372 |
$(use_with wavpack) \ |
373 |
$(use_enable modplug) \ |
374 |
$(use_enable a52 a52dec) --with-external-a52dec \ |
375 |
$(use_enable mad) --with-external-libmad \ |
376 |
$(use_enable dts) --with-external-libdts \ |
377 |
$(use_enable musepack) --with-external-libmpcdec \ |
378 |
\ |
379 |
$(use_with X x) \ |
380 |
$(use_enable xinerama) \ |
381 |
$(use_enable vidix) \ |
382 |
$(use_enable dxr3) \ |
383 |
$(use_enable directfb) \ |
384 |
$(use_enable fbcon fb) \ |
385 |
$(use_enable opengl) \ |
386 |
$(use_enable aalib) \ |
387 |
$(use_with libcaca caca) \ |
388 |
$(use_with sdl) \ |
389 |
$(use_enable xvmc) \ |
390 |
$(use_with xcb) \ |
391 |
\ |
392 |
$(use_enable oss) \ |
393 |
$(use_with alsa) \ |
394 |
$(use_with arts) \ |
395 |
$(use_with esd esound) \ |
396 |
$(use_with pulseaudio) \ |
397 |
$(use_with jack) \ |
398 |
\ |
399 |
$(use_enable vcd) --without-internal-vcdlibs \ |
400 |
\ |
401 |
$(use_enable win32codecs w32dll) \ |
402 |
$(use_enable real real-codecs) \ |
403 |
\ |
404 |
$(use_enable mmap) \ |
405 |
$(use_with truetype freetype) $(use_with truetype fontconfig) \ |
406 |
\ |
407 |
$(use_enable debug) \ |
408 |
--enable-asf \ |
409 |
--with-external-ffmpeg \ |
410 |
--disable-optimizations \ |
411 |
--disable-syncfb \ |
412 |
${myconf} \ |
413 |
--with-xv-path=/usr/$(get_libdir) \ |
414 |
--with-w32-path=/usr/$(ABI=x86 get_libdir)/win32 \ |
415 |
--with-real-codecs-path=/usr/$(get_libdir)/codecs \ |
416 |
--enable-fast-install \ |
417 |
--disable-dependency-tracking || die "econf failed." |
418 |
|
419 |
emake || die "emake failed." |
420 |
} |
421 |
|
422 |
src_install() { |
423 |
emake DESTDIR="${D}" \ |
424 |
docdir="/usr/share/doc/${PF}" htmldir="/usr/share/doc/${PF}/html" \ |
425 |
install || die "emake install failed." |
426 |
} |
427 |
|
428 |
|
429 |
|
430 |
-- |
431 |
gentoo-commits@l.g.o mailing list |