From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id C2B2D138334 for ; Tue, 4 Jun 2019 21:30:24 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B0D1BE0934; Tue, 4 Jun 2019 21:30:23 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 66EA5E0934 for ; Tue, 4 Jun 2019 21:30:23 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 7616F345729 for ; Tue, 4 Jun 2019 21:30:21 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A761C5D7 for ; Tue, 4 Jun 2019 21:30:11 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1559683799.09c3fb9a9381816695f58014de809367443b6346.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-gfx/gscan2pdf/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-gfx/gscan2pdf/Manifest media-gfx/gscan2pdf/gscan2pdf-2.5.3.ebuild X-VCS-Directories: media-gfx/gscan2pdf/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 09c3fb9a9381816695f58014de809367443b6346 X-VCS-Branch: master Date: Tue, 4 Jun 2019 21:30:11 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: e2ed6e18-fd87-48a7-9d07-e29e5bc16853 X-Archives-Hash: 24b58f5e398547cc08e5a26bb4d2f73b commit: 09c3fb9a9381816695f58014de809367443b6346 Author: Chris Mayo gmail com> AuthorDate: Tue Jun 4 19:12:53 2019 +0000 Commit: Michał Górny gentoo org> CommitDate: Tue Jun 4 21:29:59 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=09c3fb9a media-gfx/gscan2pdf: version bump to 2.5.3, add test support Signed-off-by: Chris Mayo gmail.com> Package-Manager: Portage-2.3.66, Repoman-2.3.11 Signed-off-by: Michał Górny gentoo.org> media-gfx/gscan2pdf/Manifest | 1 + media-gfx/gscan2pdf/gscan2pdf-2.5.3.ebuild | 87 ++++++++++++++++++++++++++++++ 2 files changed, 88 insertions(+) diff --git a/media-gfx/gscan2pdf/Manifest b/media-gfx/gscan2pdf/Manifest index c3fc6c68b72..eeac1457626 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.4.0.tar.xz 437096 BLAKE2B 947c1d3c4c726254ba61be4f7a34ae867d0af9b6ebf53e4594aeb908dfda43ff1e85791641b42e9e13b978a56cfe523a6fa23566e14ad130278d05e7836d34d8 SHA512 90ec9d8cc56a2fe9d7a77c928f548c87a81bdfb62f1caa491b32a42600c5677974ec613b0bf384bd806953a9a5d29ccf3077df7c0b3dd73d06866003c3a01791 DIST gscan2pdf-2.5.1.tar.xz 440484 BLAKE2B 375434ee633f895da29d69672faa6da5247e6f45e25b7fe1111394c03c2a6a6e482973365733a7d123c2a94ef40d2d7ce8666b5c632a6465f31ef09f237100fa SHA512 677f9081fb4f6ecd064f965399be20802e10f470d40ef00da5afd6de37ed9914c856fe01e28daedf900e8c8bd75a798f1579a7970509fc789382bbe2b1923804 +DIST gscan2pdf-2.5.3.tar.xz 447188 BLAKE2B e34441c4680fbe2a03bafb12c754df143c800ca6aa56c33623ff5e26fc86d08e120794d84c1e33aa25d76498138098249ace4a7f79023fc1ff97372dcf7e76a7 SHA512 d8f798eadc3c2fbc8a1553bbf542f2636861aba793ab61b66449938bbe115d5e765e018f6afdcd7280b34ccadeb77febda924334f35cf5b7459f93f93c58e782 diff --git a/media-gfx/gscan2pdf/gscan2pdf-2.5.3.ebuild b/media-gfx/gscan2pdf/gscan2pdf-2.5.3.ebuild new file mode 100644 index 00000000000..9c77f58fad7 --- /dev/null +++ b/media-gfx/gscan2pdf/gscan2pdf-2.5.3.ebuild @@ -0,0 +1,87 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +DIST_TEST="do" + +inherit eutils perl-module virtualx + +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" + +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-SimpleList + dev-perl/HTML-Parser + dev-perl/Image-Sane + dev-perl/List-MoreUtils + dev-perl/Locale-gettext + dev-perl/Log-Log4perl + dev-perl/PDF-API2 + 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" + +DEPEND="test? ( + ${RDEPEND} + dev-perl/Sub-Override + media-libs/fontconfig + + app-text/djvu[tiff] + app-text/poppler[utils] + app-text/tesseract[-opencl,osd,tiff] + app-text/unpaper + media-gfx/imagemagick[djvu,png,tiff,perl] + 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() { + optfeature "DjVu file support" "app-text/djvu[tiff] media-gfx/imagemagick[djvu]" + 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[osd,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 +} + +src_test(){ + local confdir="${HOME}/.config/ImageMagick" + mkdir -p "${confdir}" || die + cat > "${confdir}/policy.xml" <<-EOT || die + + + + + EOT + virtx perl-module_src_test +}