Hi, poppler-26.05 needs ports-clang (for clang-scan-deps), which means it's no longer available on alpha and hppa. Here's the update diff. I'll do some testing before committing it. Ciao, Kili Index: Makefile =================================================================== RCS file: /cvs/ports/print/poppler/Makefile,v diff -u -p -r1.208 Makefile --- Makefile 10 Apr 2026 19:28:59 -0000 1.208 +++ Makefile 13 May 2026 21:22:26 -0000 @@ -3,7 +3,7 @@ COMMENT-qt5= Qt5 interface to PDF render COMMENT-qt6= Qt6 interface to PDF rendering library COMMENT-utils= PDF conversion tools and utilities -V= 26.04.0 +V= 26.05.0 DISTNAME= poppler-$V CATEGORIES= print PKGNAME-main= poppler-$V @@ -13,7 +13,7 @@ PKGNAME-qt6= poppler-qt6-$V EXTRACT_SUFX= .tar.xz -SHARED_LIBS += poppler 101.0 # 159.0 +SHARED_LIBS += poppler 102.0 # 160.0 SHARED_LIBS += poppler-glib 19.19 # 8.31 SHARED_LIBS += poppler-qt5 9.3 # 1.40 SHARED_LIBS += poppler-qt6 2.3 # 3.12 @@ -36,8 +36,9 @@ MULTI_PACKAGES=-main -qt5 -qt6 -utils .include <bsd.port.arch.mk> -# c++-17 -COMPILER= base-clang ports-gcc +# c++-23 +# needs clang-scan-deps, which isn't installed in base. +COMPILER= ports-clang MODULES= devel/cmake Index: distinfo =================================================================== RCS file: /cvs/ports/print/poppler/distinfo,v diff -u -p -r1.124 distinfo --- distinfo 10 Apr 2026 19:28:59 -0000 1.124 +++ distinfo 13 May 2026 21:22:26 -0000 @@ -1,2 +1,2 @@ -SHA256 (poppler-26.04.0.tar.xz) = sJVRYxFK+WvAEG9oyyTa+XOmKUYkU9i4J3X4Gw1OBpM= -SIZE (poppler-26.04.0.tar.xz) = 2032180 +SHA256 (poppler-26.05.0.tar.xz) = b+8n/wTzfbQwVMhrzf9hKMn7H2r07zyLNpp+mr1o0Ls= +SIZE (poppler-26.05.0.tar.xz) = 2037356 Index: patches/patch-CMakeLists_txt =================================================================== RCS file: /cvs/ports/print/poppler/patches/patch-CMakeLists_txt,v diff -u -p -r1.11 patch-CMakeLists_txt --- patches/patch-CMakeLists_txt 12 Mar 2026 19:20:16 -0000 1.11 +++ patches/patch-CMakeLists_txt 13 May 2026 21:22:26 -0000 @@ -1,14 +1,14 @@ -Allow to build against qt-6.5. +Allow to build against newer qt-6. Index: CMakeLists.txt --- CMakeLists.txt.orig +++ CMakeLists.txt -@@ -218,7 +218,7 @@ find_soft_mandatory_package(ENABLE_QT5 Qt5Xml ${QT5_VE - find_soft_mandatory_package(ENABLE_QT5 Qt5Widgets ${QT5_VERSION}) - find_soft_mandatory_package(ENABLE_QT5 Qt5Test ${QT5_VERSION}) - --set(QT6_VERSION "6.2") +@@ -151,7 +151,7 @@ set(GPGME_VERSION "1.19") + set(LCMS2_REQUIRED_VERSION "2.14") + set(TIFF_VERSION "4.5") + set(QT5_VERSION "5.15") +-set(QT6_VERSION "6.4") +set(QT6_VERSION "6") - SET(QT_NO_CREATE_VERSIONLESS_TARGETS ON) - find_soft_mandatory_package(ENABLE_QT6 Qt6Core ${QT6_VERSION}) - find_soft_mandatory_package(ENABLE_QT6 Qt6Gui ${QT6_VERSION}) + set(BOOST_VERSION "1.83") + set(GOBJECT_INTROSPECTION_VERSION "1.80") + Index: patches/patch-glib_CMakeLists_txt =================================================================== RCS file: /cvs/ports/print/poppler/patches/patch-glib_CMakeLists_txt,v diff -u -p -r1.19 patch-glib_CMakeLists_txt --- patches/patch-glib_CMakeLists_txt 30 Oct 2025 20:52:55 -0000 1.19 +++ patches/patch-glib_CMakeLists_txt 13 May 2026 21:22:26 -0000 @@ -11,7 +11,7 @@ Index: glib/CMakeLists.txt if(MINGW AND BUILD_SHARED_LIBS) get_target_property(POPPLER_GLIB_SOVERSION poppler-glib SOVERSION) set_target_properties(poppler-glib PROPERTIES SUFFIX "-${POPPLER_GLIB_SOVERSION}${CMAKE_SHARED_LIBRARY_SUFFIX}") -@@ -147,6 +146,9 @@ if (HAVE_INTROSPECTION AND BUILD_SHARED_LIBS) +@@ -143,6 +142,9 @@ if (HAVE_INTROSPECTION AND BUILD_SHARED_LIBS) _gir_list_prefix(_includes _tmp_includes "-I") # And set flags for gir compiler and scanner set(Poppler_0_18_gir_CFLAGS ${_includes} -L${CMAKE_BINARY_DIR} -L${CMAKE_CURRENT_BINARY_DIR}) Index: patches/patch-poppler_Form_cc =================================================================== RCS file: /cvs/ports/print/poppler/patches/patch-poppler_Form_cc,v diff -u -p -r1.19 patch-poppler_Form_cc --- patches/patch-poppler_Form_cc 7 Dec 2025 06:21:05 -0000 1.19 +++ patches/patch-poppler_Form_cc 13 May 2026 21:22:26 -0000 @@ -1,7 +1,7 @@ Index: poppler/Form.cc --- poppler/Form.cc.orig +++ poppler/Form.cc -@@ -48,6 +48,7 @@ +@@ -49,6 +49,7 @@ #include <array> #include <set> Index: patches/patch-poppler_XRef_cc =================================================================== RCS file: /cvs/ports/print/poppler/patches/patch-poppler_XRef_cc,v diff -u -p -r1.37 patch-poppler_XRef_cc --- patches/patch-poppler_XRef_cc 12 Mar 2026 19:20:16 -0000 1.37 +++ patches/patch-poppler_XRef_cc 13 May 2026 21:22:26 -0000 @@ -1,7 +1,7 @@ Index: poppler/XRef.cc --- poppler/XRef.cc.orig +++ poppler/XRef.cc -@@ -1124,7 +1124,7 @@ bool XRef::isRefEncrypted(Ref r) +@@ -1230,7 +1230,7 @@ bool XRef::isRefEncrypted(Ref r) bool XRef::okToPrint(bool ignoreOwnerPW) const { @@ -10,7 +10,7 @@ Index: poppler/XRef.cc } // we can print at high res if we are only doing security handler revision -@@ -1132,47 +1132,37 @@ bool XRef::okToPrint(bool ignoreOwnerPW) const +@@ -1238,47 +1238,37 @@ bool XRef::okToPrint(bool ignoreOwnerPW) const // 3 and we are allowed to print, and bit 12 is set. bool XRef::okToPrintHighRes(bool ignoreOwnerPW) const {
No comments:
Post a Comment