Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 122835

Summary: kmplayer and mplayer dependency
Product: Gentoo Linux Reporter: hakan
Component: New packagesAssignee: AMD64 Project <amd64>
Status: RESOLVED FIXED    
Severity: trivial CC: deathwing00
Priority: High    
Version: 2005.1   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Upated ebuild with mplayer-bin support
The patch i described before

Description hakan 2006-02-14 12:38:09 UTC
The kmplayer (currently 0.9.1a) ebuild has

RDEPEND="mplayer? ( >=media-video/mplayer-0.90 )
        xine? ( >=media-libs/xine-lib-1_beta12 )

and generates a warning if none of the above flags is present. At least amd64 arch users have 32 bit mplayer-bin installed, and probably remove both the USE flags and sit happily with the warning message.

* I suggest, if possible, USE-flag mplayer should be happy enough if mplayer-bin is present.
* I also suggest mplayer-bin should create a symlink /usr/bin/mplayer so that applications like kmplayer works out of the box with mplayer-bin.
Comment 1 Carsten Lohrke (RETIRED) gentoo-dev 2006-02-15 07:13:13 UTC
amd64: Feel free to add it to dependencies, when mplayer-bin is in $PATH as mplayer. Should't mplayer and mplayer-bin block each other, btw.?!
Comment 2 Marco Gulino 2006-05-23 10:10:34 UTC
Created attachment 87329 [details]
Upated ebuild with mplayer-bin support

I created an ebuild with mplayer-bin dependency, which enables a patch (follows as another attachement)
Probably it should be tweaked a bit, but first it should be decided a policy about allowing or not both mplayer and mplayer-bin flags.
Comment 3 Marco Gulino 2006-05-23 10:12:24 UTC
Created attachment 87331 [details, diff]
The patch i described before

This patch replaces "mplayer" references to "mplayer-bin"
Comment 4 Carsten Lohrke (RETIRED) gentoo-dev 2006-05-25 08:33:18 UTC
mplayer? ( || ( media-video/mplayer media-video/mplayer-bin ) )

is needed, not another use flag.
Comment 5 Simon Stelling (RETIRED) gentoo-dev 2006-06-23 07:07:20 UTC
fixed for now, without a new use flag. for the future, it might have been better to have a --mplayer-bin= switch in configure instead of a hardcoded path. thanks for the patch marco!