Page 1 of 1

Getting a Gxine compile to see seamonkey/js

Posted: 12. Sep 2012, 22:03
by sojurn
The scenario: On a new LXDE 13.37 system am looking for a replacement for Whaaw! (no dvd sound, doesn't display a menu, and it looks not this was never resolved), and want to keep things small and basic, so no vlc, no qt, not too gnome-y and so forth. At my disposal are mplayer2 (for testing nanonote programs where it is the player) and xine-lib (needed for me-tv). So just a straight forward gtk front-end for either, so the thinking, and settled on Gxine, it seemed the best solution.

But have trouble with it compiling, and I am not the only one, have found things both here and on the internet, and just can't get it working. So before my frustration level gets too high, well, just ask. I've been able to work things out up till now with compiling, but don't know what to do here.

seamonkey-solibs 2.12.1-i486-1_slack13.37 is installed (not 2.1b3-486-2)

the ld.so-conf file contents:
/usr/local/lib
/usr/i486-slackware-linux/lib

and the error, on: [gxine-0.5.905]$ ./configure
...
configure: looking for the Spidermonkey Javascript library in various places.
configure: trying mozjs via pkgconfig xulrunner-js
checking for JS... no
configure: trying mozjs via pkgconfig mozilla-js
checking for JS... no
configure: trying mozjs via pkgconfig firefox-js
checking for JS... no
configure: trying mozjs via pkgconfig seamonkey-js
checking for JS... no
configure: trying mozjs, includes in /usr/include/mozilla/js
checking for mozilla/js/jsapi.h... no
configure: trying mozjs, includes in /usr/include/firefox/js
checking for firefox/js/jsapi.h... no
configure: trying mozjs, includes in /usr/include/firefox-1.5/js
checking for firefox-1.5/js/jsapi.h... no
configure: trying mozjs, includes in /usr/include/seamonkey/js
checking for seamonkey/js/jsapi.h... no
configure: error: libjs not found

And it has to do with the javascript and the seamonkey package, that gxine needs parts of this (libmozjs.so for example), and the compile isn't seeing it. That is my understanding anyway, but could be wrong. And tried various things. I could list them and will, but I thought since this seems a known problem was wondering if anyone could point the way.

Re: Getting a Gxine compile to see seamonkey/js

Posted: 12. Sep 2012, 22:09
by gapan
You probably need xulrunner. But I would probably go with gnome-mplayer as a frontend to mplayer2 in your case. I think gxine is mostly abandoned by now.

Re: Getting a Gxine compile to see seamonkey/js

Posted: 12. Sep 2012, 22:40
by sojurn
gapan wrote:You probably need xulrunner. But I would probably go with gnome-mplayer as a frontend to mplayer2 in your case. I think gxine is mostly abandoned by now.
They both look fine (I was looking at Gxine on another system, and so haven't quite given up on it yet), but Gnome-mplayer is what I was using before, and like it. So found it just now in Sourcery.

OK, this is probably enough. But the feeling of being so close with the Gxine still irks me!

When I am installing in Sourcery like this, is there a way to see in advance what will be installed and how large that will be? Because I am trying to keep Samba and a few things off the system, and keep having to uncheck it in Gslapt-get, and with Sourcery things more or less just install. My Salix worldview is still rather limited.

Re: Getting a Gxine compile to see seamonkey/js

Posted: 13. Sep 2012, 07:13
by thenktor
sojurn wrote:and want to keep things small and basic, so no vlc, no qt, not too gnome-y and so forth.
Well... :roll: then xine-ui is for you :mrgreen:

Re: Getting a Gxine compile to see seamonkey/js

Posted: 13. Sep 2012, 07:44
by gapan
sojurn wrote:When I am installing in Sourcery like this, is there a way to see in advance what will be installed and how large that will be?
No.

Re: Getting a Gxine compile to see seamonkey/js

Posted: 18. Sep 2012, 17:13
by sojurn
thenktor wrote:
sojurn wrote:and want to keep things small and basic, so no vlc, no qt, not too gnome-y and so forth.
Well... :roll: then xine-ui is for you :mrgreen:
To update status on this:

Xine-lib and mplayer2 are givens on my system like I mentioned (the one for me-tv, the other as a cli player). I've dropped Gxine in the meantime for a number of reasons, but xine-ui really is rock solid on CD and especially DVD playback, where other programs sometimes have problems. Whaawmp on the other hand is impressive for such a small program, it plays most everything, the only hiccups being with DVD sound. And so will look at that again, try to track down the cause (which might not be whaawmp at all). I have both at the moment.

Regarding the Gxine, since that is what this thread is about: Yes, it does have nice features and a gtk look. I ran it in salix 13.1.2 where it is packaged to check it out. Mostly positive, but I could also get it to seg-fault from time to time. A bad start. And the compilation is problematic, and the linking to the seamonkey solibs is problematic, and hidden in build notes are a "shreek" about what a horrid idea adding those links was (and that for a buggy program...), and the reason they are now removed, and on and on. So it became a case of diminishing returns for me.