Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 122835 - kmplayer and mplayer dependency
Summary: kmplayer and mplayer dependency
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High trivial (vote)
Assignee: AMD64 Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-14 12:38 UTC by hakan
Modified: 2006-06-23 07:07 UTC (History)
1 user (show)

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


Attachments
Upated ebuild with mplayer-bin support (kmplayer-0.9.2.ebuild,1.29 KB, text/plain)
2006-05-23 10:10 UTC, Marco Gulino
Details
The patch i described before (kmplayer-0.9.2-use32bitbin.diff,9.09 KB, patch)
2006-05-23 10:12 UTC, Marco Gulino
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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!