aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile2
-rw-r--r--debian/changelog558
-rw-r--r--debian/compat1
-rw-r--r--debian/control25
-rw-r--r--debian/copyright57
-rw-r--r--debian/doc-base13
-rw-r--r--debian/doc-base.scm-xlib13
-rw-r--r--debian/postinst20
-rw-r--r--debian/postrm9
-rw-r--r--debian/prerm11
-rw-r--r--debian/require.scm.debian2
-rwxr-xr-xdebian/rules222
12 files changed, 932 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 1477c86..f73dece 100644
--- a/Makefile
+++ b/Makefile
@@ -446,7 +446,7 @@ platform.txi: build.scm
> platform.txi
features.txi: build build.scm
$(SCMLIT) -l build -e"(make-features-txi)"
-scm.info: $(texifiles)
+scm.info: $(texifiles) features.txi platform.txi
makeinfo scm.texi --no-split -o scm.info
mv scm.info scm-$(VERSION).info
if [ -f $(PREVDOCS)scm.info ]; \
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..7389b4e
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,558 @@
+scm (5e5-1) unstable; urgency=low
+
+ * New upstream release.
+ * continue.h: Repeat change from 5e1-2.
+ * xgen.scm: Repeat change from 5e2-4.
+ * scm.1: Repeat change from 5e2-4.
+ * build.scm: Repeat change from 5e3-5.
+ * Makefile: Repeat change from 5e3-2.
+ * debian/control (Build-Depends): Require at least version 3b1 of slib.
+ (scm Depends): Likewise.
+ (libscm-dev Depends): Likewise.
+
+ * Makefile (scm.info): Add explicit dependency on features.txi and
+ platform.txi. For some reason the one through $(texifiles) is
+ failing mysteriously. Perhaps this is a make bug.
+
+ -- Thomas Bushnell, BSG <tb@debian.org> Mon, 04 Feb 2008 20:53:13 -0500
+
+scm (5e4-5) unstable; urgency=low
+
+ * debian/control (libscm-dev/Description): Drop mistaken extra spaces
+ in description.
+
+ * debian/control (libscm-dev/Depends): Use $(binary:Version} for the
+ dependency rather than ${source:Version}.
+
+ * debian/control (Standards-Version): Update to 3.7.3. (No changes needed.)
+
+ -- Thomas Bushnell, BSG <tb@debian.org> Wed, 16 Jan 2008 16:08:07 -0500
+
+scm (5e4-4) unstable; urgency=low
+
+ * continue.h: Fix spelling of STACK_GROWS_UP in change from 5e4-1.
+
+ * Makefile: Repeat change from 5e3-2.
+
+ -- Thomas Bushnell, BSG <tb@debian.org> Sun, 13 Jan 2008 22:15:05 -0500
+
+scm (5e4-3) unstable; urgency=low
+
+ * debian/rules (SCM_OPTIONS): Add -F differ.
+
+ * debian/control (libscm-dev): New package. We don't make a shared library
+ because there is no standardization of SCM options, and no way to indicate
+ in a non-brittle fashion what SCM options are available in any particular
+ build, nor any standardization of sonames.
+ * debian/rules (build): Build libscm.a too.
+ (install): Install libscm.a, scm.h, scmfig.h, and scmflags.h into
+ libscm-dev. Don't install header files in scm package.
+ (Closes: #459828)
+
+ * debian/copyright: Add proper authorship and copyright information; make
+ mention of the special library linking exception since we are now
+ packaging the library.
+
+ -- Thomas Bushnell, BSG <tb@debian.org> Wed, 09 Jan 2008 14:08:12 -0500
+
+scm (5e4-2) unstable; urgency=low
+
+ * Properly acknowledge NMU 5e3-6.1. (Closes: #369576, #458284).
+
+ -- Thomas Bushnell, BSG <tb@debian.org> Sun, 30 Dec 2007 17:10:06 -0800
+
+scm (5e4-1) unstable; urgency=low
+
+ * New upstream release.
+ * debian/control: Require at least version 3a5 of slib.
+
+ * debian/postrm: New file to remove /usr/lib/scm/implcat and
+ /usr/lib/scm/slibcat upon purge. (Closes: #455124). Thanks to Kumar
+ Appaiah for the fix.
+
+ * debian/control (Architecture): Add armel and armeb. (Closes: #408792).
+
+ * debian/rules (install): Don't use -s when installing. dh_strip should
+ be sufficient, and this should make the nostrip build option work.
+ (Closes: #438004).
+
+ * continue.h: Repeat change from 5e1-2.
+
+ * xgen.scm: Repeat change from 5e2-4.
+
+ * scm.1: Repeat change from 5e2-4.
+
+ * build.scm: Repeat change from 5e3-5.
+
+ -- Thomas Bushnell, BSG <tb@debian.org> Fri, 28 Dec 2007 15:56:00 -0800
+
+scm (5e3-6.1) unstable; urgency=low
+
+ * Non-maintainer upload.
+ * Split doc-base file into two files, add missing 'Index' fields for 'info'
+ sections (closes: #369576).
+ Thanks to Robert Luberda for the patch.
+ * Remove from rules/postinst/postrm any manually doc-base handling code,
+ since dh_installdocs supports doc-base on its own.
+ Thanks to Robert Luberda for the patch.
+
+ -- Neil Williams <codehelp@debian.org> Sun, 15 Jul 2007 21:14:17 +0100
+
+scm (5e3-6) unstable; urgency=medium
+
+ * Medium urgency because this is a release critical issue,
+ and is part of the fix made in slib 3a4-4.
+
+ * debian/control (scm): Add version specification to the slib
+ dependency (>> 3a4).
+
+ -- Thomas Bushnell, BSG <tb@debian.org> Wed, 8 Nov 2006 00:12:38 -0800
+
+scm (5e3-5) unstable; urgency=low
+
+ * build.scm (build: C-libraries): Duplicate linux section for linux-ia64.
+
+ -- Thomas Bushnell, BSG <tb@debian.org> Sat, 28 Oct 2006 02:27:38 -0700
+
+scm (5e3-4) unstable; urgency=low
+
+ * debian/rules (PLATFORM): New variable, to hold the SCM platform name;
+ linux normally, but linux-ia64 on ia64.
+ (SCM_OPTIONS): Instead of always giving -p linux, use $(PLATFORM).
+
+ -- Thomas Bushnell, BSG <tb@debian.org> Fri, 27 Oct 2006 20:02:53 -0700
+
+scm (5e3-3) unstable; urgency=low
+
+ * debian/rules (install): Don't install slibcat, since we build it at
+ install time. (Closes: #395552)
+
+ -- Thomas Bushnell, BSG <tb@debian.org> Fri, 27 Oct 2006 12:31:20 -0700
+
+scm (5e3-2) unstable; urgency=low
+
+ * Makefile (ofiles): If $(ARCH) is ia64, add continue-ia64.o.
+ * debian/rules: Set ARCH from DEB_BUILD_ARCH when making scmlit.
+ (Closes: #395312)
+
+ -- Thomas Bushnell, BSG <tb@debian.org> Thu, 26 Oct 2006 21:50:09 -0700
+
+scm (5e3-1) unstable; urgency=low
+
+ * New upstream release.
+ * debian/control (Architecture): Add ia64 to list of supported archs. Now
+ everything but s390 is listed. (Closes: #335980)
+ (Build-Depends): Require at least version 3a4 of slib.
+
+ * Change to continue.h from version 5e1-2 repeated here.
+
+ * Change to xgen.scm from version 5e2-4 repeated here.
+
+ * Change to scm.1 from version 5e2-4 repeated here.
+
+ -- Thomas Bushnell, BSG <tb@debian.org> Mon, 23 Oct 2006 23:31:59 -0700
+
+scm (5e2-5) unstable; urgency=low
+
+ * debian/rules (binary-arch): Depend on install. Whoops!
+
+ -- Thomas Bushnell, BSG <tb@debian.org> Sat, 21 Oct 2006 19:20:05 -0700
+
+scm (5e2-4) unstable; urgency=medium
+
+ * Medium urgency because this fixes the non-working xgen.scm and
+ compile.scm programs.
+
+ * debian/control (Standards-Version): Update to 3.7.2.
+
+ * debian/control (Architecture): Change i386-hurd to hurd-i386.
+
+ * scm.1 (.TH): Put in section number.
+
+ * debian/doc-base: Put .gz suffix after info files, since that's how we
+ install them.
+
+ * debian/rules (binary-arch): Make compile.scm and xgen.scm executable.
+ * xgen.scm (#!): Find /usr/bin/scm in correct place.
+
+ * debian/control (Build-Depends): Add debhelper.
+ * debian/rules (DH_VERBOSE): New variable; commented out.
+ (checkdir): Delete variable; replace with dh_testdir.
+ (checkroot): Delete target; replace with dh_testroot.
+ (clean): Call dh_testroot. Remove build-stamp first in case something
+ later bombs. Call dh_clean at the end.
+ (binary-indep): Just depend on build and install and do nothing else.
+ (install): New target. Most of the guts come here from binary-arch.
+ Call debhelper stuff at the front.
+ Install into debian/scm instead of debian/tmp.
+ (binary-arch): Use debhelper commands to build the package.
+ (.PHONY): Add install.
+ * debian/compat: New file (level 5).
+ * debian/postinst: Add #DEBHELPER# token.
+ * debian/prerm: Add #DEBHELPER# token.
+
+ -- Thomas Bushnell, BSG <tb@debian.org> Fri, 20 Oct 2006 13:37:25 -0700
+
+scm (5e2-3) unstable; urgency=low
+
+ * debian/control (Architecture): Remove s390, officially unsupported by
+ upstream.
+
+ -- Thomas Bushnell, BSG <tb@debian.org> Tue, 12 Sep 2006 00:04:04 -0700
+
+scm (5e2-2) unstable; urgency=low
+
+ * debian/postinst: Rebuild the slib catalog every time.
+
+ -- Thomas Bushnell, BSG <tb@debian.org> Sat, 27 May 2006 15:35:32 -0700
+
+scm (5e2-1) unstable; urgency=low
+
+ * New upstream release.
+ * Change to continue.h from version 5e1-2 repeated here.
+
+ -- Thomas Bushnell, BSG <tb@debian.org> Wed, 26 Apr 2006 23:01:39 -0700
+
+scm (5e1-5) unstable; urgency=low
+
+ * debian/control (scm): Add ppc64 to Architecture list.
+ * scmfig.h (__powerpc64__, __x86_64__): Define SHORT_INT and CDR_DOUBLES.
+ (Closes: #353173, #251765).
+
+ -- Thomas Bushnell, BSG <tb@debian.org> Wed, 22 Feb 2006 15:19:31 -0800
+
+scm (5e1-4) unstable; urgency=low
+
+ * debian/control (Build-Depends): Actually *make* the preceding change
+ rather than simply documenting it. (Closes: #347027).
+
+ -- Thomas Bushnell, BSG <tb@debian.org> Mon, 9 Jan 2006 09:54:52 -0800
+
+scm (5e1-3) unstable; urgency=low
+
+ * debian/control (Build-Depends): Depend on libx11-dev instead of xlibs-dev.
+ (Closes: #347027).
+
+ -- Thomas Bushnell, BSG <tb@debian.org> Mon, 9 Jan 2006 09:18:22 -0800
+
+scm (5e1-2) unstable; urgency=low
+
+ * debian/control (Architecture): Provide explicit list: alpha amd64 arm
+ hppa i386 i386-hurd m68k mips mipsel powerpc s390 sparc. This is all
+ the Debian archs except for ia64, which is officially unspported by
+ upstream.
+
+ * continue.h: When __hppa__ is defined, set STACK_GROWS_UP.
+
+ -- Thomas Bushnell, BSG <tb@debian.org> Fri, 28 Oct 2005 17:24:42 -0700
+
+scm (5e1-1) unstable; urgency=low
+
+ * New upstream release. (Closes: #335970)
+ * debian/rules (SCM_OPTIONS): Remove -F turtlegr; the file supporting
+ this option seems to have gone by the wayside.
+ * debian/rules (binary-arch): Don't try to install grtest.scm; it's gone
+ now.
+
+ * debian/rules (build-stamp): Use tee to capture output of ./build so
+ that we can capture a copy of the file in the build log.
+
+ * scm.1: Fix spelling errors in manual page:
+ verobse -> verbose;
+ qoutes -> quotes;
+ aguments -> arguments;
+ neccessary -> necessary;
+ preceeds -> precedes.
+ syncronization -> synchronization.
+ (Closes: #300131)
+
+ * debian/postinst, debian/prerm: Assume that install-docs is in the
+ standard place, and test for it there with test -x. (Closes: #292996)
+
+ -- Thomas Bushnell, BSG <tb@debian.org> Thu, 27 Oct 2005 12:00:49 -0700
+
+scm (5d9-5) unstable; urgency=low
+
+ * New maintainer. Adopted with permission of previous maintainer.
+
+ * repl.c (s_read): Remove static qualifier on declaration.
+ * scmfig.h: Use SHORT_INT and CDR_DOUBLES on __powerpc64__ and
+ __x86_64__ just as with __ia64.
+ (Closes: #295074, #251765)
+
+ * debian/control (Build-Depends): Use libreadline5-dev in place of
+ libreadline4-dev. (Closes: #326297)
+
+ -- Thomas Bushnell, BSG <tb@debian.org> Wed, 26 Oct 2005 19:31:02 -0700
+
+scm (5d9-4.1) unstable; urgency=high
+
+ * Non-maintainer upload.
+ * High-urgency upload for sarge-targetted RC bugfix.
+ * Revert upstream "CAUTIOUS" define, which causes the scm build to
+ fail its test suite on alpha (and, it appears, powerpc as well).
+ Closes: #245810.
+
+ -- Steve Langasek <vorlon@debian.org> Tue, 7 Dec 2004 23:23:48 -0800
+
+scm (5d9-4) unstable; urgency=low
+
+ * Apply patch from 144062 to fix hppa build (Closes: #144062)
+ * Change scm.1 section from Jan 4 200 to 1. (lintian)
+
+ -- James LewisMoss <dres@debian.org> Thu, 6 May 2004 14:24:32 -0400
+
+scm (5d9-3) unstable; urgency=low
+
+ * Properly clean up info files.
+ * Make and install Xlibscm.info.
+
+ -- James LewisMoss <dres@debian.org> Sat, 3 Apr 2004 15:44:38 -0500
+
+scm (5d9-2) unstable; urgency=low
+
+ * Fix path problem in slibcat. Hack at mklibcat.scm. (Closes: #241510)
+
+ -- James LewisMoss <dres@debian.org> Sat, 3 Apr 2004 15:35:52 -0500
+
+scm (5d9-1) unstable; urgency=low
+
+ * New upstream release
+ * Merge NMU sparc changes (Closes: #191171, #191356)
+ * SHORT_INT is defined for ia64 upstream (Closes: #141928)
+ * Scheme imps now grouped in info file (has been for a while)
+ (Closes: #115452)
+
+ -- James LewisMoss <dres@debian.org> Sun, 14 Mar 2004 11:44:51 -0500
+
+scm (5d6-3.1) unstable; urgency=low
+
+ * NMU with patch from James Troup, to fix FTBFS on sparc. Closes: #191171
+
+ -- Joey Hess <joeyh@debian.org> Tue, 29 Apr 2003 19:56:51 -0400
+
+scm (5d6-3) unstable; urgency=low
+
+ * Add build depend on xlibs-dev (Closes: #148020)
+
+ -- James LewisMoss <dres@debian.org> Fri, 24 May 2002 15:56:12 -0400
+
+scm (5d6-2) unstable; urgency=low
+
+ * Remove libregexx-dev from build-depends.
+ * Change build to use ./scmlit rather than scmlit (should fix some build
+ problems) (looks like alpha is mostly building)
+ * New release (Closes: #140175)
+ * Built with turtlegraphics last time (Closes: #58515)
+
+ -- James LewisMoss <dres@debian.org> Thu, 23 May 2002 13:41:02 -0400
+
+scm (5d6-1) unstable; urgency=low
+
+ * New upstream.
+ * Add xlib and turtlegr to requested list of features. (closes
+ some bug)
+ * Make clean actually clean most everything up.
+ * Remove hacks renaming build to something else and just set build as a
+ .PHONY target in debian/rules.
+ * Add the turtlegr code.
+
+ -- James LewisMoss <dres@debian.org> Fri, 17 May 2002 13:27:00 -0400
+
+scm (5d5-1) unstable; urgency=low
+
+ * New upstream
+ * Has fixes for 64 bit archs. May fix alpha compile problem. Does fix
+ (Closes: #140175)
+ * Take out -O2 arg.
+
+ -- James LewisMoss <dres@debian.org> Sat, 6 Apr 2002 17:46:22 -0500
+
+scm (5d4-3) unstable; urgency=low
+
+ * Don't link with regexx, but just use libc6's regular expression
+ functions.
+ * Define (terms) to output /usr/share/common-licenses/GPL (Closes:
+ #119321)
+
+ -- James LewisMoss <dres@debian.org> Wed, 12 Dec 2001 16:27:02 -0500
+
+scm (5d4-2) unstable; urgency=low
+
+ * Add texinfo to build depends (Closes: #107011)
+
+ -- James LewisMoss <dres@debian.org> Sun, 29 Jul 2001 22:16:35 -0400
+
+scm (5d4-1) unstable; urgency=low
+
+ * New upstream release.
+ * Move install-info --remove to prerm.
+
+ -- James LewisMoss <dres@debian.org> Tue, 22 May 2001 01:35:50 -0400
+
+scm (5d3-5) unstable; urgency=low
+
+ * Move scm info files to section "The Algorithmic Language Scheme" to
+ match up with guile.
+
+ -- James LewisMoss <dres@debian.org> Mon, 11 Dec 2000 03:49:34 -0500
+
+scm (5d3-4) unstable; urgency=low
+
+ * Fix build depends (Closes: #76691)
+
+ -- James LewisMoss <dres@debian.org> Sat, 11 Nov 2000 09:55:07 -0500
+
+scm (5d3-3) unstable; urgency=low
+
+ * Fix path in scm dhelp file.
+
+ -- James LewisMoss <dres@debian.org> Fri, 27 Oct 2000 15:37:47 -0400
+
+scm (5d3-2) unstable; urgency=low
+
+ * Actually put the header files in the package. Oops.
+
+ -- James LewisMoss <dres@debian.org> Thu, 26 Oct 2000 21:52:47 -0400
+
+scm (5d3-1) unstable; urgency=low
+
+ * New upstream. (Closes: #74761)
+ * Make (terms) use new license location.
+ * Make use libregexx rather than librx.
+ * Fix build depends for above.
+ * Using new regex lib seems to fix crash (Closes: #66787)
+ * Consider adding scm-dev package with headers, but instead just add the
+ headers to the scm package. (Closes: #70787)
+ * Add doc-base support.
+
+ -- James LewisMoss <dres@debian.org> Sun, 22 Oct 2000 22:29:41 -0400
+
+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
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..7ed6ff8
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+5
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..78db91d
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,25 @@
+Source: scm
+Section: interpreters
+Priority: optional
+Maintainer: Thomas Bushnell, BSG <tb@debian.org>
+Standards-Version: 3.7.3
+Build-Depends: slib (>> 3b1), libncurses5-dev, libreadline5-dev, texi2html, texinfo, libx11-dev, debhelper (>= 5)
+
+Package: scm
+Architecture: alpha amd64 arm hppa i386 hurd-i386 m68k mips mipsel powerpc ppc64 sparc ia64 armel armeb
+Section: interpreters
+Priority: optional
+Depends: slib (>> 3b1), ${shlibs:Depends}
+Description: A Scheme language interpreter
+ Scm conforms to Revised^5 Report on the Algorithmic Language Scheme and
+ the IEEE P1178 specification.
+
+Package: libscm-dev
+Architecture: alpha amd64 arm hppa i386 hurd-i386 m68k mips mipsel powerpc ppc64 sparc ia64 armel armeb
+Section: libdevel
+Priority: optional
+Depends: scm (= ${binary:Version}), slib (>> 3b1), ${shlibs:Depends}
+Description: Embeddable library for SCM Scheme language interpreter
+ This is a static library which provides the functionality of SCM, making it
+ convenient add scheme functionality to other programs.
+
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..7f43eac
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,57 @@
+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://swissnet.ai.mit.edu/ftpdir/scm/scm5d9.tar.gz
+
+For more information see:
+
+ http://www-swiss.ai.mit.edu/~jaffer/SCM
+
+Author: Aubrey Jaffer
+Further portions written by:
+ Richard E. Harke
+ Tanel Tammet
+ William Clinger
+ Mkinen Sami
+ Jarkko Leppanen
+ The Free Software Foundation
+ Paradigm Associates Inc.
+ Digital Equipment Corp.
+ Tektronix, Inc.
+
+
+Copyright:
+ 1984-2006 by the Free Software Foundation
+ 1996, 2000-2001, 2003, 2007 by Aubrey Jaffer
+Portions Copyright:
+ 1990 by W. Wilson Ho
+ 1992-1997 by Tanel Tammet
+ 1992 by William Clinger
+ 1989 by Paradigm Associates Inc.
+ 1992 by Mkinen Sami and Jarkko Leppanen
+ 1985-1991 by Digital Equipment Corp.
+ 1990-1991 by Textronix, Inc.
+
+License:
+
+scm as a whole is distributed under the GNU General Public License.
+See /usr/share/common-licenses/GPL for details. Some individual
+source files and portions of the documentation can be distributed under
+more liberal terms as described in each file.
+
+As a special exception, the Free Software Foundation gives permission
+for additional uses of the text contained in its release of SCM.
+
+The exception is that, if you link the SCM library with other files
+to produce an executable, this does not by itself cause the
+resulting executable to be covered by the GNU General Public License.
+Your use of that executable is in no way restricted on account of
+linking the SCM library code into it.
+
+This exception does not however invalidate any other reasons why
+the executable file might be covered by the GNU General Public License.
+
+
diff --git a/debian/doc-base b/debian/doc-base
new file mode 100644
index 0000000..489ea81
--- /dev/null
+++ b/debian/doc-base
@@ -0,0 +1,13 @@
+Document: scm
+Title: SCM: scheme interpreter
+Author: Aubrey Jaffer
+Abstract: This manual describes the scheme interpreter scm.
+Section: Apps/Programming
+
+Format: info
+Index: /usr/share/info/scm.info.gz
+Files: /usr/share/info/scm.info.gz
+
+Format: HTML
+Index: /usr/share/doc/scm/scm.html
+Files: /usr/share/doc/scm/scm.html
diff --git a/debian/doc-base.scm-xlib b/debian/doc-base.scm-xlib
new file mode 100644
index 0000000..c73ba3a
--- /dev/null
+++ b/debian/doc-base.scm-xlib
@@ -0,0 +1,13 @@
+Document: scm-xlib
+Title: X Interface for SCM scheme interpreter
+Author: Aubrey Jaffer
+Abstract: This manual describes the X Interface for scheme interpreter SCM.
+Section: Apps/Programming
+
+Format: info
+Index: /usr/share/info/Xlibscm.info.gz
+Files: /usr/share/info/Xlibscm.info.gz
+
+Format: HTML
+Index: /usr/share/doc/scm/Xlibscm.html
+Files: /usr/share/doc/scm/Xlibscm.html
diff --git a/debian/postinst b/debian/postinst
new file mode 100644
index 0000000..2957f0a
--- /dev/null
+++ b/debian/postinst
@@ -0,0 +1,20 @@
+#!/bin/sh
+set -e
+
+install-info --quiet --section "The Algorithmic Language Scheme" \
+ "The Algorithmic Language Scheme" \
+ --description="A Scheme language interpreter" \
+ /usr/share/info/scm.info.gz
+
+install-info --quiet --section "The Algorithmic Language Scheme" \
+ "The Algorithmic Language Scheme" \
+ --description="SCM Language X Interface" \
+ /usr/share/info/Xlibscm.info.gz
+
+rm -f /usr/lib/scm/slibcat
+/usr/bin/scm -c "(require 'new-catalog)"
+if [ -e /usr/lib/scm/slibcat ] ; then
+ chmod 644 /usr/lib/scm/slibcat
+fi
+
+#DEBHELPER#
diff --git a/debian/postrm b/debian/postrm
new file mode 100644
index 0000000..70022ef
--- /dev/null
+++ b/debian/postrm
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+set -e
+
+if [ "$1" = purge ] && [ -e /usr/lib/scm/implcat ] && [ -e /usr/lib/scm/slibcat ]; then
+ rm -f /usr/lib/scm/implcat /usr/lib/scm/slibcat
+fi
+
+#DEBHELPER#
diff --git a/debian/prerm b/debian/prerm
new file mode 100644
index 0000000..b77bd33
--- /dev/null
+++ b/debian/prerm
@@ -0,0 +1,11 @@
+#!/bin/sh
+
+set -e
+
+if [ \( "$1" = "upgrade" -o "$1" = "remove" \) -a -L /usr/doc/scm ]; then
+ rm -f /usr/doc/scm
+fi
+
+install-info --quiet --remove /usr/share/info/scm.info.gz
+
+#DEBHELPER#
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..e8f5033
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,222 @@
+#! /usr/bin/make -f
+# -*-Makefile-*-
+
+CC =gcc
+CFLAGS = -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=
+endif
+
+ifeq ($(DEB_BUILD_ARCH),ia64)
+PLATFORM=linux-ia64
+else
+PLATFORM=linux
+endif
+
+SCM_OPTIONS = -p $(PLATFORM) \
+ --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 xlib \
+ -F dump \
+ -F macro \
+ -F differ
+
+# -F dump
+# -F turtlegr
+
+# -F heap-can-shrink \
+
+#SCHEME_LIBRARY_PATH=../slib-3a1/
+#export SCHEME_LIBRARY_PATH
+NON_LIB_FILES = 'bench.scm|build.scm|example.scm|r4rstest.scm|pi.scm|grtest.scm'
+
+# Uncomment this to turn on verbose mode
+#export DH_VERBOSE=1
+
+
+build: build-stamp
+build-stamp:
+ chmod +x build
+ dh_testdir
+ cp debian/require.scm.debian require.scm
+ifeq ($(DEB_BUILD_ARCH), m68k)
+ ${MAKE} scmlit CFLAGS="-g -Wall" ARCH=$(DEB_BUILD_ARCH)
+else
+ ${MAKE} scmlit ARCH=$(DEB_BUILD_ARCH)
+endif
+ test -e /usr/share/slib || \
+ (echo "Must have slib installed for compile" && exit 1)
+
+# Main SCM binary.
+ ./build ${SCM_OPTIONS} | tee debian/bld
+ chmod ug+x debian/bld
+ debian/bld
+
+# SCM library
+ ./build -t lib $(SCM_OPTIONS) | tee debian/bld
+ chmod ug+x debian/bld
+ debian/bld
+
+ make scm.info
+ make Xlibscm.info
+ texi2html -monolithic scm.texi
+ texi2html -monolithic Xlibscm.texi
+ touch build-stamp
+
+clean:
+ dh_testdir
+ dh_testroot
+ -rm -f build-stamp
+
+ -rm -f scm.info* scm.html tmp1 tmp2 scmflags.h scmlit
+ -rm -f Xlibscm.info*
+ -rm -f features.txi platform.txi
+ -rm -f *.info
+ -rm require.scm scm
+ make distclean
+ -rm -f srcdir.mk
+ -rm -f debian/bld
+ -rm -rf *~ debian/*~ debian/tmp* debian/files debian/substvars
+
+ dh_clean
+
+binary-indep: build install
+# We have nothing to do by default
+
+install: build
+ dh_testdir
+ dh_testroot
+ dh_clean -k
+ dh_installdirs
+
+ -rm -rf debian/scm
+ -rm -rf debian/libscm-dev
+
+# debian/scm
+ $(INSTALL_DIR) debian/scm
+ $(INSTALL_DIR) debian/scm/DEBIAN
+ $(INSTALL_PROGRAM) debian/postinst debian/scm/DEBIAN
+ $(INSTALL_PROGRAM) debian/prerm debian/scm/DEBIAN
+
+# binaries
+ $(INSTALL_DIR) debian/scm/usr/bin
+ $(INSTALL_PROGRAM) scm debian/scm/usr/bin
+
+# library
+ $(INSTALL_DIR) debian/scm/usr/lib/scm
+ $(INSTALL_DATA) `ls *.scm | egrep -v ${NON_LIB_FILES}` debian/scm/usr/lib/scm
+## $(INSTALL_DATA) slibcat debian/scm/usr/lib/scm
+ chmod +x debian/scm/usr/lib/scm/compile.scm
+ chmod +x debian/scm/usr/lib/scm/xgen.scm
+
+# headers
+# $(INSTALL_DIR) debian/scm/usr/include/scm
+# $(INSTALL_DATA) *.h debian/scm/usr/include/scm
+
+# man pages
+ $(INSTALL_DIR) debian/scm/usr/share/man/man1
+ $(INSTALL_MAN) scm.1 debian/scm/usr/share/man/man1
+ gzip -9vr debian/scm/usr/share/man || true
+
+# documentation
+ $(INSTALL_DIR) debian/scm/usr/share/doc/scm
+ $(INSTALL_DATA) debian/changelog debian/scm/usr/share/doc/scm/changelog.Debian
+ $(INSTALL_DATA) ChangeLog debian/scm/usr/share/doc/scm/changelog
+ $(INSTALL_DATA) QUICKREF debian/scm/usr/share/doc/scm
+ $(INSTALL_DATA) README debian/scm/usr/share/doc/scm
+ gzip -9v debian/scm/usr/share/doc/scm/*
+ $(INSTALL_DATA) scm.html debian/scm/usr/share/doc/scm
+ $(INSTALL_DATA) Xlibscm.html debian/scm/usr/share/doc/scm
+ $(INSTALL_DATA) debian/copyright debian/scm/usr/share/doc/scm
+
+# examples
+ $(INSTALL_DIR) debian/scm/usr/share/doc/scm/examples
+ $(INSTALL_DATA) r4rstest.scm debian/scm/usr/share/doc/scm/examples
+ $(INSTALL_DATA) example.scm debian/scm/usr/share/doc/scm/examples
+ $(INSTALL_DATA) pi.scm debian/scm/usr/share/doc/scm/examples
+ $(INSTALL_DATA) pi.c debian/scm/usr/share/doc/scm/examples
+ $(INSTALL_DATA) bench.scm debian/scm/usr/share/doc/scm/examples
+ $(INSTALL_DATA) split.scm debian/scm/usr/share/doc/scm/examples
+# $(INSTALL_DATA) grtest.scm debian/scm/usr/share/doc/scm/examples
+
+# info pages
+ $(INSTALL_DIR) debian/scm/usr/share/info
+ $(INSTALL_DATA) scm.info* debian/scm/usr/share/info
+ $(INSTALL_DATA) Xlibscm.info* debian/scm/usr/share/info
+ gzip -9 debian/scm/usr/share/info/*
+
+# library package
+ $(INSTALL_DIR) debian/libscm-dev/usr/lib
+ $(INSTALL_DIR) debian/libscm-dev/usr/include
+ $(INSTALL_DIR) debian/libscm-dev/usr/share/doc/libscm-dev
+ $(INSTALL_DATA) libscm.a debian/libscm-dev/usr/lib
+ $(INSTALL_DATA) scm.h debian/libscm-dev/usr/include
+ $(INSTALL_DATA) scmfig.h debian/libscm-dev/usr/include
+ $(INSTALL_DATA) scmflags.h debian/libscm-dev/usr/include
+ $(INSTALL_DATA) debian/changelog debian/libscm-dev/usr/share/doc/libscm-dev/changelog.Debian
+ $(INSTALL_DATA) ChangeLog debian/libscm-dev/usr/share/doc/libscm-dev/changelog
+ $(INSTALL_DATA) debian/copyright debian/libscm-dev/usr/share/doc/libscm-dev
+
+binary-arch: build install
+ dh_testdir
+ dh_testroot
+ dh_installchangelogs
+ dh_installdocs
+ dh_installexamples
+# dh_install
+# dh_installmenu
+# dh_installdebconf
+# dh_installlogrotate
+# dh_installemacsen
+# dh_installcatalogs
+# dh_installpam
+# dh_installmime
+# dh_installcron
+# dh_installinfo
+# dh_uncodumented
+ dh_installman
+ dh_link
+ dh_strip
+ dh_compress
+ dh_fixperms
+# dh_perl
+# dh_python
+# dh_makeshlibs
+ dh_installdeb
+ dh_shlibdeps
+ dh_gencontrol
+ dh_md5sums
+ dh_builddeb
+
+binary: binary-indep binary-arch
+
+.PHONY: build clean binary binary-arch binary-indep install