all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [PATCH] gnu: Add guildhall.
@ 2017-01-15 21:02 Ricardo Wurmus
  2017-01-16  9:55 ` Ludovic Courtès
  0 siblings, 1 reply; 4+ messages in thread
From: Ricardo Wurmus @ 2017-01-15 21:02 UTC (permalink / raw)
  To: guix-devel

* gnu/packages/guile.scm (guildhall): New variable.
---
 gnu/packages/guile.scm | 50 +++++++++++++++++++++++++++++++++++++++++++++++++-
 1 file changed, 49 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/guile.scm b/gnu/packages/guile.scm
index 7ce668368..61f62cc24 100644
--- a/gnu/packages/guile.scm
+++ b/gnu/packages/guile.scm
@@ -3,7 +3,7 @@
 ;;; Copyright © 2014, 2015 Mark H Weaver <mhw@netris.org>
 ;;; Copyright © 2015, 2017 Christopher Allan Webber <cwebber@dustycloud.org>
 ;;; Copyright © 2016 Alex Sassmannshausen <alex@pompo.co>
-;;; Copyright © 2016 Ricardo Wurmus <rekado@elephly.net>
+;;; Copyright © 2016, 2017 Ricardo Wurmus <rekado@elephly.net>
 ;;; Copyright © 2016 Erik Edrosa <erik.edrosa@gmail.com>
 ;;; Copyright © 2016 Eraim Flashner <efraim@flashner.co.il>
 ;;; Copyright © 2016 Alex Kost <alezost@gmail.com>
@@ -321,6 +321,54 @@ applicable."
             (files '("lib/guile/2.0/site-ccache"
                      "share/guile/site/2.0")))))))
 
+;; There has not been any release yet.
+(define-public guildhall
+  (let ((commit "2fe2cc539f4b811bbcd69e58738db03eb5a2b778")
+        (revision "1"))
+    (package
+      (name "guildhall")
+      (version (string-append "0-" revision "." (string-take commit 9)))
+      (source (origin
+                (method git-fetch)
+                (uri (git-reference
+                      (url "https://github.com/ijp/guildhall.git")
+                      (commit commit)))
+                (file-name (string-append name "-" version "-checkout"))
+                (sha256
+                 (base32
+                  "115bym7bg66h3gs399yb2vkzc2ygriaqsn4zbrg8f054mgy8wzn1"))))
+      (build-system gnu-build-system)
+      (arguments
+       `(;; FIXME: tests fail for unknown reason.  They seem to try to load
+         ;; the bash executable as a Scheme file.  See bug report at
+         ;; https://github.com/ijp/guildhall/issues/22
+         #:tests? #f
+         #:phases
+         (modify-phases %standard-phases
+           (add-before 'configure 'autogen
+             (lambda _
+               (zero? (system* "sh" "autogen.sh")))))))
+      (inputs
+       `(("guile" ,guile-2.0)))
+      (native-inputs
+       `(("autoconf" ,autoconf)
+         ("automake" ,automake)
+         ("texinfo" ,texinfo)))
+      (synopsis "Package manager for Guile")
+      (description
+       "Guildhall is a package manager written for Guile Scheme.  A guild is
+an association of independent craftspeople.  A guildhall is where they meet.
+This Guildhall aims to make a virtual space for Guile wizards and journeyfolk
+to share code.
+
+On a practical level, Guildhall lets you share Scheme modules and programs
+over the internet, and install code that has been shared by others.  Guildhall
+can handle dependencies, so when a program requires several libraries, and
+each of those has further dependencies, all of the prerequisites for the
+program can be installed in one go.")
+      (home-page "https://github.com/ijp/guildhall")
+      (license gpl3+))))
+
 \f
 ;;;
 ;;; Extensions.
-- 
2.11.0

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

* Re: [PATCH] gnu: Add guildhall.
  2017-01-15 21:02 [PATCH] gnu: Add guildhall Ricardo Wurmus
@ 2017-01-16  9:55 ` Ludovic Courtès
  2017-01-16 22:50   ` Ricardo Wurmus
  0 siblings, 1 reply; 4+ messages in thread
From: Ludovic Courtès @ 2017-01-16  9:55 UTC (permalink / raw)
  To: Ricardo Wurmus; +Cc: guix-devel

Ricardo Wurmus <rekado@elephly.net> skribis:

> * gnu/packages/guile.scm (guildhall): New variable.

[...]

> +       `(;; FIXME: tests fail for unknown reason.  They seem to try to load
> +         ;; the bash executable as a Scheme file.  See bug report at
> +         ;; https://github.com/ijp/guildhall/issues/22
> +         #:tests? #f

I think that’s because Makefile.am has:

  TESTS_ENVIRONMENT = $(GUILE) …

whereas it should instead do (assuming test files have the .scm
extension):

  SCM_LOG_DRIVER = $(GUILE) …

and have ‘TESTS_ENVIRONMENT’ contain only environment variables.

See
<http://git.savannah.gnu.org/cgit/skribilo.git/commit/?id=d3a740cca088e6ec981e4b80a10f53fcfe094511>
for an example of the modification that is needed.

Also, maybe add a ‘package-for-guile-2.2’ variant if that works (which
seems unlikely…).

Thanks!

Ludo’.

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

* Re: [PATCH] gnu: Add guildhall.
  2017-01-16  9:55 ` Ludovic Courtès
@ 2017-01-16 22:50   ` Ricardo Wurmus
  2017-01-17 22:53     ` Ludovic Courtès
  0 siblings, 1 reply; 4+ messages in thread
From: Ricardo Wurmus @ 2017-01-16 22:50 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: guix-devel


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

> Ricardo Wurmus <rekado@elephly.net> skribis:
>
>> * gnu/packages/guile.scm (guildhall): New variable.
>
> [...]
>
>> +       `(;; FIXME: tests fail for unknown reason.  They seem to try to load
>> +         ;; the bash executable as a Scheme file.  See bug report at
>> +         ;; https://github.com/ijp/guildhall/issues/22
>> +         #:tests? #f
>
> I think that’s because Makefile.am has:
>
>   TESTS_ENVIRONMENT = $(GUILE) …
>
> whereas it should instead do (assuming test files have the .scm
> extension):
>
>   SCM_LOG_DRIVER = $(GUILE) …
>
> and have ‘TESTS_ENVIRONMENT’ contain only environment variables.
>
> See
> <http://git.savannah.gnu.org/cgit/skribilo.git/commit/?id=d3a740cca088e6ec981e4b80a10f53fcfe094511>
> for an example of the modification that is needed.

Interesting.  Do you want me to patch this in our package or should I
just forward this info to upstream and have them fix it?  (There’s an
open uncommented bug report about this.)

> Also, maybe add a ‘package-for-guile-2.2’ variant if that works (which
> seems unlikely…).

Okay.

-- 
Ricardo

GPG: BCA6 89B6 3655 3801 C3C6  2150 197A 5888 235F ACAC
https://elephly.net

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

* Re: [PATCH] gnu: Add guildhall.
  2017-01-16 22:50   ` Ricardo Wurmus
@ 2017-01-17 22:53     ` Ludovic Courtès
  0 siblings, 0 replies; 4+ messages in thread
From: Ludovic Courtès @ 2017-01-17 22:53 UTC (permalink / raw)
  To: Ricardo Wurmus; +Cc: guix-devel

Ricardo Wurmus <rekado@elephly.net> skribis:

> Ludovic Courtès <ludo@gnu.org> writes:
>
>> Ricardo Wurmus <rekado@elephly.net> skribis:
>>
>>> * gnu/packages/guile.scm (guildhall): New variable.
>>
>> [...]
>>
>>> +       `(;; FIXME: tests fail for unknown reason.  They seem to try to load
>>> +         ;; the bash executable as a Scheme file.  See bug report at
>>> +         ;; https://github.com/ijp/guildhall/issues/22
>>> +         #:tests? #f
>>
>> I think that’s because Makefile.am has:
>>
>>   TESTS_ENVIRONMENT = $(GUILE) …
>>
>> whereas it should instead do (assuming test files have the .scm
>> extension):
>>
>>   SCM_LOG_DRIVER = $(GUILE) …
>>
>> and have ‘TESTS_ENVIRONMENT’ contain only environment variables.
>>
>> See
>> <http://git.savannah.gnu.org/cgit/skribilo.git/commit/?id=d3a740cca088e6ec981e4b80a10f53fcfe094511>
>> for an example of the modification that is needed.
>
> Interesting.  Do you want me to patch this in our package or should I
> just forward this info to upstream and have them fix it?  (There’s an
> open uncommented bug report about this.)

You could do both, but at least report it upstream since it’s easily
fixed.

TIA!
Ludo’.

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

end of thread, other threads:[~2017-01-17 22:54 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-01-15 21:02 [PATCH] gnu: Add guildhall Ricardo Wurmus
2017-01-16  9:55 ` Ludovic Courtès
2017-01-16 22:50   ` Ricardo Wurmus
2017-01-17 22:53     ` Ludovic Courtès

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.