debian/0000775000000000000000000000000012253507563007200 5ustar debian/rules0000775000000000000000000000200512222631366010250 0ustar #!/usr/bin/make -f %: dh $@ --parallel override_dh_auto_build-arch: make lib override_dh_auto_build-indep: for texdocdir in AllInOne FrontTrees ReferenceManual; do \ (cd documentation/$$texdocdir; \ latex main; \ latex main; \ latex main; \ dvips main -o $$texdocdir.ps); \ done for module in A2 BKL BPG Chv ChvList ChvManager Coords DSTree DV \ DenseMtx Drand EGraph ETree FrontMtx GPart Graph I2Ohash IIheap \ IV IVL Ideq InpMtx Lock MSMD Network PatchAndGoInfo Pencil Perm \ SemiImplMtx SolveMap SubMtx SubMtxList SubMtxManager SymbFac Tree \ Utilities ZV misc MPI MT Eigen LinSol; do \ (cd $$module/doc; \ latex main; \ latex main; \ latex main; \ dvips main -o $$module.ps); \ done override_dh_auto_install-arch: install -d debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH) cp -a libspooles* debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH) for headerfile in `find . -name \*.h -print`; do \ install -D $$headerfile debian/tmp/usr/include/spooles/$$headerfile;\ done debian/changelog0000664000000000000000000000660412253507563011060 0ustar spooles (2.2-10build1) trusty; urgency=medium * No-change rebuild for libopenmpi1.3 -> libopenmpi1.6 transition. -- Logan Rosen Mon, 16 Dec 2013 00:28:12 -0500 spooles (2.2-10) unstable; urgency=low * [a4ee2ff] Use compat-level 9. * [ebc71f0] Remove obsolete DM-Upload-Allowed flag. * [171c213] Use canonical VCS-field. * [9098da5] Set CFLAGS from environment. * [81ee954] Fix format no a string error. * [e34f510] Simplify/update debian/rules. * [1114f07] Use multiarch. * [8dd8f64] Add myself to uploaders. * [987649e] Use DEP-5 for copyright file. * [fbd90fd] Use wrap-and-sort. * [99fb899] Bumped Standards-Version 3.9.4. No changes. -- Anton Gladky Tue, 01 Oct 2013 22:28:55 +0200 spooles (2.2-9) unstable; urgency=low * Rebuild against new mpi-defaults (closes: #652309). * Added build-arch target to debian/rules. * Bumped Standards-Version. * Added lintian overrides for uploader's name. -- "Adam C. Powell, IV" Thu, 15 Dec 2011 20:19:02 -0500 spooles (2.2-8) unstable; urgency=low * Moved to Debian-Science git repository. * Made sure patches apply before buliding (closes: #580517). * Fixed clean target to restore original tree. -- Adam C. Powell, IV Tue, 11 May 2010 14:16:30 -0400 spooles (2.2-7) unstable; urgency=low [ Hideki Yamane ] * debian/patches - sed -i s/usepackage{psfig}/usepackage{epsfig}/g *.patch to avoid FTBFS (Closes: #562304) [ Adam C. Powell, IV ] * Removed texlive-generic-extra from Build-Depends-Indep because it was only needed for psfig. * Changed to source format 3.0 (quilt) and updated debian/rules accordingly. * Bumped Standards-Version and added ${misc:Depends}. -- Adam C. Powell, IV Tue, 04 May 2010 09:24:45 -0400 spooles (2.2-6) unstable; urgency=low * Using mpi-default-dev instead of explicitly depending on openmpi or lam (closes: #509784). * Fixed more 64-bit issues in I2Ohash (thanks: Peter Schaefer; closes: #508382). * Adopted quilt for patch management. * Changed maintainer to pkg-scicomp-devel and added myself as first uploader. -- Adam C. Powell, IV Mon, 29 Dec 2008 04:21:04 -0500 spooles (2.2-5) unstable; urgency=low * Fixed 64-bit issue in I2Ohash (thanks: Peter Schaefer; closes: #487846). * Moved patches into their own debian subdirectory. -- Adam C. Powell, IV Sat, 28 Jun 2008 21:05:17 -0400 spooles (2.2-4) unstable; urgency=low * Explicitly declare arches for openmpi vs. lam building. -- Adam C. Powell, IV Thu, 20 Mar 2008 08:44:32 -0400 spooles (2.2-3) unstable; urgency=low * Added lam4-dev as a build option (closes: #469665). * Changed doc-base section. -- Adam C. Powell, IV Wed, 19 Mar 2008 12:31:11 -0400 spooles (2.2-2) unstable; urgency=low * Added MPI and MT directories to build (closes: #467315). * Building all */doc docs now (closes: #464722). -- Adam C. Powell, IV Mon, 25 Feb 2008 23:18:48 -0500 spooles (2.2-1) unstable; urgency=low * First Debianization of SPOOLES (closes: #462867). * Added shared libraries to original static-only distribution. * Building docs in main documentation directory, not */doc directories yet. -- Adam C. Powell, IV Sun, 27 Jan 2008 20:10:36 -0500 debian/compat0000664000000000000000000000000212222631366010371 0ustar 9 debian/libspooles2.2.install0000664000000000000000000000002112222631366013151 0ustar usr/lib/*/*.so.* debian/spooles-doc.docs0000664000000000000000000000201212222631366012267 0ustar documentation/AllInOne/AllInOne.ps documentation/FrontTrees/FrontTrees.ps documentation/ReferenceManual/ReferenceManual.ps documentation/PP99/ASHCRAFC.ps.gz A2/doc/A2.ps BKL/doc/BKL.ps BPG/doc/BPG.ps Chv/doc/Chv.ps ChvList/doc/ChvList.ps ChvManager/doc/ChvManager.ps Coords/doc/Coords.ps DSTree/doc/DSTree.ps DV/doc/DV.ps DenseMtx/doc/DenseMtx.ps Drand/doc/Drand.ps EGraph/doc/EGraph.ps ETree/doc/ETree.ps FrontMtx/doc/FrontMtx.ps GPart/doc/GPart.ps Graph/doc/Graph.ps I2Ohash/doc/I2Ohash.ps IIheap/doc/IIheap.ps IV/doc/IV.ps IVL/doc/IVL.ps Ideq/doc/Ideq.ps InpMtx/doc/InpMtx.ps Lock/doc/Lock.ps MSMD/doc/MSMD.ps Network/doc/Network.ps PatchAndGoInfo/doc/PatchAndGoInfo.ps Pencil/doc/Pencil.ps Perm/doc/Perm.ps SemiImplMtx/doc/SemiImplMtx.ps SolveMap/doc/SolveMap.ps SubMtx/doc/SubMtx.ps SubMtxList/doc/SubMtxList.ps SubMtxManager/doc/SubMtxManager.ps SymbFac/doc/SymbFac.ps Tree/doc/Tree.ps Utilities/doc/Utilities.ps ZV/doc/ZV.ps misc/doc/misc.ps MPI/doc/MPI.ps MT/doc/MT.ps Eigen/doc/Eigen.ps LinSol/doc/LinSol.ps spooles.2.2.html debian/spooles-doc.doc-base0000664000000000000000000000065612222631366013030 0ustar Document: spooles Title: SPOOLES SParse Object Oriented Linear Equations Solver Abstract: SPOOLES is a library for solving sparse real and complex linear systems of equations, written in the C language using object oriented design. Section: Science/Mathematics Format: HTML Index: /usr/share/doc/spooles-doc/spooles.2.2.html Files: /usr/share/doc/spooles-doc/*.html Format: PostScript Files: /usr/share/doc/spooles-doc/*.ps.gz debian/copyright0000664000000000000000000000057112222631366011131 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Source: http://www.netlib.org/linalg/spooles Upstream-Contact: cleve.ashcraft@boeing.com Files: * Copyright: public domain, cleve.ashcraft@boeing.com License: public domain This release is entirely within the public domain; there are no licensing restrictions, and there is no warranty of any sort. debian/source/0000775000000000000000000000000012222631366010473 5ustar debian/source/format0000664000000000000000000000001412222631366011701 0ustar 3.0 (quilt) debian/source/lintian-overrides0000664000000000000000000000024112222631366014051 0ustar # Lintian thinks uploader Adam Powell's name violates policy spooles source: uploader-address-missing "Adam C. Powell spooles source: uploader-not-full-name IV" debian/control0000664000000000000000000000352212222631366010600 0ustar Source: spooles Section: math Priority: extra Maintainer: Debian Science Maintainers Uploaders: "Adam C. Powell, IV" , Anton Gladky Standards-Version: 3.9.4 Build-Depends: debhelper (>= 9), mpi-default-dev Build-Depends-Indep: texlive-latex-base Vcs-Git: git://anonscm.debian.org/debian-science/packages/spooles.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=debian-science/packages/spooles.git Homepage: http://www.netlib.org/linalg/spooles/ Package: libspooles-dev Architecture: any Section: libdevel Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Depends: libspooles2.2 (= ${binary:Version}), mpi-default-dev, ${misc:Depends} Suggests: spooles-doc Description: SPOOLES SParse Object Oriented Linear Equations Solver development files SPOOLES is a library for solving sparse real and complex linear systems of equations, written in the C language using object oriented design. . This package contains the SPOOLES development files. Package: libspooles2.2 Architecture: any Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Section: libs Depends: ${misc:Depends}, ${shlibs:Depends} Description: SPOOLES SParse Object Oriented Linear Equations Solver shared library SPOOLES is a library for solving sparse real and complex linear systems of equations, written in the C language using object oriented design. . This package contains the SPOOLES shared library. Package: spooles-doc Architecture: all Section: doc Depends: ${misc:Depends} Suggests: libspooles2.2-dev Description: SPOOLES numerical simulation pre- and post-processor documentation SPOOLES is a library for solving sparse real and complex linear systems of equations, written in the C language using object oriented design. . This package contains the documentation for SPOOLES. debian/patches/0000775000000000000000000000000012222631366010622 5ustar debian/patches/tex-fixes.patch0000664000000000000000000001266012222631366013564 0ustar --- spooles-2.2/BPG/doc/main.tex~ 1999-01-13 16:21:03.000000000 -0500 +++ spooles-2.2/BPG/doc/main.tex 2008-02-25 19:51:36.000000000 -0500 @@ -3,6 +3,7 @@ % % \documentstyle[leqno,11pt,twoside]{report} \documentclass[leqno,10pt,twoside]{report} +\usepackage{amsmath} \textwidth 6.5 in \textheight 8.5 in --- spooles-2.2/Chv/doc/main.tex~ 1999-01-18 11:08:24.000000000 -0500 +++ spooles-2.2/Chv/doc/main.tex 2008-02-25 19:52:22.000000000 -0500 @@ -13,7 +13,7 @@ \newcommand{\bnd}{{\partial}} -\input psfig +\usepackage{epsfig} \makeindex --- spooles-2.2/ChvList/doc/main.tex~ 1999-01-18 11:08:28.000000000 -0500 +++ spooles-2.2/ChvList/doc/main.tex 2008-02-25 19:53:58.000000000 -0500 @@ -13,7 +13,7 @@ \newcommand{\bnd}{{\partial}} -\input psfig +\usepackage{epsfig} \makeindex --- spooles-2.2/ChvManager/doc/main.tex~ 1999-01-18 11:08:30.000000000 -0500 +++ spooles-2.2/ChvManager/doc/main.tex 2008-02-25 19:54:58.000000000 -0500 @@ -13,7 +13,7 @@ \newcommand{\bnd}{{\partial}} -\input psfig +\usepackage{epsfig} \makeindex --- spooles-2.2/DenseMtx/doc/main.tex~ 1998-11-11 10:45:57.000000000 -0500 +++ spooles-2.2/DenseMtx/doc/main.tex 2008-02-25 19:56:16.000000000 -0500 @@ -13,7 +13,7 @@ \newcommand{\bnd}{{\partial}} -\input psfig +\usepackage{epsfig} \makeindex --- spooles-2.2/Eigen/doc/main.tex~ 1998-12-19 13:28:39.000000000 -0500 +++ spooles-2.2/Eigen/doc/main.tex 2008-02-25 19:57:35.000000000 -0500 @@ -9,7 +9,7 @@ \parskip 3 pt plus 1 pt minus 1 pt \makeindex -\input psfig +\usepackage{epsfig} \pagestyle{myheadings} \markboth --- spooles-2.2/ETree/doc/main.tex~ 1999-01-18 11:08:49.000000000 -0500 +++ spooles-2.2/ETree/doc/main.tex 2008-02-25 19:58:11.000000000 -0500 @@ -13,7 +13,7 @@ \makeindex -\input psfig +\usepackage{epsfig} \begin{document} --- spooles-2.2/FrontMtx/doc/main.tex~ 1999-01-18 11:08:54.000000000 -0500 +++ spooles-2.2/FrontMtx/doc/main.tex 2008-02-25 19:58:48.000000000 -0500 @@ -13,7 +13,7 @@ \baselineskip 20 pt \parskip 3 pt plus 1 pt minus 1 pt -\input psfig +\usepackage{epsfig} \makeindex --- spooles-2.2/Graph/doc/main.tex~ 1999-01-18 11:08:58.000000000 -0500 +++ spooles-2.2/Graph/doc/main.tex 2008-02-25 19:59:30.000000000 -0500 @@ -13,7 +13,7 @@ \makeindex -\input psfig +\usepackage{epsfig} \begin{document} --- spooles-2.2/ILUMtx/doc/main.tex~ 1999-01-18 11:09:04.000000000 -0500 +++ spooles-2.2/ILUMtx/doc/main.tex 2008-02-25 20:00:37.000000000 -0500 @@ -11,7 +11,7 @@ \baselineskip 20 pt \parskip 3 pt plus 1 pt minus 1 pt -\input psfig +\usepackage{epsfig} \makeindex --- spooles-2.2/InpMtx/doc/main.tex~ 1999-01-18 11:09:16.000000000 -0500 +++ spooles-2.2/InpMtx/doc/main.tex 2008-02-25 20:00:51.000000000 -0500 @@ -12,7 +12,7 @@ \baselineskip 20 pt \parskip 3 pt plus 1 pt minus 1 pt -\input psfig +\usepackage{epsfig} \makeindex --- spooles-2.2/Iter/doc/main.tex~ 1999-01-18 11:09:18.000000000 -0500 +++ spooles-2.2/Iter/doc/main.tex 2008-02-25 20:01:27.000000000 -0500 @@ -14,7 +14,7 @@ \baselineskip 20 pt \parskip 3 pt plus 1 pt minus 1 pt -\input psfig +\usepackage{epsfig} \makeindex --- spooles-2.2/LinSol/doc/main.tex~ 1999-01-02 14:25:58.000000000 -0500 +++ spooles-2.2/LinSol/doc/main.tex 2008-02-25 20:05:18.000000000 -0500 @@ -9,7 +9,7 @@ \parskip 3 pt plus 1 pt minus 1 pt \makeindex -\input psfig +\usepackage{epsfig} \pagestyle{myheadings} \markboth --- spooles-2.2/Lock/doc/main.tex~ 1999-01-18 11:09:22.000000000 -0500 +++ spooles-2.2/Lock/doc/main.tex 2008-02-25 20:06:03.000000000 -0500 @@ -13,7 +13,7 @@ \makeindex -\input psfig +\usepackage{epsfig} \begin{document} --- spooles-2.2/Pencil/doc/main.tex~ 1999-01-18 11:09:38.000000000 -0500 +++ spooles-2.2/Pencil/doc/main.tex 2008-02-25 20:06:27.000000000 -0500 @@ -13,7 +13,7 @@ \newcommand{\bnd}{{\partial}} -\input psfig +\usepackage{epsfig} \makeindex --- spooles-2.2/SemiImplMtx/doc/main.tex~ 1999-01-18 11:09:43.000000000 -0500 +++ spooles-2.2/SemiImplMtx/doc/main.tex 2008-02-25 20:06:42.000000000 -0500 @@ -13,7 +13,7 @@ \baselineskip 20 pt \parskip 3 pt plus 1 pt minus 1 pt -\input psfig +\usepackage{epsfig} \makeindex --- spooles-2.2/SubMtx/doc/main.tex~ 1999-01-18 11:09:46.000000000 -0500 +++ spooles-2.2/SubMtx/doc/main.tex 2008-02-25 20:06:59.000000000 -0500 @@ -13,7 +13,7 @@ \newcommand{\bnd}{{\partial}} -\input psfig +\usepackage{epsfig} \makeindex --- spooles-2.2/SubMtxList/doc/main.tex~ 1999-01-18 11:09:48.000000000 -0500 +++ spooles-2.2/SubMtxList/doc/main.tex 2008-02-25 20:07:20.000000000 -0500 @@ -13,7 +13,7 @@ \newcommand{\bnd}{{\partial}} -\input psfig +\usepackage{epsfig} \makeindex --- spooles-2.2/SubMtxManager/doc/main.tex~ 1999-01-18 11:09:51.000000000 -0500 +++ spooles-2.2/SubMtxManager/doc/main.tex 2008-02-25 20:07:35.000000000 -0500 @@ -13,7 +13,7 @@ \newcommand{\bnd}{{\partial}} -\input psfig +\usepackage{epsfig} \makeindex --- spooles-2.2/Tree/doc/main.tex~ 1999-01-18 11:09:56.000000000 -0500 +++ spooles-2.2/Tree/doc/main.tex 2008-02-25 20:07:49.000000000 -0500 @@ -11,7 +11,7 @@ \baselineskip 20 pt \parskip 3 pt plus 1 pt minus 1 pt -\input psfig +\usepackage{epsfig} \makeindex --- spooles-2.2/misc/doc/main.tex~ 1999-01-18 11:10:06.000000000 -0500 +++ spooles-2.2/misc/doc/main.tex 2008-02-25 20:08:10.000000000 -0500 @@ -13,7 +13,7 @@ \makeindex -\input psfig +\usepackage{epsfig} \begin{document} debian/patches/fix_format_not_a_string.patch0000664000000000000000000000055612222631366016555 0ustar Description: fix format not a string error Author: Anton Gladky Last-Update: 2013-10-01 --- spooles-2.2.orig/Utilities/src/iohb.c +++ spooles-2.2/Utilities/src/iohb.c @@ -1725,7 +1725,7 @@ static void upcase(char* S) static void IOHBTerminate(char* message) { - fprintf(stderr,message); + fprintf(stderr,"%s",message); exit(1); } debian/patches/series0000664000000000000000000000024412222631366012037 0ustar makefiles.patch shared-libs.patch latex-usepackage.patch html-doc.patch tex-fixes.patch I2Ohash-64bit.patch set_CFLAGS_from_ENV.patch fix_format_not_a_string.patch debian/patches/html-doc.patch0000664000000000000000000000704712222631366013362 0ustar --- spooles-2.2/spooles.2.2.html.bak 2008-02-26 04:11:31.000000000 +0000 +++ spooles-2.2/spooles.2.2.html 2008-02-26 04:17:32.000000000 +0000 @@ -80,18 +80,9 @@

The library is available as a gzip'd, tar'd file that contains the entire source, drivers and LaTeX documentation. -There are seven Postscript files that contain documentation. -

-

    -
  1. - -install.ps.gz - ---- "SPOOLES 2.2 Installation Manual", -7 pages, -describes the library's structure and installation procedures. +There are four Postscript files that contain much of the documentation.

    - +
    1. ReferenceManual.ps.gz @@ -104,8 +95,8 @@

    2. - -fronttrees.ps.gz + +FrontTrees.ps.gz --- "Ordering Sparse Matrices and Transforming Front Trees", 20, pages, @@ -150,23 +141,69 @@

    3. - -PP99.ps.gz + +ASHCRAFC.ps.gz "SPOOLES: An Object-Oriented Sparse Matrix Library", a paper to be included in the Proceedings of the 1999 SIAM Conference on Parallel Processing for Scientific Computing, March 22-27, 1999.

      - -
    4. - -spooles.2.2.tar.gz - ---- gzip'd, tar'd file of library
    -

    +

    +In addition, the following PostScript files document the SPOOLES +modules: +

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    A2.ps.gzDV.ps.gzI2Ohash.ps.gzMSMD.ps.gzSubMtx.ps.gz
    BKL.ps.gzDenseMtx.ps.gzIIheap.ps.gzMT.ps.gzSubMtxList.ps.gz
    BPG.ps.gzDrand.ps.gzIV.ps.gzNetwork.ps.gzSubMtxManager.ps.gz
    Chv.ps.gzEGraph.ps.gzIVL.ps.gzPatchAndGoInfo.ps.gzSymbFac.ps.gz
    ChvList.ps.gzETree.ps.gzIdeq.ps.gzPencil.ps.gzTree.ps.gz
    ChvManager.ps.gzFrontMtx.ps.gzInpMtx.ps.gzPerm.ps.gzUtilities.ps.gz
    Coords.ps.gzGPart.ps.gzLock.ps.gzSemiImplMtx.ps.gzZV.ps.gz
    DSTree.ps.gzGraph.ps.gzMPI.ps.gzSolveMap.ps.gzmisc.ps.gz

    Changes since the 2.0 release. debian/patches/I2Ohash-64bit.patch0000664000000000000000000000444712222631366014037 0ustar --- spooles-2.2/I2Ohash/src/util.c~ 1998-05-30 18:45:12.000000000 -0400 +++ spooles-2.2/I2Ohash/src/util.c 2008-12-29 02:20:52.000000000 -0500 @@ -20,6 +20,7 @@ void *value ) { int loc, loc1, loc2 ; +long int loc3 ; I2OP *i2op, *j2op, *prev ; if ( hashtable == NULL ) { @@ -39,9 +40,10 @@ */ loc1 = (key1 + 1) % hashtable->nlist ; loc2 = (key2 + 1) % hashtable->nlist ; -loc = (loc1*loc2) % hashtable->nlist ; +loc3 = (long int)loc1*(long int)loc2 % hashtable->nlist ; +loc =(int) loc3; #if MYDEBUG > 0 -fprintf(stdout, "\n loc1 = %d, loc2 = %d, loc3 = %d", loc1, loc2, loc) ; +fprintf(stdout, "\n loc1 = %d, loc2 = %d, loc3 = %ld, loc = %d", loc1, loc2, loc3, loc) ; fflush(stdout) ; #endif /* @@ -139,6 +141,7 @@ void **pvalue ) { int loc, loc1, loc2, rc ; +long int loc3 ; I2OP *i2op ; /* --------------- @@ -158,9 +161,10 @@ #endif loc1 = (key1 + 1) % hashtable->nlist ; loc2 = (key2 + 1) % hashtable->nlist ; -loc = (loc1*loc2) % hashtable->nlist ; +loc3 = (long int)loc1*(long int)loc2 % hashtable->nlist ; +loc = (int) loc3 ; #if MYDEBUG > 0 -fprintf(stdout, "\n loc1 = %d, loc2 = %d, loc3 = %d", loc1, loc2, loc) ; +fprintf(stdout, "\n loc1 = %d, loc2 = %d, loc3 = %ld, loc = %d", loc1, loc2, loc3, loc) ; fflush(stdout) ; #endif /* @@ -215,6 +219,7 @@ void **pvalue ) { int loc, loc1, loc2, rc ; +long int loc3 ; I2OP *i2op, *prev ; /* --------------- @@ -229,7 +234,8 @@ } loc1 = (key1 + 1) % hashtable->nlist ; loc2 = (key2 + 1) % hashtable->nlist ; -loc = (loc1*loc2) % hashtable->nlist ; +loc3 = (long int)loc1*(long int)loc2 % hashtable->nlist ; +loc = (int) loc3 ; /* --------------------------------------------------- find the location of the first (key1,key2,*) triple @@ -294,7 +300,7 @@ count++ ; i2op = i2op->next ; } - measure += count*count ; + measure += (double)count*(double)count ; } } measure = sqrt(measure) ; --- spooles-2.2/I2Ohash/src/IO.c~ 1998-05-30 18:45:12.000000000 -0400 +++ spooles-2.2/I2Ohash/src/IO.c 2008-12-29 02:32:52.000000000 -0500 @@ -41,7 +41,7 @@ i2op->value0, i2op->value1, i2op->value2) ; i2op = i2op->next ; } - measure += count*count ; + measure += (double)count*(double)count ; nfull++ ; } } debian/patches/shared-libs.patch0000664000000000000000000000261312222631366014042 0ustar --- spooles-2.2/makeLib~ 1998-12-16 12:47:58.000000000 -0500 +++ spooles-2.2/makeLib 2008-01-27 14:31:13.000000000 -0500 @@ -64,14 +64,19 @@ $srcname = " \\\n " . $src ; print $srcname ; } +print "\n\n.SUFFIXES: .c .o .lo .a .so" ; print "\n\nOBJ_FILES = \$\{SRC:.c=.o\}" ; +print "\n\nLOBJ_FILES = \$\{SRC:.c=.lo\}" ; print "\n\n" ; print <<'EOF' ; .c.o : - $(PURIFY) $(CC) -c $(CFLAGS) $*.c -o $(OBJ)_$*.o + $(PURIFY) $(CC) -c $(CFLAGS) $*.c -o $(OBJ)_$*.o $(MPI_INCLUDE_DIR) -../../spooles.a : ${OBJ_FILES} - $(AR) $(ARFLAGS) ../../spooles.a $(OBJ)_*.o +.c.lo : + $(PURIFY) $(CC) -c $(CFLAGS) $*.c -fPIC -DPIC -o $(OBJ)_$*.lo $(MPI_INCLUDE_DIR) + +../../libspooles.a : ${OBJ_FILES} ${LOBJ_FILES} + $(AR) $(ARFLAGS) ../../libspooles.a $(OBJ)_*.o rm -f $(OBJ)_*.o - $(RANLIB) ../../spooles.a + $(RANLIB) ../../libspooles.a EOF --- spooles-2.2/makefile~ 1999-01-25 15:39:39.000000000 -0500 +++ spooles-2.2/makefile 2008-01-27 14:35:17.000000000 -0500 @@ -123,8 +123,10 @@ cd Utilities ; make lib cd ZV ; make lib cd misc ; make lib -#cd MPI ; make lib -#cd MT ; make lib + cd MPI ; make lib + cd MT ; make lib + gcc -shared */*/*.lo -Wl,-soname,libspooles.so.2.2 -o libspooles.so.2.2 -lmpi -lpthread -lm + ln -s libspooles.so.2.2 libspooles.so global : cd A2/src ; make -f makeGlobalLib debian/patches/makefiles.patch0000664000000000000000000000351212222631366013604 0ustar --- spooles-2.2/Make.inc~ 1999-01-18 16:48:55.000000000 -0500 +++ spooles-2.2/Make.inc 2008-01-27 13:17:26.000000000 -0500 @@ -12,7 +12,7 @@ # for solaris # # CC = gcc - CC = /usr/lang-4.0/bin/cc +# CC = /usr/lang-4.0/bin/cc # # for sgi # @@ -28,7 +28,7 @@ # # OPTLEVEL = # OPTLEVEL = -g -v - OPTLEVEL = -O + OPTLEVEL = -O2 # OPTLEVEL = -xO5 -v # OPTLEVEL = -O3 # OPTLEVEL = -O4 @@ -43,7 +43,7 @@ # set any load flags # # LDFLAGS = -Wl,+parallel -Wl,+tm,spp2000 # for hp exemplar - LDFLAGS = +# LDFLAGS = # #--------------------------------------------------------------------- # @@ -103,7 +103,7 @@ # MPI install library # # MPI_INSTALL_DIR = - MPI_INSTALL_DIR = /usr/local/mpich-1.0.13 + MPI_INSTALL_DIR = /usr/lib/openmpi # #--------------------------------------------------------------------- # @@ -142,6 +142,6 @@ # MPI include path # # MPI_INCLUDE_DIR = - MPI_INCLUDE_DIR = -I$(MPI_INSTALL_DIR)/include + MPI_INCLUDE_DIR = -I/usr/include/mpi # #--------------------------------------------------------------------- --- spooles-2.2/MPI/makefile~ 1998-12-17 15:47:44.000000000 +0000 +++ spooles-2.2/MPI/makefile 2008-02-26 00:10:57.000000000 +0000 @@ -2,7 +2,7 @@ cd drivers ; make drivers lib : - cd src ; make spoolesMPI.a + cd src ; make makeLib clean : cd src ; make clean --- spooles-2.2/MPI/src/makefile~ 1998-12-16 21:54:41.000000000 +0000 +++ spooles-2.2/MPI/src/makefile 2008-02-26 00:08:16.000000000 +0000 @@ -42,3 +42,8 @@ clean : - rm -f *.a *.o + +makeLib : + perl ../../makeLib > makeG + make -f makeG + rm -f makeG --- spooles-2.2/MT/makefile~ 1998-12-17 15:47:48.000000000 +0000 +++ spooles-2.2/MT/makefile 2008-02-26 00:12:43.000000000 +0000 @@ -2,7 +2,7 @@ cd drivers ; make drivers lib : - cd src ; make spoolesMT.a + cd src ; make makeLib clean : cd src ; make clean debian/patches/set_CFLAGS_from_ENV.patch0000664000000000000000000000105512222631366015211 0ustar Description: set CFLAGS from environment Author: Anton Gladky Last-Update: 2013-10-01 --- spooles-2.2.orig/Make.inc +++ spooles-2.2/Make.inc @@ -28,14 +28,14 @@ # # OPTLEVEL = # OPTLEVEL = -g -v - OPTLEVEL = -O2 +# OPTLEVEL = -O2 # OPTLEVEL = -xO5 -v # OPTLEVEL = -O3 # OPTLEVEL = -O4 # CFLAGS = -Wall -g # CFLAGS = -Wall -pg # CFLAGS = $(OPTLEVEL) -D_POSIX_C_SOURCE=199506L - CFLAGS = $(OPTLEVEL) + CFLAGS = $(shell dpkg-buildflags --get CFLAGS) # CFLAGS = -Wall $(OPTLEVEL) # #---------------------------------------- debian/patches/latex-usepackage.patch0000664000000000000000000000200512222631366015063 0ustar --- spooles-2.2/documentation/AllInOne/main.tex~ 1999-01-13 20:33:25.000000000 +0000 +++ spooles-2.2/documentation/AllInOne/main.tex 2008-01-27 21:12:09.000000000 +0000 @@ -12,7 +12,7 @@ \parskip 3 pt plus 1 pt minus 1 pt \makeindex -\input psfig +\usepackage{epsfig} \newcommand{\bfi}{{\bf i}} \newcommand{\bfj}{{\bf j}} --- spooles-2.2/documentation/FrontTrees/main.tex~ 1998-12-05 21:28:54.000000000 +0000 +++ spooles-2.2/documentation/FrontTrees/main.tex 2008-01-27 21:12:56.000000000 +0000 @@ -12,7 +12,7 @@ \parskip 3 pt plus 1 pt minus 1 pt \makeindex -\input psfig +\usepackage{epsfig} \newcommand{\bfi}{{\bf i}} \newcommand{\bfj}{{\bf j}} --- spooles-2.2/documentation/ReferenceManual/main.tex~ 1999-01-16 18:05:40.000000000 +0000 +++ spooles-2.2/documentation/ReferenceManual/main.tex 2008-01-27 21:13:19.000000000 +0000 @@ -14,7 +14,7 @@ \parskip 3 pt plus 1 pt minus 1 pt \makeindex -\input psfig +\usepackage{epsfig} \newcommand{\bfi}{{\bf i}} \newcommand{\bfj}{{\bf j}} debian/libspooles-dev.install0000664000000000000000000000005312222631366013510 0ustar usr/lib/*/*.so usr/lib/*/*.a usr/include/*