unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#33766] [PATCH] gnu: stumpwm: Update to 18.11.
@ 2018-12-16 12:35 Pierre Langlois
  2018-12-16 15:24 ` bug#33766: " Ludovic Courtès
  0 siblings, 1 reply; 4+ messages in thread
From: Pierre Langlois @ 2018-12-16 12:35 UTC (permalink / raw)
  To: 33766

[-- Attachment #1: Type: text/plain, Size: 457 bytes --]

Hello Guix!

Here are a couple of patches to update StumpWM.  It now runs a testsuite
that relies on fiasco [0] so the first patch packages it.  I'm afraid
there doesn't seem to be a released version so this is packaging the
current HEAD of the git repository.  There is a tarball on github but it
looks like it's just a snapshot of the repository from 2014, it doesn't
seem to be a actual release.

Thanks!
Pierre

0: https://github.com/joaotavora/fiasco


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-gnu-Add-sbcl-fiasco.patch --]
[-- Type: text/x-patch, Size: 2239 bytes --]

From 7a9ca7e97052d2e8531aac4c47066ef83a08bc2d Mon Sep 17 00:00:00 2001
From: Pierre Langlois <pierre.langlois@gmx.com>
Date: Sat, 15 Dec 2018 22:35:26 +0000
Subject: [PATCH 1/2] gnu: Add sbcl-fiasco.

* gnu/packages/lisp.scm (sbcl-fiasco, cl-fiasco, ecl-fiasco): New variables.
---
 gnu/packages/lisp.scm | 36 ++++++++++++++++++++++++++++++++++++
 1 file changed, 36 insertions(+)

diff --git a/gnu/packages/lisp.scm b/gnu/packages/lisp.scm
index f3f9165a1..64f4e7d85 100644
--- a/gnu/packages/lisp.scm
+++ b/gnu/packages/lisp.scm
@@ -771,6 +771,42 @@ thin compatibility layer for gray streams.")
 (define-public ecl-trivial-gray-streams
   (sbcl-package->ecl-package sbcl-trivial-gray-streams))
 
+(define-public sbcl-fiasco
+  (let ((commit "d62f7558b21addc89f87e306f65d7f760632655f")
+        (revision "1"))
+    (package
+      (name "sbcl-fiasco")
+      (version (git-version "0.0.1" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/joaotavora/fiasco.git")
+               (commit commit)))
+         (file-name (git-file-name "fiasco" version))
+         (sha256
+          (base32
+           "1zwxs3d6iswayavcmb49z2892xhym7n556d8dnmvalc32pm9bkjh"))))
+      (build-system asdf-build-system/sbcl)
+      (inputs
+       `(("alexandria" ,sbcl-alexandria)
+         ("trivial-gray-streams" ,sbcl-trivial-gray-streams)))
+      (synopsis "Simple and powerful test framework for Common Lisp")
+      (description "A Common Lisp test framework that treasures your failures,
+logical continuation of Stefil.  It focuses on interactive debugging.")
+      (home-page "https://github.com/joaotavora/fiasco")
+      ;; LICENCE specifies this is public-domain unless the legislation
+      ;; doesn't allow or recognize it.  In that case it falls back to a
+      ;; permissive licence.
+      (license (list license:public-domain
+                     (license:x11-style "file://LICENCE"))))))
+
+(define-public cl-fiasco
+  (sbcl-package->cl-source-package sbcl-fiasco))
+
+(define-public ecl-fiasco
+  (sbcl-package->ecl-package sbcl-fiasco))
+
 (define-public sbcl-flexi-streams
   (package
     (name "sbcl-flexi-streams")
-- 
2.20.0


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #3: 0002-gnu-stumpwm-Update-to-18.11.patch --]
[-- Type: text/x-patch, Size: 1372 bytes --]

From 5d7c72eea672bf2dff28f5f5cea9b22b5399ff01 Mon Sep 17 00:00:00 2001
From: Pierre Langlois <pierre.langlois@gmx.com>
Date: Sat, 15 Dec 2018 22:38:53 +0000
Subject: [PATCH 2/2] gnu: stumpwm: Update to 18.11.

* gnu/packages/lisp.scm (stumpwm): Update to 18.11.
[native-inputs]: New field.
---
 gnu/packages/lisp.scm | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/lisp.scm b/gnu/packages/lisp.scm
index 64f4e7d85..9e66dccfd 100644
--- a/gnu/packages/lisp.scm
+++ b/gnu/packages/lisp.scm
@@ -967,16 +967,17 @@ from other CLXes around the net.")
 (define-public stumpwm
   (package
     (name "stumpwm")
-    (version "18.05")
+    (version "18.11")
     (source (origin
               (method url-fetch)
               (uri (string-append
                     "https://github.com/stumpwm/stumpwm/archive/"
                     version ".tar.gz"))
               (sha256
-               (base32 "1n2gaab3lwgf5r1hmwdcw13dkv9xdd7drn2shx28kfxvhdc9kbb9"))
+               (base32 "177gxfk4c127i9crghx6fmkipznhgylvzgnjb2pna38g21gg6s39"))
               (file-name (string-append "stumpwm-" version ".tar.gz"))))
     (build-system asdf-build-system/sbcl)
+    (native-inputs `(("fiasco" ,sbcl-fiasco)))
     (inputs `(("cl-ppcre" ,sbcl-cl-ppcre)
               ("clx" ,sbcl-clx)
               ("alexandria" ,sbcl-alexandria)))
-- 
2.20.0


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

* bug#33766: [PATCH] gnu: stumpwm: Update to 18.11.
  2018-12-16 12:35 [bug#33766] [PATCH] gnu: stumpwm: Update to 18.11 Pierre Langlois
@ 2018-12-16 15:24 ` Ludovic Courtès
  2018-12-16 15:30   ` [bug#33766] " Pierre Langlois
  0 siblings, 1 reply; 4+ messages in thread
From: Ludovic Courtès @ 2018-12-16 15:24 UTC (permalink / raw)
  To: Pierre Langlois; +Cc: 33766-done

Hi Pierre!

Pierre Langlois <pierre.langlois@gmx.com> skribis:

>>From 7a9ca7e97052d2e8531aac4c47066ef83a08bc2d Mon Sep 17 00:00:00 2001
> From: Pierre Langlois <pierre.langlois@gmx.com>
> Date: Sat, 15 Dec 2018 22:35:26 +0000
> Subject: [PATCH 1/2] gnu: Add sbcl-fiasco.
>
> * gnu/packages/lisp.scm (sbcl-fiasco, cl-fiasco, ecl-fiasco): New variables.

[...]

>>From 5d7c72eea672bf2dff28f5f5cea9b22b5399ff01 Mon Sep 17 00:00:00 2001
> From: Pierre Langlois <pierre.langlois@gmx.com>
> Date: Sat, 15 Dec 2018 22:38:53 +0000
> Subject: [PATCH 2/2] gnu: stumpwm: Update to 18.11.
>
> * gnu/packages/lisp.scm (stumpwm): Update to 18.11.
> [native-inputs]: New field.

Applied both, thank you!

Ludo’.

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

* [bug#33766] [PATCH] gnu: stumpwm: Update to 18.11.
  2018-12-16 15:24 ` bug#33766: " Ludovic Courtès
@ 2018-12-16 15:30   ` Pierre Langlois
  2018-12-17  3:15     ` Brett Gilio
  0 siblings, 1 reply; 4+ messages in thread
From: Pierre Langlois @ 2018-12-16 15:30 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: 33766-done


Ludovic Courtès writes:

> Hi Pierre!
>
> Pierre Langlois <pierre.langlois@gmx.com> skribis:
>
>>>From 7a9ca7e97052d2e8531aac4c47066ef83a08bc2d Mon Sep 17 00:00:00 2001
>> From: Pierre Langlois <pierre.langlois@gmx.com>
>> Date: Sat, 15 Dec 2018 22:35:26 +0000
>> Subject: [PATCH 1/2] gnu: Add sbcl-fiasco.
>>
>> * gnu/packages/lisp.scm (sbcl-fiasco, cl-fiasco, ecl-fiasco): New variables.
>
> [...]
>
>>>From 5d7c72eea672bf2dff28f5f5cea9b22b5399ff01 Mon Sep 17 00:00:00 2001
>> From: Pierre Langlois <pierre.langlois@gmx.com>
>> Date: Sat, 15 Dec 2018 22:38:53 +0000
>> Subject: [PATCH 2/2] gnu: stumpwm: Update to 18.11.
>>
>> * gnu/packages/lisp.scm (stumpwm): Update to 18.11.
>> [native-inputs]: New field.
>
> Applied both, thank you!

Awesome, thank you!
Pierre

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

* [bug#33766] [PATCH] gnu: stumpwm: Update to 18.11.
  2018-12-16 15:30   ` [bug#33766] " Pierre Langlois
@ 2018-12-17  3:15     ` Brett Gilio
  0 siblings, 0 replies; 4+ messages in thread
From: Brett Gilio @ 2018-12-17  3:15 UTC (permalink / raw)
  To: Pierre Langlois; +Cc: 33766-done


Pierre Langlois writes:

> Ludovic Courtès writes:
>
>> Hi Pierre!
>>
>> Pierre Langlois <pierre.langlois@gmx.com> skribis:
>>
>>>>From 7a9ca7e97052d2e8531aac4c47066ef83a08bc2d Mon Sep 17 00:00:00 2001
>>> From: Pierre Langlois <pierre.langlois@gmx.com>
>>> Date: Sat, 15 Dec 2018 22:35:26 +0000
>>> Subject: [PATCH 1/2] gnu: Add sbcl-fiasco.
>>>
>>> * gnu/packages/lisp.scm (sbcl-fiasco, cl-fiasco, ecl-fiasco): New variables.
>>
>> [...]
>>
>>>>From 5d7c72eea672bf2dff28f5f5cea9b22b5399ff01 Mon Sep 17 00:00:00 2001
>>> From: Pierre Langlois <pierre.langlois@gmx.com>
>>> Date: Sat, 15 Dec 2018 22:38:53 +0000
>>> Subject: [PATCH 2/2] gnu: stumpwm: Update to 18.11.
>>>
>>> * gnu/packages/lisp.scm (stumpwm): Update to 18.11.
>>> [native-inputs]: New field.
>>
>> Applied both, thank you!
>
> Awesome, thank you!
> Pierre

Thank you for updating this, Pierre. I switched to StumpWM yesterday,
and it is working fine!

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

end of thread, other threads:[~2018-12-17  3:31 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-12-16 12:35 [bug#33766] [PATCH] gnu: stumpwm: Update to 18.11 Pierre Langlois
2018-12-16 15:24 ` bug#33766: " Ludovic Courtès
2018-12-16 15:30   ` [bug#33766] " Pierre Langlois
2018-12-17  3:15     ` Brett Gilio

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).