download.lst                                          |    4 ++--
 external/poppler/poppler-config.patch.1               |   12 ++++++------
 sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx |    8 ++++++++
 sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.hxx |    4 ++++
 4 files changed, 20 insertions(+), 8 deletions(-)

New commits:
commit 7848e02819c007026952a3fdc9da0961333dc079
Author:     Xisco Fauli <[email protected]>
AuthorDate: Tue Sep 2 10:42:44 2025 +0200
Commit:     Adolfo Jayme Barrientos <[email protected]>
CommitDate: Fri Sep 5 15:41:48 2025 +0200

    poppler: upgrade to 25.09.0
    
    Downloaded from https://poppler.freedesktop.org/poppler-25.09.0.tar.xz
    
    Change-Id: Ic7f3abd64d129543dcdc370816a0d69e5a59be90
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/190513
    Tested-by: Jenkins
    Reviewed-by: Xisco Fauli <[email protected]>
    Signed-off-by: Xisco Fauli <[email protected]>
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/190523
    Reviewed-by: Adolfo Jayme Barrientos <[email protected]>

diff --git a/download.lst b/download.lst
index af1631fb7769..8dcabbd30c0c 100644
--- a/download.lst
+++ b/download.lst
@@ -584,8 +584,8 @@ LIBTIFF_TARBALL := tiff-4.7.0.tar.xz
 # three static lines
 # so that git cherry-pick
 # will not run into conflicts
-POPPLER_SHA256SUM := 
425ed4d4515a093bdcdbbaac6876f20617451edc710df6a4fd6c45dd67eb418d
-POPPLER_TARBALL := poppler-25.08.0.tar.xz
+POPPLER_SHA256SUM := 
758abfe0c77108c72d654b291dfbce54964b5315a53028e3875f07ef55ff20a3
+POPPLER_TARBALL := poppler-25.09.0.tar.xz
 POPPLER_DATA_SHA256SUM := 
c835b640a40ce357e1b83666aabd95edffa24ddddd49b8daff63adb851cdab74
 POPPLER_DATA_TARBALL := poppler-data-0.4.12.tar.gz
 # three static lines
diff --git a/external/poppler/poppler-config.patch.1 
b/external/poppler/poppler-config.patch.1
index 573c23ab284f..6c653ab3d050 100644
--- a/external/poppler/poppler-config.patch.1
+++ b/external/poppler/poppler-config.patch.1
@@ -179,7 +179,7 @@ index 0fbd336a..451213f8 100644
 +#define PACKAGE_NAME "poppler"
 +
 +/* Define to the full name and version of this package. */
-+#define PACKAGE_STRING "poppler 25.05.0"
++#define PACKAGE_STRING "poppler 25.09.0"
 +
 +/* Define to the one symbol short name of this package. */
 +#define PACKAGE_TARNAME "poppler"
@@ -188,7 +188,7 @@ index 0fbd336a..451213f8 100644
 +#define PACKAGE_URL ""
 +
 +/* Define to the version of this package. */
-+#define PACKAGE_VERSION "25.05.0"
++#define PACKAGE_VERSION "25.09.0"
 +
 +/* Poppler data dir */
 +#define POPPLER_DATADIR "/usr/local/share/poppler"
@@ -206,7 +206,7 @@ index 0fbd336a..451213f8 100644
 +/* #undef USE_FLOAT */
 +
 +/* Version number of package */
-+#define VERSION "25.05.0"
++#define VERSION "25.09.0"
 +
 +#if defined(__APPLE__)
 +#elif defined (_WIN32)
@@ -290,7 +290,7 @@ index 0fbd336a..451213f8 100644
 +
 +/* Defines the poppler version. */
 +#ifndef POPPLER_VERSION
-+#define POPPLER_VERSION "25.05.0"
++#define POPPLER_VERSION "25.09.0"
 +#endif
 +
 +/* Use single precision arithmetic in the Splash backend */
@@ -437,9 +437,9 @@ index 0fbd336a..451213f8 100644
 +
 +#include "poppler-global.h"
 +
-+#define POPPLER_VERSION "25.05.0"
++#define POPPLER_VERSION "25.09.0"
 +#define POPPLER_VERSION_MAJOR 25
-+#define POPPLER_VERSION_MINOR 5
++#define POPPLER_VERSION_MINOR 9
 +#define POPPLER_VERSION_MICRO 0
 +
 +namespace poppler
diff --git a/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx 
b/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx
index a6205d0c6296..4fa0f051b55e 100644
--- a/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx
+++ b/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx
@@ -1249,11 +1249,19 @@ void PDFOutDev::setSkipImages( bool bSkipImages )
 
 #if POPPLER_CHECK_VERSION(21, 3, 0)
 poppler_bool PDFOutDev::tilingPatternFill(GfxState *state, Gfx *, Catalog *,
+#if POPPLER_CHECK_VERSION(25, 9, 0)
+                                          GfxTilingPattern *tPat, const 
std::array<double, 6> &mat,
+#else
                                           GfxTilingPattern *tPat, const double 
*mat,
+#endif
                                           int x0, int y0, int x1, int y1,
                                           double xStep, double yStep)
 {
+#if POPPLER_CHECK_VERSION(25, 9, 0)
+    const std::array<double, 4> pBbox = tPat->getBBox();
+#else
     const double *pBbox = tPat->getBBox();
+#endif
     const int nPaintType = tPat->getPaintType();
     Dict *pResDict = tPat->getResDict();
     Object *aStr = tPat->getContentStream();
diff --git a/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.hxx 
b/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.hxx
index eb0e3e29f5f5..70462de97802 100644
--- a/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.hxx
+++ b/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.hxx
@@ -287,7 +287,11 @@ namespace pdfi
 #if POPPLER_CHECK_VERSION(21, 3, 0)
         poppler_bool useTilingPatternFill() override { return true; };
         poppler_bool tilingPatternFill(GfxState *state, Gfx *gfx, Catalog *cat,
+#if POPPLER_CHECK_VERSION(25, 9, 0)
+                                       GfxTilingPattern *tPat, const 
std::array<double, 6> &mat,
+#else
                                        GfxTilingPattern *tPat, const double 
*mat,
+#endif
                                        int x0, int y0, int x1, int y1,
                                        double xStep, double yStep) override;
 #endif

Reply via email to