Here, I needed more modifications from Andy's BLFS Firefox-8.0.1 page.

Before proceeding, I would like to repeat how grateful I am to Andy, before his 
pages, I was not able to build Xulrunner and Firefox against it, since the old 
version 3 days, if I remember correctly.

1. I believe, in the hurry, a partial mozconfig text is in the book, because 
prefix is intended to be /usr, not /usr/local, as I found after first 
successful build. Thus,

ac_add_options --prefix=/usr

is missing.

2. The application to be built is browser, but it seem to be missing:

ac_add_options --enable-application=browser

3. Again, for localisation purposes, I changed some other bits:

-# ac_add_options --with-system-libxul
-# ac_add_options --with-libxul-sdk=/usr/lib/xulrunner-devel-8.0.1
+ac_add_options --with-system-libxul
+ac_add_options --with-libxul-sdk=/usr/lib/xulrunner-devel-8.0.1
 
-mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/firefox-build-dir
+mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/../firefox-build

and

-make -C firefox-build-dir install &&
+make -C firefox-build-dir install &&
Diff file attached.

4. Again, because it is not necessary:

-ln -sv ../mozilla/plugins /usr/lib/firefox-8.0.1 &&

[]s,
Fernando
diff -Naur firefox-8.0.1-mozconfig-AndrewBenton firefox-8.0.1-mozconfig > diff-firefox-8.0.1-mozconfig-AndrewBenton-Fernando.diff
--- firefox-8.0.1-mozconfig-AndrewBenton	2011-12-08 14:05:35.000000000 -0300
+++ firefox-8.0.1-mozconfig	2011-12-08 01:39:49.000000000 -0300
@@ -3,32 +3,32 @@
 mk_add_options MOZ_MAKE_FLAGS="-j4"
 
 # If you have installed Yasm delete this option:
-ac_add_options --disable-webm
+#ac_add_options --disable-webm
 
 # If you have installed DBus-Glib delete this option:
-ac_add_options --disable-dbus
+#ac_add_options --disable-dbus
 
 # If you have installed wireless-tools delete this option:
-ac_add_options --disable-necko-wifi
+#ac_add_options --disable-necko-wifi
 
 # If you have installed libnotify delete this option:
-ac_add_options --disable-libnotify
+#ac_add_options --disable-libnotify
 
 # If you have installed nss and nspr uncomment these two lines:
-# ac_add_options --with-system-nspr
-# ac_add_options --with-system-nss
+ac_add_options --with-system-nspr
+ac_add_options --with-system-nss
 
 # If you have installed xulrunner uncomment these two lines:
-# ac_add_options --with-system-libxul
-# ac_add_options --with-libxul-sdk=/usr/lib/xulrunner-devel-8.0.1
+ac_add_options --with-system-libxul
+ac_add_options --with-libxul-sdk=/usr/lib/xulrunner-devel-8.0.1
 
 # Uncomment these if you have installed them:
-# ac_add_options --enable-system-sqlite
-# ac_add_options --enable-system-lcms
-# ac_add_options --with-system-libvpx
-# ac_add_options --enable-startup-notification
+ac_add_options --enable-system-sqlite
+ac_add_options --enable-system-lcms
+ac_add_options --with-system-libvpx
+ac_add_options --enable-startup-notification
 
-mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/firefox-build-dir
+mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/../firefox-build
 ac_add_options --enable-official-branding
 
 # The rest of these options have no effect if you're
@@ -46,3 +46,36 @@
 ac_add_options --disable-installer
 ac_add_options --disable-updater
 ac_add_options --disable-tests
+
+# Locale
+ac_add_options --enable-ui-locale=pt-BR
+ac_add_options --with-l10n-base=../
+
+# By FAMO, Qui 08 Dez 2011 01:36:18 BRT
+# specify that we want to build firefox
+ac_add_options --enable-application=browser
+
+# Use the default settings specified in the source tree
+. $topsrcdir/browser/config/mozconfig
+
+# Specify the installation prefix. If you would prefer Xulrunner
+# installed in a different prefix, modify the line below to fit
+# your needs (the config will always be written to /etc/gre.d)
+ac_add_options --prefix=/usr
+
+# apply a minimal level of optimization (-O)
+ac_add_options --enable-optimize
+
+# Use the anti-phishing measures (a blacklist of sites).
+ac_add_options --enable-safe-browsing
+
+# This option is used so that the debugging symbols are removed from
+# the installed binaries during the installation process. Comment out
+# this option if you may have a need to retain the debugging symbols
+# in the installed binaries (the resulting binaries will be about 7MB
+# bigger).
+ac_add_options --enable-strip
+
+# Uncomment this option if you desire support for dual-monitor
+# display using the X-Window Xinerama libraries.
+ac_add_options --enable-xinerama
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to