GNU bug report logs - #69005
[PATCH] gnu: Add ckdl.

Previous Next

Package: guix-patches;

Reported by: "Paul A. Patience" <paul <at> apatience.com>

Date: Fri, 9 Feb 2024 19:57:01 UTC

Severity: normal

Tags: patch

Done: Clément Lassieur <clement <at> lassieur.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 69005 in the body.
You can then email your comments to 69005 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#69005; Package guix-patches. (Fri, 09 Feb 2024 19:57:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to "Paul A. Patience" <paul <at> apatience.com>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Fri, 09 Feb 2024 19:57:01 GMT) Full text and rfc822 format available.

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

From: "Paul A. Patience" <paul <at> apatience.com>
To: guix-patches <at> gnu.org
Cc: "Paul A. Patience" <paul <at> apatience.com>
Subject: [PATCH] gnu: Add ckdl.
Date: Fri, 09 Feb 2024 19:55:14 +0000
* gnu/packages/serialization.scm (ckdl): New variable.

Change-Id: I658369e85c80c985da3e61d2809d36e6e703ed8c
---
Should kdlpp be provided in a separate package that inherits from ckdl?
For now ckdl provides both libkdl.so and libkdlpp.so.

 gnu/packages/serialization.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/serialization.scm b/gnu/packages/serialization.scm
index ccafb8e802..a69245274a 100644
--- a/gnu/packages/serialization.scm
+++ b/gnu/packages/serialization.scm
@@ -17,6 +17,7 @@
 ;;; Copyright © 2023 Vinicius Monego <monego <at> posteo.net>
 ;;; Copyright © 2023 Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
 ;;; Copyright © 2023 Zheng Junjie <873216071 <at> qq.com>
+;;; Copyright © 2024 Paul A. Patience <paul <at> apatience.com>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -622,6 +623,29 @@ (define-public json.sh
       (home-page "https://github.com/dominictarr/JSON.sh")
       (license (list license:expat license:asl2.0))))) ;dual-licensed
 
+(define-public ckdl
+  (package
+    (name "ckdl")
+    (version "0.1.2")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/tjol/ckdl")
+             (commit version)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1zdpil61lm141lcxmfrg7jvfjp2n98v5q2rfqzm4wiqcdprgmasv"))))
+    (build-system cmake-build-system)
+    (arguments
+     (list #:configure-flags #~(list "-DBUILD_SHARED_LIBS=ON"
+                                     "-DDOWNLOAD_TEST_DATA=OFF")))
+    (home-page "https://ckdl.readthedocs.io/en/latest/")
+    (synopsis "C library for parsing and emitting KDL")
+    (description "@samp{ckdl} is a C library for parsing and emitting KDL.
+This package also provides @samp{kdlpp}, a C++20 wrapper around @samp{ckdl}.")
+    (license license:expat)))
+
 (define-public capnproto
   (package
     (name "capnproto")

base-commit: 570ef13a87bb54d3410c431700ba78316a2641e2
-- 
2.41.0






Reply sent to Clément Lassieur <clement <at> lassieur.org>:
You have taken responsibility. (Fri, 16 Feb 2024 18:56:01 GMT) Full text and rfc822 format available.

Notification sent to "Paul A. Patience" <paul <at> apatience.com>:
bug acknowledged by developer. (Fri, 16 Feb 2024 18:56:01 GMT) Full text and rfc822 format available.

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

From: Clément Lassieur <clement <at> lassieur.org>
To: "Paul A. Patience" <paul <at> apatience.com>
Cc: 69005-done <at> debbugs.gnu.org
Subject: Re: [bug#69005] [PATCH] gnu: Add ckdl.
Date: Fri, 16 Feb 2024 19:54:54 +0100
On Fri, Feb 09 2024, Paul A. Patience wrote:

> * gnu/packages/serialization.scm (ckdl): New variable.
>
> Change-Id: I658369e85c80c985da3e61d2809d36e6e703ed8c
> ---
> Should kdlpp be provided in a separate package that inherits from ckdl?
> For now ckdl provides both libkdl.so and libkdlpp.so.

I think it's good as is.

LGDM, pushed, thank you.




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

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

Previous Next


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