From: Matthias Kilian Subject: update print/poppler To: ports@openbsd.org Date: Sun, 17 Mar 2024 22:29:44 +0100 Hi, this updates poppler to 24.03.0. graphics/inkscape and print/scribus require some patches, which I'll send after this one. Ciao, Kili Index: Makefile =================================================================== RCS file: /cvs/ports/print/poppler/Makefile,v diff -u -p -r1.182 Makefile --- Makefile 5 Feb 2024 22:15:38 -0000 1.182 +++ Makefile 17 Mar 2024 19:40:31 -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= 24.02.0 +V= 24.03.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 77.0 # 134.0 +SHARED_LIBS += poppler 78.0 # 135.0 SHARED_LIBS += poppler-glib 19.12 # 8.26 SHARED_LIBS += poppler-qt5 8.12 # 1.33 SHARED_LIBS += poppler-qt6 1.4 # 3.4 Index: distinfo =================================================================== RCS file: /cvs/ports/print/poppler/distinfo,v diff -u -p -r1.99 distinfo --- distinfo 5 Feb 2024 22:15:38 -0000 1.99 +++ distinfo 17 Mar 2024 19:40:31 -0000 @@ -1,2 +1,2 @@ -SHA256 (poppler-24.02.0.tar.xz) = GRh6P90F8z59YExHmcGD3lygEYZAyIs3DdzzE2NDIi4= -SIZE (poppler-24.02.0.tar.xz) = 1897604 +SHA256 (poppler-24.03.0.tar.xz) = uvvw21cT3sJbXRbrLNh+SmI1HNxA8FDDk3zY3WiC1EY= +SIZE (poppler-24.03.0.tar.xz) = 1902068 Index: patches/patch-poppler_XRef_cc =================================================================== RCS file: /cvs/ports/print/poppler/patches/patch-poppler_XRef_cc,v diff -u -p -r1.30 patch-poppler_XRef_cc --- patches/patch-poppler_XRef_cc 11 Oct 2023 18:09:12 -0000 1.30 +++ patches/patch-poppler_XRef_cc 17 Mar 2024 19:40:31 -0000 @@ -1,7 +1,7 @@ Index: poppler/XRef.cc --- poppler/XRef.cc.orig +++ poppler/XRef.cc -@@ -1110,7 +1110,7 @@ bool XRef::isRefEncrypted(Ref r) +@@ -1111,7 +1111,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 -@@ -1118,48 +1118,37 @@ bool XRef::okToPrint(bool ignoreOwnerPW) const +@@ -1119,48 +1119,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 { Index: patches/patch-utils_CMakeLists_txt =================================================================== RCS file: /cvs/ports/print/poppler/patches/patch-utils_CMakeLists_txt,v diff -u -p -r1.8 patch-utils_CMakeLists_txt --- patches/patch-utils_CMakeLists_txt 17 Jul 2023 20:45:52 -0000 1.8 +++ patches/patch-utils_CMakeLists_txt 17 Mar 2024 19:40:31 -0000 @@ -4,7 +4,7 @@ up any already installed older version o Index: utils/CMakeLists.txt --- utils/CMakeLists.txt.orig +++ utils/CMakeLists.txt -@@ -36,7 +36,7 @@ if (HAVE_CAIRO) +@@ -38,7 +38,7 @@ if (HAVE_CAIRO) ) add_definitions(${CAIRO_CFLAGS}) add_executable(pdftocairo ${pdftocairo_SOURCES})