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

Bug 79201

Summary: inappropriate use of gif useflag in mplayer ebuild
Product: Gentoo Linux Reporter: Stefan Sperling <stsp>
Component: Current packagesAssignee: Gentoo Media-video project <media-video>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Stefan Sperling 2005-01-23 05:23:30 UTC
(This bug report could be viewed as a followup to bug #16288)

If use gif is set, the ebuild depends on media-libs/libgif.
quote:
	gif? ( media-libs/giflib )

If use !gif is set, the ebuild depends on media-libs/libungif.
quote:
	!gif? ( media-libs/libungif )

I wonder why gif support is added at all if use !gif is set.

There should rather be a lwz useflag that determines whether to use
libgif or libungif, instead of using the gif useflag for this purpose.
Comment 1 Jan Brinkmann (RETIRED) gentoo-dev 2005-01-23 05:54:22 UTC
this is fixed in mplayer-1.0_pre6:

  23 Jan 2005; Chris White <chriswhite@gentoo.org>
  mplayer-1.0_pre5-r5.ebuild, mplayer-1.0_pre6.ebuild:
  Fixed bug #78209. Also removed the gif lib logic in pre6 as it's no longer
  required (fixed upstream) and now gif is a true enable/disable style flag.
Comment 2 Stefan Sperling 2005-01-23 06:08:58 UTC
Wow, that was quick :)