--- jacal-1b9.orig/jacal.sh +++ jacal-1b9/jacal.sh @@ -1,4 +1,3 @@ - ##"jacal" sh script; Find a Scheme implementation and run JACAL in it. # Copyright (C) 2001, 2003, 2004 Aubrey Jaffer # @@ -26,8 +25,9 @@ Usage: jacal - Run JACAL using (MIT) 'scheme', 'scm', 'gsi', 'mzscheme', 'guile', + Run JACAL using (MIT) 'scheme', 'scm', 'gsi', 'mzscheme', 'guile-1.6', 'slib48', 'larceny', 'scmlit', 'elk', 'sisc', or 'kawa'." +# in preceding notice, change guile to guile-1.6, by tb. case "$1" in -v | --ver*) echo jacal "$VERSION"; exit 0;; @@ -46,8 +46,9 @@ command=gsi; implementation=gam elif type mzscheme>/dev/null 2>&1; then command=mzscheme; implementation=plt - elif type guile>/dev/null 2>&1; then - command=guile; implementation=gui +# Changed from looking for 'guile' to 'guile-1.6' by tb. + elif type guile-1.6>/dev/null 2>&1; then + command=guile-1.6; implementation=gui elif type slib48>/dev/null 2>&1; then echo "do 'cd ${JACALDIR}; make jacal48'" elif type scheme48>/dev/null 2>&1; then --- jacal-1b9.orig/Makefile +++ jacal-1b9/Makefile @@ -304,7 +304,7 @@ distclean: realclean realclean: -rm -f *~ *.bak *.orig *.rej TAGS core a.out *.o \#* - -rm -f jacal.info* + -rm -f jacal*.info* version.txi -rm -rf *temp jacal.html JACAL-*.exe realempty: temp/jacal -rm -f $(allfiles) --- jacal-1b9.orig/jacal.1 +++ jacal-1b9/jacal.1 @@ -1,5 +1,5 @@ .\" dummy line -.TH JACAL "Dec 20 2007" +.TH JACAL 1 "Dec 20 2007" .UC 4 .SH NAME JACAL \- symbolic mathematics system --- jacal-1b9.orig/debian/jacal.doc-base +++ jacal-1b9/debian/jacal.doc-base @@ -0,0 +1,14 @@ +Document: jacal +Title: Debian jacal Manual +Author: Aubrey Jaffer +Abstract: This manual describes how to use Jacal, an interactive symbolic + math system. +Section: Science/Mathematics + +Format: info +Index: /usr/share/info/jacal.info.gz +Files: /usr/share/info/jacal.info.gz + +Format: HTML +Index: /usr/share/doc/jacal/jacal.html +Files: /usr/share/doc/jacal/jacal.html --- jacal-1b9.orig/debian/dirs +++ jacal-1b9/debian/dirs @@ -0,0 +1,2 @@ +usr/bin +usr/share/doc/jacal --- jacal-1b9.orig/debian/info +++ jacal-1b9/debian/info @@ -0,0 +1 @@ +jacal.info --- jacal-1b9.orig/debian/compat +++ jacal-1b9/debian/compat @@ -0,0 +1 @@ +5 --- jacal-1b9.orig/debian/docs +++ jacal-1b9/debian/docs @@ -0,0 +1,3 @@ +README +HELP + --- jacal-1b9.orig/debian/rules +++ jacal-1b9/debian/rules @@ -0,0 +1,118 @@ +#!/usr/bin/make -f +# -*- makefile -*- +# Sample debian/rules that uses debhelper. +# This file was originally written by Joey Hess and Craig Small. +# As a special exception, when this file is copied by dh-make into a +# dh-make output file, you may use that output file without restriction. +# This special exception was added by Craig Small in version 0.37 of dh-make. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + + +MAKEVARS=prefix=$(CURDIR)/debian/jacal/usr/ \ + infodir=$(CURDIR)/debian/jacal/usr/share/info/ \ + htmldir=$(CURDIR)/debian/jacal/usr/share/doc/jacal/ \ + mandir=$(CURDIR)/debian/jacal/usr/share/man/ \ + man1dir=$(CURDIR)/debian/jacal/usr/share/man/man1/ \ + TEXI2HTML=texi2html + +export TEXI2HTML=texi2html + +CFLAGS = -Wall -g + +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +else + CFLAGS += -O2 +endif + +configure: configure-stamp +configure-stamp: + dh_testdir + # Add here commands to configure the package. + + touch configure-stamp + + +build: build-stamp + +build-stamp: configure-stamp + dh_testdir + + # Add here commands to compile the package. + $(MAKE) jacal.info $(MAKEVARS) + $(MAKE) jacal_toc.html $(MAKEVARS) + #docbook-to-man debian/jacal.sgml > jacal.1 + + touch $@ + +clean: + dh_testdir + dh_testroot + rm -f build-stamp configure-stamp + + # Add here commands to clean up after the build process. + [ ! -f Makefile ] || $(MAKE) realclean + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + # Add here commands to install the package into debian/jacal. + $(MAKE) pinstall $(MAKEVARS) + + # This is from upstream's install target, turned into correctness. + echo ";;(use-modules (ice-9 slib))" > debian/jacal/usr/lib/jacal/go.scm + echo "(slib:load \"/usr/lib/jacal/math\")" > debian/jacal/usr/lib/jacal/go.scm + echo "(math)" >> debian/jacal/usr/lib/jacal/go.scm + echo '#! /bin/bash' > debian/jacal/usr/bin/jacal + echo JACALDIR=/usr/lib/jacal/ >> debian/jacal/usr/bin/jacal + echo VERSION=1b7 >> debian/jacal/usr/bin/jacal + cat jacal.sh >> debian/jacal/usr/bin/jacal + chmod +x debian/jacal/usr/bin/jacal + + rm debian/jacal/usr/lib/jacal/COPYING + ln -s /usr/share/common-licenses/GPL debian/jacal/usr/lib/jacal/COPYING + +# Build architecture-dependent files here. +binary-arch: build install +# We have nothing to do by default. + +# Build architecture-independent files here. +binary-indep: build install + dh_testdir + dh_testroot + dh_installchangelogs ChangeLog + dh_installdocs *.html + dh_installexamples +# dh_install +# dh_installmenu +# dh_installdebconf +# dh_installlogrotate +# dh_installemacsen +# dh_installpam +# dh_installmime +# dh_python +# dh_installinit +# dh_installcron + dh_installinfo jacal.info + dh_installman + dh_link + dh_strip + dh_compress + dh_fixperms +# dh_perl +# 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 --- jacal-1b9.orig/debian/changelog +++ jacal-1b9/debian/changelog @@ -0,0 +1,93 @@ +jacal (1b9-2.1) unstable; urgency=medium + + * Non-maintainer upload. + * Fix bashism in /bin/sh script. Simply setting "#!/bin/bash" in the + offending file was not enough as the shebang was added programmatically + in debian/rules. (Closes: #464995) + * Move documentation from deprecated "Apps/Math" section to + "Science/Mathematics". + * Ensure clean target removes version.txt and all .info files generated + during build. + * Bump Standards-Version to 3.8.0. + + -- Chris Lamb Fri, 11 Jul 2008 19:57:16 +0100 + +jacal (1b9-2) unstable; urgency=low + + * debian/rules (MAKEVARS): Set man1dir. (Closes: #467314) + + * debian/control (Build-Depends): Move texi2html and texinfo to... + (Build-Depends-Indep): ...here. + + * jacal.1: Put title *before* section in TH directive. + + -- Thomas Bushnell, BSG Sun, 24 Feb 2008 18:25:38 -0500 + +jacal (1b9-1) unstable; urgency=low + + * New upstream release. + * jacal.1: Repeat change from 1b7-1. + * jacal.sh: Repeat second change from 1b7-2. + + * jacal.sh: Specify #!/bin/bash. (Closes: #464995) + + -- Thomas Bushnell, BSG Sun, 10 Feb 2008 19:12:17 -0500 + +jacal (1b8-3) unstable; urgency=low + + * debian/jacal.doc-base: Really get rid of all the extraneous whitespace. + + -- Thomas Bushnell, BSG Mon, 21 Jan 2008 14:51:24 -0500 + +jacal (1b8-2) unstable; urgency=low + + * debian/rules (clean): Don't ignore all errors on Make clean invocation. + Fixes lintian warning debian-rules-ignores-make-clean-error. + + * debian/control (Standards-Version): Update to 3.7.3. No changes necessary. + + * debian/jacal.doc-base: Remove extraneouse whitespace. Fixes lintian + warning doc-base-file-separator-extra-whitespace. + + * debian/dirs: Delete usr/sbin. Fixes lintian warning + package-contains-empty-directory. + + -- Thomas Bushnell, BSG Mon, 14 Jan 2008 15:52:21 -0500 + +jacal (1b8-1) unstable; urgency=low + + * New upstream release. + * debian/control (Depends): Require version 3a5-1 or slib; that's the first + Debian slib to put the init files in the usual place. Thus the fix to + jacal.sh closing bug 401030 is no longer needed. + + * jacal.1: Repeat change from 1b7-1. + + * jacal.sh: Repeat second change from 1b7-2. + + -- Thomas Bushnell, BSG Sun, 30 Dec 2007 21:08:20 -0800 + +jacal (1b7-2) unstable; urgency=high + + * jacal.sh: Find .init files in proper subdirectory of slib library location. + (Closes: #401030) + + * jacal.sh: Look for "guile-1.6" and not guile; likewise make the usage + statement say to request "guile-1.6" if that's what you want. + * debian/control (Depends): Require guile-1.6 and not just any guile. + [These changes are further required for jacal to work right with guile.] + + -- Thomas Bushnell, BSG Sat, 9 Dec 2006 16:18:06 -0800 + +jacal (1b7-1) unstable; urgency=low + + * Initial release. (Closes: #395935) + + * jacal.texi: Alter copyright notice to specify that there are no back + cover or front cover texts, with permission of upstream copyright + owner (Aubrey Jaffer) in accord with his new distribution zip archive. + + * jacal.1 (TH): Include section number. + + -- Thomas Bushnell, BSG Sat, 28 Oct 2006 13:18:38 -0700 + --- jacal-1b9.orig/debian/control +++ jacal-1b9/debian/control @@ -0,0 +1,16 @@ +Source: jacal +Section: math +Priority: optional +Maintainer: Thomas Bushnell, BSG +Build-Depends: debhelper (>= 5) +Build-Depends-Indep: texi2html, texinfo +Standards-Version: 3.8.0 + +Package: jacal +Architecture: all +Depends: ${misc:Depends}, scm | guile-1.6, slib (>= 3a5-1) +Description: Interactive symbolic math system + JACAL is an interactive symbolic math system which can manipulate and + simplify equations, scalars, vectors, and matrices of single and + multiple valued algebraic expressions containing numbers, variables, + radicals, and algebraic differential, and holonomic functions. --- jacal-1b9.orig/debian/copyright +++ jacal-1b9/debian/copyright @@ -0,0 +1,41 @@ +This package was debianized by Thomas Bushnell, BSG on +Sat, 28 Oct 2006 13:18:38 -0700. + +It was downloaded from http://www-swiss.ai.mit.edu/~jaffer/JACAL.html. + +Upstream Author: Aubrey Jaffer, agj@alum.mit.edu. + +Copyright: + 1989-2006, Aubrey Jaffer + 1993-1995, Mike Thomas + 1993, 1997, Jerry D. Hadden + 1993-2002, 2006, Free Software Foundation + +License: + The program itself is distributed under the GNU General Public License, + version 2 or any later version. + + The documentation is under the GFDL, with no invariant sections or +cover texts. + + This program 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. + + This program 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 with + the Debian GNU/Linux distribution in file /usr/share/common-licenses/GPL; + if not, write to the Free Software Foundation, Inc., 51 Franklin + Street, Fifth Floor, Boston, MA 02110-1301 USA + + On Debian systems, the complete text of the GNU General Public + License, version 2, can be found in /usr/share/common-licenses/GPL-2. + +The Debian packaging is (C) 2006, Thomas Bushnell, BSG and +is licensed under the GPL, see `/usr/share/common-licenses/GPL'. +