From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 96B521580F6 for ; Sat, 08 Nov 2025 08:02:27 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 7D1D0340F08 for ; Sat, 08 Nov 2025 08:02:27 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 4DB7B1102F8; Sat, 08 Nov 2025 08:02:26 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id 3E5F81102F8 for ; Sat, 08 Nov 2025 08:02:26 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id E4E683406D1 for ; Sat, 08 Nov 2025 08:02:25 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 2CDFB3BD5 for ; Sat, 08 Nov 2025 08:02:24 +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: <1762588941.cc89086c54b1ebd9ea1e3ce1f5ccab49a83c5e05.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.13.5.ebuild X-VCS-Directories: media-gfx/gscan2pdf/ X-VCS-Committer: juippis X-VCS-Committer-Name: Joonas Niilola X-VCS-Revision: cc89086c54b1ebd9ea1e3ce1f5ccab49a83c5e05 X-VCS-Branch: master Date: Sat, 08 Nov 2025 08:02:24 +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: 0dbe3ab7-a2ab-4ca0-a6b3-256dd81c6aa5 X-Archives-Hash: be84120bc515144f82a2a5dae89fa2f4 commit: cc89086c54b1ebd9ea1e3ce1f5ccab49a83c5e05 Author: Chris Mayo gmail com> AuthorDate: Thu Nov 6 19:23:40 2025 +0000 Commit: Joonas Niilola gentoo org> CommitDate: Sat Nov 8 08:02:21 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cc89086c media-gfx/gscan2pdf: add 2.13.5 Signed-off-by: Chris Mayo gmail.com> Part-of: https://github.com/gentoo/gentoo/pull/44518 Closes: https://github.com/gentoo/gentoo/pull/44518 Signed-off-by: Joonas Niilola gentoo.org> media-gfx/gscan2pdf/Manifest | 1 + media-gfx/gscan2pdf/gscan2pdf-2.13.5.ebuild | 111 ++++++++++++++++++++++++++++ 2 files changed, 112 insertions(+) diff --git a/media-gfx/gscan2pdf/Manifest b/media-gfx/gscan2pdf/Manifest index ae4560f95a86..c6cf36e35a9d 100644 --- a/media-gfx/gscan2pdf/Manifest +++ b/media-gfx/gscan2pdf/Manifest @@ -1,2 +1,3 @@ DIST gscan2pdf-2.13.2.tar.xz 507244 BLAKE2B 66ac15ddcf74ed2b04f231e24a663afa7494bd5df04ecb190b68b9822382e01953d97949174f3d6280fabc9d0a2ea1cc270c0aa333cf9992cfa2f58f645df156 SHA512 882b707b11df26310136ed72428eab6ec8e2c6cf34686675eee3b14181622f85d21be0e05cab411961f2a2441ad948e7b56c7fe24eecb558eae7a7ac6b4db9d1 DIST gscan2pdf-2.13.4.tar.xz 510300 BLAKE2B 1a6721df5bc037abeed877a55ba5e4e1d3a6c559786a79f1196842819fa48ecf06715e29a7662db9a19e40b22d62fc69c5786213ae46b456e3252920dc2549af SHA512 19bd71b08c3be0a239e4018a50e1327b74b07cc64b03546e573ccbcbf89f3de3443ca9735740b070162c6c9f0adc7655fc81319fc082bd15a47f5e90baee6537 +DIST gscan2pdf-2.13.5.tar.xz 526768 BLAKE2B d5418716451dd1e046e7d68026d6529344067ee22b3e2e79fde6b9d4bbd2fc9231baba74f0c813abe67325b770068176356d84f0865735ba9a7b81ef011a87c6 SHA512 cb213e553e7e399e995cc92b8854eda9a5782c427843dec0b0ca3752ff12d7b3860559d823197557261433e9c2a797f4d9e9e2a1796845bd3bd53ceeb72616cc diff --git a/media-gfx/gscan2pdf/gscan2pdf-2.13.5.ebuild b/media-gfx/gscan2pdf/gscan2pdf-2.13.5.ebuild new file mode 100644 index 000000000000..74e4e0ed9336 --- /dev/null +++ b/media-gfx/gscan2pdf/gscan2pdf-2.13.5.ebuild @@ -0,0 +1,111 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +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="https://downloads.sourceforge.net/${PN}/${P}.tar.xz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~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-10.0.0 + 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-3.23.0 + 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 + media-gfx/imagemagick[png,tiff,perl] + media-gfx/sane-backends + >=media-libs/tiff-4.7.0" + +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(-),png,tiff] + app-text/unpaper + media-gfx/imagemagick[djvu,fontconfig,jpeg,png,tiff,perl,postscript,truetype] + media-gfx/sane-backends[sane_backends_test] + media-gfx/sane-frontends + )" + +PATCHES=( "${FILESDIR}/${PN}-2.13.2-t1161.patch" ) + +PERL_RM_FILES=( t/{90_MANIFEST,91_critic,99_pod,169_import_scan}.t ) + +mydoc="History" + +src_test() { + einfo "Using:" + einfo " $(best_version app-text/djvu)" + einfo " $(best_version app-text/poppler)" + einfo " $(best_version app-text/tesseract)" + einfo " $(best_version dev-perl/Gtk3-ImageView)" + einfo " $(best_version dev-perl/Image-Sane)" + einfo " $(best_version dev-perl/PDF-Builder)" + einfo " $(best_version media-gfx/imagemagick)" + einfo " $(best_version media-gfx/sane-backends)" + einfo " $(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 +} + +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 +}