--- symmetrica-2.0.orig/debian/rules +++ symmetrica-2.0/debian/rules @@ -0,0 +1,7 @@ +#!/usr/bin/make -f + +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/class/makefile.mk +include /usr/share/cdbs/1/rules/patchsys-quilt.mk + +DEB_MAKE_INSTALL_TARGET=install DESTDIR=$(DEB_DESTDIR) --- symmetrica-2.0.orig/debian/libsymmetrica-dev.install +++ symmetrica-2.0/debian/libsymmetrica-dev.install @@ -0,0 +1,3 @@ +debian/tmp/usr/lib/libsymmetrica.a usr/lib +debian/tmp/usr/lib/libsymmetrica.so usr/lib +debian/tmp/usr/include usr --- symmetrica-2.0.orig/debian/libsymmetrica-2.0.install +++ symmetrica-2.0/debian/libsymmetrica-2.0.install @@ -0,0 +1 @@ +debian/tmp/usr/lib/libsymmetrica-*.so usr/lib --- symmetrica-2.0.orig/debian/changelog +++ symmetrica-2.0/debian/changelog @@ -0,0 +1,5 @@ +symmetrica (2.0-1) unstable; urgency=low + + * Initial release (Closes: #480083). + + -- Tim Abbott Wed, 25 Jun 2008 16:17:23 -0400 --- symmetrica-2.0.orig/debian/control.in +++ symmetrica-2.0/debian/control.in @@ -0,0 +1,33 @@ +Source: symmetrica +Section: math +Priority: optional +Maintainer: Tim Abbott +Build-Depends: @cdbs@ +Homepage: http://www.neu.uni-bayreuth.de/de/Uni_Bayreuth/Fakultaeten/1_Mathematik_Physik_und_Informatik/Fachgruppe_Informatik/prof_diskrete_algorithmen/en/research/SYMMETRICA/index.html +Standards-Version: 3.8.0 + +Package: libsymmetrica-dev +Architecture: any +Section: libdevel +Depends: ${shlibs:Depends}, ${misc:Depends}, libsymmetrica-2.0 +Description: A library for combinatorics, development files + 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 contains development files for symmetrica. + +Package: libsymmetrica-2.0 +Architecture: any +Section: libs +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: A library for combinatorics, shared library + 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 contains the shared library for symmetrica. --- symmetrica-2.0.orig/debian/copyright +++ symmetrica-2.0/debian/copyright @@ -0,0 +1,26 @@ +This package was debianized by Tim Abbott in 2008. + +It was downloaded from http://www.neu.uni-bayreuth.de/de/Uni_Bayreuth/Fakultaeten/1_Mathematik_Physik_und_Informatik/Fachgruppe_Informatik/prof_diskrete_algorithmen/en/research/SYMMETRICA/index.html + +Upstream Author: Lehrstuhl Mathematik II. Contact: + +Copyright: (c) 1987-2008 , symmetrica (at) symmetrica.de + +License: + +Permission to use, copy, modify, and/or distribute this software for any +purpose with or without fee is hereby granted, provided that the above +copyright notice and this permission notice appear in all copies. + +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHORS DISCLAIM ALL WARRANTIES +WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR +ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES +WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN +ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF +OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + +See http://www.neu.uni-bayreuth.de/de/Uni_Bayreuth/Fakultaeten/1_Mathematik_Physik_und_Informatik/Fachgruppe_Informatik/prof_diskrete_algorithmen/en/research/SYMMETRICA/copyright_engl.html + +The Debian packaging is (C) 2008, Tim Abbott and is +licensed under the GPL, see `/usr/share/common-licenses/GPL'. --- symmetrica-2.0.orig/debian/compat +++ symmetrica-2.0/debian/compat @@ -0,0 +1 @@ +5 --- symmetrica-2.0.orig/debian/control +++ symmetrica-2.0/debian/control @@ -0,0 +1,33 @@ +Source: symmetrica +Section: math +Priority: optional +Maintainer: Tim Abbott +Build-Depends: cdbs (>= 0.4.23-1.1), debhelper (>= 5), quilt, patchutils (>= 0.2.25), cdbs (>= 0.4.27) +Homepage: http://www.neu.uni-bayreuth.de/de/Uni_Bayreuth/Fakultaeten/1_Mathematik_Physik_und_Informatik/Fachgruppe_Informatik/prof_diskrete_algorithmen/en/research/SYMMETRICA/index.html +Standards-Version: 3.8.0 + +Package: libsymmetrica-dev +Architecture: any +Section: libdevel +Depends: ${shlibs:Depends}, ${misc:Depends}, libsymmetrica-2.0 +Description: A library for combinatorics, development files + 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 contains development files for symmetrica. + +Package: libsymmetrica-2.0 +Architecture: any +Section: libs +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: A library for combinatorics, shared library + 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 contains the shared library for symmetrica. --- symmetrica-2.0.orig/debian/patches/series +++ symmetrica-2.0/debian/patches/series @@ -0,0 +1,3 @@ +shared-library.patch +macros-bugfix.patch +banner.patch --- symmetrica-2.0.orig/debian/patches/library.patch +++ symmetrica-2.0/debian/patches/library.patch @@ -0,0 +1,12 @@ +Index: src/makefile +=================================================================== +--- src.orig/makefile 2008-02-09 21:14:17.000000000 -0500 ++++ src/makefile 2008-04-02 20:20:21.000000000 -0400 +@@ -1,4 +1,6 @@ + .c.o: +- cc -c -O1 -DFAST -DALLTRUE $< ++ cc -c $(CFLAGS) -DFAST -DALLTRUE $< + test: test.c bar.o bi.o boe.o bruch.o classical.o de.o di.o ff.o galois.o ga.o gra.o hash.o hiccup.o io.o ko.o list.o lo.o ma.o mee.o mem.o mes.o mhe.o mhh.o mhm.o mhp.o mhs.o mmm.o mms.o mod_dg_sbd.o mo.o mpp.o mps.o mse.o msh.o msm.o mss.o muir.o na.o nb.o nc.o nu.o part.o pee.o peh.o pem.o perm.o pes.o phe.o phh.o phm.o phs.o plet.o pme.o pmh.o poly.o ppe.o pph.o ppm.o ppp.o pps.o pr.o pse.o psh.o psm.o pss.o rest.o rh.o sab.o sb.o sc.o sr.o ta.o teh.o tem.o tep.o tes.o the.o thm.o thp.o ths.o tme.o tmh.o tmp.o tms.o tpe.o tph.o tpm.o tps.o tse.o tsh.o tsm.o tsp.o vc.o zo.o zykelind.o zyk.o + gcc -DALLTRUE -DFAST test.c bar.o bi.o boe.o bruch.o classical.o de.o di.o ff.o galois.o ga.o gra.o hash.o hiccup.o io.o ko.o list.o lo.o ma.o mee.o mem.o mes.o mhe.o mhh.o mhm.o mhp.o mhs.o mmm.o mms.o mod_dg_sbd.o mo.o mpp.o mps.o mse.o msh.o msm.o mss.o muir.o na.o nb.o nc.o nu.o part.o pee.o peh.o pem.o perm.o pes.o phe.o phh.o phm.o phs.o plet.o pme.o pmh.o poly.o ppe.o pph.o ppm.o ppp.o pps.o pr.o pse.o psh.o psm.o pss.o rest.o rh.o sab.o sb.o sc.o sr.o ta.o teh.o tem.o tep.o tes.o the.o thm.o thp.o ths.o tme.o tmh.o tmp.o tms.o tpe.o tph.o tpm.o tps.o tse.o tsh.o tsm.o tsp.o vc.o zo.o zykelind.o zyk.o -lm -o test ++libsymmetrica.a: test ++ ar crs libsymmetrica.a *.o --- symmetrica-2.0.orig/debian/patches/macros-bugfix.patch +++ symmetrica-2.0/debian/patches/macros-bugfix.patch @@ -0,0 +1,43 @@ +Index: src/macro.h +=================================================================== +--- src.orig/macro.h 2008-02-09 18:14:05.000000000 -0800 ++++ src/macro.h 2008-02-09 18:14:10.000000000 -0800 +@@ -14,7 +14,6 @@ + #endif + + +- + #define S_O_S(a) (((OP)(a))->ob_self) + #define S_O_K(a) (((OP)(a))->ob_kind) + #define C_O_K(a,b) ((a)->ob_kind = (OBJECTKIND)(b)) +@@ -171,7 +170,7 @@ + + + +-extern INT partition_speichersize,partition_speicherindex,mem_counter_part; ++extern long partition_speichersize,partition_speicherindex,mem_counter_part; + extern struct partition **partition_speicher; + + #define FREEPARTITION(d)\ +@@ -266,7 +265,7 @@ + C_MO_K(c,b); \ + } while(0) + +-extern INT monom_speicherindex,mem_counter_monom,monom_speichersize; ++extern long monom_speicherindex,mem_counter_monom,monom_speichersize; + extern struct monom **monom_speicher; + + #define FREEMONOM(v) \ +@@ -554,10 +553,10 @@ + + /* for longint */ + +-extern INT loc_index, loc_size,loc_counter; ++extern long loc_index, loc_size,loc_counter; + extern struct loc **loc_speicher; + +-extern INT longint_speicherindex,mem_counter_loc,longint_speichersize; ++extern long longint_speicherindex,mem_counter_loc,longint_speichersize; + extern struct longint **longint_speicher; + + --- symmetrica-2.0.orig/debian/patches/banner.patch +++ symmetrica-2.0/debian/patches/banner.patch @@ -0,0 +1,13 @@ +Index: src/de.c +=================================================================== +--- src.orig/de.c 2008-05-25 20:54:40.000000000 -0400 ++++ src/de.c 2008-05-25 20:54:42.000000000 -0400 +@@ -24,7 +24,7 @@ + OP cons_negeins;/* global INTEGER variable -1 */ + OP cons_null; /* global INTEGER variable 0 */ + FILE *texout; /* global variable for texoutput */ +-INT no_banner = FALSE; /* AK 281293 */ ++INT no_banner = TRUE; /* AK 281293 */ + INT no_mem_check=TRUE; /* AK 100893 */ + INT english_tableau=FALSE; /* AK 290995 */ + --- symmetrica-2.0.orig/debian/patches/shared-library.patch +++ symmetrica-2.0/debian/patches/shared-library.patch @@ -0,0 +1,47 @@ +Index: symmetrica-2.0/makefile +=================================================================== +--- symmetrica-2.0.orig/makefile 2008-06-23 12:14:02.000000000 -0400 ++++ symmetrica-2.0/makefile 2008-06-23 12:13:13.000000000 -0400 +@@ -1,4 +1,39 @@ ++OBJS=bar.o bi.o boe.o bruch.o classical.o de.o di.o ff.o galois.o ga.o gra.o hash.o hiccup.o io.o ko.o list.o lo.o ma.o mee.o mem.o mes.o mhe.o mhh.o mhm.o mhp.o mhs.o mmm.o mms.o mod_dg_sbd.o mo.o mpp.o mps.o mse.o msh.o msm.o mss.o muir.o na.o nb.o nc.o nu.o part.o pee.o peh.o pem.o perm.o pes.o phe.o phh.o phm.o phs.o plet.o pme.o pmh.o poly.o ppe.o pph.o ppm.o ppp.o pps.o pr.o pse.o psh.o psm.o pss.o rest.o rh.o sab.o sb.o sc.o sr.o ta.o teh.o tem.o tep.o tes.o the.o thm.o thp.o ths.o tme.o tmh.o tmp.o tms.o tpe.o tph.o tpm.o tps.o tse.o tsh.o tsm.o tsp.o vc.o zo.o zykelind.o zyk.o ++LIBS=-lm ++CC=gcc ++CFLAGS=-O1 ++VERSION=2.0 ++DIRNAME=symmetrica-$(VERSION) ++TARGETS=libsymmetrica.a libsymmetrica.so ++PREFIX=/usr ++ ++all: $(TARGETS) ++ + .c.o: +- cc -c -O2 -DFAST -DALLTRUE $< +-test: test.c bar.o bi.o boe.o bruch.o classical.o de.o di.o ff.o galois.o ga.o gra.o hash.o hiccup.o io.o ko.o list.o lo.o ma.o mee.o mem.o mes.o mhe.o mhh.o mhm.o mhp.o mhs.o mmm.o mms.o mod_dg_sbd.o mo.o mpp.o mps.o mse.o msh.o msm.o mss.o muir.o na.o nb.o nc.o nu.o part.o pee.o peh.o pem.o perm.o pes.o phe.o phh.o phm.o phs.o plet.o pme.o pmh.o poly.o ppe.o pph.o ppm.o ppp.o pps.o pr.o pse.o psh.o psm.o pss.o rest.o rh.o sab.o sb.o sc.o sr.o ta.o teh.o tem.o tep.o tes.o the.o thm.o thp.o ths.o tme.o tmh.o tmp.o tms.o tpe.o tph.o tpm.o tps.o tse.o tsh.o tsm.o tsp.o vc.o zo.o zykelind.o zyk.o +- gcc -DALLTRUE -DFAST test.c bar.o bi.o boe.o bruch.o classical.o de.o di.o ff.o galois.o ga.o gra.o hash.o hiccup.o io.o ko.o list.o lo.o ma.o mee.o mem.o mes.o mhe.o mhh.o mhm.o mhp.o mhs.o mmm.o mms.o mod_dg_sbd.o mo.o mpp.o mps.o mse.o msh.o msm.o mss.o muir.o na.o nb.o nc.o nu.o part.o pee.o peh.o pem.o perm.o pes.o phe.o phh.o phm.o phs.o plet.o pme.o pmh.o poly.o ppe.o pph.o ppm.o ppp.o pps.o pr.o pse.o psh.o psm.o pss.o rest.o rh.o sab.o sb.o sc.o sr.o ta.o teh.o tem.o tep.o tes.o the.o thm.o thp.o ths.o tme.o tmh.o tmp.o tms.o tpe.o tph.o tpm.o tps.o tse.o tsh.o tsm.o tsp.o vc.o zo.o zykelind.o zyk.o -o test -lm ++ $(CC) -c $(CFLAGS) $(FPICFLAG) -DFAST -DALLTRUE $< ++ ++test: test.c $(OBJS) ++ $(CC) -DALLTRUE -DFAST test.c $(OBJS) $(LIBS) -o test ++ ++libsymmetrica.a: $(OBJS) ++ ar crs $@ $(OBJS) ++ ranlib $@ ++ ++shlib: $(OBJS) ++shlib: FPICFLAG=-fPIC ++ ++libsymmetrica.so: ++ -rm -f $(OBJS) ++ make shlib ++ $(CC) $(CFLAGS) -fPIC -shared -Wl,-soname,lib$(DIRNAME).so $(LIBS) -o lib$(DIRNAME).so $(OBJS) ++ ln -s lib$(DIRNAME).so $@ ++ ++install: all ++ mkdir -p $(DESTDIR)$(PREFIX)/lib ++ install -p lib$(DIRNAME).so libsymmetrica.a $(DESTDIR)$(PREFIX)/lib ++ ln -s lib$(DIRNAME).so $(DESTDIR)$(PREFIX)/lib/libsymmetrica.so ++ mkdir -p $(DESTDIR)$(PREFIX)/include/symmetrica ++ install -p def.h macro.h $(DESTDIR)$(PREFIX)/include/symmetrica/ ++ ++clean: ++ rm -f $(OBJS) $(TARGETS) test libsymmetrica-*.so