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

Bug 16288

Summary: mplayer depend on libungif really needed ?
Product: Gentoo Linux Reporter: Andrei Ivanov <andrei.ivanov>
Component: Current packagesAssignee: Chris White (RETIRED) <chriswhite>
Status: RESOLVED INVALID    
Severity: enhancement    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Andrei Ivanov 2003-02-24 12:45:53 UTC
I've installed mplayer from cvs and it doesn't seem to require libungif (it
seems pretty happy with libgif). Is there something I don't know about this
requirement ?

Reproducible: Always
Steps to Reproduce:
Comment 1 Martin Schlemmer (RETIRED) gentoo-dev 2003-02-24 14:09:01 UTC
This is without libungif:

----------------------------------------
Checking for JPEG support ... yes
Checking for GIF support ... no
Checking for VESA support ... yes
Comment 2 Andrei Ivanov 2003-02-27 06:54:22 UTC
Checking for JPEG support ... yes
Checking for GIF support ... yes (old version, some encoding functions disabled)
Checking for VESA support ... yes

*  media-libs/giflib
      Latest version available: 4.1.0-r3
      Latest version installed: 4.1.0-r3

*  media-libs/libungif
      Latest version available: 4.1.0-r1
      Latest version installed: [ Not Installed ]
Comment 3 Martin Schlemmer (RETIRED) gentoo-dev 2003-03-06 16:36:00 UTC
Right, so for some setups its needed, and some not.  Its anyhow not a big
dep.
Comment 4 Chris Gianelloni (RETIRED) gentoo-dev 2004-07-26 05:17:21 UTC
If you do not have either libungif or libgif installed, and have USE=-gif, mplayer 1.0_rc5-r1 will *not* build.
Comment 5 Chris Gianelloni (RETIRED) gentoo-dev 2004-07-26 05:18:16 UTC
Hey Chris... this is an oldie, but one I just experienced... so I figure since you're the new mplayer guru, I would send this your way...
Comment 6 Chris White (RETIRED) gentoo-dev 2004-07-26 08:43:34 UTC
You are indeed right, libgif will work with mplayer when libungif is installed.

However, the "whether or not it depends" is another story.

libungif does not contain LWZ compression, something that iirc is somewhat
of a patent issue.  libgif DOES contain it.  This is the main difference.

The gif use flag has always worked as USE="gif" gives you libgif.
USE="-gif" gives you libungif.  That's just how it works.

mplayer will use either, so this isn't really something that
myself, nor upstream is going to fix.