unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / Atom feed
* bug#44646: [PATCH] gnu: Add uuid support (back?) to recutils.
@ 2020-11-14 20:46 John Soo
  2020-11-16 11:32 ` Ludovic Courtès
  0 siblings, 1 reply; 4+ messages in thread
From: John Soo @ 2020-11-14 20:46 UTC (permalink / raw)
  To: 44646

[-- Attachment #1: Type: text/plain, Size: 178 bytes --]

Hi Guix,

I've been getting into some recutils recently and I found out ours is
not configured with uuid support.  Perhaps there are other optional
things we could add?

- John


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-gnu-Add-uuid-support-to-recutils.patch --]
[-- Type: text/x-patch, Size: 1237 bytes --]

From ad122b175d798ab3d50e7b41337694538043a218 Mon Sep 17 00:00:00 2001
From: John Soo <jsoo1@asu.edu>
Date: Sat, 14 Nov 2020 12:42:10 -0800
Subject: [PATCH] gnu: Add uuid support to recutils.

* gnu/packages/databases.scm (recutils): [inputs] Add lib output of
util-linux.
---
 gnu/packages/databases.scm | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm
index c3fb9b5c5f..c011bd398e 100644
--- a/gnu/packages/databases.scm
+++ b/gnu/packages/databases.scm
@@ -1144,12 +1144,13 @@ organized in a hash table or B+ tree.")
     (native-inputs `(("bc" ,bc)
                      ("bash:include" ,bash "include")
                      ("check" ,check)
-                     ("libuuid" ,util-linux)
+                     ("libuuid:out" ,util-linux)
                      ("pkg-config" ,pkg-config)))
 
     ;; TODO: Add more optional inputs.
     (inputs `(("curl" ,curl)
-              ("libgcrypt" ,libgcrypt)))
+              ("libgcrypt" ,libgcrypt)
+              ("libuuid:lib" ,util-linux "lib")))
     (synopsis "Manipulate plain text files as databases")
     (description
      "GNU Recutils is a set of tools and libraries for creating and
-- 
2.29.1


^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#44646: [PATCH] gnu: Add uuid support (back?) to recutils.
  2020-11-14 20:46 bug#44646: [PATCH] gnu: Add uuid support (back?) to recutils John Soo
@ 2020-11-16 11:32 ` Ludovic Courtès
  2020-11-16 16:16   ` John Soo
  0 siblings, 1 reply; 4+ messages in thread
From: Ludovic Courtès @ 2020-11-16 11:32 UTC (permalink / raw)
  To: John Soo; +Cc: 44646

Hi,

John Soo <jsoo1@asu.edu> skribis:

> From ad122b175d798ab3d50e7b41337694538043a218 Mon Sep 17 00:00:00 2001
> From: John Soo <jsoo1@asu.edu>
> Date: Sat, 14 Nov 2020 12:42:10 -0800
> Subject: [PATCH] gnu: Add uuid support to recutils.
>
> * gnu/packages/databases.scm (recutils): [inputs] Add lib output of
> util-linux.

[...]

>      (native-inputs `(("bc" ,bc)
>                       ("bash:include" ,bash "include")
>                       ("check" ,check)
> -                     ("libuuid" ,util-linux)
> +                     ("libuuid:out" ,util-linux)

Is this one even necessary?  (The label is misleading.)

>                       ("pkg-config" ,pkg-config)))
>  
>      ;; TODO: Add more optional inputs.
>      (inputs `(("curl" ,curl)
> -              ("libgcrypt" ,libgcrypt)))
> +              ("libgcrypt" ,libgcrypt)
> +              ("libuuid:lib" ,util-linux "lib")))

Thanks,
Ludo’.




^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#44646: [PATCH] gnu: Add uuid support (back?) to recutils.
  2020-11-16 11:32 ` Ludovic Courtès
@ 2020-11-16 16:16   ` John Soo
  2020-11-18 22:04     ` Ludovic Courtès
  0 siblings, 1 reply; 4+ messages in thread
From: John Soo @ 2020-11-16 16:16 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: 44646

[-- Attachment #1: Type: text/plain, Size: 756 bytes --]

Hi,


Ludovic Courtès <ludo@gnu.org> writes:

>>      (native-inputs `(("bc" ,bc)
>>                       ("bash:include" ,bash "include")
>>                       ("check" ,check)
>> -                     ("libuuid" ,util-linux)
>> +                     ("libuuid:out" ,util-linux)
>
> Is this one even necessary?  (The label is misleading.)
>
>>                       ("pkg-config" ,pkg-config)))
>>
>>      ;; TODO: Add more optional inputs.
>>      (inputs `(("curl" ,curl)
>> -              ("libgcrypt" ,libgcrypt)))
>> +              ("libgcrypt" ,libgcrypt)
>> +              ("libuuid:lib" ,util-linux "lib")))
>
> Thanks,
> Ludo’.

It seems to build OK without the native-input, so I removed it.

Thanks,

John


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-gnu-Add-uuid-support-to-recutils.patch --]
[-- Type: text/x-patch, Size: 1182 bytes --]

From c7eee6d96ea4ce6516f6a528e3d2110f96fb44ec Mon Sep 17 00:00:00 2001
From: John Soo <jsoo1@asu.edu>
Date: Sat, 14 Nov 2020 12:42:10 -0800
Subject: [PATCH] gnu: Add uuid support to recutils.

* gnu/packages/databases.scm (recutils): [inputs] Add lib output of
util-linux.
---
 gnu/packages/databases.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm
index c3fb9b5c5f..a36a43e188 100644
--- a/gnu/packages/databases.scm
+++ b/gnu/packages/databases.scm
@@ -1144,12 +1144,12 @@ organized in a hash table or B+ tree.")
     (native-inputs `(("bc" ,bc)
                      ("bash:include" ,bash "include")
                      ("check" ,check)
-                     ("libuuid" ,util-linux)
                      ("pkg-config" ,pkg-config)))
 
     ;; TODO: Add more optional inputs.
     (inputs `(("curl" ,curl)
-              ("libgcrypt" ,libgcrypt)))
+              ("libgcrypt" ,libgcrypt)
+              ("libuuid" ,util-linux "lib")))
     (synopsis "Manipulate plain text files as databases")
     (description
      "GNU Recutils is a set of tools and libraries for creating and
-- 
2.29.1


^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#44646: [PATCH] gnu: Add uuid support (back?) to recutils.
  2020-11-16 16:16   ` John Soo
@ 2020-11-18 22:04     ` Ludovic Courtès
  0 siblings, 0 replies; 4+ messages in thread
From: Ludovic Courtès @ 2020-11-18 22:04 UTC (permalink / raw)
  To: John Soo; +Cc: 44646-done

Hi,

John Soo <jsoo1@asu.edu> skribis:

> From c7eee6d96ea4ce6516f6a528e3d2110f96fb44ec Mon Sep 17 00:00:00 2001
> From: John Soo <jsoo1@asu.edu>
> Date: Sat, 14 Nov 2020 12:42:10 -0800
> Subject: [PATCH] gnu: Add uuid support to recutils.
>
> * gnu/packages/databases.scm (recutils): [inputs] Add lib output of
> util-linux.

Perfect.  Applied, thanks!

Ludo’.




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-11-18 22:05 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-14 20:46 bug#44646: [PATCH] gnu: Add uuid support (back?) to recutils John Soo
2020-11-16 11:32 ` Ludovic Courtès
2020-11-16 16:16   ` John Soo
2020-11-18 22:04     ` Ludovic Courtès

unofficial mirror of bug-guix@gnu.org 

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://yhetil.org/guix-bugs/0 guix-bugs/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 guix-bugs guix-bugs/ https://yhetil.org/guix-bugs \
		bug-guix@gnu.org
	public-inbox-index guix-bugs

Example config snippet for mirrors.
Newsgroups are available over NNTP:
	nntp://news.yhetil.org/yhetil.gnu.guix.bugs
	nntp://news.gmane.io/gmane.comp.gnu.guix.bugs


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git