[blfs-book] r10374 - trunk/BOOK/xsoft/graphweb

andy at linuxfromscratch.org andy at linuxfromscratch.org
Fri Jun 29 11:34:55 PDT 2012


Author: andy
Date: 2012-06-29 12:34:50 -0600 (Fri, 29 Jun 2012)
New Revision: 10374

Modified:
   trunk/BOOK/xsoft/graphweb/seamonkey.xml
Log:
Patch the Seamonkey installer if Wireless Tools are not installed

Modified: trunk/BOOK/xsoft/graphweb/seamonkey.xml
===================================================================
--- trunk/BOOK/xsoft/graphweb/seamonkey.xml	2012-06-28 17:22:09 UTC (rev 10373)
+++ trunk/BOOK/xsoft/graphweb/seamonkey.xml	2012-06-29 18:34:50 UTC (rev 10374)
@@ -82,6 +82,16 @@
       </listitem>
     </itemizedlist>
 
+    <bridgehead renderas="sect3">Additional Download</bridgehead>
+    <itemizedlist spacing="compact">
+      <listitem>
+        <para>
+          Optional patch:
+          <ulink url="&patch-root;/seamonkey-&seamonkey-version;-necko-wifi-1.patch"/>
+        </para>
+      </listitem>
+    </itemizedlist>
+
     <bridgehead renderas="sect3">SeaMonkey Dependencies</bridgehead>
 
     <bridgehead renderas="sect4">Required</bridgehead>
@@ -126,6 +136,13 @@
     <title>Installation of SeaMonkey</title>
 
     <para>
+      If you have not installed <xref linkend="wireless_tools"/>, apply the
+      patch or the installer will fail:
+    </para>
+
+<screen><userinput>patch -p1 < ../seamonkey-&seamonkey-version;-necko-wifi-1.patch</userinput></screen>
+
+    <para>
       The configuration of <application>SeaMonkey</application> is accomplished
       by creating a <filename>mozconfig</filename> file containing the desired
       configuration options. A default <filename>mozconfig</filename> file is
@@ -136,10 +153,10 @@
       issuing the following command:
     </para>
 
-<screen><?dbfo keep-together="auto"?><userinput>cat > mozconfig << "EOF"
+<screen><?dbfo keep-together="auto"?><userinput>cat > mozconfig << EOF
 # If you have a multicore machine you can speed up the build by running
 # several jobs at once, but if you have a single core, delete this line:
-mk_add_options MOZ_MAKE_FLAGS="-j4"
+mk_add_options MOZ_MAKE_FLAGS="-j$(getconf _NPROCESSORS_ONLN)"
 
 # If you have installed Yasm delete this option:
 ac_add_options --disable-webm
@@ -203,7 +220,7 @@
 
 <screen role="root"><userinput>rm -rf /usr/lib/seamonkey-&seamonkey-version; &&
 mkdir -pv /usr/lib/seamonkey-&seamonkey-version; &&
-tar xf moz-build-dir/mozilla/dist/seamonkey-&seamonkey-version;.en-US.linux-$(uname -m).tar.bz2 \
+tar -xf moz-build-dir/mozilla/dist/seamonkey-&seamonkey-version;.en-US.linux-$(uname -m).tar.bz2 \
   -C /usr/lib/seamonkey-&seamonkey-version; --strip-components=1 &&
 ln -sfv ../lib/seamonkey-&seamonkey-version;/seamonkey /usr/bin &&
 mkdir -pv /usr/lib/mozilla/plugins &&
@@ -338,7 +355,8 @@
 StartupNotify=true
 Terminal=false
 EOF
-ln -sfv /usr/lib/seamonkey-&seamonkey-version;/chrome/icons/default/seamonkey.png /usr/share/pixmaps</userinput></screen>
+ln -sfv /usr/lib/seamonkey-&seamonkey-version;/chrome/icons/default/seamonkey.png \
+        /usr/share/pixmaps</userinput></screen>
   </sect2>
 
   <sect2 role="content">




More information about the blfs-book mailing list