After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 324546 - switch to mozilla 1.8 branch
switch to mozilla 1.8 branch
Status: RESOLVED FIXED
Product: jhbuild
Classification: Infrastructure
Component: module sets
unspecified
Other Linux
: High major
: ---
Assigned To: James Henstridge
Jhbuild QA
: 349071 (view as bug list)
Depends on: 307418 348198
Blocks: 321180
 
 
Reported: 2005-12-19 22:53 UTC by Christian Persch
Modified: 2006-08-14 18:54 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Use xulrunner 1.8 (1.79 KB, patch)
2006-05-17 07:04 UTC, Frederic Peters
none Details | Review
The new patch to use xulrunner (1.47 KB, patch)
2006-07-23 22:42 UTC, Luca Ferretti
none Details | Review
The same patch, but using FireFox (compont browser) (1.19 KB, patch)
2006-07-23 22:43 UTC, Luca Ferretti
none Details | Review
use xulrunner 1.8; with spellchecking extension (1020 bytes, patch)
2006-08-10 19:21 UTC, Frederic Peters
committed Details | Review
Actually build xulrunner application (1.27 KB, patch)
2006-08-14 17:16 UTC, Dan Nicholson
none Details | Review

Description Christian Persch 2005-12-19 22:53:11 UTC
I want to switch jhbuild to the MOZILLA_1_8_BRANCH and the "browser" (firefox) product for Epiphany in the 2.14 moduleset since it's a nice improvement (e.g., error pages!).
The problem is that e-d-s doesn't build with that yet (bug 307418), so we need to either wait for them, or add another "mozilla-1-7" branch build just for e-d-s.
Comment 1 James Henstridge 2005-12-21 08:48:48 UTC
This sounds like a good idea.  Go ahead and make the change once e-d-s is unbroken :)
Comment 2 James Henstridge 2006-04-20 04:00:09 UTC
Christian: has there been any progress on this?
Comment 3 Christian Persch 2006-04-20 12:16:26 UTC
No, bug 307418 remains.

I tried to add a separate mozilla-1-7 build just for eds, but a) that doubles the pain since now we have to build 2 mozilla branches (which takes ages each!), and b) mozilla 1.8 branch doesn't build without patches (pangocairo patch [] at the very least). cvs builds cannot have patches, and so I tried to add a xulrunner 1.8 tarball build, but that didn't work either because the xulrunner tarball untars into mozilla/ directory...
Comment 4 Frederic Peters 2006-05-17 07:04:18 UTC
Created attachment 65640 [details] [review]
Use xulrunner 1.8

Patch to use xulrunner 1.8 (required a change to modtypes/mozillamodule.py), this may be faster to build than Firefox and it works fine (disabling NSS for e-d-s).  (see http://jhbuild.bxlug.be/builds/2006-05-17-0004/ for example)
Comment 5 Frederic Peters 2006-06-21 12:11:16 UTC
I took a new look and got e-d-s building successfully against xulrunner 1.8:

 - applying attachment 65640 [details] [review] to build xulrunner in jhbuild;
 - modifying e-d-s configure.in to look for xulrunner pkg-config files;
 - exporting xulrunner lib directory to LD_LIBRARY_PATH (or I would get undefined symbols from libnspr).
Comment 6 Frederic Peters 2006-06-24 13:42:03 UTC
the mozillamodule.py part of attachment 65640 [details] [review] has been applied to jhbuild.

2006-06-23  Marco Pesenti Gritti  <marco@gnome.org>

        * jhbuild/modtypes/mozillamodule.py:
        Add xulrunner to app names
Comment 7 Don Scorgie 2006-07-23 18:32:49 UTC
This has become a bit more of a problem now as both Epiphany and Yelp have dropped support for mozilla-1-7 and require at least 1.8 branch, so the default setup of jhbuild will fail for both.
Comment 8 Frederic Peters 2006-07-23 19:23:59 UTC
Bug 348198 should be fixed on Monday (and I added it to blockers); I also added
a new comment (and the missing patch) to bug 307418, hopefully it gets applied
fast.
Comment 9 Frederic Peters 2006-07-23 21:27:32 UTC
evoution and evolution-data-server got fixed; is it ok if I switch jhbuild
2.16 moduleset to xulrunner 1.8 ?
Comment 10 Luca Ferretti 2006-07-23 22:03:28 UTC
IMHO Firefox (component="browser") is better. Two reasons:

  1. FireFox will be included in all future distros, xulrunner not. So building it in jhbuild tinderboxes could help to re-create a "real" condition.
  2. There is no about:plugins page using xulrunner (a minor issue, but...)

OK, not so strong reasons, but maybe people could like to try FireFox 2.0 :-)

Moreover I think we should notify this change somewhere (d-d-l ml? planet gnome? both?) so people can remove legacy stuff ($prefix/lib/mozilla*, $prefix/include/mozilla*. $prefix/bin/mozilla* and $prefix/share/idl/mozilla*) and rebuild relevant modules.

Comment 11 Frederic Peters 2006-07-23 22:20:10 UTC
I would prefer xulrunner since it is smaller than Firefox and less of a moving
target.  Also Mozilla plans seem to target xulrunner 1.9 as a basis for Firefox 3.

Anyway I don't mind the default being to build Firefox, switching to xulrunner
in my builds is not that difficult :)

That said, I won't make a decision here.
Comment 12 Luca Ferretti 2006-07-23 22:40:24 UTC
Well, NSS and NSPR libs are the same, so no troubles for Evo/E-D-S to use xulrunner or firefox.

Any special needs from Gecko based applications (Ephiphany and Yelp)?

James? you are the master!
Comment 13 Luca Ferretti 2006-07-23 22:42:48 UTC
Created attachment 69442 [details] [review]
The new patch to use xulrunner

It's just the second half of previous one. Only change moduleset
Comment 14 Luca Ferretti 2006-07-23 22:43:20 UTC
Created attachment 69443 [details] [review]
The same patch, but using FireFox (compont browser)
Comment 15 Luca Ferretti 2006-07-23 22:50:22 UTC
> I would prefer xulrunner since it is smaller than Firefox and less of a moving
> target.

I agree, but...

> Also Mozilla plans seem to target xulrunner 1.9 as a basis for Firefox 3.

... IMHO jhbuild should be used to test if GNOME apps under development works in a demi-standard configuration. The gecko 1.9 roadmap should be just a draft, we don't know when it will be available. For the next 6 months/1 year Firefox 2 should be a reasonable target for jhbuild sandboxes, as well as mozilla 1.7 was in the past release cycles.
Comment 16 Christian Persch 2006-07-23 23:51:47 UTC
(In reply to comment #10)
> IMHO Firefox (component="browser") is better. Two reasons:
> 
>   1. FireFox will be included in all future distros, xulrunner not. 
Not true.

> So building
> it in jhbuild tinderboxes could help to re-create a "real" condition.
>   2. There is no about:plugins page using xulrunner (a minor issue, but...)
Very minor indeed.
 
> OK, not so strong reasons, but maybe people could like to try FireFox 2.0 :-)
They can install it from mozilla.org if they want to. Mozilla in jhbuild is here to serve as the embedding package for epiphany, yelp, devhelp and to provide NSS for evo, not to showcase another browser.
 
(In reply to comment #15)
> ... IMHO jhbuild should be used to test if GNOME apps under development works
> in a demi-standard configuration. The gecko 1.9 roadmap should be just a draft,
> we don't know when it will be available. For the next 6 months/1 year Firefox 2
> should be a reasonable target for jhbuild sandboxes, as well as mozilla 1.7 was
> in the past release cycles.

Xulrunner from 1.8 branch should be (as far as I know) fully usable with all concerned gnome modules and there already are distributions shipping xulrunner 1.8.0 as embedding base for gnome (arch linux, debian unstable and suse, there may be others). So IMO there stands nothing against using the 1.8 branch version of xulrunner here. (Trunk has some problems which have yet to be sorted out and it's generally unstable, so I agree we shouldn't go for xulrunner trunk.)
Comment 17 Don Scorgie 2006-07-28 11:30:12 UTC
*** Bug 349071 has been marked as a duplicate of this bug. ***
Comment 18 Don Scorgie 2006-07-28 12:36:43 UTC
Any progress on this?  Can the patches be applied?

Yelp is starting to receive bug reports / questions about jhbuild failing to compile. (marked as dup above)
Comment 19 Frederic Peters 2006-08-10 19:21:48 UTC
Created attachment 70668 [details] [review]
use xulrunner 1.8; with spellchecking extension

This is the same as attachment 69442 [details] [review] plus enabling spellchecking extension,
which can be used by epiphany.

I am going to apply this patch in a few days (unless big concerns are raised).
Comment 20 Elijah Newren 2006-08-10 19:36:06 UTC
/me cheers Frederic on
Comment 21 Dan Nicholson 2006-08-14 17:14:52 UTC
The current fix is not building xulrunner correctly since it passes --enable-application=browser. Looking at the xulrunner-1.5.0.4 tarball, file xulrunner/config/mozconfig shows the correct way to build xulrunner is with these settings:

# This file specifies the build flags for XULRunner.  You can use it by adding:
#  . $topsrcdir/xulrunner/config/mozconfig
# to the top of your mozconfig file.

mk_add_options MOZ_CO_PROJECT=xulrunner
ac_add_options --enable-application=xulrunner

What is actually happening right now is that you are building Firefox from the xulrunner project. That's actually bad since the Mozilla Wiki says that this project does not necessarily contain all the fixes used in the applications like Firefox.

http://wiki.mozilla.org/XUL:Xul_Runner
Comment 22 Dan Nicholson 2006-08-14 17:16:34 UTC
Created attachment 70874 [details] [review]
Actually build xulrunner application

This is untested. I've never tried building the standalone xulrunner, but this is the proper way to build it.
Comment 23 Frederic Peters 2006-08-14 17:34:08 UTC
Thanks for the notice; I patched my local copy, I'll see tomorrow in the
daily builds results if it works.  Hopefully I'll then commit the patch.
Comment 24 Dan Nicholson 2006-08-14 17:39:17 UTC
One other quick note while I've got your attention. I've built Mozilla extensively on different platforms, so I'm pretty familiar with the build system. Right now, there are a lot of things passed in the configure statement that are unnecessary because they are defaults. It's a pretty cosmetic nitpick. If you're interested, I can open a new bug with a diff and some rationale.

Or, you can read configure.in and find out what the defaults will be for a GNU system.
Comment 25 Frederic Peters 2006-08-14 18:54:01 UTC
Ran a quick build (only mozilla, epiphany and yelp) and all went fine (after I
added the file missing from winstripe theme since July 24th); great.

As for other options, they were there before I came so I don't know the rationale
behind them.  Maybe because jhbuild is also used on FreeBSD and Solaris (and...)
and they do not have the same defaults ?  Anyway you can submit a new report and
I'll look into it.