public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-gfx/gscan2pdf/
Date: Thu,  7 Jan 2021 05:06:53 +0000 (UTC)	[thread overview]
Message-ID: <1609993096.18836b0146289cfef2e207ce82a7ae30cbaf0c27.sam@gentoo> (raw)

commit:     18836b0146289cfef2e207ce82a7ae30cbaf0c27
Author:     Chris Mayo <aklhfex <AT> gmail <DOT> com>
AuthorDate: Mon Dec 21 19:31:25 2020 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Jan  7 04:18:16 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=18836b01

media-gfx/gscan2pdf: version bump to 2.10.2

Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Chris Mayo <aklhfex <AT> gmail.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 media-gfx/gscan2pdf/Manifest                |   1 +
 media-gfx/gscan2pdf/gscan2pdf-2.10.2.ebuild | 109 ++++++++++++++++++++++++++++
 2 files changed, 110 insertions(+)

diff --git a/media-gfx/gscan2pdf/Manifest b/media-gfx/gscan2pdf/Manifest
index 407baff7ace..2021a8ddb72 100644
--- a/media-gfx/gscan2pdf/Manifest
+++ b/media-gfx/gscan2pdf/Manifest
@@ -1,3 +1,4 @@
 DIST gscan2pdf-1.8.11.tar.xz 409212 BLAKE2B 37cb716f13818eaffc39c210b810b845368cc5e323569e8f9d5603b5b412c4182520798321358e4c21339fdbd5f15026a0acd6421a49e7db79ecca86633c3ab0 SHA512 1ea09b8768771be4a1700cb8a6523d5f74fcbf0ebe459d97796032b56f896fd0c50e5ca1ed4c96aedef7e61f6952a92986153cc70173dd5ad91ccfb72461c565
+DIST gscan2pdf-2.10.2.tar.xz 489484 BLAKE2B d699b471bcf701a83e87d982b7faebeac4a420083df35d875405483ea05fb4b28c9626c7b662629130801852a1602d6a90ea9627fdeebfd42ec25cf57a4e7835 SHA512 807af9af9c1451f761e1f64a0ebe132fc98252100202c0af0dea53210cd30bed5f4c293a8f5f52b03b493422053420c1506ca32a34515c90b7a5290837bc686a
 DIST gscan2pdf-2.8.1.tar.xz 476880 BLAKE2B c54e318fa00670f6b2f996791477fd61076abdfe57f2d924cad1fa9092a8796851c9ab503aabb7831ac374e390a19a821a5c7a8b996235deb7d7781b8b47f76c SHA512 2a9f52ce53030f2871d2430b6aab6b06bb1d4e2efbde25ad24196cfa99ad7b13342ff0f2827526020f5c12079e156bc430f891bdb6ffa9545a210bf1cba29be5
 DIST gscan2pdf-2.9.1.tar.xz 484740 BLAKE2B e75ac6a5296ba2f89838ae9c95dc0ceb592ea8ffaf8d89a0635043e07fedbdcf97df26ac810556da7d0e0306eb7aaff76dc18162c6a5f89cb1953bd623a594a3 SHA512 4fc3107c871a7915ebdc023476b1159c0fe03934f1a52a417a5bc285be46f7db0ed38ec4cf015b15953c728ef19d1f4f30207d418b655c950bfb64ddc5d23237

diff --git a/media-gfx/gscan2pdf/gscan2pdf-2.10.2.ebuild b/media-gfx/gscan2pdf/gscan2pdf-2.10.2.ebuild
new file mode 100644
index 00000000000..bae3935e710
--- /dev/null
+++ b/media-gfx/gscan2pdf/gscan2pdf-2.10.2.ebuild
@@ -0,0 +1,109 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DIST_TEST="do"
+
+inherit optfeature perl-module virtualx xdg-utils
+
+DESCRIPTION="Scan documents, perform OCR, produce PDFs and DjVus"
+HOMEPAGE="http://gscan2pdf.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.xz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+	dev-perl/Config-General
+	dev-perl/Data-UUID
+	dev-perl/Date-Calc
+	dev-perl/Filesys-Df
+	dev-perl/glib-perl
+	dev-perl/GooCanvas2
+	dev-perl/Gtk3
+	dev-perl/Gtk3-ImageView
+	dev-perl/Gtk3-SimpleList
+	dev-perl/HTML-Parser
+	dev-perl/Image-Sane
+	dev-perl/List-MoreUtils
+	dev-perl/Locale-Codes
+	dev-perl/Locale-gettext
+	dev-perl/Log-Log4perl
+	dev-perl/PDF-Builder
+	dev-perl/Proc-ProcessTable
+	dev-perl/Readonly
+	dev-perl/Set-IntSpan
+	dev-perl/Try-Tiny
+	virtual/perl-Archive-Tar
+	virtual/perl-Carp
+	virtual/perl-Data-Dumper
+	virtual/perl-File-Temp
+	virtual/perl-Getopt-Long
+	virtual/perl-threads
+	virtual/perl-threads-shared
+	media-gfx/imagemagick[png,tiff,perl]
+	media-gfx/sane-backends
+	media-libs/tiff"
+
+BDEPEND="
+	test? (
+		${RDEPEND}
+		dev-perl/Sub-Override
+		media-libs/fontconfig
+
+		app-text/djvu[jpeg,tiff]
+		app-text/poppler[utils]
+		app-text/tesseract[-opencl,osd(+),png,tiff]
+		app-text/unpaper
+		media-gfx/imagemagick[djvu,jpeg,png,tiff,perl,postscript]
+		media-gfx/sane-backends[sane_backends_test]
+		media-gfx/sane-frontends
+	)"
+
+PERL_RM_FILES=( t/{90_MANIFEST,91_critic,99_pod}.t )
+
+mydoc="History"
+
+pkg_postinst() {
+	xdg_desktop_database_update
+
+	optfeature "DjVu file support" "app-text/djvu[tiff] media-gfx/imagemagick[djvu]"
+	optfeature "encrypting PDFs" app-text/pdftk
+	optfeature "creating PostScript files from PDFs" app-text/poppler[utils]
+	optfeature "adding to an existing PDF" app-text/poppler[utils]
+	optfeature "Optical Character Recognition" app-text/tesseract[tiff]
+	optfeature "scan post-processing" app-text/unpaper
+	optfeature "automatic document feeder support" media-gfx/sane-frontends
+	optfeature "sending PDFs as email attachments" x11-misc/xdg-utils
+}
+
+pkg_postrm() {
+	xdg_desktop_database_update
+}
+
+src_test() {
+	echo "Using:"
+	echo "  $(best_version app-text/djvu)"
+	echo "  $(best_version app-text/poppler)"
+	echo "  $(best_version app-text/tesseract)"
+	echo "  $(best_version dev-perl/Gtk3-ImageView)"
+	echo "  $(best_version dev-perl/Image-Sane)"
+	echo "  $(best_version dev-perl/PDF-Builder)"
+	echo "  $(best_version media-gfx/imagemagick)"
+	echo "  $(best_version media-gfx/sane-backends)"
+	echo "  $(best_version media-libs/tiff)"
+
+	local confdir="${HOME}/.config/ImageMagick"
+	mkdir -p "${confdir}" || die
+	cat > "${confdir}/policy.xml" <<-EOT || die
+		<policymap>
+			<policy domain="coder" rights="read|write" pattern="PDF" />
+			<policy domain="coder" rights="read" pattern="PS" />
+		</policymap>
+	EOT
+	NO_AT_BRIDGE=1 virtx perl-module_src_test
+}


             reply	other threads:[~2021-01-07  5:06 UTC|newest]

Thread overview: 81+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-07  5:06 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-09-24  8:47 [gentoo-commits] repo/gentoo:master commit in: media-gfx/gscan2pdf/ Florian Schmaus
2024-06-02  8:09 Joonas Niilola
2024-02-03 11:36 Joonas Niilola
2024-02-03  9:53 Joonas Niilola
2024-01-03 20:20 Florian Schmaus
2023-04-21  8:04 Joonas Niilola
2023-04-21  6:29 Joonas Niilola
2023-01-25 17:41 Joonas Niilola
2023-01-25 17:41 Joonas Niilola
2022-10-30  9:35 Sam James
2022-07-15  1:26 Sam James
2022-07-15  1:26 Sam James
2022-02-28 23:56 Sam James
2022-02-27 13:43 Jakov Smolić
2022-02-18  3:07 Sam James
2022-02-18  3:07 Sam James
2022-02-07  6:33 Sam James
2021-12-28 20:34 Sam James
2021-12-22 11:25 Jakov Smolić
2021-11-22 10:11 Sam James
2021-11-22 10:11 Sam James
2021-11-02 12:06 Florian Schmaus
2021-08-13 13:52 Ionen Wolkens
2021-08-13 13:52 Ionen Wolkens
2021-03-14  8:41 Joonas Niilola
2021-03-14  8:41 Joonas Niilola
2021-03-12  8:10 Mikle Kolyada
2021-01-07  5:06 Sam James
2021-01-07  5:06 Sam James
2020-10-30 21:26 Thomas Deutschmann
2020-10-30 21:25 Thomas Deutschmann
2020-10-27 21:11 Sam James
2020-10-08 10:02 Joonas Niilola
2020-10-08 10:02 Joonas Niilola
2020-07-24 12:03 Joonas Niilola
2020-07-24 12:03 Joonas Niilola
2020-05-17 11:29 Joonas Niilola
2020-05-17 11:29 Joonas Niilola
2020-04-10 20:25 Andreas Sturmlechner
2020-04-10 20:25 Andreas Sturmlechner
2020-03-14  9:55 Joonas Niilola
2020-03-14  9:55 Joonas Niilola
2020-02-14 16:29 Joonas Niilola
2020-02-14 16:29 Joonas Niilola
2020-01-10  5:43 Joonas Niilola
2020-01-10  5:43 Joonas Niilola
2019-12-07 12:47 Joonas Niilola
2019-11-14  6:26 Joonas Niilola
2019-11-14  6:26 Joonas Niilola
2019-11-12 15:07 Joonas Niilola
2019-11-12 15:07 Joonas Niilola
2019-09-19 16:57 Joonas Niilola
2019-09-19 16:57 Joonas Niilola
2019-07-31 16:52 Joonas Niilola
2019-07-31 16:52 Joonas Niilola
2019-06-04 21:30 Michał Górny
2019-06-04 21:30 Michał Górny
2019-03-26 16:45 Patrice Clement
2019-03-26 16:45 Patrice Clement
2019-02-24 22:14 Andreas Sturmlechner
2019-02-24 22:14 Andreas Sturmlechner
2019-02-03 22:57 Andreas Sturmlechner
2018-04-18 23:52 Aaron Bauman
2018-01-28 23:19 Andreas Sturmlechner
2018-01-28 23:19 Andreas Sturmlechner
2017-11-29 23:19 Andreas Sturmlechner
2017-11-29 23:19 Andreas Sturmlechner
2017-11-27 21:48 Patrice Clement
2017-11-27  1:07 Patrice Clement
2017-11-27  1:07 Patrice Clement
2017-11-01 18:52 Patrice Clement
2017-10-01 20:01 Andreas Sturmlechner
2017-10-01 20:01 Andreas Sturmlechner
2017-08-27  6:54 Patrice Clement
2017-06-04 17:52 Michał Górny
2017-06-04 17:52 Michał Górny
2017-04-13 19:51 Göktürk Yüksek
2017-03-19  4:12 Kent Fredric
2017-02-15 19:52 Göktürk Yüksek
2017-02-09 22:56 Göktürk Yüksek

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1609993096.18836b0146289cfef2e207ce82a7ae30cbaf0c27.sam@gentoo \
    --to=sam@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox