Remove implementation path workaround in tests
Nick Gasson
3 years ago
0 | 0 |
slib (3b6-2) UNRELEASED; urgency=low
|
1 | 1 |
|
|
2 |
* Pre-built slibcat catalog files for MIT Scheme, Chez, and Gambit are now
|
|
3 |
installed under /var/lib/slib and (implementation-vicinity) is updated
|
|
4 |
to point to this directory in the corresponding .init files. This avoids
|
|
5 |
the need to run (require 'new-catalog) as root. (Closes: #641370)
|
2 | 6 |
* (library-vicinity) now falls back to the Debian installation directory
|
3 | 7 |
/usr/share/slib instead of upstream's hard-coded /usr/local/lib/slib.
|
4 | 8 |
(Closes: #970310)
|
5 | 9 |
* debian/patches
|
6 | |
- Chez and Gambit (implementation-vicinity) now defaults to
|
7 | |
/var/lib/slib/chez/ and /var/lib/slib/gambc/ respectively instead
|
8 | |
of upstream default /usr/local/lib/{chez,gambc}/.
|
9 | 10 |
- Fix warning when loading guile.init with guile-3.0.
|
10 | 11 |
- Make sure PACKAGE_TARNAME in configure script does not depend on
|
11 | 12 |
current working directory. Otherwise the build is not reproducible.
|
|
17 | 18 |
guile-3.0, gambit, and chezscheme.
|
18 | 19 |
* debian/postinst: remove obsolete commands to generate catalog for
|
19 | 20 |
guile-1.6.
|
20 | |
* debian/triggers: add `slib-catalog' trigger which other Scheme
|
21 | |
packages can use to regenerate the slib catalog.
|
22 | 21 |
* debian/watch: use https URL.
|
23 | 22 |
|
24 | 23 |
-- Nick Gasson <nick@nickg.me.uk> Sun, 04 Oct 2020 16:29:06 +0800
|
1 | 1 |
Section: devel
|
2 | 2 |
Priority: optional
|
3 | 3 |
Maintainer: Nick Gasson <nick@nickg.me.uk>
|
4 | |
Build-Depends: debhelper-compat (= 13), scm, texi2html, texinfo
|
|
4 |
Build-Depends: debhelper-compat (= 13), scm, texi2html, texinfo, mit-scheme,
|
|
5 |
chezscheme, gambc
|
5 | 6 |
Standards-Version: 4.5.0
|
6 | 7 |
Homepage: http://people.csail.mit.edu/jaffer/SLIB.html
|
7 | 8 |
Vcs-Browser: https://salsa.debian.org/nickg/slib
|
36 | 36 |
((ms-dos) "C:\\scheme\\")
|
37 | 37 |
((windows) "c:/scheme/")
|
38 | 38 |
diff --git a/mitscheme.init b/mitscheme.init
|
39 | |
index 764ad83..64e440d 100755
|
|
39 |
index 764ad83..9923862 100755
|
40 | 40 |
--- a/mitscheme.init
|
41 | 41 |
+++ b/mitscheme.init
|
42 | 42 |
@@ -49,7 +49,7 @@
|
|
44 | 44 |
(let ((impl-path
|
45 | 45 |
(or (getenv "MITSCHEME_IMPLEMENTATION_PATH")
|
46 | 46 |
- (->namestring (system-library-directory-pathname #f)))))
|
47 | |
+ "/var/lib/slib/mitscheme")))
|
|
47 |
+ "/var/lib/slib/mitscheme/")))
|
48 | 48 |
(lambda () impl-path)))
|
49 | 49 |
|
50 | 50 |
;;; (library-vicinity) should be defined to be the pathname of the
|
0 | 0 |
#!/bin/sh
|
1 | 1 |
set -e
|
2 | 2 |
|
3 | |
# XXX: remove this when chezscheme generates slibcat in postinst
|
4 | |
mkdir -p $AUTOPKGTEST_TMP/chez
|
5 | |
export CHEZ_IMPLEMENTATION_PATH=$AUTOPKGTEST_TMP/chez/
|
6 | |
|
7 | 3 |
chezscheme -q /usr/share/slib/chez.init debian/tests/test-script.scm
|
0 | 0 |
#!/bin/sh
|
1 | 1 |
set -e
|
2 | |
|
3 | |
# XXX: remove this when gambit generates slibcat in postinst
|
4 | |
mkdir -p $AUTOPKGTEST_TMP/gambit
|
5 | |
export GAMBIT_IMPLEMENTATION_PATH=$AUTOPKGTEST_TMP/gambit/
|
6 | 2 |
|
7 | 3 |
gsi -f /usr/share/slib/gambit.init debian/tests/test-script.scm
|
8 | 4 |
|
0 | 0 |
#!/bin/sh
|
1 | 1 |
set -e
|
2 | |
|
3 | |
# XXX: remove this when mit-scheme generates slibcat in postinst
|
4 | |
mkdir -p $AUTOPKGTEST_TMP/mit
|
5 | |
export MITSCHEME_IMPLEMENTATION_PATH=$AUTOPKGTEST_TMP/mit/
|
6 | 2 |
|
7 | 3 |
mit-scheme --batch-mode --no-init-file --load /usr/share/slib/mitscheme.init --load debian/tests/test-script.scm
|
8 | 4 |
|