--- elk-3.99.7.orig/debian/libelk0-dev.dirs
+++ elk-3.99.7/debian/libelk0-dev.dirs
@@ -0,0 +1,3 @@
+usr/lib
+usr/include/elk
+usr/share/doc
--- elk-3.99.7.orig/debian/elk.prerm
+++ elk-3.99.7/debian/elk.prerm
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+if [ "$1" = "remove" ]; then
+ # Remove this useless alternative.
+ update-alternatives --remove scheme /usr/bin/scheme-warning-elk > /dev/null
+fi
+
+#DEBHELPER#
--- elk-3.99.7.orig/debian/control
+++ elk-3.99.7/debian/control
@@ -0,0 +1,58 @@
+Source: elk
+Section: devel
+Priority: optional
+Maintainer: Sam Hocevar (Debian packages) <sam+deb@zoy.org>
+Build-Depends: debhelper (>= 4.0), groff, libelfg0-dev, libx11-dev, libxext-dev, libxmu-dev, libxt-dev, libice-dev, libsm-dev, lesstif2-dev, libgdbm-dev, libxaw7-dev
+Standards-Version: 3.7.2
+
+Package: elk
+Architecture: any
+Section: interpreters
+Depends: ${shlibs:Depends}
+Conflicts: pact (<= 980714-1)
+Description: the Elk Scheme interpreter
+ Elk is an implementation of the Scheme programming language, designed
+ specifically as an embeddable, reusable extension language subsystem for
+ applications written in C or C++.
+ .
+ This package contains the Elk Scheme interpreter, as well as several plugins
+ shipped with Elk. They provide hooks for Unix system calls, the X Window
+ System, as well as the X Athena Widgets and the Motif toolkits. Example
+ scripts on how to use these plugins are provided in the elkdoc package.
+
+Package: libelk0
+Architecture: any
+Section: libs
+Depends: ${shlibs:Depends}
+Conflicts: elk (<< 3.99-1)
+Replaces: elk (<< 3.99-1)
+Description: implementation of Scheme (the Extension Language Kit)
+ Elk is an implementation of the Scheme programming language, designed
+ specifically as an embeddable, reusable extension language subsystem for
+ applications written in C or C++.
+ .
+ This package contains the libelk0 runtime library.
+
+Package: libelk0-dev
+Architecture: any
+Section: libdevel
+Depends: ${shlibs:Depends}, libelfg0-dev, libx11-dev, libxext-dev, libxmu-dev, libxt-dev, libice-dev, libsm-dev
+Conflicts: elk (<< 3.99-1)
+Replaces: elk (<< 3.99-1)
+Description: development files for libelk0
+ Elk is an implementation of the Scheme programming language, designed
+ specifically as an embeddable, reusable extension language subsystem for
+ applications written in C or C++.
+ .
+ This package contains the header files and static library needed to compile
+ applications that use libelk0.
+
+Package: elkdoc
+Architecture: all
+Section: doc
+Description: documentation for the Extension Language Kit
+ Elk is an implementation of the Scheme programming language, designed
+ specifically as an embeddable, reusable extension language subsystem for
+ applications written in C or C++.
+ .
+ This package contains the Elk documentation.
--- elk-3.99.7.orig/debian/elkdoc.dirs
+++ elk-3.99.7/debian/elkdoc.dirs
@@ -0,0 +1 @@
+usr/share/doc/elkdoc/
--- elk-3.99.7.orig/debian/elk.docs
+++ elk-3.99.7/debian/elk.docs
@@ -0,0 +1,2 @@
+NEWS
+README
--- elk-3.99.7.orig/debian/libelk0.dirs
+++ elk-3.99.7/debian/libelk0.dirs
@@ -0,0 +1,2 @@
+usr/lib
+usr/share/doc
--- elk-3.99.7.orig/debian/compat
+++ elk-3.99.7/debian/compat
@@ -0,0 +1 @@
+4
--- elk-3.99.7.orig/debian/menu
+++ elk-3.99.7/debian/menu
@@ -0,0 +1,2 @@
+?package(elk):needs="text" section="Apps/Programming" \
+ title="elk" command="/usr/bin/elk"
--- elk-3.99.7.orig/debian/changelog
+++ elk-3.99.7/debian/changelog
@@ -0,0 +1,264 @@
+elk (3.99.7-1) unstable; urgency=low
+
+ * New upstream release.
+
+ * Upstream fixed the build with Xorg 7.0 (Closes: #373572).
+
+ * debian/control:
+ + Build-depend on lesstif2-dev instead of lesstif-dev.
+ + Build-depend on debhelper (>= 4.0).
+ + Set policy to 3.7.2.
+ * debian/compat:
+ + Set compatibility level to 4.
+
+ -- Sam Hocevar (Debian packages) <sam+deb@zoy.org> Thu, 2 Mar 2006 14:20:10 +0100
+
+elk (3.99.6-4) unstable; urgency=low
+
+ * src/cont.c:
+ + Workaround for an amd64 gcc ICE, thanks to Kurt Roeckx (Closes: #308188).
+ * debian/control:
+ + Set policy to 3.6.2.1.
+
+ -- Sam Hocevar (Debian packages) <sam+deb@zoy.org> Tue, 1 Nov 2005 19:49:42 +0100
+
+elk (3.99.6-3) unstable; urgency=low
+
+ * debian/control:
+ + Build-depend on the new X development packages instead of xlibs-dev.
+
+ -- Sam Hocevar (Debian packages) <sam+deb@zoy.org> Sun, 14 Mar 2004 13:09:32 +0100
+
+elk (3.99.6-2) unstable; urgency=low
+
+ * debian/control:
+ + Switched back to libelfg0-dev because libelf1-dev was removed from
+ unstable (Closes: #225656).
+ * debian/rules:
+ + Added touch calls to avoid build failures due to clock skews.
+
+ -- Sam Hocevar (Debian packages) <sam+deb@zoy.org> Wed, 31 Dec 2003 18:24:21 +0100
+
+elk (3.99.6-1) unstable; urgency=low
+
+ * New upstream release.
+
+ -- Sam Hocevar (Debian packages) <sam+deb@zoy.org> Fri, 5 Dec 2003 13:35:10 +0100
+
+elk (3.99.5-3) unstable; urgency=low
+
+ * debian/control:
+ + Switched to libelf1-dev.
+
+ -- Sam Hocevar (Debian packages) <sam+deb@zoy.org> Mon, 13 Oct 2003 02:05:48 +0200
+
+elk (3.99.5-2) unstable; urgency=low
+
+ * debian/control:
+ + Added libelfg0-dev and xlibs-dev to the -dev package's dependencies.
+
+ -- Sam Hocevar (Debian packages) <sam+deb@zoy.org> Fri, 10 Oct 2003 14:35:06 +0200
+
+elk (3.99.5-1) unstable; urgency=low
+
+ * New upstream release.
+
+ -- Sam Hocevar (Debian packages) <sam+deb@zoy.org> Sun, 28 Sep 2003 14:52:11 +0200
+
+elk (3.99.3-1) unstable; urgency=low
+
+ * New upstream release.
+
+ -- Sam Hocevar (Debian packages) <sam+deb@zoy.org> Mon, 15 Sep 2003 13:45:17 +0200
+
+elk (3.99.2-1) unstable; urgency=low
+
+ * New upstream release.
+ * Documentation is now built instead of being shipped in the tarball.
+ * Fixed a bug in the garbage collector.
+ * debian/rules:
+ + Moved manpages to /usr/share/man (Closes: #210894).
+ + Ignore plugins in the dh_makeshlibs call.
+ + Removed the elk->scheme-elk link, it is done at make install time.
+
+ -- Sam Hocevar (Debian packages) <sam+deb@zoy.org> Sat, 13 Sep 2003 08:33:15 +0200
+
+elk (3.99.1-1) unstable; urgency=low
+
+ * New release.
+
+ -- Sam Hocevar (Debian packages) <sam+deb@zoy.org> Sat, 6 Sep 2003 13:36:54 +0200
+
+elk (3.99.0-1) unstable; urgency=low
+
+ * New release.
+ * elk is now split into the library and the interpreter.
+
+ -- Sam Hocevar (Debian packages) <sam+deb@zoy.org> Wed, 3 Sep 2003 01:38:09 +0200
+
+elk (3.0-16) unstable; urgency=low
+
+ * **/build: Use gcc to link shared objects instead of ld, because gcc does
+ a lot of additional magic. Fixes the __canonicalize_funcptr_for_compare
+ unresolved symbol on HPPA (Closes: #205645).
+ * src/build: Make the build continue if debian/arch-config is not found.
+ * debian/compat: Use this instead of DH_COMPAT.
+
+ -- Sam Hocevar (Debian packages) <sam+deb@zoy.org> Wed, 20 Aug 2003 11:34:24 +0200
+
+elk (3.0-15) unstable; urgency=low
+
+ * In math.c:Exact_Modulo(), follow R5RS's definition of Modulo: if x/y is an
+ integer, return Zero (Closes: #197831).
+ * Made /usr/bin/elk a symlink to /usr/bin/scheme-elk.
+
+ -- Sam Hocevar (Debian packages) <sam+deb@zoy.org> Wed, 18 Jun 2003 01:42:54 +0200
+
+elk (3.0-14) unstable; urgency=low
+
+ * Rebuilt package against libgdbm's new version.
+ * Set policy to 3.5.10.
+
+ -- Sam Hocevar (Debian packages) <sam+deb@zoy.org> Wed, 4 Jun 2003 02:42:08 +0200
+
+elk (3.0-13) unstable; urgency=low
+
+ * Fixed gcc-3.3 compilation errors due to deprecated usage of <varargs.h>.
+
+ -- Sam Hocevar (Debian packages) <sam+deb@zoy.org> Fri, 30 May 2003 17:04:56 +0200
+
+elk (3.0-12) unstable; urgency=low
+
+ * Fixed generation of /usr/lib/elk/module.a (needed to build sced).
+
+ -- Samuel Hocevar <sam@zoy.org> Sat, 5 Apr 2003 01:45:26 +0200
+
+elk (3.0-11) unstable; urgency=low
+
+ * Fixed a compilation issue in src/load-dl.c:Load_Lib().
+ * Fixed more pointer/integer type confusions, used ptrdiff_t where possible.
+ * Fixed a register mangling issue in heap.c:Visit_GC_List() and
+ heap.c:Visit_Wind() (Really fixes #59893).
+
+ -- Samuel Hocevar <sam@zoy.org> Fri, 4 Apr 2003 02:48:29 +0200
+
+elk (3.0-10) unstable; urgency=low
+
+ * Updated debhelper build dependency to >>3.0.0.
+ * Shared library handling:
+ + Extended load.c:General_Load() to open shared libraries.
+ + Makefiles now build shared libraries.
+ + Stopped distributing .o files and replaced them with the .so shared
+ libraries; built the Unix, X11, Xaw and Motif extensions.
+ + The interpreter is no longer linked with -lgdbm, gdbm.so is instead.
+ * Replaced standalone.o and module.o with their .a equivalents.
+ * Made the 'debian/arch-config' sourcing errors non-fatal so that make
+ distclean works in the src/ directory.
+ * Changed SCM_DIR again, from /usr/share/elk/scm to /usr/share/elk, and
+ ditto with OBJ_DIR, from /usr/lib/elk/obj to /usr/lib/elk.
+ * Defaulted "garbage-collect-notify?" and "autoload-notify?" to #f.
+
+ -- Samuel Hocevar <sam@zoy.org> Tue, 1 Apr 2003 23:34:26 +0200
+
+elk (3.0-9) unstable; urgency=low
+
+ * New maintainer.
+ * Packaging updates:
+ + Fixed spelling in the package description (Closes: #161056).
+ + Updated standards version to 3.5.9.0.
+ + Changed SCM_DIR from /usr/lib/elk/scm to /usr/share/elk/scm because
+ scheme scripts are platform-independent.
+ * Massive code cleanups:
+ + Added -Wall to the build rules to make error spotting easier, and fixed
+ all compilation warnings in the main program.
+ + Replaced sys_errlist with strerror, bcopy with memcpy, bzero with memset.
+ + Fixed many uninitialized variables.
+ * Fixed some pointer/integer type confusions which caused elk to crash
+ on alpha (Closes: #59893) and probably ia64.
+ * Fixed a read overflow in heap-gen.c:AllocPage() that was corrupting the
+ internal heap (Closes: #57621).
+ * Fixed a missing memory area initialization in heap-gen.c:ExpandHeap() that
+ was causing garbage collector crashes.
+ * Fixed an integer sign issue in main.c:Max_Stack (Closes: #176190).
+ * Made `quit' an alias for `exit' in toplevel.scm.
+
+ -- Samuel Hocevar <sam@zoy.org> Tue, 1 Apr 2003 11:33:23 +0200
+
+elk (3.0-8.1) unstable; urgency=low
+
+ * NMU.
+ * Added missing build dependencies (closes: #109854, #116532).
+ * Fix menu item (closes: #121004).
+ * Apply patch to make package lintian clean (closes: #126987).
+ * src/build: include debian/arch-config to specify build flags for
+ the alpha (-O0). May fix #59893.
+
+ -- Matthias Klose <doko@debian.org> Fri, 11 Jan 2002 18:12:44 +0100
+
+elk (3.0-8) unstable; urgency=low
+
+ * documentation moved to /usr/share/doc (Closes: Bug#91451, Bug#91453)
+ * manpages moved to /usr/share/man (Closes: Bug#91148)
+ * elkdoc moved to section doc (Closes: Bug#35701)
+ * Updated to current policy (Closes: Bug#82811)
+ * Added Build-Depends line (Closes: Bug#70820)
+ * link to libgdbmg1 (Closes: Bug#75710, Bug#65457)
+
+ -- Enrique Zanardi <ezanard@debian.org> Mon, 26 Mar 2001 21:14:03 +0100
+
+elk (3.0-7) frozen; urgency=high
+
+ * Just recompiled. If someone builds a program that links to elk 3.0-6
+ and libc6 2.1.3 (potato version) it segfaults on start.
+ The version of sced that fixes RC bug #62971 depends on this version
+ of elk!
+
+ -- Enrique Zanardi <ezanard@debian.org> Sat, 13 May 2000 13:06:01 +0100
+
+elk (3.0-6) frozen; urgency=low
+
+ * Don't strip modules. Bug#23772 wasn't fixed by the previous upload.
+ (Closes Bug#23772).
+
+ -- Enrique Zanardi <ezanard@debian.org> Wed, 28 Oct 1998 20:09:58 +0000
+
+elk (3.0-5) frozen; urgency=low
+
+ * Renamed /usr/bin/scheme to /usr/bin/scheme-elk. /usr/bin/scheme is
+ now managed via update-alternatives. (Closes Bug#25295).
+ * Use --strip-unneeded for the modules. (Closes Bug#23772, Bug#26061).
+ * Moved /usr/bin/ldflags-elk to /usr/lib/elk/ldflags. (Closes Bug#26059).
+
+ -- Enrique Zanardi <ezanard@debian.org> Tue, 27 Oct 1998 14:16:42 +0000
+
+elk (3.0-4) frozen; urgency=low
+
+ * Added copyright file in elkdoc. (Closes Bug#19298).
+ * Stripped obj files.
+ * Updated policy version.
+ * Added !/bin/sh in ldflags-elk.
+ * Added usr/lib/elk/scm/elk.ini to use slib with Elk.
+
+ -- Enrique Zanardi <ezanardi@molec1.dfis.ull.es> Mon, 16 Mar 1998 12:47:07 +0000
+
+elk (3.0-3) unstable; urgency=low
+
+ * Removed hardcoded Architecture: i386. (Closes Bug#13618).
+
+ -- Enrique Zanardi <ezanardi@molec1.dfis.ull.es> Sun, 25 Jan 1998 04:02:45 +0000
+
+elk (3.0-2) unstable; urgency=low
+
+ * Rebuilt with libc6
+ * Provide manpages for ldflags-elk, makedl and linkscheme (Bug#6280)
+ * Renamed changelog.upstream.gz changelog.gz
+ * Pristine sources
+
+ -- Enrique Zanardi <ezanardi@molec1.dfis.ull.es> Sat, 27 Sep 1997 01:26:21 +0100
+
+elk (3.0-1) unstable; urgency=low
+
+ * Initial release
+
+ -- Enrique Zanardi <ezanardi@molec1.dfis.ull.es> Wed, 30 Oct 1996 13:05:48 +0000
+
--- elk-3.99.7.orig/debian/copyright
+++ elk-3.99.7/debian/copyright
@@ -0,0 +1,38 @@
+This is Debian GNU/Linux's prepackaged version of Elk, the Extension Language
+Kit, a Scheme implementation.
+
+This package was put together by Sam Hocevar from sources obtained from
+http://sam.zoy.org/projects/elk/ .
+
+Upstream Authors: Oliver Laumann <net@informatik.uni-bremen.de>
+ Sam Hocevar <sam@zoy.org>
+
+Copyright 1990, 1991, 1992, 1993, 1994, 1995, Oliver Laumann, Berlin
+(except for the contents of the directory `doc/usenix').
+Copyright 2002, 2003 Sam Hocevar <sam@zoy.org>, Paris
+
+This software was derived from Elk 1.2, which was Copyright 1987, 1988,
+1989, Nixdorf Computer AG and TELES GmbH, Berlin (Elk 1.2 has been written
+by Oliver Laumann (me) for TELES Telematic Services, Berlin, in a joint
+project between TELES and Nixdorf Microprocessor Engineering, Berlin).
+
+Oliver Laumann, TELES GmbH, and Nixdorf Computer AG, as co-owners or
+individual owners of copyright in this software, grant to any person or
+company a worldwide, royalty free, license to
+
+ i) copy this software,
+ ii) prepare derivative works based on this software,
+ iii) distribute copies of this software or derivative works,
+ iv) perform this software, or
+ v) display this software,
+
+provided that this notice is not removed and that neither Oliver Laumann
+nor Teles nor Nixdorf are deemed to have made any representations as to
+the suitability of this software for any purpose nor are held responsible
+for any defects of this software.
+
+THERE IS ABSOLUTELY NO WARRANTY FOR THIS SOFTWARE.
+
+Berlin, June 20, 1995
+
+Oliver Laumann <net@informatik.uni-bremen.de>
--- elk-3.99.7.orig/debian/elkdoc.docs
+++ elk-3.99.7/debian/elkdoc.docs
@@ -0,0 +1,7 @@
+AUTHORS
+BUGS
+MIGRATE
+MACHINES
+NEWS
+README
+TODO
--- elk-3.99.7.orig/debian/rules
+++ elk-3.99.7/debian/rules
@@ -0,0 +1,78 @@
+#!/usr/bin/make -f
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+configure: configure-stamp
+configure-stamp:
+ dh_testdir
+ ./configure --prefix=/usr --mandir=/usr/share/man
+ touch configure-stamp
+
+build: build-stamp
+build-stamp: configure-stamp
+ dh_testdir
+ $(MAKE)
+ touch build-stamp
+
+clean:
+ dh_testdir
+ dh_testroot
+ rm -f build-stamp configure-stamp
+ -$(MAKE) -i distclean
+ dh_clean
+
+install: build
+ dh_testdir
+ dh_testroot
+ dh_clean -k
+ dh_installdirs
+
+ $(MAKE) install DESTDIR=$(CURDIR)/debian/elk
+
+ mv $(CURDIR)/debian/elk/usr/lib/*.so.* \
+ $(CURDIR)/debian/libelk0/usr/lib/
+
+ mv $(CURDIR)/debian/elk/usr/include/elk/* \
+ $(CURDIR)/debian/libelk0-dev/usr/include/elk/
+ mv $(CURDIR)/debian/elk/usr/lib/*.so \
+ $(CURDIR)/debian/elk/usr/lib/*.la \
+ $(CURDIR)/debian/elk/usr/lib/*.a \
+ $(CURDIR)/debian/libelk0-dev/usr/lib/
+
+ mv $(CURDIR)/debian/elk/usr/share/doc/elk/ps \
+ $(CURDIR)/debian/elkdoc/usr/share/doc/elkdoc/
+ mv $(CURDIR)/debian/elk/usr/share/doc/elk/examples \
+ $(CURDIR)/debian/elkdoc/usr/share/doc/elkdoc/
+
+binary-indep: build install
+ dh_testdir
+ dh_testroot
+ dh_installdocs -i
+ dh_installchangelogs -i ChangeLog
+ dh_compress -i
+ dh_fixperms -i
+ dh_installdeb -i
+ dh_gencontrol -i
+ dh_md5sums -i
+ dh_builddeb -i
+
+binary-arch: build install
+ dh_testdir
+ dh_testroot
+ dh_installdocs -s
+ dh_installmenu -s
+ dh_installchangelogs -s ChangeLog
+ dh_strip -s
+ dh_link -s usr/bin/elk usr/bin/scheme-elk
+ dh_compress -s
+ dh_fixperms -s
+ dh_makeshlibs -s -X usr/lib/elk
+ dh_installdeb -s
+ dh_shlibdeps -s -L libelk0 -l debian/libelk0/usr/lib
+ dh_gencontrol -s
+ dh_md5sums -s
+ dh_builddeb -s
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install configure