GNU bug report logs - #45008
[PATCH] gnu: Add sbcl-cl-autowrap.

Previous Next

Package: guix-patches;

Reported by: Adam Kandur <rndd <at> tuta.io>

Date: Wed, 2 Dec 2020 16:24:02 UTC

Severity: normal

Tags: patch

Done: Guillaume Le Vaillant <glv <at> posteo.net>

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 45008 in the body.
You can then email your comments to 45008 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#45008; Package guix-patches. (Wed, 02 Dec 2020 16:24:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Adam Kandur <rndd <at> tuta.io>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Wed, 02 Dec 2020 16:24:02 GMT) Full text and rfc822 format available.

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

From: Adam Kandur <rndd <at> tuta.io>
To: Guix Patches <guix-patches <at> gnu.org>
Subject: [PATCH] gnu: Add sbcl-cl-autowrap.
Date: Wed, 2 Dec 2020 17:23:33 +0100 (CET)
From de92a49158d1be1afcda9d87c4391f7e1da6fca0 Mon Sep 17 00:00:00 2001
From: Adam Kandur <rndd <at> tuta.io>
Date: Wed, 2 Dec 2020 19:22:00 +0300
Subject: [PATCH] gnu: Add sbcl-cl-autowrap.

* gnu/packages/lisp-xyz.scm (sbcl-cl-autowrap): New variable.
---
 gnu/packages/lisp-xyz.scm | 35 +++++++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)

diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index 2bfd1e7..cd6b9b5 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -5602,6 +5602,41 @@ extension-points via the concept of hooks.")
 (define-public ecl-cl-hooks
   (sbcl-package->ecl-package sbcl-cl-hooks))
 
+(define-public sbcl-cl-autowrap
+  (let ((revision "1")
+        (commit "ae846d6968fc0d000de0c541638929a157f3009e"))
+    ;; no taged branches
+    (package
+      (name "sbcl-cl-autowrap")
+      (version (git-version "1.0" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/rpav/cl-autowrap")
+               (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "1gisldp2zns92kdcaikghm7c38ldy2d884n8bfg0wcjvbz78p3ar"))))
+      (build-system asdf-build-system/sbcl)
+      (inputs
+       `(("alexandria" ,sbcl-alexandria)
+     ("cffi" ,sbcl-cffi)
+     ("sbcl-cl-json" ,sbcl-cl-json)
+     ("cl-ppcre" ,sbcl-cl-ppcre)
+     ("sbcl-defpackage-plus" ,sbcl-defpackage-plus)))
+      (home-page "https://github.com/rpav/cl-autowrap")
+      (synopsis "(c-include \"file.h\") => complete FFI wrapper")
+      (description "Using its own facilities, autowrap now includes autowrap/libffi.  
+This allows functions that pass and return structs to be called using autowrap.")
+      (license license:bsd-2))))
+
+(define-public cl-autowrap
+  (sbcl-package->cl-source-package sbcl-cl-autowrap))
+
+(define-public ecl-cl-autowrap
+  (sbcl-package->ecl-package sbcl-cl-autowrap))
+
 (define-public sbcl-s-sysdeps
   ;; No release since 2013.
   (let ((commit "9aa23bbdceb24bcdbe0e7c39fa1901858f823106")
-- 
2.28.0








Information forwarded to guix-patches <at> gnu.org:
bug#45008; Package guix-patches. (Sat, 05 Dec 2020 15:26:01 GMT) Full text and rfc822 format available.

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

From: Guillaume Le Vaillant <glv <at> posteo.net>
To: Adam Kandur <rndd <at> tuta.io>
Cc: 45008 <at> debbugs.gnu.org
Subject: Re: [bug#45008] [PATCH] gnu: Add sbcl-cl-autowrap.
Date: Sat, 05 Dec 2020 16:25:16 +0100
[Message part 1 (text/plain, inline)]
I have never used this library, but according to the documentation,
cl-autowrap is based on c2ffi, which is not in the inputs of the package
definition (in fact it's not even packaged in Guix yet).

Does the library work without c2ffi? If yes, are there some major
features missing in this case?
[signature.asc (application/pgp-signature, inline)]

Reply sent to Guillaume Le Vaillant <glv <at> posteo.net>:
You have taken responsibility. (Fri, 11 Dec 2020 18:26:02 GMT) Full text and rfc822 format available.

Notification sent to Adam Kandur <rndd <at> tuta.io>:
bug acknowledged by developer. (Fri, 11 Dec 2020 18:26:02 GMT) Full text and rfc822 format available.

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

From: Guillaume Le Vaillant <glv <at> posteo.net>
To: Adam Kandur <rndd <at> tuta.io>
Cc: 45008-done <at> debbugs.gnu.org
Subject: Re: [bug#45008] [PATCH] gnu: Add sbcl-cl-autowrap.
Date: Fri, 11 Dec 2020 19:24:36 +0100
[Message part 1 (text/plain, inline)]
Adam Kandur <rndd <at> tuta.io> skribis:

> hi, for me build is fine, when i use "guix environment --ad-hoc sbcl sbcl-cl-autowrap" and then "(require :cl-autowrap)" it returns nil.
>
> Dec 5, 2020, 15:25 by glv <at> posteo.net:
>
>>
>> I have never used this library, but according to the documentation,
>> cl-autowrap is based on c2ffi, which is not in the inputs of the package
>> definition (in fact it's not even packaged in Guix yet).
>>
>> Does the library work without c2ffi? If yes, are there some major
>> features missing in this case?
>>

Pushed as 703cdbbd33cc7ae4b00f82fc2418317cdec4bd52 with some
modifications. Thanks.
[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. (Sat, 09 Jan 2021 12:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 3 years and 104 days ago.

Previous Next


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