Bug 107755 - Graveman should properly handle OGG and MP3 use flags
Bug#: 107755 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: minor Priority: P2
Resolution: FIXED Assigned To: media-optical@gentoo.org Reported By: adam@tpetaccia.com
Component: GNOME
URL: 
Summary: Graveman should properly handle OGG and MP3 use flags
Keywords:  
Status Whiteboard: 
Opened: 2005-09-30 23:00 0000
Description:   Opened: 2005-09-30 23:00 0000
I installed graveman with both the use flags ogg and mp3, but it still would
only burn flac and wav files.  When I emerged sox, the problem was solved. 
Having OGG or MP3 enable should depend on sox.

Reproducible: Always
Steps to Reproduce:




Portage 2.0.52-r1 (default-linux/x86/2005.1, gcc-3.4.4, glibc-2.3.5-r1,
2.6.13-ck6 i686)
=================================================================
System uname: 2.6.13-ck6 i686 AMD Athlon(tm) XP 3200+
Gentoo Base System version 1.12.0_pre8
dev-lang/python:     2.3.5-r1, 2.4.2
sys-apps/sandbox:    1.2.13
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/init.d /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distcc distlocks sandbox sfperms strict userpriv usersandbox"
GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo
http://mirrors.acm.cs.rpi.edu/gentoo/ http://gentoo.mirrors.tds.net/gentoo
http://mirror.datapipe.net/gentoo
http://distro.ibiblio.org/pub/linux/distributions/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowext X a52 aac aalib acpi alsa apache2 avi berkdb
browserplugin bzip2 c++ cairo cdb cdda cddb cdparanoia cdr cjk cracklib crypt
cups curl dbus divx4linux dlloader dvd dvdread edl eds emboss encode epiphany
evo extensions fam fat festival ffmpeg firefox flac foomaticdb fortran gecko-sdk
gif gimp gimpprint gnome gnome-print gstreamer gtk gtk2 gtkhtml hal howl
imagemagick imlib ithreads java jpeg libg++ libwww live logrotate mad matroska
md5sum mikmod mmx moznocompose moznoirc moznomail mp3 mpeg mysql ncurses network
nls nptl nptlonly nsplugin nvidia offensive ogg oggvorbis opengl pam pdf pdflib
pic png python quicktime readline real rhythmbox rtc samba screen sdl sox spell
sse ssl stroke svg tcpd theora threads truetype truetype-fonts unicode
userlocales utf8 vorbis win32codecs xml xml2 xscreensaver xv xvid zeroconf zlib
userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS

------- Comment #1 From Mike Gardiner (RETIRED) 2005-10-01 00:42:15 0000 -------
Please do not assign bugs unless you know where they go, let bug-wranglers
handle it.

------- Comment #2 From Tobias Scherbaum 2005-10-15 23:03:03 0000 -------
Fixed in graveman-0.3.12_p4-r1, thanks Adam!

------- Comment #3 From Bel Zébute 2005-11-09 10:42:09 0000 -------
I'm sorry to tell, but the fix is very ugly.

Instead of having a message that will interrupt the emerges because of
interdependent USE flags, I suggest you use this DEPEND construct instead: 

DEPEND=">=x11-libs/gtk+-2.4
    >=dev-libs/glib-2.4
    >=gnome-base/libglade-2.4
    >=dev-util/intltool-0.22
    flac? ( >=media-libs/flac-1.1.0 )
    nls? ( sys-devel/gettext )
    mp3? ( >=media-libs/libid3tag-0.15
        >=media-libs/libmad-0.15
        >=media-sound/sox-12.17.0 )
    oggvorbis? ( >=media-libs/libogg-1.0
        >=media-libs/libvorbis-1.0
        >=media-sound/sox-12.17.0 )"
RDEPEND="${DEPEND}
    >=app-cdr/cdrtools-2.0
    >=app-cdr/cdrdao-1.1.9
    media-libs/libmng
    dvdr? ( >=app-cdr/dvd+rw-tools-5.20 )"