Changeset 65bce57f for general/graphlib


Ignore:
Timestamp:
10/14/2023 08:47:11 AM (7 months ago)
Author:
Pierre Labastie <pierre.labastie@…>
Branches:
12.1, ken/TL2024, ken/tuningfonts, lazarus, plabs/newcss, python3.11, rahul/power-profiles-daemon, renodr/vulkan-addition, trunk, xry111/llvm18
Children:
1c0eebe
Parents:
11eb541b
git-author:
Pierre Labastie <pierre.labastie@…> (10/14/2023 08:29:21 AM)
git-committer:
Pierre Labastie <pierre.labastie@…> (10/14/2023 08:47:11 AM)
Message:

Make Qt5 recommended for poppler

Recently, upstream has changed the way Qt5 is detected: if Qt5
is not installed, you have to pass -DENABLE_QT5=OFF, otherwise
cmake stops with an error. Previously, a non present Qt5 was
not fatal. But passing -DENABLE_QT5=OFF when qt5 is installed
prevents building the poppler-qt5 library, which is needed by
okular, one of the main users of poppler.
Until now we had Qt5 as optional, since building full Qt5 for other
users of poppler (mainly inkscape, other users can benefit of qt5)
was kind of overkill. But now we have qt5-alternate, and also
this change in behavior of poppler. So it seems it is acceptable
to have qt5 or qt5-alternate as recommended.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • general/graphlib/poppler.xml

    r11eb541b r65bce57f  
    132132      <xref linkend="libjpeg"/>,
    133133      <xref linkend="libpng"/>,
    134       <xref linkend="nss"/>, and
    135       <xref linkend="openjpeg2"/>
     134      <xref linkend="nss"/>,
     135      <xref linkend="openjpeg2"/>, and
     136      &qt5-deps;
     137      (required for PDF support in <xref role="nodep" linkend="okular5"/>)
    136138    </para>
    137139
     
    144146      <xref linkend="gtk-doc"/>,
    145147      <xref linkend="gtk3"/>,
    146       <xref linkend="libtiff"/>,
    147       &qt5-deps;
    148       (required for PDF support in <xref role="nodep" linkend="okular5"/>), and
    149       <ulink url="https://download.qt.io/archive/qt/">Qt-6.1 or later</ulink>.
     148      <xref linkend="libtiff"/>, and
     149      <ulink url="https://download.qt.io/archive/qt/">Qt-6.2 or later</ulink>.
    150150
    151151    </para>
     
    167167       -DCMAKE_INSTALL_PREFIX=/usr  \
    168168       -DTESTDATADIR=$PWD/testfiles \
    169        -DENABLE_QT5=OFF             \
    170169       -DENABLE_QT6=OFF             \
    171170       -DENABLE_UNSTABLE_API_ABI_HEADERS=ON \
     
    228227
    229228    <para>
     229      <parameter>-DENABLE_QT6=OFF</parameter>: This switch is needed to
     230      prevent an error when Qt6 is not installed. Remove it if you
     231      have installed qt-6.2 or later.
     232    </para>
     233
     234    <para>
    230235      <parameter>-DENABLE_UNSTABLE_API_ABI_HEADERS=ON</parameter>: Installs some old
    231236      <application>Xpdf</application> headers required by certain programs.
     
    242247      <option>-DENABLE_QT5=OFF</option>: Use this parameter if
    243248      &qt5-deps; is not installed.
    244     </para>
    245 
    246     <para>
    247       <option>-DENABLE_QT6=OFF</option>: Use this parameter if
    248       Qt6 is not installed.
    249249    </para>
    250250
Note: See TracChangeset for help on using the changeset viewer.