From patchwork Mon Dec 26 21:01:33 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: kiasoc5 X-Patchwork-Id: 45594 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id E993327BBEB; Mon, 26 Dec 2022 21:02:13 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-3.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id C2E4727BBE9 for ; Mon, 26 Dec 2022 21:02:12 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p9ubj-0003VT-Jd; Mon, 26 Dec 2022 16:02:03 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p9ubi-0003VL-Ms for guix-patches@gnu.org; Mon, 26 Dec 2022 16:02:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1p9ubi-0002yQ-Bd for guix-patches@gnu.org; Mon, 26 Dec 2022 16:02:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1p9ubi-000227-3r for guix-patches@gnu.org; Mon, 26 Dec 2022 16:02:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#60345] [PATCH] gnu: perl-image-exiftool: Update to 12.50, use new package style. Resent-From: kiasoc5 Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 26 Dec 2022 21:02:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 60345 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 60345@debbugs.gnu.org Cc: kiasoc5 X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16720885067789 (code B ref -1); Mon, 26 Dec 2022 21:02:01 +0000 Received: (at submit) by debbugs.gnu.org; 26 Dec 2022 21:01:46 +0000 Received: from localhost ([127.0.0.1]:54187 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p9ubR-00021X-Gc for submit@debbugs.gnu.org; Mon, 26 Dec 2022 16:01:45 -0500 Received: from lists.gnu.org ([209.51.188.17]:56710) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p9ubQ-00021Q-4v for submit@debbugs.gnu.org; Mon, 26 Dec 2022 16:01:44 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p9ubP-0003U6-Jc for guix-patches@gnu.org; Mon, 26 Dec 2022 16:01:43 -0500 Received: from knopi.disroot.org ([178.21.23.139]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p9ubN-0002ql-EN for guix-patches@gnu.org; Mon, 26 Dec 2022 16:01:43 -0500 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 0683440913; Mon, 26 Dec 2022 22:01:39 +0100 (CET) X-Virus-Scanned: SPAM Filter at disroot.org Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id qknFPebclRLl; Mon, 26 Dec 2022 22:01:37 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1672088497; bh=02+Lz20qyZbzyHSEzWrWkzCGSOHVCqORiTlEPgargk0=; h=From:To:Cc:Subject:Date; b=Xa2PtzFQxX1H1RlDZV9ifSSMy61hoPB5Y7DKSORLlSijxJaHNS/hqGy0PlG/kQU3b bSkgjsBB3FNmsRn/xrT6JaXsTxNfadeNdtjxFXJzXDnx8eXAtmf7nC7LzIeu35FCp+ JkkgaTdApZ+XYJjyyFsI3kFlkFPBCXzwsDPbpJeNHmiYc9eWew3NNufA+mOh5/Ir8G Vij5IbxDsbYTxyT30K5cl2VJqf9NMj5Zkq02cjzqVY5PFDimgk9ftmlXimiADYgqh6 JfxEBl/funsg2QKMNEsDaTlJaIpTZJHzvWuhJmRO4wlk3tH/FBvIMiJS2NRnTd1NiC VZYPyDc+RmcLA== Date: Mon, 26 Dec 2022 16:01:33 -0500 Message-Id: <20221226210133.16139-1-kiasoc5@disroot.org> MIME-Version: 1.0 Received-SPF: pass client-ip=178.21.23.139; envelope-from=kiasoc5@disroot.org; helo=knopi.disroot.org 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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: kiasoc5 X-ACL-Warn: , kiasoc5 via Guix-patches X-Patchwork-Original-From: kiasoc5 via Guix-patches via From: kiasoc5 Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/photo.scm (perl-image-exiftool): Update to 12.50. [arguments]: Use G-expresisons. Remove trailing #t. Use #$output instead of assoc-ref. --- gnu/packages/photo.scm | 27 ++++++++++++--------------- 1 file changed, 12 insertions(+), 15 deletions(-) base-commit: 7c476873e0300711bf92668cf01abd28f7295ead diff --git a/gnu/packages/photo.scm b/gnu/packages/photo.scm index 4d85611101..2a8a8de25d 100644 --- a/gnu/packages/photo.scm +++ b/gnu/packages/photo.scm @@ -299,7 +299,7 @@ (define-public gphoto2 (define-public perl-image-exiftool (package (name "perl-image-exiftool") - (version "12.16") + (version "12.50") (source (origin (method url-fetch) @@ -309,24 +309,21 @@ (define-public perl-image-exiftool ;; New releases may take a while to hit CPAN. (string-append "https://www.sno.phy.queensu.ca/~phil/exiftool/" "Image-ExifTool-" version ".tar.gz"))) - (patches (search-patches "perl-image-exiftool-CVE-2021-22204.patch")) (sha256 (base32 - "0skm22b3gg1bfk0amklrprpva41m6mkrhqp0gi7z1nmcf9ypjh61")))) + "1a605rz00d7p866a22sw0s63m5a6y4xqqrzp7q7jyc0hbky43s5w")))) (build-system perl-build-system) (arguments - '(#:phases - (modify-phases %standard-phases - (add-after 'install 'post-install - (lambda* (#:key outputs #:allow-other-keys) - ;; Make sure the 'exiftool' commands finds the library. - ;; XXX: Shouldn't it be handled by PERL-BUILD-SYSTEM? - (let* ((out (assoc-ref outputs "out")) - (pm (find-files out "^ExifTool\\.pm$")) - (lib (dirname (dirname (car pm))))) - (wrap-program (string-append out "/bin/exiftool") - `("PERL5LIB" prefix (,lib))) - #t)))))) + (list #:phases + #~(modify-phases %standard-phases + (add-after 'install 'post-install + (lambda* (#:key outputs #:allow-other-keys) + ;; Make sure the 'exiftool' commands finds the library. + ;; XXX: Shouldn't it be handled by PERL-BUILD-SYSTEM? + (let* ((pm (find-files #$output "^ExifTool\\.pm$")) + (lib (dirname (dirname (car pm))))) + (wrap-program (string-append #$output "/bin/exiftool") + `("PERL5LIB" prefix (,lib))))))))) (home-page "https://metacpan.org/release/Image-ExifTool") (synopsis "Program and Perl library to manipulate EXIF and other metadata") (description "This package provides the @code{exiftool} command and the