git: 38188079a1f5 - main - print/qpdf: Update to 11.1.1

From: Wen Heping <wen_at_FreeBSD.org>
Date: Sun, 09 Oct 2022 02:00:27 UTC
The branch main has been updated by wen:

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

commit 38188079a1f504e9c9b811ef398ea70ec6624d7d
Author:     Wen Heping <wen@FreeBSD.org>
AuthorDate: 2022-10-09 01:58:40 +0000
Commit:     Wen Heping <wen@FreeBSD.org>
CommitDate: 2022-10-09 01:58:40 +0000

    print/qpdf: Update to 11.1.1
---
 print/qpdf/Makefile                    | 10 +++++----
 print/qpdf/distinfo                    |  6 +++---
 print/qpdf/files/patch-make_libtool.mk | 25 ----------------------
 print/qpdf/pkg-plist                   | 38 ++++++++++++++++++++++++++++++----
 4 files changed, 43 insertions(+), 36 deletions(-)

diff --git a/print/qpdf/Makefile b/print/qpdf/Makefile
index aae18657becb..a6ae064fe0f7 100644
--- a/print/qpdf/Makefile
+++ b/print/qpdf/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	qpdf
-DISTVERSION=	10.6.3
+DISTVERSION=	11.1.1
 CATEGORIES=	print
 MASTER_SITES=	SF
 
@@ -12,12 +12,14 @@ LICENSE_COMB=	dual
 LICENSE_FILE_ART20=	${WRKSRC}/Artistic-2.0
 LICENSE_FILE_APACHE20=	${WRKSRC}/LICENSE.txt
 
-USES=		compiler:c++11-lang cpe gmake jpeg libtool localbase
-GNU_CONFIGURE=	yes
-CONFIGURE_ARGS=	--disable-static
+USES=		compiler:c++11-lang cmake cpe jpeg libtool localbase
 USE_LDCONFIG=	yes
 CPE_VENDOR=	qpdf_project
 
+CMAKE_ARGS=	-DHAVE_EXTERN_LONG_TIMEZONE=0 \
+		-DBUILD_STATIC_LIBS=0 \
+		-DCMAKE_INSTALL_MANDIR=${PREFIX}/man
+
 OPTIONS_DEFINE=	DOCS
 
 .include <bsd.port.mk>
diff --git a/print/qpdf/distinfo b/print/qpdf/distinfo
index 13bf068f8e9e..36161810ffe5 100644
--- a/print/qpdf/distinfo
+++ b/print/qpdf/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1647830914
-SHA256 (qpdf-10.6.3.tar.gz) = e8fc23b2a584ea68c963a897515d3eb3129186741dd19d13c86d31fa33493811
-SIZE (qpdf-10.6.3.tar.gz) = 18573584
+TIMESTAMP = 1665194310
+SHA256 (qpdf-11.1.1.tar.gz) = 25e8ec60e290cd134405a51920015b6d351d4e0b93b7b736d257f10725f74b5a
+SIZE (qpdf-11.1.1.tar.gz) = 18464793
diff --git a/print/qpdf/files/patch-make_libtool.mk b/print/qpdf/files/patch-make_libtool.mk
deleted file mode 100644
index 329785d0e598..000000000000
--- a/print/qpdf/files/patch-make_libtool.mk
+++ /dev/null
@@ -1,25 +0,0 @@
---- make/libtool.mk.orig	2021-12-24 07:35:47 UTC
-+++ make/libtool.mk
-@@ -1,7 +1,7 @@
- # --- Required interface definitions ---
- 
--# LIBTOOL needs bash
--SHELL=/bin/bash
-+# LIBTOOL needs sh
-+SHELL=/bin/sh
- 
- OBJ=o
- LOBJ=lo
-@@ -128,10 +128,10 @@ install: all install-libs
- 	./mkinstalldirs -m 0755 $(DESTDIR)$(bindir)
- 	./mkinstalldirs -m 0755 $(DESTDIR)$(docdir)
- 	./mkinstalldirs -m 0755 $(DESTDIR)$(mandir)/man1
--	$(LIBTOOL) --mode=install ./install-sh \
-+	$(LIBTOOL) --mode=install ./install-sh -s \
- 		qpdf/$(OUTPUT_DIR)/qpdf \
- 		$(DESTDIR)$(bindir)/qpdf
--	$(LIBTOOL) --mode=install ./install-sh \
-+	$(LIBTOOL) --mode=install ./install-sh -s \
- 		zlib-flate/$(OUTPUT_DIR)/zlib-flate \
- 		$(DESTDIR)$(bindir)/zlib-flate
- 	$(LIBTOOL) --mode=install ./install-sh \
diff --git a/print/qpdf/pkg-plist b/print/qpdf/pkg-plist
index 733aaa6a2efc..033576da6e49 100644
--- a/print/qpdf/pkg-plist
+++ b/print/qpdf/pkg-plist
@@ -17,16 +17,19 @@ include/qpdf/Pl_Count.hh
 include/qpdf/Pl_DCT.hh
 include/qpdf/Pl_Discard.hh
 include/qpdf/Pl_Flate.hh
+include/qpdf/Pl_Function.hh
+include/qpdf/Pl_OStream.hh
 include/qpdf/Pl_QPDFTokenizer.hh
 include/qpdf/Pl_RunLength.hh
 include/qpdf/Pl_StdioFile.hh
+include/qpdf/Pl_String.hh
 include/qpdf/PointerHolder.hh
 include/qpdf/QIntC.hh
 include/qpdf/QPDF.hh
-include/qpdf/QPDFCryptoImpl.hh
-include/qpdf/QPDFCryptoProvider.hh
 include/qpdf/QPDFAcroFormDocumentHelper.hh
 include/qpdf/QPDFAnnotationObjectHelper.hh
+include/qpdf/QPDFCryptoImpl.hh
+include/qpdf/QPDFCryptoProvider.hh
 include/qpdf/QPDFDocumentHelper.hh
 include/qpdf/QPDFEFStreamObjectHelper.hh
 include/qpdf/QPDFEmbeddedFileDocumentHelper.hh
@@ -34,6 +37,7 @@ include/qpdf/QPDFExc.hh
 include/qpdf/QPDFFileSpecObjectHelper.hh
 include/qpdf/QPDFFormFieldObjectHelper.hh
 include/qpdf/QPDFJob.hh
+include/qpdf/QPDFLogger.hh
 include/qpdf/QPDFMatrix.hh
 include/qpdf/QPDFNameTreeObjectHelper.hh
 include/qpdf/QPDFNumberTreeObjectHelper.hh
@@ -64,11 +68,37 @@ include/qpdf/auto_job_c_pages.hh
 include/qpdf/auto_job_c_uo.hh
 include/qpdf/qpdf-c.h
 include/qpdf/qpdfjob-c.h
+include/qpdf/qpdflogger-c.h
 lib/libqpdf.so
-lib/libqpdf.so.28
-lib/libqpdf.so.28.6.3
+lib/libqpdf.so.29
+lib/libqpdf.so.29.1.1
+lib/cmake/qpdf/libqpdfTargets-%%CMAKE_BUILD_TYPE%%.cmake
+lib/cmake/qpdf/libqpdfTargets.cmake
+lib/cmake/qpdf/qpdfConfig.cmake
+lib/cmake/qpdf/qpdfConfigVersion.cmake
 libdata/pkgconfig/libqpdf.pc
 man/man1/fix-qdf.1.gz
 man/man1/qpdf.1.gz
 man/man1/zlib-flate.1.gz
 %%PORTDOCS%%%%DOCSDIR%%/README-doc.txt
+%%PORTDOCS%%%%DOCSDIR%%/examples/pdf-attach-file.cc
+%%PORTDOCS%%%%DOCSDIR%%/examples/pdf-bookmarks.cc
+%%PORTDOCS%%%%DOCSDIR%%/examples/pdf-c-objects.c
+%%PORTDOCS%%%%DOCSDIR%%/examples/pdf-count-strings.cc
+%%PORTDOCS%%%%DOCSDIR%%/examples/pdf-create.cc
+%%PORTDOCS%%%%DOCSDIR%%/examples/pdf-custom-filter.cc
+%%PORTDOCS%%%%DOCSDIR%%/examples/pdf-double-page-size.cc
+%%PORTDOCS%%%%DOCSDIR%%/examples/pdf-filter-tokens.cc
+%%PORTDOCS%%%%DOCSDIR%%/examples/pdf-invert-images.cc
+%%PORTDOCS%%%%DOCSDIR%%/examples/pdf-linearize.c
+%%PORTDOCS%%%%DOCSDIR%%/examples/pdf-mod-info.cc
+%%PORTDOCS%%%%DOCSDIR%%/examples/pdf-name-number-tree.cc
+%%PORTDOCS%%%%DOCSDIR%%/examples/pdf-npages.cc
+%%PORTDOCS%%%%DOCSDIR%%/examples/pdf-overlay-page.cc
+%%PORTDOCS%%%%DOCSDIR%%/examples/pdf-parse-content.cc
+%%PORTDOCS%%%%DOCSDIR%%/examples/pdf-set-form-values.cc
+%%PORTDOCS%%%%DOCSDIR%%/examples/pdf-split-pages.cc
+%%PORTDOCS%%%%DOCSDIR%%/examples/qpdf-job.cc
+%%PORTDOCS%%%%DOCSDIR%%/examples/qpdfjob-c-save-attachment.c
+%%PORTDOCS%%%%DOCSDIR%%/examples/qpdfjob-c.c
+%%PORTDOCS%%%%DOCSDIR%%/examples/qpdfjob-save-attachment.cc