Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 391297

Summary: www-client/elinks-0.12_pre5-r1[javascript] : please add support for spidermonkey-1.8.5
Product: Gentoo Linux Reporter: Ian Stakenvicius (RETIRED) <axs>
Component: Current packagesAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
Status: RESOLVED FIXED    
Severity: normal CC: alecm_88, travisghansen
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 376987    
Attachments: updated ebuild with spidermonkey-1.8.5 support
updated ebuild with spidermonkey-1.8.5 support

Description Ian Stakenvicius (RETIRED) gentoo-dev 2011-11-21 20:57:53 UTC
Created attachment 293361 [details]
updated ebuild with spidermonkey-1.8.5 support

As spidermonkey-1.8.5 is being unmasked, and other packages are going to require this version at minimum, this package will end up blocking the upgrades.

I've got an update and patchset (based on fedora's) that seems to work, but I can't actually test it at runtime (i haven't found any example javascript pages that work yet)  

I'm attaching the updated ebuild, and would appreciate it if you could runtime-test it or give the go-ahead to commit.
Comment 1 Ian Stakenvicius (RETIRED) gentoo-dev 2011-11-21 21:04:55 UTC
Created attachment 293363 [details]
updated ebuild with spidermonkey-1.8.5 support

uploaded the wrong ebuild the first time; this one applies patches properly.
Comment 2 Travis Hansen 2011-11-26 07:30:45 UTC
Per http://elinks.cz/documentation/html/manual.html-chunked/ch15.html

Javascript support is to: As a user of ELinks, you can control its behaviour by writing scripts in ECMAScript.

It does add basic javascript support to actual pages getting loaded as well, however do not expect to be using jQuery :)

I have confirmed that they (user scripts, and page scripts) are both working as to be expected.

You may consider adding contrib/smjs/*.js to /etc/elinks in the ebuild.  If you do so I would rename the hooks.js (the loader) file to hooks.js.example to make the user explicitly enable those hooks globally.
Comment 3 Samuli Suominen (RETIRED) gentoo-dev 2012-03-03 16:03:56 UTC
*** Bug 406721 has been marked as a duplicate of this bug. ***
Comment 4 Pacho Ramos gentoo-dev 2012-03-03 16:13:05 UTC
Ian, as you can test that patches, feel free to commit the fix (this package is orphan)
Comment 5 Pacho Ramos gentoo-dev 2012-04-16 11:03:04 UTC
+*elinks-0.12_pre5-r2 (16 Apr 2012)
+
+  16 Apr 2012; Pacho Ramos <pacho@gentoo.org> +elinks-0.12_pre5-r2.ebuild,
+  -elinks-0.12_pre5-r1.ebuild, -elinks-0.12_pre5.ebuild:
+  Support spidermonkey-1.8.5, bug #391297 by Ian Stakenvicius. Remove old.
+