[SCM] aribas packaging branch, master, updated. upstream/1.20-37-g2007b9f

Ralf Treinen treinen at free.fr
Sun May 15 11:50:56 UTC 2011


The following commit has been merged in the master branch:
commit de6c23bf0fcda00b21c726f0887004f92cc1cfff
Author: Ralf Treinen <treinen at debian.org>
Date:   Sat Feb 10 15:35:14 2001 +0100

    Imported Debian patch 1.20-1

diff --git a/debian/aribas.1 b/debian/aribas.1
new file mode 100644
index 0000000..3563c5c
--- /dev/null
+++ b/debian/aribas.1
@@ -0,0 +1,232 @@
+.\" Licensed under the Gnu Public License, Version 2
+.\"
+.\" $Id: ssystem.1.2   1996/06/30 13:33:54 bousch Exp $
+.\"
+.TH ARIBAS 1 "February 2001" "ARIBAS"
+
+.SH NAME
+aribas \- Arithmetic Interpreter
+
+.SH SYNOPSIS
+.B aribas
+[\fIoptions\fR] [<\fIari-file\fR> [<\fIarg1\fR> <\fIarg2\fR> ...]]
+
+This mas page was written for Debian since the orginal software
+does not contain a man page.
+
+.SH DESCRIPTION
+
+\fBAribas\fR is an interactive interpreter suitable for big integer
+arithmetic and multiprecision floating point arithmetic.
+It has a syntax similar to Pascal or Modula-2, but contains also
+features from other programming languages like C, Lisp, Oberon.
+.P
+After \fBaribas\fR is started, it displays a prompt ==>
+and you may input an expression you want to calculate.
+You must mark the end of the input by a full stop '.' and then
+press the RETURN key. See the \fBaribas\fR documentation for a
+description of the expression language.
+
+
+.SH USAGE
+
+The following options are available:
+.TP
+.B -q
+(quiet mode) Suppresses all messages to the screen (version no,
+copyright notice, etc.) when \fBaribas\fR is started
+.TP
+.B -v  
+(verbose mode, default) Does not suppress messages to the screen when
+\fBaribas\fR is started.
+.TP
+.B -c <cols>
+\fBaribas\fR does its own line breaking when writing to the screen.
+Normally it supposes that the screen (or the window in which \fBaribas\fR
+runs) has 80 columns. With the -c option you can set another number,
+which must be between 40 and 160 (in decimal representation).  For
+example, if you run \fBaribas\fR in an Xterm window with 72 columns, use the
+option -c72 (or -c 72, the space between -c and the number is
+optional).
+.TP
+.B -m <mem>
+Here <mem> is a number (in decimal representation) between 64 and
+16000. This number indicates how many Kilobytes of RAM \fBaribas\fR should
+use for the \fBaribas\fR heap. The default value depends on the options used
+when \fBaribas\fR was compiled. Typically, under UNIX or LINUX it is 2
+Megabytes, corresponding to -m2000
+.TP
+.B -h <path of help file>
+The online help of \fBaribas\fR depends on a file aribas.hlp which should be
+situated  in the range of the environment variable PATH. If this is not
+the case you can specify the exact path of the help file with the -h
+option. If for example the file aribas.hlp is in the directory
+/usr/local/lib, use the option -h /usr/local/lib (the space after -h
+is not necessary).  The -h option can also be used if the help file
+has a different name. If the help file is named help-aribas and lies
+in the directory /home/joe/ari, use -h/home/joe/ari/help-aribas.
+
+With a properly installed Debian package of \fBaribas\fR it should
+not be necessary to use this option.
+.TP
+.B -p <ari-search-path>
+With this option you can specify a search path for loading files with
+\fBaribas\fR source code. <ari-search-path> may be either the
+(absolute) pathname of one directory or several pathnames separated by
+colons.  Suppose that you have called \fBaribas\fR with the option
+
+	-p/usr/local/lib/aribas:~/ari/examples 
+
+and that your home directory is /home/alice/. Then the command
+
+	==> load("factor").
+
+will search the file factor.ari first in the current directory,
+then in the directory /usr/local/lib/aribas and finally in
+/home/alice/ari/examples.
+
+.TP
+.B -b
+Batch mode when loading an \fBaribas\fR source code file from
+the command line, see below.
+
+One letter options which require no arguments may be merged,
+for example
+
+        aribas -q -b
+
+is equivalent to
+
+        aribas -qb
+.TP
+.B <ari-file>
+The next command line argument after the options is interpreted
+as the name of a file with \fBaribas\fR source code. If the file name
+has the extension .ari, this extension may be omitted. The file
+is loaded as if the command \fIload("<ari-file>")\fR had been given
+after the start of \fBaribas\fR at the \fBaribas\fR prompt. If the file is 
+not found in the current directory it is searched in the 
+directories specified by the -p option.
+If the option -b was given, the file is loaded and executed.
+Afterwards \fBaribas\fR exits without showing it's prompt. If
+the file cannot be loaded completely because of an error,
+\fBaribas\fR exits immediately after the error message.
+.TP
+.B <arg1> <arg2> ...
+When further command line arguments follow \fI<ari-file>\fR, they
+are collected (as strings) together with \fI<ari-file>\fR in the vector 
+ARGV which can be accessed from within \fBaribas\fR.
+Example: If you call \fBaribas\fR with the command line
+
+	aribas startup 4536 eisenstein
+
+and the current directory contains the file startup.ari, then
+\fBaribas\fR loads it and the vector ARGV has the form
+
+	==> ARGV.
+
+	-: ("startup", "4536", "eisenstein")
+
+If you need some arguments as numbers and not as strings, you can
+transform them by atoi (or atof); in our example
+
+	==> x := atoi(ARGV[1]).
+
+	-: 4536 
+
+will do it. The length of the vector ARGV can be determined by 
+length(ARGV).
+
+
+.SH USING ARIBAS FROM EMACS
+
+You can run \fBaribas\fR from within Emacs by giving the command
+.P
+.I  	M-x run-aribas
+.P
+(If you don't have a META key, use ESC x instead of M-x)
+Then \fBaribas\fR will be loaded into an Emacs window with name 
+*aribas* and you can edit your input to \fBaribas\fR with the usual
+Emacs commands.
+.P
+If your input ends with a full stop '.' and you press RETURN,
+it is sent to \fBaribas\fR.
+If however your complete input does not end with a full stop,
+(for example in response to a readln), the input is sent 
+to \fBaribas\fR by C-j (Control-j) or C-c RETURN.
+.P
+If you want to repeat a previous input, M-p (or ESC p) cycles backward
+through input history, and M-n (or ESC n) cycles forward.
+.P
+A Control-C is sent to \fBaribas\fR by C-c C-c (press C-c twice).
+
+
+.SH CONFIGURATION FILE
+
+Options for running \fBaribas\fR can be specified also using a configuration
+file. Under UNIX, this file is named .arirc, under MS-DOS its name
+is aribas.cfg. \fBaribas\fR searches for a configuration file in the
+following order:
+
+    1) the current directory
+    2) the home directory of the user
+
+There is a third possibility: You can define an environment variable
+ARIRC containing the name of the configuration file (which may be
+different from .arirc) including the full path.
+
+In the configuration file you can specify all command line options
+described above which begin with a - sign, however a separate
+line must be used for every single option. Lines beginning with
+the character # or empty lines are ignored.
+In addition to the options described above, the configuration
+file may contain \fBaribas\fR source code. For this purpose there
+must be a line reading
+
+-init
+
+Then everything after this line is treated as \fBaribas\fR source code
+and executed when \fBaribas\fR is started.
+
+The existence of a configuration file for \fBaribas\fR does not exclude
+the possibility to give command line arguments. If an option
+(e.g. the -m option) is specified both in the configuration file
+and the command line but with different values, then the 
+specification at the command line is valid. Analogously, a -v
+option on the command line overrides a -q option in the configuration
+file.
+If there is -init code in the configuration file and an <ari-file>
+argument at the command line, then the -init code is executed first 
+and afterwards the <ari-file> is loaded and its code executed.
+
+.SH FILES
+.TP
+.B $ARIRC,  .arirc, $HOME/.arirc
+
+Optional configuration file.
+
+.SH ENVIRONMENT VARIABLES
+.TP
+.B $ARIRC
+Location of the optional configuration file.
+
+.SH SEE ALSO
+.BR emacs (1)
+.P
+Information on how to use \fBaribas\fR 
+can be found in \fI/usr/share/doc/aribas\fR.
+.P
+The \fBaribas\fR home page is
+\fIhttp://www.mathematik.uni-muenchen.de/~forster/sw/aribas.html\fR.
+
+.SH AUTHOR
+Otto Forster <forster at rz.mathematik.uni-muenchen.de> is the author of
+the aribas program. This man page was compiled by Ralf Treinen
+<treinen at debian.org> from the aribas documentation for the Debian
+package of aribas.
+
+
+
+
+
+
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..bfe4da8
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,72 @@
+aribas (1.20-1) unstable; urgency=low
+
+  * New upstream release.
+  * Activated installation of emacs startup file for aribas
+  * Completely rewrote the man page, using lots of stuff from the
+    documentation.
+  * Removed /usr/share/doc/aribas/aribas-emacs-mode.doc (this info
+    is now in the man page).
+
+ -- Ralf Treinen <treinen at debian.org>  Sat, 10 Feb 2001 15:35:14 +0100
+
+aribas (1.14-3) unstable; urgency=low
+
+  * Adopting the package (Closes: #68301)
+  * moved rules to debhelper, use proper architecture test (Closes: #54584).
+  * added build-depends: debhelper
+  * added debian/dirs and debian/docs
+  * moved emacs mode to where it belongs
+  * added doc-base (for tutorial and doc in ascii)
+  * moved to Standards-Version 3.1.1.
+  * debian/copyright: Added Upstream Author, proper reference to GPL v2
+  * moved doc from /usr/doc/aribas to /usr/share/doc/aribas
+  * Removed debian/NOTES.debian
+  * created debian/aribas-emacs-mode.doc, to be installed in
+    /usr/share/docs/aribas.
+  
+ -- Ralf Treinen <treinen at debian.org>  Sat, 13 Jan 2001 22:35:17 +0100
+
+aribas (1.14-2) unstable; urgency=low
+
+  * Maintainer set to Debian QA Group.
+  * Removed README.debian.
+  * Removed the emacs config directives from debian/changelog.
+
+ -- Martin Michlmayr <tbm at cyrius.com>  Fri, 22 Dec 2000 15:49:03 +0100
+
+aribas (1.14-1) unstable; urgency=low
+
+  * New upstream source
+
+ -- John Lapeyre <lapeyre at physics.arizona.edu>  Sat, 26 Jun 1999 23:37:57 -0700
+
+aribas (1.08b-5) unstable; urgency=low
+
+  * Allow mulitple archs.
+
+ -- John Lapeyre <lapeyre at physics.arizona.edu>  Thu, 17 Sep 1998 15:20:15 -0700
+
+aribas (1.08b-4) unstable; urgency=low
+
+  * Changed description.
+
+ -- John Lapeyre <lapeyre at physics.arizona.edu>  Wed, 12 Aug 1998 18:12:21 -0700
+
+aribas (1.08b-3) unstable; urgency=low
+
+  * Made help file visible.
+
+ -- John Lapeyre <lapeyre at physics.arizona.edu>  Wed, 29 Jul 1998 22:16:52 -0700
+
+aribas (1.08b-2) unstable; urgency=low
+
+  * distribution 'main' does not exist
+
+ -- John Lapeyre <lapeyre at physics.arizona.edu>  Tue, 28 Jul 1998 13:35:01 -0700
+
+aribas (1.08b-1) main; urgency=low
+
+  * Initial Release.
+
+ -- John Lapeyre <lapeyre at physics.arizona.edu>  Fri, 24 Jul 1998 15:05:14 -0700
+
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..a88f23f
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,18 @@
+Source: aribas
+Section: math
+Priority: optional
+Maintainer: Ralf Treinen <treinen at debian.org>
+Standards-Version: 3.1.1
+Build-Depends: debhelper
+
+Package: aribas
+Architecture: any
+Depends:  ${shlibs:Depends}
+Description: interpreter for arithmetic
+ ARIBAS is an interactive interpreter suitable for big integer
+ arithmetic and multiprecision floating point arithmetic.
+ It has a syntax similar to Pascal or Modula-2, but contains also
+ features from other programming languages like C, Lisp, Oberon.
+ .
+ The Aribas home page is
+ http://www.mathematik.uni-muenchen.de/~forster/sw/aribas.html
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..a72981e
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,13 @@
+This package was debianized by John Lapeyre lapeyre at physics.arizona.edu on
+Fri, 24 Jul 1998 15:10:47 -0700
+
+It was downloaded from http://www.mathematik.uni-muenchen.de/~forster
+
+Author: Otto Forster <forster at rz.mathematik.uni-muenchen.de>
+
+Copyright: 
+
+You are free to distribute this software under the terms of
+the GNU General Public License, version 2.
+On Debian systems, the complete text of the GNU General Public
+License can be found in the /usr/share/common-licenses/GPL file.
diff --git a/debian/dirs b/debian/dirs
new file mode 100644
index 0000000..a9d2a1e
--- /dev/null
+++ b/debian/dirs
@@ -0,0 +1,5 @@
+usr/bin
+usr/share/man/man1
+usr/share/doc/aribas/examples
+usr/lib/aribas
+usr/share/emacs/site-lisp/aribas
\ No newline at end of file
diff --git a/debian/doc-base.aribas b/debian/doc-base.aribas
new file mode 100644
index 0000000..60d3b36
--- /dev/null
+++ b/debian/doc-base.aribas
@@ -0,0 +1,8 @@
+Document: aribas
+Title: Aribas
+Author: Otto Forster <forster at rz.mathematik.uni-muenchen.de>
+Abstract: The Aribas Documentation and Tutorial
+Section: math
+
+Format: text
+Files: /usr/share/doc/aribas/aribas.{doc,tut}
diff --git a/debian/docs b/debian/docs
new file mode 100644
index 0000000..2da22dc
--- /dev/null
+++ b/debian/docs
@@ -0,0 +1,2 @@
+doc/aribas.tut
+doc/aribas.doc
diff --git a/debian/emacsen-install b/debian/emacsen-install
new file mode 100644
index 0000000..e636d7a
--- /dev/null
+++ b/debian/emacsen-install
@@ -0,0 +1,45 @@
+#! /bin/sh -e
+# /usr/lib/emacsen-common/packages/install/aribas
+
+# Written by Jim Van Zandt <jrv at vanzandt.mv.com>, borrowing heavily
+# from the install scripts for gettext by Santiago Vila
+# <sanvila at ctv.es> and octave by Dirk Eddelbuettel <edd at debian.org>.
+
+FLAVOR=$1
+PACKAGE=aribas
+
+if [ ${FLAVOR} = emacs ]; then exit 0; fi
+
+echo install/${PACKAGE}: Handling install for emacsen flavor ${FLAVOR}
+
+#FLAVORTEST=`echo $FLAVOR | cut -c-6`
+#if [ ${FLAVORTEST} = xemacs ] ; then
+#    SITEFLAG="-no-site-file"
+#else
+#    SITEFLAG="--no-site-file"
+#fi
+FLAGS="${SITEFLAG} -q -batch -l path.el -f batch-byte-compile"
+
+ELDIR=/usr/share/emacs/site-lisp/${PACKAGE}
+ELCDIR=/usr/share/${FLAVOR}/site-lisp/${PACKAGE}
+
+# Install-info-altdir does not actually exist. 
+# Maybe somebody will write it.
+if test -x /usr/sbin/install-info-altdir; then
+    echo install/${PACKAGE}: install Info links for ${FLAVOR}
+    install-info-altdir --quiet --section "" "" --dirname=${FLAVOR} /usr/info/${PACKAGE}.info.gz
+fi
+
+install -m 755 -d ${ELCDIR}
+cd ${ELDIR}
+FILES=`echo *.el`
+cp ${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 path.el
+
+exit 0
diff --git a/debian/emacsen-remove b/debian/emacsen-remove
new file mode 100644
index 0000000..e73f979
--- /dev/null
+++ b/debian/emacsen-remove
@@ -0,0 +1,15 @@
+#!/bin/sh -e
+# /usr/lib/emacsen-common/packages/remove/aribas
+
+FLAVOR=$1
+PACKAGE=aribas
+
+if [ ${FLAVOR} != emacs ]; then
+    if test -x /usr/sbin/install-info-altdir; then
+        echo remove/${PACKAGE}: removing Info links for ${FLAVOR}
+        install-info-altdir --quiet --remove --dirname=${FLAVOR} /usr/info/#PACKAGE#.info.gz
+    fi
+
+    echo remove/${PACKAGE}: purging byte-compiled files for ${FLAVOR}
+    rm -rf /usr/share/${FLAVOR}/site-lisp/${PACKAGE}
+fi
diff --git a/debian/emacsen-startup b/debian/emacsen-startup
new file mode 100644
index 0000000..3be365a
--- /dev/null
+++ b/debian/emacsen-startup
@@ -0,0 +1,18 @@
+;; -*-emacs-lisp-*-
+;;
+;; Emacs startup file for the Debian GNU/Linux aribas package
+;;
+;; Originally contributed by Nils Naumann <naumann at unileoben.ac.at>
+;; Modified by Dirk Eddelbuettel <edd at debian.org>
+;; Adapted for dh-make by Jim Van Zandt <jrv at vanzandt.mv.com>
+
+;; The aribas package follows the Debian/GNU Linux 'emacsen' policy and
+;; byte-compiles its elisp files for each 'emacs flavor' (emacs19,
+;; xemacs19, emacs20, xemacs20...).  The compiled code is then
+;; installed in a subdirectory of the respective site-lisp directory.
+;; We have to add this to the load-path:
+(setq load-path (nconc load-path (list (concat "/usr/share/"
+                                               (symbol-name flavor)
+                                               "/site-lisp/aribas"))))
+
+(autoload 'run-aribas "aribas" "Run ARIBAS." t)
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..01ea05a
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,81 @@
+#!/usr/bin/make -f
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+# This is the debhelper compatibility version to use.
+export DH_COMPAT=2
+
+build: build-stamp
+build-stamp:
+	dh_testdir
+
+ifeq ($(arch),i386)
+	cp src/LINUX/arito386.S src
+	cp src/LINUX/Makefile.linux src
+	cd src;\
+	 make -f Makefile.linux CC=$(CC) CFLAGS="-g -DLiNUX -DPROTO\
+		 -O3 -Wall -pedantic" ASSOBJECTS=arito386.o
+else 
+	cp src/LINUX/Makefile.linux src	
+	cd src;\
+	 make -f Makefile.linux CC=$(CC) CFLAGS="-g -DUNiX  -DPROTO\
+		 -O3 -Wall -pedantic" ASSOBJECTS=''
+endif
+
+	touch build-stamp
+
+clean:
+	dh_testdir
+	dh_testroot
+	rm -f build-stamp
+	cd src; rm -f *.o aribas
+	-cd src; rm arito386.S; rm Makefile.linux
+	dh_clean
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_clean -k
+	dh_installdirs
+	install -m 755 src/aribas debian/aribas/usr/bin
+	cp src/EL/aribas.el debian/aribas/usr/share/emacs/site-lisp/aribas
+	cp src/aribas.hlp debian/aribas/usr/lib/aribas
+
+# 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_testversion 2
+	dh_testdir
+	dh_testroot
+#	dh_installdebconf	
+	dh_installdocs
+	dh_installexamples examples/*
+#	dh_installmenu
+#	dh_installlogrotate
+	dh_installemacsen
+#	dh_installpam
+#	dh_installmime
+#	dh_installinit
+#	dh_installcron
+	dh_installmanpages
+#	dh_installinfo
+#	dh_undocumented
+	dh_installchangelogs
+#	dh_link
+	dh_strip
+	dh_compress
+	dh_fixperms
+#	dh_makeshlibs
+	dh_installdeb
+#	dh_perl
+	dh_shlibdeps
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install

-- 
aribas packaging



More information about the debian-science-commits mailing list