Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 200146 - dev-lang/spidermonkey and media-gfx/freewrl file collision(s): /usr/lib/libjs.so -- freewrl includes spidermonkey and installs it
Summary: dev-lang/spidermonkey and media-gfx/freewrl file collision(s): /usr/lib/libjs...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Hanno Böck
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-11-24 01:27 UTC by karpi
Modified: 2009-10-05 16:49 UTC (History)
1 user (show)

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


Attachments
detect system-installed spidermonkey to avoid compiling its own (freewrl-1.20.6-spidermonkey.patch,1.24 KB, text/plain)
2008-08-08 15:59 UTC, Ian Stakenvicius (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description karpi 2007-11-24 01:27:17 UTC
alnagon ~ # q qfile /usr/lib/libjs.so
dev-lang/spidermonkey (/usr/lib/libjs.so)
media-gfx/freewrl (/usr/lib/libjs.so)

alnagon ~ % eix freewrl -c
[I] media-gfx/freewrl (1.16.1@29.9.2006): VRML2 and X3D compliant browser
alnagon ~ % eix spidermonkey -c
[I] dev-lang/spidermonkey (1.6@24.11.2007): Stand-alone JavaScript C library
Comment 1 Alexis Ballier gentoo-dev 2007-11-24 09:35:13 UTC
in freewrl-1.19.1/JS/js1.5/README:
This is the JavaScript SpiderMonkey version 1.5 release. This code
is verbatim from the http://www.mozilla.org website; all rights,
etc, stay with them.

so well imho this is very bad to include it and not use the system one, and even worse to install a shared library.
Comment 2 Ian Stakenvicius (RETIRED) gentoo-dev 2008-08-08 15:59:53 UTC
Created attachment 162524 [details]
detect system-installed spidermonkey to avoid compiling its own

This patch, along with a dependency requiring either xulrunner or spidermonkey (spidermonkey should go first, since it's a much smaller install), will enforce the use of system-installed libs for javascript support and so FreeWRL will skip compilation/installation of the spidermonkey source tree included in the archive.
Comment 3 Ian Stakenvicius (RETIRED) gentoo-dev 2009-02-18 19:47:36 UTC
This bug can be closed upon the adoption of one of the new ebuilds in bug # 193840