r8606 - in trunk/BOOK: introduction/welcome xsoft/suites

dj at linuxfromscratch.org dj at linuxfromscratch.org
Sun Sep 19 13:42:53 PDT 2010


Author: dj
Date: 2010-09-19 14:42:45 -0600 (Sun, 19 Sep 2010)
New Revision: 8606

Modified:
   trunk/BOOK/introduction/welcome/changelog.xml
   trunk/BOOK/xsoft/suites/openoffice.xml
Log:
Corrected post-install configuration for OpenOffice.

Modified: trunk/BOOK/introduction/welcome/changelog.xml
===================================================================
--- trunk/BOOK/introduction/welcome/changelog.xml	2010-09-19 08:19:24 UTC (rev 8605)
+++ trunk/BOOK/introduction/welcome/changelog.xml	2010-09-19 20:42:45 UTC (rev 8606)
@@ -46,6 +46,10 @@
         <listitem>
           <para>[dj] - Updated to OpenOffice-3.2.1.</para>
         </listitem>
+        <listitem>
+          <para>[dj] - Corrected post installation instructions in OpenOffice
+          for additional language tools, extensions, and icons.</para>
+        </listitem>
       </itemizedlist>
     </listitem>
 

Modified: trunk/BOOK/xsoft/suites/openoffice.xml
===================================================================
--- trunk/BOOK/xsoft/suites/openoffice.xml	2010-09-19 08:19:24 UTC (rev 8605)
+++ trunk/BOOK/xsoft/suites/openoffice.xml	2010-09-19 20:42:45 UTC (rev 8606)
@@ -267,13 +267,43 @@
     sed -i '/Exec/d' $appl &&
     echo "Exec=/usr/bin/s`echo $appl | sed 's/.desktop//'`" >> $appl &&
     sed -i '/Icon/d' $appl &&
-    echo "Icon=`echo $appl | sed 's/.desktop//'`" >> $appl
+    echo "Icon=`echo "ooo-${appl}3.2" | sed 's/\.desktop//'`" >> $appl
 done &&
 sed -i 's at bin/sprinteradmin at bin/spadmin@' printeradmin.desktop &&
 cp -v *.desktop /usr/share/applications &&
 update-desktop-database &&
 popd</userinput></screen>
 
+    <para>If you've chosen to build any additional dictionaries or any of the
+    extensions, you'll need to copy them to the installation directory.  Run
+    the following commands as the
+    <systemitem class="username">root</systemitem> user:</para>
+
+    <note><para>The following two command blocks will not exit with a zero
+    value, and the second will require you to press 'y' before installation.
+    Keep this in mind if scripting the build.</para></note>
+
+<screen role="root"><userinput>cp -v dictionaries/unxlngi6.pro/bin/dict-*.oxt \
+    sdext/unxlngi6.pro/bin/*.oxt \
+    reportbuilder/unxlngi6.pro/bin/report-builder.oxt \
+    swext/unxlngi6.pro/bin/wiki-publisher.oxt \
+    /opt/openoffice-3.2.1/share/extension/install</userinput></screen>
+
+    <para>Now, while still the <systemitem class="username">root</systemitem>
+    user, add everything into the shared installation:</para>
+
+<screen role="root"><userinput>for ext in /opt/openoffice-3.2.1/share/extension/install/*.oxt
+do
+    /opt/openoffice-3.2.1/program/unopkg add --shared --verbose $ext
+done</userinput></screen>
+
+    <note><para><application>OpenOffice</application> default language tools
+    will not work out of the box.  You will have to explicitly select the
+    proper language settings from within one of the installed  programs by
+    going into the Tools menu and selecting Options.  Under Language Settings,
+    Languages, select the desired language for all settings.  Do not leave
+    "Default" in any drop down menu here.</para></note>
+
     <para>Finally, if you'd like to edit <application>OpenOffice</application>
     documents directly from <xref linkend="seamonkey"/> or
     <xref linkend="firefox"/>, create a symbolic link in your




More information about the blfs-book mailing list