summaryrefslogtreecommitdiffstats
path: root/debian
diff options
context:
space:
mode:
Diffstat (limited to 'debian')
-rw-r--r--debian/changelog133
-rw-r--r--debian/control13
-rw-r--r--debian/copyright16
-rw-r--r--debian/postinst12
-rw-r--r--debian/postrm4
-rw-r--r--debian/prerm8
-rw-r--r--debian/require.scm.debian2
-rwxr-xr-xdebian/rules151
8 files changed, 339 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..981ac53
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,133 @@
+scm (5d2-3) unstable frozen; urgency=low
+
+ * Fix libncurses4-dev -> libncurses5-dev build depend (Closes: #58435)
+ * Fix libreadline2-dev -> libreadline4-dev build depend.
+ * Fix license location in copyright file (lintian warning)
+ * Add tetex-bin as a build depend (needs makeinfo) (Closes: #53197)
+ * Add -isp option to dpkg-gencontrol (lintian error)
+ * Move scm to section interpreters.
+
+ -- James LewisMoss <dres@debian.org> Sun, 12 Mar 2000 09:04:17 -0500
+
+scm (5d2-2) unstable; urgency=low
+
+ * Apply patch from upstream for bug in eval.c. (Picked up from
+ comp.lang.scheme)
+ * Add Build-Depends on slib, librx1g-dev, libncurses4-dev, libreadlineg2-dev.
+ * Up standards version.
+ * Correct description: this is an R5RS implementation now
+ * Make sure no optimizations are done on m68k. (Closes: #52434)
+
+ -- James LewisMoss <dres@debian.org> Thu, 16 Dec 1999 23:53:15 -0500
+
+scm (5d2-1) unstable; urgency=low
+
+ * New upstream.
+
+ -- James LewisMoss <dres@debian.org> Mon, 6 Dec 1999 19:30:02 -0500
+
+scm (5d1-2) unstable; urgency=low
+
+ * Remove TAGS on clean (cut the diff back down to reasonable size).
+
+ -- James LewisMoss <dres@debian.org> Sat, 13 Nov 1999 14:10:10 -0500
+
+scm (5d1-1) unstable; urgency=low
+
+ * New upstream.
+ * move stuff to /usr/share.
+
+ -- James LewisMoss <dres@debian.org> Sat, 13 Nov 1999 13:26:46 -0500
+
+scm (5d0-3) unstable; urgency=low
+
+ * Change scmlit call to ./scmlit call (missed one) (Fixes bugs #37455
+ and #35545)
+ * Change man file permissions to 644 (fixes lintian warning)
+
+ -- James LewisMoss <dres@debian.org> Wed, 12 May 1999 22:39:54 -0400
+
+scm (5d0-2) unstable; urgency=low
+
+ * Removed call to add_final in init_crs. lendwin doesn't do anything
+ and scm was crashing when quit everytime in final_scm.
+ * Changed copyright to reflect new source.
+
+ -- James LewisMoss <dres@debian.org> Thu, 11 Mar 1999 22:13:19 -0500
+
+scm (5d0-1) unstable; urgency=low
+
+ * New upstream.
+ * Changed (terms) to access "/usr/doc/copyright/GPL".
+ * Changed regex to use -lrx
+
+ -- James LewisMoss <dres@debian.org> Sun, 7 Mar 1999 12:39:16 -0500
+
+scm (5c3-6) unstable; urgency=low
+
+ * New maintainer.
+
+ -- James LewisMoss <dres@debian.org> Fri, 26 Feb 1999 00:45:30 -0500
+
+scm (5c3-5) frozen unstable; urgency=low
+
+ * debian/rules chmod +x's bld.scm. Fixes #30521.
+
+ -- David N. Welton <davidw@efn.org> Fri, 11 Dec 1998 20:21:49 -0800
+
+scm (5c3-4) frozen unstable; urgency=low
+
+ * Made bld.scm executable. Fixes #29578.
+
+ -- David N. Welton <davidw@efn.org> Mon, 30 Nov 1998 20:57:12 -0800
+
+scm (5c3-3) frozen unstable; urgency=low
+
+ * -nw
+ * Fixes #16762.
+ * Fixes #18163.
+ * Fixes #18164.
+ * Fixes #23743.
+ * Fixes #24098.
+ * Fixes #24099.
+ * Fixes #24547.
+
+ -- David N. Welton <davidw@efn.org> Mon, 9 Nov 1998 21:41:29 -0800
+
+scm (5c3-2) frozen unstable; urgency=low
+
+ * Re-uploading for slink freeze.
+
+ -- David N. Welton <davidw@efn.org> Mon, 2 Nov 1998 21:06:01 -0800
+
+scm (5c3-1) unstable; urgency=low
+
+ * New upstream version.
+
+ -- David N. Welton <davidw@efn.org> Thu, 29 Oct 1998 21:37:49 -0800
+
+scm (5b3-1) unstable; urgency=low
+
+ * New maintainer
+ * New version
+ * libc6
+
+ -- Rob Browning <rlb@cs.utexas.edu> Fri, 12 Dec 1997 17:29:42 -0600
+
+scm (4e6-2) unstable; urgency=low
+
+ * Recompiled to use regex0.
+
+ -- Karl Sackett <krs@debian.org> Wed, 18 Dec 1996 13:27:20 -0600
+
+scm (4e6-1) unstable; urgency=low
+
+ * First Debian release.
+ * Makefile.in: scm compiles with regex.
+
+ -- Karl Sackett <krs@debian.org> Fri, 13 Dec 1996 08:55:23 -0600
+
+Local variables:
+mode: debian-changelog
+add-log-mailing-address: "dres@debian.org"
+End:
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..adca312
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,13 @@
+Source: scm
+Section: interpreters
+Priority: optional
+Maintainer: James LewisMoss <dres@debian.org>
+Standards-Version: 3.1.1
+Build-Depends: slib, librx1g-dev, libncurses5-dev, libreadline4-dev, tetex-bin
+
+Package: scm
+Architecture: any
+Depends: slib, ${shlibs:Depends}
+Description: A Scheme language interpreter.
+ Scm conforms to Revised^5 Report on the Algorithmic Language Scheme and
+ the IEEE P1178 specification.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..419226e
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,16 @@
+This is the Debian GNU/Linux prepackaged version of scm.
+
+This package was put together by Karl Sackett <krs@debian.org>, and
+upgraded by James LewisMoss <dres@debian.org> from sources obtained
+from:
+
+ ftp://swiss-ftp.ai.mit.edu/archive/scm/scm5d0.tar.gz
+
+For more information see:
+
+ http://www-swiss.ai.mit.edu/~jaffer/SCM.html
+
+License:
+
+scm is distributed under the GNU General Public License. See
+/usr/share/common-licenses/GPL for details.
diff --git a/debian/postinst b/debian/postinst
new file mode 100644
index 0000000..aa12961
--- /dev/null
+++ b/debian/postinst
@@ -0,0 +1,12 @@
+#!/bin/sh
+set -e
+
+install-info --quiet --section "Development" "Development" \
+ --description="A Scheme language interpreter" \
+ /usr/share/info/scm.info.gz
+
+if [ "$1" = "configure" ]; then
+ if [ -d /usr/doc -a ! -e /usr/doc/scm -a -d /usr/share/doc/scm ]; then
+ ln -sf ../share/doc/scm /usr/doc/scm
+ fi
+fi
diff --git a/debian/postrm b/debian/postrm
new file mode 100644
index 0000000..e7f4756
--- /dev/null
+++ b/debian/postrm
@@ -0,0 +1,4 @@
+#!/bin/sh
+set -e
+
+install-info --quiet --remove scm
diff --git a/debian/prerm b/debian/prerm
new file mode 100644
index 0000000..85fdaab
--- /dev/null
+++ b/debian/prerm
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+set -e
+
+if [ \( "$1" = "upgrade" -o "$1" = "remove" \) -a -L /usr/doc/scm ]; then
+ rm -f /usr/doc/scm
+fi
+
diff --git a/debian/require.scm.debian b/debian/require.scm.debian
new file mode 100644
index 0000000..06e43e6
--- /dev/null
+++ b/debian/require.scm.debian
@@ -0,0 +1,2 @@
+(define (library-vicinity) "/usr/share/slib/")
+(load (in-vicinity (library-vicinity) "require"))
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..bc0618f
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,151 @@
+#! /usr/bin/make -f
+# -*-Makefile-*-
+
+CC =gcc
+CFLAGS =-O2 -g -Wall
+LDFLAGS =
+
+SHELL =/bin/sh
+srcdir =.
+
+INSTALL =/usr/bin/install
+INSTALL_DIR =$(INSTALL) -d -m 755 -o root -g root
+INSTALL_PROGRAM =$(INSTALL) -m 755 -o root -g root
+INSTALL_DATA =$(INSTALL) -m 644 -o root -g root
+INSTALL_MAN =$(INSTALL) -m 644 -o root -g root
+
+ifeq ($(DEB_BUILD_ARCH), m68k)
+COMPILER_OPTIONS=
+else
+COMPILER_OPTIONS=-O2
+endif
+
+SCM_OPTIONS = -p linux \
+ --compiler-options=-g \
+ --compiler-options=$(COMPILER_OPTIONS) \
+ -F cautious \
+ -F bignums \
+ -F arrays \
+ -F array-for-each \
+ -F inexact \
+ -F record \
+ -F compiled-closure \
+ -F generalized-c-arguments \
+ -F tick-interrupts \
+ -F i/o-extensions \
+ -F edit-line \
+ -F regex \
+ -F socket \
+ -F posix \
+ -F unix \
+ -F curses \
+ -F dynamic-linking \
+ -F dump \
+ -F macro
+
+# -F heap-can-shrink \
+
+NON_LIB_FILES = 'bench.scm|build.scm|example.scm|r4rstest.scm|pi.scm'
+
+#test: stamp-configure
+# $(checkdir)
+# make checklit
+
+build:
+ chmod +x bld.scm
+ $(checkdir)
+ cp debian/require.scm.debian require.scm
+ifeq ($(DEB_BUILD_ARCH), m68k)
+ ${MAKE} scmlit CFLAGS=-g
+else
+ ${MAKE} scmlit
+endif
+ test -e /usr/share/slib || \
+ (echo "Must have slib installed for compile" && exit 1)
+# SCHEME_LIBRARY_PATH=/usr/share/slib/ ./build.scm ${SCM_OPTIONS} > debian/bld
+ ./bld.scm ${SCM_OPTIONS} > debian/bld
+ chmod ug+x debian/bld
+ debian/bld
+ #-rm -f debian/bld
+ #makeinfo scm.texi -o scm.info
+ make scm.info
+ texi2html -monolithic scm.texi
+ touch build
+
+clean:
+ $(checkdir)
+ -rm scm.info* scm.html tmp1 tmp2 scmflags.h scmlit
+ -rm -f scm5d0.info
+ -rm require.scm scm
+ make distclean
+ -rm -f build debian/bld
+ -rm -rf *~ debian/*~ debian/tmp* debian/files debian/substvars
+
+binary-indep: checkroot
+ $(checkdir)
+
+binary-arch: checkroot build
+ $(checkdir)
+ -rm -rf debian/tmp*
+
+# debian/tmp
+ $(INSTALL_DIR) debian/tmp
+ $(INSTALL_DIR) debian/tmp/DEBIAN
+ $(INSTALL_PROGRAM) debian/postinst debian/tmp/DEBIAN
+ $(INSTALL_PROGRAM) debian/prerm debian/tmp/DEBIAN
+ $(INSTALL_PROGRAM) debian/postrm debian/tmp/DEBIAN
+
+# binaries
+ $(INSTALL_DIR) debian/tmp/usr/bin
+ $(INSTALL_PROGRAM) -s scm debian/tmp/usr/bin
+
+# library
+ $(INSTALL_DIR) debian/tmp/usr/lib/scm
+ $(INSTALL_DATA) `ls *.scm | egrep -v ${NON_LIB_FILES}` debian/tmp/usr/lib/scm
+ $(INSTALL_DATA) slibcat debian/tmp/usr/lib/scm
+ chmod +x debian/tmp/usr/lib/scm/bld.scm
+
+# man pages
+ $(INSTALL_DIR) debian/tmp/usr/share/man/man1
+ $(INSTALL_MAN) scm.1 debian/tmp/usr/share/man/man1
+ gzip -9vr debian/tmp/usr/share/man
+
+# documentation
+ $(INSTALL_DIR) debian/tmp/usr/share/doc/scm
+ $(INSTALL_DATA) debian/changelog debian/tmp/usr/share/doc/scm/changelog.Debian
+ $(INSTALL_DATA) ChangeLog debian/tmp/usr/share/doc/scm/changelog
+ $(INSTALL_DATA) QUICKREF debian/tmp/usr/share/doc/scm
+ $(INSTALL_DATA) README debian/tmp/usr/share/doc/scm
+ gzip -9v debian/tmp/usr/share/doc/scm/*
+ $(INSTALL_DATA) scm.html debian/tmp/usr/share/doc/scm
+ $(INSTALL_DATA) debian/copyright debian/tmp/usr/share/doc/scm
+
+# examples
+ $(INSTALL_DIR) debian/tmp/usr/share/doc/scm/examples
+ $(INSTALL_DATA) r4rstest.scm debian/tmp/usr/share/doc/scm/examples
+ $(INSTALL_DATA) example.scm debian/tmp/usr/share/doc/scm/examples
+ $(INSTALL_DATA) pi.scm debian/tmp/usr/share/doc/scm/examples
+ $(INSTALL_DATA) pi.c debian/tmp/usr/share/doc/scm/examples
+ $(INSTALL_DATA) bench.scm debian/tmp/usr/share/doc/scm/examples
+ $(INSTALL_DATA) split.scm debian/tmp/usr/share/doc/scm/examples
+
+# info pages
+ $(INSTALL_DIR) debian/tmp/usr/share/info
+ $(INSTALL_DATA) scm.info* debian/tmp/usr/share/info
+ gzip -9 debian/tmp/usr/share/info/*
+
+ dpkg-shlibdeps scm
+ dpkg-gencontrol -isp
+ dpkg --build debian/tmp ..
+
+define checkdir
+ test -f scm.h -a -f debian/rules
+endef
+
+binary: binary-indep binary-arch
+
+checkroot:
+ $(checkdir)
+ test root = "`whoami`"
+
+.PHONY: clean binary binary-arch binary-indep