Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 38665 - can't install mjpegtools without glib 1.2 / gtk 1.2
Summary: can't install mjpegtools without glib 1.2 / gtk 1.2
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-18 16:28 UTC by Stephane Loeuillet
Modified: 2007-05-22 20:52 UTC (History)
1 user (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 Stephane Loeuillet 2004-01-18 16:28:31 UTC
quite the same problem : http://bugs.gentoo.org/show_bug.cgi?id=19804

here is its DEPEND string in the ebuild :

DEPEND="media-libs/jpeg
	>=sys-apps/sed-4
	=dev-libs/glib-1.2*
	x86? ( media-libs/libmovtar
		mmx? ( >=media-libs/jpeg-mmx-1.1.2-r1 dev-lang/nasm )
		3dnow? ( dev-lang/nasm )
		sse? ( dev-lang/nasm )
	)
	gtk? ( =x11-libs/gtk+-1.2* )
	avi? ( >=media-video/avifile-0.7.38 )
	dv? ( >=media-libs/libdv-0.99 )
	quicktime? ( virtual/quicktime )
	sdl? ( media-libs/libsdl )
	X? ( x11-base/xfree )"

first, mjpegtools compiles well without glib 1.2 (it compiles against v2.x)

second, libmovtar is gtk-1.2 only and would force any x86 user to install glib/gtk 1.2

could we have a USE flag to say explicitly that we do not want any glib / gtk 1.2 ??


Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Stephane Loeuillet 2004-01-18 16:29:07 UTC
oh, and not to forget that 1.6.1.93 is out
Comment 2 Stephane Loeuillet 2004-01-18 20:03:57 UTC
Martin Holzer <mholzer@gentoo.org> just bumped mjpegtools to 1.6.1.93

still the same glib/gtk 1.2 problem
Comment 3 Patrick Kursawe (RETIRED) gentoo-dev 2004-03-18 01:29:05 UTC
I have the impression that latest mjpegtools never compiles against glib-2 - it needs glib-1.2 when gtk is in USE and does not need glib at all if built without gtk support.
Updating the dependencies of 1.6.2-r1 accordingly.
I was less lucky for latest stable version, 1.6.1.90-r2 failed to compile without glib.
Comment 4 Patrick Kursawe (RETIRED) gentoo-dev 2004-03-18 01:34:24 UTC
Oh, about the libmovtar issue - this package needs glib 1.2, and I think this little package is not worth introducing a new USE flag.
Comment 5 Santiago M. Mola (RETIRED) gentoo-dev 2006-09-01 12:04:54 UTC
Circumstances have changed about this issue.
Now mjpegtools doesn't depend on glib-1.2* but when using x86, it install libmovtar which depends on glib-1.2. 

So the gtk USE flag on this package has no real effect (or not the desired effect) when using x86.

It could be fixed changing DEPEND like this:
-       x86? ( media-libs/libmovtar
+       x86? ( gtk? media-libs/libmovtar
                mmx? ( >=media-libs/jpeg-mmx-0.1.6 )