git: e0a1f4a4f277 - main - graphics/poppler: update to 22.05

From: Tobias C. Berner <tcberner_at_FreeBSD.org>
Date: Mon, 09 May 2022 16:49:35 UTC
The branch main has been updated by tcberner:

URL: https://cgit.FreeBSD.org/ports/commit/?id=e0a1f4a4f2772ab78d3c5ddc61a084649e5c37cd

commit e0a1f4a4f2772ab78d3c5ddc61a084649e5c37cd
Author:     Tobias C. Berner <tcberner@FreeBSD.org>
AuthorDate: 2022-05-04 04:25:08 +0000
Commit:     Tobias C. Berner <tcberner@FreeBSD.org>
CommitDate: 2022-05-09 16:47:40 +0000

    graphics/poppler: update to 22.05
    
    Release 22.05.0:
            core:
             * Annotations: Make sure we embed fonts for the FreeText annots
             * Forms: Make sure we embedd fonts as needed
             * Signatures: Make sure we embed the needed fonts
             * CairoOutputDev: color type 3 fonts
             * fix two bugs in multiline find_text()
             * code improvements
    
            utils:
             * pdftotext: added TSV mode
             * HtmlOutputDev: don't use png.h
    
            cpp:
             * Use time_t for time
             * Add page_transition::durationReal
    
            qt:
             * Pass leftFontSize down to `FormWidgetSignature::signDocumentWithAppearence`
    
    Exp-run by:     antoine
    PR:             263769
---
 graphics/poppler/Makefile                         |  4 ++--
 graphics/poppler/distinfo                         |  6 +++---
 graphics/poppler/files/patch-cpp_poppler-global.h | 10 ++++++++++
 graphics/poppler/pkg-plist                        |  2 +-
 4 files changed, 16 insertions(+), 6 deletions(-)

diff --git a/graphics/poppler/Makefile b/graphics/poppler/Makefile
index c36cd76125eb..385eecd62593 100644
--- a/graphics/poppler/Makefile
+++ b/graphics/poppler/Makefile
@@ -1,7 +1,7 @@
 # Created by: marcus@FreeBSD.org
 
 PORTNAME=	poppler
-DISTVERSION=	22.04.0
+DISTVERSION=	22.05.0
 CATEGORIES=	graphics print
 MASTER_SITES=	https://poppler.freedesktop.org/
 
@@ -52,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=120
+PLIST_SUB+=	SHLIB_VER=121
 
 OPTIONS_DEFINE=		CURL OPENJPEG
 OPTIONS_DEFAULT=	OPENJPEG
diff --git a/graphics/poppler/distinfo b/graphics/poppler/distinfo
index df92c7d7b737..3a9c968012a2 100644
--- a/graphics/poppler/distinfo
+++ b/graphics/poppler/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1648923158
-SHA256 (poppler-22.04.0.tar.xz) = 813fb4b90e7bda63df53205c548602bae728887a60f4048aae4dbd9b1927deff
-SIZE (poppler-22.04.0.tar.xz) = 1817800
+TIMESTAMP = 1651637742
+SHA256 (poppler-22.05.0.tar.xz) = a969ced458e050d6202367bd7427054e2bd19bae39e8f969910d3b9151abf958
+SIZE (poppler-22.05.0.tar.xz) = 1828628
diff --git a/graphics/poppler/files/patch-cpp_poppler-global.h b/graphics/poppler/files/patch-cpp_poppler-global.h
new file mode 100644
index 000000000000..bca69c7dd3ff
--- /dev/null
+++ b/graphics/poppler/files/patch-cpp_poppler-global.h
@@ -0,0 +1,10 @@
+--- cpp/poppler-global.h.orig	2022-05-05 04:55:38 UTC
++++ cpp/poppler-global.h
+@@ -25,6 +25,7 @@
+ 
+ #include "poppler_cpp_export.h"
+ 
++#include <ctime>
+ #include <iosfwd>
+ #include <string>
+ #include <vector>
diff --git a/graphics/poppler/pkg-plist b/graphics/poppler/pkg-plist
index b102eacad84a..a094c8a92c0f 100644
--- a/graphics/poppler/pkg-plist
+++ b/graphics/poppler/pkg-plist
@@ -136,7 +136,7 @@ include/poppler/splash/SplashXPath.h
 include/poppler/splash/SplashXPathScanner.h
 lib/libpoppler-cpp.so
 lib/libpoppler-cpp.so.0
-lib/libpoppler-cpp.so.0.9.0
+lib/libpoppler-cpp.so.0.10.0
 lib/libpoppler.so
 lib/libpoppler.so.%%SHLIB_VER%%
 lib/libpoppler.so.%%SHLIB_VER%%.0.0