Subject: [PATCH 1/4]: Add new Common Lisp systems: messagebox, glsl-toolkit, simple-tasks, trivial-main-thread

From: Sharlatan Hellseher <[email-masked]>
Date: Sat, 8 May 2021 20:53:01 +0000

Hi Guix team!

Free time - new packages :)

Here is other set of patches for Trial game engine.

--8<---------------cut here---------------start------------->8---
[env: /gnu/store/5sxv0gy7jzaga531zpnfs32bmpvp6vgb-profile] >
./pre-inst-env guix build --rounds=2 sbcl-messagebox ecl-messagebox
sbcl-glsl-toolkit ecl-glsl-toolkit sbcl-simple-tasks ecl-simple-tasks
sbcl-trivial-main-thread ecl-trivial-main-thread
/gnu/store/k9ayxgapb0xi7sd803n261cvngw9qqvv-ecl-trivial-main-thread-1.0.0-1.25f1149
/gnu/store/8k1mlbwb9hbrywq80h3s6z0a1pqc4s3f-sbcl-trivial-main-thread-1.0.0-1.25f1149
/gnu/store/q7mjrp8z7kvb1f2lrj3lrkqmjb6ycalz-ecl-simple-tasks-1.3.0-1.745d4b5
/gnu/store/1dhgb3rglhv7fjslrzmc31kdk25ddbm9-sbcl-simple-tasks-1.3.0-1.745d4b5
/gnu/store/y5a3bnww1p7f4a81zd7c32gr6a644fcr-ecl-glsl-toolkit-1.0.0-1.d00ba19
/gnu/store/88hzg2qmvzpdp6n8cismcqfrp7y74cqf-sbcl-glsl-toolkit-1.0.0-1.d00ba19
/gnu/store/7yhhys3wp5wwgf25hw7yvps0f1w0i0np-ecl-messagebox-1.0.0-1.ea3688d
/gnu/store/cyghig95zwwfnmvys58snh22wc8hc3r7-sbcl-messagebox-1.0.0-1.ea3688d
--8<---------------cut here---------------end--------------->8---

Progress so far:
https://github.com/Hellseher/guix-channel/blob/main/lisp-xyz.org#trial-040
-- 
… наш разум - превосходная объяснительная машина которая способна
найти смысл почти в чем угодно, истолковать любой феномен, но
совершенно не в состоянии принять мысль о непредсказуемости.
From ff5a2aaaa26e51485d12118345ef9dae0ece1f2c Mon Sep 17 00:00:00 2001
From: Sharlatan Hellseher <[email-masked]>
Date: Sat, 8 May 2021 21:26:15 +0100
Subject: [PATCH 1/4] gnu: Add messagebox

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

diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index 0824fa1d82..2c8966651d 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -16434,3 +16434,36 @@ operations in 3D space.")
 
 (define-public cl-3d-matrices
   (sbcl-package->cl-source-package sbcl-3d-matrices))
+
+(define-public sbcl-messagebox
+  (let ((commit "ea3688d9a9954bee7079c0173bc7b3f327021e9f")
+        (revision "1"))
+    (package
+      (name "sbcl-messagebox")
+      (version (git-version "1.0.0" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/Shinmera/messagebox.git")
+               (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "0jkbzlca0wvspgsfj0b0hjwlyyy8jlywsldsbkp79q48fc3aa8jd"))))
+      (build-system asdf-build-system/sbcl)
+      (inputs
+       `(("documentation-utils" ,sbcl-documentation-utils)
+         ("trivial-features" ,sbcl-trivial-features)))
+      (home-page "https://shinmera.github.io/messagebox/")
+      (synopsis "Display a native GUI message box")
+      (description
+       "This is a small library to display a native GUI message box.  This can be
+useful to show error messages and other informational pieces should the
+application fail and be unable to do so using its standard UI.")
+      (license license:zlib))))
+
+(define-public ecl-messagebox
+  (sbcl-package->ecl-package sbcl-messagebox))
+
+(define-public cl-messagebox
+  (sbcl-package->cl-source-package sbcl-messagebox))
-- 
2.31.1