From 6dcb175d7f34d9f5a0b3ba623f94454ec16a73d6 Mon Sep 17 00:00:00 2001 From: Karl Sackett Date: Wed, 18 Dec 1996 13:27:20 -0600 Subject: Import Debian changes 4e6-2 scm (4e6-2) unstable; urgency=low * Recompiled to use regex0. scm (4e6-1) unstable; urgency=low * First Debian release. * Makefile.in: scm compiles with regex. --- Makefile.in | 13 ++++-- debian/changelog | 16 +++++++ debian/control | 12 +++++ debian/copyright | 15 +++++++ debian/postinst | 6 +++ debian/postrm | 4 ++ debian/require.scm.debian | 2 + debian/rules | 109 ++++++++++++++++++++++++++++++++++++++++++++++ 8 files changed, 173 insertions(+), 4 deletions(-) create mode 100644 debian/changelog create mode 100644 debian/control create mode 100644 debian/copyright create mode 100644 debian/postinst create mode 100644 debian/postrm create mode 100644 debian/require.scm.debian create mode 100755 debian/rules diff --git a/Makefile.in b/Makefile.in index c2f69c5..db0864b 100644 --- a/Makefile.in +++ b/Makefile.in @@ -80,13 +80,15 @@ defines = @DEFS@ \ # rgx.c init_rgx\(\) regcomp, regexec (POSIX) # crs.c init_curses\(\) lendwin\(\) ... lots ... -INITS = -DINITS=init_sc2\(\)\; +#INITS = -DINITS=init_sc2\(\)\;init_rgx\(\)\;init_crs\(\)\;init_edline\(\)\; +INITS = -DINITS=init_sc2\(\)\;init_rgx\(\)\; +#FINALS = -DFINALS=lendwin\(\)\; FINALS = -DFINALS=\; # If you are using rgx.c, set the next line to point to the include # directory where your POSIX regexp include files live (if you are using # GNU regex). -# RGXFLAGS = -I/archive/regex-0.11/ +RGXFLAGS = -I/usr/include/regex # If your system needs extra libraries loaded in, define them here. # -lm For floating point math (needed). @@ -94,7 +96,8 @@ FINALS = -DFINALS=\; # -lncurses For curses on Linux (curses has bugs). # -lterm{cap,lib} May be required for curses support. # -lregex For POSIX regexp support (rgx.c). -LOADLIBES = @LIBS@ -lm +#LOADLIBES = @LIBS@ -lm -lregex -lncurses -lreadline +LOADLIBES = @LIBS@ -lm -lregex # Any extra object files your system needs. extras = @LIBOBJS@ @@ -147,7 +150,7 @@ nunix = $(srcdir) # examples = examples examples = $(srcdir) ffiles = continue.o time.o repl.o fscl.o sys.o feval.o subr.o sc2.o \ -funif.o rope.o ramap.o findexec.o #rgx.o +funif.o rope.o ramap.o findexec.o rgx.o #edline.o crs.o fifiles = continue.o time.o repl.o iscm.o fscl.o sys.o feval.o subr.o \ sc2.o funif.o rope.o ramap.o findexec.o #rgx.o efiles = time.o repl.o escl.o sys.o eeval.o subr.o sc2.o eunif.o #rgx.o @@ -276,6 +279,8 @@ rgx.o: $(srcdir)/rgx.c $(srcdir)/scm.h Makefile scmconfig.h $(CC) $(CFLAGS) $(defines) $(RGXFLAGS) -c rgx.c crs.o: $(srcdir)/crs.c $(srcdir)/scm.h scmconfig.h $(CC) $(CFLAGS) $(defines) -c crs.c +edline.o: $(srcdir)/edline.c $(srcdir)/scm.h scmconfig.h + $(CC) $(CFLAGS) $(defines) -c edline.c findexec.o: $(srcdir)/findexec.c $(CC) $(CFLAGS) $(defines) -c $(srcdir)/findexec.c diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..e13dcf2 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,16 @@ +scm (4e6-2) unstable; urgency=low + + * Recompiled to use regex0. + + -- Karl Sackett 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 Fri, 13 Dec 1996 08:55:23 -0600 + +Local variables: +mode: debian-changelog +End: diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..6b831b5 --- /dev/null +++ b/debian/control @@ -0,0 +1,12 @@ +Source: scm +Section: devel +Priority: optional +Maintainer: Karl Sackett +Standards-Version: 2.1.1.2 + +Package: scm +Architecture: any +Depends: slib, ${shlibs:Depends} +Description: A Scheme language interpreter. + Scm conforms to Revised^4 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..39c1d54 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,15 @@ +This is the Debian GNU/Linux prepackaged version of scm. + +This package was put together by Karl Sackett , +from sources obtained from: + + ftp://swiss-ftp.ai.mit.edu/archive/scm/scm4e6.tar.gz + ftp://swiss-ftp.ai.mit.edu/archive/scm/scmconfig4e3.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. diff --git a/debian/postinst b/debian/postinst new file mode 100644 index 0000000..5f49c24 --- /dev/null +++ b/debian/postinst @@ -0,0 +1,6 @@ +#!/bin/sh +set -e +# +install-info --quiet --section "Development" "Development" \ + --description="A Scheme language interpreter" \ + /usr/info/scm.info.gz diff --git a/debian/postrm b/debian/postrm new file mode 100644 index 0000000..18f9b39 --- /dev/null +++ b/debian/postrm @@ -0,0 +1,4 @@ +#!/bin/sh +set -e +# +install-info --quiet --remove slib diff --git a/debian/require.scm.debian b/debian/require.scm.debian new file mode 100644 index 0000000..d876879 --- /dev/null +++ b/debian/require.scm.debian @@ -0,0 +1,2 @@ +(define (library-vicinity) "/usr/lib/slib/") +(load (in-vicinity (library-vicinity) "require")) diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..77e2a92 --- /dev/null +++ b/debian/rules @@ -0,0 +1,109 @@ +#! /usr/bin/make -f +# + +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 444 -o root -g root + +config: + $(checkdir) + ./configure + touch stamp-config + +build: + $(checkdir) + test -f stamp-config || make -f debian/rules config + make + makeinfo scm.texi -o scm.info + texi2html -monolithic scm.texi + cp debian/require.scm.debian require.scm + touch stamp-build + +clean: + $(checkdir) + test -f stamp-config || make -f debian/rules config + -rm scm.info* scm.html require.scm scm + make distclean + -rm Makefile + -rm -f stamp-config stamp-build + -rm -rf debian/tmp* debian/files debian/substvars + +binary-indep: checkroot + $(checkdir) + +binary-arch: checkroot + $(checkdir) + -rm -rf debian/tmp* + test -f stamp-build || make -f debian/rules build +# +# +# debian/tmp + $(INSTALL_DIR) debian/tmp + $(INSTALL_DIR) debian/tmp/DEBIAN + $(INSTALL_PROGRAM) debian/postinst 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) COPYING debian/tmp/usr/lib/scm + $(INSTALL_DATA) Init.scm debian/tmp/usr/lib/scm + $(INSTALL_DATA) Transcen.scm debian/tmp/usr/lib/scm + $(INSTALL_DATA) Iedline.scm debian/tmp/usr/lib/scm + $(INSTALL_DATA) Link.scm debian/tmp/usr/lib/scm + $(INSTALL_DATA) require.scm debian/tmp/usr/lib/scm + +# man pages + $(INSTALL_DIR) debian/tmp/usr/man/man1 + $(INSTALL_MAN) scm.1 debian/tmp/usr/man/man1 + -gzip -9fr debian/tmp/usr/man +# documentation + $(INSTALL_DIR) debian/tmp/usr/doc/scm + $(INSTALL_DATA) debian/copyright debian/tmp/usr/doc/scm + $(INSTALL_DATA) debian/changelog \ + debian/tmp/usr/doc/scm/changelog.Debian + gzip -9 debian/tmp/usr/doc/scm/changelog.Debian +# + $(INSTALL_DATA) ChangeLog debian/tmp/usr/doc/scm + gzip -9 debian/tmp/usr/doc/scm/ChangeLog + $(INSTALL_DATA) QUICKREF debian/tmp/usr/doc/scm + $(INSTALL_DATA) README debian/tmp/usr/doc/scm + $(INSTALL_DATA) README.unix debian/tmp/usr/doc/scm + $(INSTALL_DATA) scm.html debian/tmp/usr/doc/scm +# examples + $(INSTALL_DIR) debian/tmp/usr/doc/scm/examples + $(INSTALL_DATA) example.scm debian/tmp/usr/doc/scm/examples + $(INSTALL_DATA) pi.scm debian/tmp/usr/doc/scm/examples + $(INSTALL_DATA) pi.c debian/tmp/usr/doc/scm/examples + $(INSTALL_DATA) split.scm debian/tmp/usr/doc/scm/examples + $(INSTALL_DATA) r4rstest.scm debian/tmp/usr/doc/scm/examples +# info pages + $(INSTALL_DIR) debian/tmp/usr/info + $(INSTALL_DATA) scm.info* debian/tmp/usr/info + gzip -9 debian/tmp/usr/info/* +# + dpkg-shlibdeps scm + dpkg-gencontrol -isp -pscm -Pdebian/tmp + 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: config build clean binary binary-arch binary-indep -- cgit v1.2.3