GNU bug report logs -
#37791
[PATCH 0/4] Some fixes for ecl-* Common Lisp packages
Previous Next
Reported by: Guillaume Le Vaillant <glv <at> posteo.net>
Date: Thu, 17 Oct 2019 14:38:02 UTC
Severity: normal
Tags: patch
Done: Pierre Neidhardt <mail <at> ambrevar.xyz>
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 37791 in the body.
You can then email your comments to 37791 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
guix-patches <at> gnu.org
:
bug#37791
; Package
guix-patches
.
(Thu, 17 Oct 2019 14:38:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Guillaume Le Vaillant <glv <at> posteo.net>
:
New bug report received and forwarded. Copy sent to
guix-patches <at> gnu.org
.
(Thu, 17 Oct 2019 14:38:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
Patches:
- build-system/asdf: Fix package transform.
- gnu: sbcl-trivial-mimes: Fix 'fix-paths' phase.
- gnu: Add ecl-trivial-mimes.
- gnu: Add ecl-dexador.
Information forwarded
to
guix-patches <at> gnu.org
:
bug#37791
; Package
guix-patches
.
(Thu, 17 Oct 2019 14:44:07 GMT)
Full text and
rfc822 format available.
Message #8 received at 37791 <at> debbugs.gnu.org (full text, mbox):
* guix/build-system/asdf.scm (package-with-build-system):
[find-input-package]: New function.
[rewrite]: Use it.
---
guix/build-system/asdf.scm | 13 ++++++++++++-
1 file changed, 12 insertions(+), 1 deletion(-)
diff --git a/guix/build-system/asdf.scm b/guix/build-system/asdf.scm
index af04084c86..f794bf006b 100644
--- a/guix/build-system/asdf.scm
+++ b/guix/build-system/asdf.scm
@@ -1,5 +1,6 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2016, 2017 Andy Patterson <ajpatter <at> uwaterloo.ca>
+;;; Copyright © 2019 Guillaume Le Vaillant <glv <at> posteo.net>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -32,6 +33,7 @@
#:use-module (ice-9 regex)
#:use-module (srfi srfi-1)
#:use-module (srfi srfi-26)
+ #:use-module (gnu packages)
#:export (%asdf-build-system-modules
%asdf-build-modules
asdf-build
@@ -160,13 +162,22 @@ set up using CL source package conventions."
(define (has-from-build-system? pkg)
(eq? from-build-system (package-build-system pkg)))
+ (define (find-input-package pkg)
+ (let* ((name (package-name pkg))
+ (new-name (transform-package-name name))
+ (pkgs (find-packages-by-name new-name)))
+ (if (null? pkgs) #f (list-ref pkgs 0))))
+
(define transform
(mlambda (pkg)
(define rewrite
(match-lambda
((name content . rest)
(let* ((is-package? (package? content))
- (new-content (if is-package? (transform content) content)))
+ (new-content (if is-package?
+ (or (find-input-package content)
+ (transform content))
+ content)))
`(,name ,new-content ,@rest)))))
;; Special considerations for source packages: CL inputs become
--
2.23.0
Information forwarded
to
guix-patches <at> gnu.org
:
bug#37791
; Package
guix-patches
.
(Thu, 17 Oct 2019 14:44:07 GMT)
Full text and
rfc822 format available.
Message #11 received at 37791 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/lisp.scm (sbcl-trivial-mimes)[arguments]: Use '(%lisp-type)'
instead of hard coded 'sbcl' in 'fix-paths' phase.
---
gnu/packages/lisp.scm | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/lisp.scm b/gnu/packages/lisp.scm
index 2bdebed04e..310522984d 100644
--- a/gnu/packages/lisp.scm
+++ b/gnu/packages/lisp.scm
@@ -5130,7 +5130,9 @@ performance and simplicity in mind.")
((anchor all)
(string-append
anchor "\n"
- "(asdf:system-relative-pathname :trivial-mimes \"../../share/common-lisp/sbcl-source/trivial-mimes/mime.types\")")))))))))
+ "(asdf:system-relative-pathname :trivial-mimes "
+ "\"../../share/common-lisp/" (%lisp-type)
+ "-source/trivial-mimes/mime.types\")")))))))))
(native-inputs
`(("stefil" ,sbcl-hu.dwim.stefil)))
(inputs
--
2.23.0
Information forwarded
to
guix-patches <at> gnu.org
:
bug#37791
; Package
guix-patches
.
(Thu, 17 Oct 2019 14:44:08 GMT)
Full text and
rfc822 format available.
Message #14 received at 37791 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/lisp.scm (ecl-trivial-mimes): New variable.
---
gnu/packages/lisp.scm | 3 +++
1 file changed, 3 insertions(+)
diff --git a/gnu/packages/lisp.scm b/gnu/packages/lisp.scm
index 310522984d..a8293dad3a 100644
--- a/gnu/packages/lisp.scm
+++ b/gnu/packages/lisp.scm
@@ -5147,6 +5147,9 @@ mime-type of a file.")
(define-public cl-trivial-mimes
(sbcl-package->cl-source-package sbcl-trivial-mimes))
+(define-public ecl-trivial-mimes
+ (sbcl-package->ecl-package sbcl-trivial-mimes))
+
(define-public sbcl-lack-middleware-static
(let ((commit "abff8efeb0c3a848e6bb0022f2b8b7fa3a1bc88b")
(revision "1"))
--
2.23.0
Information forwarded
to
guix-patches <at> gnu.org
:
bug#37791
; Package
guix-patches
.
(Thu, 17 Oct 2019 14:44:08 GMT)
Full text and
rfc822 format available.
Message #17 received at 37791 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/lisp.scm (ecl-dexador): New variable.
---
gnu/packages/lisp.scm | 3 +++
1 file changed, 3 insertions(+)
diff --git a/gnu/packages/lisp.scm b/gnu/packages/lisp.scm
index a8293dad3a..e42a806ff4 100644
--- a/gnu/packages/lisp.scm
+++ b/gnu/packages/lisp.scm
@@ -6256,6 +6256,9 @@ cookie headers, cookie creation, cookie jar creation and more.")
neat APIs and connection-pooling. It is meant to supersede Drakma.")
(license license:expat))))
+(define-public ecl-dexador
+ (sbcl-package->ecl-package sbcl-dexador))
+
(define-public sbcl-lisp-namespace
(let ((commit "28107cafe34e4c1c67490fde60c7f92dc610b2e0")
(revision "1"))
--
2.23.0
bug closed, send any further explanations to
37791 <at> debbugs.gnu.org and Guillaume Le Vaillant <glv <at> posteo.net>
Request was from
Pierre Neidhardt <mail <at> ambrevar.xyz>
to
control <at> debbugs.gnu.org
.
(Mon, 21 Oct 2019 09:08:02 GMT)
Full text and
rfc822 format available.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Mon, 18 Nov 2019 12:24:11 GMT)
Full text and
rfc822 format available.
This bug report was last modified 4 years and 154 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.