From unknown Sat Aug 16 16:14:32 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#73630] [PATCH] gnu: guile-cv: Update to 0.4.0. Resent-From: =?UTF-8?Q?S=C3=A9bastien?= Lerique Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 04 Oct 2024 20:24:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 73630 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 73630@debbugs.gnu.org Cc: =?UTF-8?Q?S=C3=A9bastien?= Lerique X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.172807341111710 (code B ref -1); Fri, 04 Oct 2024 20:24:01 +0000 Received: (at submit) by debbugs.gnu.org; 4 Oct 2024 20:23:31 +0000 Received: from localhost ([127.0.0.1]:36662 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1swopm-00032o-Ta for submit@debbugs.gnu.org; Fri, 04 Oct 2024 16:23:31 -0400 Received: from lists.gnu.org ([209.51.188.17]:41796) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1swopk-00032e-U9 for submit@debbugs.gnu.org; Fri, 04 Oct 2024 16:23:29 -0400 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 1swopg-00077H-Fa for guix-patches@gnu.org; Fri, 04 Oct 2024 16:23:24 -0400 Received: from elegua.eauchat.org ([91.224.149.118] helo=eauchat.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1swope-0007Vz-C7 for guix-patches@gnu.org; Fri, 04 Oct 2024 16:23:24 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=eauchat.org; s=mail; t=1728073396; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=I4mXD8WCM3LPvTA30tgdOFHky7jP6ox00r3Avrr7LyI=; b=B4wZJ35wS/5NvpxMgwbvWI84EMcJ//EOGBp7RbjLfC5dM3uDS9TYVDkv8OAXg0f0mXE6u/ zqm0UCmL8Ymbpxe3glmns1JiAc7f5FiyjpQxN/alkbf99KLROpAwXkZaTOpkgel9n+oLiP 3jJ1SJn7YpOhrk5pYPm6X/RSKhZxTu8= From: =?UTF-8?Q?S=C3=A9bastien?= Lerique Date: Fri, 4 Oct 2024 22:21:54 +0200 Message-ID: <180a812616edec5a2a447948a90c09fe1a1c0876.1728073314.git.sl@eauchat.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=91.224.149.118; envelope-from=sl@eauchat.org; helo=eauchat.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, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) 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.4 (--) * gnu/packages/guile-xyz.scm (guile-cv): Update to 0.4.0. [arguments]: Set GUILE_AUTO_COMPILE to prevent warnings, fix and separate phase modifications into different tasks. [inputs]: Update guile-2.0 to guile-3.0. [native-inputs]: Update syntax and add autoconf, automake, texinfo, libtool, gettext-minimal. [propagated-inputs]: Update syntax. Change-Id: I0a4141740de7cdadbe103c62831f11474cb4ddb2 --- gnu/packages/guile-xyz.scm | 42 +++++++++++++++++++++++--------------- 1 file changed, 25 insertions(+), 17 deletions(-) diff --git a/gnu/packages/guile-xyz.scm b/gnu/packages/guile-xyz.scm index 27a30e6622..6d440512f6 100644 --- a/gnu/packages/guile-xyz.scm +++ b/gnu/packages/guile-xyz.scm @@ -4494,25 +4494,28 @@ (define-public nomad (define-public guile-cv (package (name "guile-cv") - (version "0.2.1") + (version "0.4.0") (source (origin (method url-fetch) (uri (string-append "mirror://gnu/guile-cv/guile-cv-" version ".tar.gz")) (sha256 (base32 - "0qdf0s2h1xj5lbhnc1pfw69i3zg08pqy2y6869b92ydfis8r82j9")))) + "00620zxm1rxlws7vn1zp2zzcb6y6r3szzj6b4b9fyjb86k972izb")))) (build-system gnu-build-system) (arguments - `(#:phases + `(#:make-flags '("GUILE_AUTO_COMPILE=0") ; to prevent guild warnings + #:phases (modify-phases %standard-phases - (add-after 'unpack 'prepare-build - (lambda* (#:key inputs outputs #:allow-other-keys) - (substitute* "configure" + (add-after 'unpack 'fix-guile-site-directory + (lambda _ + (substitute* "configure.ac" (("SITEDIR=\"\\$datadir/guile-cv\"") "SITEDIR=\"$datadir/guile/site/$GUILE_EFFECTIVE_VERSION\"") (("SITECCACHEDIR=\"\\$libdir/guile-cv/") - "SITECCACHEDIR=\"$libdir/")) + "SITECCACHEDIR=\"$libdir/")))) + (add-after 'unpack 'substitute-libs + (lambda* (#:key inputs outputs #:allow-other-keys) (substitute* "cv/init.scm" (("\\(dynamic-link \"libvigra_c\"\\)") (string-append "(dynamic-link \"" @@ -4532,18 +4535,23 @@ (define-public guile-cv (string-append (assoc-ref inputs "vigra-c") "/lib")) #t))))) (inputs - (list vigra vigra-c guile-2.2)) + (list vigra vigra-c guile-3.0)) (native-inputs - `(("texlive" ,(texlive-updmap.cfg - (list texlive-booktabs - texlive-iwona - texlive-lm - texlive-siunitx - texlive-standalone - texlive-xcolor))) - ("pkg-config" ,pkg-config))) + (list (texlive-updmap.cfg + (list texlive-booktabs + texlive-iwona + texlive-lm + texlive-siunitx + texlive-standalone + texlive-xcolor)) + pkg-config + autoconf + automake + texinfo + libtool + gettext-minimal)) (propagated-inputs - `(("guile-lib" ,guile2.2-lib))) + (list guile-lib)) (home-page "https://www.gnu.org/software/guile-cv/") (synopsis "Computer vision library for Guile") (description "Guile-CV is a Computer Vision functional programming library base-commit: 2f0644a8c024f589b9237e1d0fb1ce1025fa522f -- 2.46.0 From unknown Sat Aug 16 16:14:32 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: =?UTF-8?Q?S=C3=A9bastien?= Lerique Subject: bug#73630: closed (Re: [bug#73630] [PATCH] gnu: guile-cv: Update to 0.4.0.) Message-ID: References: <8734kz77es.fsf@iscas.ac.cn> <180a812616edec5a2a447948a90c09fe1a1c0876.1728073314.git.sl@eauchat.org> X-Gnu-PR-Message: they-closed 73630 X-Gnu-PR-Package: guix-patches X-Gnu-PR-Keywords: patch Reply-To: 73630@debbugs.gnu.org Date: Mon, 14 Oct 2024 02:21:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1728872462-31411-1" This is a multi-part message in MIME format... ------------=_1728872462-31411-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #73630: [PATCH] gnu: guile-cv: Update to 0.4.0. 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 73630@debbugs.gnu.org. --=20 73630: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D73630 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1728872462-31411-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 73630-done) by debbugs.gnu.org; 14 Oct 2024 02:20:26 +0000 Received: from localhost ([127.0.0.1]:33722 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t0Ah8-00083n-1t for submit@debbugs.gnu.org; Sun, 13 Oct 2024 22:20:26 -0400 Received: from smtp84.cstnet.cn ([159.226.251.84]:41970 helo=cstnet.cn) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t0Ah3-00083Q-NE for 73630-done@debbugs.gnu.org; Sun, 13 Oct 2024 22:20:24 -0400 Received: from m (unknown [107.174.64.25]) by APP-05 (Coremail) with SMTP id zQCowADHF2zCfwxn+fpABw--.46502S2; Mon, 14 Oct 2024 10:19:51 +0800 (CST) From: Zheng Junjie To: =?utf-8?Q?S=C3=A9bastien?= Lerique Subject: Re: [bug#73630] [PATCH] gnu: guile-cv: Update to 0.4.0. In-Reply-To: <180a812616edec5a2a447948a90c09fe1a1c0876.1728073314.git.sl@eauchat.org> (=?utf-8?Q?=22S=C3=A9bastien?= Lerique"'s message of "Fri, 4 Oct 2024 22:21:54 +0200") References: <180a812616edec5a2a447948a90c09fe1a1c0876.1728073314.git.sl@eauchat.org> Date: Mon, 14 Oct 2024 10:19:39 +0800 Message-ID: <8734kz77es.fsf@iscas.ac.cn> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-CM-TRANSID: zQCowADHF2zCfwxn+fpABw--.46502S2 X-Coremail-Antispam: 1UD129KBjvJXoWxuF47ZrykXw4DAw18JrW7XFb_yoW5ZF1DpF ySyrW0vry8J34Fqw43uF12gwnxJFn7Jr98C3s2gF1xtw4DtF1v9r129FZ5uFs7Wr1xu3WU Ww4kXay8CFZ3ua7anT9S1TB71UUUUU7qnTZGkaVYY2UrUUUUjbIjqfuFe4nvWSU5nxnvy2 9KBjDU0xBIdaVrnRJUUUvGb7Iv0xC_Kw4lb4IE77IF4wAFF20E14v26r1j6r4UM7CY07I2 0VC2zVCF04k26cxKx2IYs7xG6rWj6s0DM7CIcVAFz4kK6r1j6r18M28lY4IEw2IIxxk0rw A2F7IY1VAKz4vEj48ve4kI8wA2z4x0Y4vE2Ix0cI8IcVAFwI0_Gr0_Xr1l84ACjcxK6xII jxv20xvEc7CjxVAFwI0_Gr0_Cr1l84ACjcxK6I8E87Iv67AKxVW8Jr0_Cr1UM28EF7xvwV C2z280aVCY1x0267AKxVWxJr0_GcWlnx0Ee4C267I2x7xF54xIwI0E7I0Y6sxI4wAS0I0E 0xvYzxvE52x082IY62kv0487M2AExVA0xI801c8C04v7Mc02F40EFcxC0VAKzVAqx4xG6I 80ewAv7VC0I7IYx2IY67AKxVWUJVWUGwAv7VC2z280aVAFwI0_Jr0_Gr1lOx8S6xCaFVCj c4AY6r1j6r4UM4x0Y48IcVAKI48JMxAIw28IcxkI7VAKI48JMxC20s026xCaFVCjc4AY6r 1j6r4UMI8I3I0E5I8CrVAFwI0_Jr0_Jr4lx2IqxVCjr7xvwVAFwI0_JrI_JrWlx4CE17CE b7AF67AKxVWUXVWUAwCIc40Y0x0EwIxGrwCI42IY6xIIjxv20xvE14v26r1j6r1xMIIF0x vE2Ix0cI8IcVCY1x0267AKxVWUJVW8JwCI42IY6xAIw20EY4v20xvaj40_Jr0_JF4lIxAI cVC2z280aVAFwI0_Jr0_Gr1lIxAIcVC2z280aVCY1x0267AKxVWUJVW8JbIYCTnIWIevJa 73UjIFyTuYvjxU6cdbDUUUU X-Originating-IP: [107.174.64.25] X-CM-SenderInfo: x2kh0wxmxqyx3h6l2u1dvotugofq/ X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 73630-done Cc: 73630-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.0 (-) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable S=C3=A9bastien Lerique writes: > * gnu/packages/guile-xyz.scm (guile-cv): Update to 0.4.0. > [arguments]: Set GUILE_AUTO_COMPILE to prevent warnings, fix and > separate phase modifications into different tasks. > [inputs]: Update guile-2.0 to guile-3.0. > [native-inputs]: Update syntax and add autoconf, automake, texinfo, > libtool, gettext-minimal. > [propagated-inputs]: Update syntax. > > Change-Id: I0a4141740de7cdadbe103c62831f11474cb4ddb2 > --- > gnu/packages/guile-xyz.scm | 42 +++++++++++++++++++++++--------------- > 1 file changed, 25 insertions(+), 17 deletions(-) > > diff --git a/gnu/packages/guile-xyz.scm b/gnu/packages/guile-xyz.scm > index 27a30e6622..6d440512f6 100644 > --- a/gnu/packages/guile-xyz.scm > +++ b/gnu/packages/guile-xyz.scm > @@ -4494,25 +4494,28 @@ (define-public nomad > (define-public guile-cv > (package > (name "guile-cv") > - (version "0.2.1") > + (version "0.4.0") > (source (origin > (method url-fetch) > (uri (string-append "mirror://gnu/guile-cv/guile-cv-" > version ".tar.gz")) > (sha256 > (base32 > - "0qdf0s2h1xj5lbhnc1pfw69i3zg08pqy2y6869b92ydfis8r82j9"))= )) > + "00620zxm1rxlws7vn1zp2zzcb6y6r3szzj6b4b9fyjb86k972izb"))= )) > (build-system gnu-build-system) > (arguments > - `(#:phases > + `(#:make-flags '("GUILE_AUTO_COMPILE=3D0") ; to prevent guild warni= ngs > + #:phases > (modify-phases %standard-phases > - (add-after 'unpack 'prepare-build > - (lambda* (#:key inputs outputs #:allow-other-keys) > - (substitute* "configure" > + (add-after 'unpack 'fix-guile-site-directory > + (lambda _ > + (substitute* "configure.ac" > (("SITEDIR=3D\"\\$datadir/guile-cv\"") > "SITEDIR=3D\"$datadir/guile/site/$GUILE_EFFECTIVE_VERSIO= N\"") > (("SITECCACHEDIR=3D\"\\$libdir/guile-cv/") > - "SITECCACHEDIR=3D\"$libdir/")) > + "SITECCACHEDIR=3D\"$libdir/")))) > + (add-after 'unpack 'substitute-libs > + (lambda* (#:key inputs outputs #:allow-other-keys) > (substitute* "cv/init.scm" > (("\\(dynamic-link \"libvigra_c\"\\)") > (string-append "(dynamic-link \"" > @@ -4532,18 +4535,23 @@ (define-public guile-cv > (string-append (assoc-ref inputs "vigra-c") "/lib")) > #t))))) > (inputs > - (list vigra vigra-c guile-2.2)) > + (list vigra vigra-c guile-3.0)) > (native-inputs > - `(("texlive" ,(texlive-updmap.cfg > - (list texlive-booktabs > - texlive-iwona > - texlive-lm > - texlive-siunitx > - texlive-standalone > - texlive-xcolor))) > - ("pkg-config" ,pkg-config))) > + (list (texlive-updmap.cfg > + (list texlive-booktabs > + texlive-iwona > + texlive-lm > + texlive-siunitx > + texlive-standalone > + texlive-xcolor)) > + pkg-config > + autoconf > + automake > + texinfo > + libtool > + gettext-minimal)) > (propagated-inputs > - `(("guile-lib" ,guile2.2-lib))) > + (list guile-lib)) > (home-page "https://www.gnu.org/software/guile-cv/") > (synopsis "Computer vision library for Guile") > (description "Guile-CV is a Computer Vision functional programming l= ibrary > > base-commit: 2f0644a8c024f589b9237e1d0fb1ce1025fa522f push, and use gexp, Remove trailing #t. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEfr6klGDOXiwIdX/bO1qpk+Gi3/AFAmcMf7sACgkQO1qpk+Gi 3/A7CxAAh1k9+LTRzKgeEv8+0NKrV+cK39BrhVYq7AKeBurRV1tGgxKy4o3I1cYB GBHjjulGpgVF8CRD7MjsfDpeoeT4ty6gf6k1yFPKgw0nbZ9AZUH/gpFc7coSNjhi 2G0txUyHQb7SztzdkrkhmOp9ECERJ5sWeKHlfCLrOf0HfiS+/y2EoRvGQ6ys69n6 43g9yLZh1ZifbaXv6DS3oHcwDLimx3A5RrkG39ULPTjIiiTvOwEpSsOnyImUSQBN OHsffqckKCihajPfwruJ5DvtWFLqJYJPXoNCvXQbkzDusSIqIgauPCJmmhQjKLgK nU8ITJPqZzhubC+kj5dcWVtufogVxrr8oe/fBVwzoOgfcZQYYTWKwiJEKuxqM4Pg OHsATOtmp19JikEqNhy1iFOqd8t7Cvgg0K6Wck0kCbMbR4S3+nKaqGN/NB8K1kYq 2RQ4/FCq+qit8gdeKLqsmQw5wdOWapzb1zeWVxPQJKGKU4CuS9EnrBdipVwKv88A oCNkQFaIKE7bakfti4EFzbDeTNzVULhjkqBeXiqpGLFDC3UhJXjMydRjs4YfsX2g yxC490iX1Gnat548oGFWJXix1ONR+x+AgRn7+MvH1+UcwZTN+0v1J4RR9Jnwr6LU /tIdRJIiYRLOjCB538dtMp+vE8HZ0LYI85u/Q9e/p5fRXvndnfk= =nUSR -----END PGP SIGNATURE----- --=-=-=-- ------------=_1728872462-31411-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 4 Oct 2024 20:23:31 +0000 Received: from localhost ([127.0.0.1]:36662 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1swopm-00032o-Ta for submit@debbugs.gnu.org; Fri, 04 Oct 2024 16:23:31 -0400 Received: from lists.gnu.org ([209.51.188.17]:41796) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1swopk-00032e-U9 for submit@debbugs.gnu.org; Fri, 04 Oct 2024 16:23:29 -0400 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 1swopg-00077H-Fa for guix-patches@gnu.org; Fri, 04 Oct 2024 16:23:24 -0400 Received: from elegua.eauchat.org ([91.224.149.118] helo=eauchat.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1swope-0007Vz-C7 for guix-patches@gnu.org; Fri, 04 Oct 2024 16:23:24 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=eauchat.org; s=mail; t=1728073396; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=I4mXD8WCM3LPvTA30tgdOFHky7jP6ox00r3Avrr7LyI=; b=B4wZJ35wS/5NvpxMgwbvWI84EMcJ//EOGBp7RbjLfC5dM3uDS9TYVDkv8OAXg0f0mXE6u/ zqm0UCmL8Ymbpxe3glmns1JiAc7f5FiyjpQxN/alkbf99KLROpAwXkZaTOpkgel9n+oLiP 3jJ1SJn7YpOhrk5pYPm6X/RSKhZxTu8= From: =?UTF-8?q?S=C3=A9bastien=20Lerique?= To: guix-patches@gnu.org Subject: [PATCH] gnu: guile-cv: Update to 0.4.0. Date: Fri, 4 Oct 2024 22:21:54 +0200 Message-ID: <180a812616edec5a2a447948a90c09fe1a1c0876.1728073314.git.sl@eauchat.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=91.224.149.118; envelope-from=sl@eauchat.org; helo=eauchat.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, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: submit Cc: =?UTF-8?q?S=C3=A9bastien=20Lerique?= 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.4 (--) * gnu/packages/guile-xyz.scm (guile-cv): Update to 0.4.0. [arguments]: Set GUILE_AUTO_COMPILE to prevent warnings, fix and separate phase modifications into different tasks. [inputs]: Update guile-2.0 to guile-3.0. [native-inputs]: Update syntax and add autoconf, automake, texinfo, libtool, gettext-minimal. [propagated-inputs]: Update syntax. Change-Id: I0a4141740de7cdadbe103c62831f11474cb4ddb2 --- gnu/packages/guile-xyz.scm | 42 +++++++++++++++++++++++--------------- 1 file changed, 25 insertions(+), 17 deletions(-) diff --git a/gnu/packages/guile-xyz.scm b/gnu/packages/guile-xyz.scm index 27a30e6622..6d440512f6 100644 --- a/gnu/packages/guile-xyz.scm +++ b/gnu/packages/guile-xyz.scm @@ -4494,25 +4494,28 @@ (define-public nomad (define-public guile-cv (package (name "guile-cv") - (version "0.2.1") + (version "0.4.0") (source (origin (method url-fetch) (uri (string-append "mirror://gnu/guile-cv/guile-cv-" version ".tar.gz")) (sha256 (base32 - "0qdf0s2h1xj5lbhnc1pfw69i3zg08pqy2y6869b92ydfis8r82j9")))) + "00620zxm1rxlws7vn1zp2zzcb6y6r3szzj6b4b9fyjb86k972izb")))) (build-system gnu-build-system) (arguments - `(#:phases + `(#:make-flags '("GUILE_AUTO_COMPILE=0") ; to prevent guild warnings + #:phases (modify-phases %standard-phases - (add-after 'unpack 'prepare-build - (lambda* (#:key inputs outputs #:allow-other-keys) - (substitute* "configure" + (add-after 'unpack 'fix-guile-site-directory + (lambda _ + (substitute* "configure.ac" (("SITEDIR=\"\\$datadir/guile-cv\"") "SITEDIR=\"$datadir/guile/site/$GUILE_EFFECTIVE_VERSION\"") (("SITECCACHEDIR=\"\\$libdir/guile-cv/") - "SITECCACHEDIR=\"$libdir/")) + "SITECCACHEDIR=\"$libdir/")))) + (add-after 'unpack 'substitute-libs + (lambda* (#:key inputs outputs #:allow-other-keys) (substitute* "cv/init.scm" (("\\(dynamic-link \"libvigra_c\"\\)") (string-append "(dynamic-link \"" @@ -4532,18 +4535,23 @@ (define-public guile-cv (string-append (assoc-ref inputs "vigra-c") "/lib")) #t))))) (inputs - (list vigra vigra-c guile-2.2)) + (list vigra vigra-c guile-3.0)) (native-inputs - `(("texlive" ,(texlive-updmap.cfg - (list texlive-booktabs - texlive-iwona - texlive-lm - texlive-siunitx - texlive-standalone - texlive-xcolor))) - ("pkg-config" ,pkg-config))) + (list (texlive-updmap.cfg + (list texlive-booktabs + texlive-iwona + texlive-lm + texlive-siunitx + texlive-standalone + texlive-xcolor)) + pkg-config + autoconf + automake + texinfo + libtool + gettext-minimal)) (propagated-inputs - `(("guile-lib" ,guile2.2-lib))) + (list guile-lib)) (home-page "https://www.gnu.org/software/guile-cv/") (synopsis "Computer vision library for Guile") (description "Guile-CV is a Computer Vision functional programming library base-commit: 2f0644a8c024f589b9237e1d0fb1ce1025fa522f -- 2.46.0 ------------=_1728872462-31411-1--