[Bug 373972] New: xulrunner usage seems wrong in conduit
https://bugzilla.novell.com/show_bug.cgi?id=373972 Summary: xulrunner usage seems wrong in conduit Product: openSUSE 11.0 Version: Alpha 3 Platform: Other OS/Version: openSUSE 11.0 Status: NEW Severity: Major Priority: P5 - None Component: GNOME AssignedTo: bnc-team-gnome@forge.provo.novell.com ReportedBy: wolfgang@rosenauer.org QAContact: qa@suse.de Found By: --- conduit-set-mozilla-five-home.patch: --- conduit/conduit (revision 1381) +++ conduit/conduit (working copy) @@ -4,14 +4,10 @@ # Work around https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/26436 # Note: This bug is also present in Mandriva and Fedora, for this reason, # We will use run-mozilla in all cases +XUL_PATH=`ls -d /usr/lib*/xulrunner* | tail -n 1` XUL_PATH looks wrong for different reasons: 1. the Python module around gtkmozembed is not arch independent 2. xulrunner-1.9 doesn't have libgtkmozembed.so and the module doesn't work with it yet I think it only makes sense to use XUL_PATH=/usr/$LIB/xulrunner-1.8.1 where $LIB is the fitting architecture to what conduit is built for. Every XULRunner 1.8.1 version should provide a symlink und the above location and XULRunner 1.9.x doesn't work yet for conduit/python. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=373972
JP Rosevear
https://bugzilla.novell.com/show_bug.cgi?id=373972
User crivera@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=373972#c1
Chris Rivera
XUL_PATH looks wrong for different reasons:
1. the Python module around gtkmozembed is not arch independent 2. xulrunner-1.9 doesn't have libgtkmozembed.so and the module doesn't work with it yet
I think it only makes sense to use XUL_PATH=/usr/$LIB/xulrunner-1.8.1 where $LIB is the fitting architecture to what conduit is built for.
$LIB needs to be determined from the arch of the package providing the python gtkmozembed wrapper, correct? Conduit itself is pure python. This hack is to prevent gtkmozembed from crashing if MOZILLA_FIVE_HOME isn't set correctly.
Every XULRunner 1.8.1 version should provide a symlink und the above location and XULRunner 1.9.x doesn't work yet for conduit/python.
From my understanding this patch won't be necessary for xulrunner 1.9 so hard coding 1.8.1 is ok.
-- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=373972
User wolfgang@rosenauer.org added comment
https://bugzilla.novell.com/show_bug.cgi?id=373972#c2
Wolfgang Rosenauer
(In reply to comment #0 from Wolfgang Rosenauer)
XUL_PATH looks wrong for different reasons:
1. the Python module around gtkmozembed is not arch independent 2. xulrunner-1.9 doesn't have libgtkmozembed.so and the module doesn't work with it yet
I think it only makes sense to use XUL_PATH=/usr/$LIB/xulrunner-1.8.1 where $LIB is the fitting architecture to what conduit is built for.
$LIB needs to be determined from the arch of the package providing the python gtkmozembed wrapper, correct? Conduit itself is pure python. This hack is to prevent gtkmozembed from crashing if MOZILLA_FIVE_HOME isn't set correctly.
Yes, $LIB needs to fit the gtkmozembed python wrapper. I'm not absolutely sure how to get that.
From my understanding this patch won't be necessary for xulrunner 1.9 so hard coding 1.8.1 is ok.
The patch won't be necessary for 1.9 but the gtkmozembed wrapper need to be modified for it (what it isn't right now I guess). -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=373972
User crivera@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=373972#c3
Chris Rivera
participants (1)
-
bugzilla_noreply@novell.com