Author: randy
Date: 2006-01-18 13:57:04 -0700 (Wed, 18 Jan 2006)
New Revision: 5578
Modified:
trunk/BOOK/introduction/welcome/changelog.xml
trunk/BOOK/xsoft/graphweb/firefox.xml
Log:
Modified the sed command in the Firefox instructions so that it can be run
multiple times, also modified the instructions for creating symlinks to the
system-wide mozilla plugin directory
Modified: trunk/BOOK/introduction/welcome/changelog.xml
===================================================================
--- trunk/BOOK/introduction/welcome/changelog.xml 2006-01-18 20:15:48 UTC
(rev 5577)
+++ trunk/BOOK/introduction/welcome/changelog.xml 2006-01-18 20:57:04 UTC
(rev 5578)
@@ -45,6 +45,12 @@
<para>January 18th, 2006</para>
<itemizedlist>
<listitem>
+ <para>[randy] - Modified the sed command in the Firefox instructions
+ so that it can be run multiple times, also modified the instructions
+ for creating symlinks to the system-wide mozilla plugin
+ directory.</para>
+ </listitem>
+ <listitem>
<para>[randy] - Added a dependency and updated text to the Xine
Libraries instructions.</para>
</listitem>
Modified: trunk/BOOK/xsoft/graphweb/firefox.xml
===================================================================
--- trunk/BOOK/xsoft/graphweb/firefox.xml 2006-01-18 20:15:48 UTC (rev
5577)
+++ trunk/BOOK/xsoft/graphweb/firefox.xml 2006-01-18 20:57:04 UTC (rev
5578)
@@ -203,7 +203,7 @@
<para>Compile <application>Firefox</application> by issuing the
following commands:</para>
-<screen><userinput>sed -i "s/ enum/& xptinfo_enum_1/" \
+<screen><userinput>sed -i "s/^ enum$/& xptinfo_enum_1/" \
xpcom/reflect/xptinfo/public/xptinfo.h &&
make -f client.mk build</userinput></screen>
@@ -260,7 +260,7 @@
<sect2 role="commands">
<title>Command Explanations</title>
- <para><command>sed -i "s/ enum/& xptinfo_enum_1/" ...</command>:
+ <para><command>sed -i "s/^ enum$/& xptinfo_enum_1/" ...</command>:
This command is used to fix an anonymous enum in an external/public
interface header file.</para>
@@ -308,11 +308,21 @@
<para>Some packages install Mozilla plugins into the default system-wide
directory <filename class='directory'>/usr/lib/mozilla/plugins</filename>.
- If desired, issue the following commands as the
- <systemitem class="username">root</systemitem> user to link any plugins
- you may have installed to the <application>Firefox</application> plugin
- directory.</para>
+ If desired, create symbolic links in the <application>Firefox</application>
+ plugin directory
+ <filename
class='directory'>/usr/lib/firefox-&firefox-version;/plugins</filename>
+ to the files in the default plugin directory. Alternatively, you can move
+ or copy the files in the default plugin directory to the
+ <application>Firefox</application> plugin directory. An example of creating
+ a symbolic link is shown below. Create the links as the
+ <systemitem class="username">root</systemitem> user:</para>
+<screen role="root"><userinput>ln -v -s
../../mozilla/plugins/<replaceable>[plugin.so]</replaceable> \
+ /usr/lib/firefox-&firefox-version;/plugins</userinput></screen>
+
+<!-- Commenting this out as it is replaced with text above saying to
+ create the symlinks manually.
+
<screen role="root"><userinput>if [ -f /usr/lib/mozilla/plugins/* ]; then
for PLUGIN_FILE in $(ls /usr/lib/mozilla/plugins/*)
do
@@ -321,6 +331,8 @@
done
fi</userinput></screen>
+-->
+
</sect2>
<sect2 role="content">
--
http://linuxfromscratch.org/mailman/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page