From unknown Wed Sep 10 15:50:31 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#46652] [PATCH 1/2] gnu: Add python-pillow-simd. Resent-From: Vinicius Monego Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 20 Feb 2021 02:53:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 46652 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 46652@debbugs.gnu.org Cc: Vinicius Monego X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.161378956523686 (code B ref -1); Sat, 20 Feb 2021 02:53:01 +0000 Received: (at submit) by debbugs.gnu.org; 20 Feb 2021 02:52:45 +0000 Received: from localhost ([127.0.0.1]:50722 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lDINs-00069r-Uf for submit@debbugs.gnu.org; Fri, 19 Feb 2021 21:52:45 -0500 Received: from lists.gnu.org ([209.51.188.17]:43272) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lDINo-00069g-TY for submit@debbugs.gnu.org; Fri, 19 Feb 2021 21:52:39 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:36826) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lDINo-0007Om-Bo for guix-patches@gnu.org; Fri, 19 Feb 2021 21:52:36 -0500 Received: from mout01.posteo.de ([185.67.36.65]:59594) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lDINm-0001cc-19 for guix-patches@gnu.org; Fri, 19 Feb 2021 21:52:36 -0500 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id EB0FE16005C for ; Sat, 20 Feb 2021 03:52:28 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1613789549; bh=pDZ6iuLkxpm50wpWem6SIOnsYz0qs4IYhMaKwhWb5dA=; h=From:To:Cc:Subject:Date:From; b=hA9bO1sAqHOlS/SX0JUAwkpRsok+ycPNhNOGdVm5jBpuJfI4uH8AGkM42FQyvmF8y 6aw7MyyuMCgKph/XHxUcfdgtPMphkaTGM0O6KBDpGV8r8KojcqoD1SFAOuDrcEs1Ca x34pkE964vpolVQX6aErT/Cy3AAKt6VbKIpsHvUKZIsilJJM+1Qb77DwPDeurL3JeH TjgPRcLUfaqvWAFY1QGvluI9jFj6n6HsAj+Jzk7j+812CUs087OqCAqx9c286/8Yyc Fq4wBRCg1232X7kPIFdxop+ZGIoRv2k7GvIwhVMXBVPOxd9EcB1rE143fr8EBbbhZ0 VWrVn4jtH4yxw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4DjCfM1d6mz6tm8; Sat, 20 Feb 2021 03:52:26 +0100 (CET) From: Vinicius Monego Date: Fri, 19 Feb 2021 23:51:49 -0300 Message-Id: <20210220025149.31960-1-monego@posteo.net> X-Mailer: git-send-email 2.30.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=185.67.36.65; envelope-from=monego@posteo.net; helo=mout01.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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_MED=-2.3, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) 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.3 (--) * gnu/packages/python-xyz.scm (python-pillow-simd): New variable. --- gnu/packages/python-xyz.scm | 35 ++++++++++++++++++++++++++++++++++- 1 file changed, 34 insertions(+), 1 deletion(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index a504bb521b..ac8fce8cf7 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -82,7 +82,7 @@ ;;; Copyright © 2020 Josh Holland ;;; Copyright © 2020 Yuval Kogman ;;; Copyright © 2020 Michael Rohleder -;;; Copyright © 2020 Vinicius Monego +;;; Copyright © 2020, 2021 Vinicius Monego ;;; Copyright © 2020 Guy Fleury Iteriteka ;;; Copyright © 2020 Hendursaga ;;; Copyright © 2020 Malte Frank Gerdes @@ -5894,6 +5894,39 @@ a general image processing tool.") ((#:tests? _ #f) #f))) (properties '((hidden? #t))))) +(define-public python-pillow-simd + (package + (inherit python-pillow) + (name "python-pillow-simd") + (version "7.1.2") + ;; The PyPI tarball does not include test files. + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/uploadcare/pillow-simd") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0w11np4cybamry3jsg70x747c79zwjzfq0xiprfp6c186rd6nzp9")))) + (arguments + (substitute-keyword-arguments + (package-arguments python-pillow) + ((#:phases phases) + `(modify-phases ,phases + (add-after 'unpack 'make-tests-writable + (lambda _ + (for-each make-file-writable (find-files "Tests")) + #t)))))) + (inputs + `(("libraqm" ,libraqm) + ("libimagequant" ,libimagequant) + ,@(package-inputs python-pillow))) + (home-page "https://github.com/uploadcare/pillow-simd") + (synopsis "Fork of the Python Imaging Library (Pillow)") + (description "This package is a fork of Pillow which adds support for SIMD +parallelism."))) + (define-public python-roifile (package (name "python-roifile") -- 2.30.1 From unknown Wed Sep 10 15:50:31 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#46652] [PATCH 2/2] gnu: Add imgp. References: <20210220025149.31960-1-monego@posteo.net> In-Reply-To: <20210220025149.31960-1-monego@posteo.net> Resent-From: Vinicius Monego Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 20 Feb 2021 02:55:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 46652 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 46652@debbugs.gnu.org Cc: Vinicius Monego Received: via spool by 46652-submit@debbugs.gnu.org id=B46652.161378965923874 (code B ref 46652); Sat, 20 Feb 2021 02:55:01 +0000 Received: (at 46652) by debbugs.gnu.org; 20 Feb 2021 02:54:19 +0000 Received: from localhost ([127.0.0.1]:50727 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lDIPS-0006D0-NJ for submit@debbugs.gnu.org; Fri, 19 Feb 2021 21:54:18 -0500 Received: from mout01.posteo.de ([185.67.36.65]:46950) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lDIPQ-0006Cj-IB for 46652@debbugs.gnu.org; Fri, 19 Feb 2021 21:54:17 -0500 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id 3551D16005C for <46652@debbugs.gnu.org>; Sat, 20 Feb 2021 03:54:10 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1613789650; bh=ZS9hE7KB2ITRtVS4gcner9LN/TglLfPVJA/fj46hCKs=; h=From:To:Cc:Subject:Date:From; b=ZL+HSdRK5uz6edN2ZXcnaaVtNsmIXKtgWXVFiwFH6b3H4IDsKwCGrfekOG3PwAC/M uOtrQ6ssUS1OrhEupCNdyzkyAuuTsqIufo49LZKwCT1EiNVDGa1DT+0eeEM/6PaYWS BNZczDlFkhvkBBNw6jetdBkC2oKBf2Ip/kMG8xTiuaVc3r3/YTOi+MhbfdBDic6cHS evEi+KeSYEeIYUDa26ZXFlA9x4Cbzpi4i3XAhHYy/uFNnxctowiNYRoPSbWSpbBKuy 6oYnxR9iJnFKGPRF4Rhf3qH5+8wlW9TGdNLwzBWqUjl9AFs1FanzfLJADamB3T0Fdb /MZfT0U+UOVjQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4DjChJ49Z0z9rxH; Sat, 20 Feb 2021 03:54:08 +0100 (CET) From: Vinicius Monego Date: Fri, 19 Feb 2021 23:53:54 -0300 Message-Id: <20210220025354.32085-1-monego@posteo.net> X-Mailer: git-send-email 2.30.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) 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 (---) * gnu/packages/image.scm (imgp): New variable. --- gnu/packages/image.scm | 35 ++++++++++++++++++++++++++++++++++- 1 file changed, 34 insertions(+), 1 deletion(-) diff --git a/gnu/packages/image.scm b/gnu/packages/image.scm index 28169b0295..68221afff1 100644 --- a/gnu/packages/image.scm +++ b/gnu/packages/image.scm @@ -27,7 +27,7 @@ ;;; Copyright © 2020 R Veera Kumar ;;; Copyright © 2020 Maxim Cournoyer ;;; Copyright © 2020 Zhu Zihao -;;; Copyright © 2020 Vinicius Monego +;;; Copyright © 2020, 2021 Vinicius Monego ;;; Copyright © 2021 Sharlatan Hellseher ;;; ;;; This file is part of GNU Guix. @@ -1581,6 +1581,39 @@ PNG, and performs PNG integrity checks and corrections.") (home-page "http://optipng.sourceforge.net/") (license license:zlib))) +(define-public imgp + (package + (name "imgp") + (version "2.8") + (source + (origin + (method url-fetch) + (uri (pypi-uri "imgp" version)) + (sha256 + (base32 "0q99h9wv9rynig0s0flnr9mxi541zzl0gw8vh4y6m5x132diilri")))) + (build-system python-build-system) + (arguments + `(#:tests? #f ;there are no tests + #:phases + (modify-phases %standard-phases + ;; setup.py expects the file to be named 'imgp'. + (add-after 'unpack 'rename-imgp + (lambda _ + (rename-file "imgp.py" "imgp") + #t))))) + (inputs + `(("python-pillow" ,python-pillow))) + (home-page "https://github.com/jarun/imgp") + (synopsis "High-performance CLI batch image resizer & rotator") + (description + "@code{imgp} is a command line image resizer and rotator for JPEG and PNG +images. It can resize (or thumbnail) and rotate thousands of images in a go +while saving significantly on storage. + +This package may optionally be built with @code{python-pillow-simd} in place +of @{python-pillow} for SIMD parallelism.") + (license license:gpl3+))) + (define-public pngsuite (package (name "pngsuite") -- 2.30.1 From unknown Wed Sep 10 15:50:31 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Vinicius Monego Subject: bug#46652: closed (Re: [bug#46652] [PATCH 2/2] gnu: Add imgp.) Message-ID: References: <878s7iz34e.fsf@nicolasgoaziou.fr> <20210220025149.31960-1-monego@posteo.net> X-Gnu-PR-Message: they-closed 46652 X-Gnu-PR-Package: guix-patches X-Gnu-PR-Keywords: patch Reply-To: 46652@debbugs.gnu.org Date: Sun, 21 Feb 2021 00:17:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1613866622-8934-1" This is a multi-part message in MIME format... ------------=_1613866622-8934-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #46652: [PATCH 1/2] gnu: Add python-pillow-simd. which was filed against the guix-patches package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 46652@debbugs.gnu.org. --=20 46652: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D46652 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1613866622-8934-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 46652-done) by debbugs.gnu.org; 21 Feb 2021 00:17:01 +0000 Received: from localhost ([127.0.0.1]:53150 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lDcQm-0002Jq-V0 for submit@debbugs.gnu.org; Sat, 20 Feb 2021 19:17:01 -0500 Received: from relay1-d.mail.gandi.net ([217.70.183.193]:29939) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lDcQk-0002Jc-GY for 46652-done@debbugs.gnu.org; Sat, 20 Feb 2021 19:16:59 -0500 X-Originating-IP: 185.131.40.67 Received: from localhost (40-67.ipv4.commingeshautdebit.fr [185.131.40.67]) (Authenticated sender: admin@nicolasgoaziou.fr) by relay1-d.mail.gandi.net (Postfix) with ESMTPSA id 8A175240004; Sun, 21 Feb 2021 00:16:51 +0000 (UTC) From: Nicolas Goaziou To: Vinicius Monego Subject: Re: [bug#46652] [PATCH 2/2] gnu: Add imgp. References: <20210220025149.31960-1-monego@posteo.net> <20210220025354.32085-1-monego@posteo.net> Date: Sun, 21 Feb 2021 01:16:49 +0100 In-Reply-To: <20210220025354.32085-1-monego@posteo.net> (Vinicius Monego's message of "Fri, 19 Feb 2021 23:53:54 -0300") Message-ID: <878s7iz34e.fsf@nicolasgoaziou.fr> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 46652-done Cc: 46652-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: -1.7 (-) Hello, Vinicius Monego writes: > * gnu/packages/image.scm (imgp): New variable. Applied both patches. Thank you. Regards, -- Nicolas Goaziou ------------=_1613866622-8934-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 20 Feb 2021 02:52:45 +0000 Received: from localhost ([127.0.0.1]:50722 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lDINs-00069r-Uf for submit@debbugs.gnu.org; Fri, 19 Feb 2021 21:52:45 -0500 Received: from lists.gnu.org ([209.51.188.17]:43272) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lDINo-00069g-TY for submit@debbugs.gnu.org; Fri, 19 Feb 2021 21:52:39 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:36826) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lDINo-0007Om-Bo for guix-patches@gnu.org; Fri, 19 Feb 2021 21:52:36 -0500 Received: from mout01.posteo.de ([185.67.36.65]:59594) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lDINm-0001cc-19 for guix-patches@gnu.org; Fri, 19 Feb 2021 21:52:36 -0500 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id EB0FE16005C for ; Sat, 20 Feb 2021 03:52:28 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1613789549; bh=pDZ6iuLkxpm50wpWem6SIOnsYz0qs4IYhMaKwhWb5dA=; h=From:To:Cc:Subject:Date:From; b=hA9bO1sAqHOlS/SX0JUAwkpRsok+ycPNhNOGdVm5jBpuJfI4uH8AGkM42FQyvmF8y 6aw7MyyuMCgKph/XHxUcfdgtPMphkaTGM0O6KBDpGV8r8KojcqoD1SFAOuDrcEs1Ca x34pkE964vpolVQX6aErT/Cy3AAKt6VbKIpsHvUKZIsilJJM+1Qb77DwPDeurL3JeH TjgPRcLUfaqvWAFY1QGvluI9jFj6n6HsAj+Jzk7j+812CUs087OqCAqx9c286/8Yyc Fq4wBRCg1232X7kPIFdxop+ZGIoRv2k7GvIwhVMXBVPOxd9EcB1rE143fr8EBbbhZ0 VWrVn4jtH4yxw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4DjCfM1d6mz6tm8; Sat, 20 Feb 2021 03:52:26 +0100 (CET) From: Vinicius Monego To: guix-patches@gnu.org Subject: [PATCH 1/2] gnu: Add python-pillow-simd. Date: Fri, 19 Feb 2021 23:51:49 -0300 Message-Id: <20210220025149.31960-1-monego@posteo.net> X-Mailer: git-send-email 2.30.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=185.67.36.65; envelope-from=monego@posteo.net; helo=mout01.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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_MED=-2.3, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit Cc: Vinicius Monego 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.3 (--) * gnu/packages/python-xyz.scm (python-pillow-simd): New variable. --- gnu/packages/python-xyz.scm | 35 ++++++++++++++++++++++++++++++++++- 1 file changed, 34 insertions(+), 1 deletion(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index a504bb521b..ac8fce8cf7 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -82,7 +82,7 @@ ;;; Copyright © 2020 Josh Holland ;;; Copyright © 2020 Yuval Kogman ;;; Copyright © 2020 Michael Rohleder -;;; Copyright © 2020 Vinicius Monego +;;; Copyright © 2020, 2021 Vinicius Monego ;;; Copyright © 2020 Guy Fleury Iteriteka ;;; Copyright © 2020 Hendursaga ;;; Copyright © 2020 Malte Frank Gerdes @@ -5894,6 +5894,39 @@ a general image processing tool.") ((#:tests? _ #f) #f))) (properties '((hidden? #t))))) +(define-public python-pillow-simd + (package + (inherit python-pillow) + (name "python-pillow-simd") + (version "7.1.2") + ;; The PyPI tarball does not include test files. + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/uploadcare/pillow-simd") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0w11np4cybamry3jsg70x747c79zwjzfq0xiprfp6c186rd6nzp9")))) + (arguments + (substitute-keyword-arguments + (package-arguments python-pillow) + ((#:phases phases) + `(modify-phases ,phases + (add-after 'unpack 'make-tests-writable + (lambda _ + (for-each make-file-writable (find-files "Tests")) + #t)))))) + (inputs + `(("libraqm" ,libraqm) + ("libimagequant" ,libimagequant) + ,@(package-inputs python-pillow))) + (home-page "https://github.com/uploadcare/pillow-simd") + (synopsis "Fork of the Python Imaging Library (Pillow)") + (description "This package is a fork of Pillow which adds support for SIMD +parallelism."))) + (define-public python-roifile (package (name "python-roifile") -- 2.30.1 ------------=_1613866622-8934-1--