git: dafc18187a7c - main - converters/pdf2djvu: update to 0.9.19
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 09 Jul 2023 22:09:25 UTC
The branch main has been updated by mandree: URL: https://cgit.FreeBSD.org/ports/commit/?id=dafc18187a7c44f997c64734bcb81464e5442e15 commit dafc18187a7c44f997c64734bcb81464e5442e15 Author: Matthias Andree <mandree@FreeBSD.org> AuthorDate: 2023-07-01 12:43:21 +0000 Commit: Matthias Andree <mandree@FreeBSD.org> CommitDate: 2023-07-09 22:08:06 +0000 converters/pdf2djvu: update to 0.9.19 and remove the XMP-incompatible-with-Poppler statement masked behind the XMP option. Remove all the cherry-picking patches, no longer needed. --- converters/pdf2djvu/Makefile | 27 +++++++-------------------- converters/pdf2djvu/distinfo | 6 +++--- converters/pdf2djvu/files/patch-pdf2djvu.cc | 12 ------------ 3 files changed, 10 insertions(+), 35 deletions(-) diff --git a/converters/pdf2djvu/Makefile b/converters/pdf2djvu/Makefile index 5eb3585032ea..f39d6690b1df 100644 --- a/converters/pdf2djvu/Makefile +++ b/converters/pdf2djvu/Makefile @@ -1,14 +1,8 @@ PORTNAME= pdf2djvu -DISTVERSION= 0.9.18.2 -PORTREVISION= 14 +DISTVERSION= 0.9.19 CATEGORIES= converters MASTER_SITES= https://github.com/jwilk/${PORTNAME}/releases/download/${PORTVERSION}/ -PATCH_SITES= https://github.com/jwilk/pdf2djvu/commit/ -PATCHFILES= e170ad557d5f13daeeac047dfaa79347bbe5062f.diff:-p1 \ - 956fedc7e0831126b9006efedad5519c14201c52.diff:-p1 \ - dca43e8182174bc04e107eaefcafcfdfdf9bcd61.diff:-p1 - MAINTAINER= samy.mahmoudi@gmail.com COMMENT= Creates DjVu files from PDF files WWW= https://jwilk.net/software/pdf2djvu @@ -32,32 +26,25 @@ OPTIONS_SUB= yes COLOR_QUANTIZATION_DESC=Color quantization via GraphicsMagick++ DOCS_DESC= Generate the man page -NLS_DESC= Native Language Support via gettext utilities MULTITHREADING_DESC= Multithreading support via OpenMP +NLS_DESC= Native Language Support via gettext utilities XMP_DESC= XMP metadata support via Exiv2 -COLOR_QUANTIZATION_CONFIGURE_WITH=graphicsmagick COLOR_QUANTIZATION_LIB_DEPENDS= \ libGraphicsMagick++.so:graphics/GraphicsMagick \ libGraphicsMagick.so:graphics/GraphicsMagick +COLOR_QUANTIZATION_CONFIGURE_WITH=graphicsmagick DOCS_BUILD_DEPENDS= docbook-xsl>0:textproc/docbook-xsl \ xsltproc:textproc/libxslt -NLS_CONFIGURE_ENABLE= nls -NLS_USES= gettext-runtime - MULTITHREADING_CONFIGURE_ENABLE=openmp -XMP_CONFIGURE_ENABLE= xmp -XMP_LIB_DEPENDS= libexiv2.so:graphics/exiv2 -XMP_BROKEN= graphics/exiv2 and graphics/poppler disagree about usable C++ standard +NLS_USES= gettext-runtime +NLS_CONFIGURE_ENABLE= nls -pre-configure: - @cd ${WRKSRC} && ${SH} ${FILESDIR}/bootstrap - # Poppler 20.12 no longer installs the pc file for this private backend. - # https://github.com/jwilk/pdf2djvu/issues/144 - ${REINPLACE_CMD} -e 's|poppler-splash|poppler|g' ${WRKSRC}/configure +XMP_LIB_DEPENDS= libexiv2.so:graphics/exiv2 +XMP_CONFIGURE_ENABLE= xmp post-build-DOCS-on: @cd ${WRKSRC}/doc && ${GMAKE} diff --git a/converters/pdf2djvu/distinfo b/converters/pdf2djvu/distinfo index 105a016d3457..c7530d30e390 100644 --- a/converters/pdf2djvu/distinfo +++ b/converters/pdf2djvu/distinfo @@ -1,6 +1,6 @@ -TIMESTAMP = 1649347393 -SHA256 (pdf2djvu-0.9.18.2.tar.xz) = 9ea03f21d841a336808d89d65015713c0785e7295a6559d77771dc795333a9fa -SIZE (pdf2djvu-0.9.18.2.tar.xz) = 305912 +TIMESTAMP = 1688214224 +SHA256 (pdf2djvu-0.9.19.tar.xz) = eb45a480131594079f7fe84df30e4a5d0686f7a8049dc7084eebe22acc37aa9a +SIZE (pdf2djvu-0.9.19.tar.xz) = 309952 SHA256 (e170ad557d5f13daeeac047dfaa79347bbe5062f.diff) = 55518c001772b1956d5c833a0f206fc31b83bc7d25a8b51c5aa51aea56c87fcd SIZE (e170ad557d5f13daeeac047dfaa79347bbe5062f.diff) = 787 SHA256 (956fedc7e0831126b9006efedad5519c14201c52.diff) = 82c675db1326ec85633376b47ecb6122d0e171dd183b0b8e6f0d6bba74442c4f diff --git a/converters/pdf2djvu/files/patch-pdf2djvu.cc b/converters/pdf2djvu/files/patch-pdf2djvu.cc deleted file mode 100644 index a75768b3c945..000000000000 --- a/converters/pdf2djvu/files/patch-pdf2djvu.cc +++ /dev/null @@ -1,12 +0,0 @@ ---- pdf2djvu.cc.orig 2022-04-07 16:02:35 UTC -+++ pdf2djvu.cc -@@ -89,7 +89,8 @@ static int get_page_for_goto_link(pdf::link::GoTo *got - #endif - } - else -- dest.reset(orig_dest->copy()); -+ // https://github.com/jwilk/pdf2djvu/commit/81b635e014ebd0240a8719cc39b6a1b759cc6a98 -+ dest.reset(new pdf::link::Destination(*orig_dest)); - if (dest.get() != nullptr) - { - int page;