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 <xiscofauli@libreoffice.org>
This commit is contained in:
+2
-2
@@ -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
|
||||
|
||||
+6
-6
@@ -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
|
||||
|
||||
@@ -1138,7 +1138,11 @@ void PDFOutDev::drawImageMask(GfxState* pState, Object*, Stream* str,
|
||||
}
|
||||
|
||||
#if POPPLER_CHECK_VERSION(0, 70, 0)
|
||||
#if POPPLER_CHECK_VERSION(25, 9, 0)
|
||||
void PDFOutDev::beginTransparencyGroup(GfxState * /*state*/, const std::array<double, 4> & /*bbox*/,
|
||||
#else
|
||||
void PDFOutDev::beginTransparencyGroup(GfxState * /*state*/, const double * /*bbox*/,
|
||||
#endif
|
||||
#else
|
||||
void PDFOutDev::beginTransparencyGroup(GfxState * /*state*/, double * /*bbox*/,
|
||||
#endif
|
||||
@@ -1285,11 +1289,19 @@ poppler_bool PDFOutDev::axialShadedFill(GfxState *state, GfxAxialShading *, doub
|
||||
|
||||
#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();
|
||||
|
||||
@@ -297,13 +297,21 @@ 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
|
||||
|
||||
#if POPPLER_CHECK_VERSION(0, 70, 0)
|
||||
#if POPPLER_CHECK_VERSION(25, 9, 0)
|
||||
void beginTransparencyGroup(GfxState *state, const std::array<double, 4> &bbox,
|
||||
#else
|
||||
void beginTransparencyGroup(GfxState *state, const double *bbox,
|
||||
#endif
|
||||
#else
|
||||
void beginTransparencyGroup(GfxState *state, double *bbox,
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user