This is a modified version of the Debian patch file for "mathomatic" 12.5.5. This version should be compatible with release 16.0.3. Partial list of changes: 1. One section that was incompatible with "mathomatic" 12.5.11 was re- moved. 2. One section that was incompatible with "mathomatic" 12.7.5 was re- moved. 3. One section that modified "primes/makefile" was removed. 4. Some distro-specific changes were made to the main "makefile". 5. The remaining sections were regenerated to remove fuzz. --- mathomatic-16.0.3.old/debian/changelog +++ mathomatic-16.0.3/debian/changelog @@ -0,0 +1,56 @@ +mathomatic (12.5.5-1) unstable; urgency=low + + * New upstream release (Closes: #345163). + * Added a watch file. + + -- David Moreno Garza Thu, 29 Dec 2005 17:17:51 -0600 + +mathomatic (12.4.10-1) unstable; urgency=low + + * New upstream release. + * Building against libreadline5 now (Closes: #326326). + + -- David Moreno Garza Sun, 4 Sep 2005 23:16:31 -0500 + +mathomatic (12.4.9-1) unstable; urgency=low + + * New upstream release. + * Changed maintainer's address. + + -- David Moreno Garza Tue, 30 Aug 2005 07:53:02 -0500 + +mathomatic (12.1c-1) unstable; urgency=low + + * New upstream release + + -- David Moreno Garza Wed, 2 Mar 2005 11:03:44 -0600 + +mathomatic (11.6e-1) unstable; urgency=low + + * New upstream release + + -- David Moreno Garza Tue, 25 Jan 2005 10:26:07 -0600 + +mathomatic (11.4c-1) unstable; urgency=low + + * New upstream release + * NMU sponsored by MJ Ray . + + -- David Moreno Garza Thu, 21 Oct 2004 23:16:04 -0500 + +mathomatic (11.3d-1) unstable; urgency=low + + * New upstream release. + * Added readline support (Closes: #269341). + * Renamed binaries of mathomatic-primes (Closes: #270835). + * Changed section from 'science' to 'math' (Closes: #268934). + * NMU sponsored by MJ Ray . + + -- David Moreno Garza Sun, 12 Sep 2004 17:41:13 -0500 + +mathomatic (11.3c-1) unstable; urgency=low + + * Initial release (Closes: #247428). + * NMU sponsored by MJ Ray . + + -- David Moreno Garza Sun, 15 Aug 2004 11:11:09 -0500 --- mathomatic-16.0.3.old/debian/compat +++ mathomatic-16.0.3/debian/compat @@ -0,0 +1 @@ +4 --- mathomatic-16.0.3.old/debian/control +++ mathomatic-16.0.3/debian/control @@ -0,0 +1,34 @@ +Source: mathomatic +Section: math +Priority: optional +Maintainer: David Moreno Garza +Build-Depends: debhelper (>= 4.0.0), libreadline5-dev +Standards-Version: 3.6.2.1 + +Package: mathomatic +Architecture: any +Depends: ${shlibs:Depends} +Description: portable computer algebra system + Mathomatic implements most of the rules of algebra for the mathematical + operators +, -, *, /, and power (including roots). + . + Mathomatic can symbolically: + o Solve equations. + o Completely simplify equations. + o Differentiate. + o Do sensitivity and finite series analysis. + o Combine and solve simultaneous algebraic equations. + o Do complex number and polynomial arithmetic. + o Generate efficient "C" code. + . + Homepage: http://www.mathomatic.com/ + +Package: mathomatic-primes +Architecture: any +Depends: mathomatic (= ${Source-Version}) +Description: prime number tools for mathomatic + Mathomatic implements a couple of extra tools for prime number handling, + such as priming, twins, around and 'sumsqing' which are covered on this + package. + . + Homepage: http://www.mathomatic.com/ --- mathomatic-16.0.3.old/debian/copyright +++ mathomatic-16.0.3/debian/copyright @@ -0,0 +1,13 @@ +This package was debianized by David Moreno Garza on +Mon, 21 Jun 2004 18:59:41 -0500. + +It was downloaded from http://www.mathomatic.com/ + +Upstream Author: George Gesslein II + +Copyright: + You are free to distribute this software under the terms of + the GNU Lesser General Public License. + + On Debian systems, the complete text of the GNU Lesser General Public + License can be found in /usr/share/common-licenses/LGPL file. --- mathomatic-16.0.3.old/debian/docs +++ mathomatic-16.0.3/debian/docs @@ -0,0 +1,5 @@ +README.txt +doc/manual.html +doc/notes.html +doc/am.html +doc/index.html --- mathomatic-16.0.3.old/debian/mathomatic-primes.docs +++ mathomatic-16.0.3/debian/mathomatic-primes.docs @@ -0,0 +1 @@ +primes/README.txt --- mathomatic-16.0.3.old/debian/mathomatic-primes.menu +++ mathomatic-16.0.3/debian/mathomatic-primes.menu @@ -0,0 +1,5 @@ +?package(mathomatic-primes):\ + needs="text"\ + section="Apps/Math"\ + title="primes numbers"\ + command="/usr/bin/matho-primes" --- mathomatic-16.0.3.old/debian/mathomatic.menu +++ mathomatic-16.0.3/debian/mathomatic.menu @@ -0,0 +1,5 @@ +?package(mathomatic):\ + needs="text"\ + section="Apps/Math"\ + title="mathomatic"\ + command="/usr/bin/mathomatic" --- mathomatic-16.0.3.old/debian/rules +++ mathomatic-16.0.3/debian/rules @@ -0,0 +1,60 @@ +#!/usr/bin/make -f +# -*- makefile -*- + +CFLAGS = -Wall -g -O3 + +configure: configure-stamp + +configure-stamp: + dh_testdir + touch configure-stamp + + +build: build-stamp + +build-stamp: configure-stamp + dh_testdir + $(MAKE) READLINE=1 + $(MAKE) -C primes + touch build-stamp + +clean: + dh_testdir + dh_testroot + rm -f build-stamp configure-stamp + -$(MAKE) clean + -$(MAKE) -C primes clean + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs -A usr/bin + $(MAKE) install DESTDIR=$(CURDIR)/debian/mathomatic + $(MAKE) -C primes install DESTDIR=$(CURDIR)/debian/mathomatic-primes + +binary-indep: build install + +binary-arch: build install + dh_testdir + dh_testroot + mv debian/mathomatic/usr/share/doc/mathomatic/changes.txt debian/mathomatic/usr/share/doc/mathomatic/changelog + dh_installchangelogs + dh_installdocs + dh_installexamples + dh_installmenu + dh_installman + dh_link + dh_strip + dh_compress + dh_fixperms + 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 --- mathomatic-16.0.3.old/debian/watch +++ mathomatic-16.0.3/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://www.panix.com/~gesslein/mathomatic-(.*)\.tar\.bz2 --- mathomatic-16.0.3.old/makefile +++ mathomatic-16.0.3/makefile @@ -83,11 +83,12 @@ # Note that support for the DESTDIR variable was added in version 15.2.1. # DESTDIR is used by package maintainers, who should remove all DESTDIR patches, # because DESTDIR is handled properly (according to GNU standards) by this makefile now. -prefix ?= /usr/local + +prefix ?= __META_PREFIX__ bindir ?= $(prefix)/bin datadir ?= $(prefix)/share -mandir ?= $(prefix)/share/man -docdir ?= $(prefix)/share/doc +docdir ?= $(prefix)/doc +mandir ?= $(prefix)/man mathdocdir ?= $(docdir)/mathomatic mathdatadir ?= $(datadir)/mathomatic --- mathomatic-16.0.3.old/primes/matho-around.1.debdiff +++ mathomatic-16.0.3/primes/matho-around.1.debdiff @@ -0,0 +1,26 @@ +.TH matho-around 1 "June 24, 2004" "matho-around" + +.SH NAME +matho-around \- display prime factors of integers around the specified number + +.SH SYNOPSIS +.B matho-around +.RI [ number_1 [number_2] ] +.br + +.SH DESCRIPTION +This program displays the prime factors of the 21 integers closest to and +including the specified number. A number or number range may be specified on +the command line. + +.SH BUGS +Not known at the moment, if you find one, please report it. + +.SH SEE ALSO +mathomatic(1), matho-twin(1), matho-sumsq(1), matho-primes(1) + +.SH AUTHOR +George Gesslein II + +This manpage was created by David Moreno Garza for the +Debian Project but may be used by others. --- mathomatic-16.0.3.old/primes/matho-primes.1.debdiff +++ mathomatic-16.0.3/primes/matho-primes.1.debdiff @@ -0,0 +1,26 @@ +.TH matho-primes 1 "June 24, 2004" "matho-primes" + +.SH NAME +matho-primes \- Generate consecutive prime numbers up to 14 digits + +.SH SYNOPSIS +.B matho-primes +[start [stop]] ["pal" [base]] + +.SH DESCRIPTION +This program computes any number of consecutive primes using an extended +sieve algorithm. Generates up to 14 digit primes. Typing "primes pal" will +display only palindromic primes. This new version allows a range to be +specified on the command line. + +.SH BUGS +Not known at the moment, if you find one, please report it. + +.SH SEE ALSO +mathomatic(1), matho-twin(1), matho-sumsq(1), matho-around(1) + +.SH AUTHOR +George Gesslein II + +This manpage was created by David Moreno Garza for the +Debian Project but may be used by others. --- mathomatic-16.0.3.old/primes/matho-sumsq.1.debdiff +++ mathomatic-16.0.3/primes/matho-sumsq.1.debdiff @@ -0,0 +1,29 @@ +.TH matho-sumsq 1 "June 24, 2004" "matho-sumsq" + +.SH NAME +matho-sumsq \- Find the sum of the squares for a given integer + +.SH SYNOPSIS +.B matho-sumsq +.RI [ numbers ] + +.SH DESCRIPTION +This program finds the minimum number of positive integers that when squared +and added together, equal the given number. There is a proof that no more +than 4 squares summed together are required to represent any positive +integer. The command line may contain integers to find the squares of, +otherwise the program counts up from 0. If the number of squares is 2 or +less, this program displays all possible combinations, otherwise it just +displays the first combination it finds. + +.SH BUGS +Not known at the moment, if you find one, please report it. + +.SH SEE ALSO +mathomatic(1), matho-twin(1), matho-around(1), matho-primes(1) + +.SH AUTHOR +George Gesslein II + +This manpage was created by David Moreno Garza for the +Debian Project but may be used by others. --- mathomatic-16.0.3.old/primes/matho-twin.1.debdiff +++ mathomatic-16.0.3/primes/matho-twin.1.debdiff @@ -0,0 +1,26 @@ +.TH matho-twin 1 "June 24, 2004" "matho-twin" + +.SH NAME +matho-twin \- filter for displaying only twin primes + +.SH SYNOPSIS +.B matho-twin + +.SH DESCRIPTION + This is a filter program for finding twin primes from the output of +"primes". Twin primes are two primes that differ in value by 2. + +.SH USAGE +matho-primes | matho-twin + +.SH BUGS +Not known at the moment, if you find one, please report it. + +.SH SEE ALSO +mathomatic(1), matho-primes(1), matho-sumsq(1), matho-around(1) + +.SH AUTHOR +George Gesslein II + +This manpage was created by David Moreno Garza for the +Debian Project but may be used by others.