FreeBSD Bugzilla – Attachment 243135 Details for
Bug 272311
graphics/exiv2: upgrade to v0.28
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
converters/pdf2djvu: update to 0.9.19 and make exiv2 0.28 compatible
0003-converters-pdf2djvu-update-to-0.9.19.patch (text/plain), 4.19 KB, created by
Matthias Andree
on 2023-07-02 14:52:47 UTC
(
hide
)
Description:
converters/pdf2djvu: update to 0.9.19 and make exiv2 0.28 compatible
Filename:
MIME Type:
Creator:
Matthias Andree
Created:
2023-07-02 14:52:47 UTC
Size:
4.19 KB
patch
obsolete
>From 75e15cd07c1686ae1ed715628a278b61dd94c57c Mon Sep 17 00:00:00 2001 >From: Matthias Andree <mandree@FreeBSD.org> >Date: Sat, 1 Jul 2023 14:43:21 +0200 >Subject: [PATCH 03/20] 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(-) > delete mode 100644 converters/pdf2djvu/files/patch-pdf2djvu.cc > >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; >-- >2.41.0 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
mandree
:
maintainer-approval?
(
samy.mahmoudi
)
Actions:
View
|
Diff
Attachments on
bug 272311
:
243098
|
243100
|
243103
|
243104
|
243106
|
243111
|
243124
|
243125
| 243135 |
243136
|
243137
|
243138
|
243139
|
243140
|
243141
|
243142
|
243143
|
243144
|
243145
|
243146
|
243147
|
243148
|
243154
|
243155
|
243156
|
243157
|
243158
|
243159
|
243160
|
243166
|
243167
|
243168
|
243169
|
243170
|
243171
|
243172
|
243175
|
243176