--- mit-scheme-7.7.90+20070909.orig/debian/mit-scheme.manpages +++ mit-scheme-7.7.90+20070909/debian/mit-scheme.manpages @@ -0,0 +1 @@ +debian/mit-scheme-native.1 --- mit-scheme-7.7.90+20070909.orig/debian/mit-scheme.emacsen-install +++ mit-scheme-7.7.90+20070909/debian/mit-scheme.emacsen-install @@ -0,0 +1,31 @@ +#! /bin/sh +# /usr/lib/emacsen-common/packages/install/mit-scheme +set -e + +FLAVOR=${1} +if [ ${FLAVOR} = emacs ]; then exit 0; fi + +PACKAGE=mit-scheme +ELCDIR=/usr/share/${FLAVOR}/site-lisp/${PACKAGE} +FLAGS="${SITEFLAG} -q -batch -l path.el -f batch-byte-compile" + +echo install/${PACKAGE}: Handling install of emacsen flavor ${FLAVOR} + +rm -rf ${ELCDIR} +install --mode=755 --directory ${ELCDIR} + +cd /usr/share/emacs/site-lisp/${PACKAGE} +FILES=$(echo *.el) +cp -a ${FILES} ${ELCDIR}/. + +cd ${ELCDIR} +cat << EOF > path.el +(setq load-path (cons "." load-path) + byte-compile-warnings nil) +EOF + +${FLAVOR} ${FLAGS} ${FILES} + +rm -f *.el + +exit 0 --- mit-scheme-7.7.90+20070909.orig/debian/TODO +++ mit-scheme-7.7.90+20070909/debian/TODO @@ -0,0 +1,6 @@ +-*- Text -*- + +TODO items + +* Arrange to refer to appropriate GNU Emacs `movemail' program, or + else compile this from source ourselves. --- mit-scheme-7.7.90+20070909.orig/debian/mit-scheme.emacsen-startup +++ mit-scheme-7.7.90+20070909/debian/mit-scheme.emacsen-startup @@ -0,0 +1,18 @@ +;; -*-emacs-lisp-*- +;; Emacs startup file for the Debian GNU/Linux mit-scheme package + +(if (not (file-exists-p "/usr/share/emacs/site-lisp/mit-scheme")) + (message "Package mit-scheme removed but not purged. Skipping setup.") + + ;; Byte-compiled files go in "flavor-specific" directories. + (let ((dir + (concat "/usr/share/" + (symbol-name debian-emacs-flavor) + "/site-lisp/mit-scheme"))) + (if (fboundp 'debian-pkg-add-load-path-item) + (debian-pkg-add-load-path-item dir) + (add-to-list 'load-path dir t))) + + ;; Source files go in generic directories. They are added to the + ;; path, at the end, so that C-h f can find them. + (add-to-list 'load-path "/usr/share/emacs/site-lisp/mit-scheme" t)) --- mit-scheme-7.7.90+20070909.orig/debian/mit-scheme-dbg.install +++ mit-scheme-7.7.90+20070909/debian/mit-scheme-dbg.install @@ -0,0 +1 @@ +usr/lib/mit-scheme/*/*.bci --- mit-scheme-7.7.90+20070909.orig/debian/changelog +++ mit-scheme-7.7.90+20070909/debian/changelog @@ -0,0 +1,290 @@ +mit-scheme (7.7.90+20070909-0feisty1) feisty; urgency=low + + * Backport. + + -- Chris Hanson Sat, 29 Sep 2007 22:23:27 -0400 + +mit-scheme (7.7.90+20070909-1) unstable; urgency=low + + * New upstream. + + -- Chris Hanson Fri, 28 Sep 2007 22:11:46 -0400 + +mit-scheme (7.7.90+20070820-1) unstable; urgency=low + + * New upstream. + * Fix lintian warnings: + W: mit-scheme: desktop-entry-invalid-category + W: mit-scheme: menu-item-uses-apps-section + + -- Chris Hanson Tue, 21 Aug 2007 14:16:58 -0400 + +mit-scheme (7.7.90+20070623-1) unstable; urgency=low + + * New upstream. + * debian/rules, debian/mit-scheme.install, + debian/mit-scheme-dbg.install: adjust for changes to upstream + directory organization. + * debian/mit-scheme.prerm, debian/mit-scheme.manpages, + debian/mit-scheme-native.1, debian/mit-scheme.menu, + debian/mit-scheme.desktop, debian/mit-scheme.postinst: name of + executable has changed to "mit-scheme-native", and "mit-scheme" is now + managed as an alternative. This is to simplify coexistence with the + mit-scheme-c package. + * debian/bchscheme.1: removed since bchscheme executable no longer in + upstream. + + -- Chris Hanson Sun, 24 Jun 2007 00:10:57 -0400 + +mit-scheme (7.7.90+20070205-1) unstable; urgency=low + + * New upstream. + + -- Chris Hanson Mon, 5 Feb 2007 13:04:49 -0500 + +mit-scheme (7.7.90+20060906-3) unstable; urgency=low + + * No changes; rebuild with downgraded openssl in order to permit + transition into testing. + + -- Chris Hanson Wed, 20 Sep 2006 21:59:42 -0400 + +mit-scheme (7.7.90+20060906-2) unstable; urgency=low + + * debian/mit-scheme.emacsen-remove: don't purge if directory doesn't + exist. (closes: Bug#387788) + + -- Chris Hanson Tue, 19 Sep 2006 12:43:46 -0400 + +mit-scheme (7.7.90+20060906-1) unstable; urgency=low + + * New upstream. + * Fix Priority of mit-scheme-dbg to match overrides. + * Use debhelper v5. + * Add icon to menu entry. + * Add debian/watch file. + * Bump standards-version (no changes). + + -- Chris Hanson Sat, 9 Sep 2006 20:54:21 -0400 + +mit-scheme (7.7.90+20060414-1) unstable; urgency=low + + * New upstream snapshot. + * Move documentation to new package with separate "upstream". + * Move .bci files into separate package. (closes: Bug#358339) + + -- Chris Hanson Sat, 15 Apr 2006 21:18:11 -0400 + +mit-scheme (7.7.90+20060201-1) unstable; urgency=low + + * New upstream snapshot. + + -- Chris Hanson Wed, 1 Feb 2006 22:49:37 -0500 + +mit-scheme (7.7.90+20050912-2) unstable; urgency=low + + * Fix broken doc-base files. (closes: Bug#345096) + * Fix Emacs control scripts to match current policy. + (closes: Bug#328897) + * Change "etc/xscheme.el" to refer to "MIT/GNU Scheme". + * Patch "src/microcode/prdb4.c" to work with DB 4.3 and 4.4. + * Update FSF address "debian/copyright". + * Add documentation license to "debian/copyright". + + -- Chris Hanson Fri, 13 Jan 2006 12:45:43 -0500 + +mit-scheme (7.7.90+20050912-1) unstable; urgency=low + + * Acknowledge NMU (thanks Matej!). (closes: Bug#323739) + * New upstream snapshot. + * Bump standards version to 3.6.2 (no changes). + * Drop texi2html from build dependencies; no longer used. + + -- Chris Hanson Mon, 12 Sep 2005 21:36:33 -0400 + +mit-scheme (7.7.90-5.1) unstable; urgency=low + + * NMU during BSP. + * Fix build failure with gcc 4.0. Closes: #323739. + - src/microcode/obstack.h: Casts can no longer be combined with `++' + (backported from the current glibc version). + - src/microcode/uxio.c: Include for strlen. + * doc/*/Makefile.in: texi2html now creates a subdirectory by default; + invoke it with `--output=.'. + + -- Matej Vela Mon, 12 Sep 2005 10:13:58 +0200 + +mit-scheme (7.7.90-5) unstable; urgency=low + + * Add "libx11-dev" to build-depends. (closes: Bug#290845) + * Fix debian/control and debian/menu to eliminate some lintian errors + and warnings. + + -- Chris Hanson Tue, 18 Jan 2005 00:33:57 -0500 + +mit-scheme (7.7.90-4) unstable; urgency=low + + * Fix problem with CPUID detection on older 486 processors. + + -- Chris Hanson Fri, 31 Oct 2003 21:10:55 -0500 + +mit-scheme (7.7.90-3) unstable; urgency=low + + * Add --no-site-file to emacsen-install. Update syntax and formatting + of emacs control files. (closes: Bug#217903) + + -- Chris Hanson Mon, 27 Oct 2003 23:45:46 -0500 + +mit-scheme (7.7.90-2) unstable; urgency=low + + * Fix fatal bug in GC indicator when run under Emacs. + (closes: Bug#212958) + + -- Chris Hanson Wed, 15 Oct 2003 13:17:19 -0400 + +mit-scheme (7.7.90-1) unstable; urgency=low + + * New upstream unstable release. + * Use dynamic modules again. + * Standards version 3.6.1 (no changes). + + -- Chris Hanson Thu, 18 Sep 2003 23:44:41 -0400 + +mit-scheme (7.7.1-2) unstable; urgency=low + + * Change program name to MIT/GNU Scheme; this is now a GNU program. + * Don't exclude PDF files from compression; zxpdf will handle them. + * Link crypto modules normally, now that crypto is allowed in main. + * Use dh_installman to install man pages. + * Update debian/rules according to latest advice from autotools-dev. + * Use debian/compat instead of DH_COMPAT; use debhelper v4. + * Bump standards version to 3.5.10: new DEB_BUILD_OPTIONS handling. + + -- Chris Hanson Tue, 3 Jun 2003 17:57:24 -0400 + +mit-scheme (7.7.1-1) unstable; urgency=low + + * New upstream version. + + -- Chris Hanson Tue, 18 Jun 2002 01:37:28 -0400 + +mit-scheme (7.7.0-1) unstable; urgency=low + + * New upstream version. + + -- Chris Hanson Thu, 14 Mar 2002 17:04:07 -0500 + +mit-scheme (7.6.1-2) unstable; urgency=low + + * Make sure scheme-program-name is defined for XEmacs. + (closes: Bug#135556) + + -- Chris Hanson Mon, 25 Feb 2002 14:54:55 -0500 + +mit-scheme (7.6.1-1) unstable; urgency=low + + * New upstream version fixes fatal bug on certain AMD Athlon processors. + * Add tetex-extra to build-depends, since texi2pdf seems to need it. + + -- Chris Hanson Mon, 28 Jan 2002 23:26:13 -0500 + +mit-scheme (7.6.0-3) unstable; urgency=low + + * Another update to "xscheme.el"; this works around a race condition in + interrupt signalling. + + -- Chris Hanson Mon, 3 Dec 2001 13:53:56 -0500 + +mit-scheme (7.6.0-2) unstable; urgency=low + + * Use updated version of "xscheme.el". (closes: Bug#122105) + * Add changes recommended by autotools-dev package. + + -- Chris Hanson Mon, 3 Dec 2001 01:08:10 -0500 + +mit-scheme (7.6.0-1) unstable; urgency=low + + * New upstream version. + + -- Chris Hanson Mon, 26 Nov 2001 15:43:15 -0500 + +mit-scheme (7.5.17-3) unstable; urgency=low + + * Add manpages. + * Eliminate lintian error for undeclared conffile. + + -- Chris Hanson Thu, 4 Oct 2001 17:06:28 -0400 + +mit-scheme (7.5.17-2) unstable; urgency=low + + * Add code to manage the "scheme" executable using update-alternatives. + (closes: Bug#112948) + * Add "Description-fr" to "debian/control". + * Update standards-version to 3.5.6. + + -- Chris Hanson Thu, 20 Sep 2001 15:22:55 -0400 + +mit-scheme (7.5.17-1) unstable; urgency=low + + * New upstream version. + + -- Chris Hanson Wed, 18 Jul 2001 23:19:20 -0400 + +mit-scheme (7.5.16-3) unstable; urgency=low + + * Fix problem with code that builds bands. Previous revision was + completely broken due to this bug. + + -- Chris Hanson Sun, 29 Apr 2001 22:48:52 -0400 + +mit-scheme (7.5.16-2) unstable; urgency=low + + * Acknowledge bug report for missing man page. (closes: Bug#95377) + * Update to standards-version 3.5.3. + + -- Chris Hanson Sun, 29 Apr 2001 20:49:04 -0400 + +mit-scheme (7.5.16-1) unstable; urgency=low + + * New upstream release. + + -- Chris Hanson Mon, 19 Mar 2001 23:35:23 -0500 + +mit-scheme (7.5.15-1) unstable; urgency=low + + * New upstream release provides support for dynamic loading of crypto + packages. This allows the crypto support to be present without + forcing a dependency that would preclude putting mit-scheme in the + "main" section. + + -- Chris Hanson Thu, 8 Mar 2001 22:25:27 -0500 + +mit-scheme (7.5.14-2) unstable; urgency=low + + * Don't link with any crypto code, as required by policy for packages in + "main". (closes: Bug#88650) + + -- Chris Hanson Tue, 6 Mar 2001 00:23:58 -0500 + +mit-scheme (7.5.14-1) unstable; urgency=low + + * New upstream release allows dynamic linking to crypto libraries, and + supports OpenSSL. Previous release was statically linked against + unpackaged Blowfish library. + * Updated to standards-version 3.5.2. + + -- Chris Hanson Mon, 5 Mar 2001 11:46:44 -0500 + +mit-scheme (7.5.13-2) unstable; urgency=low + + * Change broken relative symbolic link to "/etc/mime.types" to an + absolute link. + * Add missing build-depends and depends. + + -- Chris Hanson Sun, 25 Feb 2001 16:40:45 -0500 + +mit-scheme (7.5.13-1) unstable; urgency=low + + * Initial Debian release. (closes: Bug#82641) + + -- Chris Hanson Sat, 24 Feb 2001 01:17:12 -0500 --- mit-scheme-7.7.90+20070909.orig/debian/mit-scheme-native.1 +++ mit-scheme-7.7.90+20070909/debian/mit-scheme-native.1 @@ -0,0 +1,121 @@ +.TH "mit\-scheme" "1" "7.7.90" "MIT/GNU Scheme Team" "" +.SH "NAME" +.LP +MIT/GNU Scheme \- Scheme development environment +.SH "SYNOPSIS" +.LP +.B mit\-scheme +.RI [ OPTIONS ] +.br +.B bchscheme +.RI [ OPTIONS ] +.br +.SH "DESCRIPTION" +.LP +MIT/GNU Scheme is an implementation of the Scheme programming +language, providing an interpreter, compiler, source\-code debugger, +integrated Emacs\-like editor, and a large runtime library. MIT/GNU +Scheme is best suited to programming large applications with a rapid +development cycle. +.LP +There are two executable programs. The programs are functionally +identical, but use different garbage collectors. +The +.B mit\-scheme +program uses a standard two\-space copying garbage collector. This +optimizes performance but uses a lot of memory. The +.B bchscheme +program uses a special two\-space copying garbage collector with one +heap in memory and the other on the disk. This makes garbage +collection slower but uses less memory. +.SH "OPTIONS" +.LP +These are some of the more common command\-line options. For full +information about available options, see the Texinfo documentation. +.TP +\-\-compiler +.br +Load the native\-code compiler. +.TP +\-\-edwin +.br +Load the Emacs\-like text editor. +.TP +.RI \-\-heap " NBLOCKS" +.br +Specify the size of the heap in 1024\-word blocks. +The default heap size is 1000 blocks if either \-\-compiler or \-\-edwin +is specified, and 250 blocks otherwise. +.TP +.RI \-\-stack " NBLOCKS" +.br +Specify the size of the stack in 1024\-word blocks. +The default stack size is 100 blocks. +.TP +.RI \-\-library " PATH" +.br +Specify where to look for Scheme's binary files. +.I PATH +should be a colon\-separated list of directory names. +.TP +\-\-no\-init\-file +.br +Don't load the user's init file. +.TP +\-\-edit +.br +Start the text editor automatically. Meaningful only when combined +with the \-\-edwin option. +.TP +.RI \-\-eval " EXPRESSION" ... +.br +Evaluate the specified expressions after starting Scheme. +.TP +.RI \-\-load " FILENAME" ... +.br +Load the specified files after starting Scheme. +.TP +\-\-option\-summary +.br +Print a summary of the command\-line options, including default values. +.SH "FILES" +.LP +\fI/usr/lib/mit\-scheme\fP +.SH "ENVIRONMENT VARIABLES" +.LP +MIT/GNU Scheme refers to a large number of environment variables. See +the Texinfo documentation for details. +.SH "EXAMPLES" +.LP +To use the interpreter without any frills, type: +.LP +.B mit\-scheme +.LP +To also load the compiler, type: +.LP +.B mit\-scheme +\-\-compiler +.LP +To load the compiler and editor, type: +.LP +.B mit\-scheme +\-\-compiler \-\-edwin \-\-edit +.SH "AUTHORS" +.LP +MIT/GNU Scheme Team +.SH "SEE ALSO" +.LP +The full documentation for MIT/GNU Scheme is maintained as a set of +Texinfo manuals. +If the +.B info +program is properly installed at your site, the command +.IP +.B info +"MIT/GNU Scheme User" +.PP +should give you access to the complete User's manual. Programming +information is located in the Info topics "MIT/GNU Scheme Ref" and +"SOS". Usage of the +.B IMAIL +mail reader is located in the "IMAIL" topic. --- mit-scheme-7.7.90+20070909.orig/debian/mit-scheme-dbg.postinst +++ mit-scheme-7.7.90+20070909/debian/mit-scheme-dbg.postinst @@ -0,0 +1,39 @@ +#!/bin/sh +# postinst script for mit-scheme +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * `configure' +# * `abort-upgrade' +# * `abort-remove' `in-favour' +# +# * `abort-deconfigure' `in-favour' +# `removing' +# +# for details, see /usr/share/doc/packaging-manual/ +# +# quoting from the policy: +# Any necessary prompting should almost always be confined to the +# post-installation script, and should be protected with a conditional +# so that unnecessary prompting doesn't happen if a package's +# installation fails and the `postinst' is called with `abort-upgrade', +# `abort-remove' or `abort-deconfigure'. + +case "${1}" in +(configure|abort-upgrade|abort-remove|abort-deconfigure) + ;; +(*) + echo "postinst called with unknown argument \"${1}\"" >&2 + exit 1 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 --- mit-scheme-7.7.90+20070909.orig/debian/mit-scheme-dbg.postrm +++ mit-scheme-7.7.90+20070909/debian/mit-scheme-dbg.postrm @@ -0,0 +1,33 @@ +#!/bin/sh +# postrm script for mit-scheme +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * `remove' +# * `purge' +# * `upgrade' +# * `failed-upgrade' +# * `abort-install' +# * `abort-install' +# * `abort-upgrade' +# * `disappear' overwrit>r> +# for details, see /usr/share/doc/packaging-manual/ + +case "${1}" in +(purge|remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) + ;; +(*) + echo "postrm called with unknown argument \"${1}\"" >&2 + exit 1 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 --- mit-scheme-7.7.90+20070909.orig/debian/mit-scheme.docs +++ mit-scheme-7.7.90+20070909/debian/mit-scheme.docs @@ -0,0 +1 @@ +src/README.txt --- mit-scheme-7.7.90+20070909.orig/debian/mit-scheme.install +++ mit-scheme-7.7.90+20070909/debian/mit-scheme.install @@ -0,0 +1,10 @@ +usr/bin +usr/lib/mit-scheme/*/*.com +usr/lib/mit-scheme/*/*.pkd +usr/lib/mit-scheme/*/*.scm +usr/lib/mit-scheme/all.com +usr/lib/mit-scheme/edwin/TUTORIAL +usr/lib/mit-scheme/lib +usr/lib/mit-scheme/optiondb.scm +usr/lib/mit-scheme/utabmd.bin +usr/share --- mit-scheme-7.7.90+20070909.orig/debian/mit-scheme.preinst +++ mit-scheme-7.7.90+20070909/debian/mit-scheme.preinst @@ -0,0 +1,30 @@ +#!/bin/sh +# preinst script for mit-scheme +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * `install' +# * `install' +# * `upgrade' +# * `abort-upgrade' +# +# For details see /usr/share/doc/packaging-manual/ + +case "${1}" in +(install|upgrade|abort-upgrade) + ;; +(*) + echo "preinst called with unknown argument \"${1}\"" >&2 + exit 1 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 --- mit-scheme-7.7.90+20070909.orig/debian/compat +++ mit-scheme-7.7.90+20070909/debian/compat @@ -0,0 +1 @@ +5 --- mit-scheme-7.7.90+20070909.orig/debian/mit-scheme.emacsen-remove +++ mit-scheme-7.7.90+20070909/debian/mit-scheme.emacsen-remove @@ -0,0 +1,14 @@ +#!/bin/sh +# /usr/lib/emacsen-common/packages/remove/mit-scheme +set -e + +FLAVOR=${1} + +PACKAGE=mit-scheme +ELCDIR=/usr/share/${FLAVOR}/site-lisp/${PACKAGE} + +if [ ${FLAVOR} != emacs ] && [ -d ${ELCDIR} ]; then + echo remove/${PACKAGE}: purging byte-compiled files for ${FLAVOR} + rm -f ${ELCDIR}/*.elc + rmdir --ignore-fail-on-non-empty ${ELCDIR} +fi --- mit-scheme-7.7.90+20070909.orig/debian/mit-scheme-dbg.preinst +++ mit-scheme-7.7.90+20070909/debian/mit-scheme-dbg.preinst @@ -0,0 +1,30 @@ +#!/bin/sh +# preinst script for mit-scheme +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * `install' +# * `install' +# * `upgrade' +# * `abort-upgrade' +# +# For details see /usr/share/doc/packaging-manual/ + +case "${1}" in +(install|upgrade|abort-upgrade) + ;; +(*) + echo "preinst called with unknown argument \"${1}\"" >&2 + exit 1 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 --- mit-scheme-7.7.90+20070909.orig/debian/mit-scheme.prerm +++ mit-scheme-7.7.90+20070909/debian/mit-scheme.prerm @@ -0,0 +1,36 @@ +#!/bin/sh +# prerm script for mit-scheme +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * `remove' +# * `upgrade' +# * `failed-upgrade' +# * `remove' `in-favour' +# * `deconfigure' `in-favour' +# `removing' +# +# for details, see /usr/share/doc/packaging-manual/ + +case "${1}" in +(upgrade) + ;; +(remove|failed-upgrade|deconfigure) + update-alternatives --remove mit-scheme /usr/bin/mit-scheme-native + update-alternatives --remove scheme /usr/bin/mit-scheme-native + ;; +(*) + echo "prerm called with unknown argument \"${1}\"" >&2 + exit 1 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 --- mit-scheme-7.7.90+20070909.orig/debian/mit-scheme.desktop +++ mit-scheme-7.7.90+20070909/debian/mit-scheme.desktop @@ -0,0 +1,10 @@ +[Desktop Entry] +Version=1.0 +Encoding=UTF-8 +Name=MIT/GNU Scheme +Exec=/usr/bin/mit-scheme-native --edit +TryExec=mit-scheme-native +Terminal=false +Type=Application +Icon=/usr/share/pixmaps/mit-scheme/lambda2.png +Categories=Development;IDE;TextEditor --- mit-scheme-7.7.90+20070909.orig/debian/copyright +++ mit-scheme-7.7.90+20070909/debian/copyright @@ -0,0 +1,35 @@ +This package was debianized by Chris Hanson on +Thu, 22 Feb 2001 11:50:57 -0500. + +It was downloaded from http://www.gnu.org/software/mit-scheme/ + +Upstream Author: Chris Hanson + +Copyright: + + MIT/GNU Scheme is Copyright (C) 1984, 1985, 1986, 1987, 1988, 1989, + 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, + 2001, 2002, 2003, 2004, 2005, 2006 Massachusetts Institute of + Technology, 77 Massachusetts Avenue, Cambridge MA 02139, USA. + MIT/GNU Scheme is released under the GNU General Public License + with the additional exemption that compiling, linking, and/or using + OpenSSL is allowed. On Debian GNU/Linux systems, the complete text + of the GNU General Public License can be found in + `/usr/share/common-licenses/GPL'. + + ---------------------------------------------------------------- + + MIT/GNU Scheme is free software; you can redistribute it and/or + modify it under the terms of the GNU General Public License as + published by the Free Software Foundation; either version 2 of the + License, or (at your option) any later version. + + MIT/GNU Scheme is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + General Public License for more details. + + You should have received a copy of the GNU General Public License + along with MIT/GNU Scheme; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA + 02110-1301, USA. --- mit-scheme-7.7.90+20070909.orig/debian/watch +++ mit-scheme-7.7.90+20070909/debian/watch @@ -0,0 +1,5 @@ +version=3 +opts="dversionmangle=s/^([\d\.]+)\+([\d]+)$/$2/" \ + http://ftp.gnu.org/gnu/mit-scheme/snapshot.pkg/([\d]+)/mit-scheme-([\d]+)\.tar\.(?:gz|bz2) debian uupdate +#http://ftp.gnu.org/gnu/mit-scheme/testing.pkg/([\d\.]+)/mit-scheme-([\d\.]+)\.tar\.(?:gz|bz2) debian uupdate +#http://ftp.gnu.org/gnu/mit-scheme/stable.pkg/([\d\.]+)/mit-scheme-([\d\.]+)(?:-src)?\.tar\.(?:gz|bz2) debian uupdate --- mit-scheme-7.7.90+20070909.orig/debian/rules +++ mit-scheme-7.7.90+20070909/debian/rules @@ -0,0 +1,114 @@ +#!/usr/bin/make -f +# Sample debian/rules that uses debhelper. +# GNU copyright 1997 to 1999 by Joey Hess. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +AUTOTOOLS := /usr/share/misc +DESTDIR := $(shell pwd)/debian/tmp + +export DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) +export DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) + +ifeq ($(DEB_BUILD_GNU_TYPE), $(DEB_HOST_GNU_TYPE)) + CONF_FLAGS := --build $(DEB_HOST_GNU_TYPE) +else + CONF_FLAGS := --build $(DEB_BUILD_GNU_TYPE) --host $(DEB_HOST_GNU_TYPE) +endif + +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS := -O0 +else + CFLAGS := -O2 +endif +CFLAGS += -g + +PREFIX = /usr +LIBDIR = $(PREFIX)/lib/mit-scheme +EMACSDIR = $(PREFIX)/share/emacs/site-lisp/mit-scheme +MANDIR = $(PREFIX)/share/man + +INSTALL = install --preserve-timestamps + +CONF_FLAGS += --prefix=$(PREFIX) --mandir=$(MANDIR) + +configure: configure-stamp autotools +configure-stamp: + dh_testdir + cd src; CFLAGS="$(CFLAGS)" ./configure $(CONF_FLAGS) + touch configure-stamp + +autotools: + -rm -f src/config.sub src/config.guess + cp -a $(AUTOTOOLS)/config.sub src/. + cp -a $(AUTOTOOLS)/config.guess src/. + +build: configure-stamp build-stamp +build-stamp: + dh_testdir + SCHEME_COMPILER="mit-scheme --compiler --heap 4000" $(MAKE) + touch build-stamp + +clean: + dh_testdir + dh_testroot + [ ! -f src/Makefile ] || $(MAKE) distclean + rm -f build-stamp configure-stamp + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs --package=mit-scheme --tmpdir=debian/tmp + cd src;$(MAKE) install DESTDIR=$(DESTDIR) + rm -f $(DESTDIR)$(PREFIX)/bin/scheme + rm -f $(DESTDIR)$(PREFIX)/bin/bchscheme + rm -f $(DESTDIR)$(PREFIX)/bin/mit-scheme + rm -f $(DESTDIR)$(LIBDIR)/runtime.com + $(INSTALL) -m 644 debian/mit-scheme.desktop \ + $(DESTDIR)$(PREFIX)/share/applications/. + $(INSTALL) -m 644 etc/*.el $(DESTDIR)$(EMACSDIR)/. + $(INSTALL) -m 644 icons/* \ + $(DESTDIR)$(PREFIX)/share/pixmaps/mit-scheme/. + dh_install --sourcedir=debian/tmp + +# Build architecture-independent files here. +binary-indep: build install +# We have nothing to do by default. + +# Build architecture-dependent files here. +binary-arch: build install + dh_testdir + dh_testroot + dh_installchangelogs src/ChangeLog + dh_installdocs + dh_installexamples + dh_installmenu + dh_desktop +# dh_installdebconf +# dh_installlogrotate + dh_installemacsen +# dh_installcatalogs +# dh_installpam +# dh_installmime +# dh_installinit +# dh_installcron + dh_installinfo + 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-indep binary-arch binary install configure autotools --- mit-scheme-7.7.90+20070909.orig/debian/README.Debian +++ mit-scheme-7.7.90+20070909/debian/README.Debian @@ -0,0 +1,16 @@ +-*- Text -*- + +This package is built with crypto support. The interface to the +crypto code is implemented using dynamically-loaded modules. This +allows scheme to be run even if the crypto libraries aren't available; +in that case the crypto support is unavailable, but everything else +should work. + +In order to build the package, it's preferable to have the following +crypto libraries installed. It's possible to build the package +without these libraries, or with a subset of them, but in that case +there won't be any crypto support in the resulting package. + + libssl-dev + libmhash-dev + libmcrypt-dev --- mit-scheme-7.7.90+20070909.orig/debian/mit-scheme.dirs +++ mit-scheme-7.7.90+20070909/debian/mit-scheme.dirs @@ -0,0 +1,6 @@ +usr/bin +usr/lib/mit-scheme +usr/share/applications +usr/share/emacs/site-lisp/mit-scheme +usr/share/man/man1 +usr/share/pixmaps/mit-scheme --- mit-scheme-7.7.90+20070909.orig/debian/mit-scheme-dbg.prerm +++ mit-scheme-7.7.90+20070909/debian/mit-scheme-dbg.prerm @@ -0,0 +1,32 @@ +#!/bin/sh +# prerm script for mit-scheme +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * `remove' +# * `upgrade' +# * `failed-upgrade' +# * `remove' `in-favour' +# * `deconfigure' `in-favour' +# `removing' +# +# for details, see /usr/share/doc/packaging-manual/ + +case "${1}" in +(upgrade|remove|failed-upgrade|deconfigure) + ;; +(*) + echo "prerm called with unknown argument \"${1}\"" >&2 + exit 1 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 --- mit-scheme-7.7.90+20070909.orig/debian/mit-scheme.menu +++ mit-scheme-7.7.90+20070909/debian/mit-scheme.menu @@ -0,0 +1,6 @@ +?package(mit-scheme):\ + needs="X11"\ + section="Applications/Programming"\ + title="MIT/GNU Scheme"\ + icon="/usr/share/pixmaps/mit-scheme/lambda2.xpm" \ + command="/usr/bin/mit-scheme-native --edit" --- mit-scheme-7.7.90+20070909.orig/debian/control +++ mit-scheme-7.7.90+20070909/debian/control @@ -0,0 +1,39 @@ +Source: mit-scheme +Section: devel +Priority: optional +Maintainer: Chris Hanson +Build-Depends: debhelper (>> 5.0.0), m4, mit-scheme, autotools-dev, libssl-dev, libmhash-dev, libmcrypt-dev, libgdbm-dev, libpq-dev, libncurses5-dev, libx11-dev, libxt-dev +Standards-Version: 3.7.2 + +Package: mit-scheme +Architecture: i386 +Depends: ${shlibs:Depends}, ${misc:Depends} +Recommends: mime-support +Suggests: mit-scheme-dbg +Description: MIT/GNU Scheme development environment + MIT/GNU Scheme is an implementation of the Scheme programming language, + providing an interpreter, compiler, source-code debugger, integrated + Emacs-like editor, and a large runtime library. MIT/GNU Scheme is best + suited to programming large applications with a rapid development + cycle. + . + This package contains the development environment. + +Package: mit-scheme-dbg +Priority: extra +Architecture: i386 +Depends: mit-scheme (= ${binary:Version}), ${misc:Depends} +Enhances: mit-scheme (= ${binary:Version}) +Conflicts: mit-scheme (<< 7.7.90+20060414-0) +Replaces: mit-scheme (<< 7.7.90+20060414-0) +Description: MIT/GNU Scheme debugging files + MIT/GNU Scheme is an implementation of the Scheme programming language, + providing an interpreter, compiler, source-code debugger, integrated + Emacs-like editor, and a large runtime library. MIT/GNU Scheme is best + suited to programming large applications with a rapid development + cycle. + . + This package contains debugging files for the development + environment. These files provide support for debugging the MIT/GNU + Scheme system, and are useful only if you need to see the system + internals while you are debugging. --- mit-scheme-7.7.90+20070909.orig/debian/mit-scheme.postinst +++ mit-scheme-7.7.90+20070909/debian/mit-scheme.postinst @@ -0,0 +1,49 @@ +#!/bin/sh +# postinst script for mit-scheme +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * `configure' +# * `abort-upgrade' +# * `abort-remove' `in-favour' +# +# * `abort-deconfigure' `in-favour' +# `removing' +# +# for details, see /usr/share/doc/packaging-manual/ +# +# quoting from the policy: +# Any necessary prompting should almost always be confined to the +# post-installation script, and should be protected with a conditional +# so that unnecessary prompting doesn't happen if a package's +# installation fails and the `postinst' is called with `abort-upgrade', +# `abort-remove' or `abort-deconfigure'. + +case "${1}" in +(configure) + update-alternatives \ + --install /usr/bin/mit-scheme mit-scheme /usr/bin/mit-scheme-native 20 \ + --slave /usr/share/man/man1/mit-scheme.1.gz mit-scheme.1.gz \ + /usr/share/man/man1/mit-scheme-native.1.gz + update-alternatives \ + --install /usr/bin/scheme scheme /usr/bin/mit-scheme-native 20 \ + --slave /usr/share/man/man1/scheme.1.gz scheme.1.gz \ + /usr/share/man/man1/mit-scheme-native.1.gz + ;; +(abort-upgrade|abort-remove|abort-deconfigure) + ;; +(*) + echo "postinst called with unknown argument \"${1}\"" >&2 + exit 1 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 --- mit-scheme-7.7.90+20070909.orig/debian/mit-scheme.postrm +++ mit-scheme-7.7.90+20070909/debian/mit-scheme.postrm @@ -0,0 +1,33 @@ +#!/bin/sh +# postrm script for mit-scheme +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * `remove' +# * `purge' +# * `upgrade' +# * `failed-upgrade' +# * `abort-install' +# * `abort-install' +# * `abort-upgrade' +# * `disappear' overwrit>r> +# for details, see /usr/share/doc/packaging-manual/ + +case "${1}" in +(purge|remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) + ;; +(*) + echo "postrm called with unknown argument \"${1}\"" >&2 + exit 1 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0