Index: general/graphlib/poppler-systemd.xml
===================================================================
--- general/graphlib/poppler-systemd.xml	(revision 00f715e8e18c960dafef39f58ad7bb101ced7998)
+++ general/graphlib/poppler-systemd.xml	(revision ac38e9dcc56be5d8809db3492da7b3380a64b944)
@@ -8,8 +8,8 @@
            "http://poppler.freedesktop.org/poppler-&poppler-version;.tar.xz">
   <!ENTITY poppler-download-ftp       " ">
-  <!ENTITY poppler-md5sum             "7a5d87b7f62db636cc59f73bbd240811">
-  <!ENTITY poppler-size               "1.5 MB">
-  <!ENTITY poppler-buildsize          "146.5 MB (building Qt4 and Qt5 libraries, additional 46.6 MB for the test suite and 23.8 MB for poppler-data)">
-  <!ENTITY poppler-time               "2.0 SBU (building Qt4 and Qt5 libraries, additional 0.5 SBU for the test suite for both QT versions.)">
+  <!ENTITY poppler-md5sum             "69927d1614d6704021c0b0dd0ee6a852">
+  <!ENTITY poppler-size               "1.6 MB">
+  <!ENTITY poppler-buildsize          "265 MB">
+  <!ENTITY poppler-time               "1.9 SBU">
 
   <!ENTITY poppler-data-version       "0.4.7">
@@ -44,5 +44,5 @@
     </para>
 
-    &lfs76_checked;
+    &lfs77_checked;
 
     <bridgehead renderas="sect3">Package Information</bridgehead>
@@ -119,6 +119,7 @@
     <para role="recommended">
       <xref linkend="cairo"/>,
-      <xref linkend="libjpeg"/>, and
-      <xref linkend="libpng"/>
+      <xref linkend="libjpeg"/>,
+      <xref linkend="libpng"/>, and
+      <xref linkend="openjpeg"/>
     </para>
 
@@ -127,8 +128,10 @@
       <xref linkend="curl"/>,
       <xref linkend="gobject-introspection"/>,
+      <xref linkend="gtk-doc"/>,
       <xref linkend="gtk2"/>,
       <xref linkend="lcms"/> or <xref linkend="lcms2"/>,
       <xref linkend="libtiff"/>,
-      <xref linkend="openjpeg"/>,
+      <xref linkend="openjpeg2"/> (<application>OpenJPEG1</application> is preferred
+      due to regressions in <application>OpenJPEG2</application> code),
       <xref linkend="qt4"/> (the <filename>libpoppler-qt4.so</filename> library
       is needed for PDF support in <application>Okular</application>), and
@@ -145,10 +148,10 @@
 
     <para>
-      In order to optionally run the test suite, additional download of about
-      9 MB, using <xref linkend="git"/>, is necessary. Make sure that you do
-      not have the directory ../test.
-    </para>
-
-<screen><userinput>git clone git://git.freedesktop.org/git/poppler/test ../test</userinput></screen>
+      In order to optionally run the test suite, an additional download
+      of about 9 MB using <xref linkend="git"/> is necessary.
+    </para>
+
+<screen><userinput>rm -rf testfiles &amp;&amp;
+git clone git://git.freedesktop.org/git/poppler/test testfiles</userinput></screen>
 
     <para>
@@ -158,12 +161,13 @@
 
 <!-- Warning: Using zlib is not totally safe -->
-<screen><userinput>./configure --prefix=/usr     \
-            --sysconfdir=/etc \
-            --disable-static  \
-            --enable-xpdf-headers &amp;&amp;
+<screen><userinput>./configure --prefix=/usr         \
+            --sysconfdir=/etc     \
+            --disable-static      \
+            --enable-xpdf-headers \
+            --with-testdatadir=$PWD/testfiles &amp;&amp;
 make</userinput></screen>
 
     <para>
-      To test the results, issue: <command>make check</command>.
+      To test the results, issue: <command>LC_ALL=en_US.UTF-8 make check</command>.
     </para>
 
@@ -178,5 +182,5 @@
     </para>
 
-<screen role="root"><userinput>install -v -m755 -d      /usr/share/doc/poppler-&poppler-version; &amp;&amp;
+<screen role="root"><userinput>install -v -dm755        /usr/share/doc/poppler-&poppler-version; &amp;&amp;
 install -v -m644 README* /usr/share/doc/poppler-&poppler-version;</userinput></screen>
 
@@ -212,5 +216,19 @@
 
     <para>
+      <option>--with-testdatadir=$PWD/testfiles</option>: This switch is used
+      to tell the test programs where the auxillary files are located.
+    </para>
+
+    <para>
       <option>--enable-libcurl</option>: Use libcurl for HTTP support.
+    </para>
+
+    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
+      href="../../xincludes/gtk-doc-rebuild.xml"/>
+
+    <para>
+      <command>LC_ALL=en_US.UTF-8 make check</command>: Run the test suite.
+      The environment variable LC_ALL=en_US.UTF-8 is only needed if the
+      default locale does not include UTF-8.
     </para>
 
