These two patches allows to compile gxine with the libmozjs.so included with Firefox/Seamonkey. It still supports dev-lang/spidermonkey as the last available dependency. gxine-ebuild-0.5.7.patch: - Adds the autotools eclass - Adds the support for firefox/seamonkey flags - Uses eautoreconf instead of elibtoolize: the seamonkey patch modifies the m4/_js.m4 file from the source gxine-0.5.7-seamonkey.patch - Adds the --enable-seajs flag to configure I've tested both 0.5.7 and 0.5.8 releases in a stable x86 installation.
Created attachment 99489 [details, diff] Patch for gxine-0.5.7.ebuild. It also applies to ebuild version 0.5.8.
Created attachment 99490 [details, diff] Patch for gxine-0.5.7 It also applies to version 0.5.8.
Did you send this upstream?
No, I didn't send it upstream. Should I? :-)
*** Bug 152099 has been marked as a duplicate of this bug. ***
This patch was applied upstream, version 0.5.9 and up. Please close this bug when some version equal or greater than 0.5.9 of gxine is marked as stable.
(In reply to comment #6) > This patch was applied upstream, version 0.5.9 and up. Please close this bug > when some version equal or greater than 0.5.9 of gxine is marked as stable. > It seemes it's there now as automatic dependency which should be fixed: betelgeuse@pena ~/btdown/picocontainer-1.3/lib $ gxine gxine: error while loading sharedbetelgeuse@pena ~/btdown/picocontainer-1.3/lib $ gxine gxine: error while loading shared libraries: libmozjs.so.0: cannot open shared object file: No such file or directory libraries: libmozjs.so.0: cannot open shared object file: No such file or directory betelgeuse@pena ~/btdown/picocontainer-1.3/lib $ scanelf -n /usr/bin/gxine TYPE NEEDED FILE ET_EXEC libxine.so.1,libgtk-x11-2.0.so.0,libgdk-x11-2.0.so.0,libgdk_pixbuf-2.0.so.0,libm.so.6,libpango-1.0.so.0,libgobject-2.0.so.0,libgthread-2.0.so.0,libglib-2.0.so.0,libmozjs.so.0,libpthread.so.0,libdl.so.2,libc.so.6,libX11.so.6,libXext.so.6,libXinerama.so.1 /usr/bin/gxine
Created attachment 116573 [details, diff] Patch for gxine-0.5.11.ebuild. The updated version of this patch adds the USE keywords firefox, seamonkey and spidermonkey, and stops the automatic dependency reported by betelgeuse
Comment on attachment 116573 [details, diff] Patch for gxine-0.5.11.ebuild. I've tested 0.5.905 with xulrunner installed and this problem seems to have auto-resolved itself. The plug-in and gxine binary is only linked to spidermonkey's lib like expected. Firefox and Seamonkey doesn't provide headers to link against anymore...