On Wed, Nov 30, 2011 at 12:08:46PM -0800, Fernando de Oliveira wrote: > Hi, Ken, > > I do not know if this will help, but it is how I build firefox 8.0.1 (without > xulrunner installed). I am looking forward to your instructions in BLFS, to > see if I could build ff against xulrunner. > Andy's already updated firefox and xulrunner in the book ;) > The firefox-8.0.1.source-to-blfs-support.sh attatchment is my script without > some "noise". The firefox-8.0.1-asciidel.patch serves to fix a problem in the > software window bar. I included a > firefox-8.0.1-mozconfig-to-firefox-7.0.1-mozconfig.diff file, because now a > instability in ff-8.0.1 appeared (that I know how to reproduce), which I > believe I did not have in ff-7.0.1, and my next build will test that in a > newer version of ff. > > The systems are LFS 6.5, 6.7, 6.8, running gtk+-2.24.8, and respective > glibc's. > So, if *you* don't have a problem with black backgrounds in the main menu and black-on-black text in pop-ups then gtk+-2.24.8 is innocent. And you must have updated to a matching glib2 to be able to build that version of gtk+.
> I would like to ask to put in the book instructions not to build with "make > install", after "make": > > make -f client.mk build; make install > > but > > make -f client.mk build; make -C ../firefox-build/browser/installer > > and then, something like: > > tar -vxjf ../firefox-build/dist/firefox-8.0.1.en-US.linux-i686.tar.bz2 -C .. > && > mv -v ../firefox /usr/lib/firefox-8.0.1 && > test ! -L /usr/lib/firefox || rm -rf /usr/lib/firefox && > ln -sv /usr/lib/$PACKAGE /usr/lib/firefox && > test ! -L /usr/bin/firefox || rm -rf /usr/bin/firefox && > ln -sv /usr/lib/firefox/firefox /usr/bin/firefox > > (My script generates firefox-8.0.1.pt_BR.linux-i686.tar.bz2, not en-US.) > > The reason is that "make install" installs about four directories (including > a devel one), while the dist approach installs only one, which is easier to > remember when upgrading ff, and smaller in size. Interesting, the book used to have something like 'make dist' but it was never explained - I assumed 'make install' didn't exist in those days. Much of mozilla is a mystery. I thought the development directories were just one of the things that mozilla did to be plain awkward. > diff -up mozilla-release/browser/base/Makefile.in.fu > mozilla-release/browser/base/Makefile.in > Patch from: Bill Nottingham <notting@xxxxxxxxxx> (Fedora) > http://osdir.com/ml/scm-fedora-commits/2011-06/msg10320.html > --- mozilla-release/browser/base/Makefile.in.fu 2011-07-01 > 22:40:52.048773336 -0300 > +++ mozilla-release/browser/base/Makefile.in 2011-07-01 22:42:30.866213879 > -0300 > @@ -62,10 +62,9 @@ EXTRA_JS_MODULES = \ > > include $(topsrcdir)/config/rules.mk > > -PRE_RELEASE_SUFFIX := "" > +PRE_RELEASE_SUFFIX := > > DEFINES += \ > - -DMOZ_APP_VERSION=$(MOZ_APP_VERSION) \ > -DAPP_LICENSE_BLOCK=$(abs_srcdir)/content/overrides/app-license.html \ > -DPRE_RELEASE_SUFFIX="$(PRE_RELEASE_SUFFIX)" \ > $(NULL) > diff -Naur firefox-8.0.1-mozconfig firefox-7.0.1-mozconfig > > firefox-8.0.1-mozconfig-to-firefox-7.0.1-mozconfig.diff > --- firefox-8.0.1-mozconfig 2011-11-16 20:47:38.000000000 -0300 > +++ firefox-7.0.1-mozconfig 2011-09-30 08:23:20.000000000 -0300 > @@ -123,22 +123,14 @@ > # This option identifies the default binary directory of the Xulrunner > # installation and is used to locate Xulrunner's installed files. This > # option is is only used for development purposes. > -#ac_add_options --with-default-mozilla-five-home=/usr/lib/firefox-8.0.1 > +#ac_add_options --with-default-mozilla-five-home=/usr/lib/firefox-7.0.1 > > # Point to the xulrunner libraries - comment these for a standalone browser > #ac_add_options --with-system-libxul > -#ac_add_options --with-libxul-sdk=/usr/lib/xulrunner-devel-8.0.1 > +#ac_add_options --with-libxul-sdk=/usr/lib/xulrunner-devel-7.0.1 > > # Locale > ac_add_options --enable-ui-locale=pt-BR > ac_add_options --with-l10n-base=../ > > mk_add_options MOZ_MAKE_FLAGS=-j4 > - > -# added in 8.0 by FAMO Ter 08 Nov 2011 18:23:25 BRT > -ac_add_options --enable-system-ffi > -ac_add_options --enable-libproxy > -ac_add_options --enable-raw > -ac_add_options --enable-install-strip > -ac_add_options --disable-pango > -ac_add_options --disable-gnomeui And that disables pango - *very* interesting. I switched to a plain ./configure when I was using icecat (gave up on that because updates lagged firefox by too long, and are now not available for 3.6) and I haven't paid too much attention to configure changes unless they stopped the build. Now that I'm using a development pango for gtk+-3, this could explain a lot. I can't rebuild at the moment (trying to get dhcp to build without forcing my own CFLAGS - apparently its devs don't use recent gcc, they have -Werror in at least some of the Makefiles), but that looks like a serious possibility ĸen -- das eine Mal als Tragödie, das andere Mal als Farce -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
