Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 36815 - mplayer-1.0_pre4 has_version '>=media-plugins/live-2004.x' evilness
Summary: mplayer-1.0_pre4 has_version '>=media-plugins/live-2004.x' evilness
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Brian Harring (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on: 41621
Blocks:
  Show dependency tree
 
Reported: 2003-12-30 08:01 UTC by Udo Beckmann
Modified: 2004-06-02 14:53 UTC (History)
2 users (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 Udo Beckmann 2003-12-30 08:01:57 UTC
Within mplayers src_compile() there is a section
===================================================================== 
if has_version media-plugins/live
	then
		einfo "Enabling LIVE.COM Streaming Media..."
		myconf="${myconf} --enable-live"
	fi
=====================================================================
This means "If media-plugins/live is installed, then configure mplayer to make
use of it". My understanding of gentoo linux always was, that this type of
configuration options should be managed by (local) use flags in order to make
systems cloneable by simply copying /etc/make.conf and /var/cache/edb/world and
running emerge world.

Mplayer also has a dependency on RealPlayer that isn't handled properly under
"cloning conditions". I.e. depending on the order of compilation the REALLIBDIR
can have different values.

Reproducible: Always
Steps to Reproduce:
Comment 1 Brian Harring (RETIRED) gentoo-dev 2004-03-03 23:38:57 UTC
E'yep.
Looking into it, the configuration control of the mplayer ebuilds is a bit lacking/ugly.
I'll probably have to add a local use flag for this...
Comment 2 Brian Harring (RETIRED) gentoo-dev 2004-06-01 07:19:38 UTC
Depending on what goes on with bug 41621, live support in mplayer-1.0_pre4 (in my books) is a definite candidate for being zapped.

The has_version is quite evil from a qa standpoint...
Comment 3 Brian Harring (RETIRED) gentoo-dev 2004-06-02 14:53:31 UTC
inline nastyness removed, use flag added. closing.