# poppler/cfg - "Build" settings for package #--------------------------------------------------------------------- [technotes] 1. Important: Don't update "poppler" until a possible new release can be supported by this distro's LibreOffice package[s] and other pack- ages. As of October 2024, the highest "poppler" release that would work was 24.04. #--------------------------------------------------------------------- 2. More about the "poppler" update issue: As of LibreOffice 7.3.3.2, the highest "poppler" series that would work was 21.X. LibreOffice 7.3.3.2 couldn't be built against "poppler" 22.05.X even if the latest available patches were used. Due to this issue, it might be impractical to update "evince" and/or other packages until LibreOffice and/or other packages catch up with a particular "poppler" release series. I.e.: "evince" and/or other packages might require newer releases of "poppler" than LibreOffice and/or other packages support. A work-around for the latter issue might be to provide different pack- ages for old and new "poppler" release series and to build different packages that depend on "poppler" against different releases of "pop- pler". #--------------------------------------------------------------------- [buildtimes] 00.01 hours (or 000.82 minutes) - Dell Inspiron 6400 2.0 GHz Intel Duo 7200 2GB RAM 00.03 hours (or 001.85 minutes) - Toshiba Satellite C655 E-300 CPU 4GB RAM 00.08 hours (or 004.82 minutes) - HP EliteBook 8560w 32GB RAM 00.10 hours (or 005.90 minutes) - ThinkPad E540 i7 4x2 16GB RAM #--------------------------------------------------------------------- [settings] exepack = yes fortran = disabled license = See "license*.txt" in installed tree licfile = COPYING ltkludge = yes # Avoid "hardcode properties" errors nls = disabled tmpsize = 81M dontfind = openjpeg15 openjpeg21 openjpeg23 openjpeg24 setpaths = \ brotli cairo curl expat \ fontconfig freetype2 gtkcore jpeg \ lcms2 libgpgme libpng libxml2 \ nspr nss openjpeg poppler \ tiff xorg zlib #--------------------------------------------------------------------- [depends] actools boost # May be optional brotli cairo curl fontconfig freetype2 gawk ghostscript-core grep glib20:strict gtkcore:strict jpeg lcms2 libpng nspr nss openjpeg p11kit pkgconf qt5:forward sed tiff xorg zlib zstd #--------------------------------------------------------------------- [configure] BINDIR=$PKGDIR_PROD/bin DOCDIR=$PKGDIR_PROD/doc MANBASE=$PKGDIR_PROD/man # Warning: "Builds" may fail unless "--keeptimes" is used here. treetextsub --keeptimes \ --pattern=_DISABLE_DEPRECATED \ --newtext=_ENABLE_DEPRECATED mkdir -p $BINDIR $DOCDIR $MANBASE sed -e 's/ENABLE_NSS3 ON/ENABLE_NSS3 OFF/' \ -e 's/\(ENABLE_XPDF_HEADERS.*\)OFF/\1ON/' \ -i CMakeLists.txt #--------------------------------------------------------------------- PT=$PRODTREE if [ "@$LACUSEQT5" == "@" ]; then LACUSEQT5=OFF fi if [ "@$LACUSEQT6" == "@" ]; then LACUSEQT6=OFF fi ENABLE_QT5=$LACUSEQT5 ENABLE_QT6=$LACUSEQT6 # The directories listed here may not exist yet. # CMPP="$PT/qt5;$PT/qt6" mkdir obj && cd obj cmake \ -DCMAKE_INSTALL_PREFIX=$PKGDIR_PROD \ -DCMAKE_INSTALL_LIBDIR=lib \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_PREFIX_PATH="$CMPP" \ -DCMAKE_CXX_STANDARD=20 \ -DENABLE_QT5=$ENABLE_QT5 \ -DENABLE_QT6=$ENABLE_QT6 \ -DENABLE_UNSTABLE_API_ABI_HEADERS=ON \ .. #--------------------------------------------------------------------- [build] cd obj && smpmake && make install #--------------------------------------------------------------------- cat > test/perf-test.cc << END main() {} END #--------------------------------------------------------------------- [postbuild] INCDIR=$PKGDIR_PROD/include/poppler LIBDIR=$PKGDIR_PROD/lib SHADIR=$PKGDIR_PROD/share PCFDIR=$LIBDIR/pkgconfig tar -zxf $PKGDIR_SPECIAL/poppler-data-0.4.11.tar.gz cd poppler-data-0.4.11 make prefix=$PKGDIR_PROD install mkdir -p $PCFDIR sed -e "s@/usr/local/share/poppler@$SHADIR@" \ -i poppler-data.pc cp poppler-data.pc $PCFDIR/ cd .. makelac --force cairo #--------------------------------------------------------------------- # Original URLs. These URLs were valid at one point, but may have died # since then. If you download newer versions of tarballs [etc.], don't # delete the original versions, as you may not be able to replace # them. [urls] url_debian = http://packages.debian.org/unstable/source/poppler url_home = http://poppler.freedesktop.org/ url_lfs = n/a url_tarball = https://poppler.freedesktop.org/poppler-24.04.0.tar.xz #--------------------------------------------------------------------- [history] 170507 Updated from 0.41.0 to 0.54.0 170527 Updated to 0.55.0 170623 Updated to 0.56.0 170819 Updated to 0.57.0 170907 Updated to 0.59.0 171028 Updated to 0.60.1 180625 Updated to 0.66.0 190314 Updated to 0.74.0 210222 Updated to 21.02.0 210908 Updated "poppler-data" to 0.4.11 210912 Updated to 21.08.0 211101 Updated to 21.11.0 220616 Updated to 22.06.0 240314 Updated to 24.03.0 240402 Updated to 24.04.0