Author: pierre
Date: Tue Sep 29 00:23:51 2020
New Revision: 23771

Log:
Various fixes to the cairomm page:

- tarball extension is now .xz
- if using -Dbuild-tests=true, Boost is recommended
- if using -Dbuild-tests=true, -Dboost-shared=true is needed because
  we do not build the boost static libraries
- -Dbuild-doc.. is an option

Modified:
   trunk/BOOK/x/lib/cairomm.xml

Modified: trunk/BOOK/x/lib/cairomm.xml
==============================================================================
--- trunk/BOOK/x/lib/cairomm.xml        Mon Sep 28 14:48:59 2020        (r23770)
+++ trunk/BOOK/x/lib/cairomm.xml        Tue Sep 29 00:23:51 2020        (r23771)
@@ -4,7 +4,7 @@
   <!ENTITY % general-entities SYSTEM "../../general.ent">
   %general-entities;
 
-  <!ENTITY cairomm-download-http 
"https://www.cairographics.org/releases/cairomm-&cairomm-version;.tar.gz";>
+  <!ENTITY cairomm-download-http 
"https://www.cairographics.org/releases/cairomm-&cairomm-version;.tar.xz";>
   <!ENTITY cairomm-download-ftp  " ">
   <!ENTITY cairomm-md5sum        "75a08d50eb08b97667e4ea2be6efa1ad">
   <!ENTITY cairomm-size          "592 KB">
@@ -78,9 +78,13 @@
       <xref linkend="libsigc"/>
     </para>
 
+    <bridgehead renderas="sect4">Recommended</bridgehead>
+    <para role="recommended">
+      <xref linkend="boost"/> (for tests)
+    </para>
+
     <bridgehead renderas="sect4">Optional</bridgehead>
     <para role="optional">
-      <xref linkend="boost"/> and
       <xref linkend="doxygen"/>
     </para>
 
@@ -100,9 +104,10 @@
 <screen><userinput>mkdir bld &amp;&amp;
 cd    bld &amp;&amp;
 
-meson --prefix=/usr      \
-      -Dbuild-tests=true \
-      ..                 &amp;&amp;
+meson --prefix=/usr       \
+      -Dbuild-tests=true  \
+      -Dboost-shared=true \
+      ..                  &amp;&amp;
 ninja</userinput></screen>
 
     <para>
@@ -121,12 +126,19 @@
     <title>Command Explanations</title>
 
     <para>
+      <parameter>-Dbuild-tests=true</parameter>: This switch is for building
+      the unit tests. Remove if you have not installed <xref linkend="boost"/>.
+    </para>
+
+    <para>
       <parameter>-Dboost-shared=true</parameter>: This switch has the package
-      use the system version of boost.
+      use the shared version of boost libraries. It is required if you have
+      not installed the boost static libraries, and you have passed
+      <parameter>-Dbuild-tests=true</parameter>.
     </para>
 
     <para>
-      <parameter>-Dbuild-documentation=true</parameter>: This switch builds the
+      <option>-Dbuild-documentation=true</option>: This switch builds the
       html documentation if doxygen is installed.
     </para>
 
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to