[blfs-book] r11779 - in trunk/BOOK/xsoft: graphweb other

igor at higgs.linuxfromscratch.org igor at higgs.linuxfromscratch.org
Fri Sep 6 00:35:03 PDT 2013


Author: igor
Date: Fri Sep  6 00:35:03 2013
New Revision: 11779

Log:
add option to install firefox and thunderbird with system cairo

Modified:
   trunk/BOOK/xsoft/graphweb/firefox.xml
   trunk/BOOK/xsoft/other/thunderbird.xml

Modified: trunk/BOOK/xsoft/graphweb/firefox.xml
==============================================================================
--- trunk/BOOK/xsoft/graphweb/firefox.xml	Thu Sep  5 23:58:21 2013	(r11778)
+++ trunk/BOOK/xsoft/graphweb/firefox.xml	Fri Sep  6 00:35:03 2013	(r11779)
@@ -72,12 +72,16 @@
       </listitem>
     </itemizedlist>
 
-    <bridgehead renderas="sect3">Additional Download (if linking against xulrunner)</bridgehead>
+    <bridgehead renderas="sect3">Additional Downloads</bridgehead>
     <itemizedlist spacing='compact'>
       <listitem>
         <para>Recommended patch: <ulink
         url="&patch-root;/firefox-&firefox-version;-search_box_fix-1.patch"/></para>
       </listitem>
+      <listitem>
+        <para>Optional patch: <ulink
+        url="&patch-root;/firefox-&firefox-version;-system_cairo-1.patch"/></para>
+      </listitem>
     </itemizedlist>
 
     <bridgehead renderas="sect3">Firefox Dependencies</bridgehead>
@@ -171,11 +175,15 @@
 ac_add_options --disable-libnotify
 
 # Uncomment these lines if you have installed optional dependencies:
-# GStreamer is necesary for H.264 video playback in HTML5 Video Player
+# GStreamer is necessary for H.264 video playback in HTML5 Video Player
 #ac_add_options --enable-gstreamer
 #ac_add_options --enable-system-hunspell
 #ac_add_options --enable-startup-notification
 
+# Uncomment this line if you compiled Cairo with --enable-tee switch and want
+# to use it instead of the bundled one:
+#ac_add_options --enable-system-cairo
+
 # If you have not installed Yasm then uncomment this line:
 #ac_add_options --disable-webm
 
@@ -234,6 +242,14 @@
 </userinput></screen>
 
     <para>
+      If you are building against a system-installed <application>Cairo</application>
+      apply the patch:
+    </para>
+
+<screen><userinput>patch -Np1 -i ../firefox-&firefox-version;-system_cairo-1.patch
+</userinput></screen>
+
+    <para>
       Compile <application>Firefox</application> by issuing the following
       commands:
     </para>
@@ -395,7 +411,7 @@
 mkdir -pv /usr/share/pixmaps &&
 
 cat > /usr/share/applications/firefox.desktop << "EOF" &&
-[Desktop Entry]
+<literal>[Desktop Entry]
 Encoding=UTF-8
 Name=Firefox Web Browser
 Comment=Browse the World Wide Web
@@ -406,7 +422,7 @@
 Icon=firefox
 Categories=GNOME;GTK;Network;WebBrowser;
 MimeType=text/html;text/xml;application/xhtml+xml;application/vnd.mozilla.xul+xml;text/mml;x-scheme-handler/http;x-scheme-handler/https;
-StartupNotify=true
+StartupNotify=true</literal>
 EOF
 
 ln -sfv /usr/lib/firefox-&firefox-version;/browser/icons/mozicon128.png \

Modified: trunk/BOOK/xsoft/other/thunderbird.xml
==============================================================================
--- trunk/BOOK/xsoft/other/thunderbird.xml	Thu Sep  5 23:58:21 2013	(r11778)
+++ trunk/BOOK/xsoft/other/thunderbird.xml	Fri Sep  6 00:35:03 2013	(r11779)
@@ -73,6 +73,14 @@
       </listitem>
     </itemizedlist>
 
+    <bridgehead renderas="sect3">Additional Downloads</bridgehead>
+    <itemizedlist spacing='compact'>
+      <listitem>
+        <para>Optional patch: <ulink
+        url="&patch-root;/thunderbird-&thunderbird-version;-system_cairo-1.patch"/></para>
+      </listitem>
+    </itemizedlist>
+
     <bridgehead renderas="sect3">Thunderbird Dependencies</bridgehead>
 
     <bridgehead renderas="sect4">Required</bridgehead>
@@ -153,6 +161,10 @@
 #ac_add_options --enable-system-hunspell
 #ac_add_options --enable-startup-notification
 
+# Uncomment this line if you compiled Cairo with --enable-tee switch and want
+# to use it instead of the bundled one:
+#ac_add_options --enable-system-cairo
+
 # If you have not installed Yasm then uncomment this line:
 #ac_add_options --disable-webm
 
@@ -199,6 +211,14 @@
 EOF</userinput></screen>
 
     <para>
+      If you are building against a system-installed <application>Cairo</application>
+      apply the patch:
+    </para>
+
+<screen><userinput>patch -Np1 -i ../thunderbird-&thunderbird-version;-system_cairo-1.patch
+</userinput></screen>
+
+    <para>
       Compile <application>Thunderbird</application> by issuing the following
       commands:
     </para>
@@ -322,7 +342,7 @@
 mkdir -pv /usr/share/pixmaps &&
 
 cat > /usr/share/applications/thunderbird.desktop << "EOF" &&
-[Desktop Entry]
+<literal>[Desktop Entry]
 Encoding=UTF-8
 Name=Thunderbird Mail
 Comment=Send and receive mail with Thunderbird
@@ -333,7 +353,7 @@
 Icon=thunderbird
 Categories=Application;Network;Email;
 MimeType=text/html;text/xml;application/xhtml+xml;application/xml;application/rss+xml;x-scheme-handler/mailto;
-StartupNotify=true
+StartupNotify=true</literal>
 EOF
 
 ln -sfv /usr/lib/thunderbird-&thunderbird-version;/chrome/icons/default/default256.png \



More information about the blfs-book mailing list