[blfs-book] r10379 - trunk/BOOK/xsoft/office

andy at linuxfromscratch.org andy at linuxfromscratch.org
Sat Jun 30 09:59:58 PDT 2012


Author: andy
Date: 2012-06-30 10:59:52 -0600 (Sat, 30 Jun 2012)
New Revision: 10379

Modified:
   trunk/BOOK/xsoft/office/libreoffice.xml
Log:
Implemented some of Armin's suggestions for Libre Office

Modified: trunk/BOOK/xsoft/office/libreoffice.xml
===================================================================
--- trunk/BOOK/xsoft/office/libreoffice.xml	2012-06-30 13:20:50 UTC (rev 10378)
+++ trunk/BOOK/xsoft/office/libreoffice.xml	2012-06-30 16:59:52 UTC (rev 10379)
@@ -112,15 +112,16 @@
       <xref linkend="neon"/>,
       <xref linkend="nss"/>,
       <xref linkend="openssl"/>,
-      <xref linkend="poppler"/>,
-      <xref linkend="postgresql"/> and
+      <xref linkend="poppler"/> and
       <xref linkend="redland"/>.
     </para>
 
     <bridgehead renderas="sect4">Optional</bridgehead>
     <para role="optional">
       <ulink url="http://hunspell.sourceforge.net/">Hunspell</ulink>,
+      <xref linkend="mysql"/>,
       <ulink url="http://sourceforge.net/projects/hunspell/files/MyThes/">MyThes</ulink>,
+      <xref linkend="postgresql"/>,
       <ulink url="http://sampleicc.sourceforge.net/">SampleICC</ulink>,
       <ulink url="http://hci.iwr.uni-heidelberg.de/vigra">Vigra</ulink> and
       <xref linkend="zenity"/>.
@@ -168,30 +169,29 @@
     </para>
 
 <screen><userinput>sed -i 's# ORBit-2.0##' configure.in &&
-./autogen.sh --prefix=/usr \
-  --disable-binfilter      \
-  --disable-gconf          \
-  --disable-mozilla        \
-  --disable-odk            \
-  --with-system-boost      \
-  --with-system-cairo      \
-  --with-system-curl       \
-  --with-system-db         \
-  --with-system-expat      \
-  --with-system-hunspell   \
-  --with-system-icu        \
-  --with-system-jpeg       \
-  --with-system-libpng     \
-  --with-system-libxml     \
-  --with-system-neon       \
-  --with-system-nss        \
-  --with-system-openssl    \
-  --with-system-poppler    \
-  --with-system-postgresql \
-  --with-system-redland    \
-  --with-system-zlib       \
-  --with-lang="pt-BR"      \
-  --without-java           \
+./autogen.sh --prefix=/usr  \
+  --disable-binfilter       \
+  --disable-gconf           \
+  --disable-mozilla         \
+  --disable-odk             \
+  --disable-postgresql-sdbc \
+  --with-system-boost       \
+  --with-system-cairo       \
+  --with-system-curl        \
+  --with-system-db          \
+  --with-system-expat       \
+  --with-system-gettext     \
+  --with-system-icu         \
+  --with-system-jpeg        \
+  --with-system-libpng      \
+  --with-system-libxml      \
+  --with-system-neon        \
+  --with-system-nss         \
+  --with-system-openssl     \
+  --with-system-poppler     \
+  --with-system-redland     \
+  --with-system-zlib        \
+  --without-java            \
   --with-num-cpus=$(getconf _NPROCESSORS_ONLN) &&
 ./download                                     &&
 mkdir -p ../libreoffice-downloads              &&
@@ -273,6 +273,15 @@
     </para>
 
     <para>
+      <option>--disable-postgresql-sdbc</option>: This option disables compiling
+      Libre Office with the ability to connect to a PostgreSQL database. If you
+      would like Libre Office to be able to connect to a PostgreSQL database
+      remove this option. If you have installed PostgreSQL on your system and
+      would like Libre Office to use that rather than compile its own copy, add
+      the option <option>--with-system-postgresql</option>.
+    </para>
+
+    <para>
       <option>--with-system- ...</option>: These options prevent
       <application>Libre Office</application> trying to compile its own
       versions of these dependencies. If you've not installed
@@ -281,19 +290,23 @@
 
     <para>
       <option>--with-num-cpus=$(getconf _NPROCESSORS_ONLN)</option>: This option
-      tells <application>Libre Office</application> to use all your CPUs to compile
-      in parallel and speed up the build.
+      tells <application>Libre Office</application> to use all your CPUs to
+      compile in parallel and speed up the build.
     </para>
 
     <para>
       <option>--with-lang="pt-BR"</option>: This option sets what languages to
       support. en-US is always included by default. To list several languages,
       separate them with a space. For all languages, use --with-lang=ALL
-      For a list of the available languages, after you've run ./download:
-      <command>ls translations/source</command>.
     </para>
 
     <para>
+      For a list of the available languages, configure it --with-lang=ALL and
+      then after you've run ./download:
+      <command>ls translations/source</command>
+    </para>
+
+    <para>
       <option>--without-java</option>: This option compiles
       <application>Libre Office</application> without
       <application>Java</application> support.
@@ -388,8 +401,15 @@
       <segtitle>Installed Directory</segtitle>
 
       <seglistitem>
-        <seg>base, calc, draw, impress, math, printeradmin and writer.</seg>
         <seg>
+          base,
+          calc,
+          draw,
+          impress,
+          math,
+          printeradmin and
+          writer.</seg>
+        <seg>
           Hundreds of shared libraries in
           <filename class="directory">/usr/lib/libreoffice</filename>.
         </seg>




More information about the blfs-book mailing list