mplayerplug-in works nicely with epiphany, but emerging it requires having either firefox or seamonkey. It's OK if you use firefox as a backend for epiphany, but if you use xulrunner it will automatically want to emerge firefox, which is both useless and annoying. Please find a patch to fix that below (it's a one-liner). Denis.
Created attachment 117755 [details, diff] mplayerplug-in_epiphany.patch The patch discussed above.
you mean it should depend on xulrunner, as epiphany does not provide the needed libraries? In fact the mplayerplug-in configure should be patched as it does not have a way to specify the gecko to be used, which could bring only problems - for example (as far as I remember it) it will test for firefox, mozilla, thunderbird and xulrunner and the first one found (from some random order) will be used for the build, which is not what one wants.
(In reply to comment #2) > you mean it should depend on xulrunner, as epiphany does not provide the > needed libraries? No, I just want it to not emerge firefox when epiphany is already installed. xulrunner doesn't play any role in this, except as a backend for epiphany instead of firefox. I you look at my patch, you'll see that I'm only adding epiphany to the list of supported browsers. Denis.
Well that's the problem you don't depend on a consumer of a library, to which you are linking. As on what should mplayerplug-in depend when I want to emerge only galeon, or kazehakase, or liferea, which are all gecko embedders. On the other side kazehakase could be built either against gecko or against gtk-webcore, so if you add it for example as a dependancy of mplayerplug-in, you don't know against what it was built and the build will fail if it was build against gtk-webcore, as the gecko libraries are not installed.
I suggest you open another bug for this as this is an entirely different problem. Epiphany always has gecko support, whether it comes from firefox or xulrunner. There is nothing to fix or change to the mplayerplug-in ebuild for epiphany support, except listing it as a supported browser which it already is out of the box. Denis.
Added to mplayerplug-in 3.40, thanks for letting me know! As for the other gecko-embedders, unless mplayerplug-in supports it natively, I can't easily add support for exactly the reason you suggest. So, if you want it to work properly, I guess get upstream to support those too.