aboutsummaryrefslogtreecommitdiff
path: root/graphics/poppler
diff options
context:
space:
mode:
authorTobias C. Berner <tcberner@FreeBSD.org>2022-04-02 18:35:17 +0000
committerTobias C. Berner <tcberner@FreeBSD.org>2022-04-26 16:57:01 +0000
commit0ee787592d5ad8a2728ca8fa15285650d01a39fb (patch)
tree63d64d7e93a6892b846053ef9bd4319d1df2fe58 /graphics/poppler
parentd9b5ef800dbd0366eae81b03bfa89689ec73c6f7 (diff)
downloadports-0ee787592d5ad8a2728ca8fa15285650d01a39fb.tar.gz
ports-0ee787592d5ad8a2728ca8fa15285650d01a39fb.zip
graphics/poppler: update to 22.04
Release 22.04.0: core: * Fix underline sometimes being drawn only partially * Fix Adobe Reader not reading some of the contents we write correctly * Fix code that workarounds some broken-ish files * FoFiTrueType: Parse CFF2 fonts too * FoFiTrueType: Support cmap types 2 and 13 * Fix a few small memory leaks * code improvements qt: * Handle SaveAs named action * Annotations: don't change the text color when changing the font utils: * pdftotext: print creation and modification date when using htmlmeta param glib: * Fix returning internal data of temporary strings cpp: * Fix code incompatibility with MSVC build system: * poppler internal library is no longer forced to static on MSVC * Error out if iconv is not available and the cpp frontend is enabled * Require FreeType 2.8 Release 22.03.0: core: * Signature: Fix finding Signatures that are in Pages not not in the global the Forms object * Signature: Improve getting the path to the firefox certificate database * Splash: Fix rendering of some joints. Issue #1212 * Fix get_poppler_localdir for relocatable Windows builds * Minor code improvements qt: * Minor code improvements utils: * pdfimages: Fix the wrong Stream being passed for drawMaskedImage build system: * Small code improvements Release 22.02.0: core: * Signature: Add a way to detect unsigned FormFieldSignature * Signature: Suport background image when using left and right text * Signature: Fix path where to search for Firefox NSS in Windows * Signature: Fix NSS code to work correctly in Windows/Android * Count only signature fields in PDFDoc::getNumSignatureFields * Minor code improvements qt: * Allow signing unsigned signature fields * Allow passing a background image for the signature when signing * Allow passing the document password when signing * Fix leftFontSize being ignored when signing glib: * try with utf8 password if latin1 fails * New method for getting all signature fields of a document * Fix compile with MSVC utils: * pdfsig: Fix compile with MSVC build system: * Fix NSS cmake check for MSVC PR: 263009 Exp-run by: antoine
Diffstat (limited to 'graphics/poppler')
-rw-r--r--graphics/poppler/Makefile7
-rw-r--r--graphics/poppler/distinfo6
2 files changed, 7 insertions, 6 deletions
diff --git a/graphics/poppler/Makefile b/graphics/poppler/Makefile
index 68adbf3485ac..c36cd76125eb 100644
--- a/graphics/poppler/Makefile
+++ b/graphics/poppler/Makefile
@@ -1,8 +1,7 @@
# Created by: marcus@FreeBSD.org
PORTNAME= poppler
-DISTVERSION= 22.01.0
-PORTREVISION= 1
+DISTVERSION= 22.04.0
CATEGORIES= graphics print
MASTER_SITES= https://poppler.freedesktop.org/
@@ -53,7 +52,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=117
+PLIST_SUB+= SHLIB_VER=120
OPTIONS_DEFINE= CURL OPENJPEG
OPTIONS_DEFAULT= OPENJPEG
@@ -71,7 +70,9 @@ CMAKE_ARGS+= -DENABLE_LIBOPENJPEG:STRING="none" \
-DENABLE_LIBCURL:BOOL=FALSE
. if ${_SLAVE_PORT} == glib
+USES+= python:build
USE_GNOME+= glib20 introspection:Build
+BINARY_ALIAS= python3=${PYTHON_CMD}
. elif ${_SLAVE_PORT} == qt5
USES+= qt:5
USE_QT= core gui widgets xml \
diff --git a/graphics/poppler/distinfo b/graphics/poppler/distinfo
index 6e453ab6e940..df92c7d7b737 100644
--- a/graphics/poppler/distinfo
+++ b/graphics/poppler/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1641399386
-SHA256 (poppler-22.01.0.tar.xz) = 7d3493056b5b86413e5c693c2cae02c5c06cd8e618d14c2c31e2c84b67b2313e
-SIZE (poppler-22.01.0.tar.xz) = 1801984
+TIMESTAMP = 1648923158
+SHA256 (poppler-22.04.0.tar.xz) = 813fb4b90e7bda63df53205c548602bae728887a60f4048aae4dbd9b1927deff
+SIZE (poppler-22.04.0.tar.xz) = 1817800