Author: andy
Date: 2012-05-14 08:51:06 -0600 (Mon, 14 May 2012)
New Revision: 10203
Modified:
trunk/BOOK/x/lib/xulrunner.xml
trunk/BOOK/xsoft/graphweb/firefox.xml
trunk/BOOK/xsoft/graphweb/seamonkey.xml
Log:
Added --disable-debug-symbols to the xulrunner mozconfig
Added the option to use xulrunner back into the firefox page
Added --disable-debug-symbols to the seamonkey mozconfig
Modified: trunk/BOOK/x/lib/xulrunner.xml
===================================================================
--- trunk/BOOK/x/lib/xulrunner.xml 2012-05-13 19:05:51 UTC (rev 10202)
+++ trunk/BOOK/x/lib/xulrunner.xml 2012-05-14 14:51:06 UTC (rev 10203)
@@ -158,6 +158,7 @@
mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/xulrunner-build-dir
ac_add_options --disable-crashreporter
ac_add_options --disable-debug
+ac_add_options --disable-debug-symbols
ac_add_options --disable-installer
ac_add_options --disable-static
ac_add_options --disable-tests
Modified: trunk/BOOK/xsoft/graphweb/firefox.xml
===================================================================
--- trunk/BOOK/xsoft/graphweb/firefox.xml 2012-05-13 19:05:51 UTC (rev
10202)
+++ trunk/BOOK/xsoft/graphweb/firefox.xml 2012-05-14 14:51:06 UTC (rev
10203)
@@ -103,8 +103,9 @@
<xref linkend="nspr"/>, <xref linkend="nss"/>,
<xref linkend="wireless_tools"/>,
<ulink url="http://www.valgrind.org/">Valgrind</ulink> (only for testing
- the jemalloc code) and
- <xref linkend="wget"/>
+ the jemalloc code),
+ <xref linkend="wget"/> and
+ <xref linkend="xulrunner"/>
</para>
<para condition="html" role="usernotes">
@@ -143,6 +144,10 @@
# If you have installed libnotify delete this option:
ac_add_options --disable-libnotify
+# 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-&xulrunner-version;
+
# Uncomment these if you have installed them:
# ac_add_options --enable-startup-notification
# ac_add_options --enable-system-hunspell
@@ -153,17 +158,20 @@
# ac_add_options --with-system-nss
mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/firefox-build-dir
+ac_add_options --enable-official-branding
+ac_add_options --prefix=/usr
+
+# The rest of these options have no effect if you're
+# building against an already installed xulrunner:
ac_add_options --disable-crashreporter
ac_add_options --disable-debug
ac_add_options --disable-installer
ac_add_options --disable-static
ac_add_options --disable-tests
ac_add_options --disable-updater
-ac_add_options --enable-official-branding
ac_add_options --enable-shared
ac_add_options --enable-system-cairo
ac_add_options --enable-system-ffi
-ac_add_options --prefix=/usr
ac_add_options --with-pthreads
ac_add_options --with-system-jpeg
ac_add_options --with-system-png
@@ -179,18 +187,27 @@
ipc/chromium/src/base/{file_util_linux,message_pump_libevent}.cc &&
sed -i '/sys\/time\.h/a#include <unistd.h>'
ipc/chromium/src/base/time_posix.cc &&
sed -i 's# ""##' browser/base/Makefile.in &&
-make -f client.mk &&
-make -C firefox-build-dir/browser/installer</userinput></screen>
+make -f client.mk</userinput></screen>
<para>
This package does not come with a test suite.
</para>
<para>
- Now, as the <systemitem class="username">root</systemitem> user install
- <application>Firefox</application>:
+ If you have <emphasis>not</emphasis> linked
+ <application>Firefox</application> against an installed
+ <application>Xulrunner</application>:
</para>
+<screen><userinput>make -C
firefox-build-dir/browser/installer</userinput></screen>
+
+ <para>
+ Now, as the <systemitem class="username">root</systemitem> user, if you
+ have <emphasis>not</emphasis> linked <application>Firefox</application>
+ against an installed <application>Xulrunner</application>, install the
+ package:
+ </para>
+
<screen role="root"><userinput>mkdir /usr/lib/firefox-&firefox-version;
&&
tar -xvf firefox-build-dir/dist/firefox-&firefox-version;.en-US.linux-$(uname
-m).tar.bz2 \
-C /usr/lib/firefox-&firefox-version; --strip-components=1 &&
@@ -199,6 +216,23 @@
ln -sv ../mozilla/plugins /usr/lib/firefox-&firefox-version; &&
chown -R -v root:root /usr/lib/firefox-&firefox-version;</userinput></screen>
+ <para>
+ If you <emphasis>have</emphasis> linked against an already installed
+ <application>Xulrunner</application>, as the
+ <systemitem class="username">root</systemitem> user:
+ </para>
+
+<screen role="root"><userinput>make -C firefox-build-dir install &&
+rm /usr/bin/firefox &&
+cat > /usr/bin/firefox << "HERE_DOC" &&
+#!/bin/bash
+/usr/lib/xulrunner-&xulrunner-version;/xulrunner
/usr/lib/firefox-&firefox-version;application.ini "${@}"
+HERE_DOC
+chmod 755 /usr/bin/firefox &&
+mkdir -p /usr/lib/mozilla/plugins &&
+ln -sv ../mozilla/plugins /usr/lib/firefox-&firefox-version; &&
+chown -R -v root:root /usr/lib/firefox-&firefox-version;</userinput></screen>
+
<bridgehead renderas="sect3" id="npapi-firefox" xreflabel="Firefox">
NPAPI Headers
</bridgehead>
@@ -212,17 +246,6 @@
<screen role="root"><userinput>mkdir /usr/include/npapi
cp dom/plugins/base/*.h /usr/include/npapi</userinput></screen>
-
- <bridgehead renderas="sect3" id="devel-firefox" xreflabel="Firefox">
- All the Development Libraries and Headers
- </bridgehead>
- <para>
- If you want to install the full <application>Firefox</application>
- development environment (Note, this installs more than half a gigabyte of
- extra files), as the <systemitem class="username">root</systemitem> user:
- </para>
-
-<screen role="root"><userinput>make -C firefox-build-dir
install</userinput></screen>
</sect2>
<sect2 role="commands">
@@ -264,6 +287,11 @@
into a versioned directory.
</para>
+ <para>
+ <command>make -C firefox-build-dir install</command>: This runs
+ <command>make install</command> in firefox-build-dir.
+ </para>
+
<para>
<command>ln -sfv ... /usr/bin/firefox</command>: this puts a symbolic
link
to the <command>firefox</command> executable in your ${PATH}.
@@ -284,12 +312,6 @@
default, we make the symbolic link to keep all the plugins installed in
one folder.
</para>
-
- <para>
- <command>make -C firefox-build-dir install</command>: This runs
- <command>make install</command> in
- <filename class="directory">firefox-build-dir</filename>.
- </para>
</sect2>
<sect2 role="configuration">
Modified: trunk/BOOK/xsoft/graphweb/seamonkey.xml
===================================================================
--- trunk/BOOK/xsoft/graphweb/seamonkey.xml 2012-05-13 19:05:51 UTC (rev
10202)
+++ trunk/BOOK/xsoft/graphweb/seamonkey.xml 2012-05-14 14:51:06 UTC (rev
10203)
@@ -175,6 +175,7 @@
mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/moz-build-dir
ac_add_options --disable-crashreporter
ac_add_options --disable-debug
+ac_add_options --disable-debug-symbols
ac_add_options --disable-installer
ac_add_options --disable-static
ac_add_options --disable-tests
@@ -238,8 +239,8 @@
</bridgehead>
<para>
If you want to install the full <application>Seamonkey</application>
- development environment (Note, this installs more than half a gigabyte of
- extra files), as the <systemitem class="username">root</systemitem> user:
+ development environment, as the
+ <systemitem class="username">root</systemitem> user:
</para>
<screen role="root"><userinput>make -C moz-build-dir
install</userinput></screen>
--
http://linuxfromscratch.org/mailman/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page