debian/0000775000000000000000000000000012055630334007171 5ustar debian/patches/0000775000000000000000000000000012055630332010616 5ustar debian/patches/0002-drop-gcc-arch-native-opt.patch0000664000000000000000000000344012055630321016712 0ustar From: Barak A. Pearlmutter Date: Tue, 19 Jul 2011 18:06:33 +0200 Subject: [PATCH] drop gcc arch native opt --- ports/AMD64/makefile-head | 2 +- ports/LINUX/makefile-head | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ports/AMD64/makefile-head b/ports/AMD64/makefile-head index 911b4ab..669e902 100644 --- a/ports/AMD64/makefile-head +++ b/ports/AMD64/makefile-head @@ -4,7 +4,7 @@ # Default flags to use when invoking the C compiler. -CFLAGS = -march=native -Wall -O2 -finline-functions -fno-math-errno -frename-registers +CFLAGS = -Wall -O2 -U_FORTIFY_SOURCE -finline-functions -fno-math-errno -frename-registers LDFLAGS = -lsigsegv CC = gcc Index: scheme2c-2011.07.26/ports/ARM/makefile-head =================================================================== --- scheme2c-2011.07.26.orig/ports/ARM/makefile-head 2011-09-07 22:59:02.877331867 +0000 +++ scheme2c-2011.07.26/ports/ARM/makefile-head 2011-09-07 22:59:31.397373706 +0000 @@ -4,7 +4,7 @@ # Default flags to use when invoking the C compiler. -CFLAGS = -O2 -Wall -finline-functions -fno-math-errno -frename-registers -fomit-frame-pointer +CFLAGS = -O2 -U_FORTIFY_SOURCE -Wall -finline-functions -fno-math-errno -frename-registers -fomit-frame-pointer LDFLAGS = -lsigsegv CC = gcc diff --git a/ports/LINUX/makefile-head b/ports/LINUX/makefile-head index f13da18..5757b4c 100644 --- a/ports/LINUX/makefile-head +++ b/ports/LINUX/makefile-head @@ -4,7 +4,7 @@ # Default flags to use when invoking the C compiler. -CFLAGS = -march=native -Wall -O2 -finline-functions -fno-math-errno -frename-registers -fomit-frame-pointer -m32 +CFLAGS = -Wall -O2 -U_FORTIFY_SOURCE -finline-functions -fno-math-errno -frename-registers -fomit-frame-pointer -m32 LDFLAGS = -m32 -lsigsegv CC = gcc -- debian/patches/0001-doc-pdflatex.patch0000664000000000000000000000120512055630321014563 0ustar From: Barak A. Pearlmutter Date: Tue, 19 Jul 2011 18:04:42 +0200 Subject: [PATCH] doc pdflatex --- doc/makefile | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) Index: scheme2c-2011.07.26/doc/makefile =================================================================== --- scheme2c-2011.07.26.orig/doc/makefile 2011-09-07 21:51:06.961353766 +0000 +++ scheme2c-2011.07.26/doc/makefile 2011-09-07 21:52:20.000000000 +0000 @@ -18,6 +18,7 @@ TEX=latex %.ps: %.dvi; dvips -K -Ppdf -G0 -R0 -q -tletter -o $@ $< %.pdf: %.ps; ps2pdf $< $@ +%.pdf: %.tex; pdflatex $< export TEXINPUTS r4rs.dvi: TEXINPUTS=r4rs: debian/patches/debian-changes0000664000000000000000000002364712055630321013403 0ustar Description: TODO: Put a short summary on the line above and replace this paragraph with a longer explanation of this change. Complete the meta-information with other relevant fields (see below for details). To make it easier, the information below has been extracted from the changelog. Adjust it or drop it. . scheme2c (2011.07.26-5) unstable; urgency=low . * include missing xlib .sch files used by, e.g., QobiScheme Author: Barak A. Pearlmutter --- The information above should follow the Patch Tagging Guidelines, please checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here are templates for supplementary fields that you might want to add: Origin: , Bug: Bug-Debian: http://bugs.debian.org/ Bug-Ubuntu: https://launchpad.net/bugs/ Forwarded: Reviewed-By: Last-Update: --- scheme2c-2011.07.26.orig/README +++ scheme2c-2011.07.26/README @@ -170,7 +170,7 @@ running ULTRIX. such as ~/bin: 8 >cd .. - 9 >make "DESTDIR = /udir/`whoami`/bin" install-private + 9 >make prefix=$HOME/s2c BINDIR=. LIBDIR=. LIBSUBDIR=. install 10 >rehash Given that this directory in the current search path, the compiler can --- scheme2c-2011.07.26.orig/CHANGES +++ scheme2c-2011.07.26/CHANGES @@ -64,7 +64,7 @@ Compiler changes since the 01nov91jfb re (set! bar 4) ) containging let's whose only purpose is to introduce a new lexical scope - are now correctly compiled when the appear at the top level. + are now correctly compiled when they appear at the top level. 7. Lambda expressions containing arguments that are not symbols now result in an error message rather than a compiler error. --- /dev/null +++ scheme2c-2011.07.26/INSTALL @@ -0,0 +1,45 @@ +#!/bin/sh + +# QUICK BUILD/INSTALLATION GUIDE + +# Quick instructions for building s2c on Debian amd64, including the +# X11-enabled libraries etc. All lines including "-C doc" can be +# omitted to skip the manuals. Switch AMD64 to LINUX (for i386) or ARM +# (for arm). Change prefix to /usr or /home/username, and other +# locations, as appropriate. + +# required development libraries: libsigsegv-dev, libx11-dev + +# required to build documentation: +# texlive-latex-base, texlive-latex-extra, latex209-bin, +# texlive-fonts-recommended, ghostscript + +# In the root of the unpacked sources run: + +set -e +set -x + +A=AMD64 +P="prefix=/usr/local MANDIR=\$(prefix)/share/man DOCDIR=\$(prefix)/share/doc/scheme2c" +D=~/tmp/s2c +I="$P DESTDIR=$D" +T=~/tmp/scheme2c-binary.tar.gz +MAKE=make + +${MAKE} $P for$A +${MAKE} $P -C $A +${MAKE} $P -C $A/cdecl all +${MAKE} $P -C $A/xlib sizeof.cdecl libs2cxl.a s2cixl +${MAKE} $P -C doc + +${MAKE} $I -C $A/scrt install +${MAKE} $I -C $A/scsc install +${MAKE} $I -C $A/cdecl install +${MAKE} $I -C $A/xlib install +${MAKE} $I -C doc install + +tar -zcf $T -C $D . + +# The result is a tarball which can be installed with, e.g., + +# sudo tar -C / -zxf $T --- scheme2c-2011.07.26.orig/cdecl/makefile +++ scheme2c-2011.07.26/cdecl/makefile @@ -19,7 +19,7 @@ MISC = sizeof.c sch.sc README document l SRCDIR = ../../cdecl -SCC = ../scsc/s2cc +SCC = ../scsc/Xs2cc .sc.c: ${SCC} -C $*.sc --- scheme2c-2011.07.26.orig/doc/embedded.tex +++ scheme2c-2011.07.26/doc/embedded.tex @@ -150,11 +150,11 @@ application. The current time slice valu \subsection*{Sample embedded application} A sample embedded Scheme application, \texttt{embedded}, is found in -the directory \texttt{server}. A typescript of its execution shows +the directory \texttt{scrt}. A typescript of its execution shows how an application should interact with an embedded Scheme system. \begin{quote} \begin{verbatim} -csh 990 >embedded +$ embedded Embedded Scheme->C Test Bed 0- (+ 1 2) 3 --- scheme2c-2011.07.26.orig/doc/smithnotes.tex +++ scheme2c-2011.07.26/doc/smithnotes.tex @@ -62,7 +62,7 @@ is executed, the window looks like this: \begin{quote} \begin{verbatim} -csh >s2ci +$ s2ci Scheme->C -- 01sep91jfb -- Copyright 1989 Digital Equipment Corporation > \end{verbatim} --- scheme2c-2011.07.26.orig/doc/s2cc.l +++ scheme2c-2011.07.26/doc/s2cc.l @@ -149,7 +149,7 @@ error file. .br /.../libs2c_p.a profiled library (optional) .br -/.../s2cc c-shell script +/.../s2cc shell script .br /.../s2ccomp compiler .br --- scheme2c-2011.07.26.orig/xlib/makefile +++ scheme2c-2011.07.26/xlib/makefile @@ -17,7 +17,7 @@ CDECL = ../cdecl/s2cdecl SIZEOF = ../cdecl/s2csizeof SCH = ../cdecl/s2ch SRCDIR = ../../xlib -SCC = ../scsc/s2cc +SCC = ../scsc/Xs2cc SCXLIB = libs2cxl.a XD = X.cdecl Xatom.cdecl Xlib.cdecl Xresource.cdecl Xutil.cdecl \ @@ -39,6 +39,9 @@ xdsc = depth.sc screen.sc visual.sc xarc xvisualinfo.sc xwindowattributes.sc xwindowchanges.sc xwmhints.sc \ xpixmapformatvalues.sc xtextproperty.sc +xdschextra = xws2.sch xws3.sch xws4.sch xws5.sch xws6.sch xws7.sch \ + xws8.sch xws9.sch xws10.sch xwsr4.sch + xdsch = depth.sch screen.sch visual.sch xarc.sch xchar2b.sch xcharstruct.sch \ xclasshint.sch xcomposestatus.sch xcolor.sch xlibCONSTANTS.sch \ xevent.sch xfontprop.sch xfontstruct.sch xgcvalues.sch \ @@ -49,7 +52,7 @@ xdsch = depth.sch screen.sch visual.sch xlibSTUBS.sch xtextitem.sch xtextitem16.sch xtimecoord.sch \ xlibTYPES.sch xvisualinfo.sch xwindowattributes.sch \ xwindowchanges.sch xwmhints.sch xpixmapformatvalues.sch \ - xtextproperty.sch + xtextproperty.sch $(xdschextra) xdc = depth.c screen.c visual.c xarc.c xchar2b.c xcharstruct.c \ --- scheme2c-2011.07.26.orig/scsc/makefile +++ scheme2c-2011.07.26/scsc/makefile @@ -81,24 +81,29 @@ sc-to-c: ${scc} Xs2ccomp: ${scc} ${sco} ${RT} ${CC} -o Xs2ccomp ${CFLAGS} ${sco} ${RT} -lm ${LDFLAGS} -Xmv: - mv Xs2ccomp s2ccomp +s2ccomp: Xs2ccomp + cp -a Xs2ccomp s2ccomp port: - $(MAKE) "CC = ${CC}" "CFLAGS = ${CFLAGS}" "SCC = echo" Xs2ccomp - $(MAKE) "CC = ${CC}" "CFLAGS = ${CFLAGS}" "SCC = echo" Xmv + $(MAKE) "CC=${CC}" "CFLAGS=${CFLAGS}" "SCC=echo" Xs2ccomp s2ccomp s2cc: - echo '#! /bin/sh' \ - > $* - echo '${LIBDIR}/${LIBSUBDIR}/s2ccomp -scl ${SCL} -scmh ${SCMH} \ - -cc ${CC} -LIBDIR ${LIBDIR}/${LIBSUBDIR} $$*' \ - >> $* - chmod +x $* + echo '#! /bin/sh' > $@ + echo ${LIBDIR}/${LIBSUBDIR}/s2ccomp -scl ${SCL} -scmh ${SCMH} \ + -cc ${CC} -LIBDIR ${LIBDIR}/${LIBSUBDIR} '$$*' >> $@ + chmod +x $@ + +Xs2cc: + echo '#! /bin/sh' > $@ + echo $$(pwd)/s2ccomp -scl ${SCL} -scmh ${SCMH} \ + -cc ${CC} -LIBDIR $$(pwd)/${RTDIR} '$$*' >> $@ + chmod +x $@ + +all: s2cc s2ccomp install: s2cc # s2ccomp ${INSTALL} -d ${DESTDIR}${BINDIR} - ${INSTALL_SCRIPT} s2cc ${DESTDIR}${BINDIR} + ${INSTALL_SCRIPT} s2cc ${DESTDIR}${BINDIR}/ ln -sf s2cc ${DESTDIR}${BINDIR}/scc ${INSTALL} -d ${DESTDIR}${LIBDIR}/${LIBSUBDIR} ${INSTALL_PROGRAM} s2ccomp ${DESTDIR}${LIBDIR}/${LIBSUBDIR}/ @@ -112,19 +117,9 @@ clean-sc-to-c: noprogs: rm -f s2ccomp Xs2ccomp -all: s2cc - $(MAKE) "SCC = ${SCC}" "RTDIR = ${RTDIR}" "CFLAGS = ${CFLAGS}" \ - Xs2ccomp Xmv - -srclinks: +srclinks: s2cc Xs2cc for x in ${scsc} ${scc} ${scsch}; \ do ln -s ${SRCDIR}/$$x $$x;\ done - echo '#! /bin/sh' > s2cc - echo `pwd`'/s2ccomp -scl ${SCL} -scmh ${SCMH} \ - -cc ${CC} -LIBDIR ' `pwd`'/${RTDIR} $$*' >> s2cc - chmod +x s2cc - echo '#! /bin/sh' > Xs2cc - echo `pwd`'/Xs2ccomp -scl ${SCL} -scmh ${SCMH} \ - -cc ${CC} -LIBDIR ' `pwd`'/${RTDIR} $$*' >> Xs2cc - chmod +x Xs2cc + +.PHONY: all clean port install sc-to-c srclinks noprogs clean-sc-to-c --- scheme2c-2011.07.26.orig/test/makefile +++ scheme2c-2011.07.26/test/makefile @@ -2,7 +2,7 @@ # Scheme->C compiler and runtime tests. # -SCC = ../scsc/s2cc +SCC = ../scsc/Xs2cc SCCFLAGS = -g n = n must be defined @@ -91,9 +91,9 @@ noprogs: rm -f ${progs} all: - $(MAKE) "SCC = ${SCC}" "SCCFLAGS = ${SCCFLAGS}" \ + $(MAKE) "SCC=${SCC}" "SCCFLAGS=${SCCFLAGS}" \ test test50 test51 test52 test54 - $(MAKE) "SCC = ${SCC}" "SCCFLAGS = ${SCCFLAGS}" "n = 53" testn + $(MAKE) "SCC=${SCC}" "SCCFLAGS=${SCCFLAGS}" "n=53" testn alltests.sc: ${alltests} cat ${alltests} > alltests.sc @@ -103,5 +103,13 @@ srclinks: do ln -s ${SRCDIR}/$$x $$x;\ done -autotest: test test50 test54 - ./test && ./test50 && ./test54 +autotest: autotest-test autotest-test50 autotest-test54 + +autotest-test: test + ./test +autotest-test50: test50 + ./test50 +autotest-test54: test54 + ./test54 + +.PHONY: autotest-test autotest-test50 autotest-test54 --- scheme2c-2011.07.26.orig/scrt/makefile +++ scheme2c-2011.07.26/scrt/makefile @@ -41,7 +41,7 @@ INSTALL_SCRIPT = ${INSTALL} .SUFFIXES: .SUFFIXES: .o .c .sc .s -SCC = ../scsc/s2cc +SCC = ../scsc/Xs2cc SCCFLAGS = SRCDIR = ../../scrt @@ -111,24 +111,20 @@ Xmv: Xs2ci Xlibs2c.a mv Xlibs2c.a libs2c.a port: - $(MAKE) "CC = ${CC}" "CFLAGS = ${CFLAGS}" "SCC = echo" \ + $(MAKE) "CC=${CC}" "CFLAGS=${CFLAGS}" "SCC=echo" \ Xlibs2c.a Xs2ci Xmv ${Plib} libs2c_p.a: libs2c.a mkdir -p saveobj mv ${Sruntime} ${Cruntime} ${Aruntime} saveobj/ rm -f libs2c_p.a - $(MAKE) "CC = ${CC}" "CFLAGS = ${CFLAGS} -pg" ${Sruntime} ${Cruntime} \ + $(MAKE) "CC=${CC}" "CFLAGS=${CFLAGS} -pg" ${Sruntime} ${Cruntime} \ ${Aruntime} ar q libs2c_p.a ${Cruntime} ${Sruntime} ${Aruntime} ${RANLIB} libs2c_p.a mv saveobj/* ./ rmdir saveobj -install-private: - $(MAKE) "DESTDIR=${DESTDIR}" "LIBDIR=/." "BINDIR=/. LIBSUBDIR=." \ - "OWNER = -o `whoami`" install - install: ${INSTALL} -d ${DESTDIR}${LIBDIR}/${LIBSUBDIR} ${INSTALL_DATA} libs2c.a ${DESTDIR}${LIBDIR}/${LIBSUBDIR}/ @@ -160,8 +156,8 @@ bindist: libs2c.a ${Plib} s2ci ${destdir} all: - $(MAKE) "CC = ${CC}" "CFLAGS = ${CFLAGS}" "SCC = ${SCC}" \ - "SCCFLAGS = ${SCCFLAGS}" Xlibs2c.a Xs2ci Xmv ${Plib} + $(MAKE) "CC=${CC}" "CFLAGS=${CFLAGS}" "SCC=${SCC}" \ + "SCCFLAGS=${SCCFLAGS}" Xlibs2c.a Xs2ci Xmv ${Plib} srclinks: for x in ${Cruntimec} ${Chfiles} ${Sruntimec} ${Sruntimesc} ${Smisc}; \ debian/patches/series0000664000000000000000000000011312055630321012024 0ustar 0001-doc-pdflatex.patch 0002-drop-gcc-arch-native-opt.patch debian-changes debian/source/0000775000000000000000000000000012055630332010467 5ustar debian/source/format0000664000000000000000000000001412055630321011673 0ustar 3.0 (quilt) debian/scheme2c-doc.doc-base.smith-notes0000664000000000000000000000054212055630321015272 0ustar Document: scheme2c-smith-notes Title: Scheme->C notes for An Introduction to Scheme Author: Joel F. Bartlett Abstract: Section notes to point out the differences between TI PC Scheme used in the text "An Introduction to Scheme" by Jerry D. Smith and Scheme->C. Section: Programming/Scheme Format: PDF Files: /usr/share/doc/scheme2c-doc/smithnotes.pdf debian/scheme2c.manpages0000664000000000000000000000002712055630321012372 0ustar usr/share/man/man1/*.l debian/rules0000775000000000000000000000272712055630321010255 0ustar #!/usr/bin/make -f arch := $(shell dpkg-architecture -qDEB_BUILD_ARCH) ifeq ($(arch),amd64) S2C_ARCH = AMD64 else ifeq ($(arch),i386) S2C_ARCH = LINUX else ifeq ($(arch),armel) S2C_ARCH = ARM else ifeq ($(arch),armhf) S2C_ARCH = ARM else $(warning Warning: unsupported architecture $(arch)) S2C_ARCH = UNSUPPORTED endif dh_targets=binary binary-arch binary-indep build build-arch build-indep clean install $(dh_targets) %: dh $@ --parallel .PHONY: $(dh_targets) override_dh_auto_configure: $(MAKE) for$(S2C_ARCH) $(path_opts) path_opts = \ prefix=/usr \ MANDIR='$$(prefix)/share/man' \ DOCDIR='$$(prefix)/share/doc/scheme2c' install_opts = \ DESTDIR=`pwd`/debian/tmp \ $(path_opts) override_dh_auto_build: $(MAKE) -C $(S2C_ARCH) $(path_opts) # architecture dependent, executables $(MAKE) -C $(S2C_ARCH)/cdecl $(path_opts) all # sizeof cdecl $(MAKE) -C $(S2C_ARCH)/xlib $(path_opts) sizeof.cdecl libs2cxl.a s2cixl $(MAKE) -C doc $(path_opts) # architecture independent, documentation override_dh_auto_install: $(MAKE) -C $(S2C_ARCH)/scrt $(install_opts) install $(MAKE) -C $(S2C_ARCH)/scsc $(install_opts) install $(MAKE) -C $(S2C_ARCH)/cdecl $(install_opts) install $(MAKE) -C $(S2C_ARCH)/xlib $(install_opts) install $(MAKE) -C doc $(install_opts) install override_dh_compress: dh_compress --exclude=.pdf --exclude=scheme2c-doc/examples/ ifneq ($(S2C_ARCH),) override_dh_auto_clean: -rm -rf $(S2C_ARCH) dh_auto_clean endif debian/scheme2c.install0000664000000000000000000000004712055630321012247 0ustar usr/bin usr/lib/scheme2c usr/share/man debian/scheme2c-doc.doc-base.embedded0000664000000000000000000000077312055630321014557 0ustar Document: scheme2c-embedded Title: Embedded Scheme->C Author: Joel F. Bartlett Abstract: Description of how to use Scheme->C for embedded domains, and how to engage optional facilities in the Scheme->C compiler and runtime system to support embedded domains, including: explicit time slicing, explicit stack overflow checks, request-response interaction, and avoiding reliance on POSIX libraries or system calls. Section: Programming/Scheme Format: PDF Files: /usr/share/doc/scheme2c-doc/embedded.pdf debian/copyright0000664000000000000000000000727612055630321011134 0ustar This package was debianized by Barak A. Pearlmutter on Sun, 04 May 2008 11:21:35 +0100. It was downloaded from http://scheme2c.alioth.debian.org/, the current active upstream site. Scheme->C was released under a free license by HP, the successor-in-interest to Digital Equipment Corporation, which supplied the original http://www.hpl.hp.com/personal/Hans_Boehm/nscheme2c.tgz See also http://ftp.cs.indiana.edu/pub/scheme-repository/imp/Scheme-to-C/ for a collection of patches and old source; all relevant bits are supposed to have been merged into the Alioth project above. Upstream Authors: The original Scheme->C system & documentation was written by Joel Bartlett Some porting and modernization patches were written by: Andrei Barbu Jeffrey Mark Siskind The R4RS manual, included, was written by a committee, with editors William Clinger and Jonathan Reese. Copyright: Hewlitt-Packard Development Company, L.P. License: ;* Copyright (c) 1989-1993 Hewlett-Packard Development Company, L.P. ;* All Rights Reserved ;* Permission is hereby granted, free of charge, to any person obtaining a ;* copy of this software and associated documentation files (the "Software"), ;* to deal in the Software without restriction, including without limitation ;* the rights to use, copy, modify, merge, publish, distribute, sublicense, ;* and/or sell copies of the Software, and to permit persons to whom the ;* Software is furnished to do so, subject to the following conditions: ;* ;* The above copyright notice and this permission notice shall be included in ;* all copies or substantial portions of the Software. ;* ;* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR ;* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, ;* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE ;* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER ;* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING ;* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER ;* DEALINGS IN THE SOFTWARE. (Copyright was changed 4/28/08. Note that I did not change the copyright messages included in various examples, in spite of the fact that the copyright holder was changed from DEC to HP. If someone wants to fix the initial prompt in various examples in the documentation, feel free ... Hans Boehm) The documentation includes a copy of the R4RS manual, which states: We intend this report to belong to the entire Scheme community, and so we grant permission to copy it in whole or in part without fee. In particular, we encourage implementors of Scheme to use this report as a starting point for manuals and other documentation, modifying it as necessary. It was written and edited by: William Clinger and Jonathan Rees (Editors) H. Abelson R. K. Dybvig C. T. Haynes G. J. Rozas N. I. Adams IV D. P. Friedman E. Kohlbecker G. L. Steele Jr. D. H. Bartley R. Halstead D. Oxley G. J. Sussman G. Brooks C. Hanson K. M. Pitman M. Wand The R4RS sources include a LaTeX style file, algol60.sty, which states % Copyright (C) 1985 by Leslie Lamport % Hacked To Death (H) 1986 by Jonathan Rees from Lamport's REPORT and % REP11 document styles This style file appears to be covered by the same permissive grant that covers the remainder of the R4RS manual LaTeX source. The Debian packaging is (C) 2008, Barak A. Pearlmutter and is licensed under the GPL, see `/usr/share/common-licenses/GPL'. debian/scheme2c-doc.doc-base.index0000664000000000000000000000044712055630321014133 0ustar Document: scheme2c-index Title: Scheme->C Index to R4RS Author: Joel F. Bartlett Abstract: This described the idiosyncrasies of the Scheme->C dialect of the Scheme programming language, relative R4RS Scheme. Section: Programming/Scheme Format: PDF Files: /usr/share/doc/scheme2c-doc/index.pdf debian/scheme2c-doc.doc-base.intro0000664000000000000000000000043712055630321014156 0ustar Document: scheme2c-intro Title: An Introduction to Scheme->C in 19 Prompts Author: Joel F. Bartlett Abstract: A brief introduction to the Scheme->C system, in the form of a series of 19 interactions. Section: Programming/Scheme Format: PDF Files: /usr/share/doc/scheme2c-doc/intro.pdf debian/scheme2c-doc.docs0000664000000000000000000000005012055630321012266 0ustar debian/tmp/usr/share/doc/scheme2c/*.pdf debian/compat0000664000000000000000000000000212055630321010363 0ustar 9 debian/scheme2c-doc.examples0000664000000000000000000000005512055630321013161 0ustar debian/tmp/usr/share/doc/scheme2c/examples/* debian/changelog0000664000000000000000000001240012055630321011034 0ustar scheme2c (2011.07.26-5ubuntu1) raring; urgency=low * Merge from Debian unstable. Remaining changes: - Build with -U_FORTIFY_SOURCE to fix FTBFS (on ARM too). -- Logan Rosen Wed, 28 Nov 2012 14:58:22 -0500 scheme2c (2011.07.26-5) unstable; urgency=low * include missing xlib .sch files used by, e.g., QobiScheme -- Barak A. Pearlmutter Thu, 15 Mar 2012 15:29:55 +0000 scheme2c (2011.07.26-4) unstable; urgency=low * dh 9 * bump debian policy (no changes required) * minor non-functional upstream tweaks -- Barak A. Pearlmutter Thu, 01 Mar 2012 20:53:25 +0000 scheme2c (2011.07.26-3ubuntu1) precise; urgency=low * Merge from Debian testing. Remaining changes: + Build with -U_FORTIFY_SOURCE to fix FTBFS (on ARM too) -- Stephan Adig Fri, 28 Oct 2011 10:16:01 +0000 scheme2c (2011.07.26-3) unstable; urgency=low * single debian patch source option (closes: #643271) * tiny upstream documentation tweaks -- Barak A. Pearlmutter Sun, 09 Oct 2011 21:43:11 +0100 scheme2c (2011.07.26-2ubuntu2) oneiric; urgency=low * Build with -U_FORTIFY_SOURCE on ARM too. -- Matthias Klose Wed, 07 Sep 2011 23:01:16 +0000 scheme2c (2011.07.26-2ubuntu1) oneiric; urgency=low * Build with -U_FORTIFY_SOURCE to fix FTBFS. LP: #756052. -- Matthias Klose Wed, 07 Sep 2011 23:59:17 +0200 scheme2c (2011.07.26-2) unstable; urgency=low * dh_targets in debian/rules * upstream mod: makefile tweaks to squash script path bug (closes: #637341) * pass installation paths during build -- Barak A. Pearlmutter Fri, 19 Aug 2011 13:44:46 +0200 scheme2c (2011.07.26-1) unstable; urgency=low * absorb upstream rename and installation mods * simplify packaging scripts * refresh quilt patches -- Barak A. Pearlmutter Tue, 26 Jul 2011 20:30:04 +0100 scheme2c (2011.07.19-1) unstable; urgency=low * bump standards version (debian/control) * add useful utilities to package - s2cxl.a (X library for linking to) and associated *.sch include files - s2cdecl (generate C declarations from Scheme code, for linking) as s2cdecl - s2ch (generate C headers, for linking external C) - s2cixl (interpreter with X procedures available) - sizeof.cdecl (standard sizes on current architecture) * debhelper 8 * accept armhf patch to debian/control and debian/rules (closes: #604665) * allow parallel build (debian/rules) * merge upstream changes: - increase AMD64 max heap size - ditch gensym - emit some prototypes - add -Wall option to gcc invocation - rename scc to s2cc, sci to s2ci, etc * add symbolic links for old names: s2ci to sci, s2cc to scc, etc * add examples: X11 programs written in Scheme->C and appropriate Makefile -- Barak A. Pearlmutter Tue, 19 Jul 2011 19:41:56 +0200 scheme2c (1993.3.15.2-10) unstable; urgency=low * merge upstream fixes: syntax-rules/case * use pdflatex not latex;dvips;ps2pdf bypassing ps2pdf bug (closes: #585546) -- Barak A. Pearlmutter Mon, 28 Jun 2010 12:37:21 +0200 scheme2c (1993.3.15.2-9) unstable; urgency=low * remove -march=native from CFLAGS (closes: #582922) -- Barak A. Pearlmutter Mon, 24 May 2010 21:20:16 +0100 scheme2c (1993.3.15.2-8) unstable; urgency=low * bump deb standards * Switch to dpkg-source 3.0 (quilt) format -- Barak A. Pearlmutter Thu, 25 Mar 2010 18:56:40 +0000 scheme2c (1993.3.15.2-7) unstable; urgency=low * merge upstream change: increase scc heap while compiling xlib * modernize/shorten debian/rules * support ARM architecture (armel) -- Barak A. Pearlmutter Wed, 20 Jan 2010 18:04:24 +0100 scheme2c (1993.3.15.2-6) unstable; urgency=low * merge incremental upstream changes: build system tweaks, allow division by zero for floating point numbers, increase maximum non-rest argument count from 50 to 70, fix overflow bug in max heap size limit. -- Barak A. Pearlmutter Fri, 25 Sep 2009 14:33:45 -0400 scheme2c (1993.3.15.2-5) unstable; urgency=low * remove any remaining darcs debris * merge upstream bug fix (signal handling) * merge upstream AMD64 performance enhancement (SSE) * rev deb std -- Barak A. Pearlmutter Tue, 08 Sep 2009 14:15:24 -0400 scheme2c (1993.3.15.2-4) unstable; urgency=low * rev deb policy * debian/control homepage and cvs fields (darcs to git) -- Barak A. Pearlmutter Tue, 24 Mar 2009 10:36:32 +0000 scheme2c (1993.3.15.2-3) unstable; urgency=low * Switch to new section: lisp -- Barak A. Pearlmutter Tue, 17 Mar 2009 21:17:38 +0000 scheme2c (1993.3.15.2-2) unstable; urgency=low * Notice unrecognized architecture in debian/rules * Moronish debian/control build dependencies (closes: #494508) * Fix typos in Descriptions in debian/control (closes: #494586) -- Barak A. Pearlmutter Sun, 10 Aug 2008 22:48:11 +0100 scheme2c (1993.3.15.2-1) unstable; urgency=low * Initial Debian release, based on DEC release 15mar93jfb-1 plus a variety of patches plus a relicense by HP. -- Barak A. Pearlmutter Sun, 04 May 2008 11:21:35 +0100 debian/scheme2c-doc.doc-base.r4rs0000664000000000000000000000165412055630321013717 0ustar Document: r4rs Title: The Revised^4 Report on the Algorithmic Language Scheme Author: William Clinger and Jonathan Rees (editors), H. Abelson, R. K. Dybvig, C. T. Haynes, G. J. Rozas, N. I. Adams IV, D. P. Friedman, E. Kohlbecker, G. L. Steele Jr., D. H. Bartley, R. Halstead, D. Oxley, G. J. Sussman, G. Brooks, C. Hanson, K. M. Pitman, M. Wand Abstract: The report gives a defining description of the programming language Scheme. Scheme is a statically scoped and properly tail-recursive dialect of the Lisp programming language invented by Guy Lewis Steele Jr. and Gerald Jay Sussman. It was designed to have an exceptionally clear and simple semantics and few different ways to form expressions. A wide variety of programming paradigms, including imperative, functional, and message passing styles, find convenient expression in Scheme. Section: Programming/Scheme Format: PDF Files: /usr/share/doc/scheme2c-doc/r4rs.pdf debian/scheme2c.menu0000664000000000000000000000042512055630321011545 0ustar ?package(scheme2c):needs="text" section="Applications/Programming" \ title="DEC Scheme->C Interpreter" command="/usr/bin/s2ci" ?package(scheme2c):needs="text" section="Applications/Programming" \ title="DEC Scheme->C Interpreter with X11 support" command="/usr/bin/s2cixl" debian/control0000664000000000000000000000253412055630321010574 0ustar Source: scheme2c Section: lisp Priority: extra Maintainer: Ubuntu Developers XSBC-Original-Maintainer: Barak A. Pearlmutter Build-Depends: debhelper (>= 9), libsigsegv-dev, libx11-dev, texlive-latex-base, texlive-latex-extra, latex209-bin, texlive-fonts-recommended, ghostscript Standards-Version: 3.9.3 Homepage: http://scheme2c.alioth.debian.org/ Vcs-Git: git://git.debian.org/git/collab-maint/scheme2c.git Vcs-Browser: http://git.debian.org/?p=collab-maint/scheme2c.git Package: scheme2c Architecture: i386 amd64 armel armhf Depends: ${shlibs:Depends}, ${misc:Depends} Description: Joel Bartlett's fabled Scheme->C system The original Scheme->C system, the first of its kind. It conforms to the R4RS Scheme standard, and compiles Scheme sources to C as an intermediate step, allowing easy integration with external libraries. Also included is an interpreter, for development, along with some X11 interfaces and an X11-enabled interpreter. Due to a variety of clever techniques, the system is quite fast. Package: scheme2c-doc Section: doc Architecture: all Depends: ${shlibs:Depends}, ${misc:Depends} Description: Documentation for the Scheme->C system The documentation that accompanies the Scheme->C system includes a programmer's guide, tutorial, and a copy of the R4RS specification.