Changeset 4881073 for general


Ignore:
Timestamp:
01/17/2015 04:50:04 PM (9 years ago)
Author:
Bruce Dubbs <bdubbs@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 7.10, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, lazarus, lxqt, nosym, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
Children:
c10e2d2
Parents:
852fc810
Message:

Clarify poppler instructions

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@15347 af4574ff-66df-0310-9fd7-8a98e5e911e0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • general/graphlib/poppler.xml

    r852fc810 r4881073  
    148148
    149149    <para>
    150       In order to optionally run the test suite, additional download of about
    151       9 MB, using <xref linkend="git"/>, is necessary. Make sure that you do
     150      In order to optionally run the test suite, an additional download of about
     151      9 MB using <xref linkend="git"/> is necessary. Make sure that you do
    152152      not have the directory ../test.
    153153    </para>
    154154
    155 <screen><userinput>git clone git://git.freedesktop.org/git/poppler/test ../test</userinput></screen>
    156 
    157     <para>
    158       This package may be built either without <application>Qt</application>
    159       library, or with one or both versions of <application>Qt4 and
    160       5</application> libraries. In order to build the
    161       <application>Qt4</application> and <application>Qt5</application>
    162       libraries, you need to run the install commands twice, because, although
    163       both are detected, only the wrapper for the the first
    164       <application>Qt</application> version in the PATH is built.
    165     </para>
    166 
    167     <para>
    168       The instructions are divided into four parts: first, build with
    169       <application>Qt4 or 5</application> at <filename
    170       class="directory">/user</filename>, without <application>Qt</application>
    171       or with <application>Qt4</application> under <filename
    172       class="directory">/opt</filename>; second, build with
    173       <application>Qt5</application> under <filename
    174       class="directory">/opt</filename>; third, install the common documents
    175       (optional); and fourth, install the additional encoding data package.
    176     </para>
    177 
    178 <!-- ==== With Qt4 or 5 at /user, without Qt or with Qt4 under /opt ====== -->
    179     <bridgehead renderas="sect3">With Qt4 or 5 at /user, without Qt or with Qt4
    180     under /opt</bridgehead>
     155<screen><userinput>rm -rf ../test &amp;&amp;
     156git clone git://git.freedesktop.org/git/poppler/test ../test</userinput></screen>
     157
     158    <note><para>
     159      This package can be optionally built with support for either the Qt4 or
     160      Qt5 libraries, but it only builds with one of those at a time. If you
     161      have both Qt versions installed, you will need to specify which one to
     162      use before executing the <command>configure</command> command given
     163      below. Use this command to link to Qt4:
     164     
     165      <screen><userinput>source /usr/bin/setqt4</userinput></screen>
     166
     167      or use this to use Qt5:
     168
     169      <screen><userinput>source /usr/bin/setqt5</userinput></screen>
     170
     171      If you would like <application>Poppler</application> to link to both Qt
     172      versions, you will need to build it twice.
     173    </para></note>
    181174
    182175    <para>
     
    185178    </para>
    186179
    187 <!-- Warning: Using zlib is not totally safe -->
    188 <screen><userinput>[ -e /usr/bin/setqt4 ] &amp;&amp; source setqt4 || [ ! -e /usr/bin/setqt5 ] &amp;&amp;
    189 ./configure --prefix=/usr     \
     180<screen><userinput>./configure --prefix=/usr     \
    190181            --sysconfdir=/etc \
    191182            --disable-static  \
     
    203194<screen role="root"><userinput>make install</userinput></screen>
    204195
    205 <!-- ==== With Qt5 under /opt ====== -->
    206     <bridgehead renderas="sect3">With Qt5 under /opt </bridgehead>
    207 
    208     <para>
    209       Install <application>Poppler</application> by running the following
    210       commands:
    211     </para>
    212 
    213 <!-- Warning: Using zlib is not totally safe -->
    214 <screen><userinput>[ -e /usr/bin/setqt5 ] &amp;&amp; source setqt5 &amp;&amp;
    215 ./configure --prefix=/usr     \
    216             --sysconfdir=/etc \
    217             --disable-static  \
    218             --enable-xpdf-headers &amp;&amp;
    219 make</userinput></screen>
    220 
    221     <para>
    222       To test the results, issue: <command>make check</command>.
    223     </para>
    224 
    225     <para>
    226       Now, as the <systemitem class="username">root</systemitem> user:
    227     </para>
    228 
    229 <screen role="root"><userinput>make install</userinput></screen>
    230 
    231 <!-- ==== Documents ====== -->
    232     <bridgehead renderas="sect3">Documents</bridgehead>
    233 
    234     <para>
    235       The documents are installed using the following commands:
     196    <para>
     197      To install the documentation, run the following commands as
     198      <systemitem class="username">root</systemitem>:
    236199    </para>
    237200
Note: See TracChangeset for help on using the changeset viewer.