diff options
author | Igor Pashev <pashev.igor@gmail.com> | 2011-08-20 01:41:50 +0400 |
---|---|---|
committer | Igor Pashev <pashev.igor@gmail.com> | 2011-08-20 01:41:50 +0400 |
commit | 1356775f9e90ccec78319d75efa1fef120e50b39 (patch) | |
tree | d844750c3d76054aca1d0c202c102e660cd8894f /debian | |
download | open-axiom-debian-1356775f9e90ccec78319d75efa1fef120e50b39.tar.gz |
Initial commit
Diffstat (limited to 'debian')
-rw-r--r-- | debian/README.github | 28 | ||||
-rw-r--r-- | debian/changelog | 5 | ||||
-rw-r--r-- | debian/compat | 1 | ||||
-rw-r--r-- | debian/control | 216 | ||||
-rw-r--r-- | debian/copyright | 66 | ||||
-rw-r--r-- | debian/open-axiom-databases.install | 3 | ||||
-rw-r--r-- | debian/open-axiom-graphics-data.install | 2 | ||||
-rw-r--r-- | debian/open-axiom-graphics.install | 4 | ||||
-rw-r--r-- | debian/open-axiom-hypertex-data.install | 1 | ||||
-rw-r--r-- | debian/open-axiom-hypertex.install | 2 | ||||
-rw-r--r-- | debian/open-axiom-source.install | 1 | ||||
-rw-r--r-- | debian/open-axiom-test.install | 1 | ||||
-rw-r--r-- | debian/open-axiom-tex.install | 1 | ||||
-rw-r--r-- | debian/open-axiom.docs | 6 | ||||
-rw-r--r-- | debian/open-axiom.install | 19 | ||||
-rw-r--r-- | debian/patches/debian-pkg-hint.patch | 22 | ||||
-rw-r--r-- | debian/patches/install-dir | 26 | ||||
-rw-r--r-- | debian/patches/series | 2 | ||||
-rwxr-xr-x | debian/rules | 40 | ||||
-rw-r--r-- | debian/source/format | 1 |
20 files changed, 447 insertions, 0 deletions
diff --git a/debian/README.github b/debian/README.github new file mode 100644 index 0000000..9b9125e --- /dev/null +++ b/debian/README.github @@ -0,0 +1,28 @@ +How to build packages: + +1. Get debian stuff from GitHub: + # git clone https://github.com/ip1981/open-axiom-debian.git + +2. Change to created directory: + # cd open-axiom-debian + +3. Get original sources (from OpenAxiom subversion repository): + # ./debian/rules get-orig-source + +4. Unpack created tarball (* stands for version, e. g. 1.4.1+svn~2299): + # tar xf open-axiom_*.orig.tar.gz --strip-component=1 + +5. Install build dependencies. Take a look at `debian/control' + +6. Start building, either: + # sudo ./debian/rules binary + or: + # dpkg-buildpackage -sa -rfakeroor + or: + # sudo dpkg-buildpackage -sa + or whatsoeve + +7. See and install new packages (open-axiom and open-axiom-databases at least): + # ls -lh ../*.deb + # sudo dpkg -i ../open-axiom_*.deb ../open-axiom-databases_*.deb + diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..607abd5 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +open-axiom (1.4.1+svn~2299-1) UNRELEASED; urgency=low + + * Initial release. + + -- Igor Pashev <pashev.igor@gmail.com> Fri, 19 Aug 2011 12:56:22 +0400 diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..45a4fb7 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +8 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..82b1507 --- /dev/null +++ b/debian/control @@ -0,0 +1,216 @@ +Source: open-axiom +Section: math +Priority: optional +Maintainer: Igor Pashev <pashev.igor@gmail.com> +Build-Depends: debhelper ( >= 8 ), + sbcl ( >= 1.0.22 ), libgmp3-dev, + libncurses5-dev, libreadline-dev, + libx11-dev, libxt-dev, x11proto-core-dev, + libxpm-dev, x11-common, + texlive-latex-base, gawk, sharutils, + ghostscript, gsfonts, libxmu-dev, + libxaw7-dev, zlib1g-dev, texlive-pstricks +Standards-Version: 3.9.1 + +Package: open-axiom +Architecture: any +Depends: ${shlibs:Depends}, open-axiom-databases (= ${source:Version}), ${misc:Depends} +Recommends: open-axiom-source, open-axiom-graphics, open-axiom-hypertex +Suggests: texmacs, open-axiom-tex, open-axiom-test, nowebm +Description: The open scientific computation platform + OpenAxiom is an open source platform for symbolic, algebraic, + and numerical computations. It offers an interactive environment, + an expressive programming language, a compiler, a large set of mathematical + libraries of interest to researchers and practitioners of computational sciences. + . + OpenAxiom strives to support ubiquitous, advanced, high quality + open source computer algebra on major operating systems, in particular + major Unix variants, GNU/Linux variants, Windows, and handheld devices. + It aims at being the open source computer algebra system of choice + for research, teaching, engineering, etc. + . + OpenAxiom is a descendent of the AXIOM computer algebra system as described + by Richard Jenks and Robert Sutor in "AXIOM: The Scientific Computation System". + That book is the base reference document for OpenAxiom. + . + This package contains the main program binary and all precompiled + algebra and autoloadable modules. + +Package: open-axiom-source +Architecture: all +Depends: ${misc:Depends} +Description: The open scientific computation platform: source files + OpenAxiom is an open source platform for symbolic, algebraic, + and numerical computations. It offers an interactive environment, + an expressive programming language, a compiler, a large set of mathematical + libraries of interest to researchers and practitioners of computational sciences. + . + OpenAxiom strives to support ubiquitous, advanced, high quality + open source computer algebra on major operating systems, in particular + major Unix variants, GNU/Linux variants, Windows, and handheld devices. + It aims at being the open source computer algebra system of choice + for research, teaching, engineering, etc. + . + OpenAxiom is a descendent of the AXIOM computer algebra system as described + by Richard Jenks and Robert Sutor in "AXIOM: The Scientific Computation System". + That book is the base reference document for OpenAxiom. + . + This package contains source files in OpenAxiom's native spad language + for the compiled algebra modules supplied in the open-axiom package. + +Package: open-axiom-test +Architecture: all +Depends: open-axiom (>= ${source:Version}), ${misc:Depends} +Description: The open scientific computation platform: regression test inputs + OpenAxiom is an open source platform for symbolic, algebraic, + and numerical computations. It offers an interactive environment, + an expressive programming language, a compiler, a large set of mathematical + libraries of interest to researchers and practitioners of computational sciences. + . + OpenAxiom strives to support ubiquitous, advanced, high quality + open source computer algebra on major operating systems, in particular + major Unix variants, GNU/Linux variants, Windows, and handheld devices. + It aims at being the open source computer algebra system of choice + for research, teaching, engineering, etc. + . + OpenAxiom is a descendent of the AXIOM computer algebra system as described + by Richard Jenks and Robert Sutor in "AXIOM: The Scientific Computation System". + That book is the base reference document for OpenAxiom. + . + This package contains input files for OpenAxiom's regression test suite. + +Package: open-axiom-databases +Architecture: all +Depends: ${misc:Depends} +Description: The open scientific computation platform: generated text databases + OpenAxiom is an open source platform for symbolic, algebraic, + and numerical computations. It offers an interactive environment, + an expressive programming language, a compiler, a large set of mathematical + libraries of interest to researchers and practitioners of computational sciences. + . + OpenAxiom strives to support ubiquitous, advanced, high quality + open source computer algebra on major operating systems, in particular + major Unix variants, GNU/Linux variants, Windows, and handheld devices. + It aims at being the open source computer algebra system of choice + for research, teaching, engineering, etc. + . + OpenAxiom is a descendent of the AXIOM computer algebra system as described + by Richard Jenks and Robert Sutor in "AXIOM: The Scientific Computation System". + That book is the base reference document for OpenAxiom. + . + This package contains the text databases generated during the build + process used in computing the hierarchical domain structure, among + other uses. + +Package: open-axiom-tex +Architecture: all +Depends: texlive-latex-recommended, ${misc:Depends} +Description: The open scientific computation platform: style file for TeX + OpenAxiom is an open source platform for symbolic, algebraic, + and numerical computations. It offers an interactive environment, + an expressive programming language, a compiler, a large set of mathematical + libraries of interest to researchers and practitioners of computational sciences. + . + OpenAxiom strives to support ubiquitous, advanced, high quality + open source computer algebra on major operating systems, in particular + major Unix variants, GNU/Linux variants, Windows, and handheld devices. + It aims at being the open source computer algebra system of choice + for research, teaching, engineering, etc. + . + OpenAxiom is a descendent of the AXIOM computer algebra system as described + by Richard Jenks and Robert Sutor in "AXIOM: The Scientific Computation System". + That book is the base reference document for OpenAxiom. + . + This package contains a TeX style file useful in publishing results + obtained with OpenAxiom. + +Package: open-axiom-graphics +Architecture: any +Depends: ${shlibs:Depends}, open-axiom (= ${binary:Version}), open-axiom-graphics-data (= ${source:Version}), ${misc:Depends} +Description: The open scientific computation platform: graphics subsystem + OpenAxiom is an open source platform for symbolic, algebraic, + and numerical computations. It offers an interactive environment, + an expressive programming language, a compiler, a large set of mathematical + libraries of interest to researchers and practitioners of computational sciences. + . + OpenAxiom strives to support ubiquitous, advanced, high quality + open source computer algebra on major operating systems, in particular + major Unix variants, GNU/Linux variants, Windows, and handheld devices. + It aims at being the open source computer algebra system of choice + for research, teaching, engineering, etc. + . + OpenAxiom is a descendent of the AXIOM computer algebra system as described + by Richard Jenks and Robert Sutor in "AXIOM: The Scientific Computation System". + That book is the base reference document for OpenAxiom. + . + This package contains the binaries for the graphics subsystem. + The programs in this package allow open-axiom to draw plots to separate + windows in X as well as to output files in postscript format. + +Package: open-axiom-graphics-data +Architecture: all +Depends: ${misc:Depends} +Description: The open scientific computation platform: graphics subsystem + OpenAxiom is an open source platform for symbolic, algebraic, + and numerical computations. It offers an interactive environment, + an expressive programming language, a compiler, a large set of mathematical + libraries of interest to researchers and practitioners of computational sciences. + . + OpenAxiom strives to support ubiquitous, advanced, high quality + open source computer algebra on major operating systems, in particular + major Unix variants, GNU/Linux variants, Windows, and handheld devices. + It aims at being the open source computer algebra system of choice + for research, teaching, engineering, etc. + . + OpenAxiom is a descendent of the AXIOM computer algebra system as described + by Richard Jenks and Robert Sutor in "AXIOM: The Scientific Computation System". + That book is the base reference document for OpenAxiom. + . + This package contains required data files for the OpenAxiom graphics + subsystem. + +Package: open-axiom-hypertex +Architecture: any +Depends: ${shlibs:Depends}, open-axiom (= ${binary:Version}), open-axiom-hypertex-data (= ${source:Version}), ${misc:Depends} +Description: The open scientific computation platform: hypertex subsystem + OpenAxiom is an open source platform for symbolic, algebraic, + and numerical computations. It offers an interactive environment, + an expressive programming language, a compiler, a large set of mathematical + libraries of interest to researchers and practitioners of computational sciences. + . + OpenAxiom strives to support ubiquitous, advanced, high quality + open source computer algebra on major operating systems, in particular + major Unix variants, GNU/Linux variants, Windows, and handheld devices. + It aims at being the open source computer algebra system of choice + for research, teaching, engineering, etc. + . + OpenAxiom is a descendent of the AXIOM computer algebra system as described + by Richard Jenks and Robert Sutor in "AXIOM: The Scientific Computation System". + That book is the base reference document for OpenAxiom. + . + This package contains the binaries for the hypertex subsystem. + The programs in this package provide an interactive online help + system describing the many open-axiom commands. + +Package: open-axiom-hypertex-data +Architecture: all +Depends: ${misc:Depends} +Description: The open scientific computation platform: hypertex subsystem + OpenAxiom is an open source platform for symbolic, algebraic, + and numerical computations. It offers an interactive environment, + an expressive programming language, a compiler, a large set of mathematical + libraries of interest to researchers and practitioners of computational sciences. + . + OpenAxiom strives to support ubiquitous, advanced, high quality + open source computer algebra on major operating systems, in particular + major Unix variants, GNU/Linux variants, Windows, and handheld devices. + It aims at being the open source computer algebra system of choice + for research, teaching, engineering, etc. + . + OpenAxiom is a descendent of the AXIOM computer algebra system as described + by Richard Jenks and Robert Sutor in "AXIOM: The Scientific Computation System". + That book is the base reference document for OpenAxiom. + . + This package contains required data files for the OpenAxiom hypertex + subsystem. + diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..9030035 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,66 @@ +This package was debianized by Igor Pashev <pashev.igor@gmail.com> on +Sun, 12 Jun 201 21:14:00 +0400. + +It was downloaded from (SVN) https://open-axiom.svn.sf.net/svnroot/open-axiom + +Upstream Authors: Gabriel Dos Reis <gdr@cs.tamu.edu>, et.al. + + + + + +Copyright: + + +OpenAxiom is an open source software distributed under terms of the Modified BSD license. + +Copyrights remain with the original copyright holders. Use of this material +is by permission and/or license. Individual files contain reference +to these applicable copyrights. The copyright and license statements +are collected here for reference. + + +Portions Copyright (C) 2007-2009, Gabriel Dos Reis + +All modifications applied to the build-improvements branch of Axiom, +and to the OpenAxiom project are covered by this copyright and +the BSD-type License reproduced below. + + +Portions Copyright (C) 2003-2007, The Axiom Team + +The Axiom Team is the collective name for the people who have contributed +to the Axiom project. Where no other copyright statement is noted +in a file this copyright will apply. + + +Portions Copyright (C) 1991-2002, The Numerical Algorithms Group Ltd. All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are +met: + +- Redistributions of source code must retain the above copyright +notice, this list of conditions and the following disclaimer. + +- Redistributions in binary form must reproduce the above copyright +notice, this list of conditions and the following disclaimer in +the documentation and/or other materials provided with the +distribution. + +- Neither the name of The Numerical Algorithms Group Ltd. nor the +names of its contributors may be used to endorse or promote products +derived from this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS +IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED +TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A +PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER +OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, +EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR +PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF +LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + diff --git a/debian/open-axiom-databases.install b/debian/open-axiom-databases.install new file mode 100644 index 0000000..c4ca2e2 --- /dev/null +++ b/debian/open-axiom-databases.install @@ -0,0 +1,3 @@ +usr/lib/open-axiom/algebra/*.daase +usr/lib/open-axiom/algebra/*.text +usr/lib/open-axiom/algebra/*.DAASE diff --git a/debian/open-axiom-graphics-data.install b/debian/open-axiom-graphics-data.install new file mode 100644 index 0000000..8e763ee --- /dev/null +++ b/debian/open-axiom-graphics-data.install @@ -0,0 +1,2 @@ +usr/lib/open-axiom/lib/graph + diff --git a/debian/open-axiom-graphics.install b/debian/open-axiom-graphics.install new file mode 100644 index 0000000..05b9a8e --- /dev/null +++ b/debian/open-axiom-graphics.install @@ -0,0 +1,4 @@ +usr/lib/open-axiom/lib/view2D +usr/lib/open-axiom/lib/view3D +usr/lib/open-axiom/lib/viewman +usr/lib/open-axiom/bin/viewAlone diff --git a/debian/open-axiom-hypertex-data.install b/debian/open-axiom-hypertex-data.install new file mode 100644 index 0000000..97238e5 --- /dev/null +++ b/debian/open-axiom-hypertex-data.install @@ -0,0 +1 @@ +usr/lib/open-axiom/share/hypertex diff --git a/debian/open-axiom-hypertex.install b/debian/open-axiom-hypertex.install new file mode 100644 index 0000000..e1378a9 --- /dev/null +++ b/debian/open-axiom-hypertex.install @@ -0,0 +1,2 @@ +usr/lib/open-axiom/lib/ht* +usr/lib/open-axiom/lib/hypertex diff --git a/debian/open-axiom-source.install b/debian/open-axiom-source.install new file mode 100644 index 0000000..36b54ac --- /dev/null +++ b/debian/open-axiom-source.install @@ -0,0 +1 @@ +usr/lib/open-axiom/src diff --git a/debian/open-axiom-test.install b/debian/open-axiom-test.install new file mode 100644 index 0000000..afedd79 --- /dev/null +++ b/debian/open-axiom-test.install @@ -0,0 +1 @@ +usr/lib/open-axiom/input diff --git a/debian/open-axiom-tex.install b/debian/open-axiom-tex.install new file mode 100644 index 0000000..f1680d5 --- /dev/null +++ b/debian/open-axiom-tex.install @@ -0,0 +1 @@ +usr/lib/open-axiom/share/texmf/tex/open-axiom.sty /usr/share/texmf/tex/plain/misc/ diff --git a/debian/open-axiom.docs b/debian/open-axiom.docs new file mode 100644 index 0000000..7f53d9e --- /dev/null +++ b/debian/open-axiom.docs @@ -0,0 +1,6 @@ +README* +INSTALL* +NEWS +MAINTAINERS +STYLES +TODO diff --git a/debian/open-axiom.install b/debian/open-axiom.install new file mode 100644 index 0000000..9f7bd2d --- /dev/null +++ b/debian/open-axiom.install @@ -0,0 +1,19 @@ +usr/bin/open-axiom +usr/lib/open-axiom/lib/command.list +usr/lib/open-axiom/lib/ex2ht +usr/lib/open-axiom/algebra/*.fasl +usr/lib/open-axiom/lib/session +usr/lib/open-axiom/lib/spadbuf +usr/lib/open-axiom/lib/spadclient +usr/lib/open-axiom/lib/summary +usr/lib/open-axiom/lib/command.list +usr/lib/open-axiom/lib/copyright + +usr/lib/open-axiom/doc + +usr/lib/open-axiom/bin/sman +usr/lib/open-axiom/bin/clef +usr/lib/open-axiom/bin/asq +usr/lib/open-axiom/bin/AXIOMsys + +usr/lib/open-axiom/lib/libopen-axiom-core.so diff --git a/debian/patches/debian-pkg-hint.patch b/debian/patches/debian-pkg-hint.patch new file mode 100644 index 0000000..fd986d2 --- /dev/null +++ b/debian/patches/debian-pkg-hint.patch @@ -0,0 +1,22 @@ +Index: open-axiom.trunk/src/sman/sman.c +=================================================================== +--- open-axiom.trunk.orig/src/sman/sman.c 2011-08-19 19:31:51.000000000 +0400 ++++ open-axiom.trunk/src/sman/sman.c 2011-08-19 19:34:40.000000000 +0400 +@@ -450,7 +450,7 @@ + const char* command = oa_concatenate_string(root_dir,HypertexProgram); + + if (readablep(command) != 1) { +- fprintf(stderr, "Hypertex program not found.\n"); ++ fprintf(stderr, "Hypertex program not found. Consider install `open-axiom-hypertex' package.\n"); + return; + } + if (PasteFile){ +@@ -481,7 +481,7 @@ + if (readablep(command) == 1) + spawn_of_hell(command, DoItAgain); + else +- fprintf(stderr, "Graphics program not found.\n"); ++ fprintf(stderr, "Graphics program not found. Consider install `open-axiom-graphics' package.\n"); + } + + /* Start the core executable session in a separate process, */ diff --git a/debian/patches/install-dir b/debian/patches/install-dir new file mode 100644 index 0000000..09ed22b --- /dev/null +++ b/debian/patches/install-dir @@ -0,0 +1,26 @@ +Index: open-axiom.trunk/configure +=================================================================== +--- open-axiom.trunk.orig/configure 2011-07-13 15:42:04.000000000 +0400 ++++ open-axiom.trunk/configure 2011-08-15 00:23:54.000000000 +0400 +@@ -5615,7 +5615,7 @@ + + + +-open_axiom_installdir=$libdir/open-axiom/$target/$PACKAGE_VERSION ++open_axiom_installdir=$libdir/open-axiom + + + if test $build != $target; then +Index: open-axiom.trunk/configure.ac +=================================================================== +--- open-axiom.trunk.orig/configure.ac 2011-07-13 15:42:04.000000000 +0400 ++++ open-axiom.trunk/configure.ac 2011-08-15 00:23:54.000000000 +0400 +@@ -55,7 +55,7 @@ + AC_CONFIG_SRCDIR(src/Makefile.in) + + +-open_axiom_installdir=$libdir/open-axiom/$target/$PACKAGE_VERSION ++open_axiom_installdir=$libdir/open-axiom + AC_SUBST(open_axiom_installdir) + + dnl For the moment, the OpenAxiom base source code is written diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 0000000..8e22c21 --- /dev/null +++ b/debian/patches/series @@ -0,0 +1,2 @@ +install-dir +debian-pkg-hint.patch diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..7b1164e --- /dev/null +++ b/debian/rules @@ -0,0 +1,40 @@ +#!/usr/bin/make -f + +# make clean does not clean properly +# so building out of source +BUILD = build-tree + +LDFLAGS = -Wl,--as-needed + +override_dh_auto_configure: + dh_auto_configure -B $(BUILD) -- \ + --with-lisp=sbcl \ + --with-x \ + LDFLAGS="$(LDFLAGS)" + +override_dh_auto_clean: + rm -rf $(BUILD) + +override_dh_install: + dh_install --list-missing + +override_dh_strip: + # stripping breaks Open Axiom + +clean build install binary binary-arch binary-indep: + dh $@ --builddir=$(BUILD) + +PACKAGE = open-axiom +SVN_REPO = https://open-axiom.svn.sf.net/svnroot/open-axiom/trunk +SRC_VERSION := $(shell dpkg-parsechangelog | sed -ne 's/^Version: \(\([0-9]\+\):\)\?\(.*\)-.*/\3/p') +SVN_REVISION := $(shell echo $(SRC_VERSION) | awk -F"+" '{ print $$2 }' | sed 's/svn~//' ) +TARBALL = $(PACKAGE)_$(SRC_VERSION).orig.tar.gz +.PHONY: get-orig-source +get-orig-source: + rm -rf get-orig-source $(TARBALL) + mkdir get-orig-source + svn export -r $(SVN_REVISION) $(SVN_REPO) \ + get-orig-source/$(PACKAGE)-$(SRC_VERSION).orig + GZIP='--best --no-name' tar czf $(TARBALL) -C get-orig-source $(PACKAGE)-$(SRC_VERSION).orig + rm -rf get-orig-source + echo " "$(TARBALL)" created; move it to the right destination to build the package" diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 0000000..163aaf8 --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +3.0 (quilt) |