Author: randy
Date: 2005-08-24 20:16:32 -0600 (Wed, 24 Aug 2005)
New Revision: 4979
Modified:
trunk/BOOK/general.ent
trunk/BOOK/introduction/welcome/changelog.xml
trunk/BOOK/xsoft/graphweb/firefox.xml
Log:
Fixed the profile locking issue and added an optional command to the Firefox
instructions to open a new tab in an existing browser window, both suggestions
provided by Kevin Somervill
Modified: trunk/BOOK/general.ent
===================================================================
--- trunk/BOOK/general.ent 2005-08-24 14:56:18 UTC (rev 4978)
+++ trunk/BOOK/general.ent 2005-08-25 02:16:32 UTC (rev 4979)
@@ -1,4 +1,4 @@
-<!ENTITY day "24">
+<!ENTITY day "25">
<!ENTITY month "08">
<!ENTITY year "2005">
<!ENTITY version "svn-&year;&month;&day;">
Modified: trunk/BOOK/introduction/welcome/changelog.xml
===================================================================
--- trunk/BOOK/introduction/welcome/changelog.xml 2005-08-24 14:56:18 UTC
(rev 4978)
+++ trunk/BOOK/introduction/welcome/changelog.xml 2005-08-25 02:16:32 UTC
(rev 4979)
@@ -42,6 +42,19 @@
-->
<listitem>
+ <para>August 25th, 2005</para>
+ <itemizedlist>
+ <listitem>
+ <para>[randy] - Added a command to the Firefox instructions to fix
+ the profile locking problem and an optional command to open a new
+ tab in an existing browser window, both suggested by Kevin
+ Somervill. Thanks to Dan Nicholson for the reminder about Kevin's
+ suggestions.</para>
+ </listitem>
+ </itemizedlist>
+ </listitem>
+
+ <listitem>
<para>August 24th, 2005</para>
<itemizedlist>
<listitem>
Modified: trunk/BOOK/xsoft/graphweb/firefox.xml
===================================================================
--- trunk/BOOK/xsoft/graphweb/firefox.xml 2005-08-24 14:56:18 UTC (rev
4978)
+++ trunk/BOOK/xsoft/graphweb/firefox.xml 2005-08-25 02:16:32 UTC (rev
4979)
@@ -12,6 +12,17 @@
<!ENTITY firefox-time "10.3 SBU">
]>
+<!--
+
+Devs:
+
+Always check the browser/config/mozconfig file in the source tree for
+any changes to the options passed to configure. This file shows the
+default build used by Mozilla. BLFS adds to this, but the values here
+should be in our setup.
+
+-->
+
<sect1 id="firefox" xreflabel="Firefox-&firefox-version;">
<?dbhtml filename="firefox.html" ?>
@@ -83,14 +94,23 @@
discussed. Refer to the <xref linkend="mozilla"/> instructions for
explanations and additional configuration information.</para>
+ <para><application>Firefox</application> default behavior when invoked
+ with a URL parameter is to open a new browser window. If you would rather
+ <application>Firefox</application> open a new tab in an existing browser
+ window, issue the following command:</para>
+
+<screen><userinput>sed -i 's|openURL(\${_optLast}|&, new-tab|'
browser/app/mozilla.in</userinput></screen>
+
<para>Compile and install <application>Firefox</application> by
running the following commands:</para>
<screen><userinput>export MOZILLA_OFFICIAL="1" &&
export BUILD_OFFICIAL="1" &&
export MOZ_PHOENIX="1" &&
+sed -i 's| dist_bin="\$moz_libdir"|\
+&\n run_moz="\$dist_bin/run-mozilla.sh"|' browser/app/mozilla.in
&&
./configure --prefix=/usr \
- --with-default-mozilla-five-home=/usr/lib/firefox-1.0 \
+
--with-default-mozilla-five-home=/usr/lib/firefox-&firefox-version; \
--with-user-appdir=.firefox \
--with-system-zlib \
--with-system-png \
@@ -129,8 +149,8 @@
<para>Now, as the <systemitem class="username">root</systemitem>
user:</para>
<screen role="root"><userinput>make install &&
-install -d /usr/include/firefox-&firefox-version;/nss &&
-cp -Lf dist/private/nss/*.h dist/public/nss/*.h \
+install -v -m755 -d /usr/include/firefox-&firefox-version;/nss &&
+cp -v -Lf dist/private/nss/*.h dist/public/nss/*.h \
/usr/include/firefox-&firefox-version;/nss</userinput></screen>
<para>To enable multi-user operation, execute the following as the
@@ -159,6 +179,15 @@
</sect2>
+ <sect2 role="commands">
+ <title>Command Explanations</title>
+
+ <para><command>sed -i '...' browser/app/mozilla.in</command>: This command
+ fixes an issue where <application>Firefox</application> wants to call the
+ profile manager instead of just invoking another copy of itself.</para>
+
+ </sect2>
+
<sect2 role="configuration">
<title>Configuring Firefox</title>
--
http://linuxfromscratch.org/mailman/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page