From 9759d086b03352d87bb7b536132d3ef731cdbc3c Mon Sep 17 00:00:00 2001 From: "Thomas Bushnell, BSG" Date: Tue, 24 Oct 2006 17:45:55 -0700 Subject: Import Debian changes 3a4-2 slib (3a4-2) unstable; urgency=low * guile.init (library-vicinity): Set default location of slib to /usr/share/slib instead of /usr/lib/slib. * RScheme.init (library-vicinity): Likewise. * require.scm: Work around the fact that scm versions < 5e3 set *features* but not slib:features. --- RScheme.init | 2 +- debian/changelog | 11 +++++++++++ guile.init | 2 +- require.scm | 7 +++++++ 4 files changed, 20 insertions(+), 2 deletions(-) diff --git a/RScheme.init b/RScheme.init index 544bca1..4f80b41 100644 --- a/RScheme.init +++ b/RScheme.init @@ -48,7 +48,7 @@ ;; Use this path if your scheme does not support GETENV ;; or if SCHEME_LIBRARY_PATH is not set. (case (software-type) - ((unix) "/usr/lib/slib/") + ((unix) "/usr/share/slib/") ((vms) "lib$scheme:") ((ms-dos) "C:\\SLIB\\") (else ""))))) diff --git a/debian/changelog b/debian/changelog index cbaf603..e4ee187 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,14 @@ +slib (3a4-2) unstable; urgency=low + + * guile.init (library-vicinity): Set default location of slib to + /usr/share/slib instead of /usr/lib/slib. + * RScheme.init (library-vicinity): Likewise. + + * require.scm: Work around the fact that scm versions < 5e3 set + *features* but not slib:features. + + -- Thomas Bushnell, BSG Tue, 24 Oct 2006 17:45:55 -0700 + slib (3a4-1) unstable; urgency=low * New upstream release. diff --git a/guile.init b/guile.init index 9cf6ed4..412a6b4 100644 --- a/guile.init +++ b/guile.init @@ -58,7 +58,7 @@ (and (defined? 'getenv) (getenv "SCHEME_LIBRARY_PATH")) ;; Use this path if your scheme does not support GETENV ;; or if SCHEME_LIBRARY_PATH is not set. - "/usr/lib/slib/" + "/usr/share/slib/" (in-vicinity (implementation-vicinity) "slib/")))) (lambda () library-path))) diff --git a/require.scm b/require.scm index 31d922d..d9edb91 100644 --- a/require.scm +++ b/require.scm @@ -19,6 +19,13 @@ ;@ (define *slib-version* "3a4") +;;;; Accommodate scm versions < 5e3 which set *features* but not +;;;; slib:features +;;;; -- tb@debian.org, 10/24/2006 +(if (and (eq? (scheme-implementation-type) 'SCM) + (not (defined? slib:features))) + (define slib:features *features*)) + ;;;; MODULES ;@ (define *catalog* #f) -- cgit v1.2.3