Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 56283 - Missing mad USE flag in vlc ebuild (not showing up on emerge -pv vlc)
Summary: Missing mad USE flag in vlc ebuild (not showing up on emerge -pv vlc)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-06 15:31 UTC by Andreas Laestadius
Modified: 2004-07-24 05:00 UTC (History)
1 user (show)

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


Attachments
Patch adding the missing mad flag to IUSE parameters in vlc-0.7.2.ebuild. (vcl-0.7.2-ebuild-mad_flag_patch.diff.gz,350 bytes, text/plain)
2004-07-10 08:25 UTC, Andreas Laestadius
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Laestadius 2004-07-06 15:31:31 UTC
Trying to get sound to work in vlc, I had trouble quickly locating the correct USE flags to set, trying to enable mad mp3 support..

Reproducible: Always
Steps to Reproduce:
1. emerge -vp vlc
2.
3.

Actual Results:  
No "mad" USE flag shows in listing so I fail to compile in needed audio support;
sound in vlc playing Xvid + mp3 sound.

Expected Results:  
Expected all available USE flags to appear, so missing libraries could be added
to configuration.



1) Emerge -pv vlc shows no "mad" option
 
[ebuild   R   ] media-video/vlc-0.7.2  -(3dfx) +X -aalib +alsa -(altivec) +arts
-bidi -debug -dvb +dvd +esd +faad -fbcon -ggi +gnome +gtk +imlib -lirc -matroska
+mozilla +ncurses +nls +oggvorbis +oss +png +sdl -slp -speex -(svga) +truetype
-v4l -wxwindows -xosd +xv  0 k

Bug info from vlc shows "--disable-mad"

 main root debug: libvlc was configured with ./configure --prefix=/usr
--host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info
--datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --enable-nls
--disable-slp --disable-xosd --enable-ncurses --enable-alsa --enable-esd
--enable-oss --disable-ggi --enable-sdl --disable-mad --enable-faad
--disable-v4l --enable-dvd --enable-vcd --enable-dvdread --enable-dvdplay
--enable-dvdnav --disable-dvb --disable-pvr --disable-joystick --disable-lirc
--enable-arts --enable-gtk --enable-gnome --enable-ogg --enable-vorbis
--disable-speex --disable-mkv --enable-freetype --disable-fribidi
--disable-svgalib --disable-fb --disable-aa --disable-caca --enable-xvideo
--enable-x11 --disable-glide --disable-mga --enable-flac --with-gnu-ld
--enable-a52 --enable-dvbpsi --enable-libmpeg2 --disable-qt --disable-kde
--disable-libcdio --disable-libcddb --disable-vcdx --enable-ffmpeg
--with-ffmpeg-mp3lame --enable-livedotcom --with-livedotcom-tree=/usr/lib/live
--disable-skins2 --enable-release --enable-mozilla
MOZILLA_CONFIG=/usr/lib/mozilla/mozilla-config XPIDL=/usr/bin/xpidl


However,
$ USE="mad" emerge vlc

_Does_ work(if you know it's there!):


Debug info from vlc now shows:

main root debug: libvlc was configured with ./configure --prefix=/usr
--host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info
--datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --enable-nls
--disable-slp --disable-xosd --enable-ncurses --enable-alsa --enable-esd
--enable-oss --disable-ggi --enable-sdl --enable-mad --enable-faad --disable-v4l
--enable-dvd --enable-vcd --enable-dvdread --enable-dvdplay --enable-dvdnav
--disable-dvb --disable-pvr --disable-joystick --disable-lirc --enable-arts
--enable-gtk --enable-gnome --enable-ogg --enable-vorbis --disable-speex
--disable-mkv --enable-freetype --disable-fribidi --disable-svgalib --disable-fb
--disable-aa --disable-caca --enable-xvideo --enable-x11 --disable-glide
--disable-mga --enable-flac --with-gnu-ld --enable-a52 --enable-dvbpsi
--enable-libmpeg2 --disable-qt --disable-kde --disable-libcdio --disable-libcddb
--disable-vcdx --enable-ffmpeg --with-ffmpeg-mp3lame --enable-livedotcom
--with-livedotcom-tree=/usr/lib/live --disable-skins2 --enable-release
--enable-mozilla MOZILLA_CONFIG=/usr/lib/mozilla/mozilla-config XPIDL=/usr/bin/xpidl


"emerge -vp vlc" showing all available options could have saved me some time,
and perhaps someone else. I vote for an addition.
Comment 1 Andreas Laestadius 2004-07-10 08:25:16 UTC
Created attachment 35114 [details]
Patch adding the missing mad flag to IUSE parameters in vlc-0.7.2.ebuild.
Comment 2 Brian Harring (RETIRED) gentoo-dev 2004-07-24 04:59:47 UTC
Andreas, in the future please stick with uncompressed unified diff's (diff -u).  That said, thank you for catching this, correcting it now.
Comment 3 Brian Harring (RETIRED) gentoo-dev 2004-07-24 05:00:36 UTC
Nevermind, someone beat me to it :)