* [bug#65320] [PATCH] gnu: guile-dsv: Update 0.7.0.
@ 2023-08-15 20:43 Artyom V. Poptsov
2023-08-20 21:16 ` Ludovic Courtès
0 siblings, 1 reply; 5+ messages in thread
From: Artyom V. Poptsov @ 2023-08-15 20:43 UTC (permalink / raw)
To: 65320
[-- Attachment #1.1: Type: text/plain, Size: 66 bytes --]
Hello Guixers,
this patch updates Guile-DSV[1] to version 0.7.0.
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1.2: 0001-gnu-guile-dsv-Update-to-0.7.0.patch --]
[-- Type: text/x-diff, Size: 4770 bytes --]
From ed393cba6608f23095717900b0016b814b1f7526 Mon Sep 17 00:00:00 2001
Message-Id: <ed393cba6608f23095717900b0016b814b1f7526.1692132150.git.poptsov.artyom@gmail.com>
From: "Artyom V. Poptsov" <poptsov.artyom@gmail.com>
Date: Tue, 15 Aug 2023 23:39:25 +0300
Subject: [PATCH] gnu: guile-dsv: Update to 0.7.0.
* gnu/packages/guile-xyz.scm (guile-dsv): Update to 0.7.0. Improve the
package style.
[inputs]: Add "bash-minimal".
[native-inputs]: Add "guile-smc".
[description}: Update.
(guile2.2-dsv) [inputs]: Add "bash-minimal".
---
gnu/packages/guile-xyz.scm | 44 ++++++++++++++++++++++----------------
1 file changed, 25 insertions(+), 19 deletions(-)
diff --git a/gnu/packages/guile-xyz.scm b/gnu/packages/guile-xyz.scm
index f5e985d107..b7848e6ead 100644
--- a/gnu/packages/guile-xyz.scm
+++ b/gnu/packages/guile-xyz.scm
@@ -728,7 +728,7 @@ (define-public guile-daemon
(define-public guile-dsv
(package
(name "guile-dsv")
- (version "0.6.0")
+ (version "0.7.0")
(source (origin
(method git-fetch)
(uri (git-reference
@@ -737,12 +737,17 @@ (define-public guile-dsv
(file-name (string-append name "-" version "-checkout"))
(sha256
(base32
- "0llivcgb7idglsapcmvb2qscds7768f2xfgr4lns8mzl2xf5hwvv"))))
+ "0shrzmbh6x3n3xzpcijkxk3f73z6m1i50zgc2dnnccwf4j1c78p2"))))
(build-system gnu-build-system)
- (native-inputs
- (list autoconf automake pkg-config texinfo help2man))
- (inputs (list guile-3.0))
- (propagated-inputs (list guile-lib))
+ (native-inputs (list autoconf
+ automake
+ pkg-config
+ texinfo
+ help2man
+ ;; needed when cross-compiling.
+ guile-smc))
+ (inputs (list bash-minimal guile-3.0))
+ (propagated-inputs (list guile-lib guile-smc))
(arguments
`(#:modules (((guix build guile-build-system)
#:select (target-guile-effective-version))
@@ -756,31 +761,32 @@ (define-public guile-dsv
(bin (string-append out "/bin"))
(guile-lib (assoc-ref inputs "guile-lib"))
(version (target-guile-effective-version))
- (scm (string-append "/share/guile/site/"
- version))
- (go (string-append "/lib/guile/"
- version "/site-ccache")))
+ (scm (string-append "/share/guile/site/" version))
+ (go (string-append "/lib/guile/" version
+ "/site-ccache")))
(wrap-program (string-append bin "/dsv")
`("GUILE_LOAD_PATH" prefix
- (,(string-append out scm)
- ,(string-append guile-lib scm)))
+ (,(string-append out scm) ,(string-append
+ guile-lib scm)))
`("GUILE_LOAD_COMPILED_PATH" prefix
- (,(string-append out go)
- ,(string-append guile-lib go)))))
- #t)))))
+ (,(string-append out go) ,(string-append guile-lib
+ go))))) #t)))))
(home-page "https://github.com/artyom-poptsov/guile-dsv")
(synopsis "DSV module for Guile")
(description
- "Guile-DSV is a GNU Guile module for working with the
-delimiter-separated values (DSV) data format. Guile-DSV supports the
-Unix-style DSV format and RFC 4180 format.")
+ "Guile-DSV is a GNU Guile module for working with the delimiter-separated
+values (DSV) data format. Guile-DSV supports the Unix-style DSV format and RFC 4180
+style format. Also Guile-DSV includes a console program named @code{dsv} that allows
+to view and process DSV data, including such operations as delimiter change,
+conversion from one DSV standard to another and printing the data as pseudographics
+tables.")
(license license:gpl3+)))
(define-public guile2.2-dsv
(package
(inherit guile-dsv)
(name "guile2.2-dsv")
- (inputs (list guile-2.2))
+ (inputs (list bash-minimal guile-2.2))
(propagated-inputs `(("guile-lib" ,guile2.2-lib)))))
(define-public guile-fibers-1.3
base-commit: 6eb0070f088cfdc4edb98fcfbea4b7aa68a2e30a
--
2.34.1
[-- Attachment #1.3: Type: text/plain, Size: 282 bytes --]
- Artyom
References:
1. https://github.com/artyom-poptsov/guile-dsv
--
Artyom "avp" Poptsov <poptsov.artyom@gmail.com>
Home page: https://memory-heap.org/~avp/
CADR Hackerspace co-founder: https://cadrspace.ru/
GPG: D0C2 EAC1 3310 822D 98DE B57C E9C5 A2D9 0898 A02F
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 519 bytes --]
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [bug#65320] [PATCH] gnu: guile-dsv: Update 0.7.0.
2023-08-15 20:43 [bug#65320] [PATCH] gnu: guile-dsv: Update 0.7.0 Artyom V. Poptsov
@ 2023-08-20 21:16 ` Ludovic Courtès
2023-08-23 18:35 ` Artyom V. Poptsov
0 siblings, 1 reply; 5+ messages in thread
From: Ludovic Courtès @ 2023-08-20 21:16 UTC (permalink / raw)
To: Artyom V. Poptsov; +Cc: 65320
Hi Artyom,
"Artyom V. Poptsov" <poptsov.artyom@gmail.com> skribis:
> From ed393cba6608f23095717900b0016b814b1f7526 Mon Sep 17 00:00:00 2001
> Message-Id: <ed393cba6608f23095717900b0016b814b1f7526.1692132150.git.poptsov.artyom@gmail.com>
> From: "Artyom V. Poptsov" <poptsov.artyom@gmail.com>
> Date: Tue, 15 Aug 2023 23:39:25 +0300
> Subject: [PATCH] gnu: guile-dsv: Update to 0.7.0.
>
> * gnu/packages/guile-xyz.scm (guile-dsv): Update to 0.7.0. Improve the
> package style.
> [inputs]: Add "bash-minimal".
> [native-inputs]: Add "guile-smc".
> [description}: Update.
> (guile2.2-dsv) [inputs]: Add "bash-minimal".
‘guile2.2-dsv’ fails to build:
--8<---------------cut here---------------start------------->8---
checking for Guile site directory... /gnu/store/8pwqca3v76ir3ph3dipj3vwy85xzhag6-guile-2.2.7/share/guile/site/2.2
checking if (string transform) is available... yes
checking if (smc fsm) is available... no
configure: error: required guile module not found: (smc fsm)
--8<---------------cut here---------------end--------------->8---
We could either fix it or remove it altogether if there’s no use for it.
WDYT?
Thanks,
Ludo’.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [bug#65320] [PATCH] gnu: guile-dsv: Update 0.7.0.
2023-08-20 21:16 ` Ludovic Courtès
@ 2023-08-23 18:35 ` Artyom V. Poptsov
2023-08-30 14:56 ` Artyom V. Poptsov
2023-09-08 16:44 ` bug#65320: " Ludovic Courtès
0 siblings, 2 replies; 5+ messages in thread
From: Artyom V. Poptsov @ 2023-08-23 18:35 UTC (permalink / raw)
To: Ludovic Courtès; +Cc: 65320
[-- Attachment #1.1: Type: text/plain, Size: 71 bytes --]
Hello Ludovic,
I've fixed the build, here's the updated patch series.
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1.2: 0001-gnu-guile-dsv-Update-to-0.7.0.patch --]
[-- Type: text/x-diff, Size: 4774 bytes --]
From d3b75667d3b32e85cc76d0a7cffa3ba614eeaea7 Mon Sep 17 00:00:00 2001
Message-Id: <d3b75667d3b32e85cc76d0a7cffa3ba614eeaea7.1692815567.git.poptsov.artyom@gmail.com>
From: "Artyom V. Poptsov" <poptsov.artyom@gmail.com>
Date: Tue, 15 Aug 2023 23:39:25 +0300
Subject: [PATCH 1/4] gnu: guile-dsv: Update to 0.7.0.
* gnu/packages/guile-xyz.scm (guile-dsv): Update to 0.7.0. Improve the
package style.
[inputs]: Add "bash-minimal".
[native-inputs]: Add "guile-smc".
[description}: Update.
(guile2.2-dsv) [inputs]: Add "bash-minimal".
---
gnu/packages/guile-xyz.scm | 44 ++++++++++++++++++++++----------------
1 file changed, 25 insertions(+), 19 deletions(-)
diff --git a/gnu/packages/guile-xyz.scm b/gnu/packages/guile-xyz.scm
index 4e7c80ac8d..e031c85243 100644
--- a/gnu/packages/guile-xyz.scm
+++ b/gnu/packages/guile-xyz.scm
@@ -728,7 +728,7 @@ (define-public guile-daemon
(define-public guile-dsv
(package
(name "guile-dsv")
- (version "0.6.0")
+ (version "0.7.0")
(source (origin
(method git-fetch)
(uri (git-reference
@@ -737,12 +737,17 @@ (define-public guile-dsv
(file-name (string-append name "-" version "-checkout"))
(sha256
(base32
- "0llivcgb7idglsapcmvb2qscds7768f2xfgr4lns8mzl2xf5hwvv"))))
+ "0shrzmbh6x3n3xzpcijkxk3f73z6m1i50zgc2dnnccwf4j1c78p2"))))
(build-system gnu-build-system)
- (native-inputs
- (list autoconf automake pkg-config texinfo help2man))
- (inputs (list guile-3.0))
- (propagated-inputs (list guile-lib))
+ (native-inputs (list autoconf
+ automake
+ pkg-config
+ texinfo
+ help2man
+ ;; needed when cross-compiling.
+ guile-smc))
+ (inputs (list bash-minimal guile-3.0))
+ (propagated-inputs (list guile-lib guile-smc))
(arguments
`(#:modules (((guix build guile-build-system)
#:select (target-guile-effective-version))
@@ -756,31 +761,32 @@ (define-public guile-dsv
(bin (string-append out "/bin"))
(guile-lib (assoc-ref inputs "guile-lib"))
(version (target-guile-effective-version))
- (scm (string-append "/share/guile/site/"
- version))
- (go (string-append "/lib/guile/"
- version "/site-ccache")))
+ (scm (string-append "/share/guile/site/" version))
+ (go (string-append "/lib/guile/" version
+ "/site-ccache")))
(wrap-program (string-append bin "/dsv")
`("GUILE_LOAD_PATH" prefix
- (,(string-append out scm)
- ,(string-append guile-lib scm)))
+ (,(string-append out scm) ,(string-append
+ guile-lib scm)))
`("GUILE_LOAD_COMPILED_PATH" prefix
- (,(string-append out go)
- ,(string-append guile-lib go)))))
- #t)))))
+ (,(string-append out go) ,(string-append guile-lib
+ go))))) #t)))))
(home-page "https://github.com/artyom-poptsov/guile-dsv")
(synopsis "DSV module for Guile")
(description
- "Guile-DSV is a GNU Guile module for working with the
-delimiter-separated values (DSV) data format. Guile-DSV supports the
-Unix-style DSV format and RFC 4180 format.")
+ "Guile-DSV is a GNU Guile module for working with the delimiter-separated
+values (DSV) data format. Guile-DSV supports the Unix-style DSV format and RFC 4180
+style format. Also Guile-DSV includes a console program named @code{dsv} that allows
+to view and process DSV data, including such operations as delimiter change,
+conversion from one DSV standard to another and printing the data as pseudographics
+tables.")
(license license:gpl3+)))
(define-public guile2.2-dsv
(package
(inherit guile-dsv)
(name "guile2.2-dsv")
- (inputs (list guile-2.2))
+ (inputs (list bash-minimal guile-2.2))
(propagated-inputs `(("guile-lib" ,guile2.2-lib)))))
(define-public guile-fibers-1.3
base-commit: 7cad70566322262f6acdbbb965e867e34010eb55
--
2.34.1
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1.3: 0002-gnu-guile-smc-Fix-build-with-Guile-2.2.patch --]
[-- Type: text/x-diff, Size: 1404 bytes --]
From 14b451c6b4b0687e5eb13a02a6ec0566e65fa686 Mon Sep 17 00:00:00 2001
Message-Id: <14b451c6b4b0687e5eb13a02a6ec0566e65fa686.1692815567.git.poptsov.artyom@gmail.com>
In-Reply-To: <d3b75667d3b32e85cc76d0a7cffa3ba614eeaea7.1692815567.git.poptsov.artyom@gmail.com>
References: <d3b75667d3b32e85cc76d0a7cffa3ba614eeaea7.1692815567.git.poptsov.artyom@gmail.com>
From: "Artyom V. Poptsov" <poptsov.artyom@gmail.com>
Date: Wed, 23 Aug 2023 21:12:55 +0300
Subject: [PATCH 2/4] gnu: guile-smc: Fix build with Guile 2.2.
* gnu/packages/guile-xyz.scm (guile-smc): Fix build with Guile 2.2.
[native-inputs]: Replace "guile" with "guile-2.2" and "guile-lib" with
"guile2.2-lib".
---
gnu/packages/guile-xyz.scm | 3 +++
1 file changed, 3 insertions(+)
diff --git a/gnu/packages/guile-xyz.scm b/gnu/packages/guile-xyz.scm
index e031c85243..53ce4c0f8a 100644
--- a/gnu/packages/guile-xyz.scm
+++ b/gnu/packages/guile-xyz.scm
@@ -5423,6 +5423,9 @@ (define-public guile2.2-smc
(package
(inherit guile-smc)
(name "guile2.2-smc")
+ (native-inputs (modify-inputs (package-native-inputs guile-smc)
+ (replace "guile" guile-2.2)
+ (replace "guile-lib" guile2.2-lib)))
(inputs (modify-inputs (package-inputs guile-smc)
(replace "guile" guile-2.2)
(replace "guile-lib" guile2.2-lib)))))
--
2.34.1
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1.4: 0003-gnu-guile2.2-dsv-Fix-build.patch --]
[-- Type: text/x-diff, Size: 1930 bytes --]
From 01d687fb1d64035e0f97ef5706b5c5257e866ad5 Mon Sep 17 00:00:00 2001
Message-Id: <01d687fb1d64035e0f97ef5706b5c5257e866ad5.1692815567.git.poptsov.artyom@gmail.com>
In-Reply-To: <d3b75667d3b32e85cc76d0a7cffa3ba614eeaea7.1692815567.git.poptsov.artyom@gmail.com>
References: <d3b75667d3b32e85cc76d0a7cffa3ba614eeaea7.1692815567.git.poptsov.artyom@gmail.com>
From: "Artyom V. Poptsov" <poptsov.artyom@gmail.com>
Date: Wed, 23 Aug 2023 21:17:02 +0300
Subject: [PATCH 3/4] gnu: guile2.2-dsv: Fix build.
* gnu/packages/guile-xyz.scm (guile2.2-dsv):
[native-inputs]: Replace "guile-smc" with "guile2.2-smc" and add
"guile2.2-lib".
[inputs]: Replace "guile" with "guile-2.2" and "guile-smc" with
"guile2.2-smc".
[propagated-inputs]: Replace "guile-lib" with "guile2.2-lib" and
"guile-smc" with "guile2.2-smc".
---
gnu/packages/guile-xyz.scm | 11 +++++++++--
1 file changed, 9 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/guile-xyz.scm b/gnu/packages/guile-xyz.scm
index 53ce4c0f8a..eab8677a0c 100644
--- a/gnu/packages/guile-xyz.scm
+++ b/gnu/packages/guile-xyz.scm
@@ -786,8 +786,15 @@ (define-public guile2.2-dsv
(package
(inherit guile-dsv)
(name "guile2.2-dsv")
- (inputs (list bash-minimal guile-2.2))
- (propagated-inputs `(("guile-lib" ,guile2.2-lib)))))
+ (native-inputs (modify-inputs (package-native-inputs guile-dsv)
+ (replace "guile-smc" guile2.2-smc)
+ (append guile2.2-lib)))
+ (inputs (modify-inputs (package-inputs guile-dsv)
+ (replace "guile" guile-2.2)
+ (replace "guile-lib" guile2.2-lib)))
+ (propagated-inputs (modify-inputs (package-propagated-inputs guile-dsv)
+ (replace "guile-lib" guile2.2-lib)
+ (replace "guile-smc" guile2.2-smc)))))
(define-public guile-fibers-1.3
(package
--
2.34.1
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1.5: 0004-gnu-guile-dsv-Fix-cross-compiling.patch --]
[-- Type: text/x-diff, Size: 1929 bytes --]
From bcbbaa31ba15f3df7c2c09b0a607175ef828dfb7 Mon Sep 17 00:00:00 2001
Message-Id: <bcbbaa31ba15f3df7c2c09b0a607175ef828dfb7.1692815567.git.poptsov.artyom@gmail.com>
In-Reply-To: <d3b75667d3b32e85cc76d0a7cffa3ba614eeaea7.1692815567.git.poptsov.artyom@gmail.com>
References: <d3b75667d3b32e85cc76d0a7cffa3ba614eeaea7.1692815567.git.poptsov.artyom@gmail.com>
From: "Artyom V. Poptsov" <poptsov.artyom@gmail.com>
Date: Wed, 23 Aug 2023 21:28:37 +0300
Subject: [PATCH 4/4] gnu: guile-dsv: Fix cross-compiling.
* gnu/packages/guile-xyz.scm (guile-dsv): Fix cross-compiling.
[native-inputs]: Add "guile-3.0" and "guile-lib".
(guile2.2-dsv) [native-inputs]: Replace "guile" with "guile-2.2"
and "guile-lib" with "guile2.2-lib".
---
gnu/packages/guile-xyz.scm | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/guile-xyz.scm b/gnu/packages/guile-xyz.scm
index eab8677a0c..749ae56053 100644
--- a/gnu/packages/guile-xyz.scm
+++ b/gnu/packages/guile-xyz.scm
@@ -745,6 +745,8 @@ (define-public guile-dsv
texinfo
help2man
;; needed when cross-compiling.
+ guile-3.0
+ guile-lib
guile-smc))
(inputs (list bash-minimal guile-3.0))
(propagated-inputs (list guile-lib guile-smc))
@@ -788,7 +790,8 @@ (define-public guile2.2-dsv
(name "guile2.2-dsv")
(native-inputs (modify-inputs (package-native-inputs guile-dsv)
(replace "guile-smc" guile2.2-smc)
- (append guile2.2-lib)))
+ (replace "guile" guile-2.2)
+ (replace "guile-lib" guile2.2-lib)))
(inputs (modify-inputs (package-inputs guile-dsv)
(replace "guile" guile-2.2)
(replace "guile-lib" guile2.2-lib)))
--
2.34.1
[-- Attachment #1.6: Type: text/plain, Size: 256 bytes --]
Thank you for reporting the problem!
- avp
--
Artyom "avp" Poptsov <poptsov.artyom@gmail.com>
Home page: https://memory-heap.org/~avp/
CADR Hackerspace co-founder: https://cadrspace.ru/
GPG: D0C2 EAC1 3310 822D 98DE B57C E9C5 A2D9 0898 A02F
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 519 bytes --]
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [bug#65320] [PATCH] gnu: guile-dsv: Update 0.7.0.
2023-08-23 18:35 ` Artyom V. Poptsov
@ 2023-08-30 14:56 ` Artyom V. Poptsov
2023-09-08 16:44 ` bug#65320: " Ludovic Courtès
1 sibling, 0 replies; 5+ messages in thread
From: Artyom V. Poptsov @ 2023-08-30 14:56 UTC (permalink / raw)
To: Ludovic Courtès; +Cc: 65320
[-- Attachment #1: Type: text/plain, Size: 352 bytes --]
Hello,
just a gentle ping. ;-)
It would be great to see my patches merged (or to get any feedback for
that matter.)
Thanks!
- avp
--
Artyom "avp" Poptsov <poptsov.artyom@gmail.com>
Home page: https://memory-heap.org/~avp/
CADR Hackerspace co-founder: https://cadrspace.ru/
GPG: D0C2 EAC1 3310 822D 98DE B57C E9C5 A2D9 0898 A02F
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 519 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* bug#65320: [PATCH] gnu: guile-dsv: Update 0.7.0.
2023-08-23 18:35 ` Artyom V. Poptsov
2023-08-30 14:56 ` Artyom V. Poptsov
@ 2023-09-08 16:44 ` Ludovic Courtès
1 sibling, 0 replies; 5+ messages in thread
From: Ludovic Courtès @ 2023-09-08 16:44 UTC (permalink / raw)
To: Artyom V. Poptsov; +Cc: 65320-done
Hi Artyom,
Applied all 4 patches, thanks!
Ludo’.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2023-09-08 16:45 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-08-15 20:43 [bug#65320] [PATCH] gnu: guile-dsv: Update 0.7.0 Artyom V. Poptsov
2023-08-20 21:16 ` Ludovic Courtès
2023-08-23 18:35 ` Artyom V. Poptsov
2023-08-30 14:56 ` Artyom V. Poptsov
2023-09-08 16:44 ` bug#65320: " Ludovic Courtès
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.