git: afb3013c8795 - main - graphics/gscan2pdf: Update to 2.12.1
Danilo Egea Gondolfo
danilo at FreeBSD.org
Thu May 13 21:52:23 UTC 2021
The branch main has been updated by danilo:
URL: https://cgit.FreeBSD.org/ports/commit/?id=afb3013c8795729a1e3a8f5a2a5b2f57320fb832
commit afb3013c8795729a1e3a8f5a2a5b2f57320fb832
Author: Danilo Egea Gondolfo <danilo at FreeBSD.org>
AuthorDate: 2021-05-13 21:49:25 +0000
Commit: Danilo Egea Gondolfo <danilo at FreeBSD.org>
CommitDate: 2021-05-13 21:52:14 +0000
graphics/gscan2pdf: Update to 2.12.1
Drop maintainership.
PR: 255801
---
graphics/gscan2pdf/Makefile | 21 +++++++++++++++------
graphics/gscan2pdf/distinfo | 6 +++---
graphics/gscan2pdf/pkg-plist | 5 ++++-
3 files changed, 22 insertions(+), 10 deletions(-)
diff --git a/graphics/gscan2pdf/Makefile b/graphics/gscan2pdf/Makefile
index 193b3752ae83..9012568765bb 100644
--- a/graphics/gscan2pdf/Makefile
+++ b/graphics/gscan2pdf/Makefile
@@ -1,12 +1,11 @@
# Created by: Andrew Pantyukhin <infofarmer at FreeBSD.org>
PORTNAME= gscan2pdf
-PORTVERSION= 2.8.2
-PORTREVISION= 1
+PORTVERSION= 2.12.1
CATEGORIES= graphics
MASTER_SITES= SF
-MAINTAINER= danilo at FreeBSD.org
+MAINTAINER= ports at FreeBSD.org
COMMENT= Produce PDF from scanned documents
LICENSE= GPLv3
@@ -22,8 +21,9 @@ BUILD_DEPENDS= p5-Config-General>=2.40:devel/p5-Config-General \
p5-List-MoreUtils>0:lang/p5-List-MoreUtils \
p5-Try-Tiny>0:lang/p5-Try-Tiny \
bash:shells/bash \
- p5-PDF-API2>0.57:textproc/p5-PDF-API2 \
+ p5-PDF-Builder>0:textproc/p5-PDF-Builder \
p5-Gtk3>=0.028:x11-toolkits/p5-Gtk3 \
+ p5-Gtk3-ImageView>0:x11-toolkits/p5-Gtk3-ImageView \
p5-Gtk3-SimpleList>=0.17:x11-toolkits/p5-Gtk3-SimpleList \
p5-Goo-Canvas2>=0.06:devel/p5-Goo-Canvas2
RUN_DEPENDS:= p5-Proc-ProcessTable>0:devel/p5-Proc-ProcessTable \
@@ -41,12 +41,15 @@ RUN_DEPENDS:= p5-Proc-ProcessTable>0:devel/p5-Proc-ProcessTable \
p5-Locale-gettext>=1.05:devel/p5-Locale-gettext \
p5-Log-Log4perl>0:devel/p5-Log-Log4perl \
p5-Readonly>0:devel/p5-Readonly \
+ p5-Graphics-TIFF>0:graphics/p5-Graphics-TIFF \
+ p5-Image-PNG-Libpng>0:graphics/p5-Image-PNG-Libpng \
p5-Image-Sane>=0.14:graphics/p5-Image-Sane \
p5-Set-IntSpan>=1.10:math/p5-Set-IntSpan \
p5-List-MoreUtils>0:lang/p5-List-MoreUtils \
p5-Try-Tiny>0:lang/p5-Try-Tiny \
- p5-PDF-API2>0.57:textproc/p5-PDF-API2 \
+ p5-PDF-Builder>0:textproc/p5-PDF-Builder \
p5-Gtk3>=0.028:x11-toolkits/p5-Gtk3 \
+ p5-Gtk3-ImageView>0:x11-toolkits/p5-Gtk3-ImageView \
p5-Gtk3-SimpleList>=0.17:x11-toolkits/p5-Gtk3-SimpleList \
p5-Goo-Canvas2>=0.06:devel/p5-Goo-Canvas2 \
p5-Gtk2-Ex-PodViewer>0:x11-toolkits/p5-Gtk2-Ex-PodViewer
@@ -67,6 +70,12 @@ OCR_DESC= Optical Character Recognition
TESSERACT_DESC= OCR engine developed at Google
TESSERACT_RUN_DEPENDS= tesseract:graphics/tesseract
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} >= 502902
+RUN_DEPENDS+= p5-Locale-Codes>0:misc/p5-Locale-Codes
+.endif
+
post-patch:
@${REINPLACE_CMD} -e \
's|$$sharedir/man|$$prefixdir/man| ; \
@@ -74,4 +83,4 @@ post-patch:
@${REINPLACE_CMD} -e \
's|/usr/share|${PREFIX}/share|g' ${WRKSRC}/bin/${PORTNAME}
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/graphics/gscan2pdf/distinfo b/graphics/gscan2pdf/distinfo
index 5844dac0bca0..f554dfb8bafa 100644
--- a/graphics/gscan2pdf/distinfo
+++ b/graphics/gscan2pdf/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1596737183
-SHA256 (gscan2pdf-2.8.2.tar.xz) = 4328433f62bb9c7a9182a2c80f0d6b748f4c39b01c2e6b8a1733c34403e7df36
-SIZE (gscan2pdf-2.8.2.tar.xz) = 477968
+TIMESTAMP = 1620752570
+SHA256 (gscan2pdf-2.12.1.tar.xz) = e5c10a9e695674308d29fe8661c5bb7230e25dfbc098716c26a3188ef1e54074
+SIZE (gscan2pdf-2.12.1.tar.xz) = 503612
diff --git a/graphics/gscan2pdf/pkg-plist b/graphics/gscan2pdf/pkg-plist
index b7688ff888a4..bb2427423558 100644
--- a/graphics/gscan2pdf/pkg-plist
+++ b/graphics/gscan2pdf/pkg-plist
@@ -2,6 +2,8 @@ bin/gscan2pdf
%%SITE_PERL%%/Gscan2pdf/Bboxtree.pm
%%SITE_PERL%%/Gscan2pdf/Canvas.pm
%%SITE_PERL%%/Gscan2pdf/Canvas/Bbox.pm
+%%SITE_PERL%%/Gscan2pdf/Canvas/ListIter.pm
+%%SITE_PERL%%/Gscan2pdf/Canvas/TreeIter.pm
%%SITE_PERL%%/Gscan2pdf/ComboBoxText.pm
%%SITE_PERL%%/Gscan2pdf/Config.pm
%%SITE_PERL%%/Gscan2pdf/Cuneiform.pm
@@ -16,7 +18,6 @@ bin/gscan2pdf
%%SITE_PERL%%/Gscan2pdf/EntryCompletion.pm
%%SITE_PERL%%/Gscan2pdf/Frontend/CLI.pm
%%SITE_PERL%%/Gscan2pdf/Frontend/Image_Sane.pm
-%%SITE_PERL%%/Gscan2pdf/ImageView.pm
%%SITE_PERL%%/Gscan2pdf/NetPBM.pm
%%SITE_PERL%%/Gscan2pdf/Ocropus.pm
%%SITE_PERL%%/Gscan2pdf/Page.pm
@@ -29,6 +30,7 @@ bin/gscan2pdf
man/man1/gscan2pdf.1.gz
share/applications/net.sourceforge.gscan2pdf.desktop
%%DATADIR%%/180_degree.svg
+%%DATADIR%%/crop.svg
%%DATADIR%%/gscan2pdf-papyrus.svg
%%DATADIR%%/gscan2pdf.svg
%%DATADIR%%/hand-tool.svg
@@ -54,6 +56,7 @@ share/locale/eu/LC_MESSAGES/gscan2pdf.mo
share/locale/fa/LC_MESSAGES/gscan2pdf.mo
share/locale/fi/LC_MESSAGES/gscan2pdf.mo
share/locale/fr/LC_MESSAGES/gscan2pdf.mo
+share/locale/gl/LC_MESSAGES/gscan2pdf.mo
share/locale/gu/LC_MESSAGES/gscan2pdf.mo
share/locale/he/LC_MESSAGES/gscan2pdf.mo
share/locale/hr/LC_MESSAGES/gscan2pdf.mo
More information about the dev-commits-ports-all
mailing list