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 &lt; 
../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 &gt; mozconfig &lt;&lt; 
"EOF"
+<screen><?dbfo keep-together="auto"?><userinput>cat &gt; mozconfig &lt;&lt; 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; 
&amp;&amp;
 mkdir -pv /usr/lib/seamonkey-&seamonkey-version; &amp;&amp;
-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 &amp;&amp;
 ln -sfv ../lib/seamonkey-&seamonkey-version;/seamonkey /usr/bin &amp;&amp;
 mkdir -pv /usr/lib/mozilla/plugins &amp;&amp;
@@ -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">

-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to