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 80CC21382C5 for ; Sun, 14 Mar 2021 08:41:20 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D3E42E08EF; Sun, 14 Mar 2021 08:41:19 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 B2341E08EF for ; Sun, 14 Mar 2021 08:41:19 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 E9104340B10 for ; Sun, 14 Mar 2021 08:41:17 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 114445AC for ; Sun, 14 Mar 2021 08:41:15 +0000 (UTC) From: "Joonas Niilola" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Joonas Niilola" Message-ID: <1615711266.761edd7807c26c7cdf0406996d189ad363ac989b.juippis@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.11.1.ebuild X-VCS-Directories: media-gfx/gscan2pdf/ X-VCS-Committer: juippis X-VCS-Committer-Name: Joonas Niilola X-VCS-Revision: 761edd7807c26c7cdf0406996d189ad363ac989b X-VCS-Branch: master Date: Sun, 14 Mar 2021 08:41:15 +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: ac642a75-0d6a-4f02-ad73-bfa411654141 X-Archives-Hash: 93728425c0aef56c09181d4a32e853fa commit: 761edd7807c26c7cdf0406996d189ad363ac989b Author: Chris Mayo gmail com> AuthorDate: Sat Mar 13 17:18:10 2021 +0000 Commit: Joonas Niilola gentoo org> CommitDate: Sun Mar 14 08:41:06 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=761edd78 media-gfx/gscan2pdf: version bump to 2.11.1 Package-Manager: Portage-3.0.13, Repoman-3.0.2 Signed-off-by: Chris Mayo gmail.com> Signed-off-by: Joonas Niilola gentoo.org> media-gfx/gscan2pdf/Manifest | 1 + media-gfx/gscan2pdf/gscan2pdf-2.11.1.ebuild | 110 ++++++++++++++++++++++++++++ 2 files changed, 111 insertions(+) diff --git a/media-gfx/gscan2pdf/Manifest b/media-gfx/gscan2pdf/Manifest index cd8523ffbd9..3a77dd76bfa 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.11.1.tar.xz 494704 BLAKE2B c6773b3fadd7765074c5401ee22b46c7056a51a77b10bb769149428b6dbf4503c4fb8df96d9820c8f24a49b20e28c5e0796e835dfbd64272b364a83e64fd0ff1 SHA512 79ce0a3e032286bc1365e4355fdde57e321645a375a6310c1c59588a0d2cca0a9ea9a1e0462a2df3936e96a69fc0a6e32eb09f0c4207fca102d0f06cd5e50ac7 DIST gscan2pdf-2.9.1.tar.xz 484740 BLAKE2B e75ac6a5296ba2f89838ae9c95dc0ceb592ea8ffaf8d89a0635043e07fedbdcf97df26ac810556da7d0e0306eb7aaff76dc18162c6a5f89cb1953bd623a594a3 SHA512 4fc3107c871a7915ebdc023476b1159c0fe03934f1a52a417a5bc285be46f7db0ed38ec4cf015b15953c728ef19d1f4f30207d418b655c950bfb64ddc5d23237 diff --git a/media-gfx/gscan2pdf/gscan2pdf-2.11.1.ebuild b/media-gfx/gscan2pdf/gscan2pdf-2.11.1.ebuild new file mode 100644 index 00000000000..412081e98a7 --- /dev/null +++ b/media-gfx/gscan2pdf/gscan2pdf-2.11.1.ebuild @@ -0,0 +1,110 @@ +# Copyright 1999-2021 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/IPC-System-Simple + 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 + + + + + EOT + NO_AT_BRIDGE=1 virtx perl-module_src_test +}