Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 72185 - xine-lib version bump (1.0) with fixed use-flags
Summary: xine-lib version bump (1.0) with fixed use-flags
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords: Inclusion
: 64500 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-11-22 20:31 UTC by Diego Elio Pettenò (RETIRED)
Modified: 2004-12-28 04:23 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Patches over current ebuild (xine.diff,1.61 KB, patch)
2004-11-22 20:31 UTC, Diego Elio Pettenò (RETIRED)
Details | Diff
Updated patch with ffmpeg support (xine-lib.diff,1.97 KB, patch)
2004-11-30 06:47 UTC, Diego Elio Pettenò (RETIRED)
Details | Diff
xine-lib-1_rc8.ebuild (xine-lib-1_rc8.ebuild,6.31 KB, text/plain)
2004-12-15 09:23 UTC, Diego Elio Pettenò (RETIRED)
Details
xine-lib-1_rc8.ebuild (xine-lib-1_rc8.ebuild,6.28 KB, text/plain)
2004-12-15 10:45 UTC, Diego Elio Pettenò (RETIRED)
Details
Updated patch with portage fixes (xine-lib-1_rc8.ebuild,6.51 KB, text/plain)
2004-12-22 06:58 UTC, Diego Elio Pettenò (RETIRED)
Details
Ebuild synced with portage and rename faad -> aac (xine-lib-1_rc8.ebuild,6.51 KB, text/plain)
2004-12-22 07:02 UTC, Diego Elio Pettenò (RETIRED)
Details
Ebuild updated with -r1 changes. (xine-lib-1_rc8-r1.ebuild,6.62 KB, text/plain)
2004-12-24 01:02 UTC, Diego Elio Pettenò (RETIRED)
Details
1.0 final ebuild (xine-lib-1.0.ebuild,6.85 KB, text/plain)
2004-12-26 05:09 UTC, Diego Elio Pettenò (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Diego Elio Pettenò (RETIRED) gentoo-dev 2004-11-22 20:31:16 UTC
Current xine-lib doesn't honour -sdl use-flag, because the configure switch doesn't work on it.
The attached patch fixes this setting the cache value which disables sdl plugin.
It also adds some useflags, specifically opengl faad pic and fb.

This should also help fix bug #70281, which needs the -opengl flag.

Regards,
Diego
Comment 1 Diego Elio Pettenò (RETIRED) gentoo-dev 2004-11-22 20:31:40 UTC
Created attachment 44525 [details, diff]
Patches over current ebuild
Comment 2 Diego Elio Pettenò (RETIRED) gentoo-dev 2004-11-22 20:43:45 UTC
*** Bug 64500 has been marked as a duplicate of this bug. ***
Comment 3 Diego Elio Pettenò (RETIRED) gentoo-dev 2004-11-30 06:47:31 UTC
Created attachment 44989 [details, diff]
Updated patch with ffmpeg support

I have added support for ffmpeg flag, which makes xine-lib use the installed
ffmpeg library instead of the packaged one.

This is needed to me to read new DivX files, which plays well on mplayer and
vlc.
Comment 4 Diego Elio Pettenò (RETIRED) gentoo-dev 2004-12-15 09:22:42 UTC
I'm going to attach a new ebuild, with rc8 support and fixed use flags.

ChangeLog;

* sdl flag now should work (it seems to work for me)
* esd, alsa, arts flags now work
* Fixed oggvorbis ./configure switches
* Preliminary support for macos build (I haven't tested it actually, but it doesn't harm to change the configure switches for macos build). Note: this fixes the two obsolete patches, which was using macosx instead of macos. Sorry.
* Added opengl, faad, pic and fb flags.
* Added ffmpeg flag which enables the external ffmpeg library (instead of the internal, allow to play recent DivX encoded files).
* Added XvMC support, copied from MPlayer USE-flags checks.

HTH
Comment 5 Diego Elio Pettenò (RETIRED) gentoo-dev 2004-12-15 09:23:15 UTC
Created attachment 46054 [details]
xine-lib-1_rc8.ebuild
Comment 6 Diego Elio Pettenò (RETIRED) gentoo-dev 2004-12-15 10:45:59 UTC
Created attachment 46058 [details]
xine-lib-1_rc8.ebuild

I'm sorry, I configured the test xine with the right parameters, but I forgot
to fix the ebuild with them, and I posted the ebuild with the mplayer
parameters instead of the xine ones for xvmc.

This is the right one
Comment 7 Mystilleef 2004-12-16 23:21:17 UTC
I get this error:

checking if i686-pc-linux-gnu-gcc supports "-Wall" flags... yes
checking __attribute__ ((aligned ())) support... 64
checking if i686-pc-linux-gnu-gcc supports "-mtune=i386" flags... yes
checking if i686-pc-linux-gnu-gcc supports "-mtune=athlon" flags... yes
tail: `-1' option is obsolete; use `-n 1' since this will be removed in the future
checking for sgmltools... no
checking for fig2dev... no
checking dependency style of ... none
configure: error: conditional "HAVE_XV" was never defined.
Usually this means the macro was only invoked conditionally.

!!! ERROR: media-libs/xine-lib-1_rc8 failed.
!!! Function econf, Line 447, Exitcode 1
!!! econf failed
!!! If you need support, post the topmost build error, NOT this status message.



emerge info

Portage 2.0.51-r8 (hardened/x86, gcc-3.4.3, glibc-2.3.4.20041102-r0, 2.6.7-hardened-r17 i686)
=================================================================
System uname: 2.6.7-hardened-r17 i686 AMD Athlon(tm) Processor
Gentoo Base System version 1.6.8
Python:              dev-lang/python-2.3.4 [2.3.4 (#1, Dec 15 2004, 08:16:14)]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.4
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.8.5-r2, 1.5, 1.4_p6, 1.6.3, 1.7.9, 1.9.3
sys-devel/binutils:  2.15.92.0.2-r2
sys-devel/libtool:   1.5.10-r1
virtual/os-headers:  2.6.8.1-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-w -pipe -funit-at-a-time -ftracer -frename-registers -fweb     -march=athlon -Os -fomit-frame-pointer -fforce-addr -s -fPIC -fpic"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-w -pipe -funit-at-a-time -ftracer -frename-registers -fweb           -march=athlon -Os -fomit-frame-pointer -fforce-addr -s -fPIC -fpic"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache digest distlocks fixpackages sandbox sfperms strict"
GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo http://mirror.datapipe.net/gentoo http://open-systems.ufl.edu/mirrors/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage//packages/x86/"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/bmg-main"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="3dnow 3dnowex X alsa avi bindist bonobo cdparanoia cdr crypt curl dlloader dvd encode erandom esd faad fam flac gif gnome gnutls gstreamer gtk gtk2 hal hardened howl imagemagick imlib ithreads jpeg libwww live mad mmx mmx2 mng mpeg ncurses network nls nptl nptlonly oggvorbis opengl oss pam pic pie png quicktime readline real rtc speex spell ssl svg tcpd tetex theora threads tiff truetype truetype-fonts unicode usb userlocales wmf x86 xine xml xml2 xv zlib"
Comment 8 Diego Elio Pettenò (RETIRED) gentoo-dev 2004-12-17 20:25:54 UTC
Can you please post the output of emerge -av xine-lib ? (so that I can find which flags are actually turned on, I don't trust emerge info, because usually I have a lot of specific use-flags for packages, especially for multimedia stuff ^^)
Comment 9 Person Sébastien 2004-12-19 12:57:50 UTC
Use included DVDNAV support
checking how to create empty arrays... configure: error: compiler is unable to creaty empty arrays

!!! ERROR: media-libs/xine-lib-1_rc8 failed.
!!! Function econf, Line 449, Exitcode 1
!!! econf failed
!!! If you need support, post the topmost build error, NOT this status message.

emerge info 
Portage 2.0.51-r3 (default-linux/x86/2004.3, gcc-3.3.4, glibc-2.3.4.20040808-r1, 2.6.9-gentoo-r1-epia i686)
=================================================================
System uname: 2.6.9-gentoo-r1-epia i686 VIA Nehemiah
Gentoo Base System version 1.4.16
distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.14.90.0.8-r1
Headers:  sys-kernel/linux-headers-2.4.21-r1
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-Os -march=i686 -msse -mmmx -mfpmath=sse -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-Os -march=i686 -msse -mmmx -mfpmath=sse -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distcc distlocks sandbox sfperms"
GENTOO_MIRRORS="ftp://mirror.switch.ch/mirror/gentoo/"
MAKEOPTS="-j6"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aalib acpi alsa apm avi berkdb bitmap-fonts chroot cle266 crypt directfb divx4linux dvd dvdread emacs encode esd f77 fam fbcon ffmpeg flac foomaticdb fortran freetype gdbm gif gpm gstreamer gtk gtk2 ieee1394 imagemagick imlib javascript jpeg libg++ libwww lirc mad matroska mikmod mmx motif mpeg mpeg4 mplayer mysql mythtv ncurses network nls noivtv oggvorbis opengl oss pam pdflib perl png python qt quicktime readline rtc samba sdl slang spell sse ssl svg svga tcpd tiff transcode truetype unicode usb v4l v4l2 via x86 xine xml2 xmms xosd xv xvid xvmc zlib video_cards_cle266"
 emerge -av xine-lib

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild     U ] media-libs/xine-lib-1_rc8 [1_rc6] +X +aalib +alsa (-altivec) -arts +avi -debug +directfb +dvd +esd -faad -fb +ffmpeg -gnome* -i8x0 -ipv6 +nls -nvidia +oggvorbis +opengl -pic +sdl -speex -theora +xvmc* 0 kB [1] 

Total size of downloads: 0 kB

Comment 10 Diego Elio Pettenò (RETIRED) gentoo-dev 2004-12-22 06:58:23 UTC
Created attachment 46628 [details]
Updated patch with portage fixes

I've applied the changes made to rc8 ebuild on official portage.
Comment 11 Diego Elio Pettenò (RETIRED) gentoo-dev 2004-12-22 07:02:21 UTC
Created attachment 46629 [details]
Ebuild synced with portage and rename faad -> aac

Sorry I changed that in my local version, but when I merged portage version I
forgot to re-add it.

This time it's included the change from faad use-flag to aac (as for other
ebuilds).
Comment 12 Diego Elio Pettenò (RETIRED) gentoo-dev 2004-12-24 01:02:04 UTC
Created attachment 46767 [details]
Ebuild updated with -r1 changes.

I'm still updating the changes to the ebuild. Hope these will go on portage in
the future.
Comment 13 Diego Elio Pettenò (RETIRED) gentoo-dev 2004-12-26 05:09:27 UTC
Created attachment 46896 [details]
1.0 final ebuild

Ok updated to 1.0 final, removed djb patch which is no more needed (applied
upstream), added new useflags, which makes optional dependency on samba, png,
mng and dvdnav (external), and useflags to disable plugins (vidix, dxr3).
Comment 14 Chris White (RETIRED) gentoo-dev 2004-12-26 20:07:33 UTC
Alright, xine-lib is up and ready in portage.  There's a seperate bug out though, as libdvdnav and ffmpeg are not marked on all the arches that have marked xine-lib.  That will be fixed shortly (I hope :).  Thanks for the ebuild postings!  I will mention however that $(foo_bar) is preferred over `foo_bar` currently.
Comment 15 Yang Dehua 2004-12-27 07:13:46 UTC
Well, the ebuild in thr portage does not work. It complained: 
configure: error: conditional "HAVE_XV" was never defined.
when I just emerged it on my ppc64.
Comment 16 Diego Elio Pettenò (RETIRED) gentoo-dev 2004-12-28 04:23:14 UTC
Sorry for $(..) / `..` change, I did it for simplify the edit, and I forgot to re-replace it before attaching.

I'm still having the xine-lib ebuild with dvdnav and ffmpeg flags locally because without the external dvdnav I'm not able to play certain DVDs.. if you can leave here a comment when the ebuild is updated with these, so that I can return to the portage version, I'll thank you :)