From 9979285ceb08cfa10c4ac030a538c063c2945f50 Mon Sep 17 00:00:00 2001 From: "Tobias C. Berner" Date: Tue, 2 Jul 2024 17:59:26 +0200 Subject: [PATCH] graphics/poppler: update to 24.07.07 Changelogs: 24.07.0: core: * Fix crashes in broken files * Internal code improvements qt6: * Add getters for document additional actions * Implement reset forms link qt5: * Add getters for document additional actions * Implement reset forms link utils: * pdfinfo: Fix crash in broken documents when using -dests build system: * Mark glib-mkenums as required 24.06.0: core: * Performance improvements in some files * Fix some issues with files bigger than 2^31 bytes * Remove all cairo include guards for cairo < 1.16 * Fix MSVC build * Internal code improvements qt6: * Update Qt6 doc example * Use the non deprecated version of QString::fromUcs4 glib: * properly document return value from poppler_font_info_scan 24.05.0: core: * Fix signing not being totally correct in some kind of PDF files * Assume "Adobe-Identity" for character collection. Issue #1465 * Small improvements in annotation font rendering * Remove some GooString methods, use std::string ones instead * Move some GooString methods to UTF.h * Fix crash in broken files cpp: * cpp: Fix crash extracting text and font in some files. Issue #1477 * Change base class of ustring to char16_t qt6: * Add async API for certificate validation * Fix text extraction for Landscape/Seascape pages qt5: * Add async API for certificate validation * Fix text extraction for Landscape/Seascape pages utils: * pdfdetach: Small code improvements * pdftops: Write compliant ps header build system: * Increase minimum supported base to that provided by Ubuntu 22.04 24.04.0: core: * Optimize page text extraction speed * Fix clipping path handling in some files. Issue #739 * Fix regression in text selection * Fix text search across lines between paragraphs qt6: * Fix crash in SoundObject::data utils: * pdfsig: Add Catalan translation build system: * Build code as C++20 24.03.0: core: * Fix opening some malformed files. Issue #1447 * Skip drawing image when it has singular matrix. Issue #1114 * Fix crash on malformed files * Small internal code cleanup utils: * pdfdetach: Fix potential directory traversal * pdfimages: Enable to print filenames to stdout. * pdfsig: Add visible name/date when signing an existing form signature field PR: 280090 Exp-run by: antoine --- graphics/poppler-qt5/pkg-plist | 2 +- graphics/poppler-qt6/pkg-plist | 2 +- graphics/poppler/Makefile | 5 ++--- graphics/poppler/distinfo | 6 +++--- graphics/poppler/pkg-plist | 6 ++++-- 5 files changed, 11 insertions(+), 10 deletions(-) diff --git a/graphics/poppler-qt5/pkg-plist b/graphics/poppler-qt5/pkg-plist index a8ef4da02654..4ad68f9a0166 100644 --- a/graphics/poppler-qt5/pkg-plist +++ b/graphics/poppler-qt5/pkg-plist @@ -9,5 +9,5 @@ include/poppler/qt5/poppler-qt5.h include/poppler/qt5/poppler-version.h lib/libpoppler-qt5.so lib/libpoppler-qt5.so.1 -lib/libpoppler-qt5.so.1.33.0 +lib/libpoppler-qt5.so.1.35.0 libdata/pkgconfig/poppler-qt5.pc diff --git a/graphics/poppler-qt6/pkg-plist b/graphics/poppler-qt6/pkg-plist index 9d9be45d2230..443f6428dd77 100644 --- a/graphics/poppler-qt6/pkg-plist +++ b/graphics/poppler-qt6/pkg-plist @@ -9,5 +9,5 @@ include/poppler/qt6/poppler-qt6.h include/poppler/qt6/poppler-version.h lib/libpoppler-qt6.so lib/libpoppler-qt6.so.3 -lib/libpoppler-qt6.so.3.4.0 +lib/libpoppler-qt6.so.3.6.0 libdata/pkgconfig/poppler-qt6.pc diff --git a/graphics/poppler/Makefile b/graphics/poppler/Makefile index c929c6151c56..2bbb1ada9108 100644 --- a/graphics/poppler/Makefile +++ b/graphics/poppler/Makefile @@ -1,6 +1,5 @@ PORTNAME= poppler -DISTVERSION= 24.02.0 -PORTREVISION= 1 +DISTVERSION= 24.07.0 CATEGORIES= graphics print MASTER_SITES= https://poppler.freedesktop.org/ @@ -57,7 +56,7 @@ CMAKE_OFF+= ${_POPPLER_SLAVES:N${_SLAVE_PORT}:tu:S/^/ENABLE_/} PORTSCOUT= limitw:1,even USES+= iconv CMAKE_ON+= ENABLE_CPP -PLIST_SUB+= SHLIB_VER=134 +PLIST_SUB+= SHLIB_VER=139 OPTIONS_DEFINE= CURL OPENJPEG OPTIONS_DEFAULT= OPENJPEG diff --git a/graphics/poppler/distinfo b/graphics/poppler/distinfo index 54fa5a1fcc08..5f3017afeb25 100644 --- a/graphics/poppler/distinfo +++ b/graphics/poppler/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1707805389 -SHA256 (poppler-24.02.0.tar.xz) = 19187a3fdd05f33e7d604c4799c183de5ca0118640c88b370ddcf3136343222e -SIZE (poppler-24.02.0.tar.xz) = 1897604 +TIMESTAMP = 1719898444 +SHA256 (poppler-24.07.0.tar.xz) = 19eb4f49198e4ae3fd9e5a6cf24d0fc7e674e8802046a7de14baab1e40cc2f1d +SIZE (poppler-24.07.0.tar.xz) = 1913256 diff --git a/graphics/poppler/pkg-plist b/graphics/poppler/pkg-plist index b927aaba9dca..e9af1d01fb10 100644 --- a/graphics/poppler/pkg-plist +++ b/graphics/poppler/pkg-plist @@ -30,6 +30,7 @@ include/poppler/GfxFont.h include/poppler/GfxState.h include/poppler/GfxState_helpers.h include/poppler/GlobalParams.h +include/poppler/HashAlgorithm.h include/poppler/Hints.h include/poppler/JArithmeticDecoder.h include/poppler/JBIG2Stream.h @@ -62,6 +63,7 @@ include/poppler/PreScanOutputDev.h include/poppler/ProfileData.h include/poppler/Rendition.h include/poppler/SecurityHandler.h +include/poppler/SignatureInfo.h include/poppler/Sound.h include/poppler/SplashOutputDev.h include/poppler/Stream-CCITT.h @@ -135,8 +137,8 @@ include/poppler/splash/SplashTypes.h include/poppler/splash/SplashXPath.h include/poppler/splash/SplashXPathScanner.h lib/libpoppler-cpp.so -lib/libpoppler-cpp.so.0 -lib/libpoppler-cpp.so.0.11.0 +lib/libpoppler-cpp.so.1 +lib/libpoppler-cpp.so.1.0.0 lib/libpoppler.so lib/libpoppler.so.%%SHLIB_VER%% lib/libpoppler.so.%%SHLIB_VER%%.0.0 -- 2.45.2