Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 217160 - net-www/mplayerplug-in and net-libs/xulrunner
Summary: net-www/mplayerplug-in and net-libs/xulrunner
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Joe Jezak (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-10 16:49 UTC by Dennis Schridde
Modified: 2008-06-18 18:08 UTC (History)
3 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 Dennis Schridde 2008-04-10 16:49:07 UTC
I think net-www/mplayerplug-in should depend on net-libs/xulrunner (instead of www-client/mozilla-firefox-2) by default, because of following paragraph from www-client/mozilla-firefox-3.0_beta5 postinst:
    ewarn "All the packages built against ${PN} won't compile,"
    ewarn "since they should be built against net-libs/xulrunner,"
    ewarn "therefore you should check if your package builds against"
    ewarn "xulrunner and if it doesn't, file a bug, thanks."

By default default-linux/amd64/2007.0/desktop has USE=firefox, which will make net-www/mplayerplug-in use www-client/mozilla-firefox-2* by default.
I dont know how this could be solved cleanly, while providing the ability to still depend on firefox, if that is at all desired.

Reproducible: Always

Steps to Reproduce:
Comment 1 Raúl Porcel (RETIRED) gentoo-dev 2008-04-10 18:27:43 UTC
Yeah, xulrunner should be over everything else...

The depend should look like:
	xulrunner? ( =net-libs/xulrunner-1.8* )
	!xulrunner? ( firefox? ( =www-client/mozilla-firefox-2* ) )
	!xulrunner? ( !firefox? ( seamonkey? ( =www-client/seamonkey-1* ) ) )
Comment 2 Dennis Schridde 2008-04-10 18:47:47 UTC
If I go by that warning, I think it should be
firefox? ( firefox )
!firefox? ( seamonkey? ( seamonkey ) )
!firefox? ( !seamonkey? ( xulrunner ) )

Or use your deps and IUSE=+xulrunner

Or strip everything but xulrunner at all, if seamonkey can utilise xulrunner, too.
Comment 3 Dennis Schridde 2008-04-10 19:04:27 UTC
Forget the first part...
echo "enable" > /dev/brain
Comment 4 Giordano 2008-04-19 10:50:47 UTC
Would it be possible to use xulrunner-bin alternatively to xulrunner in the dependencies list?

At the moment I'm forced to compile xulrunner only because of two packages, namely acroread and mplayerplug-in.

I've noticed that starting from acroread version 8.1.2-r2 it will be possible to use xulrunner-bin and it would be nice if that was possible for mplayerplug-in as well.
Comment 5 Leonardo Valeri Manera 2008-04-19 14:34:54 UTC
There's a further issue at play here: currently mplayerplug-in doesnt select the 1.8 xulrunner libs/headers, so if you have both 1.8 and 1.9 installed, it'll croak pitifully on compile.

So it going to need either a slotted dep on XUL, with a fix to make it use 1.8 only, or a (possibly larger) fix to make it work with 1.9 too.
Comment 6 Raúl Porcel (RETIRED) gentoo-dev 2008-06-12 18:25:21 UTC
Fixed, and for the request of using xulrunner-bin, thats the same issue as using a -bin package of firefox or seamonkey...