Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 49481 - Mplayer 1.0pre4 needs newer version of live.com libraries than is in stable
Summary: Mplayer 1.0pre4 needs newer version of live.com libraries than is in stable
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
: 49399 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-04-30 03:16 UTC by Maxwell Grender-Jones
Modified: 2004-06-02 14:52 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Maxwell Grender-Jones 2004-04-30 03:16:25 UTC
in stable, the latest version of the media-plugins/live is 2003.04.11 - however, the version of mplayer currently in stable (1.0pre4) needs newer libraries (> 2004.01.05)

Reproducible: Always
Steps to Reproduce:
1. emerge mplayer with the live.com USE flag set 
2.
3.

Actual Results:  
mplayer compile failed

Expected Results:  
it should have compiled correctly ;)

make[1]: Entering directory
`/var/tmp/portage/mplayer-1.0_pre4/work/MPlayer-1.0pre4/libmpdemux'
gcc -c -I../libvo/ -I../../libvo -O4 -march=athlon-xp -mcpu=athlon-xp -pipe
-ffast-math -fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2
-I/usr/lib/glib/include -I/usr/X11R6/include -I../loader  -I/usr/include/gtk-1.2
-I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include    
-I/usr/lib/live/liveMedia/include -I/usr/lib/live/UsageEnvironment/include
-I/usr/lib/live/BasicUsageEnvironment/include -I/usr/lib/live/groupsock/include
-o demux_rtp.o demux_rtp.cpp
In file included from demux_rtp.cpp:8:
demux_rtp_internal.h:20:2: #error Please upgrade to version 2004.01.05 or later
of the "LIVE.COM Streaming Media" libraries - available from
<www.live.com/liveMedia/>
Comment 1 Maxwell Grender-Jones 2004-04-30 03:23:52 UTC
Having looked at the ebuild (prior to trying to make a patch) have discovered it's not actually a USE flag, just a 'is media-libs/live' installed flag i.e.:

if has_version media-plugins/live
        then
                einfo "Enabling LIVE.COM Streaming Media..."
                myconf="${myconf} --enable-live"
        fi
that gets checked. It's beyond my ken, but if it's possible to check if has_version >= media-plugins/live-2004.01.05 then the compile would work. However, that seems a bit unsatisfactory, as people will expect live support to be built in to mplayer, if they have live installed, so maybe it *should* be a USE flag, so that we can do proper dependencies?
Comment 2 Martin Holzer (RETIRED) gentoo-dev 2004-04-30 04:14:42 UTC
live is now a local use flag. 

thx
Comment 3 Martin Holzer (RETIRED) gentoo-dev 2004-04-30 04:18:59 UTC
*** Bug 49399 has been marked as a duplicate of this bug. ***
Comment 4 Maxwell Grender-Jones 2004-04-30 08:53:57 UTC
given that there isn't a version of the live libraries in stable x86, should this build be marked ~x86? or do you want to mark a live library x86?
Comment 5 Brian Harring (RETIRED) gentoo-dev 2004-06-02 14:52:52 UTC
live-2004.03.27 is now x86; mplayer-1.0_pre4 has been updated and had a use flag added, and the *evil* inline autodetect and enable is now removed.

Might wanna re-emerge mplayer, a lot of the autodetect stuff has been cleaned up and now explicitly controlled via use flag.
Either way, fixed :)