bug#69129: [PATCH] gnu: sbcl-mcclim: Update to 0.9.8.

2024-02-17 Thread Sharlatan Hellseher
Hi Carlo,

Thank you for the patch!

May you split it into 2 please? One just updating version and adding missing
inputs the other indent it. It would ease the review process to visually
identify what was changed.

Looking froward for v2!

Thanks,
Oleg





bug#69129: [PATCH] gnu: sbcl-mcclim: Update to 0.9.8.

2024-02-17 Thread Carlo Zancanaro
* gnu/packages/lisp-xyz.scm (sbcl-mcclim): Update to 0.9.8, and add
sbcl-cluffer and sbcl-lorem-ipsum inputs.

Change-Id: I35bed62483973e2dd6f6f142df096abf765b4208
---

I have attempted to update sbcl-mcclim. I tested using the same steps
as Guillaume:

  $ guix shell sbcl sbcl-mcclim -- sbcl --no-userinit

Then at the sbcl prompt I ran:

  (require :asdf)
  (asdf:load-system "clim-examples")
  (clim-demo:demodemo)

Then I opened the stream test and it seemed to work properly. Testing
without this patch I could reproduce the failure, so hopefully this
fixes the real problems, too.

I didn't properly check all of the inputs, I just added the inputs
that I needed to make asdf happy and for it to build.

 gnu/packages/lisp-xyz.scm | 128 +++---
 1 file changed, 64 insertions(+), 64 deletions(-)

diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index 045a3e939a..7b145398fa 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -15481,71 +15481,71 @@ (define-public ecl-dejavu
   (sbcl-package->ecl-package sbcl-cl-dejavu))
 
 (define-public sbcl-mcclim
-  (let ((commit "ece91cf035e2ccb1c6eb0bb867ae2bc45f627982")
-(revision "3"))
-(package
-  (name "sbcl-mcclim")
-  (version (git-version "0.9.7" revision commit))
-  (source
-   (origin
- (method git-fetch)
- (uri (git-reference
-   (url "https://codeberg.org/McCLIM/McCLIM";)
-   (commit commit)))
- (file-name (git-file-name "cl-mcclim" version))
- (sha256
-  (base32 "0prn4f0nz604ykcg8004f1vndgjm7181wrlblq6mhasphca28c2k"
-  (build-system asdf-build-system/sbcl)
-  (native-inputs
-   (list sbcl-fiveam pkg-config))
-  (inputs
-   (list fontconfig
- freetype
- harfbuzz
- sbcl-alexandria
- sbcl-babel
- sbcl-bordeaux-threads
- sbcl-cffi
- sbcl-cl-base64
- sbcl-cl-dejavu
- sbcl-cl-freetype2
- sbcl-cl-pdf
- sbcl-cl-unicode
- sbcl-cl-vectors
- sbcl-cl-who
- sbcl-closer-mop
- sbcl-clx
- sbcl-flexi-streams
- sbcl-flexichain
- sbcl-log4cl
- sbcl-opticl
- sbcl-slime-swank
- sbcl-spatial-trees
- sbcl-trivial-features
- sbcl-trivial-garbage
- sbcl-trivial-gray-streams
- sbcl-zpb-ttf))
-  (arguments
-   '(#:asd-systems '("mcclim"
- "clim-examples"
- ;; clim-debugger is required by cleavir.
- "clim-debugger")
- #:phases
- (modify-phases %standard-phases
-   (add-after 'unpack 'fix-paths
- (lambda* (#:key inputs #:allow-other-keys)
-   (substitute* "Extensions/fontconfig/src/functions.lisp"
- (("libfontconfig\\.so")
-  (search-input-file inputs "/lib/libfontconfig.so")))
-   (substitute* "Extensions/harfbuzz/src/functions.lisp"
- (("libharfbuzz\\.so")
-  (search-input-file inputs "/lib/libharfbuzz.so"
-  (home-page "https://mcclim.common-lisp.dev/";)
-  (synopsis "Common Lisp GUI toolkit")
-  (description
-   "McCLIM is an implementation of the @emph{Common Lisp Interface Manager
+  (package
+(name "sbcl-mcclim")
+(version "0.9.8")
+(source
+ (origin
+   (method git-fetch)
+   (uri (git-reference
+ (url "https://codeberg.org/McCLIM/McCLIM";)
+ (commit "0.9.8-yule")))
+   (file-name (git-file-name "cl-mcclim" version))
+   (sha256
+(base32 "0gbi61jnnsz6fvhv18mf57jkq46bvcd0355vqdcnrni7xyi10sk8"
+(build-system asdf-build-system/sbcl)
+(native-inputs
+ (list sbcl-fiveam pkg-config))
+(inputs
+ (list fontconfig
+   freetype
+   harfbuzz
+   sbcl-alexandria
+   sbcl-babel
+   sbcl-bordeaux-threads
+   sbcl-cffi
+   sbcl-cl-base64
+   sbcl-cl-dejavu
+   sbcl-cl-freetype2
+   sbcl-cl-pdf
+   sbcl-cl-unicode
+   sbcl-cl-vectors
+   sbcl-cl-who
+   sbcl-closer-mop
+   sbcl-cluffer
+   sbcl-clx
+   sbcl-flexi-streams
+   sbcl-flexichain
+   sbcl-log4cl
+   sbcl-lorem-ipsum
+   sbcl-opticl
+   sbcl-slime-swank
+   sbcl-spatial-trees
+   sbcl-trivial-features
+   sbcl-trivial-garbage
+   sbcl-trivial-gray-streams
+   sbcl-zpb-ttf))
+(arguments
+ '(#:asd-systems '("mcclim"
+   "clim-examples"
+   ;; clim-debugger is required by cleavir.
+   "clim-debugger")
+   #:phases
+   (modify-phases %standard-phases
+ (add-aft