[Grml] building elinks with javascript support

Michael Prokop mika at grml.org
Sun Jun 17 12:00:21 CEST 2007


* Doug Smith <bdsmith at buncombe.main.nc.us> [20070612 22:15]:

> Ok, I hate to do this.  I really don't like to ask questions before
> finding the answer, but this one seems to be limited by information
> that does not seem to be true.  It's probably outdated.  

> I need to build elinks with javascript support.  I am one of your
> blind grmlers.  I heard that it wasn't built into the stock Debian
> binary so I went testing.
[...]

Notice: libsmjs-dev you mentioned isn't present anymore (see
http://packages.debian.org/changelogs/pool/main/x/xulrunner/current/changelog
for the transition), the development files are in libmozjs-dev now.
The elinks_javascript.diff patch I attached to this mail works
around this problem.

So, hack until JS support is included in the official Debian
package:

sudo apt-get install libmozjs-dev libgnutls13 libgnutls-dev
sudo apt-get build-dep elinks
cd /tmp
apt-get source elinks
cd elinks-0.11.1
patch -p1 < ../elinks_javascript.diff
sed -i 's/--without-spidermonkey//' debian/rules
dch -i
fakeroot debian/rules binary
sudo dpkg -i ../elinks_0.11*.deb

regards,
-mika-
-- 
 http://grml.org/            # Linux for texttool-users and sysadmins
 http://wiki.grml.org/       # share your knowledge
 http://grml.supersized.org/ # the grml development weblog
 #grml @ irc.freenode.org    # meet us on irc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: elinks_javascript.diff
Type: text/x-diff
Size: 1087 bytes
Desc: not available
URL: <http://ml.grml.org/pipermail/grml/attachments/20070617/43ce6f9d/attachment-0002.diff>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://ml.grml.org/pipermail/grml/attachments/20070617/43ce6f9d/attachment-0004.pgp>


More information about the Grml mailing list