Hi,

this updates poppler to 26.02.0.

This is for people who want to test print/scribus (sent a few minutes
ago).

I'll give this and those ports I already prepared for 26.02.0 (and
some remaining ports that don't have enough #ifdef goo to be committed
before poppler) a try tomorrow and will commit them on saturday.

Ciao,
        Kili

Index: Makefile
===================================================================
RCS file: /cvs/ports/print/poppler/Makefile,v
diff -u -p -r1.205 Makefile
--- Makefile    9 Jan 2026 19:52:31 -0000       1.205
+++ Makefile    18 Feb 2026 20:27:28 -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.01.0
+V=             26.02.0
 DISTNAME=      poppler-$V
 CATEGORIES=    print
 PKGNAME-main=  poppler-$V
@@ -13,8 +13,8 @@ PKGNAME-qt6=  poppler-qt6-$V
 
 EXTRACT_SUFX=  .tar.xz
 
-SHARED_LIBS += poppler              98.0     # 156.0
-SHARED_LIBS += poppler-glib         19.18    # 8.31
+SHARED_LIBS += poppler              99.0     # 157.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
 SHARED_LIBS += poppler-cpp          20.0     # 3.0
Index: distinfo
===================================================================
RCS file: /cvs/ports/print/poppler/distinfo,v
diff -u -p -r1.121 distinfo
--- distinfo    9 Jan 2026 19:52:31 -0000       1.121
+++ distinfo    18 Feb 2026 20:27:28 -0000
@@ -1,2 +1,2 @@
-SHA256 (poppler-26.01.0.tar.xz) = HLlEpLiIR/X7ZVFoO8eZ21nwSZD12L4Hq6KsvzhgEIk=
-SIZE (poppler-26.01.0.tar.xz) = 2003516
+SHA256 (poppler-26.02.0.tar.xz) = 3e2GIfey9pXJEGOqsVWGkchBg3TNWDUB6J7TlIfnq3c=
+SIZE (poppler-26.02.0.tar.xz) = 2025588
Index: patches/patch-poppler_XRef_cc
===================================================================
RCS file: /cvs/ports/print/poppler/patches/patch-poppler_XRef_cc,v
diff -u -p -r1.35 patch-poppler_XRef_cc
--- patches/patch-poppler_XRef_cc       19 Jun 2025 20:17:30 -0000      1.35
+++ patches/patch-poppler_XRef_cc       18 Feb 2026 20:27:28 -0000
@@ -1,7 +1,7 @@
 Index: poppler/XRef.cc
 --- poppler/XRef.cc.orig
 +++ poppler/XRef.cc
-@@ -1126,7 +1126,7 @@ bool XRef::isRefEncrypted(Ref r)
+@@ -1123,7 +1123,7 @@ bool XRef::isRefEncrypted(Ref r)
  
  bool XRef::okToPrint(bool ignoreOwnerPW) const
  {
@@ -10,23 +10,21 @@ Index: poppler/XRef.cc
  }
  
  // we can print at high res if we are only doing security handler revision
-@@ -1134,48 +1134,37 @@ bool XRef::okToPrint(bool ignoreOwnerPW) const
+@@ -1131,47 +1131,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
  {
 -    if (encrypted) {
 -        if (2 == encRevision) {
 -            return (okToPrint(ignoreOwnerPW));
--        } else if (encRevision >= 3) {
+-        }
+-        if (encRevision >= 3) {
 -            return (okToPrint(ignoreOwnerPW) && (permFlags & 
permHighResPrint));
--        } else {
--            // something weird - unknown security handler version
--            return false;
 -        }
--    } else {
--        return true;
+-        // something weird - unknown security handler version
+-        return false;
 -    }
-+    return true;
+     return true;
  }
  
  bool XRef::okToChange(bool ignoreOwnerPW) const

Reply via email to