GNU bug report logs - #68301
[PATCH] gnu: Add guile-yamlpp.

Previous Next

Package: guix-patches;

Reported by: Georgios Athanasiou <yorgath <at> gmail.com>

Date: Sun, 7 Jan 2024 12:03:02 UTC

Severity: normal

Tags: patch

Done: Mathieu Othacehe <othacehe <at> gnu.org>

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 68301 in the body.
You can then email your comments to 68301 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#68301; Package guix-patches. (Sun, 07 Jan 2024 12:03:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Georgios Athanasiou <yorgath <at> gmail.com>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Sun, 07 Jan 2024 12:03:02 GMT) Full text and rfc822 format available.

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

From: Georgios Athanasiou <yorgath <at> gmail.com>
To: guix-patches <at> gnu.org
Subject: [PATCH] gnu: Add guile-yamlpp.
Date: Sun, 7 Jan 2024 13:27:07 +0200
* gnu/packages/guile-xyz.scm (guile-yamlpp): New variable.

Change-Id: I54694eeea17e414df4d7778a2e119f3f995c20e4
---
 gnu/packages/guile-xyz.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/guile-xyz.scm b/gnu/packages/guile-xyz.scm
index 75e3754046..9ef4ef0573 100644
--- a/gnu/packages/guile-xyz.scm
+++ b/gnu/packages/guile-xyz.scm
@@ -5428,6 +5428,33 @@ (define-public guile-libyaml
 ffi-helper from nyacc.")
       (license license:lgpl3+))))

+(define-public guile-yamlpp
+  (package
+    (name "guile-yamlpp")
+    (version "0.2")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://gitlab.com/yorgath/guile-yamlpp")
+             (commit version)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "14mlqi7hw7pi9scwk1g432issnqcn185pd8na2plijxq55cy0iq7"))))
+    (build-system gnu-build-system)
+    (native-inputs (list autoconf automake libtool pkg-config))
+    (inputs (list guile-3.0 yaml-cpp))
+    (native-search-paths
+     (list (search-path-specification
+            (variable "GUILE_EXTENSIONS_PATH")
+            (files (list "lib/guile/3.0")))))
+    (home-page "https://gitlab.com/yorgath/guile-yamlpp")
+    (synopsis "Guile YAML reader/writer based on @code{yaml-cpp}")
+    (description
+     "A module for GNU Guile to read and write YAML files.  It works using
+bindings to the @code{yaml-cpp} C++ library.")
+    (license license:gpl3+)))
+
 (define-public schmutz
   (let ((commit "add24588c59552537b8f1316df99a0cdd62c221e")
         (revision "1"))
-- 
2.41.0





Reply sent to Mathieu Othacehe <othacehe <at> gnu.org>:
You have taken responsibility. (Sun, 07 Jan 2024 18:36:08 GMT) Full text and rfc822 format available.

Notification sent to Georgios Athanasiou <yorgath <at> gmail.com>:
bug acknowledged by developer. (Sun, 07 Jan 2024 18:36:11 GMT) Full text and rfc822 format available.

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

From: Mathieu Othacehe <othacehe <at> gnu.org>
To: Georgios Athanasiou <yorgath <at> gmail.com>
Cc: 68301-done <at> debbugs.gnu.org
Subject: Re: [bug#68301] [PATCH] gnu: Add guile-yamlpp.
Date: Sun, 07 Jan 2024 19:34:44 +0100
> * gnu/packages/guile-xyz.scm (guile-yamlpp): New variable.

Applied, thanks!

For bonus points, you could see why yaml-cpp doesn't cross-compile and
check after that whether guile-yamlpp is cross-compiling as well :)

Mathieu




Information forwarded to guix-patches <at> gnu.org:
bug#68301; Package guix-patches. (Tue, 09 Jan 2024 08:32:02 GMT) Full text and rfc822 format available.

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

From: Georgios Athanasiou <o8cu77 <at> otenet.gr>
To: othacehe <at> gnu.org
Cc: guix-patches <at> gnu.org
Subject: bug#68301: [PATCH] gnu: Add guile-yamlpp.
Date: Tue, 9 Jan 2024 00:42:59 +0200
Hi Mathieu,

That was fast, thanks.  Latest yaml-cpp release version 0.8.0 seems to

solve the cross-compilation issue (as well as bringing other

benefits).  Maybe I'll submit a patch for the upgrade (I do worry a

bit about negatively affecting any of the ~25 dependent packages,

though backwards compatibility seems excellent).

Best wishes,

G.





Information forwarded to guix-patches <at> gnu.org:
bug#68301; Package guix-patches. (Tue, 09 Jan 2024 15:23:02 GMT) Full text and rfc822 format available.

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

From: Zheng Junjie <zhengjunjie <at> iscas.ac.cn>
To: Georgios Athanasiou <o8cu77 <at> otenet.gr>
Cc: othacehe <at> gnu.org, 68301 <at> debbugs.gnu.org
Subject: Re: [bug#68301] [PATCH] gnu: Add guile-yamlpp.
Date: Tue, 09 Jan 2024 23:16:32 +0800
Georgios Athanasiou <o8cu77 <at> otenet.gr> writes:

> Hi Mathieu,
>
> That was fast, thanks.  Latest yaml-cpp release version 0.8.0 seems to
>
> solve the cross-compilation issue (as well as bringing other
>
> benefits).  Maybe I'll submit a patch for the upgrade (I do worry a
>
> bit about negatively affecting any of the ~25 dependent packages,
>
> though backwards compatibility seems excellent).
>
> Best wishes,
>
> G.

see https://issues.guix.gnu.org/67066, looks like this patch didn't push
to master?





Information forwarded to guix-patches <at> gnu.org:
bug#68301; Package guix-patches. (Wed, 10 Jan 2024 14:28:03 GMT) Full text and rfc822 format available.

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

From: Mathieu Othacehe <othacehe <at> gnu.org>
To: Zheng Junjie <zhengjunjie <at> iscas.ac.cn>
Cc: Georgios Athanasiou <o8cu77 <at> otenet.gr>, 68301 <at> debbugs.gnu.org
Subject: Re: [bug#68301] [PATCH] gnu: Add guile-yamlpp.
Date: Wed, 10 Jan 2024 15:27:25 +0100
Hello,

> see https://issues.guix.gnu.org/67066, looks like this patch didn't push
> to master?

Strange, re-applied.

Mathieu




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

This bug report was last modified 1 year and 224 days ago.

Previous Next


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