Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 151088 - media-video/gxine support for firefox/seamonkey flags (now an automatic dep)
Summary: media-video/gxine support for firefox/seamonkey flags (now an automatic dep)
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
: 152099 (view as bug list)
Depends on:
Blocks: 173292
  Show dependency tree
 
Reported: 2006-10-12 16:36 UTC by CFuga
Modified: 2010-04-06 10:50 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch for gxine-0.5.7.ebuild. (gxine-ebuild-0.5.7.patch,2.09 KB, patch)
2006-10-12 16:38 UTC, CFuga
Details | Diff
Patch for gxine-0.5.7 (gxine-0.5.7-seamonkey.patch,1.82 KB, patch)
2006-10-12 16:39 UTC, CFuga
Details | Diff
Patch for gxine-0.5.11.ebuild. (gxine.patch,1.51 KB, patch)
2007-04-17 23:11 UTC, CFuga
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description CFuga 2006-10-12 16:36:08 UTC
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.
Comment 1 CFuga 2006-10-12 16:38:03 UTC
Created attachment 99489 [details, diff]
Patch for gxine-0.5.7.ebuild.

It also applies to ebuild version 0.5.8.
Comment 2 CFuga 2006-10-12 16:39:18 UTC
Created attachment 99490 [details, diff]
Patch for gxine-0.5.7

It also applies to version 0.5.8.
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2006-10-13 01:02:27 UTC
Did you send this upstream?
Comment 4 CFuga 2006-10-13 07:24:58 UTC
No, I didn't send it upstream. Should I? :-)
Comment 5 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-11-30 19:12:25 UTC
*** Bug 152099 has been marked as a duplicate of this bug. ***
Comment 6 CFuga 2007-03-29 23:03:28 UTC
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.
Comment 7 Petteri Räty (RETIRED) gentoo-dev 2007-04-17 11:01:41 UTC
(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 
Comment 8 CFuga 2007-04-17 23:11:11 UTC
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 9 Samuli Suominen (RETIRED) gentoo-dev 2010-04-06 10:50:11 UTC
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...