edbrowse-dev - development list for edbrowse
 help / color / mirror / Atom feed
From: Chris Brannon <chris@the-brannons.com>
To: Edbrowse-dev@lists.the-brannons.com
Subject: Re: [Edbrowse-dev] js shell
Date: Sat, 08 Feb 2014 08:16:31 -0800	[thread overview]
Message-ID: <87d2ixfulc.fsf@mushroom.PK5001Z> (raw)
In-Reply-To: <20140108095642.eklhad@comcast.net> (Karl Dahlke's message of "Sat, 08 Feb 2014 09:56:42 -0500")

Karl Dahlke <eklhad@comcast.net> writes:

> If you take this stand alone program and compile it
> against the debian library does it run?

It isn't quite standalone, as it uses headers private to mozjs, some of
which are autogenerated.  I can't seem to get it to build without
building the whole libmozjs.
On Debian, the libmozjs source is intertwined with the source for
iceweasel, which is basically their rebranded firefox.  So in order to
build the js shell, I have to build a whole web browser!
Or at the very least, I need to get through its ./configure phase.
Unfortunately, that's going to require installing a bunch of development
packages for GUI libraries, and my VM disk image just doesn't have enough
space for that.

They do package the JS shell, and it works fine,
but it is statically linked against Spidermonkey.  IMHO, that isn't a
good test of whether the dynamic libmozjs library is working properly.

A better question is this.  Do they have any package that does link
against the libmozjs dynamic library?
Yes they do.

Script started on Sat Feb  8 08:12:07 2014
chris@somehost:~$ apt-cache rdepends libmozjs24d
libmozjs24d
Reverse Depends:
  xulrunner-24.0
  libmozjs24d-dbg
  libmozjs-dev
chris@somehost:~$ apt-cache rdepends xulrunner-24.0
xulrunner-24.0
Reverse Depends:
  zotero-standalone
 |tuxguitar
  xulrunner-dev
  xulrunner-24.0-dbg
  iceweasel
 |conkeror
chris@somehost:~$ exit
exit

Script done on Sat Feb  8 08:12:48 2014

So presumably all of that stuff that depends on xulrunner -- and
indirectly on libmozjs -- works just fine.  Can we conclude that their
package doesn't have a bug and we're doing something wrong in JS
initialization?

-- Chris

      reply	other threads:[~2014-02-08 16:17 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-08 14:56 Karl Dahlke
2014-02-08 16:16 ` Chris Brannon [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87d2ixfulc.fsf@mushroom.PK5001Z \
    --to=chris@the-brannons.com \
    --cc=Edbrowse-dev@lists.the-brannons.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).