Codebase list slib / 0ec0be8
Remove implementation path workaround in tests Nick Gasson 3 years ago
6 changed file(s) with 8 addition(s) and 20 deletion(s). Raw diff Collapse all Expand all
00 slib (3b6-2) UNRELEASED; urgency=low
11
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)
26 * (library-vicinity) now falls back to the Debian installation directory
37 /usr/share/slib instead of upstream's hard-coded /usr/local/lib/slib.
48 (Closes: #970310)
59 * 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}/.
910 - Fix warning when loading guile.init with guile-3.0.
1011 - Make sure PACKAGE_TARNAME in configure script does not depend on
1112 current working directory. Otherwise the build is not reproducible.
1718 guile-3.0, gambit, and chezscheme.
1819 * debian/postinst: remove obsolete commands to generate catalog for
1920 guile-1.6.
20 * debian/triggers: add `slib-catalog' trigger which other Scheme
21 packages can use to regenerate the slib catalog.
2221 * debian/watch: use https URL.
2322
2423 -- Nick Gasson <nick@nickg.me.uk> Sun, 04 Oct 2020 16:29:06 +0800
11 Section: devel
22 Priority: optional
33 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
56 Standards-Version: 4.5.0
67 Homepage: http://people.csail.mit.edu/jaffer/SLIB.html
78 Vcs-Browser: https://salsa.debian.org/nickg/slib
3636 ((ms-dos) "C:\\scheme\\")
3737 ((windows) "c:/scheme/")
3838 diff --git a/mitscheme.init b/mitscheme.init
39 index 764ad83..64e440d 100755
39 index 764ad83..9923862 100755
4040 --- a/mitscheme.init
4141 +++ b/mitscheme.init
4242 @@ -49,7 +49,7 @@
4444 (let ((impl-path
4545 (or (getenv "MITSCHEME_IMPLEMENTATION_PATH")
4646 - (->namestring (system-library-directory-pathname #f)))))
47 + "/var/lib/slib/mitscheme")))
47 + "/var/lib/slib/mitscheme/")))
4848 (lambda () impl-path)))
4949
5050 ;;; (library-vicinity) should be defined to be the pathname of the
00 #!/bin/sh
11 set -e
22
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
73 chezscheme -q /usr/share/slib/chez.init debian/tests/test-script.scm
00 #!/bin/sh
11 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/
62
73 gsi -f /usr/share/slib/gambit.init debian/tests/test-script.scm
84
00 #!/bin/sh
11 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/
62
73 mit-scheme --batch-mode --no-init-file --load /usr/share/slib/mitscheme.init --load debian/tests/test-script.scm
84