Index: general/prog/clisp.xml
===================================================================
--- general/prog/clisp.xml	(revision 8c7482495b2ba31ae42b34071c3773fa393c09c2)
+++ general/prog/clisp.xml	(revision 34fbc15bd0e0e0df2ea7c0b0da87497c9d709df6)
@@ -35,5 +35,5 @@
     </para>
 
-    &lfs79_checked;&gcc6_checked;
+    &lfs7a_checked;
 
     <bridgehead renderas="sect3">Package Information</bridgehead>
Index: introduction/welcome/changelog.xml
===================================================================
--- introduction/welcome/changelog.xml	(revision 8c7482495b2ba31ae42b34071c3773fa393c09c2)
+++ introduction/welcome/changelog.xml	(revision 34fbc15bd0e0e0df2ea7c0b0da87497c9d709df6)
@@ -48,4 +48,8 @@
       <para>September 1st, 2016</para>
       <itemizedlist>
+        <listitem>
+          <para>[ken] - Update to libreoffice-5.2.0.4. Fixes
+          <ulink url="&blfs-ticket-root;8148">#8148</ulink>.</para>
+        </listitem>
         <listitem>
           <para>[pierre] - Update to SDDM-0.14.0. Fixes
Index: packages.ent
===================================================================
--- packages.ent	(revision 8c7482495b2ba31ae42b34071c3773fa393c09c2)
+++ packages.ent	(revision 34fbc15bd0e0e0df2ea7c0b0da87497c9d709df6)
@@ -671,6 +671,6 @@
 <!ENTITY gnucash-version              "2.4.11">
 
-<!ENTITY libreoffice-version          "5.1.4">
-<!ENTITY libreoffice-patch            ".2">
+<!ENTITY libreoffice-version          "5.2.0">
+<!ENTITY libreoffice-patch            ".4">
 <!ENTITY libreoffice-dlversion        "&libreoffice-version;&libreoffice-patch;">
 
Index: xsoft/office/libreoffice.xml
===================================================================
--- xsoft/office/libreoffice.xml	(revision 8c7482495b2ba31ae42b34071c3773fa393c09c2)
+++ xsoft/office/libreoffice.xml	(revision 34fbc15bd0e0e0df2ea7c0b0da87497c9d709df6)
@@ -8,22 +8,22 @@
 
   <!ENTITY libreoffice-core-download-http "&libreoffice-dl;/libreoffice-&libreoffice-dlversion;.tar.xz">
-  <!ENTITY libreoffice-core-md5sum        "cbeb42aecb280824045b4b43a2666923">
-  <!ENTITY libreoffice-core-size          "168 MB">
+  <!ENTITY libreoffice-core-md5sum        "40ee24812d171238981599843ca9f5b6">
+  <!ENTITY libreoffice-core-size          "175 MB">
 
   <!ENTITY libreoffice-dict-download-http "&libreoffice-dl;/libreoffice-dictionaries-&libreoffice-dlversion;.tar.xz">
-  <!ENTITY libreoffice-dict-md5sum        "6657104b429e04c1d3e5e4285a8776b4">
-  <!ENTITY libreoffice-dict-size          "37 MB">
+  <!ENTITY libreoffice-dict-md5sum        "6a30891f131323947db97de00b99e3a9">
+  <!ENTITY libreoffice-dict-size          "40 MB">
 
   <!ENTITY libreoffice-help-download-http "&libreoffice-dl;/libreoffice-help-&libreoffice-dlversion;.tar.xz">
-  <!ENTITY libreoffice-help-md5sum        "bdc0d7339445abee73af326d9409b4b9">
-  <!ENTITY libreoffice-help-size          "1.8 MB">
+  <!ENTITY libreoffice-help-md5sum        "c3f98b287d1464b4b7b410833a2d79a9">
+  <!ENTITY libreoffice-help-size          "1.9 MB">
 
   <!ENTITY libreoffice-translations-download-http "&libreoffice-dl;/libreoffice-translations-&libreoffice-dlversion;.tar.xz">
-  <!ENTITY libreoffice-translations-md5sum        "c71242e41debd8d57c5ae8b74a26d005">
+  <!ENTITY libreoffice-translations-md5sum        "584877f514a723403c0344cc84a0bc59">
   <!ENTITY libreoffice-translations-size          "126 MB">
 
 
-  <!ENTITY libreoffice-buildsize          "7.9 GB (606 MB installed)">
-  <!ENTITY libreoffice-time               "45 SBU with parallelism = 4 + download time">
+  <!ENTITY libreoffice-buildsize          "7.6 GB (596 MB installed) without unit tests"> 
+  <!ENTITY libreoffice-time               "40 SBU with parallelism = 4 + download time"> 
 
 ]>
@@ -52,5 +52,5 @@
     </para>
 
-    &lfs79_checked;&gcc6_checked;
+    &lfs7a_checked;
 
     <bridgehead renderas="sect3">Package Information</bridgehead>
@@ -190,5 +190,4 @@
       <xref linkend="mesa"/>,
       <xref linkend="neon"/>,
-      <xref linkend="npapi-sdk"/>,
       <xref linkend="nss"/>,
       <xref linkend="openldap"/> (if connecting to an LDAP server),
@@ -349,5 +348,6 @@
 sed -i "s#isnan#std::&amp;#g" xmloff/source/draw/ximp3dscene.cxx &amp;&amp; -->
 
-chmod -v +x bin/unpack-sources &amp;&amp;
+<!-- fixed in 5.2.0.4
+chmod -v +x bin/unpack-sources &amp;&amp; -->
 
 ./autogen.sh --prefix=$LO_PREFIX         \
@@ -380,5 +380,4 @@
              --with-system-libxml        \
              --with-system-neon          \
-             --with-system-npapi-headers \
              --with-system-nss           \
              --with-system-odbc          \
@@ -394,5 +393,8 @@
       The instructions below will only build the package without running
       any unit tests. If you prefer to run the unit tests, replace
-      <command>make build</command> with <command>make</command>.
+      <command>make build-nocheck</command> with <command>make build</command>
+      or (as a regular user only) just <command>make</command>, but do not be
+      surprised if a unit test fails right at the end of the build and
+      breaks it.
     </para>
 
@@ -401,5 +403,5 @@
     </para>
 
-<screen><userinput>make build</userinput></screen>
+<screen><userinput>make build-nocheck</userinput></screen>
 
     <para>
@@ -407,8 +409,7 @@
     </para>
 
-<screen role="root"><userinput>make distro-pack-install                                  &amp;&amp;
-install -v -m755 -d $LO_PREFIX/share/appdata              &amp;&amp;
-install -v -m644    sysui/desktop/appstream-appdata/*.xml \
-                    $LO_PREFIX/share/appdata</userinput></screen>
+<screen role="root"><userinput>make distro-pack-install</userinput></screen>
+<!-- $LO_PREFIX/share/appdata/*.xml gets installed by distro-pack-install
+in 5.2.0.4 -->
 
     <para>
@@ -475,8 +476,4 @@
 
     <para>
-      <command>chmod -v +x ...</command>: Fix the unpack script's permissions.
-    </para>
-
-    <para>
       <parameter>--with-vendor=BLFS</parameter>: This switch sets BLFS as
       the vendor which is mentioned when you click "About" on the toolbar.
@@ -596,6 +593,7 @@
     </para>
 
-    <para>
-      <option>--disable-firebird-sdbc</option>: By default, the ability to
+    <!-- commented, because we do this above as a parameter
+    <para>
+      <option>\-\-disable-firebird-sdbc</option>: By default, the ability to
       connect to a <application>firebird</application> database is enabled.
       This is regarded as 'experimental' and from time to time the unit test
@@ -603,5 +601,5 @@
       you need to connect to such a database, and the build fails for you,
       you will need to build <xref linkend="gdb"/> to help upstream debug it.
-    </para>
+    </para> -->
 
     <para>
@@ -627,6 +625,8 @@
 
     <para>
-      <option>--enable-kde4</option>: Use this switch if you want to build the
-      <application>KDE</application> integration module.
+      <option>--without-fonts</option>: <application>LibreOffice</application>
+      includes a number of third-party TrueType fonts. If you have already
+      installed some or all of the same fonts, you may prefer to use the system
+      versions.
     </para>
 
