GNU bug report logs - #73630
[PATCH] gnu: guile-cv: Update to 0.4.0.

Previous Next

Package: guix-patches;

Reported by: Sébastien Lerique <sl <at> eauchat.org>

Date: Fri, 4 Oct 2024 20:24:01 UTC

Severity: normal

Tags: patch

Done: Zheng Junjie <zhengjunjie <at> iscas.ac.cn>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 73630 in the body.
You can then email your comments to 73630 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#73630; Package guix-patches. (Fri, 04 Oct 2024 20:24:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Sébastien Lerique <sl <at> eauchat.org>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Fri, 04 Oct 2024 20:24:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Sébastien Lerique <sl <at> eauchat.org>
To: guix-patches <at> gnu.org
Cc: Sébastien Lerique <sl <at> eauchat.org>
Subject: [PATCH] gnu: guile-cv: Update to 0.4.0.
Date: Fri,  4 Oct 2024 22:21:54 +0200
* 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





Reply sent to Zheng Junjie <zhengjunjie <at> iscas.ac.cn>:
You have taken responsibility. (Mon, 14 Oct 2024 02:21:02 GMT) Full text and rfc822 format available.

Notification sent to Sébastien Lerique <sl <at> eauchat.org>:
bug acknowledged by developer. (Mon, 14 Oct 2024 02:21:02 GMT) Full text and rfc822 format available.

Message #10 received at 73630-done <at> debbugs.gnu.org (full text, mbox):

From: Zheng Junjie <zhengjunjie <at> iscas.ac.cn>
To: Sébastien Lerique <sl <at> eauchat.org>
Cc: 73630-done <at> debbugs.gnu.org
Subject: Re: [bug#73630] [PATCH] gnu: guile-cv: Update to 0.4.0.
Date: Mon, 14 Oct 2024 10:19:39 +0800
[Message part 1 (text/plain, inline)]
Sébastien Lerique <sl <at> eauchat.org> 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=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

push, and use gexp, Remove trailing #t.
[signature.asc (application/pgp-signature, inline)]

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 11 Nov 2024 12:24:09 GMT) Full text and rfc822 format available.

This bug report was last modified 277 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.