Changeset 1c92d68a


Ignore:
Timestamp:
06/13/2024 04:16:39 AM (5 weeks ago)
Author:
Xi Ruoyao <xry111@…>
Branches:
gimp3, trunk
Children:
161684a
Parents:
7c2913ba
git-author:
Xi Ruoyao <xry111@…> (06/13/2024 04:16:10 AM)
git-committer:
Xi Ruoyao <xry111@…> (06/13/2024 04:16:39 AM)
Message:

poppler: Switch to ninja, and adapt new cmake command style

Also fix the explanation for -D ENABLE_QT6=OFF, add back the explanation
for -D ENABLE_QT5=OFF.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • general/graphlib/poppler.xml

    r7c2913ba r1c92d68a  
    174174cd    build                         &amp;&amp;
    175175
    176 cmake  -DCMAKE_BUILD_TYPE=Release   \
    177        -DCMAKE_INSTALL_PREFIX=/usr  \
    178        -DTESTDATADIR=$PWD/testfiles \
    179        -DENABLE_QT5=OFF             \
    180        -DENABLE_UNSTABLE_API_ABI_HEADERS=ON \
    181        ..                           &amp;&amp;
    182 make</userinput></screen>
     176cmake -D CMAKE_BUILD_TYPE=Release   \
     177      -D CMAKE_INSTALL_PREFIX=/usr  \
     178      -D TESTDATADIR=$PWD/testfiles \
     179      -D ENABLE_QT5=OFF             \
     180      -D ENABLE_UNSTABLE_API_ABI_HEADERS=ON \
     181      -G Ninja ..                   &amp;&amp;
     182ninja</userinput></screen>
    183183
    184184    <para>
     
    187187      them is:
    188188<command>git clone --depth 1 https://gitlab.freedesktop.org/poppler/test.git testfiles</command>.
    189       Then issue: <command>LC_ALL=en_US.UTF-8 make test</command>.
     189      Then issue: <command>LC_ALL=en_US.UTF-8 ninja test</command>.
    190190      One subtest of check_qt6_signature_basics is known to fail.
    191191    </para>
     
    195195    </para>
    196196
    197 <screen role="root"><userinput>make install</userinput></screen>
     197<screen role="root"><userinput>ninja install</userinput></screen>
    198198
    199199    <para>
     
    220220    </para>
    221221
    222 <screen role="root"><userinput>make prefix=/usr install</userinput></screen>
     222<screen role="root"><userinput>ninja prefix=/usr install</userinput></screen>
    223223
    224224  </sect2>
     
    228228
    229229    <para>
    230       <parameter>-DCMAKE_BUILD_TYPE=Release</parameter>: This switch is used
     230      <parameter>-D CMAKE_BUILD_TYPE=Release</parameter>: This switch is used
    231231      to apply a higher level of compiler optimizations.
    232232    </para>
    233233
    234234    <para>
    235       <parameter>-DTESTDATADIR=$PWD/testfiles</parameter>: Tells the test
     235      <parameter>-D TESTDATADIR=$PWD/testfiles</parameter>: Tells the test
    236236      programs where the auxiliary files are located.
    237237    </para>
    238 <!--
    239     <para>
    240       <parameter>-DENABLE_QT5=OFF</parameter>: This switch is needed to
     238
     239    <para>
     240      <parameter>-D ENABLE_QT5=OFF</parameter>: This switch is needed to
    241241      prevent an error when Qt5 is not installed. Remove it if you
    242       have installed <xref linkend="qt6" role="nodep"/>.
    243     </para>
    244 -->
    245     <para>
    246       <parameter>-DENABLE_UNSTABLE_API_ABI_HEADERS=ON</parameter>: Installs some old
     242      have installed &qt5-deps;.
     243    </para>
     244
     245    <para>
     246      <parameter>-D ENABLE_UNSTABLE_API_ABI_HEADERS=ON</parameter>: Installs some old
    247247      <application>Xpdf</application> headers required by certain programs.
    248248      <!--(e.g. <application>Inkscape</application>).-->
     
    250250
    251251    <para>
    252       <option>-DENABLE_GTK_DOC=ON</option>: Use this parameter if
     252      <option>-D ENABLE_GTK_DOC=ON</option>: Use this parameter if
    253253      GTK-Doc <!--and Pygments--> is installed and you wish to rebuild and
    254254      install the API documentation.
     
    256256
    257257    <para>
    258       <option>-DENABLE_QT5=OFF</option>: Use this parameter if
    259       &qt5-deps; is not installed.
    260     </para>
    261 
    262     <para>
    263       <option>-DENABLE_BOOST=OFF</option>: Use this parameter if you have
     258      <option>-D ENABLE_QT6=OFF</option>: Use this parameter if
     259      <xref linkend='qt6'/> is not installed.
     260    </para>
     261
     262    <para>
     263      <option>-D ENABLE_BOOST=OFF</option>: Use this parameter if you have
    264264      not installed <application>boost</application> (the Splash backend for
    265265      Qt5 recommends boost).
     
    267267
    268268    <para>
    269       <option>-DENABLE_NSS3=OFF</option>: Use this parameter if you have
     269      <option>-D ENABLE_NSS3=OFF</option>: Use this parameter if you have
    270270      not installed <application>nss</application>.
    271271    </para>
    272272
    273273    <para>
    274       <option>-DENABLE_GPGME=OFF</option>: Use this parameter if you have
     274      <option>-D ENABLE_GPGME=OFF</option>: Use this parameter if you have
    275275      not installed <application>gpgme</application>.
    276276    </para>
    277277
    278278    <para>
    279       <option>-DENABLE_LIBTIFF=OFF</option>: Use this parameter if you have
     279      <option>-D ENABLE_LIBTIFF=OFF</option>: Use this parameter if you have
    280280      not installed <application>libtiff</application>.
    281281    </para>
    282282
    283283    <para>
    284       <command>LC_ALL=en_US.UTF-8 make test</command>: Runs the test suite.
     284      <command>LC_ALL=en_US.UTF-8 ninja test</command>: Runs the test suite.
    285285      The environment variable LC_ALL=en_US.UTF-8 is only needed if the
    286286      default locale does not include UTF-8.
Note: See TracChangeset for help on using the changeset viewer.