[symmetrica] 01/01: Imported Debian patch 2.0+ds-4
Jerome Benoit
calculus-guest at moszumanska.debian.org
Sun May 15 22:32:02 UTC 2016
This is an automated email from the git hooks/post-receive script.
calculus-guest pushed a commit to branch master
in repository symmetrica.
commit ef94074e03a7c72448aafb92d01d9d28c9400b36
Author: Jerome Benoit <calculus at rezozer.net>
Date: Sun May 15 21:57:49 2016 +0100
Imported Debian patch 2.0+ds-4
---
debian/adhoc/examples/Makefile | 41 +++++++
debian/adhoc/examples/sample.ans | 1 +
debian/adhoc/examples/sample.tst | 3 +
debian/changelog | 22 ++++
debian/control | 27 +----
debian/copyright | 4 +-
debian/libsymmetrica2.lintian-overrides | 2 +-
debian/patches/upstream-fix-doc-typo.patch | 181 ++++++++++++++++++++++++++---
debian/patches/upstream-source-typo.patch | 136 +++++++++++++++++++++-
debian/rules | 19 ++-
debian/symmetrica-doc.docs | 2 +-
debian/symmetrica-doc.examples | 2 +-
debian/tests/build-examples | 11 ++
debian/tests/control | 2 +
14 files changed, 407 insertions(+), 46 deletions(-)
diff --git a/debian/adhoc/examples/Makefile b/debian/adhoc/examples/Makefile
new file mode 100644
index 0000000..d5b12b2
--- /dev/null
+++ b/debian/adhoc/examples/Makefile
@@ -0,0 +1,41 @@
+# /usr/share/doc/symmetrica-doc/examples/Makefile
+#
+# Ad hoc Makefile for building and playing with the sample sources
+# distributed within the debian package symmetrica-doc.
+#
+# Recommended usage:
+# create a dedicated folder somewhere in your HOME directory;
+# link all the files in /usr/share/doc/symmetrica-doc/examples in the dedicated folder;
+# launch this Makefile in the dedicated folder:
+# $ make ;
+# for a basic cleanup, consider the clean target:
+# $ make clean ;
+# for an entire cleanup, the maintainer-clean target:
+# $ make maintainer-clean ;
+# for other targets, just read the Makefile.
+#
+# written for Debian by Jerome Benoit <calculus at rezozer.net>
+# on behalf of the Debian Science Team
+# copyright: 2016 Jerome Benoit <calculus at rezozer.net>
+# distributed under the terms and conditions of GPL version 2 or later
+#
+
+PROGRAMS = $(patsubst %.c,%,$(wildcard *.c))
+
+default: all
+
+LDLIBS = -lsymmetrica
+
+all: build
+
+build: $(PROGRAMS)
+
+check: build check-sample
+
+check-sample: sample sample.tst sample.ans
+ ./sample 2> /dev/null < sample.tst | diff -u sample.ans -
+
+clean:
+ $(RM) $(PROGRAMS)
+
+maintainer-clean: clean
diff --git a/debian/adhoc/examples/sample.ans b/debian/adhoc/examples/sample.ans
new file mode 100644
index 0000000..7749873
--- /dev/null
+++ b/debian/adhoc/examples/sample.ans
@@ -0,0 +1 @@
+479001600
diff --git a/debian/adhoc/examples/sample.tst b/debian/adhoc/examples/sample.tst
new file mode 100644
index 0000000..02420b3
--- /dev/null
+++ b/debian/adhoc/examples/sample.tst
@@ -0,0 +1,3 @@
+## ./sample < sample.tst 2> /dev/null
+12
+## eoi
diff --git a/debian/changelog b/debian/changelog
index c3953cc..e241d53 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,25 @@
+symmetrica (2.0+ds-4) unstable; urgency=medium
+
+ * Debianization:
+ - debian/copyright, refresh;
+ - debian/control:
+ - Standards Version, bump to 3.9.8 (no change);
+ - Vcs-*, secure;
+ - debug symbol package, drop off in favour of automatic generation;
+ - debian/rules:
+ - dpkg-buildflags, add hardening=+all;
+ - debug symbol package, drop off (see above);
+ - build-arch/build-indep scheme, introduce;
+ - documentation installation, rationalize;
+ - debian/patches:
+ - d/p/upstream-source-typo.patch, enrich;
+ - d/p/upstream-fix-doc-typo.patch, enrich;
+ - debian/libsymmetrica2.lintian-overrides, refresh;
+ - debian/adhoc/examples, enhance;
+ - debian/tests/*, introduce.
+
+ -- Jerome Benoit <calculus at rezozer.net> Sun, 15 May 2016 22:07:40 +0000
+
symmetrica (2.0+ds-3) unstable; urgency=medium
* Debianization:
diff --git a/debian/control b/debian/control
index c4e8660..61ea8bf 100644
--- a/debian/control
+++ b/debian/control
@@ -4,11 +4,12 @@ Priority: optional
Maintainer: Debian Science Maintainers <debian-science-maintainers at lists.alioth.debian.org>
Uploaders: Jerome Benoit <calculus at rezozer.net>
Build-Depends:
- debhelper (>= 9), quilt, autotools-dev, dh-autoreconf, libtool
-Standards-Version: 3.9.6
+ debhelper (>= 9), autotools-dev, dh-autoreconf, libtool
+Build-Depends-Indep:
+Standards-Version: 3.9.8
Homepage: http://www.algorithm.uni-bayreuth.de/en/research/SYMMETRICA
-Vcs-Git: git://anonscm.debian.org/debian-science/packages/symmetrica.git
-Vcs-Browser: http://anonscm.debian.org/gitweb/?p=debian-science/packages/symmetrica.git
+Vcs-Git: https://anonscm.debian.org/git/debian-science/packages/symmetrica.git
+Vcs-Browser: https://anonscm.debian.org/cgit/debian-science/packages/symmetrica.git
Package: libsymmetrica2
Provides: libsymmetrica
@@ -51,24 +52,6 @@ Description: Symmetrica Combinatoric C Library -- development package
links that developers using the Symmetrica Combinatoric C Library will
need.
-Package: libsymmetrica2-dbg
-Provides: libsymmetrica-dbg
-Section: debug
-Priority: extra
-Architecture: any
-Depends: libsymmetrica2 (= ${binary:Version}), ${misc:Depends}
-Conflicts: libsymmetrica-dbg
-Multi-Arch: same
-Description: Symmetrica Combinatoric C Library -- debug symbols package
- Symmetrica is a library for combinatorics. It has support for the
- representation theory of the symmetric group and related groups,
- combinatorics of tableaux, symmetric functions and polynomials,
- Schubert polynomials, and the representation theory of Hecke algebras
- of type A_n.
- .
- This package provides the debugging symbols for the libraries from
- the libsymmetrica2 package.
-
Package: symmetrica-doc
Section: doc
Architecture: all
diff --git a/debian/copyright b/debian/copyright
index e9cac3a..5503c64 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -8,7 +8,7 @@ Comment:
Files: *
Copyright:
- 1987-2014 Lehrstuhl Mathematik II <symmetrica at symmetrica.de>
+ 1987-2016 Lehrstuhl Mathematik II <symmetrica at symmetrica.de>
License: ISC
Comment:
This package was originally set under a faulty license:
@@ -16,7 +16,7 @@ Comment:
Files: debian/*
Copyright:
- 2014 Jerome Benoit <calculus at rezozer.net>
+ 2014-2016 Jerome Benoit <calculus at rezozer.net>
2008 Tim Abbott <tabbott at mit.edu>
License: ISC
Comment:
diff --git a/debian/libsymmetrica2.lintian-overrides b/debian/libsymmetrica2.lintian-overrides
index 3765e77..16753df 100644
--- a/debian/libsymmetrica2.lintian-overrides
+++ b/debian/libsymmetrica2.lintian-overrides
@@ -1 +1 @@
-spelling-error-in-binary
+shlib-calls-exit
diff --git a/debian/patches/upstream-fix-doc-typo.patch b/debian/patches/upstream-fix-doc-typo.patch
index 3c8cd62..0da1874 100644
--- a/debian/patches/upstream-fix-doc-typo.patch
+++ b/debian/patches/upstream-fix-doc-typo.patch
@@ -6,7 +6,7 @@ Description: upstream documentation corrections
Also meant to be submitted to the upstream maintainer.
Origin: debian
Author: Jerome Benoit <calculus at rezozer.net>
-Last-Update: 2014-09-16
+Last-Update: 2016-05-15
--- a/bar.doc
+++ b/bar.doc
@@ -223,8 +223,26 @@ Last-Update: 2014-09-16
DESCRIPTION:
gives the degree of the extension as an INT value
+@@ -91,7 +91,7 @@
+ builds a FF object res, whose characteristic is given
+ by the INTEGER object a. The second parameter vec is a VECTOR
+ object with INTEGER entries between 0 and char-1. These are
+- the coefficents of the FF object res according to the
++ the coefficients of the FF object res according to the
+ internally used, not documented, basis.
+
+ NAME:
--- a/ga.doc
+++ b/ga.doc
+@@ -6,7 +6,7 @@
+ of objects is GRAL (for group algebra). The type of the self part
+ is a permutation instead of a vector as in the case of POLYNOM.
+ So a general object of type GRAL is a list of permutations with
+- arbitrary coefficents.
++ arbitrary coefficients.
+ For the selection of parts you have to use the macros for polynom
+ objects (up to now)
+ There are two routines for the construction
@@ -30,6 +30,8 @@
hplus_hecke
SYNOPSIS:
@@ -250,6 +268,15 @@ Last-Update: 2014-09-16
NAME:
vminus
+@@ -70,7 +76,7 @@
+ DESCRIPTION:
+ computes a random element of the group algebra. The degree
+ of the involved permutations is given by the INTEGER object a. The
+- coefficents are INTEGER object given by random_integer, so they lay
++ coefficients are INTEGER object given by random_integer, so they lay
+ between -10 and 10. There are maximal ten terms.
+
+ NAME:
--- a/hiccup.doc
+++ b/hiccup.doc
@@ -441,7 +441,7 @@
@@ -1310,6 +1337,15 @@ Last-Update: 2014-09-16
an object il which may be an INTEGER object, to say that you want
--- a/nu.doc
+++ b/nu.doc
+@@ -303,7 +303,7 @@
+ fixpoint. In the case of MATRIX or KRANZTYPUS object there
+ will be a further column and a further row at the ends, with
+ empty objects. In the case of REIHE it computes the next
+- coefficent.
++ coefficient.
+ RETURN:
+ OK or ERROR
+ BUGS:
@@ -419,7 +419,7 @@
NAME:
mod
@@ -1551,7 +1587,14 @@ Last-Update: 2014-09-16
fprint_permutation
SYNOPSIS:
INT fprint_permutation(FILE *fp, OP a)
-@@ -259,11 +293,9 @@
+@@ -253,17 +287,15 @@
+ DESCRIPTION:
+ the lehmercode is a bijection between the permutations
+ and a vector of integers. This routine computes the
+- image of a PERMUATION object a under this bijection, the result
++ image of a PERMUTATION object a under this bijection, the result
+ is a VECTOR object of the same length. Better to use the general
+ routine lehmercode(OP,OP).
NAME:
makevectoroftranspositions
@@ -1564,42 +1607,54 @@ Last-Update: 2014-09-16
computes the VECTOR of all PERMUTATION objects of the entered
degree, which are transpositions.
RETURN:
-@@ -509,7 +541,7 @@
+@@ -509,9 +541,9 @@
NAME:
t_ZYKEL_VECTOR
SYNOPSIS:
- INT t_ZYKEL_VECTOR(OP a,b)
+ INT t_ZYKEL_VECTOR(OP a,b)
DESCRIPTION:
- a is a PERMUATION object of ZYKEL type
+- a is a PERMUATION object of ZYKEL type
++ a is a PERMUTATION object of ZYKEL type
b becomes a PERMUTATION object of VECTOR type
-@@ -520,7 +552,7 @@
+ a and b may be equal. t_zperm_vperm is a synonym
+
+@@ -520,9 +552,9 @@
NAME:
t_zperm_vperm
SYNOPSIS:
- INT t_zperm_vperm(OP a,b)
+ INT t_zperm_vperm(OP a,b)
DESCRIPTION:
- a is a PERMUATION object of ZYKEL type
+- a is a PERMUATION object of ZYKEL type
++ a is a PERMUTATION object of ZYKEL type
b becomes a PERMUTATION object of VECTOR type
-@@ -531,7 +563,7 @@
+ a and b may be equal. t_ZYKEL_VECTOR is a synonym
+
+@@ -531,9 +563,9 @@
NAME:
t_VECTOR_ZYKEL
SYNOPSIS:
- INT t_VECTOR_ZYKEL(OP a,b)
+ INT t_VECTOR_ZYKEL(OP a,b)
DESCRIPTION:
- a is a PERMUATION object of VECTOR type
+- a is a PERMUATION object of VECTOR type
++ a is a PERMUTATION object of VECTOR type
b becomes a PERMUTATION object of ZYKEL type
-@@ -542,7 +574,7 @@
+ a and b may be equal. t_vperm_zperm is a synonym
+
+@@ -542,9 +574,9 @@
NAME:
t_vperm_zperm
SYNOPSIS:
- INT t_vperm_zperm(OP a,b)
+ INT t_vperm_zperm(OP a,b)
DESCRIPTION:
- a is a PERMUATION object of VECTOR type
+- a is a PERMUATION object of VECTOR type
++ a is a PERMUTATION object of VECTOR type
b becomes a PERMUTATION object of ZYKEL type
+ a and b may be equal. t_VECTOR_ZYKEL is a synonym
+
--- a/poly.doc
+++ b/poly.doc
@@ -37,7 +37,44 @@
@@ -1648,6 +1703,15 @@ Last-Update: 2014-09-16
main()
{
OP a,b,c;
+@@ -71,7 +108,7 @@
+ }
+
+ The routines b_s_po and m_s_po help to generate a POLYNOM object, where
+- the self-part is given by the self parameter and the coefficent is given
++ the self-part is given by the self parameter and the coefficient is given
+ by the INTEGER object 1. The next part is NULL, which means we have
+ a POLYNOM object which consist only of one MONOM object.
+
@@ -103,7 +140,7 @@
produces an error, because the self part is not yet initialised.
@@ -1686,6 +1750,15 @@ Last-Update: 2014-09-16
DESCRIPTION:
This routine computes the Lagrange polynomial which
interpolates at the points in the VECTOR object a (which
+@@ -317,7 +354,7 @@
+ INT m_scalar_polynom(OP a,b)
+ DESCRIPTION:
+ a is a scalar object, b becomes the result, again
+- a POLYNOM object. a becomes the coefficent of the POLYNOM object
++ a POLYNOM object. a becomes the coefficient of the POLYNOM object
+ with one single monomial, namely the monomial [0], i.e. a single variable,
+ whose exponent is zero.
+
@@ -364,7 +401,7 @@
NAME:
numberofvariables
@@ -1695,6 +1768,17 @@ Last-Update: 2014-09-16
DESCRIPTION:
computes the number of variables of the POLYNOM object pol.
The result is a positiv INTEGER object res. If the self-part of
+@@ -416,8 +453,8 @@
+ DESCRIPTION:
+ you enter a POLYNOM object a, and an VECTOR object b, which must
+ have INTEGER entries, this integer vector is treated as an exponent vector,
+- the output is the coefficent which is the object c. This is a copy
+- of the coefficent in the polynom.
++ the output is the coefficient which is the object c. This is a copy
++ of the coefficient in the polynom.
+
+ COMMENT:
+ t_POLYNOM_SCHUBERT see sb.doc
--- a/pr.doc
+++ b/pr.doc
@@ -5,9 +5,9 @@
@@ -1712,16 +1796,40 @@ Last-Update: 2014-09-16
(in Schur's notation) of S_n and stores them as MATRIX objects
--- a/rh.doc
+++ b/rh.doc
-@@ -21,7 +21,7 @@
+@@ -15,21 +15,21 @@
+ INT max_degree_reihe(OP a,b)
+ DESCRIPTION:
+ you enter a REIHE object a, and the output is the
+- degree of maximal coefficent, which is computed up to now.
++ degree of maximal coefficient, which is computed up to now.
+
+
NAME:
m_function_reihe
SYNOPSIS:
- INT m_function_reihe(INT (*f)(); OP a);
+ INT m_function_reihe(INT (*f)(); OP a)
DESCRIPTION:
- you enter a function f, which computes an coefficent
+- you enter a function f, which computes an coefficent
++ you enter a function f, which computes an coefficient
of the series, which is specified by an paramter of the function.
-@@ -86,7 +86,7 @@
+ The result is a object a of type REIHE. The syntax of the function
+ f is described now in detail:
+ INT f(OP a,b)
+ a is a INTEGER object which gives the common degree of the
+- coefficents, which should be computed. The result b must be of
++ coefficients, which should be computed. The result b must be of
+ the type POLYNOM object. This POLYNOM object is homogenous of
+ the entered degree.
+ EXAMPLE:
+@@ -80,13 +80,13 @@
+ INT random_reihe(OP a)
+ DESCRIPTION:
+ builds a one-parameter series with random INTEGER
+- coefficents.
++ coefficients.
+
+
NAME:
scan_reihe
SYNOPSIS:
@@ -1730,6 +1838,17 @@ Last-Update: 2014-09-16
DESCRIPTION:
this is the function which is called by scan if you
enter the type REIHE. Up to now you can only select between
+@@ -100,8 +100,8 @@
+ you enter a REIHE object a, and an VECTOR object b, which must
+ have INTEGER entries, this integer vector is treated as an
+ exponent vector,
+- the output is the coefficent which is the object c. This is a copy
+- of the coefficent in the series.
++ the output is the coefficient which is the object c. This is a copy
++ of the coefficient in the series.
+
+ NAME:
+ select_degree_reihe
--- a/sab.doc
+++ b/sab.doc
@@ -34,10 +34,9 @@
@@ -1861,6 +1980,15 @@ Last-Update: 2014-09-16
NAME:
m_perm_sch
+@@ -33,7 +63,7 @@
+ DESCRIPTION:
+ build out of a PERMUTATION object perm,
+ a SCHUBERT object res, which is labeled by a copy
+- of the permutation and which has coefficent 1.
++ of the permutation and which has coefficient 1.
+ Compare this with the functions m_pa_s, which
+ does the same for SCHUR objects.
+
@@ -97,7 +127,7 @@
NAME:
m_perm_2schubert_monom_summe
@@ -1950,8 +2078,26 @@ Last-Update: 2014-09-16
DESCRIPTION:
you enter the degree of the symmetric group, as INTEGER
object and the result is a MATRIX object: the charactertable
+@@ -268,7 +299,7 @@
+ INT t_SCHUR_SYMCHAR(OP sp, res)
+ DESCRIPTION:
+ the input is a SCHUR object sp, this is a sum of
+- partitions with coefficent, this is interpreted as a decomposition
++ partitions with coefficient, this is interpreted as a decomposition
+ of a charcter into irreducible ones. This sum of irreducible
+ characters is computed, and will be the output, the SYMCHAR
+ object res. If the partitions are of different weight, you
--- a/schur.doc
+++ b/schur.doc
+@@ -11,7 +11,7 @@
+ If we want to build a SCHUR object, we need three parts
+ the PARTITION object, called self, the next part, which is the
+ next entry in the list, which is NULL at the end, or a
+- SCHUR object, with a bigger PARTITION, and the coefficent,
++ SCHUR object, with a bigger PARTITION, and the coefficient,
+ which is of arbitray type.
+
+ To access and change the parts of a SCHUR object we have
@@ -41,6 +41,33 @@
and the routine make_.., which differ in the handling of
the inputs, make does a copy and build does no copy.
@@ -2563,6 +2709,15 @@ Last-Update: 2014-09-16
--- a/monom.doc
+++ b/monom.doc
+@@ -5,7 +5,7 @@
+ MONOMobjects are special objects, which appear as entries of
+ LISTobjects, in the case when we want to build POLYNOMs,
+ SCHURobjects or similiar things. It is a structure of two
+-components, one component is the coefficent and the second one
++components, one component is the coefficient and the second one
+ is an entry which labels one entry in the list, for example
+ to build a POLYNOMobject, we have as self part of the list
+ a MONOMobject, whose self part is a VECTORobject of
@@ -28,6 +28,43 @@
b_sk_mo
m_sk_mo
diff --git a/debian/patches/upstream-source-typo.patch b/debian/patches/upstream-source-typo.patch
index cab0f4e..1236ecd 100644
--- a/debian/patches/upstream-source-typo.patch
+++ b/debian/patches/upstream-source-typo.patch
@@ -4,7 +4,7 @@ Description: upstream source spelling correction
upstream maintainer.
Origin: debian
Author: Jerome Benoit <calculus at rezozer.net>
-Last-Update: 2014-09-13
+Last-Update: 2016-05-15
--- a/de.c
+++ b/de.c
@@ -17,7 +17,7 @@ Last-Update: 2014-09-13
if answer == f ==> go on forever
else exit */
/* AK 270689 V1.0 */ /* AK 070890 V1.1 */
-@@ -457,9 +457,9 @@
+@@ -457,16 +457,16 @@
fflush(stdout);
fflush(stderr);
fprintf(stderr,
@@ -29,6 +29,14 @@ Last-Update: 2014-09-13
fprintf(stderr,"ERROR: %s?: ",fehlertext);
+ fflush(stderr);
+
+ if (sym_background) {
+- fprintf(stderr,"\nerror occured in background mode finishing SYMMETRICA\n");
++ fprintf(stderr,"\nerror occurred in background mode finishing SYMMETRICA\n");
+ exit(ERROR_BACKGROUND);
+ }
+
--- a/ff.c
+++ b/ff.c
@@ -931,7 +931,7 @@
@@ -40,3 +48,127 @@ Last-Update: 2014-09-13
fprintf(stderr,"\nmissing entries are 0\n");
scanf("%s",Zeichen);
j = (INT)1;
+--- a/vc.c
++++ b/vc.c
+@@ -1249,7 +1249,7 @@
+ COP("scan_permvector(1)",res);
+
+ d = callocobject();
+- erg += printeingabe("length of PERMUATION vector ");
++ erg += printeingabe("length of PERMUTATION vector ");
+ erg += scan(INTEGER,d);
+ erg += b_l_v(d,res);
+ for (i=(INT)0;i<S_V_LI(res); erg += scan(PERMUTATION,S_V_I(res,i++)));
+--- a/poly.c
++++ b/poly.c
+@@ -330,7 +330,7 @@
+ kind = scanobjectkind();
+
+ erg += scan(kind,S_MO_S(c));
+- printeingabe("what kind of coefficent");
++ printeingabe("what kind of coefficient");
+ kind = scanobjectkind();
+ erg += scan(kind,S_MO_K(c));
+ ENDR("scan_monom");
+@@ -1158,7 +1158,7 @@
+
+ erg +=
+ printeingabe("input of a POLYNOM object as a sum of MONOM objects");
+- printeingabe("what kind of coefficent");
++ printeingabe("what kind of coefficient");
+ kind = scanobjectkind();
+ erg += init(POLYNOM,poly);
+ d = callocobject();
+@@ -1166,7 +1166,7 @@
+ erg += b_skn_po(callocobject(),callocobject(),NULL,d);
+ printeingabe("enter the exponent vector of the polynom");
+ erg += scan(INTEGERVECTOR,S_PO_S(d));
+- printeingabe("enter the coefficent of the polynom");
++ printeingabe("enter the coefficient of the polynom");
+ scan(kind,S_PO_K(d));
+ erg += add_apply(d,poly);
+ spe:
+--- a/perm.c
++++ b/perm.c
+@@ -631,7 +631,7 @@
+ CTO(EMPTY,"scan_kranz(1)",a);
+ init(KRANZ,a);
+
+- printeingabe("input of the elment of the wreath product of two");
++ printeingabe("input of the element of the wreath product of two");
+ printeingabe("symmetric groups");
+ printeingabe("input of the base permutation");
+ scan(PERMUTATION,s_kr_g(a));
+--- a/ma.c
++++ b/ma.c
+@@ -645,7 +645,7 @@
+ CTO(PERMUTATION,"det050995(2)",perm);
+
+ if (neq(S_M_L(mat),S_P_L(perm)))
+- return error("det050995:wrong lengthes");
++ return error("det050995:wrong lengths");
+
+ erg += copy(S_M_IJ(mat,S_P_II(perm,0L)-1,S_P_II(perm,1L)-1L),c);
+
+@@ -668,7 +668,7 @@
+ CTO(MATRIX,"det270588(1)",mat);
+ CTO(PERMUTATION,"det270588(2)",perm);
+ SYMCHECK(S_M_HI(mat) != S_M_LI(mat), "det270588:not quadratic");
+- SYMCHECK(S_M_LI(mat) != S_P_LI(perm), "det270588:wrong lengthes");
++ SYMCHECK(S_M_LI(mat) != S_P_LI(perm), "det270588:wrong lengths");
+
+ FREESELF(c);
+ COPY(S_M_IJ(mat,0L,S_P_II(perm,0L)-1L),c);
+--- a/part.c
++++ b/part.c
+@@ -420,7 +420,7 @@
+ else if (S_PA_K(a) == EXPONENT) {
+ INT i,l,ol;
+ l = (S_PA_LI(a) > S_PA_LI(b) ? S_PA_LI(a) : S_PA_LI(b) );
+- /* l is the maximum of lengthes */
++ /* l is the maximum of lengths */
+ ol = S_PA_LI(a);
+ if (l > S_PA_LI(a))
+ erg += inc_vector_co(S_PA_S(a), l - S_PA_LI(a) );
+--- a/ga.c
++++ b/ga.c
+@@ -491,7 +491,7 @@
+
+ erg=scan(MONOM,S_L_S(a));
+ if (erg == ERROR) {
+- error("scan_gral:error in scaning listelement");
++ error("scan_gral:error in scanning listelement");
+ return(ERROR);
+ }
+
+--- a/list.c
++++ b/list.c
+@@ -876,7 +876,7 @@
+
+ erg=scan(givenkind,S_L_S(a));
+ if (erg == ERROR) {
+- error("scan_list:error in scaning listelement");
++ error("scan_list:error in scanning listelement");
+ goto endr_ende;
+ }
+
+--- a/sr.c
++++ b/sr.c
+@@ -1151,7 +1151,7 @@
+ C_O_K(a,typ);
+ erg += printeingabe("Input of a partition type monom");
+ erg += scan(PARTITION,S_S_S(a));
+- erg += printeingabe("Input of coefficent");
++ erg += printeingabe("Input of coefficient");
+ kind = scanobjectkind();
+ erg += scan(kind,S_S_K(a));
+ erg += printeingabe("one more monom y/n");
+@@ -2074,7 +2074,7 @@
+
+ INT m_scalar_schur(a,b) OP a,b;
+ /* changes a scalar into a SCHURpolynomial with this scalar as
+-coefficent and labeled by the part of zero length */
++coefficient and labeled by the part of zero length */
+ /* AK 181290 V1.1 */ /* AK 200891 V1.3 */
+ /* AK 030498 V2.0 */ /* AK 210704 V3.0 */
+ {
diff --git a/debian/rules b/debian/rules
index 9e73ee8..ac64397 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,19 +1,30 @@
#!/usr/bin/make -f
+export DEB_BUILD_MAINT_OPTIONS=hardening=+all
+
default:
@uscan --no-conf --dehs --report || true
%:
dh $@ --with autoreconf --parallel
-override_dh_strip:
- dh_strip --dbg-package=libsymmetrica2-dbg
+override_dh_auto_build-indep:
+
+override_dh_auto_test-arch:
+ $(MAKE) check
+
+override_dh_auto_test-indep:
+
+DEB_AUTO_INSTALL_DOCDIR = debian/tmp/usr/symmetrica-doc/doc
+override_dh_auto_install-indep:
+ mkdir -p $(DEB_AUTO_INSTALL_DOCDIR)
+ cp -p -t $(DEB_AUTO_INSTALL_DOCDIR) *.doc
override_dh_installchangelogs:
dh_installchangelogs --keep README
-override_dh_auto_test:
- $(MAKE) check
+override_dh_compress-indep:
+ dh_compress -X.doc -Xexamples
get-orig-source:
uscan --no-conf --download-current-version --verbose
diff --git a/debian/symmetrica-doc.docs b/debian/symmetrica-doc.docs
index 5c51117..7ad65bd 100644
--- a/debian/symmetrica-doc.docs
+++ b/debian/symmetrica-doc.docs
@@ -1 +1 @@
-*.doc
+debian/tmp/usr/symmetrica-doc/doc
diff --git a/debian/symmetrica-doc.examples b/debian/symmetrica-doc.examples
index a59988d..8c0890a 100644
--- a/debian/symmetrica-doc.examples
+++ b/debian/symmetrica-doc.examples
@@ -1 +1 @@
-debian/adhoc/examples/sample.c
+debian/adhoc/examples/*
diff --git a/debian/tests/build-examples b/debian/tests/build-examples
new file mode 100755
index 0000000..7ccfd0e
--- /dev/null
+++ b/debian/tests/build-examples
@@ -0,0 +1,11 @@
+#!/bin/sh
+# autopkgtest check: build and launch program examples
+set -ue
+cd $ADTTMP
+
+cp -prd /usr/share/doc/symmetrica-doc/examples .
+cd examples
+
+make check
+
+exit 0
diff --git a/debian/tests/control b/debian/tests/control
new file mode 100644
index 0000000..6ebe834
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,2 @@
+Tests: build-examples
+Depends: symmetrica-doc, libsymmetrica2-dev, build-essential
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/symmetrica.git
More information about the debian-science-commits
mailing list