Skip to content

Commit

Permalink
shen-cl: bump to 38.2
Browse files Browse the repository at this point in the history
  • Loading branch information
echawk committed Apr 26, 2024
1 parent 425a8fd commit 7f69f38
Show file tree
Hide file tree
Showing 7 changed files with 43 additions and 20 deletions.
13 changes: 11 additions & 2 deletions langs/shen-cl/build
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,13 @@ export DESTDIR="$1"
unzip ./*.zip
cd "S$2/"

patch -p1 < ../ccl-and-ecl-support.patch
git init
git add .
git commit -m "init"
git apply ../0001-Support-CCL-ECL.patch

mkdir -p "$1/usr/bin/"
for lisp in sbcl ccl clisp; do
for lisp in sbcl ccl; do
if command -v "$lisp"; then
case "$lisp" in
clisp)
Expand All @@ -24,3 +27,9 @@ for lisp in sbcl ccl clisp; do
cp "$lisp-shen.exe" "$1/usr/bin/shen-$lisp"
fi
done
rm -rf .git/

cd "$OLDPWD"
mkdir -p "$1/usr/share/shen/"
cp -r "S$2" "$1/usr/share/shen/"

4 changes: 2 additions & 2 deletions langs/shen-cl/checksums
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
0031e1436cc40663c7347ab4ea563d3ca1cd61d5b68d7af0136bb17d07c705eb8c
a8253ecf2acb3178d83116f89cbc4acaed03cb888fcaeb856e8e811032e23fe67a
41e482d4c095ca2fa4ead2773357c18edf6c45478f4c17b09c9e8e9ec7a56ead98
b9c60760ec8b26b2ac09f62ceb482b83049bf21a0a7df354203b04339591651061
1 change: 1 addition & 0 deletions langs/shen-cl/depends
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
git make
sbcl
2 changes: 1 addition & 1 deletion langs/shen-cl/esources
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
https://www.shenlanguage.org/Download/SVERSION.zip
patches/ccl-and-ecl-support.patch
patches/0001-Support-CCL-ECL.patch
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
From fc0c55115dfccb802953cfb38aa4d32dbf7cd251 Mon Sep 17 00:00:00 2001
From: Ethan <[email protected]>
Date: Thu, 25 Apr 2024 22:02:38 -0500
Subject: [PATCH] Support CCL & ECL

---
Primitives/char-stinput.lsp | 7 +++++++
Primitives/globals.lsp | 8 +++++++-
install.lsp | 8 +++++++-
3 files changed, 21 insertions(+), 2 deletions(-)

diff --git a/Primitives/char-stinput.lsp b/Primitives/char-stinput.lsp
index d0c7cab..9b09019 100644
--- a/Primitives/char-stinput.lsp
Expand All @@ -14,7 +25,7 @@ index d0c7cab..9b09019 100644
+#+ECL
+(DEFUN shen.char-stinput? (Stream) 'false)
diff --git a/Primitives/globals.lsp b/Primitives/globals.lsp
index b3b52b3..e4ffbaf 100644
index b3b52b3..268b770 100644
--- a/Primitives/globals.lsp
+++ b/Primitives/globals.lsp
@@ -14,4 +14,10 @@
Expand All @@ -23,28 +34,30 @@ index b3b52b3..e4ffbaf 100644
#+CLISP
-(SETQ *release* "2.49")
\ No newline at end of file
+(SETQ *release* "2.49")
+
+#+CCL
+(SETQ *release* "1.12.1")
+
+#+ECL
+(SETQ *release* "21.2.1")
+(SETQ *release* "2.49")
+
+#+CCL
+(SETQ *release* "1.12.1")
+
+#+ECL
+(SETQ *release* "23.9.9")
diff --git a/install.lsp b/install.lsp
index aa88b03..7950209 100644
index ba74e45..00947ef 100644
--- a/install.lsp
+++ b/install.lsp
@@ -109,4 +109,11 @@
@@ -109,4 +109,10 @@
(EXT:SAVEINITMEM "clisp-shen.exe" :EXECUTABLE 0 :QUIET T :INIT-FUNCTION 'shen.shen)

#+CLISP
-(BYE)
\ No newline at end of file
+(BYE)
+(BYE)
+
+#+CCL
+(CCL:SAVE-APPLICATION "ccl-shen.exe" :PREPEND-KERNEL T :TOPLEVEL-FUNCTION 'shen.shen)
+
+#+CCL
+(QUIT)
+
--
2.42.0

4 changes: 2 additions & 2 deletions langs/shen-cl/sources
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
https://www.shenlanguage.org/Download/S38.1.zip
patches/ccl-and-ecl-support.patch
https://www.shenlanguage.org/Download/S38.2.zip
patches/0001-Support-CCL-ECL.patch
2 changes: 1 addition & 1 deletion langs/shen-cl/version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
38.1 1
38.2 1

0 comments on commit 7f69f38

Please sign in to comment.