From unknown Fri Aug 15 14:48:46 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#43504 <43504@debbugs.gnu.org> To: bug#43504 <43504@debbugs.gnu.org> Subject: Status: [PATCH] gnu: Add scantailor-advanced. Reply-To: bug#43504 <43504@debbugs.gnu.org> Date: Fri, 15 Aug 2025 21:48:46 +0000 retitle 43504 [PATCH] gnu: Add scantailor-advanced. reassign 43504 guix-patches submitter 43504 Brendan Tildesley severity 43504 normal tag 43504 patch thanks From debbugs-submit-bounces@debbugs.gnu.org Sat Sep 19 01:53:41 2020 Received: (at submit) by debbugs.gnu.org; 19 Sep 2020 05:53:41 +0000 Received: from localhost ([127.0.0.1]:45535 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kJVoa-0002xR-SI for submit@debbugs.gnu.org; Sat, 19 Sep 2020 01:53:41 -0400 Received: from lists.gnu.org ([209.51.188.17]:39482) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kJVoY-0002xI-Td for submit@debbugs.gnu.org; Sat, 19 Sep 2020 01:53:39 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41896) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kJVoY-0002r6-Jt for guix-patches@gnu.org; Sat, 19 Sep 2020 01:53:38 -0400 Received: from mout-p-103.mailbox.org ([2001:67c:2050::465:103]:24820) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256) (Exim 4.90_1) (envelope-from ) id 1kJVoV-00066Y-V3 for guix-patches@gnu.org; Sat, 19 Sep 2020 01:53:37 -0400 Received: from smtp2.mailbox.org (smtp2.mailbox.org [IPv6:2001:67c:2050:105:465:1:2:0]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-103.mailbox.org (Postfix) with ESMTPS id 4BtfyJ3fJhzKm5Y for ; Sat, 19 Sep 2020 07:53:28 +0200 (CEST) X-Virus-Scanned: amavisd-new at heinlein-support.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brendan.scot; s=MBO0001; t=1600494806; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=S+yqzzXnHShYMoeAyeTfsENL9mGmeP93eSGbTGWj6So=; b=wHr9qxnFrLQhhZbO7W6iD0O0BmPnCLmFOWHWh0HWW8z3C1d5JFEpxfvwPs4sEri/I0iGug mccEzhecaP6Y/oj1xVY2ZVnUcDf4Cv7EKEm8RPpWRWRcybGhtVcFk4hk8hAyQ9zrPrWiLr PjqhMASOXDUnE15LQkuUPGdVe//NacJTLer8SGngGHAXTtym2qGgV0olzGZ33GuH7yWMPf mZRQhzZHtLKbx4arK2zkx7qwpavPJm74R0YKInNA+u8hLT73MJdzsAWQ3im6Js/ofwcD+f rfaiWgrucY6A/kofuNRsXSa4vBJrXQc+LnymGwiS1MwdrYzbNJ3KzY71gSAyXw== Received: from smtp2.mailbox.org ([80.241.60.241]) by spamfilter01.heinlein-hosting.de (spamfilter01.heinlein-hosting.de [80.241.56.115]) (amavisd-new, port 10030) with ESMTP id lzfdGVg0Uyiu for ; Sat, 19 Sep 2020 07:53:24 +0200 (CEST) From: Brendan Tildesley To: guix-patches@gnu.org Subject: [PATCH] gnu: Add scantailor-advanced. Date: Sat, 19 Sep 2020 15:52:30 +1000 Message-Id: <20200919055230.21174-1-mail@brendan.scot> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-MBO-SPAM-Probability: X-Rspamd-Score: -8.09 / 15.00 / 15.00 X-Rspamd-Queue-Id: 23093EF9 X-Rspamd-UID: 5f39a2 Received-SPF: pass client-ip=2001:67c:2050::465:103; envelope-from=mail@brendan.scot; helo=mout-p-103.mailbox.org X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.6 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.6 (--) * gnu/packages/image-processing.scm (scantailor-advanced): New variable. --- gnu/packages/image-processing.scm | 50 +++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) diff --git a/gnu/packages/image-processing.scm b/gnu/packages/image-processing.scm index 9158e14938..c480fae05a 100644 --- a/gnu/packages/image-processing.scm +++ b/gnu/packages/image-processing.scm @@ -11,6 +11,7 @@ ;;; Copyright © 2020 Vincent Legoll ;;; Copyright © 2020 Vinicius Monego ;;; Copyright © 2020 Pierre Neidhardt +;;; Copyright © 2020 Brendan Tildesley ;;; ;;; This file is part of GNU Guix. ;;; @@ -33,6 +34,7 @@ #:use-module (guix utils) #:use-module (guix download) #:use-module (guix git-download) + #:use-module (guix build-system qt) #:use-module (guix build-system cmake) #:use-module (guix build-system gnu) #:use-module (gnu packages) @@ -1015,3 +1017,51 @@ substitued, as well as collage-style photomosaics, in which rectangular parts of the source image at arbitrary positions (i.e. not aligned to a matrix) are substituted by matching images.") (license license:gpl2)))) + +(define-public scantailor-advanced + (let ((commit "df1f8e25d16e08594d530c18de58f44b1fd7b0a5")) + (package + (name "scantailor-advanced") + (version (string-append "1.0.16-" (string-take commit 7))) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/brendan-t/scantailor-advanced") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0jycvw39yg17zrd2fdmihskkwb3jx2j50479bnqh50jcndligb3f")))) + (build-system qt-build-system) + (native-inputs + `(("qttools" ,qttools))) + (inputs + `(("boost" ,boost) + ("libjpeg" ,libjpeg-turbo) + ("libpng" ,libpng) + ("libtiff" ,libtiff) + ("qtbase" ,qtbase) + ("qtsvg" ,qtsvg) + ("zlib" ,zlib))) + (arguments + `(#:phases + (modify-phases %standard-phases + ;; Some tests require a display and fail with offscreen mode. + (add-after 'unpack 'disable-failing-tests + (lambda _ + (setenv "ARGS" "--exclude-regex \"imageproc_.*\"") + #t))))) + (home-page "https://github.com/4lex4/scantailor-advanced") + (synopsis "Clean up scanned pages") + (description "Scan Tailor is an interactive post-processing tool for +scanned pages. It performs operations such as page splitting, deskewing, +adding/removing borders, and others. You give it raw scans, and you get pages +ready to be printed or assembled into a PDF or DJVU file. Scanning, optical +character recognition, and assembling multi-page documents are out of scope of +this project. + +Scan Tailer Advanced is a development of Scan Tailer that merges features and +bug fixes from Scan Tailor Featured and Scan Tailor Enhanced versions. Guix's +version additionally includes a Korean translation.") + (license license:gpl3+)))) -- 2.28.0 From debbugs-submit-bounces@debbugs.gnu.org Fri Sep 25 08:30:14 2020 Received: (at 43504) by debbugs.gnu.org; 25 Sep 2020 12:30:14 +0000 Received: from localhost ([127.0.0.1]:42992 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kLmrP-0007Ou-Jm for submit@debbugs.gnu.org; Fri, 25 Sep 2020 08:30:14 -0400 Received: from eggs.gnu.org ([209.51.188.92]:35820) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kLmrN-0007Og-Tn for 43504@debbugs.gnu.org; Fri, 25 Sep 2020 08:29:58 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:35904) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kLmrH-0006hY-Cn; Fri, 25 Sep 2020 08:29:52 -0400 Received: from [2a01:e0a:19b:d9a0:ec26:a22:2e08:e47e] (port=46260 helo=cervin) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kLmrF-0008KJ-SD; Fri, 25 Sep 2020 08:29:50 -0400 From: Mathieu Othacehe To: Brendan Tildesley Subject: Re: [bug#43504] [PATCH] gnu: Add scantailor-advanced. References: <20200919055230.21174-1-mail@brendan.scot> Date: Fri, 25 Sep 2020 14:29:48 +0200 In-Reply-To: <20200919055230.21174-1-mail@brendan.scot> (Brendan Tildesley's message of "Sat, 19 Sep 2020 15:52:30 +1000") Message-ID: <87imc2ca4j.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 43504 Cc: 43504@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hello, > + (uri (git-reference > + (url "https://github.com/brendan-t/scantailor-advanced") > + (commit commit))) What's the reason for not using the upstream 1.0.16 release? Is the only reason the addition of the Korean translation? In that case, it could be contributed upstream or added as a side patch I guess. Thanks, Mathieu From debbugs-submit-bounces@debbugs.gnu.org Fri Sep 25 16:46:55 2020 Received: (at 43504) by debbugs.gnu.org; 25 Sep 2020 20:46:55 +0000 Received: from localhost ([127.0.0.1]:45441 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kLucI-00010Y-OL for submit@debbugs.gnu.org; Fri, 25 Sep 2020 16:46:54 -0400 Received: from mout-p-101.mailbox.org ([80.241.56.151]:22102) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kLucE-00010G-2i for 43504@debbugs.gnu.org; Fri, 25 Sep 2020 16:46:52 -0400 Received: from smtp2.mailbox.org (smtp2.mailbox.org [IPv6:2001:67c:2050:105:465:1:2:0]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-101.mailbox.org (Postfix) with ESMTPS id 4BykVD39vSzKmfP; Fri, 25 Sep 2020 22:46:44 +0200 (CEST) X-Virus-Scanned: amavisd-new at heinlein-support.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brendan.scot; s=MBO0001; t=1601066802; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=qeeBieSzdcGW8ajLe8ihUfzhQ2P8NQtcBdH7qCbsdHM=; b=HfqTcXUbXziKtgCxe7il/l9+TCsnA2uQdsesfbVRCRkmo2Cr2hd4PzRV+dScGyI5JvlY/R Zco849l+G2B00KbifHkceWjuft2D20jbg0O3RfAVRr7azfy49gIiq+wHNj2/VMN4rRgH2E vX8eYAxZQMykYUgJ4w382uqGvDrlT+eCpsVthZXd30CnVkMgcXqAkvdND9XsH6t5w5rOa+ ZqyZ8636xxHNnhHzx+Pu+pAOrd8AmEUOY6IuvzsjPmW5WZvTdQA4o71jNxz5zz3T8xC6Eb TWiAeWXb41PN3H1ru+LDvRu8+cPEkPQWJ3d38PfeWH9zMij9dHbHk8zya+mWeA== Received: from smtp2.mailbox.org ([80.241.60.241]) by spamfilter04.heinlein-hosting.de (spamfilter04.heinlein-hosting.de [80.241.56.122]) (amavisd-new, port 10030) with ESMTP id QsjJLA39yCiE; Fri, 25 Sep 2020 22:46:40 +0200 (CEST) Date: Sat, 26 Sep 2020 06:46:34 +1000 In-Reply-To: <87imc2ca4j.fsf@gnu.org> References: <20200919055230.21174-1-mail@brendan.scot> <87imc2ca4j.fsf@gnu.org> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----DABN6I18XANASF3AV7PTMPPP9MUB94" Content-Transfer-Encoding: 7bit Subject: Re: [bug#43504] [PATCH] gnu: Add scantailor-advanced. To: Mathieu Othacehe From: Brendan Tildesley Message-ID: <62CE0D94-95CB-48C7-A6AE-DC2184E87A0D@brendan.scot> X-MBO-SPAM-Probability: X-Rspamd-Score: -6.06 / 15.00 / 15.00 X-Rspamd-Queue-Id: 24F6516FD X-Rspamd-UID: 7c65cb X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 43504 Cc: 43504@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) ------DABN6I18XANASF3AV7PTMPPP9MUB94 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On September 25, 2020 10:29:48 PM GMT+10:00, Mathieu Othacehe wrote: > >Hello, > >> + (uri (git-reference >> + (url >"https://github=2Ecom/brendan-t/scantailor-advanced") >> + (commit commit))) > >What's the reason for not using the upstream 1=2E0=2E16 release? Is the >only >reason the addition of the Korean translation? In that case, it could >be >contributed upstream or added as a side patch I guess=2E > >Thanks, > >Mathieu Well I saw the merge request for it and it was ignored, so I just added it= manually=2E Also I wasn't using the latest tag release but the latest comm= it because the release is 2 years old and there are many fixes and changes = afterwards=2E This is not just the latest release plus the translation but = the latest commit plus it, in my own repo=2E It didn't look like the channe= l owner was planning to make a release any time soon=2E Do you think I shou= ld just use the latest release then and not worry about it? ------DABN6I18XANASF3AV7PTMPPP9MUB94 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable
On September 25, 2020 1= 0:29:48 PM GMT+10:00, Mathieu Othacehe <othacehe@gnu=2Eorg> wrote:

Hello,

+ (uri (git-reference
+ (url "https= ://github=2Ecom/brendan-t/scantailor-advanced")
+ (commit = commit)))

What's the reason for not using the upstream = 1=2E0=2E16 release? Is the only
reason the addition of the Korean transl= ation? In that case, it could be
contributed upstream or added as a side= patch I guess=2E

Thanks,

Mathieu

Well I saw the merge request for it and it was ignored, = so I just added it manually=2E Also I wasn't using the latest tag release b= ut the latest commit because the release is 2 years old and there are many = fixes and changes afterwards=2E This is not just the latest release plus th= e translation but the latest commit plus it, in my own repo=2E It didn't lo= ok like the channel owner was planning to make a release any time soon=2E D= o you think I should just use the latest release then and not worry about i= t?
------DABN6I18XANASF3AV7PTMPPP9MUB94-- From debbugs-submit-bounces@debbugs.gnu.org Thu Oct 01 03:37:12 2020 Received: (at 43504) by debbugs.gnu.org; 1 Oct 2020 07:37:13 +0000 Received: from localhost ([127.0.0.1]:33907 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kNt9M-0006gc-Lf for submit@debbugs.gnu.org; Thu, 01 Oct 2020 03:37:12 -0400 Received: from eggs.gnu.org ([209.51.188.92]:45800) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kNt9L-0006gR-68 for 43504@debbugs.gnu.org; Thu, 01 Oct 2020 03:37:11 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:50154) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kNt9E-0004o6-Ht; Thu, 01 Oct 2020 03:37:04 -0400 Received: from [2a01:e0a:19b:d9a0:d549:2a8f:de3b:c9c0] (port=35262 helo=cervin) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kNt9D-00081N-OV; Thu, 01 Oct 2020 03:37:04 -0400 From: Mathieu Othacehe To: Brendan Tildesley Subject: Re: [bug#43504] [PATCH] gnu: Add scantailor-advanced. References: <20200919055230.21174-1-mail@brendan.scot> <87imc2ca4j.fsf@gnu.org> <62CE0D94-95CB-48C7-A6AE-DC2184E87A0D@brendan.scot> Date: Thu, 01 Oct 2020 09:37:01 +0200 In-Reply-To: <62CE0D94-95CB-48C7-A6AE-DC2184E87A0D@brendan.scot> (Brendan Tildesley's message of "Sat, 26 Sep 2020 06:46:34 +1000") Message-ID: <87tuvez9b6.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 43504 Cc: 43504@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hello Brendan, > Well I saw the merge request for it and it was ignored, so I just added it manually. Also I wasn't using the latest tag release but the latest commit because the release is 2 years old and there > are many fixes and changes afterwards. This is not just the latest release plus the translation but the latest commit plus it, in my own repo. It didn't look like the channel owner was planning > to make a release any time soon. Do you think I should just use the latest release then and not worry about it? The project is not explicitly discontinued, so maybe you could package the latest upstream commit. Regarding your translation commit, I saw you submitted a MR a few days ago, let's see if it gets a review. Thanks, Mathieu From debbugs-submit-bounces@debbugs.gnu.org Thu Oct 01 06:23:22 2020 Received: (at 43504) by debbugs.gnu.org; 1 Oct 2020 10:23:22 +0000 Received: from localhost ([127.0.0.1]:34210 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kNvk9-0002NG-S4 for submit@debbugs.gnu.org; Thu, 01 Oct 2020 06:23:22 -0400 Received: from mout-p-201.mailbox.org ([80.241.56.171]:58178) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kNvk7-0002Mw-N6 for 43504@debbugs.gnu.org; Thu, 01 Oct 2020 06:23:21 -0400 Received: from smtp2.mailbox.org (smtp2.mailbox.org [IPv6:2001:67c:2050:105:465:1:2:0]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-201.mailbox.org (Postfix) with ESMTPS id 4C28N20mzWzQjVH; Thu, 1 Oct 2020 12:23:14 +0200 (CEST) X-Virus-Scanned: amavisd-new at heinlein-support.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brendan.scot; s=MBO0001; t=1601547792; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=tukPXTJHg207sWwD1vXj5QM1Zvs/zvJYTyTBNAL9C+w=; b=1li+D+p3U61Nwjlw2+nRefGG8maCsayLBNa8ALcajTEQt3lIPW8yFiXZVOIj7CS89Moupf T4yuK2uZAWNTE7DUIz8gGsLL7kHW8etGp1RMLIEkJ1SbTGyy41+spvJ1woUaHqYwC1Z/qr s39jEkFOCqyWAFwEVt4zuW05IZoDKPPvzjxEs3E5Oj3xyohQXkGweaBbLOd4MRuo6epEsx tElQ3jo7b1IMYywhGERWJTn+boOFcoQklLn3O7qQVuKwPhc2VLLTaw0SMYkbOrNEwrzwXx yweciuAwdAuzeAhs8FB5FbSAHhgio5OP3l+5mIJ6gdkXUfLknj8AS0xXDuK9HQ== Received: from smtp2.mailbox.org ([80.241.60.241]) by spamfilter01.heinlein-hosting.de (spamfilter01.heinlein-hosting.de [80.241.56.115]) (amavisd-new, port 10030) with ESMTP id k2pMSWuvWztq; Thu, 1 Oct 2020 12:23:09 +0200 (CEST) Subject: Re: [bug#43504] [PATCH] gnu: Add scantailor-advanced. To: Mathieu Othacehe References: <20200919055230.21174-1-mail@brendan.scot> <87imc2ca4j.fsf@gnu.org> <62CE0D94-95CB-48C7-A6AE-DC2184E87A0D@brendan.scot> <87tuvez9b6.fsf@gnu.org> From: Brendan Tildesley Message-ID: <8300a8c9-1021-5680-6024-9516b14ee55f@brendan.scot> Date: Thu, 1 Oct 2020 10:23:04 +0000 MIME-Version: 1.0 In-Reply-To: <87tuvez9b6.fsf@gnu.org> Content-Type: multipart/mixed; boundary="------------44E623D407A7B1BE04660D5E" Content-Language: en-US X-MBO-SPAM-Probability: X-Rspamd-Score: -10.65 / 15.00 / 15.00 X-Rspamd-Queue-Id: 83961171C X-Rspamd-UID: 4fc0c1 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 43504 Cc: 43504@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) This is a multi-part message in MIME format. --------------44E623D407A7B1BE04660D5E Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit On 1/10/20 7:37 am, Mathieu Othacehe wrote: > Hello Brendan, > >> Well I saw the merge request for it and it was ignored, so I just added it manually. Also I wasn't using the latest tag release but the latest commit because the release is 2 years old and there >> are many fixes and changes afterwards. This is not just the latest release plus the translation but the latest commit plus it, in my own repo. It didn't look like the channel owner was planning >> to make a release any time soon. Do you think I should just use the latest release then and not worry about it? > The project is not explicitly discontinued, so maybe you could package > the latest upstream commit. Regarding your translation commit, I saw you > submitted a MR a few days ago, let's see if it gets a review. > > Thanks, > > Mathieu I attached a new one that uses up stream's latest. By the way, to test it, just take a photo of a page from a book, and try load it in. if you can go through the steps processing it to a clean output then it should be working ok. --------------44E623D407A7B1BE04660D5E Content-Type: text/x-patch; charset=UTF-8; name="0001-gnu-Add-scantailor-advanced.patch" Content-Transfer-Encoding: 8bit Content-Disposition: attachment; filename="0001-gnu-Add-scantailor-advanced.patch" >From b2113f7dc97a3486ad79bf77ef139ef026305234 Mon Sep 17 00:00:00 2001 From: Brendan Tildesley Date: Thu, 17 Sep 2020 19:09:21 +1000 Subject: [PATCH] gnu: Add scantailor-advanced. * gnu/packages/image-processing.scm (scantailor-advanced): New variable. --- gnu/packages/image-processing.scm | 49 +++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) diff --git a/gnu/packages/image-processing.scm b/gnu/packages/image-processing.scm index 9158e14938..d9fd0e5baa 100644 --- a/gnu/packages/image-processing.scm +++ b/gnu/packages/image-processing.scm @@ -11,6 +11,7 @@ ;;; Copyright © 2020 Vincent Legoll ;;; Copyright © 2020 Vinicius Monego ;;; Copyright © 2020 Pierre Neidhardt +;;; Copyright © 2020 Brendan Tildesley ;;; ;;; This file is part of GNU Guix. ;;; @@ -33,6 +34,7 @@ #:use-module (guix utils) #:use-module (guix download) #:use-module (guix git-download) + #:use-module (guix build-system qt) #:use-module (guix build-system cmake) #:use-module (guix build-system gnu) #:use-module (gnu packages) @@ -1015,3 +1017,50 @@ substitued, as well as collage-style photomosaics, in which rectangular parts of the source image at arbitrary positions (i.e. not aligned to a matrix) are substituted by matching images.") (license license:gpl2)))) + +(define-public scantailor-advanced + (let ((commit "3d1e74e6ace413733511086934a66f4e3f7a6027")) + (package + (name "scantailor-advanced") + (version (string-append "1.0.16-" (string-take commit 7))) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/4lex4/scantailor-advanced") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0kixwjb2x457dq7927hkh34c803p7yh1pmn6n61rk9shqrcg492h")))) + (build-system qt-build-system) + (native-inputs + `(("qttools" ,qttools))) + (inputs + `(("boost" ,boost) + ("libjpeg" ,libjpeg-turbo) + ("libpng" ,libpng) + ("libtiff" ,libtiff) + ("qtbase" ,qtbase) + ("qtsvg" ,qtsvg) + ("zlib" ,zlib))) + (arguments + `(#:phases + (modify-phases %standard-phases + ;; Some tests require a display and fail with offscreen mode. + (add-after 'unpack 'disable-failing-tests + (lambda _ + (setenv "ARGS" "--exclude-regex \"imageproc_.*\"") + #t))))) + (home-page "https://github.com/4lex4/scantailor-advanced") + (synopsis "Clean up scanned pages") + (description "Scan Tailor is an interactive post-processing tool for +scanned pages. It performs operations such as page splitting, deskewing, +adding/removing borders, and others. You give it raw scans, and you get pages +ready to be printed or assembled into a PDF or DJVU file. Scanning, optical +character recognition, and assembling multi-page documents are out of scope of +this project. + +Scan Tailer Advanced is a fork of Scan Tailer that merges Scan Tailor Featured +and Scan Tailor Enhanced versions as well as including many more bug fixes.") + (license license:gpl3+)))) -- 2.28.0 --------------44E623D407A7B1BE04660D5E-- From debbugs-submit-bounces@debbugs.gnu.org Thu Oct 01 08:24:05 2020 Received: (at 43504-done) by debbugs.gnu.org; 1 Oct 2020 12:24:06 +0000 Received: from localhost ([127.0.0.1]:34456 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kNxcz-0001R6-Mw for submit@debbugs.gnu.org; Thu, 01 Oct 2020 08:24:05 -0400 Received: from eggs.gnu.org ([209.51.188.92]:53518) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kNxcy-0001Qc-Ev for 43504-done@debbugs.gnu.org; Thu, 01 Oct 2020 08:24:04 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:53576) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kNxcr-0007vQ-Sf; Thu, 01 Oct 2020 08:23:58 -0400 Received: from [2a01:e0a:19b:d9a0:d549:2a8f:de3b:c9c0] (port=38206 helo=cervin) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kNxcr-0000Pn-DB; Thu, 01 Oct 2020 08:23:57 -0400 From: Mathieu Othacehe To: Brendan Tildesley Subject: Re: [bug#43504] [PATCH] gnu: Add scantailor-advanced. In-Reply-To: <8300a8c9-1021-5680-6024-9516b14ee55f@brendan.scot> (Brendan Tildesley's message of "Thu, 1 Oct 2020 10:23:04 +0000") References: <20200919055230.21174-1-mail@brendan.scot> <87imc2ca4j.fsf@gnu.org> <62CE0D94-95CB-48C7-A6AE-DC2184E87A0D@brendan.scot> <87tuvez9b6.fsf@gnu.org> <8300a8c9-1021-5680-6024-9516b14ee55f@brendan.scot> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) Date: Thu, 01 Oct 2020 14:23:55 +0200 Message-ID: <87ft6yyw10.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 43504-done Cc: 43504-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hey Brendan, > I attached a new one that uses up stream's latest. By the way, to test it, > just take a photo of a page from a book, and try load it in. if you can go > through the steps processing it to a clean output then it should be working > ok. Pushed as a76e9d13e9b5cad2bbfc0433d2f8d0eae2af0b05. Thanks, Mathieu From unknown Fri Aug 15 14:48:46 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Fri, 30 Oct 2020 11:24:03 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator