r38675 - in /packages/xmds: ./ branches/ branches/svn-snapshot/ branches/svn-snapshot/debian/ tags/ tags/1.5.3-2/ tags/1.5.3-2/debian/ tags/1.5.3-2/debian/patches/ tags/1.5.3-3/ tags/1.5.3-3/debian/ tags/1.5.3-3/debian/patches/ tags/1.5.3-4/ tags/1.5.3-4/debian/ tags/1.5.3-4/debian/patches/ tags/1.5.3-5/ tags/1.5.3-5/debian/ tags/1.5.3-5/debian/patches/ tags/1.5.3-6/ tags/1.5.3-6/debian/ tags/1.5.3-6/debian/patches/ tags/1.5.3-7/ tags/1.5.3-7/debian/ tags/1.5.3-7/debian/patches/ tags/1.5.3-8/ tags/1.5.3-8/debian/ tags/1.5.3-8/debian/patches/ tags/1.5.3-9/ tags/1.5.3-9/debian/ tags/1.5.3-9/debian/patches/ tags/1.6-1/ tags/1.6-1/debian/ tags/1.6-1/debian/patches/ tags/1.6-2/ tags/1.6-2/debian/ tags/1.6-2/debian/patches/ tags/1.6.1-1/ tags/1.6.1-1/debian/ tags/1.6.1-1/debian/patches/ tags/1.6.2-1/ tags/1.6.2-1/debian/ tags/1.6.2-1/debian/patches/ tags/1.6.3-1/ tags/1.6.3-1/debian/ tags/1.6.3-1/debian/patches/ tags/1.6.3-2/ tags/1.6.3-2/debian/ tags/1.6.3-2/debian/patches/ tags/1.6.3-3/ tags/1.6.3-3/debian/ tags/1.6.3-3/debian/patches/ tags/1.6.3~svn.1569-1/ tags/1.6.3~svn.1569-1/debian/ tags/1.6.4-1/ tags/1.6.4-1/debian/ tags/1.6.4-1/debian/patches/ tags/1.6.5-1/ tags/1.6.5-1/debian/ tags/1.6.5-2/ tags/1.6.5-2/patches/ tags/1.6.6-1/ tags/1.6.6-2/ tags/1.6.6-3/ tags/1.6.6-3/debian/ trunk/ trunk/debian/ trunk/debian/patches/

sylvestre at users.alioth.debian.org sylvestre at users.alioth.debian.org
Wed Aug 10 07:51:32 UTC 2011


Author: sylvestre
Date: Wed Aug 10 07:51:31 2011
New Revision: 38675

URL: http://svn.debian.org/wsvn/debian-science/?sc=1&rev=38675
Log:
Import from pkg-scicomp

Added:
    packages/xmds/
    packages/xmds/branches/
    packages/xmds/branches/svn-snapshot/
    packages/xmds/branches/svn-snapshot/debian/
    packages/xmds/branches/svn-snapshot/debian/Makefile-examples
    packages/xmds/branches/svn-snapshot/debian/README.Debian
    packages/xmds/branches/svn-snapshot/debian/changelog
    packages/xmds/branches/svn-snapshot/debian/compat
    packages/xmds/branches/svn-snapshot/debian/control
    packages/xmds/branches/svn-snapshot/debian/copyright
    packages/xmds/branches/svn-snapshot/debian/docs
    packages/xmds/branches/svn-snapshot/debian/examples
    packages/xmds/branches/svn-snapshot/debian/rules   (with props)
    packages/xmds/branches/svn-snapshot/debian/watch
    packages/xmds/tags/
    packages/xmds/tags/1.5.3-2/
    packages/xmds/tags/1.5.3-2/debian/
    packages/xmds/tags/1.5.3-2/debian/Makefile-examples
    packages/xmds/tags/1.5.3-2/debian/README.Debian
    packages/xmds/tags/1.5.3-2/debian/changelog
    packages/xmds/tags/1.5.3-2/debian/compat
    packages/xmds/tags/1.5.3-2/debian/control
    packages/xmds/tags/1.5.3-2/debian/copyright
    packages/xmds/tags/1.5.3-2/debian/docs
    packages/xmds/tags/1.5.3-2/debian/examples
    packages/xmds/tags/1.5.3-2/debian/patches/
    packages/xmds/tags/1.5.3-2/debian/patches/50-add-lorenz-data.patch
    packages/xmds/tags/1.5.3-2/debian/patches/50-either-fftw-or-fftw3.patch
    packages/xmds/tags/1.5.3-2/debian/patches/50-make-examples-work.patch
    packages/xmds/tags/1.5.3-2/debian/patches/50-preserve-prefix.patch
    packages/xmds/tags/1.5.3-2/debian/rules   (with props)
    packages/xmds/tags/1.5.3-2/debian/watch
    packages/xmds/tags/1.5.3-3/
    packages/xmds/tags/1.5.3-3/debian/
    packages/xmds/tags/1.5.3-3/debian/Makefile-examples
    packages/xmds/tags/1.5.3-3/debian/README.Debian
    packages/xmds/tags/1.5.3-3/debian/changelog
    packages/xmds/tags/1.5.3-3/debian/compat
    packages/xmds/tags/1.5.3-3/debian/control
    packages/xmds/tags/1.5.3-3/debian/copyright
    packages/xmds/tags/1.5.3-3/debian/docs
    packages/xmds/tags/1.5.3-3/debian/examples
    packages/xmds/tags/1.5.3-3/debian/patches/
    packages/xmds/tags/1.5.3-3/debian/patches/50-add-lorenz-data.patch
    packages/xmds/tags/1.5.3-3/debian/patches/50-either-fftw-or-fftw3.patch
    packages/xmds/tags/1.5.3-3/debian/patches/50-make-examples-work.patch
    packages/xmds/tags/1.5.3-3/debian/patches/50-preserve-prefix.patch
    packages/xmds/tags/1.5.3-3/debian/rules   (with props)
    packages/xmds/tags/1.5.3-3/debian/watch
    packages/xmds/tags/1.5.3-4/
    packages/xmds/tags/1.5.3-4/debian/
    packages/xmds/tags/1.5.3-4/debian/Makefile-examples
    packages/xmds/tags/1.5.3-4/debian/README.Debian
    packages/xmds/tags/1.5.3-4/debian/changelog
    packages/xmds/tags/1.5.3-4/debian/compat
    packages/xmds/tags/1.5.3-4/debian/control
    packages/xmds/tags/1.5.3-4/debian/copyright
    packages/xmds/tags/1.5.3-4/debian/docs
    packages/xmds/tags/1.5.3-4/debian/examples
    packages/xmds/tags/1.5.3-4/debian/patches/
    packages/xmds/tags/1.5.3-4/debian/patches/50-add-lorenz-data.patch
    packages/xmds/tags/1.5.3-4/debian/patches/50-either-fftw-or-fftw3.patch
    packages/xmds/tags/1.5.3-4/debian/patches/50-make-examples-work.patch
    packages/xmds/tags/1.5.3-4/debian/patches/50-preserve-prefix.patch
    packages/xmds/tags/1.5.3-4/debian/rules   (with props)
    packages/xmds/tags/1.5.3-4/debian/watch
    packages/xmds/tags/1.5.3-5/
    packages/xmds/tags/1.5.3-5/debian/
    packages/xmds/tags/1.5.3-5/debian/Makefile-examples
    packages/xmds/tags/1.5.3-5/debian/README.Debian
    packages/xmds/tags/1.5.3-5/debian/changelog
    packages/xmds/tags/1.5.3-5/debian/compat
    packages/xmds/tags/1.5.3-5/debian/control
    packages/xmds/tags/1.5.3-5/debian/copyright
    packages/xmds/tags/1.5.3-5/debian/docs
    packages/xmds/tags/1.5.3-5/debian/examples
    packages/xmds/tags/1.5.3-5/debian/patches/
    packages/xmds/tags/1.5.3-5/debian/patches/50-add-lorenz-data.patch
    packages/xmds/tags/1.5.3-5/debian/patches/50-make-examples-work.patch
    packages/xmds/tags/1.5.3-5/debian/patches/50-preserve-prefix.patch
    packages/xmds/tags/1.5.3-5/debian/rules   (with props)
    packages/xmds/tags/1.5.3-5/debian/watch
    packages/xmds/tags/1.5.3-6/
    packages/xmds/tags/1.5.3-6/debian/
    packages/xmds/tags/1.5.3-6/debian/Makefile-examples
    packages/xmds/tags/1.5.3-6/debian/README.Debian
    packages/xmds/tags/1.5.3-6/debian/changelog
    packages/xmds/tags/1.5.3-6/debian/compat
    packages/xmds/tags/1.5.3-6/debian/control
    packages/xmds/tags/1.5.3-6/debian/copyright
    packages/xmds/tags/1.5.3-6/debian/docs
    packages/xmds/tags/1.5.3-6/debian/examples
    packages/xmds/tags/1.5.3-6/debian/patches/
    packages/xmds/tags/1.5.3-6/debian/patches/50-add-lorenz-data.patch
    packages/xmds/tags/1.5.3-6/debian/patches/50-make-examples-work.patch
    packages/xmds/tags/1.5.3-6/debian/patches/50-preserve-prefix.patch
    packages/xmds/tags/1.5.3-6/debian/rules   (with props)
    packages/xmds/tags/1.5.3-6/debian/watch
    packages/xmds/tags/1.5.3-7/
    packages/xmds/tags/1.5.3-7/debian/
    packages/xmds/tags/1.5.3-7/debian/Makefile-examples
    packages/xmds/tags/1.5.3-7/debian/README.Debian
    packages/xmds/tags/1.5.3-7/debian/changelog
    packages/xmds/tags/1.5.3-7/debian/compat
    packages/xmds/tags/1.5.3-7/debian/control
    packages/xmds/tags/1.5.3-7/debian/copyright
    packages/xmds/tags/1.5.3-7/debian/docs
    packages/xmds/tags/1.5.3-7/debian/examples
    packages/xmds/tags/1.5.3-7/debian/patches/
    packages/xmds/tags/1.5.3-7/debian/patches/50-add-lorenz-data.patch
    packages/xmds/tags/1.5.3-7/debian/patches/50-make-examples-work.patch
    packages/xmds/tags/1.5.3-7/debian/patches/50-preserve-prefix.patch
    packages/xmds/tags/1.5.3-7/debian/rules   (with props)
    packages/xmds/tags/1.5.3-7/debian/watch
    packages/xmds/tags/1.5.3-8/
    packages/xmds/tags/1.5.3-8/debian/
    packages/xmds/tags/1.5.3-8/debian/Makefile-examples
    packages/xmds/tags/1.5.3-8/debian/README.Debian
    packages/xmds/tags/1.5.3-8/debian/changelog
    packages/xmds/tags/1.5.3-8/debian/compat
    packages/xmds/tags/1.5.3-8/debian/control
    packages/xmds/tags/1.5.3-8/debian/copyright
    packages/xmds/tags/1.5.3-8/debian/docs
    packages/xmds/tags/1.5.3-8/debian/examples
    packages/xmds/tags/1.5.3-8/debian/patches/
    packages/xmds/tags/1.5.3-8/debian/patches/50-add-lorenz-data.patch
    packages/xmds/tags/1.5.3-8/debian/patches/50-make-examples-work.patch
    packages/xmds/tags/1.5.3-8/debian/patches/50-preserve-prefix.patch
    packages/xmds/tags/1.5.3-8/debian/rules   (with props)
    packages/xmds/tags/1.5.3-8/debian/watch
    packages/xmds/tags/1.5.3-9/
    packages/xmds/tags/1.5.3-9/debian/
    packages/xmds/tags/1.5.3-9/debian/Makefile-examples
    packages/xmds/tags/1.5.3-9/debian/README.Debian
    packages/xmds/tags/1.5.3-9/debian/changelog
    packages/xmds/tags/1.5.3-9/debian/compat
    packages/xmds/tags/1.5.3-9/debian/control
    packages/xmds/tags/1.5.3-9/debian/copyright
    packages/xmds/tags/1.5.3-9/debian/docs
    packages/xmds/tags/1.5.3-9/debian/examples
    packages/xmds/tags/1.5.3-9/debian/patches/
    packages/xmds/tags/1.5.3-9/debian/patches/50-add-lorenz-data.patch
    packages/xmds/tags/1.5.3-9/debian/patches/50-make-examples-work.patch
    packages/xmds/tags/1.5.3-9/debian/patches/50-preserve-prefix.patch
    packages/xmds/tags/1.5.3-9/debian/patches/gcc-4.3-include-cstdlib.patch
    packages/xmds/tags/1.5.3-9/debian/rules   (with props)
    packages/xmds/tags/1.5.3-9/debian/watch
    packages/xmds/tags/1.6-1/
    packages/xmds/tags/1.6-1/debian/
    packages/xmds/tags/1.6-1/debian/Makefile-examples
    packages/xmds/tags/1.6-1/debian/README.Debian
    packages/xmds/tags/1.6-1/debian/changelog
    packages/xmds/tags/1.6-1/debian/compat
    packages/xmds/tags/1.6-1/debian/control
    packages/xmds/tags/1.6-1/debian/copyright
    packages/xmds/tags/1.6-1/debian/docs
    packages/xmds/tags/1.6-1/debian/examples
    packages/xmds/tags/1.6-1/debian/patches/
    packages/xmds/tags/1.6-1/debian/patches/gcc-4.3-include-cstdlib.patch
    packages/xmds/tags/1.6-1/debian/rules   (with props)
    packages/xmds/tags/1.6-1/debian/watch
    packages/xmds/tags/1.6-2/
    packages/xmds/tags/1.6-2/debian/
    packages/xmds/tags/1.6-2/debian/Makefile-examples
    packages/xmds/tags/1.6-2/debian/README.Debian
    packages/xmds/tags/1.6-2/debian/changelog
    packages/xmds/tags/1.6-2/debian/compat
    packages/xmds/tags/1.6-2/debian/control
    packages/xmds/tags/1.6-2/debian/copyright
    packages/xmds/tags/1.6-2/debian/docs
    packages/xmds/tags/1.6-2/debian/examples
    packages/xmds/tags/1.6-2/debian/patches/
    packages/xmds/tags/1.6-2/debian/patches/gcc-4.3-include-cstdlib.patch
    packages/xmds/tags/1.6-2/debian/rules   (with props)
    packages/xmds/tags/1.6-2/debian/watch
    packages/xmds/tags/1.6.1-1/
    packages/xmds/tags/1.6.1-1/debian/
    packages/xmds/tags/1.6.1-1/debian/Makefile-examples
    packages/xmds/tags/1.6.1-1/debian/README.Debian
    packages/xmds/tags/1.6.1-1/debian/changelog
    packages/xmds/tags/1.6.1-1/debian/compat
    packages/xmds/tags/1.6.1-1/debian/control
    packages/xmds/tags/1.6.1-1/debian/copyright
    packages/xmds/tags/1.6.1-1/debian/docs
    packages/xmds/tags/1.6.1-1/debian/examples
    packages/xmds/tags/1.6.1-1/debian/patches/
    packages/xmds/tags/1.6.1-1/debian/patches/gcc-4.3-include-cstdlib.patch
    packages/xmds/tags/1.6.1-1/debian/patches/loadxsil-varnames-cell.patch
    packages/xmds/tags/1.6.1-1/debian/rules   (with props)
    packages/xmds/tags/1.6.1-1/debian/watch
    packages/xmds/tags/1.6.2-1/
    packages/xmds/tags/1.6.2-1/debian/
    packages/xmds/tags/1.6.2-1/debian/Makefile-examples
    packages/xmds/tags/1.6.2-1/debian/README.Debian
    packages/xmds/tags/1.6.2-1/debian/changelog
    packages/xmds/tags/1.6.2-1/debian/compat
    packages/xmds/tags/1.6.2-1/debian/control
    packages/xmds/tags/1.6.2-1/debian/copyright
    packages/xmds/tags/1.6.2-1/debian/docs
    packages/xmds/tags/1.6.2-1/debian/examples
    packages/xmds/tags/1.6.2-1/debian/patches/
    packages/xmds/tags/1.6.2-1/debian/patches/gcc-4.3-includes.patch
    packages/xmds/tags/1.6.2-1/debian/patches/loadxsil-varnames-cell.patch
    packages/xmds/tags/1.6.2-1/debian/rules   (with props)
    packages/xmds/tags/1.6.2-1/debian/watch
    packages/xmds/tags/1.6.3-1/
    packages/xmds/tags/1.6.3-1/debian/
    packages/xmds/tags/1.6.3-1/debian/Makefile-examples
    packages/xmds/tags/1.6.3-1/debian/README.Debian
    packages/xmds/tags/1.6.3-1/debian/changelog
    packages/xmds/tags/1.6.3-1/debian/compat
    packages/xmds/tags/1.6.3-1/debian/control
    packages/xmds/tags/1.6.3-1/debian/copyright
    packages/xmds/tags/1.6.3-1/debian/docs
    packages/xmds/tags/1.6.3-1/debian/examples
    packages/xmds/tags/1.6.3-1/debian/patches/
    packages/xmds/tags/1.6.3-1/debian/patches/loadxsil-varnames-cell.patch
    packages/xmds/tags/1.6.3-1/debian/rules   (with props)
    packages/xmds/tags/1.6.3-1/debian/watch
    packages/xmds/tags/1.6.3-2/
    packages/xmds/tags/1.6.3-2/debian/
    packages/xmds/tags/1.6.3-2/debian/Makefile-examples
    packages/xmds/tags/1.6.3-2/debian/README.Debian
    packages/xmds/tags/1.6.3-2/debian/changelog
    packages/xmds/tags/1.6.3-2/debian/compat
    packages/xmds/tags/1.6.3-2/debian/control
    packages/xmds/tags/1.6.3-2/debian/copyright
    packages/xmds/tags/1.6.3-2/debian/docs
    packages/xmds/tags/1.6.3-2/debian/examples
    packages/xmds/tags/1.6.3-2/debian/patches/
    packages/xmds/tags/1.6.3-2/debian/patches/loadxsil-varnames-cell.patch
    packages/xmds/tags/1.6.3-2/debian/rules   (with props)
    packages/xmds/tags/1.6.3-2/debian/watch
    packages/xmds/tags/1.6.3-3/
    packages/xmds/tags/1.6.3-3/debian/
    packages/xmds/tags/1.6.3-3/debian/Makefile-examples
    packages/xmds/tags/1.6.3-3/debian/README.Debian
    packages/xmds/tags/1.6.3-3/debian/changelog
    packages/xmds/tags/1.6.3-3/debian/compat
    packages/xmds/tags/1.6.3-3/debian/control
    packages/xmds/tags/1.6.3-3/debian/copyright
    packages/xmds/tags/1.6.3-3/debian/docs
    packages/xmds/tags/1.6.3-3/debian/examples
    packages/xmds/tags/1.6.3-3/debian/patches/
    packages/xmds/tags/1.6.3-3/debian/patches/loadxsil-varnames-cell.patch
    packages/xmds/tags/1.6.3-3/debian/rules   (with props)
    packages/xmds/tags/1.6.3-3/debian/watch
    packages/xmds/tags/1.6.3~svn.1569-1/
    packages/xmds/tags/1.6.3~svn.1569-1/debian/
    packages/xmds/tags/1.6.3~svn.1569-1/debian/Makefile-examples
    packages/xmds/tags/1.6.3~svn.1569-1/debian/README.Debian
    packages/xmds/tags/1.6.3~svn.1569-1/debian/changelog
    packages/xmds/tags/1.6.3~svn.1569-1/debian/compat
    packages/xmds/tags/1.6.3~svn.1569-1/debian/control
    packages/xmds/tags/1.6.3~svn.1569-1/debian/copyright
    packages/xmds/tags/1.6.3~svn.1569-1/debian/docs
    packages/xmds/tags/1.6.3~svn.1569-1/debian/examples
    packages/xmds/tags/1.6.3~svn.1569-1/debian/rules   (with props)
    packages/xmds/tags/1.6.3~svn.1569-1/debian/watch
    packages/xmds/tags/1.6.4-1/
    packages/xmds/tags/1.6.4-1/debian/
    packages/xmds/tags/1.6.4-1/debian/Makefile-examples
    packages/xmds/tags/1.6.4-1/debian/README.Debian
    packages/xmds/tags/1.6.4-1/debian/changelog
    packages/xmds/tags/1.6.4-1/debian/compat
    packages/xmds/tags/1.6.4-1/debian/control
    packages/xmds/tags/1.6.4-1/debian/copyright
    packages/xmds/tags/1.6.4-1/debian/docs
    packages/xmds/tags/1.6.4-1/debian/examples
    packages/xmds/tags/1.6.4-1/debian/patches/
    packages/xmds/tags/1.6.4-1/debian/patches/g++-4.2-string-literal.patch
    packages/xmds/tags/1.6.4-1/debian/rules   (with props)
    packages/xmds/tags/1.6.4-1/debian/watch
    packages/xmds/tags/1.6.5-1/
    packages/xmds/tags/1.6.5-1/debian/
    packages/xmds/tags/1.6.5-1/debian/Makefile-examples
    packages/xmds/tags/1.6.5-1/debian/README.Debian
    packages/xmds/tags/1.6.5-1/debian/changelog
    packages/xmds/tags/1.6.5-1/debian/compat
    packages/xmds/tags/1.6.5-1/debian/control
    packages/xmds/tags/1.6.5-1/debian/copyright
    packages/xmds/tags/1.6.5-1/debian/docs
    packages/xmds/tags/1.6.5-1/debian/examples
    packages/xmds/tags/1.6.5-1/debian/rules   (with props)
    packages/xmds/tags/1.6.5-1/debian/watch
    packages/xmds/tags/1.6.5-2/
    packages/xmds/tags/1.6.5-2/Makefile-examples
    packages/xmds/tags/1.6.5-2/README.Debian
    packages/xmds/tags/1.6.5-2/changelog
    packages/xmds/tags/1.6.5-2/compat
    packages/xmds/tags/1.6.5-2/control
    packages/xmds/tags/1.6.5-2/copyright
    packages/xmds/tags/1.6.5-2/docs
    packages/xmds/tags/1.6.5-2/examples
    packages/xmds/tags/1.6.5-2/patches/
    packages/xmds/tags/1.6.5-2/patches/compile-with-gcc-4.3.diff
    packages/xmds/tags/1.6.5-2/patches/series
    packages/xmds/tags/1.6.5-2/rules   (with props)
    packages/xmds/tags/1.6.5-2/watch
    packages/xmds/tags/1.6.6-1/
    packages/xmds/tags/1.6.6-1/Makefile-examples
    packages/xmds/tags/1.6.6-1/README.Debian
    packages/xmds/tags/1.6.6-1/changelog
    packages/xmds/tags/1.6.6-1/clean
    packages/xmds/tags/1.6.6-1/compat
    packages/xmds/tags/1.6.6-1/control
    packages/xmds/tags/1.6.6-1/copyright
    packages/xmds/tags/1.6.6-1/docs
    packages/xmds/tags/1.6.6-1/examples
    packages/xmds/tags/1.6.6-1/rules   (with props)
    packages/xmds/tags/1.6.6-1/watch
    packages/xmds/tags/1.6.6-2/
    packages/xmds/tags/1.6.6-2/Makefile-examples
    packages/xmds/tags/1.6.6-2/README.Debian
    packages/xmds/tags/1.6.6-2/changelog
    packages/xmds/tags/1.6.6-2/clean
    packages/xmds/tags/1.6.6-2/compat
    packages/xmds/tags/1.6.6-2/control
    packages/xmds/tags/1.6.6-2/copyright
    packages/xmds/tags/1.6.6-2/docs
    packages/xmds/tags/1.6.6-2/examples
    packages/xmds/tags/1.6.6-2/rules   (with props)
    packages/xmds/tags/1.6.6-2/watch
    packages/xmds/tags/1.6.6-3/
    packages/xmds/tags/1.6.6-3/debian/
    packages/xmds/tags/1.6.6-3/debian/Makefile-examples
    packages/xmds/tags/1.6.6-3/debian/README.Debian
    packages/xmds/tags/1.6.6-3/debian/changelog
    packages/xmds/tags/1.6.6-3/debian/clean
    packages/xmds/tags/1.6.6-3/debian/compat
    packages/xmds/tags/1.6.6-3/debian/control
    packages/xmds/tags/1.6.6-3/debian/copyright
    packages/xmds/tags/1.6.6-3/debian/docs
    packages/xmds/tags/1.6.6-3/debian/examples
    packages/xmds/tags/1.6.6-3/debian/rules   (with props)
    packages/xmds/tags/1.6.6-3/debian/watch
    packages/xmds/trunk/
    packages/xmds/trunk/debian/   (with props)
    packages/xmds/trunk/debian/Makefile-examples
    packages/xmds/trunk/debian/README.Debian
    packages/xmds/trunk/debian/changelog
    packages/xmds/trunk/debian/clean
    packages/xmds/trunk/debian/compat
    packages/xmds/trunk/debian/control
    packages/xmds/trunk/debian/copyright
    packages/xmds/trunk/debian/docs
    packages/xmds/trunk/debian/examples
    packages/xmds/trunk/debian/patches/
    packages/xmds/trunk/debian/patches/const-warning.diff
    packages/xmds/trunk/debian/patches/series
    packages/xmds/trunk/debian/patches/xmds-compile.diff
    packages/xmds/trunk/debian/rules   (with props)
    packages/xmds/trunk/debian/watch

Added: packages/xmds/branches/svn-snapshot/debian/Makefile-examples
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/branches/svn-snapshot/debian/Makefile-examples?rev=38675&op=file
==============================================================================
--- packages/xmds/branches/svn-snapshot/debian/Makefile-examples (added)
+++ packages/xmds/branches/svn-snapshot/debian/Makefile-examples Wed Aug 10 07:51:31 2011
@@ -1,0 +1,34 @@
+###  -*- make -*-
+### This file is part of the Debian xmds package
+### Copyright (C) 2006 Rafael Laboissiere
+### This file is relased under the GNU General Public License
+### NO WARRANTIES!
+
+### This makefile can be used to build and run the XMDS examples
+
+XMDS_FILES = $(shell ls *.xmds)
+RUN_FILES = $(patsubst %.xmds,%.run,$(XMDS_FILES))
+CC_FILES = $(patsubst %.xmds,%.cc,$(XMDS_FILES))
+XSIL_FILES = $(patsubst %.xmds,%.xsil,$(XMDS_FILES))
+M_FILES = $(patsubst %.xmds,%.xsil,$(XMDS_FILES))
+
+XMDS = xmds
+XSIL2GRAPHICS = xsil2graphics
+
+all: $(M_FILES)
+
+%.run: %.xmds
+	$(XMDS) $<
+	mv $(patsubst %.xmds,%,$<) $@
+
+%.xsil: %.run
+	./$<
+
+%.m: %.xsil
+	$(XSIL2GRAPHICS) $<
+
+clean:
+	rm -f *.run *.cc *.m *.xsil *.wisdom.fftw3
+
+.PRECIOUS: %.run %.xsil %.m
+.PHONY: all clean

Added: packages/xmds/branches/svn-snapshot/debian/README.Debian
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/branches/svn-snapshot/debian/README.Debian?rev=38675&op=file
==============================================================================
--- packages/xmds/branches/svn-snapshot/debian/README.Debian (added)
+++ packages/xmds/branches/svn-snapshot/debian/README.Debian Wed Aug 10 07:51:31 2011
@@ -1,0 +1,20 @@
+xmds for Debian
+---------------
+
+  All examples shiped in the upstream distribution tarball are
+  included in the Debian package in the directory
+  /usr/share/doc/xmds/examples.  To run one of them and visualize the
+  results, you can do, e.g.:
+
+      xmds /usr/share/doc/xmds/examples/nlse.xmds
+      ./nlse
+      xsil2graphics nlse.xsil
+      echo "nlse;mesh(z_1,t_1,pow_dens_1);print nlse.eps -color -deps" \
+           | octave -qf
+      gv nlse.eps
+
+  Notice that you must have one of the octave package (octave2.1 or
+  octave2.9) and the gv package installed in your system in order to run
+  the code above.
+
+ -- Rafael Laboissiere <rafael at debian.org>  Thu, 25 Nov 2006 10:10:09 +0100

Added: packages/xmds/branches/svn-snapshot/debian/changelog
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/branches/svn-snapshot/debian/changelog?rev=38675&op=file
==============================================================================
--- packages/xmds/branches/svn-snapshot/debian/changelog (added)
+++ packages/xmds/branches/svn-snapshot/debian/changelog Wed Aug 10 07:51:31 2011
@@ -1,0 +1,158 @@
+xmds (1.6.3~svn.1569-2) UNRELEASED; urgency=low
+
+   * debian/rules:
+    + Do not include include CDBS' simple-patchsys.mk, since there are no
+      patches anymore
+    + Check whether the release will be uploaded to experimental, avoiding
+      accidental uploads to unstable
+
+ -- Rafael Laboissiere <rafael at debian.org>  Sat, 22 Sep 2007 09:53:17 +0200
+
+xmds (1.6.3~svn.1569-1) experimental; urgency=low
+
+  * Upload to experimental from  SVN snapshot:
+    + debian/patches/loadxsil-varnames-cell.patch: Dropped patch (applied
+      upstream)
+  * debian/rules: Removed saving/restoring of files generated by autoconf
+    and autoheader
+  * debian/control:
+    + Build-Depends on automake
+    + Added Homepage field
+
+ -- Rafael Laboissiere <rafael at debian.org>  Fri, 21 Sep 2007 21:58:40 +0200
+
+xmds (1.6.3-1) unstable; urgency=low
+
+  * New upstream release.  Removed patch gcc-4.3-includes.patch, which is
+    applied upstream.
+
+ -- Rafael Laboissiere <rafael at debian.org>  Sat, 21 Jul 2007 13:14:48 +0200
+
+xmds (1.6.2-1) unstable; urgency=low
+
+  * New upstream release
+  * debian/patches/gcc-4.3-includes.patch: New patch for making the
+    package build against gcc 4.3 by including the appropriate cstring and
+    cstdlib headers
+
+ -- Rafael Laboissiere <rafael at debian.org>  Sat, 16 Jun 2007 09:51:02 +0200
+
+xmds (1.6.1-1) unstable; urgency=low
+
+  * New upstream release
+  * debian/control: Fixed typo in short description
+  * debian/patches/loadxsil-varnames-cell.dpatch: Added patch for making
+    loadxsil.m work with Octave
+
+ -- Rafael Laboissiere <rafael at debian.org>  Sat, 12 May 2007 09:44:32 +0200
+
+xmds (1.6-2) unstable; urgency=low
+
+  * debian/patches/gcc-4.3-include-cstdlib.patch: Also include cstdlib in
+    source/xmdsintegrateark89.cc  (closes: #417768).  Thanks Martin
+    Milchmayr for the patch.
+
+ -- Rafael Laboissiere <rafael at debian.org>  Tue, 10 Apr 2007 17:54:35 +0200
+
+xmds (1.6-1) unstable; urgency=low
+
+  * New upstream release
+  * Removed patches (applied upstream):
+    + 50-add-lorenz-data.patch
+    + 50-make-examples-work.patch
+    + 50-preserve-prefix.patch
+  * debian/watch: Fixed upstream URL pattern
+  * debian/rules: Fix permission of some installed files
+
+ -- Rafael Laboissiere <rafael at debian.org>  Thu,  5 Apr 2007 11:17:34 +0200
+
+xmds (1.5.3-9) unstable; urgency=low
+
+  * debian/rules: Delete config.status in clean target
+  * debian/patches/gcc-4.3-include-cstdlib.patch: Make the sources compile
+    with GCC 4.3.  Thanks to Martin Michlmayr (closes: #417768).
+
+ -- Rafael Laboissiere <rafael at debian.org>  Wed,  4 Apr 2007 23:04:01 +0200
+
+xmds (1.5.3-8) unstable; urgency=low
+
+  * debian/control:
+    - Added XS-Vcs-Svn and XS-Vcs-Browser fields to the Source section
+    - Added Homepage pseudo-field to the Description
+    - Changed the priority of the package "extra", because it depends on
+      libmpich1.0-dev, which has also priority "extra" (comply with Policy
+      Section 2.5: Priorities)
+  * debian/rules: Save and restore files configure, source/config.h.in,
+    and source/xmdsconfig.h, which are changed by the autotools,
+    preventing the changes to appear in the diff.gz file
+
+ -- Rafael Laboissiere <rafael at debian.org>  Thu,  8 Mar 2007 11:35:28 +0100
+
+xmds (1.5.3-7) unstable; urgency=low
+
+  * First upload to unstable
+
+ -- Rafael Laboissiere <rafael at debian.org>  Wed, 31 Jan 2007 23:19:38 +0100
+
+xmds (1.5.3-6) experimental; urgency=low
+
+  * debian/rules: Use mpicxx as the MPI compile; all the examples work now
+  * debian/README.Debian: Updated accordingly
+
+ -- Rafael Laboissiere <rafael at debian.org>  Thu, 30 Nov 2006 14:29:44 +0100
+
+xmds (1.5.3-5) experimental; urgency=low
+
+  * debian/rules:
+    - Enable the use of MPI
+    - Do not path the examples for fftw3, since they work with fftw2
+  * debian/README.Debian: Updated according to the above
+  * debian/control:
+    - Build-depends on fftw-dev and libmpich1.0-dev
+    - Depends on fftw-dev, fftw3-dev, and libmpich1.0-dev, otherwise the
+      xmds program won't work, since it needs the header files of those
+      packages
+
+ -- Rafael Laboissiere <rafael at debian.org>  Thu, 30 Nov 2006 03:54:42 +0100
+
+xmds (1.5.3-4) experimental; urgency=low
+
+  * debian/rules: Avoid the double invocation of build/xmds rule
+
+ -- Rafael Laboissiere <rafael at debian.org>  Tue, 28 Nov 2006 22:33:54 +0100
+
+xmds (1.5.3-3) experimental; urgency=low
+
+  * debian/Makefile-examples: Introduce variables XMDS and XSIL2GRAPHICS
+  * debian/rules: Use the variables defined above in order to call the
+    appropriate programs at build time.
+
+  * debian/README.Debian: Added a note about the examples that do not
+    work because they depend on MPI
+
+ -- Rafael Laboissiere <rafael at debian.org>  Mon, 27 Nov 2006 20:10:19 +0100
+
+xmds (1.5.3-2) experimental; urgency=low
+
+  * First official release, uploaded to experimental because we are in the
+    middle of the etch "soft freeze" period
+
+  * Added patches:
+    - 50-add-lorenz-data.patch: Add file examples/lorenzInput.dat which is
+      missing in the tarball
+    - 50-make-examples-work.patch: Add patch for source/xmdssimulation.cc
+      taken from upstream CVS which makes all examples work (excluding the
+      ones that depend on MPI)
+
+  * Added a regression test for the package (lorenz.xmds example).  This
+    is done through the makefile debian/Makefile-examples, which is also
+    installed in the examples area.
+
+ -- Rafael Laboissiere <rafael at debian.org>  Sat, 25 Nov 2006 18:16:27 +0100
+
+xmds (1.5.3-1) not-released; urgency=low
+
+  * Initial release (Closes: #400312)
+
+ -- Christian T. Steigies <cts at debian.org>  Thu, 23 Nov 2006 21:48:44 +0100
+

Added: packages/xmds/branches/svn-snapshot/debian/compat
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/branches/svn-snapshot/debian/compat?rev=38675&op=file
==============================================================================
--- packages/xmds/branches/svn-snapshot/debian/compat (added)
+++ packages/xmds/branches/svn-snapshot/debian/compat Wed Aug 10 07:51:31 2011
@@ -1,0 +1,1 @@
+5

Added: packages/xmds/branches/svn-snapshot/debian/control
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/branches/svn-snapshot/debian/control?rev=38675&op=file
==============================================================================
--- packages/xmds/branches/svn-snapshot/debian/control (added)
+++ packages/xmds/branches/svn-snapshot/debian/control Wed Aug 10 07:51:31 2011
@@ -1,0 +1,26 @@
+Source: xmds
+Section: science
+Priority: extra
+Maintainer: Debian Scientific Computing Team <pkg-scicomp-devel at lists.alioth.debian.org>
+Uploaders: Christian T. Steigies <cts at debian.org>,
+ Rafael Laboissiere <rafael at debian.org>
+Build-Depends: cdbs, debhelper (>= 5), autotools-dev, fftw-dev, fftw3-dev,
+ libmpich1.0-dev, octave2.1-headers, octave2.9-headers, autoconf, automake1.10
+Standards-Version: 3.7.2
+Homepage: http://xmds.sourceforge.net/
+Vcs-Svn: svn://svn.debian.org/svn/pkg-scicomp/xmds/
+Vcs-Browser: http://svn.debian.org/wsvn/pkg-scicomp/xmds/
+
+Package: xmds
+Architecture: any
+Depends: ${shlibs:Depends}, fftw-dev, fftw3-dev, libmpich1.0-dev
+Suggests: ${octave-2-9:Depends} | ${octave-2-1:Depends}
+Description: eXtensible Multi-Dimensional Simulator
+ XMDS is a code generator that integrates equations, from Ordinary
+ Differential Equations (ODEs) up to stochastic Partial Differential
+ Equations (PDEs). You write them down in human readable form in an
+ XML file, and it goes away and writes and compiles a C++ program that
+ integrates those equations as fast as it can possibly be done in your
+ architecture.
+ .
+  Homepage: http://xmds.sourceforge.net/

Added: packages/xmds/branches/svn-snapshot/debian/copyright
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/branches/svn-snapshot/debian/copyright?rev=38675&op=file
==============================================================================
--- packages/xmds/branches/svn-snapshot/debian/copyright (added)
+++ packages/xmds/branches/svn-snapshot/debian/copyright Wed Aug 10 07:51:31 2011
@@ -1,0 +1,49 @@
+This package was debianized by Christian T. Steigies <cts at debian.org>
+and Rafael Laboissiere <rafael at debian.org> on Thu, 23 Nov 2006 12:23:09 +0100.
+
+It was downloaded from http://www.xmds.org/downloads.html
+
+Upstream Authors: Paul Cochrane <cochrane at physics.uq.edu.au>
+                  Joseph Hope <Joseph.Hope at anu.edu.au>
+                  Peter Drummond <drummond at physics.uq.edu.au>
+
+
+Copyright:
+  2000-2004  Greg Collecutt, Joseph Hope and Paul Cochrane
+
+
+License:
+
+ XMDS is free software; you can redistribute it and/or
+ modify it under the terms of the GNU General Public License
+ as published by the Free Software Foundation; either version 2
+ of the License, or (at your option) any later version.
+
+ XMDS is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ GNU General Public License for more details.
+
+
+The Debian packaging is (C) 2006, Christian T. Steigies <cts at debian.org>
+and Rafael Laboissiere <rafael at debian.org>, and is licensed under the GPL,
+see `/usr/share/common-licenses/GPL'.
+
+Files with different copyright dates/holders (but also released under the
+GPL):
+
+    source/getopt_xmds.c:
+      Copyright (C) 1987,88,89,90,91,92,93,94,95,96,98,99,2000,2001
+      Free Software Foundation, Inc.
+
+    source/getopt_xmds1.c:
+     Copyright (C) 1987,88,89,90,91,92,93,94,96,97,98
+     Free Software Foundation, Inc.
+
+    source/getopt_xmds.h:
+      Copyright (C) 1989-1994, 1996-1999, 2001 Free Software Foundation, Inc.
+
+    ./source/getopt_xmds_init.c:
+      Copyright (C) 1997, 1998, 2001 Free Software Foundation, Inc.
+      This file is part of the GNU C Library.
+      Contributed by Ulrich Drepper <drepper at cygnus.com>, 1997.

Added: packages/xmds/branches/svn-snapshot/debian/docs
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/branches/svn-snapshot/debian/docs?rev=38675&op=file
==============================================================================
--- packages/xmds/branches/svn-snapshot/debian/docs (added)
+++ packages/xmds/branches/svn-snapshot/debian/docs Wed Aug 10 07:51:31 2011
@@ -1,0 +1,2 @@
+NEWS
+README

Added: packages/xmds/branches/svn-snapshot/debian/examples
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/branches/svn-snapshot/debian/examples?rev=38675&op=file
==============================================================================
--- packages/xmds/branches/svn-snapshot/debian/examples (added)
+++ packages/xmds/branches/svn-snapshot/debian/examples Wed Aug 10 07:51:31 2011
@@ -1,0 +1,2 @@
+examples/*.xmds
+examples/*.dat

Added: packages/xmds/branches/svn-snapshot/debian/rules
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/branches/svn-snapshot/debian/rules?rev=38675&op=file
==============================================================================
--- packages/xmds/branches/svn-snapshot/debian/rules (added)
+++ packages/xmds/branches/svn-snapshot/debian/rules Wed Aug 10 07:51:31 2011
@@ -1,0 +1,77 @@
+#!/usr/bin/make -f
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/autotools.mk
+
+debdir  = $(CURDIR)/debian
+instdir = $(debdir)/xmds
+shrdir  = $(instdir)/usr/share
+expdir  = $(shrdir)/doc/xmds/examples
+mdir    = $(shrdir)/octave/site/m
+
+DEB_CONFIGURE_EXTRA_FLAGS =		\
+	--enable-fftw3			\
+	--enable-mpi			\
+	--with-mpi-path=/usr/lib/mpich	\
+	--with-mpi-compiler=mpicxx
+
+DEB_COMPRESS_EXCLUDE = .xmds
+DEB_AUTO_UPDATE_AUTOCONF = 1
+DEB_AUTO_UPDATE_AUTOHEADER = 1
+DEB_AUTO_UPDATE_ACLOCAL = 1.10
+DEB_AUTO_UPDATE_AUTOMAKE = 1.10
+
+makebuilddir/xmds::
+	touch aclocal.m4
+
+build/xmds:: make-examples-stamp
+make-examples-stamp:
+	# Run test
+	cp examples/lorenz* source
+	( cd source ;						\
+	  $(MAKE) XMDS=./xmds XSIL2GRAPHICS=./xsil2graphics	\
+		-f ../debian/Makefile-examples lorenz.m ;	\
+	  rm -f lorenz* )
+	touch make-examples-stamp
+
+install/xmds::
+	for v in 2.1 2.9 ; do octave$$v-depends ; done
+
+binary-install/xmds::
+	# Move Octave file into the correct directory
+	mkdir -p $(mdir)
+	mv $(instdir)/usr/bin/loadxsil.m $(mdir)
+
+	# Fix permission of files
+	chmod 644 $(expdir)/*.xmds $(mdir)/*
+
+	# Add Makefile to the examples directory
+	cp debian/Makefile-examples $(expdir)/Makefile
+
+clean::
+	rm -rf config.log source/lorenz.* make-examples-stamp		\
+		config.status autom4te.cache configure aclocal.m4	\
+		source/config.h.in source/Makefile.in 			\
+		source/xmds_config.h source/version.h Makefile.in
+
+upstream_svn = https://xmds.svn.sourceforge.net/svnroot/xmds/trunk/xmds-devel
+last_release = 1.6.3
+
+get-orig-source:
+	SVNREV=$$(svn info $(upstream_svn) | grep Rev: | cut -f4 -d\ );	   \
+	svn export -r$$SVNREV $(upstream_svn) ;				   \
+	tar czf xmds_$(last_release)~svn.$$SVNREV.orig.tar.gz xmds-devel ; \
+	rm -rf xmds-devel
+
+DEB_VER = ${shell perl -ne '/\((.*);/; print $$1; last' < debian/changelog}
+DIST = ${shell echo "$(DEB_VER)" | sed 's/.*) *//'}
+TARGET = experimental
+SEP = ***********************************************************************
+
+binary/xmds::
+	@if [ "$(DIST)" != $(TARGET) ] ; then			\
+	  echo "$(SEP)" ;					\
+	  echo This version should be uploaded to $(TARGET), ;	\
+	  echo not to $(DIST)! ;				\
+	  echo "$(SEP)" ;					\
+	fi

Propchange: packages/xmds/branches/svn-snapshot/debian/rules
------------------------------------------------------------------------------
    svn:executable = *

Added: packages/xmds/branches/svn-snapshot/debian/watch
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/branches/svn-snapshot/debian/watch?rev=38675&op=file
==============================================================================
--- packages/xmds/branches/svn-snapshot/debian/watch (added)
+++ packages/xmds/branches/svn-snapshot/debian/watch Wed Aug 10 07:51:31 2011
@@ -1,0 +1,3 @@
+version=3
+opts="uversionmangle=s/-/./"						\
+  http://heanet.dl.sourceforge.net/sourceforge/xmds/xmds-(.*)\.tar\.gz.*

Added: packages/xmds/tags/1.5.3-2/debian/Makefile-examples
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.5.3-2/debian/Makefile-examples?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.5.3-2/debian/Makefile-examples (added)
+++ packages/xmds/tags/1.5.3-2/debian/Makefile-examples Wed Aug 10 07:51:31 2011
@@ -1,0 +1,31 @@
+###  -*- make -*-
+### This file is part of the Debian xmds package
+### Copyright (C) 2006 Rafael Laboissiere
+### This file is relased under the GNU General Public License
+### NO WARRANTIES!
+
+### This makefile can be used to build and run the XMDS examples
+
+XMDS_FILES = $(shell ls *.xmds)
+RUN_FILES = $(patsubst %.xmds,%.run,$(XMDS_FILES))
+CC_FILES = $(patsubst %.xmds,%.cc,$(XMDS_FILES))
+XSIL_FILES = $(patsubst %.xmds,%.xsil,$(XMDS_FILES))
+M_FILES = $(patsubst %.xmds,%.xsil,$(XMDS_FILES))
+
+all: $(M_FILES)
+
+%.run: %.xmds
+	xmds $<
+	mv $(patsubst %.xmds,%,$<) $@
+
+%.xsil: %.run
+	./$<
+
+%.m: %.xsil
+	xsil2graphics $<
+
+clean:
+	rm -f *.run *.cc *.m *.xsil *.wisdom.fftw3
+
+.PRECIOUS: %.run %.xsil %.m
+.PHONY: all clean

Added: packages/xmds/tags/1.5.3-2/debian/README.Debian
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.5.3-2/debian/README.Debian?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.5.3-2/debian/README.Debian (added)
+++ packages/xmds/tags/1.5.3-2/debian/README.Debian Wed Aug 10 07:51:31 2011
@@ -1,0 +1,27 @@
+xmds for Debian
+---------------
+
+  This version of XMDS has been compiled against the fftw3 library, instead
+  of the default fftw2.  This means that the simulations will only work if
+  the following XML code is present in the *.xmds file:
+
+      <fftw_version>3</fftw_version>
+
+  inside the <simulation> target.
+
+  All examples included in the Debian package in directory
+  /usr/share/doc/xmds/examples have been changed accordingly.  To run one of
+  them and visualize the results, you can do, e.g.:
+
+      xmds /usr/share/doc/xmds/examples/nlse.xmds
+      ./nlse
+      xsil2graphics nlse.xsil
+      echo "nlse;mesh(z_1,t_1,pow_dens_1);print nlse.eps -color -deps" \
+           | octave -qf
+      gv nlse.eps
+
+  Notice that you must have one of the octave package (octave2.1 or
+  octave2.9) and the gv package installed in your system in order to run
+  the code above.
+
+ -- Rafael Laboissiere <rafael at debian.org>  Thu, 25 Nov 2006 10:10:09 +0100

Added: packages/xmds/tags/1.5.3-2/debian/changelog
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.5.3-2/debian/changelog?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.5.3-2/debian/changelog (added)
+++ packages/xmds/tags/1.5.3-2/debian/changelog Wed Aug 10 07:51:31 2011
@@ -1,0 +1,24 @@
+xmds (1.5.3-2) experimental; urgency=low
+
+  * First official release, uploaded to experimental because we are in the
+    middle of the etch "soft freeze" period
+
+  * Added patches:
+    - 50-add-lorenz-data.patch: Add file examples/lorenzInput.dat which is
+      missing in the tarball
+    - 50-make-examples-work.patch: Add patch for source/xmdssimulation.cc
+      taken from upstream CVS which makes all examples work (excluding the
+      ones that depend on MPI)
+
+  * Added a regression test for the package (lorenz.xmds example).  This
+    is done through the makefile debian/Makefile-examples, which is also
+    installed in the examples area.
+
+ -- Rafael Laboissiere <rafael at debian.org>  Sat, 25 Nov 2006 18:16:27 +0100
+
+xmds (1.5.3-1) not-released; urgency=low
+
+  * Initial release (Closes: #400312)
+
+ -- Christian T. Steigies <cts at debian.org>  Thu, 23 Nov 2006 21:48:44 +0100
+

Added: packages/xmds/tags/1.5.3-2/debian/compat
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.5.3-2/debian/compat?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.5.3-2/debian/compat (added)
+++ packages/xmds/tags/1.5.3-2/debian/compat Wed Aug 10 07:51:31 2011
@@ -1,0 +1,1 @@
+5

Added: packages/xmds/tags/1.5.3-2/debian/control
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.5.3-2/debian/control?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.5.3-2/debian/control (added)
+++ packages/xmds/tags/1.5.3-2/debian/control Wed Aug 10 07:51:31 2011
@@ -1,0 +1,22 @@
+Source: xmds
+Section: science
+Priority: optional
+Maintainer: Debian Scientific Computing Team <pkg-scicomp-devel at lists.alioth.debian.org>
+Uploaders: Christian T. Steigies <cts at debian.org>,
+ Rafael Laboissiere <rafael at debian.org>
+Build-Depends: cdbs, debhelper (>= 5), autotools-dev, fftw3-dev,
+ octave2.1-headers, octave2.9-headers, autoconf
+Standards-Version: 3.7.2
+
+Package: xmds
+Architecture: any
+Depends: ${shlibs:Depends}, fftw3
+Suggests: ${octave-2-9:Depends} | ${octave-2-1:Depends}
+Description: eXtensible multi-dimensional Simulator
+ XMDS is a code generator that integrates equations, from Ordinary
+ Differential Equations (ODEs) up to stochastic Partial Differential
+ Equations (PDEs). You write them down in human readable form in an
+ XML file, and it goes away and writes and compiles a C++ program that
+ integrates those equations as fast as it can possibly be done in your
+ architecture.
+

Added: packages/xmds/tags/1.5.3-2/debian/copyright
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.5.3-2/debian/copyright?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.5.3-2/debian/copyright (added)
+++ packages/xmds/tags/1.5.3-2/debian/copyright Wed Aug 10 07:51:31 2011
@@ -1,0 +1,49 @@
+This package was debianized by Christian T. Steigies <cts at debian.org>
+and Rafael Laboissiere <rafael at debian.org> on Thu, 23 Nov 2006 12:23:09 +0100.
+
+It was downloaded from http://www.xmds.org/downloads.html
+
+Upstream Authors: Paul Cochrane <cochrane at physics.uq.edu.au>
+                  Joseph Hope <Joseph.Hope at anu.edu.au>
+                  Peter Drummond <drummond at physics.uq.edu.au>
+
+
+Copyright:
+  2000-2004  Greg Collecutt, Joseph Hope and Paul Cochrane
+
+
+License:
+
+ XMDS is free software; you can redistribute it and/or
+ modify it under the terms of the GNU General Public License
+ as published by the Free Software Foundation; either version 2
+ of the License, or (at your option) any later version.
+
+ XMDS is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ GNU General Public License for more details.
+
+
+The Debian packaging is (C) 2006, Christian T. Steigies <cts at debian.org>
+and Rafael Laboissiere <rafael at debian.org>, and is licensed under the GPL,
+see `/usr/share/common-licenses/GPL'.
+
+Files with different copyright dates/holders (but also released under the
+GPL):
+
+    source/getopt_xmds.c:
+      Copyright (C) 1987,88,89,90,91,92,93,94,95,96,98,99,2000,2001
+      Free Software Foundation, Inc.
+
+    source/getopt_xmds1.c:
+     Copyright (C) 1987,88,89,90,91,92,93,94,96,97,98
+     Free Software Foundation, Inc.
+
+    source/getopt_xmds.h:
+      Copyright (C) 1989-1994, 1996-1999, 2001 Free Software Foundation, Inc.
+
+    ./source/getopt_xmds_init.c:
+      Copyright (C) 1997, 1998, 2001 Free Software Foundation, Inc.
+      This file is part of the GNU C Library.
+      Contributed by Ulrich Drepper <drepper at cygnus.com>, 1997.

Added: packages/xmds/tags/1.5.3-2/debian/docs
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.5.3-2/debian/docs?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.5.3-2/debian/docs (added)
+++ packages/xmds/tags/1.5.3-2/debian/docs Wed Aug 10 07:51:31 2011
@@ -1,0 +1,2 @@
+NEWS
+README

Added: packages/xmds/tags/1.5.3-2/debian/examples
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.5.3-2/debian/examples?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.5.3-2/debian/examples (added)
+++ packages/xmds/tags/1.5.3-2/debian/examples Wed Aug 10 07:51:31 2011
@@ -1,0 +1,2 @@
+examples-fftw3/*.xmds
+examples-fftw3/*.dat

Added: packages/xmds/tags/1.5.3-2/debian/patches/50-add-lorenz-data.patch
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.5.3-2/debian/patches/50-add-lorenz-data.patch?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.5.3-2/debian/patches/50-add-lorenz-data.patch (added)
+++ packages/xmds/tags/1.5.3-2/debian/patches/50-add-lorenz-data.patch Wed Aug 10 07:51:31 2011
@@ -1,0 +1,8 @@
+diff -Nur xmds-1.5-3/examples/lorenzInput.dat xmds-1.5-3.new/examples/lorenzInput.dat
+--- xmds-1.5-3/examples/lorenzInput.dat	1970-01-01 01:00:00.000000000 +0100
++++ xmds-1.5-3.new/examples/lorenzInput.dat	2006-11-25 17:51:19.000000000 +0100
+@@ -0,0 +1,3 @@
++3.0
++2.5
++1.6
+\ No newline at end of file

Added: packages/xmds/tags/1.5.3-2/debian/patches/50-either-fftw-or-fftw3.patch
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.5.3-2/debian/patches/50-either-fftw-or-fftw3.patch?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.5.3-2/debian/patches/50-either-fftw-or-fftw3.patch (added)
+++ packages/xmds/tags/1.5.3-2/debian/patches/50-either-fftw-or-fftw3.patch Wed Aug 10 07:51:31 2011
@@ -1,0 +1,82 @@
+diff -Nur xmds-1.5-3/configure.in xmds-1.5-3.new/configure.in
+--- xmds-1.5-3/configure.in	2006-11-25 00:17:41.000000000 +0100
++++ xmds-1.5-3.new/configure.in	2006-11-25 00:20:37.000000000 +0100
+@@ -232,34 +232,24 @@
+ AC_CHECK_SIZEOF(unsigned long)
+ # This defines SIZEOF_UNSIGNED_LONG, which is 4 for 32 bit and 8 for 64 bit
+ 
+-dnl We need to make sure that fftw exits, and that it is the right version
+-if test "x$FFTW_PATH" = "x"
++# check for fftw3 if we enabled its use
++if test x"$enable_fftw3" = "xyes"
+ then
+-AC_CHECK_HEADERS(["$FFTW_INCLUDE_PATH"fftw.h],[],
++
++  dnl We need to make sure that fftw exits, and that it is the right version
++  if test "x$FFTW_PATH" = "x"
++  then
++    AC_CHECK_HEADERS(["$FFTW_INCLUDE_PATH"fftw3.h],[],
+ 	    [echo "Eeek!  I can't find fftw.h!";
+             echo "It doesn't look like you'll be able to use fftw";
+             echo "Are you sure that --with-fftw-path is set correctly?"])
+-else
+-AC_CHECK_FILE(["$FFTW_INCLUDE_PATH"fftw.h],[],
++  else
++    AC_CHECK_FILE(["$FFTW_INCLUDE_PATH"fftw3.h],[],
+             [echo "Eeek!  I can't find fftw.h!";
+             echo "It doesn't look like you'll be able to use fftw";
+             echo "Are you sure that --with-fftw-path is set correctly?"])
+-fi
+-
+-
+-AC_CHECK_LIB([fftw], 
+-    [fftw_create_plan],
+-    [FFTW_LIBS="-lfftw"],
+-    [echo "Bummer!  fftw doesn't seem to work";
+-    echo "You need fftw to use xmds properly.";
+-    echo "Please download from http://www.fftw.org";
+-    echo "install it, and try configuring xmds again";
+-    exit],
+-    ["$FFTW_LIB_PATH"])
++  fi
+ 
+-# check for fftw3 if we enabled its use
+-if test x"$enable_fftw3" = "xyes"
+-then
+   AC_CHECK_LIB([fftw3],
+     [fftw_execute],
+     [FFTW3_LIBS="-lfftw3"],
+@@ -270,6 +260,33 @@
+      echo "fftw3 is available from http://www.fftw.org";
+      exit],
+      ["$FFTW3_LIB_PATH"])
++
++else
++
++  dnl We need to make sure that fftw exits, and that it is the right version
++  if test "x$FFTW_PATH" = "x"
++  then
++    AC_CHECK_HEADERS(["$FFTW_INCLUDE_PATH"fftw.h],[],
++	    [echo "Eeek!  I can't find fftw.h!";
++            echo "It doesn't look like you'll be able to use fftw";
++            echo "Are you sure that --with-fftw-path is set correctly?"])
++  else
++    AC_CHECK_FILE(["$FFTW_INCLUDE_PATH"fftw.h],[],
++            [echo "Eeek!  I can't find fftw.h!";
++            echo "It doesn't look like you'll be able to use fftw";
++            echo "Are you sure that --with-fftw-path is set correctly?"])
++  fi
++
++  AC_CHECK_LIB([fftw], 
++    [fftw_create_plan],
++    [FFTW_LIBS="-lfftw"],
++    [echo "Bummer!  fftw doesn't seem to work";
++    echo "You need fftw to use xmds properly.";
++    echo "Please download from http://www.fftw.org";
++    echo "install it, and try configuring xmds again";
++    exit],
++    ["$FFTW_LIB_PATH"])
++
+ fi
+ 
+ FFTW3_THREADLIBS=$THREADLIBS

Added: packages/xmds/tags/1.5.3-2/debian/patches/50-make-examples-work.patch
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.5.3-2/debian/patches/50-make-examples-work.patch?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.5.3-2/debian/patches/50-make-examples-work.patch (added)
+++ packages/xmds/tags/1.5.3-2/debian/patches/50-make-examples-work.patch Wed Aug 10 07:51:31 2011
@@ -1,0 +1,116 @@
+diff -Nur xmds-1.5-3/source/xmdssimulation.cc xmds-1.5-3.new/source/xmdssimulation.cc
+--- xmds-1.5-3/source/xmdssimulation.cc	2006-09-19 06:01:55.000000000 +0200
++++ xmds-1.5-3.new/source/xmdssimulation.cc	2006-11-25 13:44:04.000000000 +0100
+@@ -176,31 +176,20 @@
+   // ************************************
+   // find 'description'
+ 
+-  getAssignmentStrings(yourElement,"description",NOT_REQD,0,myXMLStringList);
+-
+-  // Storing the description can cause overflow errors if it is too long, so we'll
+-  // comment out the actual loading of the description, and put into the description
+-  // variable a note that it actually exists.
+-  if (myXMLStringList.size() > 0) {
+-    
+-    myParameters.description += "Description found.  See xmds file for the rest of it.";
+-    /*
+-    myParameters.description = *myXMLStringList.begin();
+-    myXMLStringList.pop_front();
+-    for(list<XMLString>::const_iterator pXMLString = myXMLStringList.begin(); pXMLString != myXMLStringList.end(); pXMLString++) {
+-      myParameters.description += " ";
+-      myParameters.description += *pXMLString;
+-    }
+-    */
+-    if(verbose()) {
+-      printf("simulation description = '%s'\n",myParameters.description.c_str());
+-    }
+-  }
+-  else {
++  const NodeList* descriptionElements = yourElement->getElementsByTagName("description", 0);
++  
++  if (descriptionElements->length()==0) {
+     // this warning may need to be taken out somehow, but I sort of want people
+     // to be nice little coders and document their code nicely, and this is
+     // one way to do it...  (PTC)
+     printf("No <description> tag found.  It's not required, but it's a Good Idea.\n");
++  } else if (descriptionElements->length()>1) {
++    printf("More than one <description> tag found... That's a little odd.\n");
++  } else {
++    myParameters.description = *descriptionElements->item(0)->textContent(0);
++    if(verbose()) {
++      printf("simulation description = '%s'\n",myParameters.description.c_str());
++    }
+   }
+ 
+   // ************************************
+@@ -1374,43 +1363,43 @@
+ 			"// The license is at: http://www.opensource.apple.com/apsl\n\n"
+ 			"// These functions have been renamed to avoid conflicts with the actual functions if an XMDS simulation\n"
+ 			"// is ever linked against the CoreFoundation framework\n"
+-			"inline uint32_t XMDSSwapInt32(uint32_t arg) {\n"
++			"inline uint32_t XMDSSwapInt32(uint32_t __arg) {\n"
+ 			"#if defined(__i386__) && defined(__GNUC__)\n"
+-			"\t __asm__(\"bswap %%0\" : \"+r\" (arg));\n"
+-			"\t return arg;\n"
++			"\t __asm__(\"bswap %%0\" : \"+r\" (__arg));\n"
++			"\t return __arg;\n"
+ 			"#elif defined(__ppc__) && defined(__GNUC__)\n"
+-			"\t uint32_t result;\n"
+-			"\t __asm__(\"lwbrx %%0,0,%%1\" : \"=r\" (result) : \"r\" (&arg), \"m\" (arg));\n"
+-			"\t return result;\n"
++			"\t uint32_t __result;\n"
++			"\t __asm__(\"lwbrx %%0,0,%%1\" : \"=r\" (__result) : \"r\" (&__arg), \"m\" (__arg));\n"
++			"\t return __result;\n"
+ 			"#else\n"
+-			"\t uint32_t result;\n"
+-			"\t result = ((arg & 0xFF) << 24) | ((arg & 0xFF00) << 8) | ((arg >> 8) & 0xFF00) | ((arg >> 24) & 0xFF);\n"
+-			"\t return result;\n"
++			"\t uint32_t __result;\n"
++			"\t __result = ((__arg & 0xFF) << 24) | ((__arg & 0xFF00) << 8) | ((__arg >> 8) & 0xFF00) | ((__arg >> 24) & 0xFF);\n"
++			"\t return __result;\n"
+ 			"#endif\n"
+ 			"}\n\n");
+ 	// 64-bit byte-swapper
+-	fprintf(outfile, "inline uint64_t XMDSSwapInt64(uint64_t arg) {\n"
++	fprintf(outfile, "inline uint64_t XMDSSwapInt64(uint64_t __arg) {\n"
+ 					 "\t union CFSwap {\n"
+-					 "\t\t uint64_t sv;\n"
+-					 "\t\t uint32_t ul[2];\n"
+-					 "\t } tmp, result;\n"
+-					 "\t tmp.sv = arg;\n"
+-					 "\t result.ul[0] = XMDSSwapInt32(tmp.ul[1]);\n"
+-					 "\t result.ul[1] = XMDSSwapInt32(tmp.ul[0]);\n"
+-					 "\t return result.sv;\n"
++					 "\t\t uint64_t __sv;\n"
++					 "\t\t uint32_t __ul[2];\n"
++					 "\t } __tmp, __result;\n"
++					 "\t __tmp.__sv = __arg;\n"
++					 "\t __result.__ul[0] = XMDSSwapInt32(__tmp.__ul[1]);\n"
++					 "\t __result.__ul[1] = XMDSSwapInt32(__tmp.__ul[0]);\n"
++					 "\t return __result.__sv;\n"
+ 					 "}\n\n");
+ 	
+-	fprintf(outfile, "typedef struct {uint32_t v;} XMDSSwappedFloat;\n"
+-					 "typedef struct {uint64_t v;} XMDSSwappedDouble;\n\n"
+-					 "inline float XMDSSwapFloat(float in) {\n"
+-					 "\t XMDSSwappedFloat x = *reinterpret_cast<XMDSSwappedFloat*>(&in);\n"
+-					 "\t x.v = XMDSSwapInt32(x.v);\n"
+-					 "\t return *reinterpret_cast<float*>(&x);\n"
++	fprintf(outfile, "typedef struct {uint32_t __v;} XMDSSwappedFloat;\n"
++					 "typedef struct {uint64_t __v;} XMDSSwappedDouble;\n\n"
++					 "inline float XMDSSwapFloat(float __in) {\n"
++					 "\t XMDSSwappedFloat __x = *reinterpret_cast<XMDSSwappedFloat*>(&__in);\n"
++					 "\t __x.__v = XMDSSwapInt32(__x.__v);\n"
++					 "\t return *reinterpret_cast<float*>(&__x);\n"
+ 					 "}\n\n"
+-					 "inline double XMDSSwapDouble(double in) {\n"
+-					 "\t XMDSSwappedDouble x = *reinterpret_cast<XMDSSwappedDouble*>(&in);\n"
+-					 "\t x.v = XMDSSwapInt64(x.v);\n"
+-					 "\t return *reinterpret_cast<double*>(&x);\n"
++					 "inline double XMDSSwapDouble(double __in) {\n"
++					 "\t XMDSSwappedDouble __x = *reinterpret_cast<XMDSSwappedDouble*>(&__in);\n"
++					 "\t __x.__v = XMDSSwapInt64(__x.__v);\n"
++					 "\t return *reinterpret_cast<double*>(&__x);\n"
+ 					 "}\n\n");
+ 	
+ 	xmdsElement::writeRoutines(outfile);

Added: packages/xmds/tags/1.5.3-2/debian/patches/50-preserve-prefix.patch
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.5.3-2/debian/patches/50-preserve-prefix.patch?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.5.3-2/debian/patches/50-preserve-prefix.patch (added)
+++ packages/xmds/tags/1.5.3-2/debian/patches/50-preserve-prefix.patch Wed Aug 10 07:51:31 2011
@@ -1,0 +1,21 @@
+diff -Nur xmds-1.5-3/configure.in xmds-1.5-3.new/configure.in
+--- xmds-1.5-3/configure.in	2006-09-19 06:46:59.000000000 +0200
++++ xmds-1.5-3.new/configure.in	2006-11-24 08:52:22.000000000 +0100
+@@ -57,17 +57,6 @@
+ 	    [USER_INCLUDE="."
+             USER_LIB="."])
+ 
+-dnl Just in case --prefix is used, handle the possibility
+-if test "$prefix" != "NONE"
+-then
+-	USER_INCLUDE="$prefix"
+-	USER_LIB="$prefix"
+-	bindir="$prefix"
+-	includedir="$prefix"
+-	libdir="$prefix"
+-	mandir="$prefix"
+-fi
+-
+ dnl Do we need extral libs passed to check for mpi? (eg -llam)
+ AC_ARG_WITH([mpi-libs],
+ 	    [  --with-mpi-libs          Extra libraries needed when checking for MPI],

Added: packages/xmds/tags/1.5.3-2/debian/rules
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.5.3-2/debian/rules?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.5.3-2/debian/rules (added)
+++ packages/xmds/tags/1.5.3-2/debian/rules Wed Aug 10 07:51:31 2011
@@ -1,0 +1,43 @@
+#!/usr/bin/make -f
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/autotools.mk
+include /usr/share/cdbs/1/rules/simple-patchsys.mk
+
+debdir  = $(CURDIR)/debian
+instdir = $(debdir)/xmds
+shrdir  = $(instdir)/usr/share
+expdir  = $(shrdir)/doc/xmds/examples
+mdir    = $(shrdir)/octave/site/m
+
+DEB_CONFIGURE_EXTRA_FLAGS = --enable-fftw3
+DEB_COMPRESS_EXCLUDE = .xmds
+DEB_AUTO_UPDATE_AUTOCONF = 1
+
+build/xmds::
+	# Add the appropriate fftw version to the *.xmds examples
+	test -d examples-fftw3 || mkdir examples-fftw3
+	cp examples/*.xmds examples/*dat examples-fftw3
+	perl -pi -e \
+	  '$$_.="\n  <fftw_version>3</fftw_version>\n" if /^<simulation>/' \
+	  examples-fftw3/*.xmds
+	# Run test
+	cp examples-fftw3/lorenz* source
+	( cd source ;						\
+	  make -f ../debian/Makefile-examples lorenz.m ;	\
+	  rm -f lorenz* )
+
+install/xmds::
+	for v in 2.1 2.9 ; do octave$$v-depends ; done
+
+binary-install/xmds::
+	# Move Octave file into the correct directory
+	mkdir -p $(mdir)
+	mv $(instdir)/usr/bin/loadxsil.m $(mdir)
+	chmod 644 $(mdir)/loadxsil.m
+
+	# Add Makefile to the examples directory
+	cp debian/Makefile-examples $(expdir)/Makefile
+
+clean::
+	rm -rf config.log examples-fftw3 source/lorenz.*

Propchange: packages/xmds/tags/1.5.3-2/debian/rules
------------------------------------------------------------------------------
    svn:executable = *

Added: packages/xmds/tags/1.5.3-2/debian/watch
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.5.3-2/debian/watch?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.5.3-2/debian/watch (added)
+++ packages/xmds/tags/1.5.3-2/debian/watch Wed Aug 10 07:51:31 2011
@@ -1,0 +1,3 @@
+version=3
+opts="uversionmangle=s/-/./" \
+  http://www.xmds.org/downloads.html .*/xmds-(.*)\.tar\.gz.*

Added: packages/xmds/tags/1.5.3-3/debian/Makefile-examples
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.5.3-3/debian/Makefile-examples?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.5.3-3/debian/Makefile-examples (added)
+++ packages/xmds/tags/1.5.3-3/debian/Makefile-examples Wed Aug 10 07:51:31 2011
@@ -1,0 +1,34 @@
+###  -*- make -*-
+### This file is part of the Debian xmds package
+### Copyright (C) 2006 Rafael Laboissiere
+### This file is relased under the GNU General Public License
+### NO WARRANTIES!
+
+### This makefile can be used to build and run the XMDS examples
+
+XMDS_FILES = $(shell ls *.xmds)
+RUN_FILES = $(patsubst %.xmds,%.run,$(XMDS_FILES))
+CC_FILES = $(patsubst %.xmds,%.cc,$(XMDS_FILES))
+XSIL_FILES = $(patsubst %.xmds,%.xsil,$(XMDS_FILES))
+M_FILES = $(patsubst %.xmds,%.xsil,$(XMDS_FILES))
+
+XMDS = xmds
+XSIL2GRAPHICS = xsil2graphics
+
+all: $(M_FILES)
+
+%.run: %.xmds
+	$(XMDS) $<
+	mv $(patsubst %.xmds,%,$<) $@
+
+%.xsil: %.run
+	./$<
+
+%.m: %.xsil
+	$(XSIL2GRAPHICS) $<
+
+clean:
+	rm -f *.run *.cc *.m *.xsil *.wisdom.fftw3
+
+.PRECIOUS: %.run %.xsil %.m
+.PHONY: all clean

Added: packages/xmds/tags/1.5.3-3/debian/README.Debian
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.5.3-3/debian/README.Debian?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.5.3-3/debian/README.Debian (added)
+++ packages/xmds/tags/1.5.3-3/debian/README.Debian Wed Aug 10 07:51:31 2011
@@ -1,0 +1,33 @@
+xmds for Debian
+---------------
+
+  This version of XMDS has been compiled against the fftw3 library, instead
+  of the default fftw2.  This means that the simulations will only work if
+  the following XML code is present in the *.xmds file:
+
+      <fftw_version>3</fftw_version>
+
+  inside the <simulation> target.
+
+  All examples included in the Debian package in directory
+  /usr/share/doc/xmds/examples have been changed accordingly.  To run one of
+  them and visualize the results, you can do, e.g.:
+
+      xmds /usr/share/doc/xmds/examples/nlse.xmds
+      ./nlse
+      xsil2graphics nlse.xsil
+      echo "nlse;mesh(z_1,t_1,pow_dens_1);print nlse.eps -color -deps" \
+           | octave -qf
+      gv nlse.eps
+
+  Notice that you must have one of the octave package (octave2.1 or
+  octave2.9) and the gv package installed in your system in order to run
+  the code above.
+
+  The following examples do not work, because they depend on MPI:
+
+      gaugeatomlaser.xmds
+      highdim.xmds
+      kubo.xmds
+
+ -- Rafael Laboissiere <rafael at debian.org>  Thu, 25 Nov 2006 10:10:09 +0100

Added: packages/xmds/tags/1.5.3-3/debian/changelog
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.5.3-3/debian/changelog?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.5.3-3/debian/changelog (added)
+++ packages/xmds/tags/1.5.3-3/debian/changelog Wed Aug 10 07:51:31 2011
@@ -1,0 +1,35 @@
+xmds (1.5.3-3) experimental; urgency=low
+
+  * debian/Makefile-examples: Introduce variables XMDS and XSIL2GRAPHICS
+  * debian/rules: Use the variables defined above in order to call the
+    appropriate programs at build time.
+
+  * debian/README.Debian: Added a not about the exmaples that do not work
+    because they depend on MPI
+
+ -- Rafael Laboissiere <rafael at debian.org>  Mon, 27 Nov 2006 20:10:19 +0100
+
+xmds (1.5.3-2) experimental; urgency=low
+
+  * First official release, uploaded to experimental because we are in the
+    middle of the etch "soft freeze" period
+
+  * Added patches:
+    - 50-add-lorenz-data.patch: Add file examples/lorenzInput.dat which is
+      missing in the tarball
+    - 50-make-examples-work.patch: Add patch for source/xmdssimulation.cc
+      taken from upstream CVS which makes all examples work (excluding the
+      ones that depend on MPI)
+
+  * Added a regression test for the package (lorenz.xmds example).  This
+    is done through the makefile debian/Makefile-examples, which is also
+    installed in the examples area.
+
+ -- Rafael Laboissiere <rafael at debian.org>  Sat, 25 Nov 2006 18:16:27 +0100
+
+xmds (1.5.3-1) not-released; urgency=low
+
+  * Initial release (Closes: #400312)
+
+ -- Christian T. Steigies <cts at debian.org>  Thu, 23 Nov 2006 21:48:44 +0100
+

Added: packages/xmds/tags/1.5.3-3/debian/compat
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.5.3-3/debian/compat?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.5.3-3/debian/compat (added)
+++ packages/xmds/tags/1.5.3-3/debian/compat Wed Aug 10 07:51:31 2011
@@ -1,0 +1,1 @@
+5

Added: packages/xmds/tags/1.5.3-3/debian/control
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.5.3-3/debian/control?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.5.3-3/debian/control (added)
+++ packages/xmds/tags/1.5.3-3/debian/control Wed Aug 10 07:51:31 2011
@@ -1,0 +1,22 @@
+Source: xmds
+Section: science
+Priority: optional
+Maintainer: Debian Scientific Computing Team <pkg-scicomp-devel at lists.alioth.debian.org>
+Uploaders: Christian T. Steigies <cts at debian.org>,
+ Rafael Laboissiere <rafael at debian.org>
+Build-Depends: cdbs, debhelper (>= 5), autotools-dev, fftw3-dev,
+ octave2.1-headers, octave2.9-headers, autoconf
+Standards-Version: 3.7.2
+
+Package: xmds
+Architecture: any
+Depends: ${shlibs:Depends}, fftw3
+Suggests: ${octave-2-9:Depends} | ${octave-2-1:Depends}
+Description: eXtensible multi-dimensional Simulator
+ XMDS is a code generator that integrates equations, from Ordinary
+ Differential Equations (ODEs) up to stochastic Partial Differential
+ Equations (PDEs). You write them down in human readable form in an
+ XML file, and it goes away and writes and compiles a C++ program that
+ integrates those equations as fast as it can possibly be done in your
+ architecture.
+

Added: packages/xmds/tags/1.5.3-3/debian/copyright
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.5.3-3/debian/copyright?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.5.3-3/debian/copyright (added)
+++ packages/xmds/tags/1.5.3-3/debian/copyright Wed Aug 10 07:51:31 2011
@@ -1,0 +1,49 @@
+This package was debianized by Christian T. Steigies <cts at debian.org>
+and Rafael Laboissiere <rafael at debian.org> on Thu, 23 Nov 2006 12:23:09 +0100.
+
+It was downloaded from http://www.xmds.org/downloads.html
+
+Upstream Authors: Paul Cochrane <cochrane at physics.uq.edu.au>
+                  Joseph Hope <Joseph.Hope at anu.edu.au>
+                  Peter Drummond <drummond at physics.uq.edu.au>
+
+
+Copyright:
+  2000-2004  Greg Collecutt, Joseph Hope and Paul Cochrane
+
+
+License:
+
+ XMDS is free software; you can redistribute it and/or
+ modify it under the terms of the GNU General Public License
+ as published by the Free Software Foundation; either version 2
+ of the License, or (at your option) any later version.
+
+ XMDS is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ GNU General Public License for more details.
+
+
+The Debian packaging is (C) 2006, Christian T. Steigies <cts at debian.org>
+and Rafael Laboissiere <rafael at debian.org>, and is licensed under the GPL,
+see `/usr/share/common-licenses/GPL'.
+
+Files with different copyright dates/holders (but also released under the
+GPL):
+
+    source/getopt_xmds.c:
+      Copyright (C) 1987,88,89,90,91,92,93,94,95,96,98,99,2000,2001
+      Free Software Foundation, Inc.
+
+    source/getopt_xmds1.c:
+     Copyright (C) 1987,88,89,90,91,92,93,94,96,97,98
+     Free Software Foundation, Inc.
+
+    source/getopt_xmds.h:
+      Copyright (C) 1989-1994, 1996-1999, 2001 Free Software Foundation, Inc.
+
+    ./source/getopt_xmds_init.c:
+      Copyright (C) 1997, 1998, 2001 Free Software Foundation, Inc.
+      This file is part of the GNU C Library.
+      Contributed by Ulrich Drepper <drepper at cygnus.com>, 1997.

Added: packages/xmds/tags/1.5.3-3/debian/docs
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.5.3-3/debian/docs?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.5.3-3/debian/docs (added)
+++ packages/xmds/tags/1.5.3-3/debian/docs Wed Aug 10 07:51:31 2011
@@ -1,0 +1,2 @@
+NEWS
+README

Added: packages/xmds/tags/1.5.3-3/debian/examples
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.5.3-3/debian/examples?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.5.3-3/debian/examples (added)
+++ packages/xmds/tags/1.5.3-3/debian/examples Wed Aug 10 07:51:31 2011
@@ -1,0 +1,2 @@
+examples-fftw3/*.xmds
+examples-fftw3/*.dat

Added: packages/xmds/tags/1.5.3-3/debian/patches/50-add-lorenz-data.patch
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.5.3-3/debian/patches/50-add-lorenz-data.patch?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.5.3-3/debian/patches/50-add-lorenz-data.patch (added)
+++ packages/xmds/tags/1.5.3-3/debian/patches/50-add-lorenz-data.patch Wed Aug 10 07:51:31 2011
@@ -1,0 +1,8 @@
+diff -Nur xmds-1.5-3/examples/lorenzInput.dat xmds-1.5-3.new/examples/lorenzInput.dat
+--- xmds-1.5-3/examples/lorenzInput.dat	1970-01-01 01:00:00.000000000 +0100
++++ xmds-1.5-3.new/examples/lorenzInput.dat	2006-11-25 17:51:19.000000000 +0100
+@@ -0,0 +1,3 @@
++3.0
++2.5
++1.6
+\ No newline at end of file

Added: packages/xmds/tags/1.5.3-3/debian/patches/50-either-fftw-or-fftw3.patch
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.5.3-3/debian/patches/50-either-fftw-or-fftw3.patch?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.5.3-3/debian/patches/50-either-fftw-or-fftw3.patch (added)
+++ packages/xmds/tags/1.5.3-3/debian/patches/50-either-fftw-or-fftw3.patch Wed Aug 10 07:51:31 2011
@@ -1,0 +1,82 @@
+diff -Nur xmds-1.5-3/configure.in xmds-1.5-3.new/configure.in
+--- xmds-1.5-3/configure.in	2006-11-25 00:17:41.000000000 +0100
++++ xmds-1.5-3.new/configure.in	2006-11-25 00:20:37.000000000 +0100
+@@ -232,34 +232,24 @@
+ AC_CHECK_SIZEOF(unsigned long)
+ # This defines SIZEOF_UNSIGNED_LONG, which is 4 for 32 bit and 8 for 64 bit
+ 
+-dnl We need to make sure that fftw exits, and that it is the right version
+-if test "x$FFTW_PATH" = "x"
++# check for fftw3 if we enabled its use
++if test x"$enable_fftw3" = "xyes"
+ then
+-AC_CHECK_HEADERS(["$FFTW_INCLUDE_PATH"fftw.h],[],
++
++  dnl We need to make sure that fftw exits, and that it is the right version
++  if test "x$FFTW_PATH" = "x"
++  then
++    AC_CHECK_HEADERS(["$FFTW_INCLUDE_PATH"fftw3.h],[],
+ 	    [echo "Eeek!  I can't find fftw.h!";
+             echo "It doesn't look like you'll be able to use fftw";
+             echo "Are you sure that --with-fftw-path is set correctly?"])
+-else
+-AC_CHECK_FILE(["$FFTW_INCLUDE_PATH"fftw.h],[],
++  else
++    AC_CHECK_FILE(["$FFTW_INCLUDE_PATH"fftw3.h],[],
+             [echo "Eeek!  I can't find fftw.h!";
+             echo "It doesn't look like you'll be able to use fftw";
+             echo "Are you sure that --with-fftw-path is set correctly?"])
+-fi
+-
+-
+-AC_CHECK_LIB([fftw], 
+-    [fftw_create_plan],
+-    [FFTW_LIBS="-lfftw"],
+-    [echo "Bummer!  fftw doesn't seem to work";
+-    echo "You need fftw to use xmds properly.";
+-    echo "Please download from http://www.fftw.org";
+-    echo "install it, and try configuring xmds again";
+-    exit],
+-    ["$FFTW_LIB_PATH"])
++  fi
+ 
+-# check for fftw3 if we enabled its use
+-if test x"$enable_fftw3" = "xyes"
+-then
+   AC_CHECK_LIB([fftw3],
+     [fftw_execute],
+     [FFTW3_LIBS="-lfftw3"],
+@@ -270,6 +260,33 @@
+      echo "fftw3 is available from http://www.fftw.org";
+      exit],
+      ["$FFTW3_LIB_PATH"])
++
++else
++
++  dnl We need to make sure that fftw exits, and that it is the right version
++  if test "x$FFTW_PATH" = "x"
++  then
++    AC_CHECK_HEADERS(["$FFTW_INCLUDE_PATH"fftw.h],[],
++	    [echo "Eeek!  I can't find fftw.h!";
++            echo "It doesn't look like you'll be able to use fftw";
++            echo "Are you sure that --with-fftw-path is set correctly?"])
++  else
++    AC_CHECK_FILE(["$FFTW_INCLUDE_PATH"fftw.h],[],
++            [echo "Eeek!  I can't find fftw.h!";
++            echo "It doesn't look like you'll be able to use fftw";
++            echo "Are you sure that --with-fftw-path is set correctly?"])
++  fi
++
++  AC_CHECK_LIB([fftw], 
++    [fftw_create_plan],
++    [FFTW_LIBS="-lfftw"],
++    [echo "Bummer!  fftw doesn't seem to work";
++    echo "You need fftw to use xmds properly.";
++    echo "Please download from http://www.fftw.org";
++    echo "install it, and try configuring xmds again";
++    exit],
++    ["$FFTW_LIB_PATH"])
++
+ fi
+ 
+ FFTW3_THREADLIBS=$THREADLIBS

Added: packages/xmds/tags/1.5.3-3/debian/patches/50-make-examples-work.patch
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.5.3-3/debian/patches/50-make-examples-work.patch?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.5.3-3/debian/patches/50-make-examples-work.patch (added)
+++ packages/xmds/tags/1.5.3-3/debian/patches/50-make-examples-work.patch Wed Aug 10 07:51:31 2011
@@ -1,0 +1,116 @@
+diff -Nur xmds-1.5-3/source/xmdssimulation.cc xmds-1.5-3.new/source/xmdssimulation.cc
+--- xmds-1.5-3/source/xmdssimulation.cc	2006-09-19 06:01:55.000000000 +0200
++++ xmds-1.5-3.new/source/xmdssimulation.cc	2006-11-25 13:44:04.000000000 +0100
+@@ -176,31 +176,20 @@
+   // ************************************
+   // find 'description'
+ 
+-  getAssignmentStrings(yourElement,"description",NOT_REQD,0,myXMLStringList);
+-
+-  // Storing the description can cause overflow errors if it is too long, so we'll
+-  // comment out the actual loading of the description, and put into the description
+-  // variable a note that it actually exists.
+-  if (myXMLStringList.size() > 0) {
+-    
+-    myParameters.description += "Description found.  See xmds file for the rest of it.";
+-    /*
+-    myParameters.description = *myXMLStringList.begin();
+-    myXMLStringList.pop_front();
+-    for(list<XMLString>::const_iterator pXMLString = myXMLStringList.begin(); pXMLString != myXMLStringList.end(); pXMLString++) {
+-      myParameters.description += " ";
+-      myParameters.description += *pXMLString;
+-    }
+-    */
+-    if(verbose()) {
+-      printf("simulation description = '%s'\n",myParameters.description.c_str());
+-    }
+-  }
+-  else {
++  const NodeList* descriptionElements = yourElement->getElementsByTagName("description", 0);
++  
++  if (descriptionElements->length()==0) {
+     // this warning may need to be taken out somehow, but I sort of want people
+     // to be nice little coders and document their code nicely, and this is
+     // one way to do it...  (PTC)
+     printf("No <description> tag found.  It's not required, but it's a Good Idea.\n");
++  } else if (descriptionElements->length()>1) {
++    printf("More than one <description> tag found... That's a little odd.\n");
++  } else {
++    myParameters.description = *descriptionElements->item(0)->textContent(0);
++    if(verbose()) {
++      printf("simulation description = '%s'\n",myParameters.description.c_str());
++    }
+   }
+ 
+   // ************************************
+@@ -1374,43 +1363,43 @@
+ 			"// The license is at: http://www.opensource.apple.com/apsl\n\n"
+ 			"// These functions have been renamed to avoid conflicts with the actual functions if an XMDS simulation\n"
+ 			"// is ever linked against the CoreFoundation framework\n"
+-			"inline uint32_t XMDSSwapInt32(uint32_t arg) {\n"
++			"inline uint32_t XMDSSwapInt32(uint32_t __arg) {\n"
+ 			"#if defined(__i386__) && defined(__GNUC__)\n"
+-			"\t __asm__(\"bswap %%0\" : \"+r\" (arg));\n"
+-			"\t return arg;\n"
++			"\t __asm__(\"bswap %%0\" : \"+r\" (__arg));\n"
++			"\t return __arg;\n"
+ 			"#elif defined(__ppc__) && defined(__GNUC__)\n"
+-			"\t uint32_t result;\n"
+-			"\t __asm__(\"lwbrx %%0,0,%%1\" : \"=r\" (result) : \"r\" (&arg), \"m\" (arg));\n"
+-			"\t return result;\n"
++			"\t uint32_t __result;\n"
++			"\t __asm__(\"lwbrx %%0,0,%%1\" : \"=r\" (__result) : \"r\" (&__arg), \"m\" (__arg));\n"
++			"\t return __result;\n"
+ 			"#else\n"
+-			"\t uint32_t result;\n"
+-			"\t result = ((arg & 0xFF) << 24) | ((arg & 0xFF00) << 8) | ((arg >> 8) & 0xFF00) | ((arg >> 24) & 0xFF);\n"
+-			"\t return result;\n"
++			"\t uint32_t __result;\n"
++			"\t __result = ((__arg & 0xFF) << 24) | ((__arg & 0xFF00) << 8) | ((__arg >> 8) & 0xFF00) | ((__arg >> 24) & 0xFF);\n"
++			"\t return __result;\n"
+ 			"#endif\n"
+ 			"}\n\n");
+ 	// 64-bit byte-swapper
+-	fprintf(outfile, "inline uint64_t XMDSSwapInt64(uint64_t arg) {\n"
++	fprintf(outfile, "inline uint64_t XMDSSwapInt64(uint64_t __arg) {\n"
+ 					 "\t union CFSwap {\n"
+-					 "\t\t uint64_t sv;\n"
+-					 "\t\t uint32_t ul[2];\n"
+-					 "\t } tmp, result;\n"
+-					 "\t tmp.sv = arg;\n"
+-					 "\t result.ul[0] = XMDSSwapInt32(tmp.ul[1]);\n"
+-					 "\t result.ul[1] = XMDSSwapInt32(tmp.ul[0]);\n"
+-					 "\t return result.sv;\n"
++					 "\t\t uint64_t __sv;\n"
++					 "\t\t uint32_t __ul[2];\n"
++					 "\t } __tmp, __result;\n"
++					 "\t __tmp.__sv = __arg;\n"
++					 "\t __result.__ul[0] = XMDSSwapInt32(__tmp.__ul[1]);\n"
++					 "\t __result.__ul[1] = XMDSSwapInt32(__tmp.__ul[0]);\n"
++					 "\t return __result.__sv;\n"
+ 					 "}\n\n");
+ 	
+-	fprintf(outfile, "typedef struct {uint32_t v;} XMDSSwappedFloat;\n"
+-					 "typedef struct {uint64_t v;} XMDSSwappedDouble;\n\n"
+-					 "inline float XMDSSwapFloat(float in) {\n"
+-					 "\t XMDSSwappedFloat x = *reinterpret_cast<XMDSSwappedFloat*>(&in);\n"
+-					 "\t x.v = XMDSSwapInt32(x.v);\n"
+-					 "\t return *reinterpret_cast<float*>(&x);\n"
++	fprintf(outfile, "typedef struct {uint32_t __v;} XMDSSwappedFloat;\n"
++					 "typedef struct {uint64_t __v;} XMDSSwappedDouble;\n\n"
++					 "inline float XMDSSwapFloat(float __in) {\n"
++					 "\t XMDSSwappedFloat __x = *reinterpret_cast<XMDSSwappedFloat*>(&__in);\n"
++					 "\t __x.__v = XMDSSwapInt32(__x.__v);\n"
++					 "\t return *reinterpret_cast<float*>(&__x);\n"
+ 					 "}\n\n"
+-					 "inline double XMDSSwapDouble(double in) {\n"
+-					 "\t XMDSSwappedDouble x = *reinterpret_cast<XMDSSwappedDouble*>(&in);\n"
+-					 "\t x.v = XMDSSwapInt64(x.v);\n"
+-					 "\t return *reinterpret_cast<double*>(&x);\n"
++					 "inline double XMDSSwapDouble(double __in) {\n"
++					 "\t XMDSSwappedDouble __x = *reinterpret_cast<XMDSSwappedDouble*>(&__in);\n"
++					 "\t __x.__v = XMDSSwapInt64(__x.__v);\n"
++					 "\t return *reinterpret_cast<double*>(&__x);\n"
+ 					 "}\n\n");
+ 	
+ 	xmdsElement::writeRoutines(outfile);

Added: packages/xmds/tags/1.5.3-3/debian/patches/50-preserve-prefix.patch
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.5.3-3/debian/patches/50-preserve-prefix.patch?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.5.3-3/debian/patches/50-preserve-prefix.patch (added)
+++ packages/xmds/tags/1.5.3-3/debian/patches/50-preserve-prefix.patch Wed Aug 10 07:51:31 2011
@@ -1,0 +1,21 @@
+diff -Nur xmds-1.5-3/configure.in xmds-1.5-3.new/configure.in
+--- xmds-1.5-3/configure.in	2006-09-19 06:46:59.000000000 +0200
++++ xmds-1.5-3.new/configure.in	2006-11-24 08:52:22.000000000 +0100
+@@ -57,17 +57,6 @@
+ 	    [USER_INCLUDE="."
+             USER_LIB="."])
+ 
+-dnl Just in case --prefix is used, handle the possibility
+-if test "$prefix" != "NONE"
+-then
+-	USER_INCLUDE="$prefix"
+-	USER_LIB="$prefix"
+-	bindir="$prefix"
+-	includedir="$prefix"
+-	libdir="$prefix"
+-	mandir="$prefix"
+-fi
+-
+ dnl Do we need extral libs passed to check for mpi? (eg -llam)
+ AC_ARG_WITH([mpi-libs],
+ 	    [  --with-mpi-libs          Extra libraries needed when checking for MPI],

Added: packages/xmds/tags/1.5.3-3/debian/rules
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.5.3-3/debian/rules?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.5.3-3/debian/rules (added)
+++ packages/xmds/tags/1.5.3-3/debian/rules Wed Aug 10 07:51:31 2011
@@ -1,0 +1,44 @@
+#!/usr/bin/make -f
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/autotools.mk
+include /usr/share/cdbs/1/rules/simple-patchsys.mk
+
+debdir  = $(CURDIR)/debian
+instdir = $(debdir)/xmds
+shrdir  = $(instdir)/usr/share
+expdir  = $(shrdir)/doc/xmds/examples
+mdir    = $(shrdir)/octave/site/m
+
+DEB_CONFIGURE_EXTRA_FLAGS = --enable-fftw3
+DEB_COMPRESS_EXCLUDE = .xmds
+DEB_AUTO_UPDATE_AUTOCONF = 1
+
+build/xmds::
+	# Add the appropriate fftw version to the *.xmds examples
+	test -d examples-fftw3 || mkdir examples-fftw3
+	cp examples/*.xmds examples/*dat examples-fftw3
+	perl -pi -e \
+	  '$$_.="\n  <fftw_version>3</fftw_version>\n" if /^<simulation>/' \
+	  examples-fftw3/*.xmds
+	# Run test
+	cp examples-fftw3/lorenz* source
+	( cd source ;						\
+	  $(MAKE) XMDS=./xmds XSIL2GRAPHICS=./xsil2graphics	\
+		-f ../debian/Makefile-examples lorenz.m ;	\
+	  rm -f lorenz* )
+
+install/xmds::
+	for v in 2.1 2.9 ; do octave$$v-depends ; done
+
+binary-install/xmds::
+	# Move Octave file into the correct directory
+	mkdir -p $(mdir)
+	mv $(instdir)/usr/bin/loadxsil.m $(mdir)
+	chmod 644 $(mdir)/loadxsil.m
+
+	# Add Makefile to the examples directory
+	cp debian/Makefile-examples $(expdir)/Makefile
+
+clean::
+	rm -rf config.log examples-fftw3 source/lorenz.*

Propchange: packages/xmds/tags/1.5.3-3/debian/rules
------------------------------------------------------------------------------
    svn:executable = *

Added: packages/xmds/tags/1.5.3-3/debian/watch
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.5.3-3/debian/watch?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.5.3-3/debian/watch (added)
+++ packages/xmds/tags/1.5.3-3/debian/watch Wed Aug 10 07:51:31 2011
@@ -1,0 +1,3 @@
+version=3
+opts="uversionmangle=s/-/./" \
+  http://www.xmds.org/downloads.html .*/xmds-(.*)\.tar\.gz.*

Added: packages/xmds/tags/1.5.3-4/debian/Makefile-examples
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.5.3-4/debian/Makefile-examples?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.5.3-4/debian/Makefile-examples (added)
+++ packages/xmds/tags/1.5.3-4/debian/Makefile-examples Wed Aug 10 07:51:31 2011
@@ -1,0 +1,34 @@
+###  -*- make -*-
+### This file is part of the Debian xmds package
+### Copyright (C) 2006 Rafael Laboissiere
+### This file is relased under the GNU General Public License
+### NO WARRANTIES!
+
+### This makefile can be used to build and run the XMDS examples
+
+XMDS_FILES = $(shell ls *.xmds)
+RUN_FILES = $(patsubst %.xmds,%.run,$(XMDS_FILES))
+CC_FILES = $(patsubst %.xmds,%.cc,$(XMDS_FILES))
+XSIL_FILES = $(patsubst %.xmds,%.xsil,$(XMDS_FILES))
+M_FILES = $(patsubst %.xmds,%.xsil,$(XMDS_FILES))
+
+XMDS = xmds
+XSIL2GRAPHICS = xsil2graphics
+
+all: $(M_FILES)
+
+%.run: %.xmds
+	$(XMDS) $<
+	mv $(patsubst %.xmds,%,$<) $@
+
+%.xsil: %.run
+	./$<
+
+%.m: %.xsil
+	$(XSIL2GRAPHICS) $<
+
+clean:
+	rm -f *.run *.cc *.m *.xsil *.wisdom.fftw3
+
+.PRECIOUS: %.run %.xsil %.m
+.PHONY: all clean

Added: packages/xmds/tags/1.5.3-4/debian/README.Debian
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.5.3-4/debian/README.Debian?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.5.3-4/debian/README.Debian (added)
+++ packages/xmds/tags/1.5.3-4/debian/README.Debian Wed Aug 10 07:51:31 2011
@@ -1,0 +1,33 @@
+xmds for Debian
+---------------
+
+  This version of XMDS has been compiled against the fftw3 library, instead
+  of the default fftw2.  This means that the simulations will only work if
+  the following XML code is present in the *.xmds file:
+
+      <fftw_version>3</fftw_version>
+
+  inside the <simulation> target.
+
+  All examples included in the Debian package in directory
+  /usr/share/doc/xmds/examples have been changed accordingly.  To run one of
+  them and visualize the results, you can do, e.g.:
+
+      xmds /usr/share/doc/xmds/examples/nlse.xmds
+      ./nlse
+      xsil2graphics nlse.xsil
+      echo "nlse;mesh(z_1,t_1,pow_dens_1);print nlse.eps -color -deps" \
+           | octave -qf
+      gv nlse.eps
+
+  Notice that you must have one of the octave package (octave2.1 or
+  octave2.9) and the gv package installed in your system in order to run
+  the code above.
+
+  The following examples do not work, because they depend on MPI:
+
+      gaugeatomlaser.xmds
+      highdim.xmds
+      kubo.xmds
+
+ -- Rafael Laboissiere <rafael at debian.org>  Thu, 25 Nov 2006 10:10:09 +0100

Added: packages/xmds/tags/1.5.3-4/debian/changelog
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.5.3-4/debian/changelog?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.5.3-4/debian/changelog (added)
+++ packages/xmds/tags/1.5.3-4/debian/changelog Wed Aug 10 07:51:31 2011
@@ -1,0 +1,41 @@
+xmds (1.5.3-4) experimental; urgency=low
+
+  * debian/rules: Avoid the double invocation of build/xmds rule
+
+ -- Rafael Laboissiere <rafael at debian.org>  Tue, 28 Nov 2006 22:33:54 +0100
+
+xmds (1.5.3-3) experimental; urgency=low
+
+  * debian/Makefile-examples: Introduce variables XMDS and XSIL2GRAPHICS
+  * debian/rules: Use the variables defined above in order to call the
+    appropriate programs at build time.
+
+  * debian/README.Debian: Added a not about the exmaples that do not work
+    because they depend on MPI
+
+ -- Rafael Laboissiere <rafael at debian.org>  Mon, 27 Nov 2006 20:10:19 +0100
+
+xmds (1.5.3-2) experimental; urgency=low
+
+  * First official release, uploaded to experimental because we are in the
+    middle of the etch "soft freeze" period
+
+  * Added patches:
+    - 50-add-lorenz-data.patch: Add file examples/lorenzInput.dat which is
+      missing in the tarball
+    - 50-make-examples-work.patch: Add patch for source/xmdssimulation.cc
+      taken from upstream CVS which makes all examples work (excluding the
+      ones that depend on MPI)
+
+  * Added a regression test for the package (lorenz.xmds example).  This
+    is done through the makefile debian/Makefile-examples, which is also
+    installed in the examples area.
+
+ -- Rafael Laboissiere <rafael at debian.org>  Sat, 25 Nov 2006 18:16:27 +0100
+
+xmds (1.5.3-1) not-released; urgency=low
+
+  * Initial release (Closes: #400312)
+
+ -- Christian T. Steigies <cts at debian.org>  Thu, 23 Nov 2006 21:48:44 +0100
+

Added: packages/xmds/tags/1.5.3-4/debian/compat
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.5.3-4/debian/compat?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.5.3-4/debian/compat (added)
+++ packages/xmds/tags/1.5.3-4/debian/compat Wed Aug 10 07:51:31 2011
@@ -1,0 +1,1 @@
+5

Added: packages/xmds/tags/1.5.3-4/debian/control
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.5.3-4/debian/control?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.5.3-4/debian/control (added)
+++ packages/xmds/tags/1.5.3-4/debian/control Wed Aug 10 07:51:31 2011
@@ -1,0 +1,22 @@
+Source: xmds
+Section: science
+Priority: optional
+Maintainer: Debian Scientific Computing Team <pkg-scicomp-devel at lists.alioth.debian.org>
+Uploaders: Christian T. Steigies <cts at debian.org>,
+ Rafael Laboissiere <rafael at debian.org>
+Build-Depends: cdbs, debhelper (>= 5), autotools-dev, fftw3-dev,
+ octave2.1-headers, octave2.9-headers, autoconf
+Standards-Version: 3.7.2
+
+Package: xmds
+Architecture: any
+Depends: ${shlibs:Depends}, fftw3
+Suggests: ${octave-2-9:Depends} | ${octave-2-1:Depends}
+Description: eXtensible multi-dimensional Simulator
+ XMDS is a code generator that integrates equations, from Ordinary
+ Differential Equations (ODEs) up to stochastic Partial Differential
+ Equations (PDEs). You write them down in human readable form in an
+ XML file, and it goes away and writes and compiles a C++ program that
+ integrates those equations as fast as it can possibly be done in your
+ architecture.
+

Added: packages/xmds/tags/1.5.3-4/debian/copyright
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.5.3-4/debian/copyright?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.5.3-4/debian/copyright (added)
+++ packages/xmds/tags/1.5.3-4/debian/copyright Wed Aug 10 07:51:31 2011
@@ -1,0 +1,49 @@
+This package was debianized by Christian T. Steigies <cts at debian.org>
+and Rafael Laboissiere <rafael at debian.org> on Thu, 23 Nov 2006 12:23:09 +0100.
+
+It was downloaded from http://www.xmds.org/downloads.html
+
+Upstream Authors: Paul Cochrane <cochrane at physics.uq.edu.au>
+                  Joseph Hope <Joseph.Hope at anu.edu.au>
+                  Peter Drummond <drummond at physics.uq.edu.au>
+
+
+Copyright:
+  2000-2004  Greg Collecutt, Joseph Hope and Paul Cochrane
+
+
+License:
+
+ XMDS is free software; you can redistribute it and/or
+ modify it under the terms of the GNU General Public License
+ as published by the Free Software Foundation; either version 2
+ of the License, or (at your option) any later version.
+
+ XMDS is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ GNU General Public License for more details.
+
+
+The Debian packaging is (C) 2006, Christian T. Steigies <cts at debian.org>
+and Rafael Laboissiere <rafael at debian.org>, and is licensed under the GPL,
+see `/usr/share/common-licenses/GPL'.
+
+Files with different copyright dates/holders (but also released under the
+GPL):
+
+    source/getopt_xmds.c:
+      Copyright (C) 1987,88,89,90,91,92,93,94,95,96,98,99,2000,2001
+      Free Software Foundation, Inc.
+
+    source/getopt_xmds1.c:
+     Copyright (C) 1987,88,89,90,91,92,93,94,96,97,98
+     Free Software Foundation, Inc.
+
+    source/getopt_xmds.h:
+      Copyright (C) 1989-1994, 1996-1999, 2001 Free Software Foundation, Inc.
+
+    ./source/getopt_xmds_init.c:
+      Copyright (C) 1997, 1998, 2001 Free Software Foundation, Inc.
+      This file is part of the GNU C Library.
+      Contributed by Ulrich Drepper <drepper at cygnus.com>, 1997.

Added: packages/xmds/tags/1.5.3-4/debian/docs
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.5.3-4/debian/docs?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.5.3-4/debian/docs (added)
+++ packages/xmds/tags/1.5.3-4/debian/docs Wed Aug 10 07:51:31 2011
@@ -1,0 +1,2 @@
+NEWS
+README

Added: packages/xmds/tags/1.5.3-4/debian/examples
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.5.3-4/debian/examples?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.5.3-4/debian/examples (added)
+++ packages/xmds/tags/1.5.3-4/debian/examples Wed Aug 10 07:51:31 2011
@@ -1,0 +1,2 @@
+examples-fftw3/*.xmds
+examples-fftw3/*.dat

Added: packages/xmds/tags/1.5.3-4/debian/patches/50-add-lorenz-data.patch
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.5.3-4/debian/patches/50-add-lorenz-data.patch?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.5.3-4/debian/patches/50-add-lorenz-data.patch (added)
+++ packages/xmds/tags/1.5.3-4/debian/patches/50-add-lorenz-data.patch Wed Aug 10 07:51:31 2011
@@ -1,0 +1,8 @@
+diff -Nur xmds-1.5-3/examples/lorenzInput.dat xmds-1.5-3.new/examples/lorenzInput.dat
+--- xmds-1.5-3/examples/lorenzInput.dat	1970-01-01 01:00:00.000000000 +0100
++++ xmds-1.5-3.new/examples/lorenzInput.dat	2006-11-25 17:51:19.000000000 +0100
+@@ -0,0 +1,3 @@
++3.0
++2.5
++1.6
+\ No newline at end of file

Added: packages/xmds/tags/1.5.3-4/debian/patches/50-either-fftw-or-fftw3.patch
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.5.3-4/debian/patches/50-either-fftw-or-fftw3.patch?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.5.3-4/debian/patches/50-either-fftw-or-fftw3.patch (added)
+++ packages/xmds/tags/1.5.3-4/debian/patches/50-either-fftw-or-fftw3.patch Wed Aug 10 07:51:31 2011
@@ -1,0 +1,82 @@
+diff -Nur xmds-1.5-3/configure.in xmds-1.5-3.new/configure.in
+--- xmds-1.5-3/configure.in	2006-11-25 00:17:41.000000000 +0100
++++ xmds-1.5-3.new/configure.in	2006-11-25 00:20:37.000000000 +0100
+@@ -232,34 +232,24 @@
+ AC_CHECK_SIZEOF(unsigned long)
+ # This defines SIZEOF_UNSIGNED_LONG, which is 4 for 32 bit and 8 for 64 bit
+ 
+-dnl We need to make sure that fftw exits, and that it is the right version
+-if test "x$FFTW_PATH" = "x"
++# check for fftw3 if we enabled its use
++if test x"$enable_fftw3" = "xyes"
+ then
+-AC_CHECK_HEADERS(["$FFTW_INCLUDE_PATH"fftw.h],[],
++
++  dnl We need to make sure that fftw exits, and that it is the right version
++  if test "x$FFTW_PATH" = "x"
++  then
++    AC_CHECK_HEADERS(["$FFTW_INCLUDE_PATH"fftw3.h],[],
+ 	    [echo "Eeek!  I can't find fftw.h!";
+             echo "It doesn't look like you'll be able to use fftw";
+             echo "Are you sure that --with-fftw-path is set correctly?"])
+-else
+-AC_CHECK_FILE(["$FFTW_INCLUDE_PATH"fftw.h],[],
++  else
++    AC_CHECK_FILE(["$FFTW_INCLUDE_PATH"fftw3.h],[],
+             [echo "Eeek!  I can't find fftw.h!";
+             echo "It doesn't look like you'll be able to use fftw";
+             echo "Are you sure that --with-fftw-path is set correctly?"])
+-fi
+-
+-
+-AC_CHECK_LIB([fftw], 
+-    [fftw_create_plan],
+-    [FFTW_LIBS="-lfftw"],
+-    [echo "Bummer!  fftw doesn't seem to work";
+-    echo "You need fftw to use xmds properly.";
+-    echo "Please download from http://www.fftw.org";
+-    echo "install it, and try configuring xmds again";
+-    exit],
+-    ["$FFTW_LIB_PATH"])
++  fi
+ 
+-# check for fftw3 if we enabled its use
+-if test x"$enable_fftw3" = "xyes"
+-then
+   AC_CHECK_LIB([fftw3],
+     [fftw_execute],
+     [FFTW3_LIBS="-lfftw3"],
+@@ -270,6 +260,33 @@
+      echo "fftw3 is available from http://www.fftw.org";
+      exit],
+      ["$FFTW3_LIB_PATH"])
++
++else
++
++  dnl We need to make sure that fftw exits, and that it is the right version
++  if test "x$FFTW_PATH" = "x"
++  then
++    AC_CHECK_HEADERS(["$FFTW_INCLUDE_PATH"fftw.h],[],
++	    [echo "Eeek!  I can't find fftw.h!";
++            echo "It doesn't look like you'll be able to use fftw";
++            echo "Are you sure that --with-fftw-path is set correctly?"])
++  else
++    AC_CHECK_FILE(["$FFTW_INCLUDE_PATH"fftw.h],[],
++            [echo "Eeek!  I can't find fftw.h!";
++            echo "It doesn't look like you'll be able to use fftw";
++            echo "Are you sure that --with-fftw-path is set correctly?"])
++  fi
++
++  AC_CHECK_LIB([fftw], 
++    [fftw_create_plan],
++    [FFTW_LIBS="-lfftw"],
++    [echo "Bummer!  fftw doesn't seem to work";
++    echo "You need fftw to use xmds properly.";
++    echo "Please download from http://www.fftw.org";
++    echo "install it, and try configuring xmds again";
++    exit],
++    ["$FFTW_LIB_PATH"])
++
+ fi
+ 
+ FFTW3_THREADLIBS=$THREADLIBS

Added: packages/xmds/tags/1.5.3-4/debian/patches/50-make-examples-work.patch
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.5.3-4/debian/patches/50-make-examples-work.patch?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.5.3-4/debian/patches/50-make-examples-work.patch (added)
+++ packages/xmds/tags/1.5.3-4/debian/patches/50-make-examples-work.patch Wed Aug 10 07:51:31 2011
@@ -1,0 +1,116 @@
+diff -Nur xmds-1.5-3/source/xmdssimulation.cc xmds-1.5-3.new/source/xmdssimulation.cc
+--- xmds-1.5-3/source/xmdssimulation.cc	2006-09-19 06:01:55.000000000 +0200
++++ xmds-1.5-3.new/source/xmdssimulation.cc	2006-11-25 13:44:04.000000000 +0100
+@@ -176,31 +176,20 @@
+   // ************************************
+   // find 'description'
+ 
+-  getAssignmentStrings(yourElement,"description",NOT_REQD,0,myXMLStringList);
+-
+-  // Storing the description can cause overflow errors if it is too long, so we'll
+-  // comment out the actual loading of the description, and put into the description
+-  // variable a note that it actually exists.
+-  if (myXMLStringList.size() > 0) {
+-    
+-    myParameters.description += "Description found.  See xmds file for the rest of it.";
+-    /*
+-    myParameters.description = *myXMLStringList.begin();
+-    myXMLStringList.pop_front();
+-    for(list<XMLString>::const_iterator pXMLString = myXMLStringList.begin(); pXMLString != myXMLStringList.end(); pXMLString++) {
+-      myParameters.description += " ";
+-      myParameters.description += *pXMLString;
+-    }
+-    */
+-    if(verbose()) {
+-      printf("simulation description = '%s'\n",myParameters.description.c_str());
+-    }
+-  }
+-  else {
++  const NodeList* descriptionElements = yourElement->getElementsByTagName("description", 0);
++  
++  if (descriptionElements->length()==0) {
+     // this warning may need to be taken out somehow, but I sort of want people
+     // to be nice little coders and document their code nicely, and this is
+     // one way to do it...  (PTC)
+     printf("No <description> tag found.  It's not required, but it's a Good Idea.\n");
++  } else if (descriptionElements->length()>1) {
++    printf("More than one <description> tag found... That's a little odd.\n");
++  } else {
++    myParameters.description = *descriptionElements->item(0)->textContent(0);
++    if(verbose()) {
++      printf("simulation description = '%s'\n",myParameters.description.c_str());
++    }
+   }
+ 
+   // ************************************
+@@ -1374,43 +1363,43 @@
+ 			"// The license is at: http://www.opensource.apple.com/apsl\n\n"
+ 			"// These functions have been renamed to avoid conflicts with the actual functions if an XMDS simulation\n"
+ 			"// is ever linked against the CoreFoundation framework\n"
+-			"inline uint32_t XMDSSwapInt32(uint32_t arg) {\n"
++			"inline uint32_t XMDSSwapInt32(uint32_t __arg) {\n"
+ 			"#if defined(__i386__) && defined(__GNUC__)\n"
+-			"\t __asm__(\"bswap %%0\" : \"+r\" (arg));\n"
+-			"\t return arg;\n"
++			"\t __asm__(\"bswap %%0\" : \"+r\" (__arg));\n"
++			"\t return __arg;\n"
+ 			"#elif defined(__ppc__) && defined(__GNUC__)\n"
+-			"\t uint32_t result;\n"
+-			"\t __asm__(\"lwbrx %%0,0,%%1\" : \"=r\" (result) : \"r\" (&arg), \"m\" (arg));\n"
+-			"\t return result;\n"
++			"\t uint32_t __result;\n"
++			"\t __asm__(\"lwbrx %%0,0,%%1\" : \"=r\" (__result) : \"r\" (&__arg), \"m\" (__arg));\n"
++			"\t return __result;\n"
+ 			"#else\n"
+-			"\t uint32_t result;\n"
+-			"\t result = ((arg & 0xFF) << 24) | ((arg & 0xFF00) << 8) | ((arg >> 8) & 0xFF00) | ((arg >> 24) & 0xFF);\n"
+-			"\t return result;\n"
++			"\t uint32_t __result;\n"
++			"\t __result = ((__arg & 0xFF) << 24) | ((__arg & 0xFF00) << 8) | ((__arg >> 8) & 0xFF00) | ((__arg >> 24) & 0xFF);\n"
++			"\t return __result;\n"
+ 			"#endif\n"
+ 			"}\n\n");
+ 	// 64-bit byte-swapper
+-	fprintf(outfile, "inline uint64_t XMDSSwapInt64(uint64_t arg) {\n"
++	fprintf(outfile, "inline uint64_t XMDSSwapInt64(uint64_t __arg) {\n"
+ 					 "\t union CFSwap {\n"
+-					 "\t\t uint64_t sv;\n"
+-					 "\t\t uint32_t ul[2];\n"
+-					 "\t } tmp, result;\n"
+-					 "\t tmp.sv = arg;\n"
+-					 "\t result.ul[0] = XMDSSwapInt32(tmp.ul[1]);\n"
+-					 "\t result.ul[1] = XMDSSwapInt32(tmp.ul[0]);\n"
+-					 "\t return result.sv;\n"
++					 "\t\t uint64_t __sv;\n"
++					 "\t\t uint32_t __ul[2];\n"
++					 "\t } __tmp, __result;\n"
++					 "\t __tmp.__sv = __arg;\n"
++					 "\t __result.__ul[0] = XMDSSwapInt32(__tmp.__ul[1]);\n"
++					 "\t __result.__ul[1] = XMDSSwapInt32(__tmp.__ul[0]);\n"
++					 "\t return __result.__sv;\n"
+ 					 "}\n\n");
+ 	
+-	fprintf(outfile, "typedef struct {uint32_t v;} XMDSSwappedFloat;\n"
+-					 "typedef struct {uint64_t v;} XMDSSwappedDouble;\n\n"
+-					 "inline float XMDSSwapFloat(float in) {\n"
+-					 "\t XMDSSwappedFloat x = *reinterpret_cast<XMDSSwappedFloat*>(&in);\n"
+-					 "\t x.v = XMDSSwapInt32(x.v);\n"
+-					 "\t return *reinterpret_cast<float*>(&x);\n"
++	fprintf(outfile, "typedef struct {uint32_t __v;} XMDSSwappedFloat;\n"
++					 "typedef struct {uint64_t __v;} XMDSSwappedDouble;\n\n"
++					 "inline float XMDSSwapFloat(float __in) {\n"
++					 "\t XMDSSwappedFloat __x = *reinterpret_cast<XMDSSwappedFloat*>(&__in);\n"
++					 "\t __x.__v = XMDSSwapInt32(__x.__v);\n"
++					 "\t return *reinterpret_cast<float*>(&__x);\n"
+ 					 "}\n\n"
+-					 "inline double XMDSSwapDouble(double in) {\n"
+-					 "\t XMDSSwappedDouble x = *reinterpret_cast<XMDSSwappedDouble*>(&in);\n"
+-					 "\t x.v = XMDSSwapInt64(x.v);\n"
+-					 "\t return *reinterpret_cast<double*>(&x);\n"
++					 "inline double XMDSSwapDouble(double __in) {\n"
++					 "\t XMDSSwappedDouble __x = *reinterpret_cast<XMDSSwappedDouble*>(&__in);\n"
++					 "\t __x.__v = XMDSSwapInt64(__x.__v);\n"
++					 "\t return *reinterpret_cast<double*>(&__x);\n"
+ 					 "}\n\n");
+ 	
+ 	xmdsElement::writeRoutines(outfile);

Added: packages/xmds/tags/1.5.3-4/debian/patches/50-preserve-prefix.patch
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.5.3-4/debian/patches/50-preserve-prefix.patch?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.5.3-4/debian/patches/50-preserve-prefix.patch (added)
+++ packages/xmds/tags/1.5.3-4/debian/patches/50-preserve-prefix.patch Wed Aug 10 07:51:31 2011
@@ -1,0 +1,21 @@
+diff -Nur xmds-1.5-3/configure.in xmds-1.5-3.new/configure.in
+--- xmds-1.5-3/configure.in	2006-09-19 06:46:59.000000000 +0200
++++ xmds-1.5-3.new/configure.in	2006-11-24 08:52:22.000000000 +0100
+@@ -57,17 +57,6 @@
+ 	    [USER_INCLUDE="."
+             USER_LIB="."])
+ 
+-dnl Just in case --prefix is used, handle the possibility
+-if test "$prefix" != "NONE"
+-then
+-	USER_INCLUDE="$prefix"
+-	USER_LIB="$prefix"
+-	bindir="$prefix"
+-	includedir="$prefix"
+-	libdir="$prefix"
+-	mandir="$prefix"
+-fi
+-
+ dnl Do we need extral libs passed to check for mpi? (eg -llam)
+ AC_ARG_WITH([mpi-libs],
+ 	    [  --with-mpi-libs          Extra libraries needed when checking for MPI],

Added: packages/xmds/tags/1.5.3-4/debian/rules
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.5.3-4/debian/rules?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.5.3-4/debian/rules (added)
+++ packages/xmds/tags/1.5.3-4/debian/rules Wed Aug 10 07:51:31 2011
@@ -1,0 +1,47 @@
+#!/usr/bin/make -f
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/autotools.mk
+include /usr/share/cdbs/1/rules/simple-patchsys.mk
+
+debdir  = $(CURDIR)/debian
+instdir = $(debdir)/xmds
+shrdir  = $(instdir)/usr/share
+expdir  = $(shrdir)/doc/xmds/examples
+mdir    = $(shrdir)/octave/site/m
+
+DEB_CONFIGURE_EXTRA_FLAGS = --enable-fftw3
+DEB_COMPRESS_EXCLUDE = .xmds
+DEB_AUTO_UPDATE_AUTOCONF = 1
+
+build/xmds:: make-examples-stamp
+make-examples-stamp:	
+	# Add the appropriate fftw version to the *.xmds examples
+	test -d examples-fftw3 || mkdir examples-fftw3
+	cp examples/*.xmds examples/*dat examples-fftw3
+	perl -pi -e \
+	  '$$_.="\n  <fftw_version>3</fftw_version>\n" if /^<simulation>/' \
+	  examples-fftw3/*.xmds
+	# Run test
+	cp examples-fftw3/lorenz* source
+	( cd source ;						\
+	  $(MAKE) XMDS=./xmds XSIL2GRAPHICS=./xsil2graphics	\
+		-f ../debian/Makefile-examples lorenz.m ;	\
+	  rm -f lorenz* )
+	touch make-examples-stamp
+
+install/xmds::
+	for v in 2.1 2.9 ; do octave$$v-depends ; done
+
+binary-install/xmds::
+	# Move Octave file into the correct directory
+	mkdir -p $(mdir)
+	mv $(instdir)/usr/bin/loadxsil.m $(mdir)
+	chmod 644 $(mdir)/loadxsil.m
+
+	# Add Makefile to the examples directory
+	cp debian/Makefile-examples $(expdir)/Makefile
+
+clean::
+	rm -rf config.log examples-fftw3 source/lorenz.* \
+		make-examples-stamp

Propchange: packages/xmds/tags/1.5.3-4/debian/rules
------------------------------------------------------------------------------
    svn:executable = *

Added: packages/xmds/tags/1.5.3-4/debian/watch
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.5.3-4/debian/watch?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.5.3-4/debian/watch (added)
+++ packages/xmds/tags/1.5.3-4/debian/watch Wed Aug 10 07:51:31 2011
@@ -1,0 +1,3 @@
+version=3
+opts="uversionmangle=s/-/./" \
+  http://www.xmds.org/downloads.html .*/xmds-(.*)\.tar\.gz.*

Added: packages/xmds/tags/1.5.3-5/debian/Makefile-examples
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.5.3-5/debian/Makefile-examples?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.5.3-5/debian/Makefile-examples (added)
+++ packages/xmds/tags/1.5.3-5/debian/Makefile-examples Wed Aug 10 07:51:31 2011
@@ -1,0 +1,34 @@
+###  -*- make -*-
+### This file is part of the Debian xmds package
+### Copyright (C) 2006 Rafael Laboissiere
+### This file is relased under the GNU General Public License
+### NO WARRANTIES!
+
+### This makefile can be used to build and run the XMDS examples
+
+XMDS_FILES = $(shell ls *.xmds)
+RUN_FILES = $(patsubst %.xmds,%.run,$(XMDS_FILES))
+CC_FILES = $(patsubst %.xmds,%.cc,$(XMDS_FILES))
+XSIL_FILES = $(patsubst %.xmds,%.xsil,$(XMDS_FILES))
+M_FILES = $(patsubst %.xmds,%.xsil,$(XMDS_FILES))
+
+XMDS = xmds
+XSIL2GRAPHICS = xsil2graphics
+
+all: $(M_FILES)
+
+%.run: %.xmds
+	$(XMDS) $<
+	mv $(patsubst %.xmds,%,$<) $@
+
+%.xsil: %.run
+	./$<
+
+%.m: %.xsil
+	$(XSIL2GRAPHICS) $<
+
+clean:
+	rm -f *.run *.cc *.m *.xsil *.wisdom.fftw3
+
+.PRECIOUS: %.run %.xsil %.m
+.PHONY: all clean

Added: packages/xmds/tags/1.5.3-5/debian/README.Debian
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.5.3-5/debian/README.Debian?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.5.3-5/debian/README.Debian (added)
+++ packages/xmds/tags/1.5.3-5/debian/README.Debian Wed Aug 10 07:51:31 2011
@@ -1,0 +1,25 @@
+xmds for Debian
+---------------
+
+  All examples shiped in the upstream distribution tarball are
+  included in the Debian package in the directory
+  /usr/share/doc/xmds/examples.  To run one of them and visualize the
+  results, you can do, e.g.:
+
+      xmds /usr/share/doc/xmds/examples/nlse.xmds
+      ./nlse
+      xsil2graphics nlse.xsil
+      echo "nlse;mesh(z_1,t_1,pow_dens_1);print nlse.eps -color -deps" \
+           | octave -qf
+      gv nlse.eps
+
+  Notice that you must have one of the octave package (octave2.1 or
+  octave2.9) and the gv package installed in your system in order to run
+  the code above.
+
+  The following examples do not work yet:
+
+      highdim.xmds
+      kubo.xmds
+
+ -- Rafael Laboissiere <rafael at debian.org>  Thu, 25 Nov 2006 10:10:09 +0100

Added: packages/xmds/tags/1.5.3-5/debian/changelog
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.5.3-5/debian/changelog?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.5.3-5/debian/changelog (added)
+++ packages/xmds/tags/1.5.3-5/debian/changelog Wed Aug 10 07:51:31 2011
@@ -1,0 +1,55 @@
+xmds (1.5.3-5) experimental; urgency=low
+
+  * debian/rules:
+    - Enable the use of MPI
+    - Do not path the examples for fftw3, since they work with fftw2
+  * debian/README.Debian: Updated according to the above
+  * debian/control:
+    - Build-depends on fftw-dev and libmpich1.0-dev
+    - Depends on fftw-dev, fft3-dev, and libmpich1.0-dev, otherwise the
+      xmds program won't work, since it needs the header files of those
+      packages
+
+ -- Rafael Laboissiere <rafael at debian.org>  Thu, 30 Nov 2006 03:54:42 +0100
+
+xmds (1.5.3-4) experimental; urgency=low
+
+  * debian/rules: Avoid the double invocation of build/xmds rule
+
+ -- Rafael Laboissiere <rafael at debian.org>  Tue, 28 Nov 2006 22:33:54 +0100
+
+xmds (1.5.3-3) experimental; urgency=low
+
+  * debian/Makefile-examples: Introduce variables XMDS and XSIL2GRAPHICS
+  * debian/rules: Use the variables defined above in order to call the
+    appropriate programs at build time.
+
+  * debian/README.Debian: Added a not about the exmaples that do not work
+    because they depend on MPI
+
+ -- Rafael Laboissiere <rafael at debian.org>  Mon, 27 Nov 2006 20:10:19 +0100
+
+xmds (1.5.3-2) experimental; urgency=low
+
+  * First official release, uploaded to experimental because we are in the
+    middle of the etch "soft freeze" period
+
+  * Added patches:
+    - 50-add-lorenz-data.patch: Add file examples/lorenzInput.dat which is
+      missing in the tarball
+    - 50-make-examples-work.patch: Add patch for source/xmdssimulation.cc
+      taken from upstream CVS which makes all examples work (excluding the
+      ones that depend on MPI)
+
+  * Added a regression test for the package (lorenz.xmds example).  This
+    is done through the makefile debian/Makefile-examples, which is also
+    installed in the examples area.
+
+ -- Rafael Laboissiere <rafael at debian.org>  Sat, 25 Nov 2006 18:16:27 +0100
+
+xmds (1.5.3-1) not-released; urgency=low
+
+  * Initial release (Closes: #400312)
+
+ -- Christian T. Steigies <cts at debian.org>  Thu, 23 Nov 2006 21:48:44 +0100
+

Added: packages/xmds/tags/1.5.3-5/debian/compat
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.5.3-5/debian/compat?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.5.3-5/debian/compat (added)
+++ packages/xmds/tags/1.5.3-5/debian/compat Wed Aug 10 07:51:31 2011
@@ -1,0 +1,1 @@
+5

Added: packages/xmds/tags/1.5.3-5/debian/control
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.5.3-5/debian/control?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.5.3-5/debian/control (added)
+++ packages/xmds/tags/1.5.3-5/debian/control Wed Aug 10 07:51:31 2011
@@ -1,0 +1,22 @@
+Source: xmds
+Section: science
+Priority: optional
+Maintainer: Debian Scientific Computing Team <pkg-scicomp-devel at lists.alioth.debian.org>
+Uploaders: Christian T. Steigies <cts at debian.org>,
+ Rafael Laboissiere <rafael at debian.org>
+Build-Depends: cdbs, debhelper (>= 5), autotools-dev, fftw-dev, fftw3-dev,
+ libmpich1.0-dev, octave2.1-headers, octave2.9-headers, autoconf
+Standards-Version: 3.7.2
+
+Package: xmds
+Architecture: any
+Depends: ${shlibs:Depends}, fftw-dev, fftw3-dev, libmpich1.0-dev
+Suggests: ${octave-2-9:Depends} | ${octave-2-1:Depends}
+Description: eXtensible multi-dimensional Simulator
+ XMDS is a code generator that integrates equations, from Ordinary
+ Differential Equations (ODEs) up to stochastic Partial Differential
+ Equations (PDEs). You write them down in human readable form in an
+ XML file, and it goes away and writes and compiles a C++ program that
+ integrates those equations as fast as it can possibly be done in your
+ architecture.
+

Added: packages/xmds/tags/1.5.3-5/debian/copyright
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.5.3-5/debian/copyright?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.5.3-5/debian/copyright (added)
+++ packages/xmds/tags/1.5.3-5/debian/copyright Wed Aug 10 07:51:31 2011
@@ -1,0 +1,49 @@
+This package was debianized by Christian T. Steigies <cts at debian.org>
+and Rafael Laboissiere <rafael at debian.org> on Thu, 23 Nov 2006 12:23:09 +0100.
+
+It was downloaded from http://www.xmds.org/downloads.html
+
+Upstream Authors: Paul Cochrane <cochrane at physics.uq.edu.au>
+                  Joseph Hope <Joseph.Hope at anu.edu.au>
+                  Peter Drummond <drummond at physics.uq.edu.au>
+
+
+Copyright:
+  2000-2004  Greg Collecutt, Joseph Hope and Paul Cochrane
+
+
+License:
+
+ XMDS is free software; you can redistribute it and/or
+ modify it under the terms of the GNU General Public License
+ as published by the Free Software Foundation; either version 2
+ of the License, or (at your option) any later version.
+
+ XMDS is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ GNU General Public License for more details.
+
+
+The Debian packaging is (C) 2006, Christian T. Steigies <cts at debian.org>
+and Rafael Laboissiere <rafael at debian.org>, and is licensed under the GPL,
+see `/usr/share/common-licenses/GPL'.
+
+Files with different copyright dates/holders (but also released under the
+GPL):
+
+    source/getopt_xmds.c:
+      Copyright (C) 1987,88,89,90,91,92,93,94,95,96,98,99,2000,2001
+      Free Software Foundation, Inc.
+
+    source/getopt_xmds1.c:
+     Copyright (C) 1987,88,89,90,91,92,93,94,96,97,98
+     Free Software Foundation, Inc.
+
+    source/getopt_xmds.h:
+      Copyright (C) 1989-1994, 1996-1999, 2001 Free Software Foundation, Inc.
+
+    ./source/getopt_xmds_init.c:
+      Copyright (C) 1997, 1998, 2001 Free Software Foundation, Inc.
+      This file is part of the GNU C Library.
+      Contributed by Ulrich Drepper <drepper at cygnus.com>, 1997.

Added: packages/xmds/tags/1.5.3-5/debian/docs
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.5.3-5/debian/docs?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.5.3-5/debian/docs (added)
+++ packages/xmds/tags/1.5.3-5/debian/docs Wed Aug 10 07:51:31 2011
@@ -1,0 +1,2 @@
+NEWS
+README

Added: packages/xmds/tags/1.5.3-5/debian/examples
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.5.3-5/debian/examples?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.5.3-5/debian/examples (added)
+++ packages/xmds/tags/1.5.3-5/debian/examples Wed Aug 10 07:51:31 2011
@@ -1,0 +1,2 @@
+examples/*.xmds
+examples/*.dat

Added: packages/xmds/tags/1.5.3-5/debian/patches/50-add-lorenz-data.patch
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.5.3-5/debian/patches/50-add-lorenz-data.patch?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.5.3-5/debian/patches/50-add-lorenz-data.patch (added)
+++ packages/xmds/tags/1.5.3-5/debian/patches/50-add-lorenz-data.patch Wed Aug 10 07:51:31 2011
@@ -1,0 +1,8 @@
+diff -Nur xmds-1.5-3/examples/lorenzInput.dat xmds-1.5-3.new/examples/lorenzInput.dat
+--- xmds-1.5-3/examples/lorenzInput.dat	1970-01-01 01:00:00.000000000 +0100
++++ xmds-1.5-3.new/examples/lorenzInput.dat	2006-11-25 17:51:19.000000000 +0100
+@@ -0,0 +1,3 @@
++3.0
++2.5
++1.6
+\ No newline at end of file

Added: packages/xmds/tags/1.5.3-5/debian/patches/50-make-examples-work.patch
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.5.3-5/debian/patches/50-make-examples-work.patch?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.5.3-5/debian/patches/50-make-examples-work.patch (added)
+++ packages/xmds/tags/1.5.3-5/debian/patches/50-make-examples-work.patch Wed Aug 10 07:51:31 2011
@@ -1,0 +1,116 @@
+diff -Nur xmds-1.5-3/source/xmdssimulation.cc xmds-1.5-3.new/source/xmdssimulation.cc
+--- xmds-1.5-3/source/xmdssimulation.cc	2006-09-19 06:01:55.000000000 +0200
++++ xmds-1.5-3.new/source/xmdssimulation.cc	2006-11-25 13:44:04.000000000 +0100
+@@ -176,31 +176,20 @@
+   // ************************************
+   // find 'description'
+ 
+-  getAssignmentStrings(yourElement,"description",NOT_REQD,0,myXMLStringList);
+-
+-  // Storing the description can cause overflow errors if it is too long, so we'll
+-  // comment out the actual loading of the description, and put into the description
+-  // variable a note that it actually exists.
+-  if (myXMLStringList.size() > 0) {
+-    
+-    myParameters.description += "Description found.  See xmds file for the rest of it.";
+-    /*
+-    myParameters.description = *myXMLStringList.begin();
+-    myXMLStringList.pop_front();
+-    for(list<XMLString>::const_iterator pXMLString = myXMLStringList.begin(); pXMLString != myXMLStringList.end(); pXMLString++) {
+-      myParameters.description += " ";
+-      myParameters.description += *pXMLString;
+-    }
+-    */
+-    if(verbose()) {
+-      printf("simulation description = '%s'\n",myParameters.description.c_str());
+-    }
+-  }
+-  else {
++  const NodeList* descriptionElements = yourElement->getElementsByTagName("description", 0);
++  
++  if (descriptionElements->length()==0) {
+     // this warning may need to be taken out somehow, but I sort of want people
+     // to be nice little coders and document their code nicely, and this is
+     // one way to do it...  (PTC)
+     printf("No <description> tag found.  It's not required, but it's a Good Idea.\n");
++  } else if (descriptionElements->length()>1) {
++    printf("More than one <description> tag found... That's a little odd.\n");
++  } else {
++    myParameters.description = *descriptionElements->item(0)->textContent(0);
++    if(verbose()) {
++      printf("simulation description = '%s'\n",myParameters.description.c_str());
++    }
+   }
+ 
+   // ************************************
+@@ -1374,43 +1363,43 @@
+ 			"// The license is at: http://www.opensource.apple.com/apsl\n\n"
+ 			"// These functions have been renamed to avoid conflicts with the actual functions if an XMDS simulation\n"
+ 			"// is ever linked against the CoreFoundation framework\n"
+-			"inline uint32_t XMDSSwapInt32(uint32_t arg) {\n"
++			"inline uint32_t XMDSSwapInt32(uint32_t __arg) {\n"
+ 			"#if defined(__i386__) && defined(__GNUC__)\n"
+-			"\t __asm__(\"bswap %%0\" : \"+r\" (arg));\n"
+-			"\t return arg;\n"
++			"\t __asm__(\"bswap %%0\" : \"+r\" (__arg));\n"
++			"\t return __arg;\n"
+ 			"#elif defined(__ppc__) && defined(__GNUC__)\n"
+-			"\t uint32_t result;\n"
+-			"\t __asm__(\"lwbrx %%0,0,%%1\" : \"=r\" (result) : \"r\" (&arg), \"m\" (arg));\n"
+-			"\t return result;\n"
++			"\t uint32_t __result;\n"
++			"\t __asm__(\"lwbrx %%0,0,%%1\" : \"=r\" (__result) : \"r\" (&__arg), \"m\" (__arg));\n"
++			"\t return __result;\n"
+ 			"#else\n"
+-			"\t uint32_t result;\n"
+-			"\t result = ((arg & 0xFF) << 24) | ((arg & 0xFF00) << 8) | ((arg >> 8) & 0xFF00) | ((arg >> 24) & 0xFF);\n"
+-			"\t return result;\n"
++			"\t uint32_t __result;\n"
++			"\t __result = ((__arg & 0xFF) << 24) | ((__arg & 0xFF00) << 8) | ((__arg >> 8) & 0xFF00) | ((__arg >> 24) & 0xFF);\n"
++			"\t return __result;\n"
+ 			"#endif\n"
+ 			"}\n\n");
+ 	// 64-bit byte-swapper
+-	fprintf(outfile, "inline uint64_t XMDSSwapInt64(uint64_t arg) {\n"
++	fprintf(outfile, "inline uint64_t XMDSSwapInt64(uint64_t __arg) {\n"
+ 					 "\t union CFSwap {\n"
+-					 "\t\t uint64_t sv;\n"
+-					 "\t\t uint32_t ul[2];\n"
+-					 "\t } tmp, result;\n"
+-					 "\t tmp.sv = arg;\n"
+-					 "\t result.ul[0] = XMDSSwapInt32(tmp.ul[1]);\n"
+-					 "\t result.ul[1] = XMDSSwapInt32(tmp.ul[0]);\n"
+-					 "\t return result.sv;\n"
++					 "\t\t uint64_t __sv;\n"
++					 "\t\t uint32_t __ul[2];\n"
++					 "\t } __tmp, __result;\n"
++					 "\t __tmp.__sv = __arg;\n"
++					 "\t __result.__ul[0] = XMDSSwapInt32(__tmp.__ul[1]);\n"
++					 "\t __result.__ul[1] = XMDSSwapInt32(__tmp.__ul[0]);\n"
++					 "\t return __result.__sv;\n"
+ 					 "}\n\n");
+ 	
+-	fprintf(outfile, "typedef struct {uint32_t v;} XMDSSwappedFloat;\n"
+-					 "typedef struct {uint64_t v;} XMDSSwappedDouble;\n\n"
+-					 "inline float XMDSSwapFloat(float in) {\n"
+-					 "\t XMDSSwappedFloat x = *reinterpret_cast<XMDSSwappedFloat*>(&in);\n"
+-					 "\t x.v = XMDSSwapInt32(x.v);\n"
+-					 "\t return *reinterpret_cast<float*>(&x);\n"
++	fprintf(outfile, "typedef struct {uint32_t __v;} XMDSSwappedFloat;\n"
++					 "typedef struct {uint64_t __v;} XMDSSwappedDouble;\n\n"
++					 "inline float XMDSSwapFloat(float __in) {\n"
++					 "\t XMDSSwappedFloat __x = *reinterpret_cast<XMDSSwappedFloat*>(&__in);\n"
++					 "\t __x.__v = XMDSSwapInt32(__x.__v);\n"
++					 "\t return *reinterpret_cast<float*>(&__x);\n"
+ 					 "}\n\n"
+-					 "inline double XMDSSwapDouble(double in) {\n"
+-					 "\t XMDSSwappedDouble x = *reinterpret_cast<XMDSSwappedDouble*>(&in);\n"
+-					 "\t x.v = XMDSSwapInt64(x.v);\n"
+-					 "\t return *reinterpret_cast<double*>(&x);\n"
++					 "inline double XMDSSwapDouble(double __in) {\n"
++					 "\t XMDSSwappedDouble __x = *reinterpret_cast<XMDSSwappedDouble*>(&__in);\n"
++					 "\t __x.__v = XMDSSwapInt64(__x.__v);\n"
++					 "\t return *reinterpret_cast<double*>(&__x);\n"
+ 					 "}\n\n");
+ 	
+ 	xmdsElement::writeRoutines(outfile);

Added: packages/xmds/tags/1.5.3-5/debian/patches/50-preserve-prefix.patch
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.5.3-5/debian/patches/50-preserve-prefix.patch?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.5.3-5/debian/patches/50-preserve-prefix.patch (added)
+++ packages/xmds/tags/1.5.3-5/debian/patches/50-preserve-prefix.patch Wed Aug 10 07:51:31 2011
@@ -1,0 +1,21 @@
+diff -Nur xmds-1.5-3/configure.in xmds-1.5-3.new/configure.in
+--- xmds-1.5-3/configure.in	2006-09-19 06:46:59.000000000 +0200
++++ xmds-1.5-3.new/configure.in	2006-11-24 08:52:22.000000000 +0100
+@@ -57,17 +57,6 @@
+ 	    [USER_INCLUDE="."
+             USER_LIB="."])
+ 
+-dnl Just in case --prefix is used, handle the possibility
+-if test "$prefix" != "NONE"
+-then
+-	USER_INCLUDE="$prefix"
+-	USER_LIB="$prefix"
+-	bindir="$prefix"
+-	includedir="$prefix"
+-	libdir="$prefix"
+-	mandir="$prefix"
+-fi
+-
+ dnl Do we need extral libs passed to check for mpi? (eg -llam)
+ AC_ARG_WITH([mpi-libs],
+ 	    [  --with-mpi-libs          Extra libraries needed when checking for MPI],

Added: packages/xmds/tags/1.5.3-5/debian/rules
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.5.3-5/debian/rules?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.5.3-5/debian/rules (added)
+++ packages/xmds/tags/1.5.3-5/debian/rules Wed Aug 10 07:51:31 2011
@@ -1,0 +1,44 @@
+#!/usr/bin/make -f
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/autotools.mk
+include /usr/share/cdbs/1/rules/simple-patchsys.mk
+
+debdir  = $(CURDIR)/debian
+instdir = $(debdir)/xmds
+shrdir  = $(instdir)/usr/share
+expdir  = $(shrdir)/doc/xmds/examples
+mdir    = $(shrdir)/octave/site/m
+
+DEB_CONFIGURE_EXTRA_FLAGS =		\
+	--enable-fftw3			\
+	--enable-mpi			\
+	--with-mpi-path=/usr/lib/mpich
+
+DEB_COMPRESS_EXCLUDE = .xmds
+DEB_AUTO_UPDATE_AUTOCONF = 1
+
+build/xmds:: make-examples-stamp
+make-examples-stamp:	
+	# Run test
+	cp examples/lorenz* source
+	( cd source ;						\
+	  $(MAKE) XMDS=./xmds XSIL2GRAPHICS=./xsil2graphics	\
+		-f ../debian/Makefile-examples lorenz.m ;	\
+	  rm -f lorenz* )
+	touch make-examples-stamp
+
+install/xmds::
+	for v in 2.1 2.9 ; do octave$$v-depends ; done
+
+binary-install/xmds::
+	# Move Octave file into the correct directory
+	mkdir -p $(mdir)
+	mv $(instdir)/usr/bin/loadxsil.m $(mdir)
+	chmod 644 $(mdir)/loadxsil.m
+
+	# Add Makefile to the examples directory
+	cp debian/Makefile-examples $(expdir)/Makefile
+
+clean::
+	rm -rf config.log source/lorenz.* make-examples-stamp

Propchange: packages/xmds/tags/1.5.3-5/debian/rules
------------------------------------------------------------------------------
    svn:executable = *

Added: packages/xmds/tags/1.5.3-5/debian/watch
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.5.3-5/debian/watch?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.5.3-5/debian/watch (added)
+++ packages/xmds/tags/1.5.3-5/debian/watch Wed Aug 10 07:51:31 2011
@@ -1,0 +1,3 @@
+version=3
+opts="uversionmangle=s/-/./" \
+  http://www.xmds.org/downloads.html .*/xmds-(.*)\.tar\.gz.*

Added: packages/xmds/tags/1.5.3-6/debian/Makefile-examples
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.5.3-6/debian/Makefile-examples?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.5.3-6/debian/Makefile-examples (added)
+++ packages/xmds/tags/1.5.3-6/debian/Makefile-examples Wed Aug 10 07:51:31 2011
@@ -1,0 +1,34 @@
+###  -*- make -*-
+### This file is part of the Debian xmds package
+### Copyright (C) 2006 Rafael Laboissiere
+### This file is relased under the GNU General Public License
+### NO WARRANTIES!
+
+### This makefile can be used to build and run the XMDS examples
+
+XMDS_FILES = $(shell ls *.xmds)
+RUN_FILES = $(patsubst %.xmds,%.run,$(XMDS_FILES))
+CC_FILES = $(patsubst %.xmds,%.cc,$(XMDS_FILES))
+XSIL_FILES = $(patsubst %.xmds,%.xsil,$(XMDS_FILES))
+M_FILES = $(patsubst %.xmds,%.xsil,$(XMDS_FILES))
+
+XMDS = xmds
+XSIL2GRAPHICS = xsil2graphics
+
+all: $(M_FILES)
+
+%.run: %.xmds
+	$(XMDS) $<
+	mv $(patsubst %.xmds,%,$<) $@
+
+%.xsil: %.run
+	./$<
+
+%.m: %.xsil
+	$(XSIL2GRAPHICS) $<
+
+clean:
+	rm -f *.run *.cc *.m *.xsil *.wisdom.fftw3
+
+.PRECIOUS: %.run %.xsil %.m
+.PHONY: all clean

Added: packages/xmds/tags/1.5.3-6/debian/README.Debian
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.5.3-6/debian/README.Debian?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.5.3-6/debian/README.Debian (added)
+++ packages/xmds/tags/1.5.3-6/debian/README.Debian Wed Aug 10 07:51:31 2011
@@ -1,0 +1,20 @@
+xmds for Debian
+---------------
+
+  All examples shiped in the upstream distribution tarball are
+  included in the Debian package in the directory
+  /usr/share/doc/xmds/examples.  To run one of them and visualize the
+  results, you can do, e.g.:
+
+      xmds /usr/share/doc/xmds/examples/nlse.xmds
+      ./nlse
+      xsil2graphics nlse.xsil
+      echo "nlse;mesh(z_1,t_1,pow_dens_1);print nlse.eps -color -deps" \
+           | octave -qf
+      gv nlse.eps
+
+  Notice that you must have one of the octave package (octave2.1 or
+  octave2.9) and the gv package installed in your system in order to run
+  the code above.
+
+ -- Rafael Laboissiere <rafael at debian.org>  Thu, 25 Nov 2006 10:10:09 +0100

Added: packages/xmds/tags/1.5.3-6/debian/changelog
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.5.3-6/debian/changelog?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.5.3-6/debian/changelog (added)
+++ packages/xmds/tags/1.5.3-6/debian/changelog Wed Aug 10 07:51:31 2011
@@ -1,0 +1,62 @@
+xmds (1.5.3-6) experimental; urgency=low
+
+  * debian/rules: Use mpicxx as the MPI compile; all the examples wor now
+  * debian/README.Debian: Updated accordingly
+
+ -- Rafael Laboissiere <rafael at debian.org>  Thu, 30 Nov 2006 14:29:44 +0100
+
+xmds (1.5.3-5) experimental; urgency=low
+
+  * debian/rules:
+    - Enable the use of MPI
+    - Do not path the examples for fftw3, since they work with fftw2
+  * debian/README.Debian: Updated according to the above
+  * debian/control:
+    - Build-depends on fftw-dev and libmpich1.0-dev
+    - Depends on fftw-dev, fft3-dev, and libmpich1.0-dev, otherwise the
+      xmds program won't work, since it needs the header files of those
+      packages
+
+ -- Rafael Laboissiere <rafael at debian.org>  Thu, 30 Nov 2006 03:54:42 +0100
+
+xmds (1.5.3-4) experimental; urgency=low
+
+  * debian/rules: Avoid the double invocation of build/xmds rule
+
+ -- Rafael Laboissiere <rafael at debian.org>  Tue, 28 Nov 2006 22:33:54 +0100
+
+xmds (1.5.3-3) experimental; urgency=low
+
+  * debian/Makefile-examples: Introduce variables XMDS and XSIL2GRAPHICS
+  * debian/rules: Use the variables defined above in order to call the
+    appropriate programs at build time.
+
+  * debian/README.Debian: Added a note about the examples that do not
+    work because they depend on MPI
+
+ -- Rafael Laboissiere <rafael at debian.org>  Mon, 27 Nov 2006 20:10:19 +0100
+
+xmds (1.5.3-2) experimental; urgency=low
+
+  * First official release, uploaded to experimental because we are in the
+    middle of the etch "soft freeze" period
+
+  * Added patches:
+    - 50-add-lorenz-data.patch: Add file examples/lorenzInput.dat which is
+      missing in the tarball
+    - 50-make-examples-work.patch: Add patch for source/xmdssimulation.cc
+      taken from upstream CVS which makes all examples work (excluding the
+      ones that depend on MPI)
+
+  * Added a regression test for the package (lorenz.xmds example).  This
+    is done through the makefile debian/Makefile-examples, which is also
+    installed in the examples area.
+
+ -- Rafael Laboissiere <rafael at debian.org>  Sat, 25 Nov 2006 18:16:27 +0100
+
+xmds (1.5.3-1) not-released; urgency=low
+
+  * Initial release (Closes: #400312)
+
+ -- Christian T. Steigies <cts at debian.org>  Thu, 23 Nov 2006 21:48:44 +0100
+

Added: packages/xmds/tags/1.5.3-6/debian/compat
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.5.3-6/debian/compat?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.5.3-6/debian/compat (added)
+++ packages/xmds/tags/1.5.3-6/debian/compat Wed Aug 10 07:51:31 2011
@@ -1,0 +1,1 @@
+5

Added: packages/xmds/tags/1.5.3-6/debian/control
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.5.3-6/debian/control?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.5.3-6/debian/control (added)
+++ packages/xmds/tags/1.5.3-6/debian/control Wed Aug 10 07:51:31 2011
@@ -1,0 +1,22 @@
+Source: xmds
+Section: science
+Priority: optional
+Maintainer: Debian Scientific Computing Team <pkg-scicomp-devel at lists.alioth.debian.org>
+Uploaders: Christian T. Steigies <cts at debian.org>,
+ Rafael Laboissiere <rafael at debian.org>
+Build-Depends: cdbs, debhelper (>= 5), autotools-dev, fftw-dev, fftw3-dev,
+ libmpich1.0-dev, octave2.1-headers, octave2.9-headers, autoconf
+Standards-Version: 3.7.2
+
+Package: xmds
+Architecture: any
+Depends: ${shlibs:Depends}, fftw-dev, fftw3-dev, libmpich1.0-dev
+Suggests: ${octave-2-9:Depends} | ${octave-2-1:Depends}
+Description: eXtensible multi-dimensional Simulator
+ XMDS is a code generator that integrates equations, from Ordinary
+ Differential Equations (ODEs) up to stochastic Partial Differential
+ Equations (PDEs). You write them down in human readable form in an
+ XML file, and it goes away and writes and compiles a C++ program that
+ integrates those equations as fast as it can possibly be done in your
+ architecture.
+

Added: packages/xmds/tags/1.5.3-6/debian/copyright
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.5.3-6/debian/copyright?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.5.3-6/debian/copyright (added)
+++ packages/xmds/tags/1.5.3-6/debian/copyright Wed Aug 10 07:51:31 2011
@@ -1,0 +1,49 @@
+This package was debianized by Christian T. Steigies <cts at debian.org>
+and Rafael Laboissiere <rafael at debian.org> on Thu, 23 Nov 2006 12:23:09 +0100.
+
+It was downloaded from http://www.xmds.org/downloads.html
+
+Upstream Authors: Paul Cochrane <cochrane at physics.uq.edu.au>
+                  Joseph Hope <Joseph.Hope at anu.edu.au>
+                  Peter Drummond <drummond at physics.uq.edu.au>
+
+
+Copyright:
+  2000-2004  Greg Collecutt, Joseph Hope and Paul Cochrane
+
+
+License:
+
+ XMDS is free software; you can redistribute it and/or
+ modify it under the terms of the GNU General Public License
+ as published by the Free Software Foundation; either version 2
+ of the License, or (at your option) any later version.
+
+ XMDS is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ GNU General Public License for more details.
+
+
+The Debian packaging is (C) 2006, Christian T. Steigies <cts at debian.org>
+and Rafael Laboissiere <rafael at debian.org>, and is licensed under the GPL,
+see `/usr/share/common-licenses/GPL'.
+
+Files with different copyright dates/holders (but also released under the
+GPL):
+
+    source/getopt_xmds.c:
+      Copyright (C) 1987,88,89,90,91,92,93,94,95,96,98,99,2000,2001
+      Free Software Foundation, Inc.
+
+    source/getopt_xmds1.c:
+     Copyright (C) 1987,88,89,90,91,92,93,94,96,97,98
+     Free Software Foundation, Inc.
+
+    source/getopt_xmds.h:
+      Copyright (C) 1989-1994, 1996-1999, 2001 Free Software Foundation, Inc.
+
+    ./source/getopt_xmds_init.c:
+      Copyright (C) 1997, 1998, 2001 Free Software Foundation, Inc.
+      This file is part of the GNU C Library.
+      Contributed by Ulrich Drepper <drepper at cygnus.com>, 1997.

Added: packages/xmds/tags/1.5.3-6/debian/docs
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.5.3-6/debian/docs?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.5.3-6/debian/docs (added)
+++ packages/xmds/tags/1.5.3-6/debian/docs Wed Aug 10 07:51:31 2011
@@ -1,0 +1,2 @@
+NEWS
+README

Added: packages/xmds/tags/1.5.3-6/debian/examples
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.5.3-6/debian/examples?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.5.3-6/debian/examples (added)
+++ packages/xmds/tags/1.5.3-6/debian/examples Wed Aug 10 07:51:31 2011
@@ -1,0 +1,2 @@
+examples/*.xmds
+examples/*.dat

Added: packages/xmds/tags/1.5.3-6/debian/patches/50-add-lorenz-data.patch
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.5.3-6/debian/patches/50-add-lorenz-data.patch?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.5.3-6/debian/patches/50-add-lorenz-data.patch (added)
+++ packages/xmds/tags/1.5.3-6/debian/patches/50-add-lorenz-data.patch Wed Aug 10 07:51:31 2011
@@ -1,0 +1,8 @@
+diff -Nur xmds-1.5-3/examples/lorenzInput.dat xmds-1.5-3.new/examples/lorenzInput.dat
+--- xmds-1.5-3/examples/lorenzInput.dat	1970-01-01 01:00:00.000000000 +0100
++++ xmds-1.5-3.new/examples/lorenzInput.dat	2006-11-25 17:51:19.000000000 +0100
+@@ -0,0 +1,3 @@
++3.0
++2.5
++1.6
+\ No newline at end of file

Added: packages/xmds/tags/1.5.3-6/debian/patches/50-make-examples-work.patch
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.5.3-6/debian/patches/50-make-examples-work.patch?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.5.3-6/debian/patches/50-make-examples-work.patch (added)
+++ packages/xmds/tags/1.5.3-6/debian/patches/50-make-examples-work.patch Wed Aug 10 07:51:31 2011
@@ -1,0 +1,116 @@
+diff -Nur xmds-1.5-3/source/xmdssimulation.cc xmds-1.5-3.new/source/xmdssimulation.cc
+--- xmds-1.5-3/source/xmdssimulation.cc	2006-09-19 06:01:55.000000000 +0200
++++ xmds-1.5-3.new/source/xmdssimulation.cc	2006-11-25 13:44:04.000000000 +0100
+@@ -176,31 +176,20 @@
+   // ************************************
+   // find 'description'
+ 
+-  getAssignmentStrings(yourElement,"description",NOT_REQD,0,myXMLStringList);
+-
+-  // Storing the description can cause overflow errors if it is too long, so we'll
+-  // comment out the actual loading of the description, and put into the description
+-  // variable a note that it actually exists.
+-  if (myXMLStringList.size() > 0) {
+-    
+-    myParameters.description += "Description found.  See xmds file for the rest of it.";
+-    /*
+-    myParameters.description = *myXMLStringList.begin();
+-    myXMLStringList.pop_front();
+-    for(list<XMLString>::const_iterator pXMLString = myXMLStringList.begin(); pXMLString != myXMLStringList.end(); pXMLString++) {
+-      myParameters.description += " ";
+-      myParameters.description += *pXMLString;
+-    }
+-    */
+-    if(verbose()) {
+-      printf("simulation description = '%s'\n",myParameters.description.c_str());
+-    }
+-  }
+-  else {
++  const NodeList* descriptionElements = yourElement->getElementsByTagName("description", 0);
++  
++  if (descriptionElements->length()==0) {
+     // this warning may need to be taken out somehow, but I sort of want people
+     // to be nice little coders and document their code nicely, and this is
+     // one way to do it...  (PTC)
+     printf("No <description> tag found.  It's not required, but it's a Good Idea.\n");
++  } else if (descriptionElements->length()>1) {
++    printf("More than one <description> tag found... That's a little odd.\n");
++  } else {
++    myParameters.description = *descriptionElements->item(0)->textContent(0);
++    if(verbose()) {
++      printf("simulation description = '%s'\n",myParameters.description.c_str());
++    }
+   }
+ 
+   // ************************************
+@@ -1374,43 +1363,43 @@
+ 			"// The license is at: http://www.opensource.apple.com/apsl\n\n"
+ 			"// These functions have been renamed to avoid conflicts with the actual functions if an XMDS simulation\n"
+ 			"// is ever linked against the CoreFoundation framework\n"
+-			"inline uint32_t XMDSSwapInt32(uint32_t arg) {\n"
++			"inline uint32_t XMDSSwapInt32(uint32_t __arg) {\n"
+ 			"#if defined(__i386__) && defined(__GNUC__)\n"
+-			"\t __asm__(\"bswap %%0\" : \"+r\" (arg));\n"
+-			"\t return arg;\n"
++			"\t __asm__(\"bswap %%0\" : \"+r\" (__arg));\n"
++			"\t return __arg;\n"
+ 			"#elif defined(__ppc__) && defined(__GNUC__)\n"
+-			"\t uint32_t result;\n"
+-			"\t __asm__(\"lwbrx %%0,0,%%1\" : \"=r\" (result) : \"r\" (&arg), \"m\" (arg));\n"
+-			"\t return result;\n"
++			"\t uint32_t __result;\n"
++			"\t __asm__(\"lwbrx %%0,0,%%1\" : \"=r\" (__result) : \"r\" (&__arg), \"m\" (__arg));\n"
++			"\t return __result;\n"
+ 			"#else\n"
+-			"\t uint32_t result;\n"
+-			"\t result = ((arg & 0xFF) << 24) | ((arg & 0xFF00) << 8) | ((arg >> 8) & 0xFF00) | ((arg >> 24) & 0xFF);\n"
+-			"\t return result;\n"
++			"\t uint32_t __result;\n"
++			"\t __result = ((__arg & 0xFF) << 24) | ((__arg & 0xFF00) << 8) | ((__arg >> 8) & 0xFF00) | ((__arg >> 24) & 0xFF);\n"
++			"\t return __result;\n"
+ 			"#endif\n"
+ 			"}\n\n");
+ 	// 64-bit byte-swapper
+-	fprintf(outfile, "inline uint64_t XMDSSwapInt64(uint64_t arg) {\n"
++	fprintf(outfile, "inline uint64_t XMDSSwapInt64(uint64_t __arg) {\n"
+ 					 "\t union CFSwap {\n"
+-					 "\t\t uint64_t sv;\n"
+-					 "\t\t uint32_t ul[2];\n"
+-					 "\t } tmp, result;\n"
+-					 "\t tmp.sv = arg;\n"
+-					 "\t result.ul[0] = XMDSSwapInt32(tmp.ul[1]);\n"
+-					 "\t result.ul[1] = XMDSSwapInt32(tmp.ul[0]);\n"
+-					 "\t return result.sv;\n"
++					 "\t\t uint64_t __sv;\n"
++					 "\t\t uint32_t __ul[2];\n"
++					 "\t } __tmp, __result;\n"
++					 "\t __tmp.__sv = __arg;\n"
++					 "\t __result.__ul[0] = XMDSSwapInt32(__tmp.__ul[1]);\n"
++					 "\t __result.__ul[1] = XMDSSwapInt32(__tmp.__ul[0]);\n"
++					 "\t return __result.__sv;\n"
+ 					 "}\n\n");
+ 	
+-	fprintf(outfile, "typedef struct {uint32_t v;} XMDSSwappedFloat;\n"
+-					 "typedef struct {uint64_t v;} XMDSSwappedDouble;\n\n"
+-					 "inline float XMDSSwapFloat(float in) {\n"
+-					 "\t XMDSSwappedFloat x = *reinterpret_cast<XMDSSwappedFloat*>(&in);\n"
+-					 "\t x.v = XMDSSwapInt32(x.v);\n"
+-					 "\t return *reinterpret_cast<float*>(&x);\n"
++	fprintf(outfile, "typedef struct {uint32_t __v;} XMDSSwappedFloat;\n"
++					 "typedef struct {uint64_t __v;} XMDSSwappedDouble;\n\n"
++					 "inline float XMDSSwapFloat(float __in) {\n"
++					 "\t XMDSSwappedFloat __x = *reinterpret_cast<XMDSSwappedFloat*>(&__in);\n"
++					 "\t __x.__v = XMDSSwapInt32(__x.__v);\n"
++					 "\t return *reinterpret_cast<float*>(&__x);\n"
+ 					 "}\n\n"
+-					 "inline double XMDSSwapDouble(double in) {\n"
+-					 "\t XMDSSwappedDouble x = *reinterpret_cast<XMDSSwappedDouble*>(&in);\n"
+-					 "\t x.v = XMDSSwapInt64(x.v);\n"
+-					 "\t return *reinterpret_cast<double*>(&x);\n"
++					 "inline double XMDSSwapDouble(double __in) {\n"
++					 "\t XMDSSwappedDouble __x = *reinterpret_cast<XMDSSwappedDouble*>(&__in);\n"
++					 "\t __x.__v = XMDSSwapInt64(__x.__v);\n"
++					 "\t return *reinterpret_cast<double*>(&__x);\n"
+ 					 "}\n\n");
+ 	
+ 	xmdsElement::writeRoutines(outfile);

Added: packages/xmds/tags/1.5.3-6/debian/patches/50-preserve-prefix.patch
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.5.3-6/debian/patches/50-preserve-prefix.patch?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.5.3-6/debian/patches/50-preserve-prefix.patch (added)
+++ packages/xmds/tags/1.5.3-6/debian/patches/50-preserve-prefix.patch Wed Aug 10 07:51:31 2011
@@ -1,0 +1,21 @@
+diff -Nur xmds-1.5-3/configure.in xmds-1.5-3.new/configure.in
+--- xmds-1.5-3/configure.in	2006-09-19 06:46:59.000000000 +0200
++++ xmds-1.5-3.new/configure.in	2006-11-24 08:52:22.000000000 +0100
+@@ -57,17 +57,6 @@
+ 	    [USER_INCLUDE="."
+             USER_LIB="."])
+ 
+-dnl Just in case --prefix is used, handle the possibility
+-if test "$prefix" != "NONE"
+-then
+-	USER_INCLUDE="$prefix"
+-	USER_LIB="$prefix"
+-	bindir="$prefix"
+-	includedir="$prefix"
+-	libdir="$prefix"
+-	mandir="$prefix"
+-fi
+-
+ dnl Do we need extral libs passed to check for mpi? (eg -llam)
+ AC_ARG_WITH([mpi-libs],
+ 	    [  --with-mpi-libs          Extra libraries needed when checking for MPI],

Added: packages/xmds/tags/1.5.3-6/debian/rules
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.5.3-6/debian/rules?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.5.3-6/debian/rules (added)
+++ packages/xmds/tags/1.5.3-6/debian/rules Wed Aug 10 07:51:31 2011
@@ -1,0 +1,45 @@
+#!/usr/bin/make -f
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/autotools.mk
+include /usr/share/cdbs/1/rules/simple-patchsys.mk
+
+debdir  = $(CURDIR)/debian
+instdir = $(debdir)/xmds
+shrdir  = $(instdir)/usr/share
+expdir  = $(shrdir)/doc/xmds/examples
+mdir    = $(shrdir)/octave/site/m
+
+DEB_CONFIGURE_EXTRA_FLAGS =		\
+	--enable-fftw3			\
+	--enable-mpi			\
+	--with-mpi-path=/usr/lib/mpich	\
+	--with-mpi-compiler=mpicxx	
+
+DEB_COMPRESS_EXCLUDE = .xmds
+DEB_AUTO_UPDATE_AUTOCONF = 1
+
+build/xmds:: make-examples-stamp
+make-examples-stamp:	
+	# Run test
+	cp examples/lorenz* source
+	( cd source ;						\
+	  $(MAKE) XMDS=./xmds XSIL2GRAPHICS=./xsil2graphics	\
+		-f ../debian/Makefile-examples lorenz.m ;	\
+	  rm -f lorenz* )
+	touch make-examples-stamp
+
+install/xmds::
+	for v in 2.1 2.9 ; do octave$$v-depends ; done
+
+binary-install/xmds::
+	# Move Octave file into the correct directory
+	mkdir -p $(mdir)
+	mv $(instdir)/usr/bin/loadxsil.m $(mdir)
+	chmod 644 $(mdir)/loadxsil.m
+
+	# Add Makefile to the examples directory
+	cp debian/Makefile-examples $(expdir)/Makefile
+
+clean::
+	rm -rf config.log source/lorenz.* make-examples-stamp

Propchange: packages/xmds/tags/1.5.3-6/debian/rules
------------------------------------------------------------------------------
    svn:executable = *

Added: packages/xmds/tags/1.5.3-6/debian/watch
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.5.3-6/debian/watch?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.5.3-6/debian/watch (added)
+++ packages/xmds/tags/1.5.3-6/debian/watch Wed Aug 10 07:51:31 2011
@@ -1,0 +1,3 @@
+version=3
+opts="uversionmangle=s/-/./" \
+  http://www.xmds.org/downloads.html .*/xmds-(.*)\.tar\.gz.*

Added: packages/xmds/tags/1.5.3-7/debian/Makefile-examples
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.5.3-7/debian/Makefile-examples?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.5.3-7/debian/Makefile-examples (added)
+++ packages/xmds/tags/1.5.3-7/debian/Makefile-examples Wed Aug 10 07:51:31 2011
@@ -1,0 +1,34 @@
+###  -*- make -*-
+### This file is part of the Debian xmds package
+### Copyright (C) 2006 Rafael Laboissiere
+### This file is relased under the GNU General Public License
+### NO WARRANTIES!
+
+### This makefile can be used to build and run the XMDS examples
+
+XMDS_FILES = $(shell ls *.xmds)
+RUN_FILES = $(patsubst %.xmds,%.run,$(XMDS_FILES))
+CC_FILES = $(patsubst %.xmds,%.cc,$(XMDS_FILES))
+XSIL_FILES = $(patsubst %.xmds,%.xsil,$(XMDS_FILES))
+M_FILES = $(patsubst %.xmds,%.xsil,$(XMDS_FILES))
+
+XMDS = xmds
+XSIL2GRAPHICS = xsil2graphics
+
+all: $(M_FILES)
+
+%.run: %.xmds
+	$(XMDS) $<
+	mv $(patsubst %.xmds,%,$<) $@
+
+%.xsil: %.run
+	./$<
+
+%.m: %.xsil
+	$(XSIL2GRAPHICS) $<
+
+clean:
+	rm -f *.run *.cc *.m *.xsil *.wisdom.fftw3
+
+.PRECIOUS: %.run %.xsil %.m
+.PHONY: all clean

Added: packages/xmds/tags/1.5.3-7/debian/README.Debian
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.5.3-7/debian/README.Debian?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.5.3-7/debian/README.Debian (added)
+++ packages/xmds/tags/1.5.3-7/debian/README.Debian Wed Aug 10 07:51:31 2011
@@ -1,0 +1,20 @@
+xmds for Debian
+---------------
+
+  All examples shiped in the upstream distribution tarball are
+  included in the Debian package in the directory
+  /usr/share/doc/xmds/examples.  To run one of them and visualize the
+  results, you can do, e.g.:
+
+      xmds /usr/share/doc/xmds/examples/nlse.xmds
+      ./nlse
+      xsil2graphics nlse.xsil
+      echo "nlse;mesh(z_1,t_1,pow_dens_1);print nlse.eps -color -deps" \
+           | octave -qf
+      gv nlse.eps
+
+  Notice that you must have one of the octave package (octave2.1 or
+  octave2.9) and the gv package installed in your system in order to run
+  the code above.
+
+ -- Rafael Laboissiere <rafael at debian.org>  Thu, 25 Nov 2006 10:10:09 +0100

Added: packages/xmds/tags/1.5.3-7/debian/changelog
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.5.3-7/debian/changelog?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.5.3-7/debian/changelog (added)
+++ packages/xmds/tags/1.5.3-7/debian/changelog Wed Aug 10 07:51:31 2011
@@ -1,0 +1,68 @@
+xmds (1.5.3-7) unstable; urgency=low
+
+  * First upload to unstable
+
+ -- Rafael Laboissiere <rafael at debian.org>  Wed, 31 Jan 2007 23:19:38 +0100
+
+xmds (1.5.3-6) experimental; urgency=low
+
+  * debian/rules: Use mpicxx as the MPI compile; all the examples wor now
+  * debian/README.Debian: Updated accordingly
+
+ -- Rafael Laboissiere <rafael at debian.org>  Thu, 30 Nov 2006 14:29:44 +0100
+
+xmds (1.5.3-5) experimental; urgency=low
+
+  * debian/rules:
+    - Enable the use of MPI
+    - Do not path the examples for fftw3, since they work with fftw2
+  * debian/README.Debian: Updated according to the above
+  * debian/control:
+    - Build-depends on fftw-dev and libmpich1.0-dev
+    - Depends on fftw-dev, fft3-dev, and libmpich1.0-dev, otherwise the
+      xmds program won't work, since it needs the header files of those
+      packages
+
+ -- Rafael Laboissiere <rafael at debian.org>  Thu, 30 Nov 2006 03:54:42 +0100
+
+xmds (1.5.3-4) experimental; urgency=low
+
+  * debian/rules: Avoid the double invocation of build/xmds rule
+
+ -- Rafael Laboissiere <rafael at debian.org>  Tue, 28 Nov 2006 22:33:54 +0100
+
+xmds (1.5.3-3) experimental; urgency=low
+
+  * debian/Makefile-examples: Introduce variables XMDS and XSIL2GRAPHICS
+  * debian/rules: Use the variables defined above in order to call the
+    appropriate programs at build time.
+
+  * debian/README.Debian: Added a note about the examples that do not
+    work because they depend on MPI
+
+ -- Rafael Laboissiere <rafael at debian.org>  Mon, 27 Nov 2006 20:10:19 +0100
+
+xmds (1.5.3-2) experimental; urgency=low
+
+  * First official release, uploaded to experimental because we are in the
+    middle of the etch "soft freeze" period
+
+  * Added patches:
+    - 50-add-lorenz-data.patch: Add file examples/lorenzInput.dat which is
+      missing in the tarball
+    - 50-make-examples-work.patch: Add patch for source/xmdssimulation.cc
+      taken from upstream CVS which makes all examples work (excluding the
+      ones that depend on MPI)
+
+  * Added a regression test for the package (lorenz.xmds example).  This
+    is done through the makefile debian/Makefile-examples, which is also
+    installed in the examples area.
+
+ -- Rafael Laboissiere <rafael at debian.org>  Sat, 25 Nov 2006 18:16:27 +0100
+
+xmds (1.5.3-1) not-released; urgency=low
+
+  * Initial release (Closes: #400312)
+
+ -- Christian T. Steigies <cts at debian.org>  Thu, 23 Nov 2006 21:48:44 +0100
+

Added: packages/xmds/tags/1.5.3-7/debian/compat
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.5.3-7/debian/compat?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.5.3-7/debian/compat (added)
+++ packages/xmds/tags/1.5.3-7/debian/compat Wed Aug 10 07:51:31 2011
@@ -1,0 +1,1 @@
+5

Added: packages/xmds/tags/1.5.3-7/debian/control
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.5.3-7/debian/control?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.5.3-7/debian/control (added)
+++ packages/xmds/tags/1.5.3-7/debian/control Wed Aug 10 07:51:31 2011
@@ -1,0 +1,22 @@
+Source: xmds
+Section: science
+Priority: optional
+Maintainer: Debian Scientific Computing Team <pkg-scicomp-devel at lists.alioth.debian.org>
+Uploaders: Christian T. Steigies <cts at debian.org>,
+ Rafael Laboissiere <rafael at debian.org>
+Build-Depends: cdbs, debhelper (>= 5), autotools-dev, fftw-dev, fftw3-dev,
+ libmpich1.0-dev, octave2.1-headers, octave2.9-headers, autoconf
+Standards-Version: 3.7.2
+
+Package: xmds
+Architecture: any
+Depends: ${shlibs:Depends}, fftw-dev, fftw3-dev, libmpich1.0-dev
+Suggests: ${octave-2-9:Depends} | ${octave-2-1:Depends}
+Description: eXtensible multi-dimensional Simulator
+ XMDS is a code generator that integrates equations, from Ordinary
+ Differential Equations (ODEs) up to stochastic Partial Differential
+ Equations (PDEs). You write them down in human readable form in an
+ XML file, and it goes away and writes and compiles a C++ program that
+ integrates those equations as fast as it can possibly be done in your
+ architecture.
+

Added: packages/xmds/tags/1.5.3-7/debian/copyright
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.5.3-7/debian/copyright?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.5.3-7/debian/copyright (added)
+++ packages/xmds/tags/1.5.3-7/debian/copyright Wed Aug 10 07:51:31 2011
@@ -1,0 +1,49 @@
+This package was debianized by Christian T. Steigies <cts at debian.org>
+and Rafael Laboissiere <rafael at debian.org> on Thu, 23 Nov 2006 12:23:09 +0100.
+
+It was downloaded from http://www.xmds.org/downloads.html
+
+Upstream Authors: Paul Cochrane <cochrane at physics.uq.edu.au>
+                  Joseph Hope <Joseph.Hope at anu.edu.au>
+                  Peter Drummond <drummond at physics.uq.edu.au>
+
+
+Copyright:
+  2000-2004  Greg Collecutt, Joseph Hope and Paul Cochrane
+
+
+License:
+
+ XMDS is free software; you can redistribute it and/or
+ modify it under the terms of the GNU General Public License
+ as published by the Free Software Foundation; either version 2
+ of the License, or (at your option) any later version.
+
+ XMDS is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ GNU General Public License for more details.
+
+
+The Debian packaging is (C) 2006, Christian T. Steigies <cts at debian.org>
+and Rafael Laboissiere <rafael at debian.org>, and is licensed under the GPL,
+see `/usr/share/common-licenses/GPL'.
+
+Files with different copyright dates/holders (but also released under the
+GPL):
+
+    source/getopt_xmds.c:
+      Copyright (C) 1987,88,89,90,91,92,93,94,95,96,98,99,2000,2001
+      Free Software Foundation, Inc.
+
+    source/getopt_xmds1.c:
+     Copyright (C) 1987,88,89,90,91,92,93,94,96,97,98
+     Free Software Foundation, Inc.
+
+    source/getopt_xmds.h:
+      Copyright (C) 1989-1994, 1996-1999, 2001 Free Software Foundation, Inc.
+
+    ./source/getopt_xmds_init.c:
+      Copyright (C) 1997, 1998, 2001 Free Software Foundation, Inc.
+      This file is part of the GNU C Library.
+      Contributed by Ulrich Drepper <drepper at cygnus.com>, 1997.

Added: packages/xmds/tags/1.5.3-7/debian/docs
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.5.3-7/debian/docs?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.5.3-7/debian/docs (added)
+++ packages/xmds/tags/1.5.3-7/debian/docs Wed Aug 10 07:51:31 2011
@@ -1,0 +1,2 @@
+NEWS
+README

Added: packages/xmds/tags/1.5.3-7/debian/examples
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.5.3-7/debian/examples?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.5.3-7/debian/examples (added)
+++ packages/xmds/tags/1.5.3-7/debian/examples Wed Aug 10 07:51:31 2011
@@ -1,0 +1,2 @@
+examples/*.xmds
+examples/*.dat

Added: packages/xmds/tags/1.5.3-7/debian/patches/50-add-lorenz-data.patch
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.5.3-7/debian/patches/50-add-lorenz-data.patch?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.5.3-7/debian/patches/50-add-lorenz-data.patch (added)
+++ packages/xmds/tags/1.5.3-7/debian/patches/50-add-lorenz-data.patch Wed Aug 10 07:51:31 2011
@@ -1,0 +1,8 @@
+diff -Nur xmds-1.5-3/examples/lorenzInput.dat xmds-1.5-3.new/examples/lorenzInput.dat
+--- xmds-1.5-3/examples/lorenzInput.dat	1970-01-01 01:00:00.000000000 +0100
++++ xmds-1.5-3.new/examples/lorenzInput.dat	2006-11-25 17:51:19.000000000 +0100
+@@ -0,0 +1,3 @@
++3.0
++2.5
++1.6
+\ No newline at end of file

Added: packages/xmds/tags/1.5.3-7/debian/patches/50-make-examples-work.patch
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.5.3-7/debian/patches/50-make-examples-work.patch?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.5.3-7/debian/patches/50-make-examples-work.patch (added)
+++ packages/xmds/tags/1.5.3-7/debian/patches/50-make-examples-work.patch Wed Aug 10 07:51:31 2011
@@ -1,0 +1,116 @@
+diff -Nur xmds-1.5-3/source/xmdssimulation.cc xmds-1.5-3.new/source/xmdssimulation.cc
+--- xmds-1.5-3/source/xmdssimulation.cc	2006-09-19 06:01:55.000000000 +0200
++++ xmds-1.5-3.new/source/xmdssimulation.cc	2006-11-25 13:44:04.000000000 +0100
+@@ -176,31 +176,20 @@
+   // ************************************
+   // find 'description'
+ 
+-  getAssignmentStrings(yourElement,"description",NOT_REQD,0,myXMLStringList);
+-
+-  // Storing the description can cause overflow errors if it is too long, so we'll
+-  // comment out the actual loading of the description, and put into the description
+-  // variable a note that it actually exists.
+-  if (myXMLStringList.size() > 0) {
+-    
+-    myParameters.description += "Description found.  See xmds file for the rest of it.";
+-    /*
+-    myParameters.description = *myXMLStringList.begin();
+-    myXMLStringList.pop_front();
+-    for(list<XMLString>::const_iterator pXMLString = myXMLStringList.begin(); pXMLString != myXMLStringList.end(); pXMLString++) {
+-      myParameters.description += " ";
+-      myParameters.description += *pXMLString;
+-    }
+-    */
+-    if(verbose()) {
+-      printf("simulation description = '%s'\n",myParameters.description.c_str());
+-    }
+-  }
+-  else {
++  const NodeList* descriptionElements = yourElement->getElementsByTagName("description", 0);
++  
++  if (descriptionElements->length()==0) {
+     // this warning may need to be taken out somehow, but I sort of want people
+     // to be nice little coders and document their code nicely, and this is
+     // one way to do it...  (PTC)
+     printf("No <description> tag found.  It's not required, but it's a Good Idea.\n");
++  } else if (descriptionElements->length()>1) {
++    printf("More than one <description> tag found... That's a little odd.\n");
++  } else {
++    myParameters.description = *descriptionElements->item(0)->textContent(0);
++    if(verbose()) {
++      printf("simulation description = '%s'\n",myParameters.description.c_str());
++    }
+   }
+ 
+   // ************************************
+@@ -1374,43 +1363,43 @@
+ 			"// The license is at: http://www.opensource.apple.com/apsl\n\n"
+ 			"// These functions have been renamed to avoid conflicts with the actual functions if an XMDS simulation\n"
+ 			"// is ever linked against the CoreFoundation framework\n"
+-			"inline uint32_t XMDSSwapInt32(uint32_t arg) {\n"
++			"inline uint32_t XMDSSwapInt32(uint32_t __arg) {\n"
+ 			"#if defined(__i386__) && defined(__GNUC__)\n"
+-			"\t __asm__(\"bswap %%0\" : \"+r\" (arg));\n"
+-			"\t return arg;\n"
++			"\t __asm__(\"bswap %%0\" : \"+r\" (__arg));\n"
++			"\t return __arg;\n"
+ 			"#elif defined(__ppc__) && defined(__GNUC__)\n"
+-			"\t uint32_t result;\n"
+-			"\t __asm__(\"lwbrx %%0,0,%%1\" : \"=r\" (result) : \"r\" (&arg), \"m\" (arg));\n"
+-			"\t return result;\n"
++			"\t uint32_t __result;\n"
++			"\t __asm__(\"lwbrx %%0,0,%%1\" : \"=r\" (__result) : \"r\" (&__arg), \"m\" (__arg));\n"
++			"\t return __result;\n"
+ 			"#else\n"
+-			"\t uint32_t result;\n"
+-			"\t result = ((arg & 0xFF) << 24) | ((arg & 0xFF00) << 8) | ((arg >> 8) & 0xFF00) | ((arg >> 24) & 0xFF);\n"
+-			"\t return result;\n"
++			"\t uint32_t __result;\n"
++			"\t __result = ((__arg & 0xFF) << 24) | ((__arg & 0xFF00) << 8) | ((__arg >> 8) & 0xFF00) | ((__arg >> 24) & 0xFF);\n"
++			"\t return __result;\n"
+ 			"#endif\n"
+ 			"}\n\n");
+ 	// 64-bit byte-swapper
+-	fprintf(outfile, "inline uint64_t XMDSSwapInt64(uint64_t arg) {\n"
++	fprintf(outfile, "inline uint64_t XMDSSwapInt64(uint64_t __arg) {\n"
+ 					 "\t union CFSwap {\n"
+-					 "\t\t uint64_t sv;\n"
+-					 "\t\t uint32_t ul[2];\n"
+-					 "\t } tmp, result;\n"
+-					 "\t tmp.sv = arg;\n"
+-					 "\t result.ul[0] = XMDSSwapInt32(tmp.ul[1]);\n"
+-					 "\t result.ul[1] = XMDSSwapInt32(tmp.ul[0]);\n"
+-					 "\t return result.sv;\n"
++					 "\t\t uint64_t __sv;\n"
++					 "\t\t uint32_t __ul[2];\n"
++					 "\t } __tmp, __result;\n"
++					 "\t __tmp.__sv = __arg;\n"
++					 "\t __result.__ul[0] = XMDSSwapInt32(__tmp.__ul[1]);\n"
++					 "\t __result.__ul[1] = XMDSSwapInt32(__tmp.__ul[0]);\n"
++					 "\t return __result.__sv;\n"
+ 					 "}\n\n");
+ 	
+-	fprintf(outfile, "typedef struct {uint32_t v;} XMDSSwappedFloat;\n"
+-					 "typedef struct {uint64_t v;} XMDSSwappedDouble;\n\n"
+-					 "inline float XMDSSwapFloat(float in) {\n"
+-					 "\t XMDSSwappedFloat x = *reinterpret_cast<XMDSSwappedFloat*>(&in);\n"
+-					 "\t x.v = XMDSSwapInt32(x.v);\n"
+-					 "\t return *reinterpret_cast<float*>(&x);\n"
++	fprintf(outfile, "typedef struct {uint32_t __v;} XMDSSwappedFloat;\n"
++					 "typedef struct {uint64_t __v;} XMDSSwappedDouble;\n\n"
++					 "inline float XMDSSwapFloat(float __in) {\n"
++					 "\t XMDSSwappedFloat __x = *reinterpret_cast<XMDSSwappedFloat*>(&__in);\n"
++					 "\t __x.__v = XMDSSwapInt32(__x.__v);\n"
++					 "\t return *reinterpret_cast<float*>(&__x);\n"
+ 					 "}\n\n"
+-					 "inline double XMDSSwapDouble(double in) {\n"
+-					 "\t XMDSSwappedDouble x = *reinterpret_cast<XMDSSwappedDouble*>(&in);\n"
+-					 "\t x.v = XMDSSwapInt64(x.v);\n"
+-					 "\t return *reinterpret_cast<double*>(&x);\n"
++					 "inline double XMDSSwapDouble(double __in) {\n"
++					 "\t XMDSSwappedDouble __x = *reinterpret_cast<XMDSSwappedDouble*>(&__in);\n"
++					 "\t __x.__v = XMDSSwapInt64(__x.__v);\n"
++					 "\t return *reinterpret_cast<double*>(&__x);\n"
+ 					 "}\n\n");
+ 	
+ 	xmdsElement::writeRoutines(outfile);

Added: packages/xmds/tags/1.5.3-7/debian/patches/50-preserve-prefix.patch
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.5.3-7/debian/patches/50-preserve-prefix.patch?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.5.3-7/debian/patches/50-preserve-prefix.patch (added)
+++ packages/xmds/tags/1.5.3-7/debian/patches/50-preserve-prefix.patch Wed Aug 10 07:51:31 2011
@@ -1,0 +1,21 @@
+diff -Nur xmds-1.5-3/configure.in xmds-1.5-3.new/configure.in
+--- xmds-1.5-3/configure.in	2006-09-19 06:46:59.000000000 +0200
++++ xmds-1.5-3.new/configure.in	2006-11-24 08:52:22.000000000 +0100
+@@ -57,17 +57,6 @@
+ 	    [USER_INCLUDE="."
+             USER_LIB="."])
+ 
+-dnl Just in case --prefix is used, handle the possibility
+-if test "$prefix" != "NONE"
+-then
+-	USER_INCLUDE="$prefix"
+-	USER_LIB="$prefix"
+-	bindir="$prefix"
+-	includedir="$prefix"
+-	libdir="$prefix"
+-	mandir="$prefix"
+-fi
+-
+ dnl Do we need extral libs passed to check for mpi? (eg -llam)
+ AC_ARG_WITH([mpi-libs],
+ 	    [  --with-mpi-libs          Extra libraries needed when checking for MPI],

Added: packages/xmds/tags/1.5.3-7/debian/rules
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.5.3-7/debian/rules?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.5.3-7/debian/rules (added)
+++ packages/xmds/tags/1.5.3-7/debian/rules Wed Aug 10 07:51:31 2011
@@ -1,0 +1,45 @@
+#!/usr/bin/make -f
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/autotools.mk
+include /usr/share/cdbs/1/rules/simple-patchsys.mk
+
+debdir  = $(CURDIR)/debian
+instdir = $(debdir)/xmds
+shrdir  = $(instdir)/usr/share
+expdir  = $(shrdir)/doc/xmds/examples
+mdir    = $(shrdir)/octave/site/m
+
+DEB_CONFIGURE_EXTRA_FLAGS =		\
+	--enable-fftw3			\
+	--enable-mpi			\
+	--with-mpi-path=/usr/lib/mpich	\
+	--with-mpi-compiler=mpicxx	
+
+DEB_COMPRESS_EXCLUDE = .xmds
+DEB_AUTO_UPDATE_AUTOCONF = 1
+
+build/xmds:: make-examples-stamp
+make-examples-stamp:	
+	# Run test
+	cp examples/lorenz* source
+	( cd source ;						\
+	  $(MAKE) XMDS=./xmds XSIL2GRAPHICS=./xsil2graphics	\
+		-f ../debian/Makefile-examples lorenz.m ;	\
+	  rm -f lorenz* )
+	touch make-examples-stamp
+
+install/xmds::
+	for v in 2.1 2.9 ; do octave$$v-depends ; done
+
+binary-install/xmds::
+	# Move Octave file into the correct directory
+	mkdir -p $(mdir)
+	mv $(instdir)/usr/bin/loadxsil.m $(mdir)
+	chmod 644 $(mdir)/loadxsil.m
+
+	# Add Makefile to the examples directory
+	cp debian/Makefile-examples $(expdir)/Makefile
+
+clean::
+	rm -rf config.log source/lorenz.* make-examples-stamp

Propchange: packages/xmds/tags/1.5.3-7/debian/rules
------------------------------------------------------------------------------
    svn:executable = *

Added: packages/xmds/tags/1.5.3-7/debian/watch
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.5.3-7/debian/watch?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.5.3-7/debian/watch (added)
+++ packages/xmds/tags/1.5.3-7/debian/watch Wed Aug 10 07:51:31 2011
@@ -1,0 +1,3 @@
+version=3
+opts="uversionmangle=s/-/./" \
+  http://www.xmds.org/downloads.html .*/xmds-(.*)\.tar\.gz.*

Added: packages/xmds/tags/1.5.3-8/debian/Makefile-examples
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.5.3-8/debian/Makefile-examples?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.5.3-8/debian/Makefile-examples (added)
+++ packages/xmds/tags/1.5.3-8/debian/Makefile-examples Wed Aug 10 07:51:31 2011
@@ -1,0 +1,34 @@
+###  -*- make -*-
+### This file is part of the Debian xmds package
+### Copyright (C) 2006 Rafael Laboissiere
+### This file is relased under the GNU General Public License
+### NO WARRANTIES!
+
+### This makefile can be used to build and run the XMDS examples
+
+XMDS_FILES = $(shell ls *.xmds)
+RUN_FILES = $(patsubst %.xmds,%.run,$(XMDS_FILES))
+CC_FILES = $(patsubst %.xmds,%.cc,$(XMDS_FILES))
+XSIL_FILES = $(patsubst %.xmds,%.xsil,$(XMDS_FILES))
+M_FILES = $(patsubst %.xmds,%.xsil,$(XMDS_FILES))
+
+XMDS = xmds
+XSIL2GRAPHICS = xsil2graphics
+
+all: $(M_FILES)
+
+%.run: %.xmds
+	$(XMDS) $<
+	mv $(patsubst %.xmds,%,$<) $@
+
+%.xsil: %.run
+	./$<
+
+%.m: %.xsil
+	$(XSIL2GRAPHICS) $<
+
+clean:
+	rm -f *.run *.cc *.m *.xsil *.wisdom.fftw3
+
+.PRECIOUS: %.run %.xsil %.m
+.PHONY: all clean

Added: packages/xmds/tags/1.5.3-8/debian/README.Debian
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.5.3-8/debian/README.Debian?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.5.3-8/debian/README.Debian (added)
+++ packages/xmds/tags/1.5.3-8/debian/README.Debian Wed Aug 10 07:51:31 2011
@@ -1,0 +1,20 @@
+xmds for Debian
+---------------
+
+  All examples shiped in the upstream distribution tarball are
+  included in the Debian package in the directory
+  /usr/share/doc/xmds/examples.  To run one of them and visualize the
+  results, you can do, e.g.:
+
+      xmds /usr/share/doc/xmds/examples/nlse.xmds
+      ./nlse
+      xsil2graphics nlse.xsil
+      echo "nlse;mesh(z_1,t_1,pow_dens_1);print nlse.eps -color -deps" \
+           | octave -qf
+      gv nlse.eps
+
+  Notice that you must have one of the octave package (octave2.1 or
+  octave2.9) and the gv package installed in your system in order to run
+  the code above.
+
+ -- Rafael Laboissiere <rafael at debian.org>  Thu, 25 Nov 2006 10:10:09 +0100

Added: packages/xmds/tags/1.5.3-8/debian/changelog
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.5.3-8/debian/changelog?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.5.3-8/debian/changelog (added)
+++ packages/xmds/tags/1.5.3-8/debian/changelog Wed Aug 10 07:51:31 2011
@@ -1,0 +1,82 @@
+xmds (1.5.3-8) unstable; urgency=low
+
+  * debian/control:
+    - Added XS-Vcs-Svn and XS-Vcs-Browser fields to the Source section
+    - Added Homepage pseudo-field to the Description
+    - Changed the priority of the package "extra", because it depends on
+      libmpich1.0-dev, which has also priority "extra" (comply with Policy
+      Section 2.5: Priorities)
+  * debian/rules: Save and restore files configure, source/config.h.in,
+    and source/xmdsconfig.h, which are changed by the autotools,
+    preventing the changes to appear in the diff.gz file
+
+ -- Rafael Laboissiere <rafael at debian.org>  Thu,  8 Mar 2007 11:35:28 +0100
+
+xmds (1.5.3-7) unstable; urgency=low
+
+  * First upload to unstable
+
+ -- Rafael Laboissiere <rafael at debian.org>  Wed, 31 Jan 2007 23:19:38 +0100
+
+xmds (1.5.3-6) experimental; urgency=low
+
+  * debian/rules: Use mpicxx as the MPI compile; all the examples work now
+  * debian/README.Debian: Updated accordingly
+
+ -- Rafael Laboissiere <rafael at debian.org>  Thu, 30 Nov 2006 14:29:44 +0100
+
+xmds (1.5.3-5) experimental; urgency=low
+
+  * debian/rules:
+    - Enable the use of MPI
+    - Do not path the examples for fftw3, since they work with fftw2
+  * debian/README.Debian: Updated according to the above
+  * debian/control:
+    - Build-depends on fftw-dev and libmpich1.0-dev
+    - Depends on fftw-dev, fft3-dev, and libmpich1.0-dev, otherwise the
+      xmds program won't work, since it needs the header files of those
+      packages
+
+ -- Rafael Laboissiere <rafael at debian.org>  Thu, 30 Nov 2006 03:54:42 +0100
+
+xmds (1.5.3-4) experimental; urgency=low
+
+  * debian/rules: Avoid the double invocation of build/xmds rule
+
+ -- Rafael Laboissiere <rafael at debian.org>  Tue, 28 Nov 2006 22:33:54 +0100
+
+xmds (1.5.3-3) experimental; urgency=low
+
+  * debian/Makefile-examples: Introduce variables XMDS and XSIL2GRAPHICS
+  * debian/rules: Use the variables defined above in order to call the
+    appropriate programs at build time.
+
+  * debian/README.Debian: Added a note about the examples that do not
+    work because they depend on MPI
+
+ -- Rafael Laboissiere <rafael at debian.org>  Mon, 27 Nov 2006 20:10:19 +0100
+
+xmds (1.5.3-2) experimental; urgency=low
+
+  * First official release, uploaded to experimental because we are in the
+    middle of the etch "soft freeze" period
+
+  * Added patches:
+    - 50-add-lorenz-data.patch: Add file examples/lorenzInput.dat which is
+      missing in the tarball
+    - 50-make-examples-work.patch: Add patch for source/xmdssimulation.cc
+      taken from upstream CVS which makes all examples work (excluding the
+      ones that depend on MPI)
+
+  * Added a regression test for the package (lorenz.xmds example).  This
+    is done through the makefile debian/Makefile-examples, which is also
+    installed in the examples area.
+
+ -- Rafael Laboissiere <rafael at debian.org>  Sat, 25 Nov 2006 18:16:27 +0100
+
+xmds (1.5.3-1) not-released; urgency=low
+
+  * Initial release (Closes: #400312)
+
+ -- Christian T. Steigies <cts at debian.org>  Thu, 23 Nov 2006 21:48:44 +0100
+

Added: packages/xmds/tags/1.5.3-8/debian/compat
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.5.3-8/debian/compat?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.5.3-8/debian/compat (added)
+++ packages/xmds/tags/1.5.3-8/debian/compat Wed Aug 10 07:51:31 2011
@@ -1,0 +1,1 @@
+5

Added: packages/xmds/tags/1.5.3-8/debian/control
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.5.3-8/debian/control?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.5.3-8/debian/control (added)
+++ packages/xmds/tags/1.5.3-8/debian/control Wed Aug 10 07:51:31 2011
@@ -1,0 +1,25 @@
+Source: xmds
+Section: science
+Priority: extra
+Maintainer: Debian Scientific Computing Team <pkg-scicomp-devel at lists.alioth.debian.org>
+Uploaders: Christian T. Steigies <cts at debian.org>,
+ Rafael Laboissiere <rafael at debian.org>
+Build-Depends: cdbs, debhelper (>= 5), autotools-dev, fftw-dev, fftw3-dev,
+ libmpich1.0-dev, octave2.1-headers, octave2.9-headers, autoconf
+Standards-Version: 3.7.2
+XS-Vcs-Svn: svn://svn.debian.org/svn/pkg-scicomp/xmds/
+XS-Vcs-Browser: http://svn.debian.org/wsvn/pkg-scicomp/xmds/
+
+Package: xmds
+Architecture: any
+Depends: ${shlibs:Depends}, fftw-dev, fftw3-dev, libmpich1.0-dev
+Suggests: ${octave-2-9:Depends} | ${octave-2-1:Depends}
+Description: eXtensible multi-dimensional Simulator
+ XMDS is a code generator that integrates equations, from Ordinary
+ Differential Equations (ODEs) up to stochastic Partial Differential
+ Equations (PDEs). You write them down in human readable form in an
+ XML file, and it goes away and writes and compiles a C++ program that
+ integrates those equations as fast as it can possibly be done in your
+ architecture.
+ .
+  Homepage: http://xmds.sourceforge.net/

Added: packages/xmds/tags/1.5.3-8/debian/copyright
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.5.3-8/debian/copyright?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.5.3-8/debian/copyright (added)
+++ packages/xmds/tags/1.5.3-8/debian/copyright Wed Aug 10 07:51:31 2011
@@ -1,0 +1,49 @@
+This package was debianized by Christian T. Steigies <cts at debian.org>
+and Rafael Laboissiere <rafael at debian.org> on Thu, 23 Nov 2006 12:23:09 +0100.
+
+It was downloaded from http://www.xmds.org/downloads.html
+
+Upstream Authors: Paul Cochrane <cochrane at physics.uq.edu.au>
+                  Joseph Hope <Joseph.Hope at anu.edu.au>
+                  Peter Drummond <drummond at physics.uq.edu.au>
+
+
+Copyright:
+  2000-2004  Greg Collecutt, Joseph Hope and Paul Cochrane
+
+
+License:
+
+ XMDS is free software; you can redistribute it and/or
+ modify it under the terms of the GNU General Public License
+ as published by the Free Software Foundation; either version 2
+ of the License, or (at your option) any later version.
+
+ XMDS is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ GNU General Public License for more details.
+
+
+The Debian packaging is (C) 2006, Christian T. Steigies <cts at debian.org>
+and Rafael Laboissiere <rafael at debian.org>, and is licensed under the GPL,
+see `/usr/share/common-licenses/GPL'.
+
+Files with different copyright dates/holders (but also released under the
+GPL):
+
+    source/getopt_xmds.c:
+      Copyright (C) 1987,88,89,90,91,92,93,94,95,96,98,99,2000,2001
+      Free Software Foundation, Inc.
+
+    source/getopt_xmds1.c:
+     Copyright (C) 1987,88,89,90,91,92,93,94,96,97,98
+     Free Software Foundation, Inc.
+
+    source/getopt_xmds.h:
+      Copyright (C) 1989-1994, 1996-1999, 2001 Free Software Foundation, Inc.
+
+    ./source/getopt_xmds_init.c:
+      Copyright (C) 1997, 1998, 2001 Free Software Foundation, Inc.
+      This file is part of the GNU C Library.
+      Contributed by Ulrich Drepper <drepper at cygnus.com>, 1997.

Added: packages/xmds/tags/1.5.3-8/debian/docs
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.5.3-8/debian/docs?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.5.3-8/debian/docs (added)
+++ packages/xmds/tags/1.5.3-8/debian/docs Wed Aug 10 07:51:31 2011
@@ -1,0 +1,2 @@
+NEWS
+README

Added: packages/xmds/tags/1.5.3-8/debian/examples
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.5.3-8/debian/examples?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.5.3-8/debian/examples (added)
+++ packages/xmds/tags/1.5.3-8/debian/examples Wed Aug 10 07:51:31 2011
@@ -1,0 +1,2 @@
+examples/*.xmds
+examples/*.dat

Added: packages/xmds/tags/1.5.3-8/debian/patches/50-add-lorenz-data.patch
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.5.3-8/debian/patches/50-add-lorenz-data.patch?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.5.3-8/debian/patches/50-add-lorenz-data.patch (added)
+++ packages/xmds/tags/1.5.3-8/debian/patches/50-add-lorenz-data.patch Wed Aug 10 07:51:31 2011
@@ -1,0 +1,8 @@
+diff -Nur xmds-1.5-3/examples/lorenzInput.dat xmds-1.5-3.new/examples/lorenzInput.dat
+--- xmds-1.5-3/examples/lorenzInput.dat	1970-01-01 01:00:00.000000000 +0100
++++ xmds-1.5-3.new/examples/lorenzInput.dat	2006-11-25 17:51:19.000000000 +0100
+@@ -0,0 +1,3 @@
++3.0
++2.5
++1.6
+\ No newline at end of file

Added: packages/xmds/tags/1.5.3-8/debian/patches/50-make-examples-work.patch
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.5.3-8/debian/patches/50-make-examples-work.patch?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.5.3-8/debian/patches/50-make-examples-work.patch (added)
+++ packages/xmds/tags/1.5.3-8/debian/patches/50-make-examples-work.patch Wed Aug 10 07:51:31 2011
@@ -1,0 +1,116 @@
+diff -Nur xmds-1.5-3/source/xmdssimulation.cc xmds-1.5-3.new/source/xmdssimulation.cc
+--- xmds-1.5-3/source/xmdssimulation.cc	2006-09-19 06:01:55.000000000 +0200
++++ xmds-1.5-3.new/source/xmdssimulation.cc	2006-11-25 13:44:04.000000000 +0100
+@@ -176,31 +176,20 @@
+   // ************************************
+   // find 'description'
+ 
+-  getAssignmentStrings(yourElement,"description",NOT_REQD,0,myXMLStringList);
+-
+-  // Storing the description can cause overflow errors if it is too long, so we'll
+-  // comment out the actual loading of the description, and put into the description
+-  // variable a note that it actually exists.
+-  if (myXMLStringList.size() > 0) {
+-    
+-    myParameters.description += "Description found.  See xmds file for the rest of it.";
+-    /*
+-    myParameters.description = *myXMLStringList.begin();
+-    myXMLStringList.pop_front();
+-    for(list<XMLString>::const_iterator pXMLString = myXMLStringList.begin(); pXMLString != myXMLStringList.end(); pXMLString++) {
+-      myParameters.description += " ";
+-      myParameters.description += *pXMLString;
+-    }
+-    */
+-    if(verbose()) {
+-      printf("simulation description = '%s'\n",myParameters.description.c_str());
+-    }
+-  }
+-  else {
++  const NodeList* descriptionElements = yourElement->getElementsByTagName("description", 0);
++  
++  if (descriptionElements->length()==0) {
+     // this warning may need to be taken out somehow, but I sort of want people
+     // to be nice little coders and document their code nicely, and this is
+     // one way to do it...  (PTC)
+     printf("No <description> tag found.  It's not required, but it's a Good Idea.\n");
++  } else if (descriptionElements->length()>1) {
++    printf("More than one <description> tag found... That's a little odd.\n");
++  } else {
++    myParameters.description = *descriptionElements->item(0)->textContent(0);
++    if(verbose()) {
++      printf("simulation description = '%s'\n",myParameters.description.c_str());
++    }
+   }
+ 
+   // ************************************
+@@ -1374,43 +1363,43 @@
+ 			"// The license is at: http://www.opensource.apple.com/apsl\n\n"
+ 			"// These functions have been renamed to avoid conflicts with the actual functions if an XMDS simulation\n"
+ 			"// is ever linked against the CoreFoundation framework\n"
+-			"inline uint32_t XMDSSwapInt32(uint32_t arg) {\n"
++			"inline uint32_t XMDSSwapInt32(uint32_t __arg) {\n"
+ 			"#if defined(__i386__) && defined(__GNUC__)\n"
+-			"\t __asm__(\"bswap %%0\" : \"+r\" (arg));\n"
+-			"\t return arg;\n"
++			"\t __asm__(\"bswap %%0\" : \"+r\" (__arg));\n"
++			"\t return __arg;\n"
+ 			"#elif defined(__ppc__) && defined(__GNUC__)\n"
+-			"\t uint32_t result;\n"
+-			"\t __asm__(\"lwbrx %%0,0,%%1\" : \"=r\" (result) : \"r\" (&arg), \"m\" (arg));\n"
+-			"\t return result;\n"
++			"\t uint32_t __result;\n"
++			"\t __asm__(\"lwbrx %%0,0,%%1\" : \"=r\" (__result) : \"r\" (&__arg), \"m\" (__arg));\n"
++			"\t return __result;\n"
+ 			"#else\n"
+-			"\t uint32_t result;\n"
+-			"\t result = ((arg & 0xFF) << 24) | ((arg & 0xFF00) << 8) | ((arg >> 8) & 0xFF00) | ((arg >> 24) & 0xFF);\n"
+-			"\t return result;\n"
++			"\t uint32_t __result;\n"
++			"\t __result = ((__arg & 0xFF) << 24) | ((__arg & 0xFF00) << 8) | ((__arg >> 8) & 0xFF00) | ((__arg >> 24) & 0xFF);\n"
++			"\t return __result;\n"
+ 			"#endif\n"
+ 			"}\n\n");
+ 	// 64-bit byte-swapper
+-	fprintf(outfile, "inline uint64_t XMDSSwapInt64(uint64_t arg) {\n"
++	fprintf(outfile, "inline uint64_t XMDSSwapInt64(uint64_t __arg) {\n"
+ 					 "\t union CFSwap {\n"
+-					 "\t\t uint64_t sv;\n"
+-					 "\t\t uint32_t ul[2];\n"
+-					 "\t } tmp, result;\n"
+-					 "\t tmp.sv = arg;\n"
+-					 "\t result.ul[0] = XMDSSwapInt32(tmp.ul[1]);\n"
+-					 "\t result.ul[1] = XMDSSwapInt32(tmp.ul[0]);\n"
+-					 "\t return result.sv;\n"
++					 "\t\t uint64_t __sv;\n"
++					 "\t\t uint32_t __ul[2];\n"
++					 "\t } __tmp, __result;\n"
++					 "\t __tmp.__sv = __arg;\n"
++					 "\t __result.__ul[0] = XMDSSwapInt32(__tmp.__ul[1]);\n"
++					 "\t __result.__ul[1] = XMDSSwapInt32(__tmp.__ul[0]);\n"
++					 "\t return __result.__sv;\n"
+ 					 "}\n\n");
+ 	
+-	fprintf(outfile, "typedef struct {uint32_t v;} XMDSSwappedFloat;\n"
+-					 "typedef struct {uint64_t v;} XMDSSwappedDouble;\n\n"
+-					 "inline float XMDSSwapFloat(float in) {\n"
+-					 "\t XMDSSwappedFloat x = *reinterpret_cast<XMDSSwappedFloat*>(&in);\n"
+-					 "\t x.v = XMDSSwapInt32(x.v);\n"
+-					 "\t return *reinterpret_cast<float*>(&x);\n"
++	fprintf(outfile, "typedef struct {uint32_t __v;} XMDSSwappedFloat;\n"
++					 "typedef struct {uint64_t __v;} XMDSSwappedDouble;\n\n"
++					 "inline float XMDSSwapFloat(float __in) {\n"
++					 "\t XMDSSwappedFloat __x = *reinterpret_cast<XMDSSwappedFloat*>(&__in);\n"
++					 "\t __x.__v = XMDSSwapInt32(__x.__v);\n"
++					 "\t return *reinterpret_cast<float*>(&__x);\n"
+ 					 "}\n\n"
+-					 "inline double XMDSSwapDouble(double in) {\n"
+-					 "\t XMDSSwappedDouble x = *reinterpret_cast<XMDSSwappedDouble*>(&in);\n"
+-					 "\t x.v = XMDSSwapInt64(x.v);\n"
+-					 "\t return *reinterpret_cast<double*>(&x);\n"
++					 "inline double XMDSSwapDouble(double __in) {\n"
++					 "\t XMDSSwappedDouble __x = *reinterpret_cast<XMDSSwappedDouble*>(&__in);\n"
++					 "\t __x.__v = XMDSSwapInt64(__x.__v);\n"
++					 "\t return *reinterpret_cast<double*>(&__x);\n"
+ 					 "}\n\n");
+ 	
+ 	xmdsElement::writeRoutines(outfile);

Added: packages/xmds/tags/1.5.3-8/debian/patches/50-preserve-prefix.patch
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.5.3-8/debian/patches/50-preserve-prefix.patch?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.5.3-8/debian/patches/50-preserve-prefix.patch (added)
+++ packages/xmds/tags/1.5.3-8/debian/patches/50-preserve-prefix.patch Wed Aug 10 07:51:31 2011
@@ -1,0 +1,21 @@
+diff -Nur xmds-1.5-3/configure.in xmds-1.5-3.new/configure.in
+--- xmds-1.5-3/configure.in	2006-09-19 06:46:59.000000000 +0200
++++ xmds-1.5-3.new/configure.in	2006-11-24 08:52:22.000000000 +0100
+@@ -57,17 +57,6 @@
+ 	    [USER_INCLUDE="."
+             USER_LIB="."])
+ 
+-dnl Just in case --prefix is used, handle the possibility
+-if test "$prefix" != "NONE"
+-then
+-	USER_INCLUDE="$prefix"
+-	USER_LIB="$prefix"
+-	bindir="$prefix"
+-	includedir="$prefix"
+-	libdir="$prefix"
+-	mandir="$prefix"
+-fi
+-
+ dnl Do we need extral libs passed to check for mpi? (eg -llam)
+ AC_ARG_WITH([mpi-libs],
+ 	    [  --with-mpi-libs          Extra libraries needed when checking for MPI],

Added: packages/xmds/tags/1.5.3-8/debian/rules
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.5.3-8/debian/rules?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.5.3-8/debian/rules (added)
+++ packages/xmds/tags/1.5.3-8/debian/rules Wed Aug 10 07:51:31 2011
@@ -1,0 +1,61 @@
+#!/usr/bin/make -f
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/autotools.mk
+include /usr/share/cdbs/1/rules/simple-patchsys.mk
+
+debdir  = $(CURDIR)/debian
+instdir = $(debdir)/xmds
+shrdir  = $(instdir)/usr/share
+expdir  = $(shrdir)/doc/xmds/examples
+mdir    = $(shrdir)/octave/site/m
+
+DEB_CONFIGURE_EXTRA_FLAGS =		\
+	--enable-fftw3			\
+	--enable-mpi			\
+	--with-mpi-path=/usr/lib/mpich	\
+	--with-mpi-compiler=mpicxx
+
+DEB_COMPRESS_EXCLUDE = .xmds
+DEB_AUTO_UPDATE_AUTOCONF = 1
+
+preserved_files = configure source/config.h.in source/xmdsconfig.h
+
+makebuilddir/xmds::
+	# Save files that will be changed by the autotools
+	for i in $(preserved_files) ; do	\
+		if ! test -e $$i-orig ; then	\
+			cp $$i $$i-orig ;	\
+		fi ;				\
+	done
+
+build/xmds:: make-examples-stamp
+make-examples-stamp:
+	# Run test
+	cp examples/lorenz* source
+	( cd source ;						\
+	  $(MAKE) XMDS=./xmds XSIL2GRAPHICS=./xsil2graphics	\
+		-f ../debian/Makefile-examples lorenz.m ;	\
+	  rm -f lorenz* )
+	touch make-examples-stamp
+
+install/xmds::
+	for v in 2.1 2.9 ; do octave$$v-depends ; done
+
+binary-install/xmds::
+	# Move Octave file into the correct directory
+	mkdir -p $(mdir)
+	mv $(instdir)/usr/bin/loadxsil.m $(mdir)
+	chmod 644 $(mdir)/loadxsil.m
+
+	# Add Makefile to the examples directory
+	cp debian/Makefile-examples $(expdir)/Makefile
+
+clean::
+	rm -rf config.log source/lorenz.* make-examples-stamp autom4te.cache
+	# Restored files changed by the autotools
+	for i in $(preserved_files) ; do	\
+		if test -e $$i-orig ; then	\
+			mv $$i-orig $$i ;	\
+		fi ;				\
+	done

Propchange: packages/xmds/tags/1.5.3-8/debian/rules
------------------------------------------------------------------------------
    svn:executable = *

Added: packages/xmds/tags/1.5.3-8/debian/watch
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.5.3-8/debian/watch?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.5.3-8/debian/watch (added)
+++ packages/xmds/tags/1.5.3-8/debian/watch Wed Aug 10 07:51:31 2011
@@ -1,0 +1,3 @@
+version=3
+opts="uversionmangle=s/-/./" \
+  http://www.xmds.org/downloads.html .*/xmds-(.*)\.tar\.gz.*

Added: packages/xmds/tags/1.5.3-9/debian/Makefile-examples
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.5.3-9/debian/Makefile-examples?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.5.3-9/debian/Makefile-examples (added)
+++ packages/xmds/tags/1.5.3-9/debian/Makefile-examples Wed Aug 10 07:51:31 2011
@@ -1,0 +1,34 @@
+###  -*- make -*-
+### This file is part of the Debian xmds package
+### Copyright (C) 2006 Rafael Laboissiere
+### This file is relased under the GNU General Public License
+### NO WARRANTIES!
+
+### This makefile can be used to build and run the XMDS examples
+
+XMDS_FILES = $(shell ls *.xmds)
+RUN_FILES = $(patsubst %.xmds,%.run,$(XMDS_FILES))
+CC_FILES = $(patsubst %.xmds,%.cc,$(XMDS_FILES))
+XSIL_FILES = $(patsubst %.xmds,%.xsil,$(XMDS_FILES))
+M_FILES = $(patsubst %.xmds,%.xsil,$(XMDS_FILES))
+
+XMDS = xmds
+XSIL2GRAPHICS = xsil2graphics
+
+all: $(M_FILES)
+
+%.run: %.xmds
+	$(XMDS) $<
+	mv $(patsubst %.xmds,%,$<) $@
+
+%.xsil: %.run
+	./$<
+
+%.m: %.xsil
+	$(XSIL2GRAPHICS) $<
+
+clean:
+	rm -f *.run *.cc *.m *.xsil *.wisdom.fftw3
+
+.PRECIOUS: %.run %.xsil %.m
+.PHONY: all clean

Added: packages/xmds/tags/1.5.3-9/debian/README.Debian
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.5.3-9/debian/README.Debian?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.5.3-9/debian/README.Debian (added)
+++ packages/xmds/tags/1.5.3-9/debian/README.Debian Wed Aug 10 07:51:31 2011
@@ -1,0 +1,20 @@
+xmds for Debian
+---------------
+
+  All examples shiped in the upstream distribution tarball are
+  included in the Debian package in the directory
+  /usr/share/doc/xmds/examples.  To run one of them and visualize the
+  results, you can do, e.g.:
+
+      xmds /usr/share/doc/xmds/examples/nlse.xmds
+      ./nlse
+      xsil2graphics nlse.xsil
+      echo "nlse;mesh(z_1,t_1,pow_dens_1);print nlse.eps -color -deps" \
+           | octave -qf
+      gv nlse.eps
+
+  Notice that you must have one of the octave package (octave2.1 or
+  octave2.9) and the gv package installed in your system in order to run
+  the code above.
+
+ -- Rafael Laboissiere <rafael at debian.org>  Thu, 25 Nov 2006 10:10:09 +0100

Added: packages/xmds/tags/1.5.3-9/debian/changelog
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.5.3-9/debian/changelog?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.5.3-9/debian/changelog (added)
+++ packages/xmds/tags/1.5.3-9/debian/changelog Wed Aug 10 07:51:31 2011
@@ -1,0 +1,90 @@
+xmds (1.5.3-9) unstable; urgency=low
+
+  * debian/rules: Delete config.status in clean target
+  * debian/patches/gcc-4.3-include-cstdlib.patch: Make the sources compile
+    with GCC 4.3.  Thanks to Martin Michlmayr (closes: #417768).
+
+ -- Rafael Laboissiere <rafael at debian.org>  Wed,  4 Apr 2007 23:04:01 +0200
+
+xmds (1.5.3-8) unstable; urgency=low
+
+  * debian/control:
+    - Added XS-Vcs-Svn and XS-Vcs-Browser fields to the Source section
+    - Added Homepage pseudo-field to the Description
+    - Changed the priority of the package "extra", because it depends on
+      libmpich1.0-dev, which has also priority "extra" (comply with Policy
+      Section 2.5: Priorities)
+  * debian/rules: Save and restore files configure, source/config.h.in,
+    and source/xmdsconfig.h, which are changed by the autotools,
+    preventing the changes to appear in the diff.gz file
+
+ -- Rafael Laboissiere <rafael at debian.org>  Thu,  8 Mar 2007 11:35:28 +0100
+
+xmds (1.5.3-7) unstable; urgency=low
+
+  * First upload to unstable
+
+ -- Rafael Laboissiere <rafael at debian.org>  Wed, 31 Jan 2007 23:19:38 +0100
+
+xmds (1.5.3-6) experimental; urgency=low
+
+  * debian/rules: Use mpicxx as the MPI compile; all the examples work now
+  * debian/README.Debian: Updated accordingly
+
+ -- Rafael Laboissiere <rafael at debian.org>  Thu, 30 Nov 2006 14:29:44 +0100
+
+xmds (1.5.3-5) experimental; urgency=low
+
+  * debian/rules:
+    - Enable the use of MPI
+    - Do not path the examples for fftw3, since they work with fftw2
+  * debian/README.Debian: Updated according to the above
+  * debian/control:
+    - Build-depends on fftw-dev and libmpich1.0-dev
+    - Depends on fftw-dev, fft3-dev, and libmpich1.0-dev, otherwise the
+      xmds program won't work, since it needs the header files of those
+      packages
+
+ -- Rafael Laboissiere <rafael at debian.org>  Thu, 30 Nov 2006 03:54:42 +0100
+
+xmds (1.5.3-4) experimental; urgency=low
+
+  * debian/rules: Avoid the double invocation of build/xmds rule
+
+ -- Rafael Laboissiere <rafael at debian.org>  Tue, 28 Nov 2006 22:33:54 +0100
+
+xmds (1.5.3-3) experimental; urgency=low
+
+  * debian/Makefile-examples: Introduce variables XMDS and XSIL2GRAPHICS
+  * debian/rules: Use the variables defined above in order to call the
+    appropriate programs at build time.
+
+  * debian/README.Debian: Added a note about the examples that do not
+    work because they depend on MPI
+
+ -- Rafael Laboissiere <rafael at debian.org>  Mon, 27 Nov 2006 20:10:19 +0100
+
+xmds (1.5.3-2) experimental; urgency=low
+
+  * First official release, uploaded to experimental because we are in the
+    middle of the etch "soft freeze" period
+
+  * Added patches:
+    - 50-add-lorenz-data.patch: Add file examples/lorenzInput.dat which is
+      missing in the tarball
+    - 50-make-examples-work.patch: Add patch for source/xmdssimulation.cc
+      taken from upstream CVS which makes all examples work (excluding the
+      ones that depend on MPI)
+
+  * Added a regression test for the package (lorenz.xmds example).  This
+    is done through the makefile debian/Makefile-examples, which is also
+    installed in the examples area.
+
+ -- Rafael Laboissiere <rafael at debian.org>  Sat, 25 Nov 2006 18:16:27 +0100
+
+xmds (1.5.3-1) not-released; urgency=low
+
+  * Initial release (Closes: #400312)
+
+ -- Christian T. Steigies <cts at debian.org>  Thu, 23 Nov 2006 21:48:44 +0100
+

Added: packages/xmds/tags/1.5.3-9/debian/compat
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.5.3-9/debian/compat?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.5.3-9/debian/compat (added)
+++ packages/xmds/tags/1.5.3-9/debian/compat Wed Aug 10 07:51:31 2011
@@ -1,0 +1,1 @@
+5

Added: packages/xmds/tags/1.5.3-9/debian/control
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.5.3-9/debian/control?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.5.3-9/debian/control (added)
+++ packages/xmds/tags/1.5.3-9/debian/control Wed Aug 10 07:51:31 2011
@@ -1,0 +1,25 @@
+Source: xmds
+Section: science
+Priority: extra
+Maintainer: Debian Scientific Computing Team <pkg-scicomp-devel at lists.alioth.debian.org>
+Uploaders: Christian T. Steigies <cts at debian.org>,
+ Rafael Laboissiere <rafael at debian.org>
+Build-Depends: cdbs, debhelper (>= 5), autotools-dev, fftw-dev, fftw3-dev,
+ libmpich1.0-dev, octave2.1-headers, octave2.9-headers, autoconf
+Standards-Version: 3.7.2
+XS-Vcs-Svn: svn://svn.debian.org/svn/pkg-scicomp/xmds/
+XS-Vcs-Browser: http://svn.debian.org/wsvn/pkg-scicomp/xmds/
+
+Package: xmds
+Architecture: any
+Depends: ${shlibs:Depends}, fftw-dev, fftw3-dev, libmpich1.0-dev
+Suggests: ${octave-2-9:Depends} | ${octave-2-1:Depends}
+Description: eXtensible multi-dimensional Simulator
+ XMDS is a code generator that integrates equations, from Ordinary
+ Differential Equations (ODEs) up to stochastic Partial Differential
+ Equations (PDEs). You write them down in human readable form in an
+ XML file, and it goes away and writes and compiles a C++ program that
+ integrates those equations as fast as it can possibly be done in your
+ architecture.
+ .
+  Homepage: http://xmds.sourceforge.net/

Added: packages/xmds/tags/1.5.3-9/debian/copyright
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.5.3-9/debian/copyright?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.5.3-9/debian/copyright (added)
+++ packages/xmds/tags/1.5.3-9/debian/copyright Wed Aug 10 07:51:31 2011
@@ -1,0 +1,49 @@
+This package was debianized by Christian T. Steigies <cts at debian.org>
+and Rafael Laboissiere <rafael at debian.org> on Thu, 23 Nov 2006 12:23:09 +0100.
+
+It was downloaded from http://www.xmds.org/downloads.html
+
+Upstream Authors: Paul Cochrane <cochrane at physics.uq.edu.au>
+                  Joseph Hope <Joseph.Hope at anu.edu.au>
+                  Peter Drummond <drummond at physics.uq.edu.au>
+
+
+Copyright:
+  2000-2004  Greg Collecutt, Joseph Hope and Paul Cochrane
+
+
+License:
+
+ XMDS is free software; you can redistribute it and/or
+ modify it under the terms of the GNU General Public License
+ as published by the Free Software Foundation; either version 2
+ of the License, or (at your option) any later version.
+
+ XMDS is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ GNU General Public License for more details.
+
+
+The Debian packaging is (C) 2006, Christian T. Steigies <cts at debian.org>
+and Rafael Laboissiere <rafael at debian.org>, and is licensed under the GPL,
+see `/usr/share/common-licenses/GPL'.
+
+Files with different copyright dates/holders (but also released under the
+GPL):
+
+    source/getopt_xmds.c:
+      Copyright (C) 1987,88,89,90,91,92,93,94,95,96,98,99,2000,2001
+      Free Software Foundation, Inc.
+
+    source/getopt_xmds1.c:
+     Copyright (C) 1987,88,89,90,91,92,93,94,96,97,98
+     Free Software Foundation, Inc.
+
+    source/getopt_xmds.h:
+      Copyright (C) 1989-1994, 1996-1999, 2001 Free Software Foundation, Inc.
+
+    ./source/getopt_xmds_init.c:
+      Copyright (C) 1997, 1998, 2001 Free Software Foundation, Inc.
+      This file is part of the GNU C Library.
+      Contributed by Ulrich Drepper <drepper at cygnus.com>, 1997.

Added: packages/xmds/tags/1.5.3-9/debian/docs
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.5.3-9/debian/docs?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.5.3-9/debian/docs (added)
+++ packages/xmds/tags/1.5.3-9/debian/docs Wed Aug 10 07:51:31 2011
@@ -1,0 +1,2 @@
+NEWS
+README

Added: packages/xmds/tags/1.5.3-9/debian/examples
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.5.3-9/debian/examples?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.5.3-9/debian/examples (added)
+++ packages/xmds/tags/1.5.3-9/debian/examples Wed Aug 10 07:51:31 2011
@@ -1,0 +1,2 @@
+examples/*.xmds
+examples/*.dat

Added: packages/xmds/tags/1.5.3-9/debian/patches/50-add-lorenz-data.patch
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.5.3-9/debian/patches/50-add-lorenz-data.patch?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.5.3-9/debian/patches/50-add-lorenz-data.patch (added)
+++ packages/xmds/tags/1.5.3-9/debian/patches/50-add-lorenz-data.patch Wed Aug 10 07:51:31 2011
@@ -1,0 +1,7 @@
+diff -Nur xmds-1.5-3/examples/lorenzInput.dat xmds-1.5-3.new/examples/lorenzInput.dat
+--- xmds-1.5-3/examples/lorenzInput.dat	1970-01-01 01:00:00.000000000 +0100
++++ xmds-1.5-3.new/examples/lorenzInput.dat	2006-11-25 17:51:19.000000000 +0100
+@@ -0,0 +1,3 @@
++3.0
++2.5
++1.6

Added: packages/xmds/tags/1.5.3-9/debian/patches/50-make-examples-work.patch
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.5.3-9/debian/patches/50-make-examples-work.patch?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.5.3-9/debian/patches/50-make-examples-work.patch (added)
+++ packages/xmds/tags/1.5.3-9/debian/patches/50-make-examples-work.patch Wed Aug 10 07:51:31 2011
@@ -1,0 +1,116 @@
+diff -Nur xmds-1.5-3/source/xmdssimulation.cc xmds-1.5-3.new/source/xmdssimulation.cc
+--- xmds-1.5-3/source/xmdssimulation.cc	2006-09-19 06:01:55.000000000 +0200
++++ xmds-1.5-3.new/source/xmdssimulation.cc	2006-11-25 13:44:04.000000000 +0100
+@@ -176,31 +176,20 @@
+   // ************************************
+   // find 'description'
+ 
+-  getAssignmentStrings(yourElement,"description",NOT_REQD,0,myXMLStringList);
+-
+-  // Storing the description can cause overflow errors if it is too long, so we'll
+-  // comment out the actual loading of the description, and put into the description
+-  // variable a note that it actually exists.
+-  if (myXMLStringList.size() > 0) {
+-    
+-    myParameters.description += "Description found.  See xmds file for the rest of it.";
+-    /*
+-    myParameters.description = *myXMLStringList.begin();
+-    myXMLStringList.pop_front();
+-    for(list<XMLString>::const_iterator pXMLString = myXMLStringList.begin(); pXMLString != myXMLStringList.end(); pXMLString++) {
+-      myParameters.description += " ";
+-      myParameters.description += *pXMLString;
+-    }
+-    */
+-    if(verbose()) {
+-      printf("simulation description = '%s'\n",myParameters.description.c_str());
+-    }
+-  }
+-  else {
++  const NodeList* descriptionElements = yourElement->getElementsByTagName("description", 0);
++  
++  if (descriptionElements->length()==0) {
+     // this warning may need to be taken out somehow, but I sort of want people
+     // to be nice little coders and document their code nicely, and this is
+     // one way to do it...  (PTC)
+     printf("No <description> tag found.  It's not required, but it's a Good Idea.\n");
++  } else if (descriptionElements->length()>1) {
++    printf("More than one <description> tag found... That's a little odd.\n");
++  } else {
++    myParameters.description = *descriptionElements->item(0)->textContent(0);
++    if(verbose()) {
++      printf("simulation description = '%s'\n",myParameters.description.c_str());
++    }
+   }
+ 
+   // ************************************
+@@ -1374,43 +1363,43 @@
+ 			"// The license is at: http://www.opensource.apple.com/apsl\n\n"
+ 			"// These functions have been renamed to avoid conflicts with the actual functions if an XMDS simulation\n"
+ 			"// is ever linked against the CoreFoundation framework\n"
+-			"inline uint32_t XMDSSwapInt32(uint32_t arg) {\n"
++			"inline uint32_t XMDSSwapInt32(uint32_t __arg) {\n"
+ 			"#if defined(__i386__) && defined(__GNUC__)\n"
+-			"\t __asm__(\"bswap %%0\" : \"+r\" (arg));\n"
+-			"\t return arg;\n"
++			"\t __asm__(\"bswap %%0\" : \"+r\" (__arg));\n"
++			"\t return __arg;\n"
+ 			"#elif defined(__ppc__) && defined(__GNUC__)\n"
+-			"\t uint32_t result;\n"
+-			"\t __asm__(\"lwbrx %%0,0,%%1\" : \"=r\" (result) : \"r\" (&arg), \"m\" (arg));\n"
+-			"\t return result;\n"
++			"\t uint32_t __result;\n"
++			"\t __asm__(\"lwbrx %%0,0,%%1\" : \"=r\" (__result) : \"r\" (&__arg), \"m\" (__arg));\n"
++			"\t return __result;\n"
+ 			"#else\n"
+-			"\t uint32_t result;\n"
+-			"\t result = ((arg & 0xFF) << 24) | ((arg & 0xFF00) << 8) | ((arg >> 8) & 0xFF00) | ((arg >> 24) & 0xFF);\n"
+-			"\t return result;\n"
++			"\t uint32_t __result;\n"
++			"\t __result = ((__arg & 0xFF) << 24) | ((__arg & 0xFF00) << 8) | ((__arg >> 8) & 0xFF00) | ((__arg >> 24) & 0xFF);\n"
++			"\t return __result;\n"
+ 			"#endif\n"
+ 			"}\n\n");
+ 	// 64-bit byte-swapper
+-	fprintf(outfile, "inline uint64_t XMDSSwapInt64(uint64_t arg) {\n"
++	fprintf(outfile, "inline uint64_t XMDSSwapInt64(uint64_t __arg) {\n"
+ 					 "\t union CFSwap {\n"
+-					 "\t\t uint64_t sv;\n"
+-					 "\t\t uint32_t ul[2];\n"
+-					 "\t } tmp, result;\n"
+-					 "\t tmp.sv = arg;\n"
+-					 "\t result.ul[0] = XMDSSwapInt32(tmp.ul[1]);\n"
+-					 "\t result.ul[1] = XMDSSwapInt32(tmp.ul[0]);\n"
+-					 "\t return result.sv;\n"
++					 "\t\t uint64_t __sv;\n"
++					 "\t\t uint32_t __ul[2];\n"
++					 "\t } __tmp, __result;\n"
++					 "\t __tmp.__sv = __arg;\n"
++					 "\t __result.__ul[0] = XMDSSwapInt32(__tmp.__ul[1]);\n"
++					 "\t __result.__ul[1] = XMDSSwapInt32(__tmp.__ul[0]);\n"
++					 "\t return __result.__sv;\n"
+ 					 "}\n\n");
+ 	
+-	fprintf(outfile, "typedef struct {uint32_t v;} XMDSSwappedFloat;\n"
+-					 "typedef struct {uint64_t v;} XMDSSwappedDouble;\n\n"
+-					 "inline float XMDSSwapFloat(float in) {\n"
+-					 "\t XMDSSwappedFloat x = *reinterpret_cast<XMDSSwappedFloat*>(&in);\n"
+-					 "\t x.v = XMDSSwapInt32(x.v);\n"
+-					 "\t return *reinterpret_cast<float*>(&x);\n"
++	fprintf(outfile, "typedef struct {uint32_t __v;} XMDSSwappedFloat;\n"
++					 "typedef struct {uint64_t __v;} XMDSSwappedDouble;\n\n"
++					 "inline float XMDSSwapFloat(float __in) {\n"
++					 "\t XMDSSwappedFloat __x = *reinterpret_cast<XMDSSwappedFloat*>(&__in);\n"
++					 "\t __x.__v = XMDSSwapInt32(__x.__v);\n"
++					 "\t return *reinterpret_cast<float*>(&__x);\n"
+ 					 "}\n\n"
+-					 "inline double XMDSSwapDouble(double in) {\n"
+-					 "\t XMDSSwappedDouble x = *reinterpret_cast<XMDSSwappedDouble*>(&in);\n"
+-					 "\t x.v = XMDSSwapInt64(x.v);\n"
+-					 "\t return *reinterpret_cast<double*>(&x);\n"
++					 "inline double XMDSSwapDouble(double __in) {\n"
++					 "\t XMDSSwappedDouble __x = *reinterpret_cast<XMDSSwappedDouble*>(&__in);\n"
++					 "\t __x.__v = XMDSSwapInt64(__x.__v);\n"
++					 "\t return *reinterpret_cast<double*>(&__x);\n"
+ 					 "}\n\n");
+ 	
+ 	xmdsElement::writeRoutines(outfile);

Added: packages/xmds/tags/1.5.3-9/debian/patches/50-preserve-prefix.patch
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.5.3-9/debian/patches/50-preserve-prefix.patch?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.5.3-9/debian/patches/50-preserve-prefix.patch (added)
+++ packages/xmds/tags/1.5.3-9/debian/patches/50-preserve-prefix.patch Wed Aug 10 07:51:31 2011
@@ -1,0 +1,21 @@
+diff -Nur xmds-1.5-3/configure.in xmds-1.5-3.new/configure.in
+--- xmds-1.5-3/configure.in	2006-09-19 06:46:59.000000000 +0200
++++ xmds-1.5-3.new/configure.in	2006-11-24 08:52:22.000000000 +0100
+@@ -57,17 +57,6 @@
+ 	    [USER_INCLUDE="."
+             USER_LIB="."])
+ 
+-dnl Just in case --prefix is used, handle the possibility
+-if test "$prefix" != "NONE"
+-then
+-	USER_INCLUDE="$prefix"
+-	USER_LIB="$prefix"
+-	bindir="$prefix"
+-	includedir="$prefix"
+-	libdir="$prefix"
+-	mandir="$prefix"
+-fi
+-
+ dnl Do we need extral libs passed to check for mpi? (eg -llam)
+ AC_ARG_WITH([mpi-libs],
+ 	    [  --with-mpi-libs          Extra libraries needed when checking for MPI],

Added: packages/xmds/tags/1.5.3-9/debian/patches/gcc-4.3-include-cstdlib.patch
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.5.3-9/debian/patches/gcc-4.3-include-cstdlib.patch?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.5.3-9/debian/patches/gcc-4.3-include-cstdlib.patch (added)
+++ packages/xmds/tags/1.5.3-9/debian/patches/gcc-4.3-include-cstdlib.patch Wed Aug 10 07:51:31 2011
@@ -1,0 +1,33 @@
+diff -Nur xmds-1.5-3/source/xmdsintegrateark45.cc xmds-1.5-3.new/source/xmdsintegrateark45.cc
+--- xmds-1.5-3/source/xmdsintegrateark45.cc	2006-05-04 09:53:10.000000000 +0200
++++ xmds-1.5-3.new/source/xmdsintegrateark45.cc	2007-04-04 23:05:32.000000000 +0200
+@@ -31,6 +31,7 @@
+   More detailed explanation...
+ */
+ 
++#include<cstdlib>
+ #include<xmlbasics.h>
+ #include<dom3.h>
+ #include<xmdsutils.h>
+diff -Nur xmds-1.5-3/source/xmdssimulation.cc xmds-1.5-3.new/source/xmdssimulation.cc
+--- xmds-1.5-3/source/xmdssimulation.cc	2007-04-04 23:02:27.000000000 +0200
++++ xmds-1.5-3.new/source/xmdssimulation.cc	2007-04-04 23:05:42.000000000 +0200
+@@ -30,6 +30,7 @@
+   More detailed explanation...
+ */
+ 
++#include<cstdlib>
+ #include<xmlbasics.h>
+ #include<dom3.h>
+ #include<xmdsutils.h>
+diff -Nur xmds-1.5-3/source/xsilfield.cc xmds-1.5-3.new/source/xsilfield.cc
+--- xmds-1.5-3/source/xsilfield.cc	2006-08-03 08:17:41.000000000 +0200
++++ xmds-1.5-3.new/source/xsilfield.cc	2007-04-04 23:04:56.000000000 +0200
+@@ -31,6 +31,7 @@
+   More detailed explanation...
+ */
+ 
++#include<cstdlib>
+ #include<string>
+ #include<ctype.h>
+ #include<xmlbasics.h>

Added: packages/xmds/tags/1.5.3-9/debian/rules
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.5.3-9/debian/rules?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.5.3-9/debian/rules (added)
+++ packages/xmds/tags/1.5.3-9/debian/rules Wed Aug 10 07:51:31 2011
@@ -1,0 +1,62 @@
+#!/usr/bin/make -f
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/autotools.mk
+include /usr/share/cdbs/1/rules/simple-patchsys.mk
+
+debdir  = $(CURDIR)/debian
+instdir = $(debdir)/xmds
+shrdir  = $(instdir)/usr/share
+expdir  = $(shrdir)/doc/xmds/examples
+mdir    = $(shrdir)/octave/site/m
+
+DEB_CONFIGURE_EXTRA_FLAGS =		\
+	--enable-fftw3			\
+	--enable-mpi			\
+	--with-mpi-path=/usr/lib/mpich	\
+	--with-mpi-compiler=mpicxx
+
+DEB_COMPRESS_EXCLUDE = .xmds
+DEB_AUTO_UPDATE_AUTOCONF = 1
+
+preserved_files = configure source/config.h.in source/xmdsconfig.h
+
+makebuilddir/xmds::
+	# Save files that will be changed by the autotools
+	for i in $(preserved_files) ; do	\
+		if ! test -e $$i-orig ; then	\
+			cp $$i $$i-orig ;	\
+		fi ;				\
+	done
+
+build/xmds:: make-examples-stamp
+make-examples-stamp:
+	# Run test
+	cp examples/lorenz* source
+	( cd source ;						\
+	  $(MAKE) XMDS=./xmds XSIL2GRAPHICS=./xsil2graphics	\
+		-f ../debian/Makefile-examples lorenz.m ;	\
+	  rm -f lorenz* )
+	touch make-examples-stamp
+
+install/xmds::
+	for v in 2.1 2.9 ; do octave$$v-depends ; done
+
+binary-install/xmds::
+	# Move Octave file into the correct directory
+	mkdir -p $(mdir)
+	mv $(instdir)/usr/bin/loadxsil.m $(mdir)
+	chmod 644 $(mdir)/loadxsil.m
+
+	# Add Makefile to the examples directory
+	cp debian/Makefile-examples $(expdir)/Makefile
+
+clean::
+	rm -rf config.log source/lorenz.* make-examples-stamp	\
+		config.status autom4te.cache
+	# Restored files changed by the autotools
+	for i in $(preserved_files) ; do	\
+		if test -e $$i-orig ; then	\
+			mv $$i-orig $$i ;	\
+		fi ;				\
+	done

Propchange: packages/xmds/tags/1.5.3-9/debian/rules
------------------------------------------------------------------------------
    svn:executable = *

Added: packages/xmds/tags/1.5.3-9/debian/watch
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.5.3-9/debian/watch?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.5.3-9/debian/watch (added)
+++ packages/xmds/tags/1.5.3-9/debian/watch Wed Aug 10 07:51:31 2011
@@ -1,0 +1,3 @@
+version=3
+opts="uversionmangle=s/-/./" \
+  http://www.xmds.org/downloads.html .*/xmds-(.*)\.tar\.gz.*

Added: packages/xmds/tags/1.6-1/debian/Makefile-examples
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.6-1/debian/Makefile-examples?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.6-1/debian/Makefile-examples (added)
+++ packages/xmds/tags/1.6-1/debian/Makefile-examples Wed Aug 10 07:51:31 2011
@@ -1,0 +1,34 @@
+###  -*- make -*-
+### This file is part of the Debian xmds package
+### Copyright (C) 2006 Rafael Laboissiere
+### This file is relased under the GNU General Public License
+### NO WARRANTIES!
+
+### This makefile can be used to build and run the XMDS examples
+
+XMDS_FILES = $(shell ls *.xmds)
+RUN_FILES = $(patsubst %.xmds,%.run,$(XMDS_FILES))
+CC_FILES = $(patsubst %.xmds,%.cc,$(XMDS_FILES))
+XSIL_FILES = $(patsubst %.xmds,%.xsil,$(XMDS_FILES))
+M_FILES = $(patsubst %.xmds,%.xsil,$(XMDS_FILES))
+
+XMDS = xmds
+XSIL2GRAPHICS = xsil2graphics
+
+all: $(M_FILES)
+
+%.run: %.xmds
+	$(XMDS) $<
+	mv $(patsubst %.xmds,%,$<) $@
+
+%.xsil: %.run
+	./$<
+
+%.m: %.xsil
+	$(XSIL2GRAPHICS) $<
+
+clean:
+	rm -f *.run *.cc *.m *.xsil *.wisdom.fftw3
+
+.PRECIOUS: %.run %.xsil %.m
+.PHONY: all clean

Added: packages/xmds/tags/1.6-1/debian/README.Debian
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.6-1/debian/README.Debian?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.6-1/debian/README.Debian (added)
+++ packages/xmds/tags/1.6-1/debian/README.Debian Wed Aug 10 07:51:31 2011
@@ -1,0 +1,20 @@
+xmds for Debian
+---------------
+
+  All examples shiped in the upstream distribution tarball are
+  included in the Debian package in the directory
+  /usr/share/doc/xmds/examples.  To run one of them and visualize the
+  results, you can do, e.g.:
+
+      xmds /usr/share/doc/xmds/examples/nlse.xmds
+      ./nlse
+      xsil2graphics nlse.xsil
+      echo "nlse;mesh(z_1,t_1,pow_dens_1);print nlse.eps -color -deps" \
+           | octave -qf
+      gv nlse.eps
+
+  Notice that you must have one of the octave package (octave2.1 or
+  octave2.9) and the gv package installed in your system in order to run
+  the code above.
+
+ -- Rafael Laboissiere <rafael at debian.org>  Thu, 25 Nov 2006 10:10:09 +0100

Added: packages/xmds/tags/1.6-1/debian/changelog
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.6-1/debian/changelog?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.6-1/debian/changelog (added)
+++ packages/xmds/tags/1.6-1/debian/changelog Wed Aug 10 07:51:31 2011
@@ -1,0 +1,102 @@
+xmds (1.6-1) unstable; urgency=low
+
+  * New upstream release
+  * Removed patches (applied upstream):
+    + 50-add-lorenz-data.patch
+    + 50-make-examples-work.patch
+    + 50-preserve-prefix.patch
+  * debian/watch: Fixed upstream URL pattern
+  * debian/rules: Fix permission of some installed files
+
+ -- Rafael Laboissiere <rafael at debian.org>  Thu,  5 Apr 2007 11:17:34 +0200
+
+xmds (1.5.3-9) unstable; urgency=low
+
+  * debian/rules: Delete config.status in clean target
+  * debian/patches/gcc-4.3-include-cstdlib.patch: Make the sources compile
+    with GCC 4.3.  Thanks to Martin Michlmayr (closes: #417768).
+
+ -- Rafael Laboissiere <rafael at debian.org>  Wed,  4 Apr 2007 23:04:01 +0200
+
+xmds (1.5.3-8) unstable; urgency=low
+
+  * debian/control:
+    - Added XS-Vcs-Svn and XS-Vcs-Browser fields to the Source section
+    - Added Homepage pseudo-field to the Description
+    - Changed the priority of the package "extra", because it depends on
+      libmpich1.0-dev, which has also priority "extra" (comply with Policy
+      Section 2.5: Priorities)
+  * debian/rules: Save and restore files configure, source/config.h.in,
+    and source/xmdsconfig.h, which are changed by the autotools,
+    preventing the changes to appear in the diff.gz file
+
+ -- Rafael Laboissiere <rafael at debian.org>  Thu,  8 Mar 2007 11:35:28 +0100
+
+xmds (1.5.3-7) unstable; urgency=low
+
+  * First upload to unstable
+
+ -- Rafael Laboissiere <rafael at debian.org>  Wed, 31 Jan 2007 23:19:38 +0100
+
+xmds (1.5.3-6) experimental; urgency=low
+
+  * debian/rules: Use mpicxx as the MPI compile; all the examples work now
+  * debian/README.Debian: Updated accordingly
+
+ -- Rafael Laboissiere <rafael at debian.org>  Thu, 30 Nov 2006 14:29:44 +0100
+
+xmds (1.5.3-5) experimental; urgency=low
+
+  * debian/rules:
+    - Enable the use of MPI
+    - Do not path the examples for fftw3, since they work with fftw2
+  * debian/README.Debian: Updated according to the above
+  * debian/control:
+    - Build-depends on fftw-dev and libmpich1.0-dev
+    - Depends on fftw-dev, fft3-dev, and libmpich1.0-dev, otherwise the
+      xmds program won't work, since it needs the header files of those
+      packages
+
+ -- Rafael Laboissiere <rafael at debian.org>  Thu, 30 Nov 2006 03:54:42 +0100
+
+xmds (1.5.3-4) experimental; urgency=low
+
+  * debian/rules: Avoid the double invocation of build/xmds rule
+
+ -- Rafael Laboissiere <rafael at debian.org>  Tue, 28 Nov 2006 22:33:54 +0100
+
+xmds (1.5.3-3) experimental; urgency=low
+
+  * debian/Makefile-examples: Introduce variables XMDS and XSIL2GRAPHICS
+  * debian/rules: Use the variables defined above in order to call the
+    appropriate programs at build time.
+
+  * debian/README.Debian: Added a note about the examples that do not
+    work because they depend on MPI
+
+ -- Rafael Laboissiere <rafael at debian.org>  Mon, 27 Nov 2006 20:10:19 +0100
+
+xmds (1.5.3-2) experimental; urgency=low
+
+  * First official release, uploaded to experimental because we are in the
+    middle of the etch "soft freeze" period
+
+  * Added patches:
+    - 50-add-lorenz-data.patch: Add file examples/lorenzInput.dat which is
+      missing in the tarball
+    - 50-make-examples-work.patch: Add patch for source/xmdssimulation.cc
+      taken from upstream CVS which makes all examples work (excluding the
+      ones that depend on MPI)
+
+  * Added a regression test for the package (lorenz.xmds example).  This
+    is done through the makefile debian/Makefile-examples, which is also
+    installed in the examples area.
+
+ -- Rafael Laboissiere <rafael at debian.org>  Sat, 25 Nov 2006 18:16:27 +0100
+
+xmds (1.5.3-1) not-released; urgency=low
+
+  * Initial release (Closes: #400312)
+
+ -- Christian T. Steigies <cts at debian.org>  Thu, 23 Nov 2006 21:48:44 +0100
+

Added: packages/xmds/tags/1.6-1/debian/compat
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.6-1/debian/compat?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.6-1/debian/compat (added)
+++ packages/xmds/tags/1.6-1/debian/compat Wed Aug 10 07:51:31 2011
@@ -1,0 +1,1 @@
+5

Added: packages/xmds/tags/1.6-1/debian/control
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.6-1/debian/control?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.6-1/debian/control (added)
+++ packages/xmds/tags/1.6-1/debian/control Wed Aug 10 07:51:31 2011
@@ -1,0 +1,25 @@
+Source: xmds
+Section: science
+Priority: extra
+Maintainer: Debian Scientific Computing Team <pkg-scicomp-devel at lists.alioth.debian.org>
+Uploaders: Christian T. Steigies <cts at debian.org>,
+ Rafael Laboissiere <rafael at debian.org>
+Build-Depends: cdbs, debhelper (>= 5), autotools-dev, fftw-dev, fftw3-dev,
+ libmpich1.0-dev, octave2.1-headers, octave2.9-headers, autoconf
+Standards-Version: 3.7.2
+XS-Vcs-Svn: svn://svn.debian.org/svn/pkg-scicomp/xmds/
+XS-Vcs-Browser: http://svn.debian.org/wsvn/pkg-scicomp/xmds/
+
+Package: xmds
+Architecture: any
+Depends: ${shlibs:Depends}, fftw-dev, fftw3-dev, libmpich1.0-dev
+Suggests: ${octave-2-9:Depends} | ${octave-2-1:Depends}
+Description: eXtensible multi-dimensional Simulator
+ XMDS is a code generator that integrates equations, from Ordinary
+ Differential Equations (ODEs) up to stochastic Partial Differential
+ Equations (PDEs). You write them down in human readable form in an
+ XML file, and it goes away and writes and compiles a C++ program that
+ integrates those equations as fast as it can possibly be done in your
+ architecture.
+ .
+  Homepage: http://xmds.sourceforge.net/

Added: packages/xmds/tags/1.6-1/debian/copyright
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.6-1/debian/copyright?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.6-1/debian/copyright (added)
+++ packages/xmds/tags/1.6-1/debian/copyright Wed Aug 10 07:51:31 2011
@@ -1,0 +1,49 @@
+This package was debianized by Christian T. Steigies <cts at debian.org>
+and Rafael Laboissiere <rafael at debian.org> on Thu, 23 Nov 2006 12:23:09 +0100.
+
+It was downloaded from http://www.xmds.org/downloads.html
+
+Upstream Authors: Paul Cochrane <cochrane at physics.uq.edu.au>
+                  Joseph Hope <Joseph.Hope at anu.edu.au>
+                  Peter Drummond <drummond at physics.uq.edu.au>
+
+
+Copyright:
+  2000-2004  Greg Collecutt, Joseph Hope and Paul Cochrane
+
+
+License:
+
+ XMDS is free software; you can redistribute it and/or
+ modify it under the terms of the GNU General Public License
+ as published by the Free Software Foundation; either version 2
+ of the License, or (at your option) any later version.
+
+ XMDS is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ GNU General Public License for more details.
+
+
+The Debian packaging is (C) 2006, Christian T. Steigies <cts at debian.org>
+and Rafael Laboissiere <rafael at debian.org>, and is licensed under the GPL,
+see `/usr/share/common-licenses/GPL'.
+
+Files with different copyright dates/holders (but also released under the
+GPL):
+
+    source/getopt_xmds.c:
+      Copyright (C) 1987,88,89,90,91,92,93,94,95,96,98,99,2000,2001
+      Free Software Foundation, Inc.
+
+    source/getopt_xmds1.c:
+     Copyright (C) 1987,88,89,90,91,92,93,94,96,97,98
+     Free Software Foundation, Inc.
+
+    source/getopt_xmds.h:
+      Copyright (C) 1989-1994, 1996-1999, 2001 Free Software Foundation, Inc.
+
+    ./source/getopt_xmds_init.c:
+      Copyright (C) 1997, 1998, 2001 Free Software Foundation, Inc.
+      This file is part of the GNU C Library.
+      Contributed by Ulrich Drepper <drepper at cygnus.com>, 1997.

Added: packages/xmds/tags/1.6-1/debian/docs
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.6-1/debian/docs?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.6-1/debian/docs (added)
+++ packages/xmds/tags/1.6-1/debian/docs Wed Aug 10 07:51:31 2011
@@ -1,0 +1,2 @@
+NEWS
+README

Added: packages/xmds/tags/1.6-1/debian/examples
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.6-1/debian/examples?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.6-1/debian/examples (added)
+++ packages/xmds/tags/1.6-1/debian/examples Wed Aug 10 07:51:31 2011
@@ -1,0 +1,2 @@
+examples/*.xmds
+examples/*.dat

Added: packages/xmds/tags/1.6-1/debian/patches/gcc-4.3-include-cstdlib.patch
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.6-1/debian/patches/gcc-4.3-include-cstdlib.patch?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.6-1/debian/patches/gcc-4.3-include-cstdlib.patch (added)
+++ packages/xmds/tags/1.6-1/debian/patches/gcc-4.3-include-cstdlib.patch Wed Aug 10 07:51:31 2011
@@ -1,0 +1,33 @@
+diff -Nur xmds-1.5-3/source/xmdsintegrateark45.cc xmds-1.5-3.new/source/xmdsintegrateark45.cc
+--- xmds-1.5-3/source/xmdsintegrateark45.cc	2006-05-04 09:53:10.000000000 +0200
++++ xmds-1.5-3.new/source/xmdsintegrateark45.cc	2007-04-04 23:05:32.000000000 +0200
+@@ -31,6 +31,7 @@
+   More detailed explanation...
+ */
+ 
++#include<cstdlib>
+ #include<xmlbasics.h>
+ #include<dom3.h>
+ #include<xmdsutils.h>
+diff -Nur xmds-1.5-3/source/xmdssimulation.cc xmds-1.5-3.new/source/xmdssimulation.cc
+--- xmds-1.5-3/source/xmdssimulation.cc	2007-04-04 23:02:27.000000000 +0200
++++ xmds-1.5-3.new/source/xmdssimulation.cc	2007-04-04 23:05:42.000000000 +0200
+@@ -30,6 +30,7 @@
+   More detailed explanation...
+ */
+ 
++#include<cstdlib>
+ #include<xmlbasics.h>
+ #include<dom3.h>
+ #include<xmdsutils.h>
+diff -Nur xmds-1.5-3/source/xsilfield.cc xmds-1.5-3.new/source/xsilfield.cc
+--- xmds-1.5-3/source/xsilfield.cc	2006-08-03 08:17:41.000000000 +0200
++++ xmds-1.5-3.new/source/xsilfield.cc	2007-04-04 23:04:56.000000000 +0200
+@@ -31,6 +31,7 @@
+   More detailed explanation...
+ */
+ 
++#include<cstdlib>
+ #include<string>
+ #include<ctype.h>
+ #include<xmlbasics.h>

Added: packages/xmds/tags/1.6-1/debian/rules
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.6-1/debian/rules?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.6-1/debian/rules (added)
+++ packages/xmds/tags/1.6-1/debian/rules Wed Aug 10 07:51:31 2011
@@ -1,0 +1,64 @@
+#!/usr/bin/make -f
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/autotools.mk
+include /usr/share/cdbs/1/rules/simple-patchsys.mk
+
+debdir  = $(CURDIR)/debian
+instdir = $(debdir)/xmds
+shrdir  = $(instdir)/usr/share
+expdir  = $(shrdir)/doc/xmds/examples
+mdir    = $(shrdir)/octave/site/m
+
+DEB_CONFIGURE_EXTRA_FLAGS =		\
+	--enable-fftw3			\
+	--enable-mpi			\
+	--with-mpi-path=/usr/lib/mpich	\
+	--with-mpi-compiler=mpicxx
+
+DEB_COMPRESS_EXCLUDE = .xmds
+DEB_AUTO_UPDATE_AUTOCONF = 1
+
+preserved_files = configure source/config.h.in source/xmdsconfig.h
+
+makebuilddir/xmds::
+	# Save files that will be changed by the autotools
+	for i in $(preserved_files) ; do	\
+		if ! test -e $$i-orig ; then	\
+			cp $$i $$i-orig ;	\
+		fi ;				\
+	done
+
+build/xmds:: make-examples-stamp
+make-examples-stamp:
+	# Run test
+	cp examples/lorenz* source
+	( cd source ;						\
+	  $(MAKE) XMDS=./xmds XSIL2GRAPHICS=./xsil2graphics	\
+		-f ../debian/Makefile-examples lorenz.m ;	\
+	  rm -f lorenz* )
+	touch make-examples-stamp
+
+install/xmds::
+	for v in 2.1 2.9 ; do octave$$v-depends ; done
+
+binary-install/xmds::
+	# Move Octave file into the correct directory
+	mkdir -p $(mdir)
+	mv $(instdir)/usr/bin/loadxsil.m $(mdir)
+
+	# Fix permission of files
+	chmod 644 $(expdir)/*.xmds $(mdir)/*
+
+	# Add Makefile to the examples directory
+	cp debian/Makefile-examples $(expdir)/Makefile
+
+clean::
+	rm -rf config.log source/lorenz.* make-examples-stamp	\
+		config.status autom4te.cache
+	# Restored files changed by the autotools
+	for i in $(preserved_files) ; do	\
+		if test -e $$i-orig ; then	\
+			mv $$i-orig $$i ;	\
+		fi ;				\
+	done

Propchange: packages/xmds/tags/1.6-1/debian/rules
------------------------------------------------------------------------------
    svn:executable = *

Added: packages/xmds/tags/1.6-1/debian/watch
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.6-1/debian/watch?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.6-1/debian/watch (added)
+++ packages/xmds/tags/1.6-1/debian/watch Wed Aug 10 07:51:31 2011
@@ -1,0 +1,3 @@
+version=3
+opts="uversionmangle=s/-/./"						\
+  http://heanet.dl.sourceforge.net/sourceforge/xmds/xmds-(.*)\.tar\.gz.*

Added: packages/xmds/tags/1.6-2/debian/Makefile-examples
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.6-2/debian/Makefile-examples?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.6-2/debian/Makefile-examples (added)
+++ packages/xmds/tags/1.6-2/debian/Makefile-examples Wed Aug 10 07:51:31 2011
@@ -1,0 +1,34 @@
+###  -*- make -*-
+### This file is part of the Debian xmds package
+### Copyright (C) 2006 Rafael Laboissiere
+### This file is relased under the GNU General Public License
+### NO WARRANTIES!
+
+### This makefile can be used to build and run the XMDS examples
+
+XMDS_FILES = $(shell ls *.xmds)
+RUN_FILES = $(patsubst %.xmds,%.run,$(XMDS_FILES))
+CC_FILES = $(patsubst %.xmds,%.cc,$(XMDS_FILES))
+XSIL_FILES = $(patsubst %.xmds,%.xsil,$(XMDS_FILES))
+M_FILES = $(patsubst %.xmds,%.xsil,$(XMDS_FILES))
+
+XMDS = xmds
+XSIL2GRAPHICS = xsil2graphics
+
+all: $(M_FILES)
+
+%.run: %.xmds
+	$(XMDS) $<
+	mv $(patsubst %.xmds,%,$<) $@
+
+%.xsil: %.run
+	./$<
+
+%.m: %.xsil
+	$(XSIL2GRAPHICS) $<
+
+clean:
+	rm -f *.run *.cc *.m *.xsil *.wisdom.fftw3
+
+.PRECIOUS: %.run %.xsil %.m
+.PHONY: all clean

Added: packages/xmds/tags/1.6-2/debian/README.Debian
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.6-2/debian/README.Debian?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.6-2/debian/README.Debian (added)
+++ packages/xmds/tags/1.6-2/debian/README.Debian Wed Aug 10 07:51:31 2011
@@ -1,0 +1,20 @@
+xmds for Debian
+---------------
+
+  All examples shiped in the upstream distribution tarball are
+  included in the Debian package in the directory
+  /usr/share/doc/xmds/examples.  To run one of them and visualize the
+  results, you can do, e.g.:
+
+      xmds /usr/share/doc/xmds/examples/nlse.xmds
+      ./nlse
+      xsil2graphics nlse.xsil
+      echo "nlse;mesh(z_1,t_1,pow_dens_1);print nlse.eps -color -deps" \
+           | octave -qf
+      gv nlse.eps
+
+  Notice that you must have one of the octave package (octave2.1 or
+  octave2.9) and the gv package installed in your system in order to run
+  the code above.
+
+ -- Rafael Laboissiere <rafael at debian.org>  Thu, 25 Nov 2006 10:10:09 +0100

Added: packages/xmds/tags/1.6-2/debian/changelog
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.6-2/debian/changelog?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.6-2/debian/changelog (added)
+++ packages/xmds/tags/1.6-2/debian/changelog Wed Aug 10 07:51:31 2011
@@ -1,0 +1,110 @@
+xmds (1.6-2) unstable; urgency=low
+
+  * debian/patches/gcc-4.3-include-cstdlib.patch: Also include cstdlib in
+    source/xmdsintegrateark89.cc  (closes: #417768).  Thanks Martin
+    Milchmayr for the patch.
+
+ -- Rafael Laboissiere <rafael at debian.org>  Tue, 10 Apr 2007 17:54:35 +0200
+
+xmds (1.6-1) unstable; urgency=low
+
+  * New upstream release
+  * Removed patches (applied upstream):
+    + 50-add-lorenz-data.patch
+    + 50-make-examples-work.patch
+    + 50-preserve-prefix.patch
+  * debian/watch: Fixed upstream URL pattern
+  * debian/rules: Fix permission of some installed files
+
+ -- Rafael Laboissiere <rafael at debian.org>  Thu,  5 Apr 2007 11:17:34 +0200
+
+xmds (1.5.3-9) unstable; urgency=low
+
+  * debian/rules: Delete config.status in clean target
+  * debian/patches/gcc-4.3-include-cstdlib.patch: Make the sources compile
+    with GCC 4.3.  Thanks to Martin Michlmayr (closes: #417768).
+
+ -- Rafael Laboissiere <rafael at debian.org>  Wed,  4 Apr 2007 23:04:01 +0200
+
+xmds (1.5.3-8) unstable; urgency=low
+
+  * debian/control:
+    - Added XS-Vcs-Svn and XS-Vcs-Browser fields to the Source section
+    - Added Homepage pseudo-field to the Description
+    - Changed the priority of the package "extra", because it depends on
+      libmpich1.0-dev, which has also priority "extra" (comply with Policy
+      Section 2.5: Priorities)
+  * debian/rules: Save and restore files configure, source/config.h.in,
+    and source/xmdsconfig.h, which are changed by the autotools,
+    preventing the changes to appear in the diff.gz file
+
+ -- Rafael Laboissiere <rafael at debian.org>  Thu,  8 Mar 2007 11:35:28 +0100
+
+xmds (1.5.3-7) unstable; urgency=low
+
+  * First upload to unstable
+
+ -- Rafael Laboissiere <rafael at debian.org>  Wed, 31 Jan 2007 23:19:38 +0100
+
+xmds (1.5.3-6) experimental; urgency=low
+
+  * debian/rules: Use mpicxx as the MPI compile; all the examples work now
+  * debian/README.Debian: Updated accordingly
+
+ -- Rafael Laboissiere <rafael at debian.org>  Thu, 30 Nov 2006 14:29:44 +0100
+
+xmds (1.5.3-5) experimental; urgency=low
+
+  * debian/rules:
+    - Enable the use of MPI
+    - Do not path the examples for fftw3, since they work with fftw2
+  * debian/README.Debian: Updated according to the above
+  * debian/control:
+    - Build-depends on fftw-dev and libmpich1.0-dev
+    - Depends on fftw-dev, fft3-dev, and libmpich1.0-dev, otherwise the
+      xmds program won't work, since it needs the header files of those
+      packages
+
+ -- Rafael Laboissiere <rafael at debian.org>  Thu, 30 Nov 2006 03:54:42 +0100
+
+xmds (1.5.3-4) experimental; urgency=low
+
+  * debian/rules: Avoid the double invocation of build/xmds rule
+
+ -- Rafael Laboissiere <rafael at debian.org>  Tue, 28 Nov 2006 22:33:54 +0100
+
+xmds (1.5.3-3) experimental; urgency=low
+
+  * debian/Makefile-examples: Introduce variables XMDS and XSIL2GRAPHICS
+  * debian/rules: Use the variables defined above in order to call the
+    appropriate programs at build time.
+
+  * debian/README.Debian: Added a note about the examples that do not
+    work because they depend on MPI
+
+ -- Rafael Laboissiere <rafael at debian.org>  Mon, 27 Nov 2006 20:10:19 +0100
+
+xmds (1.5.3-2) experimental; urgency=low
+
+  * First official release, uploaded to experimental because we are in the
+    middle of the etch "soft freeze" period
+
+  * Added patches:
+    - 50-add-lorenz-data.patch: Add file examples/lorenzInput.dat which is
+      missing in the tarball
+    - 50-make-examples-work.patch: Add patch for source/xmdssimulation.cc
+      taken from upstream CVS which makes all examples work (excluding the
+      ones that depend on MPI)
+
+  * Added a regression test for the package (lorenz.xmds example).  This
+    is done through the makefile debian/Makefile-examples, which is also
+    installed in the examples area.
+
+ -- Rafael Laboissiere <rafael at debian.org>  Sat, 25 Nov 2006 18:16:27 +0100
+
+xmds (1.5.3-1) not-released; urgency=low
+
+  * Initial release (Closes: #400312)
+
+ -- Christian T. Steigies <cts at debian.org>  Thu, 23 Nov 2006 21:48:44 +0100
+

Added: packages/xmds/tags/1.6-2/debian/compat
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.6-2/debian/compat?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.6-2/debian/compat (added)
+++ packages/xmds/tags/1.6-2/debian/compat Wed Aug 10 07:51:31 2011
@@ -1,0 +1,1 @@
+5

Added: packages/xmds/tags/1.6-2/debian/control
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.6-2/debian/control?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.6-2/debian/control (added)
+++ packages/xmds/tags/1.6-2/debian/control Wed Aug 10 07:51:31 2011
@@ -1,0 +1,25 @@
+Source: xmds
+Section: science
+Priority: extra
+Maintainer: Debian Scientific Computing Team <pkg-scicomp-devel at lists.alioth.debian.org>
+Uploaders: Christian T. Steigies <cts at debian.org>,
+ Rafael Laboissiere <rafael at debian.org>
+Build-Depends: cdbs, debhelper (>= 5), autotools-dev, fftw-dev, fftw3-dev,
+ libmpich1.0-dev, octave2.1-headers, octave2.9-headers, autoconf
+Standards-Version: 3.7.2
+XS-Vcs-Svn: svn://svn.debian.org/svn/pkg-scicomp/xmds/
+XS-Vcs-Browser: http://svn.debian.org/wsvn/pkg-scicomp/xmds/
+
+Package: xmds
+Architecture: any
+Depends: ${shlibs:Depends}, fftw-dev, fftw3-dev, libmpich1.0-dev
+Suggests: ${octave-2-9:Depends} | ${octave-2-1:Depends}
+Description: eXtensible multi-dimensional Simulator
+ XMDS is a code generator that integrates equations, from Ordinary
+ Differential Equations (ODEs) up to stochastic Partial Differential
+ Equations (PDEs). You write them down in human readable form in an
+ XML file, and it goes away and writes and compiles a C++ program that
+ integrates those equations as fast as it can possibly be done in your
+ architecture.
+ .
+  Homepage: http://xmds.sourceforge.net/

Added: packages/xmds/tags/1.6-2/debian/copyright
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.6-2/debian/copyright?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.6-2/debian/copyright (added)
+++ packages/xmds/tags/1.6-2/debian/copyright Wed Aug 10 07:51:31 2011
@@ -1,0 +1,49 @@
+This package was debianized by Christian T. Steigies <cts at debian.org>
+and Rafael Laboissiere <rafael at debian.org> on Thu, 23 Nov 2006 12:23:09 +0100.
+
+It was downloaded from http://www.xmds.org/downloads.html
+
+Upstream Authors: Paul Cochrane <cochrane at physics.uq.edu.au>
+                  Joseph Hope <Joseph.Hope at anu.edu.au>
+                  Peter Drummond <drummond at physics.uq.edu.au>
+
+
+Copyright:
+  2000-2004  Greg Collecutt, Joseph Hope and Paul Cochrane
+
+
+License:
+
+ XMDS is free software; you can redistribute it and/or
+ modify it under the terms of the GNU General Public License
+ as published by the Free Software Foundation; either version 2
+ of the License, or (at your option) any later version.
+
+ XMDS is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ GNU General Public License for more details.
+
+
+The Debian packaging is (C) 2006, Christian T. Steigies <cts at debian.org>
+and Rafael Laboissiere <rafael at debian.org>, and is licensed under the GPL,
+see `/usr/share/common-licenses/GPL'.
+
+Files with different copyright dates/holders (but also released under the
+GPL):
+
+    source/getopt_xmds.c:
+      Copyright (C) 1987,88,89,90,91,92,93,94,95,96,98,99,2000,2001
+      Free Software Foundation, Inc.
+
+    source/getopt_xmds1.c:
+     Copyright (C) 1987,88,89,90,91,92,93,94,96,97,98
+     Free Software Foundation, Inc.
+
+    source/getopt_xmds.h:
+      Copyright (C) 1989-1994, 1996-1999, 2001 Free Software Foundation, Inc.
+
+    ./source/getopt_xmds_init.c:
+      Copyright (C) 1997, 1998, 2001 Free Software Foundation, Inc.
+      This file is part of the GNU C Library.
+      Contributed by Ulrich Drepper <drepper at cygnus.com>, 1997.

Added: packages/xmds/tags/1.6-2/debian/docs
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.6-2/debian/docs?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.6-2/debian/docs (added)
+++ packages/xmds/tags/1.6-2/debian/docs Wed Aug 10 07:51:31 2011
@@ -1,0 +1,2 @@
+NEWS
+README

Added: packages/xmds/tags/1.6-2/debian/examples
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.6-2/debian/examples?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.6-2/debian/examples (added)
+++ packages/xmds/tags/1.6-2/debian/examples Wed Aug 10 07:51:31 2011
@@ -1,0 +1,2 @@
+examples/*.xmds
+examples/*.dat

Added: packages/xmds/tags/1.6-2/debian/patches/gcc-4.3-include-cstdlib.patch
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.6-2/debian/patches/gcc-4.3-include-cstdlib.patch?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.6-2/debian/patches/gcc-4.3-include-cstdlib.patch (added)
+++ packages/xmds/tags/1.6-2/debian/patches/gcc-4.3-include-cstdlib.patch Wed Aug 10 07:51:31 2011
@@ -1,0 +1,44 @@
+diff -Nur xmds-1.5-3/source/xmdsintegrateark45.cc xmds-1.5-3.new/source/xmdsintegrateark45.cc
+--- xmds-1.5-3/source/xmdsintegrateark45.cc	2006-05-04 09:53:10.000000000 +0200
++++ xmds-1.5-3.new/source/xmdsintegrateark45.cc	2007-04-04 23:05:32.000000000 +0200
+@@ -30,6 +30,7 @@
+   More detailed explanation...
+ */
+ 
++#include<cstdlib>
+ #include<xmlbasics.h>
+ #include<dom3.h>
+ #include<xmdsutils.h>
+diff -Nur xmds-1.5-3/source/xmdssimulation.cc xmds-1.5-3.new/source/xmdssimulation.cc
+--- xmds-1.5-3/source/xmdssimulation.cc	2007-04-04 23:02:27.000000000 +0200
++++ xmds-1.5-3.new/source/xmdssimulation.cc	2007-04-04 23:05:42.000000000 +0200
+@@ -30,6 +30,7 @@
+   More detailed explanation...
+ */
+ 
++#include<cstdlib>
+ #include<xmlbasics.h>
+ #include<dom3.h>
+ #include<xmdsutils.h>
+diff -Nur xmds-1.5-3/source/xsilfield.cc xmds-1.5-3.new/source/xsilfield.cc
+--- xmds-1.5-3/source/xsilfield.cc	2006-08-03 08:17:41.000000000 +0200
++++ xmds-1.5-3.new/source/xsilfield.cc	2007-04-04 23:04:56.000000000 +0200
+@@ -31,6 +31,7 @@
+   More detailed explanation...
+ */
+ 
++#include<cstdlib>
+ #include<string>
+ #include<ctype.h>
+ #include<xmlbasics.h>
+diff -Nur xmds-1.5-3/source/xsilfield.cc xmds-1.5-3.new/source/xsilfield.cc
+--- xmds-1.5-3/source/xmdsintegrateark89.cc	2007-04-10 15:19:24.000000000 +0000
++++ xmds-1.5-3.new/source/xmdsintegrateark89.cc	2007-04-10 15:19:33.000000000 +0000
+@@ -34,6 +34,7 @@
+ #include<dom3.h>
+ #include<xmdsutils.h>
+ #include<xmdsclasses.h>
++#include<cstdlib>
+ 
+ // **************************************************************************
+ // **************************************************************************

Added: packages/xmds/tags/1.6-2/debian/rules
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.6-2/debian/rules?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.6-2/debian/rules (added)
+++ packages/xmds/tags/1.6-2/debian/rules Wed Aug 10 07:51:31 2011
@@ -1,0 +1,64 @@
+#!/usr/bin/make -f
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/autotools.mk
+include /usr/share/cdbs/1/rules/simple-patchsys.mk
+
+debdir  = $(CURDIR)/debian
+instdir = $(debdir)/xmds
+shrdir  = $(instdir)/usr/share
+expdir  = $(shrdir)/doc/xmds/examples
+mdir    = $(shrdir)/octave/site/m
+
+DEB_CONFIGURE_EXTRA_FLAGS =		\
+	--enable-fftw3			\
+	--enable-mpi			\
+	--with-mpi-path=/usr/lib/mpich	\
+	--with-mpi-compiler=mpicxx
+
+DEB_COMPRESS_EXCLUDE = .xmds
+DEB_AUTO_UPDATE_AUTOCONF = 1
+
+preserved_files = configure source/config.h.in source/xmdsconfig.h
+
+makebuilddir/xmds::
+	# Save files that will be changed by the autotools
+	for i in $(preserved_files) ; do	\
+		if ! test -e $$i-orig ; then	\
+			cp $$i $$i-orig ;	\
+		fi ;				\
+	done
+
+build/xmds:: make-examples-stamp
+make-examples-stamp:
+	# Run test
+	cp examples/lorenz* source
+	( cd source ;						\
+	  $(MAKE) XMDS=./xmds XSIL2GRAPHICS=./xsil2graphics	\
+		-f ../debian/Makefile-examples lorenz.m ;	\
+	  rm -f lorenz* )
+	touch make-examples-stamp
+
+install/xmds::
+	for v in 2.1 2.9 ; do octave$$v-depends ; done
+
+binary-install/xmds::
+	# Move Octave file into the correct directory
+	mkdir -p $(mdir)
+	mv $(instdir)/usr/bin/loadxsil.m $(mdir)
+
+	# Fix permission of files
+	chmod 644 $(expdir)/*.xmds $(mdir)/*
+
+	# Add Makefile to the examples directory
+	cp debian/Makefile-examples $(expdir)/Makefile
+
+clean::
+	rm -rf config.log source/lorenz.* make-examples-stamp	\
+		config.status autom4te.cache
+	# Restored files changed by the autotools
+	for i in $(preserved_files) ; do	\
+		if test -e $$i-orig ; then	\
+			mv $$i-orig $$i ;	\
+		fi ;				\
+	done

Propchange: packages/xmds/tags/1.6-2/debian/rules
------------------------------------------------------------------------------
    svn:executable = *

Added: packages/xmds/tags/1.6-2/debian/watch
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.6-2/debian/watch?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.6-2/debian/watch (added)
+++ packages/xmds/tags/1.6-2/debian/watch Wed Aug 10 07:51:31 2011
@@ -1,0 +1,3 @@
+version=3
+opts="uversionmangle=s/-/./"						\
+  http://heanet.dl.sourceforge.net/sourceforge/xmds/xmds-(.*)\.tar\.gz.*

Added: packages/xmds/tags/1.6.1-1/debian/Makefile-examples
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.6.1-1/debian/Makefile-examples?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.6.1-1/debian/Makefile-examples (added)
+++ packages/xmds/tags/1.6.1-1/debian/Makefile-examples Wed Aug 10 07:51:31 2011
@@ -1,0 +1,34 @@
+###  -*- make -*-
+### This file is part of the Debian xmds package
+### Copyright (C) 2006 Rafael Laboissiere
+### This file is relased under the GNU General Public License
+### NO WARRANTIES!
+
+### This makefile can be used to build and run the XMDS examples
+
+XMDS_FILES = $(shell ls *.xmds)
+RUN_FILES = $(patsubst %.xmds,%.run,$(XMDS_FILES))
+CC_FILES = $(patsubst %.xmds,%.cc,$(XMDS_FILES))
+XSIL_FILES = $(patsubst %.xmds,%.xsil,$(XMDS_FILES))
+M_FILES = $(patsubst %.xmds,%.xsil,$(XMDS_FILES))
+
+XMDS = xmds
+XSIL2GRAPHICS = xsil2graphics
+
+all: $(M_FILES)
+
+%.run: %.xmds
+	$(XMDS) $<
+	mv $(patsubst %.xmds,%,$<) $@
+
+%.xsil: %.run
+	./$<
+
+%.m: %.xsil
+	$(XSIL2GRAPHICS) $<
+
+clean:
+	rm -f *.run *.cc *.m *.xsil *.wisdom.fftw3
+
+.PRECIOUS: %.run %.xsil %.m
+.PHONY: all clean

Added: packages/xmds/tags/1.6.1-1/debian/README.Debian
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.6.1-1/debian/README.Debian?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.6.1-1/debian/README.Debian (added)
+++ packages/xmds/tags/1.6.1-1/debian/README.Debian Wed Aug 10 07:51:31 2011
@@ -1,0 +1,20 @@
+xmds for Debian
+---------------
+
+  All examples shiped in the upstream distribution tarball are
+  included in the Debian package in the directory
+  /usr/share/doc/xmds/examples.  To run one of them and visualize the
+  results, you can do, e.g.:
+
+      xmds /usr/share/doc/xmds/examples/nlse.xmds
+      ./nlse
+      xsil2graphics nlse.xsil
+      echo "nlse;mesh(z_1,t_1,pow_dens_1);print nlse.eps -color -deps" \
+           | octave -qf
+      gv nlse.eps
+
+  Notice that you must have one of the octave package (octave2.1 or
+  octave2.9) and the gv package installed in your system in order to run
+  the code above.
+
+ -- Rafael Laboissiere <rafael at debian.org>  Thu, 25 Nov 2006 10:10:09 +0100

Added: packages/xmds/tags/1.6.1-1/debian/changelog
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.6.1-1/debian/changelog?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.6.1-1/debian/changelog (added)
+++ packages/xmds/tags/1.6.1-1/debian/changelog Wed Aug 10 07:51:31 2011
@@ -1,0 +1,119 @@
+xmds (1.6.1-1) unstable; urgency=low
+
+  * New upstream release
+  * debian/control: Fixed typo in short description
+  * debian/patches/loadxsil-varnames-cell.dpatch: Added patch for making
+    loadxsil.m work with Octave
+
+ -- Rafael Laboissiere <rafael at debian.org>  Sat, 12 May 2007 09:44:32 +0200
+
+xmds (1.6-2) unstable; urgency=low
+
+  * debian/patches/gcc-4.3-include-cstdlib.patch: Also include cstdlib in
+    source/xmdsintegrateark89.cc  (closes: #417768).  Thanks Martin
+    Milchmayr for the patch.
+
+ -- Rafael Laboissiere <rafael at debian.org>  Tue, 10 Apr 2007 17:54:35 +0200
+
+xmds (1.6-1) unstable; urgency=low
+
+  * New upstream release
+  * Removed patches (applied upstream):
+    + 50-add-lorenz-data.patch
+    + 50-make-examples-work.patch
+    + 50-preserve-prefix.patch
+  * debian/watch: Fixed upstream URL pattern
+  * debian/rules: Fix permission of some installed files
+
+ -- Rafael Laboissiere <rafael at debian.org>  Thu,  5 Apr 2007 11:17:34 +0200
+
+xmds (1.5.3-9) unstable; urgency=low
+
+  * debian/rules: Delete config.status in clean target
+  * debian/patches/gcc-4.3-include-cstdlib.patch: Make the sources compile
+    with GCC 4.3.  Thanks to Martin Michlmayr (closes: #417768).
+
+ -- Rafael Laboissiere <rafael at debian.org>  Wed,  4 Apr 2007 23:04:01 +0200
+
+xmds (1.5.3-8) unstable; urgency=low
+
+  * debian/control:
+    - Added XS-Vcs-Svn and XS-Vcs-Browser fields to the Source section
+    - Added Homepage pseudo-field to the Description
+    - Changed the priority of the package "extra", because it depends on
+      libmpich1.0-dev, which has also priority "extra" (comply with Policy
+      Section 2.5: Priorities)
+  * debian/rules: Save and restore files configure, source/config.h.in,
+    and source/xmdsconfig.h, which are changed by the autotools,
+    preventing the changes to appear in the diff.gz file
+
+ -- Rafael Laboissiere <rafael at debian.org>  Thu,  8 Mar 2007 11:35:28 +0100
+
+xmds (1.5.3-7) unstable; urgency=low
+
+  * First upload to unstable
+
+ -- Rafael Laboissiere <rafael at debian.org>  Wed, 31 Jan 2007 23:19:38 +0100
+
+xmds (1.5.3-6) experimental; urgency=low
+
+  * debian/rules: Use mpicxx as the MPI compile; all the examples work now
+  * debian/README.Debian: Updated accordingly
+
+ -- Rafael Laboissiere <rafael at debian.org>  Thu, 30 Nov 2006 14:29:44 +0100
+
+xmds (1.5.3-5) experimental; urgency=low
+
+  * debian/rules:
+    - Enable the use of MPI
+    - Do not path the examples for fftw3, since they work with fftw2
+  * debian/README.Debian: Updated according to the above
+  * debian/control:
+    - Build-depends on fftw-dev and libmpich1.0-dev
+    - Depends on fftw-dev, fft3-dev, and libmpich1.0-dev, otherwise the
+      xmds program won't work, since it needs the header files of those
+      packages
+
+ -- Rafael Laboissiere <rafael at debian.org>  Thu, 30 Nov 2006 03:54:42 +0100
+
+xmds (1.5.3-4) experimental; urgency=low
+
+  * debian/rules: Avoid the double invocation of build/xmds rule
+
+ -- Rafael Laboissiere <rafael at debian.org>  Tue, 28 Nov 2006 22:33:54 +0100
+
+xmds (1.5.3-3) experimental; urgency=low
+
+  * debian/Makefile-examples: Introduce variables XMDS and XSIL2GRAPHICS
+  * debian/rules: Use the variables defined above in order to call the
+    appropriate programs at build time.
+
+  * debian/README.Debian: Added a note about the examples that do not
+    work because they depend on MPI
+
+ -- Rafael Laboissiere <rafael at debian.org>  Mon, 27 Nov 2006 20:10:19 +0100
+
+xmds (1.5.3-2) experimental; urgency=low
+
+  * First official release, uploaded to experimental because we are in the
+    middle of the etch "soft freeze" period
+
+  * Added patches:
+    - 50-add-lorenz-data.patch: Add file examples/lorenzInput.dat which is
+      missing in the tarball
+    - 50-make-examples-work.patch: Add patch for source/xmdssimulation.cc
+      taken from upstream CVS which makes all examples work (excluding the
+      ones that depend on MPI)
+
+  * Added a regression test for the package (lorenz.xmds example).  This
+    is done through the makefile debian/Makefile-examples, which is also
+    installed in the examples area.
+
+ -- Rafael Laboissiere <rafael at debian.org>  Sat, 25 Nov 2006 18:16:27 +0100
+
+xmds (1.5.3-1) not-released; urgency=low
+
+  * Initial release (Closes: #400312)
+
+ -- Christian T. Steigies <cts at debian.org>  Thu, 23 Nov 2006 21:48:44 +0100
+

Added: packages/xmds/tags/1.6.1-1/debian/compat
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.6.1-1/debian/compat?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.6.1-1/debian/compat (added)
+++ packages/xmds/tags/1.6.1-1/debian/compat Wed Aug 10 07:51:31 2011
@@ -1,0 +1,1 @@
+5

Added: packages/xmds/tags/1.6.1-1/debian/control
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.6.1-1/debian/control?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.6.1-1/debian/control (added)
+++ packages/xmds/tags/1.6.1-1/debian/control Wed Aug 10 07:51:31 2011
@@ -1,0 +1,25 @@
+Source: xmds
+Section: science
+Priority: extra
+Maintainer: Debian Scientific Computing Team <pkg-scicomp-devel at lists.alioth.debian.org>
+Uploaders: Christian T. Steigies <cts at debian.org>,
+ Rafael Laboissiere <rafael at debian.org>
+Build-Depends: cdbs, debhelper (>= 5), autotools-dev, fftw-dev, fftw3-dev,
+ libmpich1.0-dev, octave2.1-headers, octave2.9-headers, autoconf
+Standards-Version: 3.7.2
+XS-Vcs-Svn: svn://svn.debian.org/svn/pkg-scicomp/xmds/
+XS-Vcs-Browser: http://svn.debian.org/wsvn/pkg-scicomp/xmds/
+
+Package: xmds
+Architecture: any
+Depends: ${shlibs:Depends}, fftw-dev, fftw3-dev, libmpich1.0-dev
+Suggests: ${octave-2-9:Depends} | ${octave-2-1:Depends}
+Description: eXtensible Multi-Dimensional Simulator
+ XMDS is a code generator that integrates equations, from Ordinary
+ Differential Equations (ODEs) up to stochastic Partial Differential
+ Equations (PDEs). You write them down in human readable form in an
+ XML file, and it goes away and writes and compiles a C++ program that
+ integrates those equations as fast as it can possibly be done in your
+ architecture.
+ .
+  Homepage: http://xmds.sourceforge.net/

Added: packages/xmds/tags/1.6.1-1/debian/copyright
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.6.1-1/debian/copyright?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.6.1-1/debian/copyright (added)
+++ packages/xmds/tags/1.6.1-1/debian/copyright Wed Aug 10 07:51:31 2011
@@ -1,0 +1,49 @@
+This package was debianized by Christian T. Steigies <cts at debian.org>
+and Rafael Laboissiere <rafael at debian.org> on Thu, 23 Nov 2006 12:23:09 +0100.
+
+It was downloaded from http://www.xmds.org/downloads.html
+
+Upstream Authors: Paul Cochrane <cochrane at physics.uq.edu.au>
+                  Joseph Hope <Joseph.Hope at anu.edu.au>
+                  Peter Drummond <drummond at physics.uq.edu.au>
+
+
+Copyright:
+  2000-2004  Greg Collecutt, Joseph Hope and Paul Cochrane
+
+
+License:
+
+ XMDS is free software; you can redistribute it and/or
+ modify it under the terms of the GNU General Public License
+ as published by the Free Software Foundation; either version 2
+ of the License, or (at your option) any later version.
+
+ XMDS is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ GNU General Public License for more details.
+
+
+The Debian packaging is (C) 2006, Christian T. Steigies <cts at debian.org>
+and Rafael Laboissiere <rafael at debian.org>, and is licensed under the GPL,
+see `/usr/share/common-licenses/GPL'.
+
+Files with different copyright dates/holders (but also released under the
+GPL):
+
+    source/getopt_xmds.c:
+      Copyright (C) 1987,88,89,90,91,92,93,94,95,96,98,99,2000,2001
+      Free Software Foundation, Inc.
+
+    source/getopt_xmds1.c:
+     Copyright (C) 1987,88,89,90,91,92,93,94,96,97,98
+     Free Software Foundation, Inc.
+
+    source/getopt_xmds.h:
+      Copyright (C) 1989-1994, 1996-1999, 2001 Free Software Foundation, Inc.
+
+    ./source/getopt_xmds_init.c:
+      Copyright (C) 1997, 1998, 2001 Free Software Foundation, Inc.
+      This file is part of the GNU C Library.
+      Contributed by Ulrich Drepper <drepper at cygnus.com>, 1997.

Added: packages/xmds/tags/1.6.1-1/debian/docs
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.6.1-1/debian/docs?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.6.1-1/debian/docs (added)
+++ packages/xmds/tags/1.6.1-1/debian/docs Wed Aug 10 07:51:31 2011
@@ -1,0 +1,2 @@
+NEWS
+README

Added: packages/xmds/tags/1.6.1-1/debian/examples
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.6.1-1/debian/examples?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.6.1-1/debian/examples (added)
+++ packages/xmds/tags/1.6.1-1/debian/examples Wed Aug 10 07:51:31 2011
@@ -1,0 +1,2 @@
+examples/*.xmds
+examples/*.dat

Added: packages/xmds/tags/1.6.1-1/debian/patches/gcc-4.3-include-cstdlib.patch
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.6.1-1/debian/patches/gcc-4.3-include-cstdlib.patch?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.6.1-1/debian/patches/gcc-4.3-include-cstdlib.patch (added)
+++ packages/xmds/tags/1.6.1-1/debian/patches/gcc-4.3-include-cstdlib.patch Wed Aug 10 07:51:31 2011
@@ -1,0 +1,44 @@
+diff -Nur xmds-1.5-3/source/xmdsintegrateark45.cc xmds-1.5-3.new/source/xmdsintegrateark45.cc
+--- xmds-1.5-3/source/xmdsintegrateark45.cc	2006-05-04 09:53:10.000000000 +0200
++++ xmds-1.5-3.new/source/xmdsintegrateark45.cc	2007-04-04 23:05:32.000000000 +0200
+@@ -30,6 +30,7 @@
+   More detailed explanation...
+ */
+ 
++#include<cstdlib>
+ #include<xmlbasics.h>
+ #include<dom3.h>
+ #include<xmdsutils.h>
+diff -Nur xmds-1.5-3/source/xsilfield.cc xmds-1.5-3.new/source/xsilfield.cc
+--- xmds-1.5-3/source/xmdsintegrateark89.cc	2007-04-10 15:19:24.000000000 +0000
++++ xmds-1.5-3.new/source/xmdsintegrateark89.cc	2007-04-10 15:19:33.000000000 +0000
+@@ -34,6 +34,7 @@
+ #include<dom3.h>
+ #include<xmdsutils.h>
+ #include<xmdsclasses.h>
++#include<cstdlib>
+ 
+ // **************************************************************************
+ // **************************************************************************
+diff -Nur xmds-1.5-3/source/xmdssimulation.cc xmds-1.5-3.new/source/xmdssimulation.cc
+--- xmds-1.5-3/source/xmdssimulation.cc	2007-04-04 23:02:27.000000000 +0200
++++ xmds-1.5-3.new/source/xmdssimulation.cc	2007-04-04 23:05:42.000000000 +0200
+@@ -30,6 +30,7 @@
+   More detailed explanation...
+ */
+ 
++#include <cstdlib>
+ #include <xmlbasics.h>
+ #include <dom3.h>
+ #include <xmdsutils.h>
+diff -Nur xmds-1.5-3/source/xsilfield.cc xmds-1.5-3.new/source/xsilfield.cc
+--- xmds-1.5-3/source/xsilfield.cc	2006-08-03 08:17:41.000000000 +0200
++++ xmds-1.5-3.new/source/xsilfield.cc	2007-04-04 23:04:56.000000000 +0200
+@@ -31,6 +31,7 @@
+   More detailed explanation...
+ */
+ 
++#include<cstdlib>
+ #include<string>
+ #include<ctype.h>
+ #include<xmlbasics.h>

Added: packages/xmds/tags/1.6.1-1/debian/patches/loadxsil-varnames-cell.patch
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.6.1-1/debian/patches/loadxsil-varnames-cell.patch?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.6.1-1/debian/patches/loadxsil-varnames-cell.patch (added)
+++ packages/xmds/tags/1.6.1-1/debian/patches/loadxsil-varnames-cell.patch Wed Aug 10 07:51:31 2011
@@ -1,0 +1,122 @@
+diff -Nur xmds-1.6/source/loadxsil.m xmds-1.6.new/source/loadxsil.m
+--- xmds-1.6/source/loadxsil.m	2007-05-09 07:38:54.000000000 +0200
++++ xmds-1.6.new/source/loadxsil.m	2007-05-12 10:13:43.000000000 +0200
+@@ -195,9 +195,9 @@
+       for i = 1:length(inds)
+ 	indEnd = inds(i)-1;
+ 	if (indEnd == indStart)
+-	  varNames(i).name = strcat(line(indStart:indEnd),'_',num2str(imoments));
++	  varNames{i}.name = strcat(line(indStart:indEnd),'_',num2str(imoments));
+ 	elseif (indEnd > indStart)
+-	  varNames(i).name = strcat(line(indStart:indEnd),'_',num2str(imoments));
++	  varNames{i}.name = strcat(line(indStart:indEnd),'_',num2str(imoments));
+ 	else
+ 	  disp('For some reason, indEnd is less than indStart')
+ 	  disp('Exiting...')
+@@ -288,17 +288,17 @@
+       end
+       for k = 1:numVars
+         if (debug)
+-          fprintf('varNames(%d).name = %s\n',k,varNames(k).name);
++          fprintf('varNames{%d}.name = %s\n',k,varNames{k}.name);
+         end
+ 	if (k <= numIndepVars)
+-          indepVarsStr = sprintf('%s%s%s%s\n',indepVarsStr,varNames(k).name,'Len',' = fread(fpDat,1,UnsignedLong);');
+-          indepVarsStr = sprintf('%s%s%s%s%s\n',indepVarsStr,varNames(k).name,' = fread(fpDat,',varNames(k).name,'Len,precision);');
++          indepVarsStr = sprintf('%s%s%s%s\n',indepVarsStr,varNames{k}.name,'Len',' = fread(fpDat,1,UnsignedLong);');
++          indepVarsStr = sprintf('%s%s%s%s%s\n',indepVarsStr,varNames{k}.name,' = fread(fpDat,',varNames{k}.name,'Len,precision);');
+ 	elseif (k > numIndepVars)
+-          varsStr = sprintf('%s%s%s%s\n',varsStr,varNames(k).name,'Len',' = fread(fpDat,1,UnsignedLong);');
++          varsStr = sprintf('%s%s%s%s\n',varsStr,varNames{k}.name,'Len',' = fread(fpDat,1,UnsignedLong);');
+           if (numIndepVars == 0 || numIndepVars == 1)
+-            varsStr = sprintf('%s%s%s%s%s\n',varsStr,varNames(k).name,' = fread(fpDat,',varNames(1).name,'Len,precision);');
++            varsStr = sprintf('%s%s%s%s%s\n',varsStr,varNames{k}.name,' = fread(fpDat,',varNames{1}.name,'Len,precision);');
+           elseif (numIndepVars == 2)
+-            varsStr = sprintf('%s%s%s%s%s%s%s\n',varsStr,varNames(k).name,' = fread(fpDat,[',varNames(2).name,'Len,',varNames(1).name,'Len],precision);');
++            varsStr = sprintf('%s%s%s%s%s%s%s\n',varsStr,varNames{k}.name,' = fread(fpDat,[',varNames{2}.name,'Len,',varNames{1}.name,'Len],precision);');
+ 	  elseif (numIndepVars > 2)
+ 	    % now we need to create a multi-dimensional matrix, and this is harder to do...
+ 	    % we need to read in a matrix-sized (ie 2D) block at a time, and append this to the other dimensions
+@@ -308,17 +308,17 @@
+ 	    % Initialise the memory for the array -- significant speeds up the loading
+ 	    array_size_str = [];
+ 	    for array_k = numIndepVars:-1:1;
+-	      array_size_str = [array_size_str,' ',varNames(array_k).name,'Len'];
++	      array_size_str = [array_size_str,' ',varNames{array_k}.name,'Len'];
+ 	    end;
+-	    varsStr = sprintf('%s%s%s%s%s\n',varsStr,varNames(k).name,' = zeros([',array_size_str,']);');
++	    varsStr = sprintf('%s%s%s%s%s\n',varsStr,varNames{k}.name,' = zeros([',array_size_str,']);');
+ 	    
+ 	    % construct the for loop to loop over the third and subsequent dimensions
+ 	    for inumIndepVars = 1:numIndepVars-2
+-	      varsStr = sprintf('%s%s%s%s%s%s\n',varsStr,'for ',char(indexStrArray(inumIndepVars)),' = 1:',varNames(inumIndepVars).name,'Len');
++	      varsStr = sprintf('%s%s%s%s%s%s\n',varsStr,'for ',char(indexStrArray(inumIndepVars)),' = 1:',varNames{inumIndepVars}.name,'Len');
+ 	    end
+ 
+ 	    % generate the first part of the string, which is the array to be assigned into
+-	    varsStr = sprintf('%s%s%s',varsStr,varNames(k).name,'(:,:,');
++	    varsStr = sprintf('%s%s%s',varsStr,varNames{k}.name,'(:,:,');
+ 	    for inumIndepVars = (numIndepVars-2):-1:1
+ 	      varsStr = sprintf('%s%s',varsStr,char(indexStrArray(inumIndepVars)));
+ 	      % need to append a comma if not last index to append
+@@ -328,7 +328,7 @@
+ 	    end
+ 	    
+ 	    % generate the fread statement
+-	    varsStr = sprintf('%s%s%s%s%s%s\n',varsStr,') = fread(fpDat,[',varNames(numIndepVars).name,'Len,',varNames(numIndepVars-1).name,'Len],precision);');
++	    varsStr = sprintf('%s%s%s%s%s%s\n',varsStr,') = fread(fpDat,[',varNames{numIndepVars}.name,'Len,',varNames{numIndepVars-1}.name,'Len],precision);');
+ 	    
+ 	    % finish off the for loop
+ 	    for inumIndepVars = 1:numIndepVars-2
+@@ -342,12 +342,12 @@
+ 	    %return;
+ 	    
+ %             %%% the following code is for reference only, not to be used!!!
+-% 	    varsStr = sprintf('%s%s%s',varsStr,varNames(k).name,' = fread(fpDat,[');
++% 	    varsStr = sprintf('%s%s%s',varsStr,varNames{k}.name,' = fread(fpDat,[');
+ %             for l = numIndepVars:-1:2  % we need to go backwards
+-%               varsStr = sprintf('%s%s%s',varsStr,varNames(l).name,'Len,');
++%               varsStr = sprintf('%s%s%s',varsStr,varNames{l}.name,'Len,');
+ %             end
+ %             % now add the line that doesn't have the sepatating comma at the end
+-%             varsStr = sprintf('%s%s%s',varsStr,varNames(1).name,'Len');
++%             varsStr = sprintf('%s%s%s',varsStr,varNames{1}.name,'Len');
+ %             % and complete the string
+ %             varsStr = sprintf('%s%s\n',varsStr,'],precision);');
+ % 	    %%% end of reference code
+@@ -378,7 +378,7 @@
+       
+       % assign output variables
+       for i = 1:numVars
+-	    assignin('caller',varNames(i).name,eval(varNames(i).name));
++	    assignin('caller',varNames{i}.name,eval(varNames{i}.name));
+       end
+       
+       % clean up and return      
+@@ -423,7 +423,7 @@
+ 	  indexStr = strcat(indexStr,')');
+ 	  subscriptArray(k) = cellstr(indexStr);
+ 	end
+-	varsStr = sprintf('%s%s%s%s%s%s\n',varsStr,varNames(k).name,char(subscriptArray(k)),' = A(',num2str(k),');');
++	varsStr = sprintf('%s%s%s%s%s%s\n',varsStr,varNames{k}.name,char(subscriptArray(k)),' = A(',num2str(k),');');
+       end
+       
+       % now generate the string for preallocation
+@@ -440,7 +440,7 @@
+ 	  indexStr = strcat(indexStr,')');
+ 	  subscriptArray(k) = cellstr(indexStr);
+ 	end
+-	preStr = sprintf('%s%s%s%s%s\n',preStr,varNames(k).name,' = zeros',char(subscriptArray(k)),';');
++	preStr = sprintf('%s%s%s%s%s\n',preStr,varNames{k}.name,' = zeros',char(subscriptArray(k)),';');
+       end
+ 
+       % now generate the string to evaluate
+@@ -467,7 +467,7 @@
+ 
+       % assign output variables
+       for i = 1:numVars
+-	assignin('caller',varNames(i).name,eval(varNames(i).name));
++	assignin('caller',varNames{i}.name,eval(varNames{i}.name));
+       end
+       
+       % clean up and return

Added: packages/xmds/tags/1.6.1-1/debian/rules
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.6.1-1/debian/rules?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.6.1-1/debian/rules (added)
+++ packages/xmds/tags/1.6.1-1/debian/rules Wed Aug 10 07:51:31 2011
@@ -1,0 +1,64 @@
+#!/usr/bin/make -f
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/autotools.mk
+include /usr/share/cdbs/1/rules/simple-patchsys.mk
+
+debdir  = $(CURDIR)/debian
+instdir = $(debdir)/xmds
+shrdir  = $(instdir)/usr/share
+expdir  = $(shrdir)/doc/xmds/examples
+mdir    = $(shrdir)/octave/site/m
+
+DEB_CONFIGURE_EXTRA_FLAGS =		\
+	--enable-fftw3			\
+	--enable-mpi			\
+	--with-mpi-path=/usr/lib/mpich	\
+	--with-mpi-compiler=mpicxx
+
+DEB_COMPRESS_EXCLUDE = .xmds
+DEB_AUTO_UPDATE_AUTOCONF = 1
+
+preserved_files = configure source/config.h.in source/xmdsconfig.h
+
+makebuilddir/xmds::
+	# Save files that will be changed by the autotools
+	for i in $(preserved_files) ; do	\
+		if ! test -e $$i-orig ; then	\
+			cp $$i $$i-orig ;	\
+		fi ;				\
+	done
+
+build/xmds:: make-examples-stamp
+make-examples-stamp:
+	# Run test
+	cp examples/lorenz* source
+	( cd source ;						\
+	  $(MAKE) XMDS=./xmds XSIL2GRAPHICS=./xsil2graphics	\
+		-f ../debian/Makefile-examples lorenz.m ;	\
+	  rm -f lorenz* )
+	touch make-examples-stamp
+
+install/xmds::
+	for v in 2.1 2.9 ; do octave$$v-depends ; done
+
+binary-install/xmds::
+	# Move Octave file into the correct directory
+	mkdir -p $(mdir)
+	mv $(instdir)/usr/bin/loadxsil.m $(mdir)
+
+	# Fix permission of files
+	chmod 644 $(expdir)/*.xmds $(mdir)/*
+
+	# Add Makefile to the examples directory
+	cp debian/Makefile-examples $(expdir)/Makefile
+
+clean::
+	rm -rf config.log source/lorenz.* make-examples-stamp	\
+		config.status autom4te.cache
+	# Restored files changed by the autotools
+	for i in $(preserved_files) ; do	\
+		if test -e $$i-orig ; then	\
+			mv $$i-orig $$i ;	\
+		fi ;				\
+	done

Propchange: packages/xmds/tags/1.6.1-1/debian/rules
------------------------------------------------------------------------------
    svn:executable = *

Added: packages/xmds/tags/1.6.1-1/debian/watch
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.6.1-1/debian/watch?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.6.1-1/debian/watch (added)
+++ packages/xmds/tags/1.6.1-1/debian/watch Wed Aug 10 07:51:31 2011
@@ -1,0 +1,3 @@
+version=3
+opts="uversionmangle=s/-/./"						\
+  http://heanet.dl.sourceforge.net/sourceforge/xmds/xmds-(.*)\.tar\.gz.*

Added: packages/xmds/tags/1.6.2-1/debian/Makefile-examples
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.6.2-1/debian/Makefile-examples?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.6.2-1/debian/Makefile-examples (added)
+++ packages/xmds/tags/1.6.2-1/debian/Makefile-examples Wed Aug 10 07:51:31 2011
@@ -1,0 +1,34 @@
+###  -*- make -*-
+### This file is part of the Debian xmds package
+### Copyright (C) 2006 Rafael Laboissiere
+### This file is relased under the GNU General Public License
+### NO WARRANTIES!
+
+### This makefile can be used to build and run the XMDS examples
+
+XMDS_FILES = $(shell ls *.xmds)
+RUN_FILES = $(patsubst %.xmds,%.run,$(XMDS_FILES))
+CC_FILES = $(patsubst %.xmds,%.cc,$(XMDS_FILES))
+XSIL_FILES = $(patsubst %.xmds,%.xsil,$(XMDS_FILES))
+M_FILES = $(patsubst %.xmds,%.xsil,$(XMDS_FILES))
+
+XMDS = xmds
+XSIL2GRAPHICS = xsil2graphics
+
+all: $(M_FILES)
+
+%.run: %.xmds
+	$(XMDS) $<
+	mv $(patsubst %.xmds,%,$<) $@
+
+%.xsil: %.run
+	./$<
+
+%.m: %.xsil
+	$(XSIL2GRAPHICS) $<
+
+clean:
+	rm -f *.run *.cc *.m *.xsil *.wisdom.fftw3
+
+.PRECIOUS: %.run %.xsil %.m
+.PHONY: all clean

Added: packages/xmds/tags/1.6.2-1/debian/README.Debian
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.6.2-1/debian/README.Debian?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.6.2-1/debian/README.Debian (added)
+++ packages/xmds/tags/1.6.2-1/debian/README.Debian Wed Aug 10 07:51:31 2011
@@ -1,0 +1,20 @@
+xmds for Debian
+---------------
+
+  All examples shiped in the upstream distribution tarball are
+  included in the Debian package in the directory
+  /usr/share/doc/xmds/examples.  To run one of them and visualize the
+  results, you can do, e.g.:
+
+      xmds /usr/share/doc/xmds/examples/nlse.xmds
+      ./nlse
+      xsil2graphics nlse.xsil
+      echo "nlse;mesh(z_1,t_1,pow_dens_1);print nlse.eps -color -deps" \
+           | octave -qf
+      gv nlse.eps
+
+  Notice that you must have one of the octave package (octave2.1 or
+  octave2.9) and the gv package installed in your system in order to run
+  the code above.
+
+ -- Rafael Laboissiere <rafael at debian.org>  Thu, 25 Nov 2006 10:10:09 +0100

Added: packages/xmds/tags/1.6.2-1/debian/changelog
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.6.2-1/debian/changelog?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.6.2-1/debian/changelog (added)
+++ packages/xmds/tags/1.6.2-1/debian/changelog Wed Aug 10 07:51:31 2011
@@ -1,0 +1,128 @@
+xmds (1.6.2-1) unstable; urgency=low
+
+  * New upstream release
+  * debian/patches/gcc-4.3-includes.patch: New patch for making the
+    package build against gcc 4.3 by including the appropriate cstring and
+    cstdlib headers
+
+ -- Rafael Laboissiere <rafael at debian.org>  Sat, 16 Jun 2007 09:51:02 +0200
+
+xmds (1.6.1-1) unstable; urgency=low
+
+  * New upstream release
+  * debian/control: Fixed typo in short description
+  * debian/patches/loadxsil-varnames-cell.dpatch: Added patch for making
+    loadxsil.m work with Octave
+
+ -- Rafael Laboissiere <rafael at debian.org>  Sat, 12 May 2007 09:44:32 +0200
+
+xmds (1.6-2) unstable; urgency=low
+
+  * debian/patches/gcc-4.3-include-cstdlib.patch: Also include cstdlib in
+    source/xmdsintegrateark89.cc  (closes: #417768).  Thanks Martin
+    Milchmayr for the patch.
+
+ -- Rafael Laboissiere <rafael at debian.org>  Tue, 10 Apr 2007 17:54:35 +0200
+
+xmds (1.6-1) unstable; urgency=low
+
+  * New upstream release
+  * Removed patches (applied upstream):
+    + 50-add-lorenz-data.patch
+    + 50-make-examples-work.patch
+    + 50-preserve-prefix.patch
+  * debian/watch: Fixed upstream URL pattern
+  * debian/rules: Fix permission of some installed files
+
+ -- Rafael Laboissiere <rafael at debian.org>  Thu,  5 Apr 2007 11:17:34 +0200
+
+xmds (1.5.3-9) unstable; urgency=low
+
+  * debian/rules: Delete config.status in clean target
+  * debian/patches/gcc-4.3-include-cstdlib.patch: Make the sources compile
+    with GCC 4.3.  Thanks to Martin Michlmayr (closes: #417768).
+
+ -- Rafael Laboissiere <rafael at debian.org>  Wed,  4 Apr 2007 23:04:01 +0200
+
+xmds (1.5.3-8) unstable; urgency=low
+
+  * debian/control:
+    - Added XS-Vcs-Svn and XS-Vcs-Browser fields to the Source section
+    - Added Homepage pseudo-field to the Description
+    - Changed the priority of the package "extra", because it depends on
+      libmpich1.0-dev, which has also priority "extra" (comply with Policy
+      Section 2.5: Priorities)
+  * debian/rules: Save and restore files configure, source/config.h.in,
+    and source/xmdsconfig.h, which are changed by the autotools,
+    preventing the changes to appear in the diff.gz file
+
+ -- Rafael Laboissiere <rafael at debian.org>  Thu,  8 Mar 2007 11:35:28 +0100
+
+xmds (1.5.3-7) unstable; urgency=low
+
+  * First upload to unstable
+
+ -- Rafael Laboissiere <rafael at debian.org>  Wed, 31 Jan 2007 23:19:38 +0100
+
+xmds (1.5.3-6) experimental; urgency=low
+
+  * debian/rules: Use mpicxx as the MPI compile; all the examples work now
+  * debian/README.Debian: Updated accordingly
+
+ -- Rafael Laboissiere <rafael at debian.org>  Thu, 30 Nov 2006 14:29:44 +0100
+
+xmds (1.5.3-5) experimental; urgency=low
+
+  * debian/rules:
+    - Enable the use of MPI
+    - Do not path the examples for fftw3, since they work with fftw2
+  * debian/README.Debian: Updated according to the above
+  * debian/control:
+    - Build-depends on fftw-dev and libmpich1.0-dev
+    - Depends on fftw-dev, fft3-dev, and libmpich1.0-dev, otherwise the
+      xmds program won't work, since it needs the header files of those
+      packages
+
+ -- Rafael Laboissiere <rafael at debian.org>  Thu, 30 Nov 2006 03:54:42 +0100
+
+xmds (1.5.3-4) experimental; urgency=low
+
+  * debian/rules: Avoid the double invocation of build/xmds rule
+
+ -- Rafael Laboissiere <rafael at debian.org>  Tue, 28 Nov 2006 22:33:54 +0100
+
+xmds (1.5.3-3) experimental; urgency=low
+
+  * debian/Makefile-examples: Introduce variables XMDS and XSIL2GRAPHICS
+  * debian/rules: Use the variables defined above in order to call the
+    appropriate programs at build time.
+
+  * debian/README.Debian: Added a note about the examples that do not
+    work because they depend on MPI
+
+ -- Rafael Laboissiere <rafael at debian.org>  Mon, 27 Nov 2006 20:10:19 +0100
+
+xmds (1.5.3-2) experimental; urgency=low
+
+  * First official release, uploaded to experimental because we are in the
+    middle of the etch "soft freeze" period
+
+  * Added patches:
+    - 50-add-lorenz-data.patch: Add file examples/lorenzInput.dat which is
+      missing in the tarball
+    - 50-make-examples-work.patch: Add patch for source/xmdssimulation.cc
+      taken from upstream CVS which makes all examples work (excluding the
+      ones that depend on MPI)
+
+  * Added a regression test for the package (lorenz.xmds example).  This
+    is done through the makefile debian/Makefile-examples, which is also
+    installed in the examples area.
+
+ -- Rafael Laboissiere <rafael at debian.org>  Sat, 25 Nov 2006 18:16:27 +0100
+
+xmds (1.5.3-1) not-released; urgency=low
+
+  * Initial release (Closes: #400312)
+
+ -- Christian T. Steigies <cts at debian.org>  Thu, 23 Nov 2006 21:48:44 +0100
+

Added: packages/xmds/tags/1.6.2-1/debian/compat
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.6.2-1/debian/compat?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.6.2-1/debian/compat (added)
+++ packages/xmds/tags/1.6.2-1/debian/compat Wed Aug 10 07:51:31 2011
@@ -1,0 +1,1 @@
+5

Added: packages/xmds/tags/1.6.2-1/debian/control
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.6.2-1/debian/control?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.6.2-1/debian/control (added)
+++ packages/xmds/tags/1.6.2-1/debian/control Wed Aug 10 07:51:31 2011
@@ -1,0 +1,25 @@
+Source: xmds
+Section: science
+Priority: extra
+Maintainer: Debian Scientific Computing Team <pkg-scicomp-devel at lists.alioth.debian.org>
+Uploaders: Christian T. Steigies <cts at debian.org>,
+ Rafael Laboissiere <rafael at debian.org>
+Build-Depends: cdbs, debhelper (>= 5), autotools-dev, fftw-dev, fftw3-dev,
+ libmpich1.0-dev, octave2.1-headers, octave2.9-headers, autoconf
+Standards-Version: 3.7.2
+XS-Vcs-Svn: svn://svn.debian.org/svn/pkg-scicomp/xmds/
+XS-Vcs-Browser: http://svn.debian.org/wsvn/pkg-scicomp/xmds/
+
+Package: xmds
+Architecture: any
+Depends: ${shlibs:Depends}, fftw-dev, fftw3-dev, libmpich1.0-dev
+Suggests: ${octave-2-9:Depends} | ${octave-2-1:Depends}
+Description: eXtensible Multi-Dimensional Simulator
+ XMDS is a code generator that integrates equations, from Ordinary
+ Differential Equations (ODEs) up to stochastic Partial Differential
+ Equations (PDEs). You write them down in human readable form in an
+ XML file, and it goes away and writes and compiles a C++ program that
+ integrates those equations as fast as it can possibly be done in your
+ architecture.
+ .
+  Homepage: http://xmds.sourceforge.net/

Added: packages/xmds/tags/1.6.2-1/debian/copyright
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.6.2-1/debian/copyright?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.6.2-1/debian/copyright (added)
+++ packages/xmds/tags/1.6.2-1/debian/copyright Wed Aug 10 07:51:31 2011
@@ -1,0 +1,49 @@
+This package was debianized by Christian T. Steigies <cts at debian.org>
+and Rafael Laboissiere <rafael at debian.org> on Thu, 23 Nov 2006 12:23:09 +0100.
+
+It was downloaded from http://www.xmds.org/downloads.html
+
+Upstream Authors: Paul Cochrane <cochrane at physics.uq.edu.au>
+                  Joseph Hope <Joseph.Hope at anu.edu.au>
+                  Peter Drummond <drummond at physics.uq.edu.au>
+
+
+Copyright:
+  2000-2004  Greg Collecutt, Joseph Hope and Paul Cochrane
+
+
+License:
+
+ XMDS is free software; you can redistribute it and/or
+ modify it under the terms of the GNU General Public License
+ as published by the Free Software Foundation; either version 2
+ of the License, or (at your option) any later version.
+
+ XMDS is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ GNU General Public License for more details.
+
+
+The Debian packaging is (C) 2006, Christian T. Steigies <cts at debian.org>
+and Rafael Laboissiere <rafael at debian.org>, and is licensed under the GPL,
+see `/usr/share/common-licenses/GPL'.
+
+Files with different copyright dates/holders (but also released under the
+GPL):
+
+    source/getopt_xmds.c:
+      Copyright (C) 1987,88,89,90,91,92,93,94,95,96,98,99,2000,2001
+      Free Software Foundation, Inc.
+
+    source/getopt_xmds1.c:
+     Copyright (C) 1987,88,89,90,91,92,93,94,96,97,98
+     Free Software Foundation, Inc.
+
+    source/getopt_xmds.h:
+      Copyright (C) 1989-1994, 1996-1999, 2001 Free Software Foundation, Inc.
+
+    ./source/getopt_xmds_init.c:
+      Copyright (C) 1997, 1998, 2001 Free Software Foundation, Inc.
+      This file is part of the GNU C Library.
+      Contributed by Ulrich Drepper <drepper at cygnus.com>, 1997.

Added: packages/xmds/tags/1.6.2-1/debian/docs
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.6.2-1/debian/docs?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.6.2-1/debian/docs (added)
+++ packages/xmds/tags/1.6.2-1/debian/docs Wed Aug 10 07:51:31 2011
@@ -1,0 +1,2 @@
+NEWS
+README

Added: packages/xmds/tags/1.6.2-1/debian/examples
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.6.2-1/debian/examples?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.6.2-1/debian/examples (added)
+++ packages/xmds/tags/1.6.2-1/debian/examples Wed Aug 10 07:51:31 2011
@@ -1,0 +1,2 @@
+examples/*.xmds
+examples/*.dat

Added: packages/xmds/tags/1.6.2-1/debian/patches/gcc-4.3-includes.patch
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.6.2-1/debian/patches/gcc-4.3-includes.patch?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.6.2-1/debian/patches/gcc-4.3-includes.patch (added)
+++ packages/xmds/tags/1.6.2-1/debian/patches/gcc-4.3-includes.patch Wed Aug 10 07:51:31 2011
@@ -1,0 +1,132 @@
+--- xmds-1.6.2.orig/source/main.cc
++++ xmds-1.6.2/source/main.cc
+@@ -70,6 +70,7 @@
+ #include <xmdsutils.h>
+ #include <xmdsclasses.h>
+ #include <string>
++#include <cstring>
+ #include <cstdio>
+ #include <cstdlib>
+ #include <iostream>
+--- xmds-1.6.2.orig/source/xmds_arg_element.cc
++++ xmds-1.6.2/source/xmds_arg_element.cc
+@@ -34,6 +34,7 @@
+ #include<dom3.h>
+ #include<xmdsutils.h>
+ #include<xmdsclasses.h>
++#include <cstring>
+ 
+ // **************************************************************************
+ // **************************************************************************
+--- xmds-1.6.2.orig/source/xmdsfilter.cc
++++ xmds-1.6.2/source/xmdsfilter.cc
+@@ -34,6 +34,7 @@
+ #include <dom3.h>
+ #include <xmdsutils.h>
+ #include <xmdsclasses.h>
++#include <cstring>
+ 
+ // **************************************************************************
+ // **************************************************************************
+--- xmds-1.6.2.orig/source/xmdsintegrate.cc
++++ xmds-1.6.2/source/xmdsintegrate.cc
+@@ -34,6 +34,7 @@
+ #include<dom3.h>
+ #include<xmdsutils.h>
+ #include<xmdsclasses.h>
++#include <cstring>
+ 
+ // **************************************************************************
+ // **************************************************************************
+--- xmds-1.6.2.orig/source/xmdsintegrateark45.cc
++++ xmds-1.6.2/source/xmdsintegrateark45.cc
+@@ -34,6 +34,7 @@
+ #include<dom3.h>
+ #include<xmdsutils.h>
+ #include<xmdsclasses.h>
++#include <cstdlib>
+ 
+ // **************************************************************************
+ // **************************************************************************
+--- xmds-1.6.2.orig/source/xmdsintegrateark89.cc
++++ xmds-1.6.2/source/xmdsintegrateark89.cc
+@@ -34,6 +34,7 @@
+ #include <dom3.h>
+ #include <xmdsutils.h>
+ #include <xmdsclasses.h>
++#include <cstdlib>
+ 
+ // **************************************************************************
+ // **************************************************************************
+--- xmds-1.6.2.orig/source/xmdsintegratesiip.cc
++++ xmds-1.6.2/source/xmdsintegratesiip.cc
+@@ -34,6 +34,7 @@
+ #include <dom3.h>
+ #include <xmdsutils.h>
+ #include <xmdsclasses.h>
++#include <cstring>
+ 
+ // **************************************************************************
+ // **************************************************************************
+--- xmds-1.6.2.orig/source/xmdsmomentgroup.cc
++++ xmds-1.6.2/source/xmdsmomentgroup.cc
+@@ -35,6 +35,7 @@
+ #include <xmdsutils.h>
+ #include <xmdsclasses.h>
+ #include <string>
++#include <cstring>
+ 
+ // **************************************************************************
+ // **************************************************************************
+--- xmds-1.6.2.orig/source/xmdssimulation.cc
++++ xmds-1.6.2/source/xmdssimulation.cc
+@@ -36,6 +36,8 @@
+ #include <xmdsclasses.h>
+ #include <config.h>
+ #include "version.h"
++#include <cstring>
++#include <cstdlib>
+ 
+ // **************************************************************************
+ // **************************************************************************
+--- xmds-1.6.2.orig/source/xmdsutils.cc
++++ xmds-1.6.2/source/xmdsutils.cc
+@@ -34,6 +34,7 @@
+ #include<dom3.h>
+ #include<xmdsutils.h>
+ #include<string>
++#include <cstring>
+ 
+ extern bool debugFlag;
+ 
+--- xmds-1.6.2.orig/source/xmlparser.cc
++++ xmds-1.6.2/source/xmlparser.cc
+@@ -30,6 +30,7 @@
+   More detailed explanation...
+ */
+ 
++#include <cstring>
+ #include<xmlbasics.h>
+ #include<dom3.h>
+ #include<kissdom.h>
+--- xmds-1.6.2.orig/source/xsil2graphics.cc
++++ xmds-1.6.2/source/xsil2graphics.cc
+@@ -41,6 +41,7 @@
+ #include <xmdsutils.h>
+ #include <xsilfield.h>
+ #include <getopt_xmds.h>
++#include <cstring>
+ 
+ // **********************************************************************
+ 
+--- xmds-1.6.2.orig/source/xsilfield.cc
++++ xmds-1.6.2/source/xsilfield.cc
+@@ -31,6 +31,8 @@
+   More detailed explanation...
+ */
+ 
++#include<cstring>
++#include<cstdlib>
+ #include<string>
+ #include<ctype.h>
+ #include<xmlbasics.h>

Added: packages/xmds/tags/1.6.2-1/debian/patches/loadxsil-varnames-cell.patch
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.6.2-1/debian/patches/loadxsil-varnames-cell.patch?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.6.2-1/debian/patches/loadxsil-varnames-cell.patch (added)
+++ packages/xmds/tags/1.6.2-1/debian/patches/loadxsil-varnames-cell.patch Wed Aug 10 07:51:31 2011
@@ -1,0 +1,122 @@
+diff -Nur xmds-1.6/source/loadxsil.m xmds-1.6.new/source/loadxsil.m
+--- xmds-1.6/source/loadxsil.m	2007-05-09 07:38:54.000000000 +0200
++++ xmds-1.6.new/source/loadxsil.m	2007-05-12 10:13:43.000000000 +0200
+@@ -195,9 +195,9 @@
+       for i = 1:length(inds)
+ 	indEnd = inds(i)-1;
+ 	if (indEnd == indStart)
+-	  varNames(i).name = strcat(line(indStart:indEnd),'_',num2str(imoments));
++	  varNames{i}.name = strcat(line(indStart:indEnd),'_',num2str(imoments));
+ 	elseif (indEnd > indStart)
+-	  varNames(i).name = strcat(line(indStart:indEnd),'_',num2str(imoments));
++	  varNames{i}.name = strcat(line(indStart:indEnd),'_',num2str(imoments));
+ 	else
+ 	  disp('For some reason, indEnd is less than indStart')
+ 	  disp('Exiting...')
+@@ -288,17 +288,17 @@
+       end
+       for k = 1:numVars
+         if (debug)
+-          fprintf('varNames(%d).name = %s\n',k,varNames(k).name);
++          fprintf('varNames{%d}.name = %s\n',k,varNames{k}.name);
+         end
+ 	if (k <= numIndepVars)
+-          indepVarsStr = sprintf('%s%s%s%s\n',indepVarsStr,varNames(k).name,'Len',' = fread(fpDat,1,UnsignedLong);');
+-          indepVarsStr = sprintf('%s%s%s%s%s\n',indepVarsStr,varNames(k).name,' = fread(fpDat,',varNames(k).name,'Len,precision);');
++          indepVarsStr = sprintf('%s%s%s%s\n',indepVarsStr,varNames{k}.name,'Len',' = fread(fpDat,1,UnsignedLong);');
++          indepVarsStr = sprintf('%s%s%s%s%s\n',indepVarsStr,varNames{k}.name,' = fread(fpDat,',varNames{k}.name,'Len,precision);');
+ 	elseif (k > numIndepVars)
+-          varsStr = sprintf('%s%s%s%s\n',varsStr,varNames(k).name,'Len',' = fread(fpDat,1,UnsignedLong);');
++          varsStr = sprintf('%s%s%s%s\n',varsStr,varNames{k}.name,'Len',' = fread(fpDat,1,UnsignedLong);');
+           if (numIndepVars == 0 || numIndepVars == 1)
+-            varsStr = sprintf('%s%s%s%s%s\n',varsStr,varNames(k).name,' = fread(fpDat,',varNames(1).name,'Len,precision);');
++            varsStr = sprintf('%s%s%s%s%s\n',varsStr,varNames{k}.name,' = fread(fpDat,',varNames{1}.name,'Len,precision);');
+           elseif (numIndepVars == 2)
+-            varsStr = sprintf('%s%s%s%s%s%s%s\n',varsStr,varNames(k).name,' = fread(fpDat,[',varNames(2).name,'Len,',varNames(1).name,'Len],precision);');
++            varsStr = sprintf('%s%s%s%s%s%s%s\n',varsStr,varNames{k}.name,' = fread(fpDat,[',varNames{2}.name,'Len,',varNames{1}.name,'Len],precision);');
+ 	  elseif (numIndepVars > 2)
+ 	    % now we need to create a multi-dimensional matrix, and this is harder to do...
+ 	    % we need to read in a matrix-sized (ie 2D) block at a time, and append this to the other dimensions
+@@ -308,17 +308,17 @@
+ 	    % Initialise the memory for the array -- significant speeds up the loading
+ 	    array_size_str = [];
+ 	    for array_k = numIndepVars:-1:1;
+-	      array_size_str = [array_size_str,' ',varNames(array_k).name,'Len'];
++	      array_size_str = [array_size_str,' ',varNames{array_k}.name,'Len'];
+ 	    end;
+-	    varsStr = sprintf('%s%s%s%s%s\n',varsStr,varNames(k).name,' = zeros([',array_size_str,']);');
++	    varsStr = sprintf('%s%s%s%s%s\n',varsStr,varNames{k}.name,' = zeros([',array_size_str,']);');
+ 	    
+ 	    % construct the for loop to loop over the third and subsequent dimensions
+ 	    for inumIndepVars = 1:numIndepVars-2
+-	      varsStr = sprintf('%s%s%s%s%s%s\n',varsStr,'for ',char(indexStrArray(inumIndepVars)),' = 1:',varNames(inumIndepVars).name,'Len');
++	      varsStr = sprintf('%s%s%s%s%s%s\n',varsStr,'for ',char(indexStrArray(inumIndepVars)),' = 1:',varNames{inumIndepVars}.name,'Len');
+ 	    end
+ 
+ 	    % generate the first part of the string, which is the array to be assigned into
+-	    varsStr = sprintf('%s%s%s',varsStr,varNames(k).name,'(:,:,');
++	    varsStr = sprintf('%s%s%s',varsStr,varNames{k}.name,'(:,:,');
+ 	    for inumIndepVars = (numIndepVars-2):-1:1
+ 	      varsStr = sprintf('%s%s',varsStr,char(indexStrArray(inumIndepVars)));
+ 	      % need to append a comma if not last index to append
+@@ -328,7 +328,7 @@
+ 	    end
+ 	    
+ 	    % generate the fread statement
+-	    varsStr = sprintf('%s%s%s%s%s%s\n',varsStr,') = fread(fpDat,[',varNames(numIndepVars).name,'Len,',varNames(numIndepVars-1).name,'Len],precision);');
++	    varsStr = sprintf('%s%s%s%s%s%s\n',varsStr,') = fread(fpDat,[',varNames{numIndepVars}.name,'Len,',varNames{numIndepVars-1}.name,'Len],precision);');
+ 	    
+ 	    % finish off the for loop
+ 	    for inumIndepVars = 1:numIndepVars-2
+@@ -342,12 +342,12 @@
+ 	    %return;
+ 	    
+ %             %%% the following code is for reference only, not to be used!!!
+-% 	    varsStr = sprintf('%s%s%s',varsStr,varNames(k).name,' = fread(fpDat,[');
++% 	    varsStr = sprintf('%s%s%s',varsStr,varNames{k}.name,' = fread(fpDat,[');
+ %             for l = numIndepVars:-1:2  % we need to go backwards
+-%               varsStr = sprintf('%s%s%s',varsStr,varNames(l).name,'Len,');
++%               varsStr = sprintf('%s%s%s',varsStr,varNames{l}.name,'Len,');
+ %             end
+ %             % now add the line that doesn't have the sepatating comma at the end
+-%             varsStr = sprintf('%s%s%s',varsStr,varNames(1).name,'Len');
++%             varsStr = sprintf('%s%s%s',varsStr,varNames{1}.name,'Len');
+ %             % and complete the string
+ %             varsStr = sprintf('%s%s\n',varsStr,'],precision);');
+ % 	    %%% end of reference code
+@@ -378,7 +378,7 @@
+       
+       % assign output variables
+       for i = 1:numVars
+-	    assignin('caller',varNames(i).name,eval(varNames(i).name));
++	    assignin('caller',varNames{i}.name,eval(varNames{i}.name));
+       end
+       
+       % clean up and return      
+@@ -423,7 +423,7 @@
+ 	  indexStr = strcat(indexStr,')');
+ 	  subscriptArray(k) = cellstr(indexStr);
+ 	end
+-	varsStr = sprintf('%s%s%s%s%s%s\n',varsStr,varNames(k).name,char(subscriptArray(k)),' = A(',num2str(k),');');
++	varsStr = sprintf('%s%s%s%s%s%s\n',varsStr,varNames{k}.name,char(subscriptArray(k)),' = A(',num2str(k),');');
+       end
+       
+       % now generate the string for preallocation
+@@ -440,7 +440,7 @@
+ 	  indexStr = strcat(indexStr,')');
+ 	  subscriptArray(k) = cellstr(indexStr);
+ 	end
+-	preStr = sprintf('%s%s%s%s%s\n',preStr,varNames(k).name,' = zeros',char(subscriptArray(k)),';');
++	preStr = sprintf('%s%s%s%s%s\n',preStr,varNames{k}.name,' = zeros',char(subscriptArray(k)),';');
+       end
+ 
+       % now generate the string to evaluate
+@@ -467,7 +467,7 @@
+ 
+       % assign output variables
+       for i = 1:numVars
+-	assignin('caller',varNames(i).name,eval(varNames(i).name));
++	assignin('caller',varNames{i}.name,eval(varNames{i}.name));
+       end
+       
+       % clean up and return

Added: packages/xmds/tags/1.6.2-1/debian/rules
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.6.2-1/debian/rules?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.6.2-1/debian/rules (added)
+++ packages/xmds/tags/1.6.2-1/debian/rules Wed Aug 10 07:51:31 2011
@@ -1,0 +1,64 @@
+#!/usr/bin/make -f
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/autotools.mk
+include /usr/share/cdbs/1/rules/simple-patchsys.mk
+
+debdir  = $(CURDIR)/debian
+instdir = $(debdir)/xmds
+shrdir  = $(instdir)/usr/share
+expdir  = $(shrdir)/doc/xmds/examples
+mdir    = $(shrdir)/octave/site/m
+
+DEB_CONFIGURE_EXTRA_FLAGS =		\
+	--enable-fftw3			\
+	--enable-mpi			\
+	--with-mpi-path=/usr/lib/mpich	\
+	--with-mpi-compiler=mpicxx
+
+DEB_COMPRESS_EXCLUDE = .xmds
+DEB_AUTO_UPDATE_AUTOCONF = 1
+
+preserved_files = configure source/config.h.in source/xmdsconfig.h
+
+makebuilddir/xmds::
+	# Save files that will be changed by the autotools
+	for i in $(preserved_files) ; do	\
+		if ! test -e $$i-orig ; then	\
+			cp $$i $$i-orig ;	\
+		fi ;				\
+	done
+
+build/xmds:: make-examples-stamp
+make-examples-stamp:
+	# Run test
+	cp examples/lorenz* source
+	( cd source ;						\
+	  $(MAKE) XMDS=./xmds XSIL2GRAPHICS=./xsil2graphics	\
+		-f ../debian/Makefile-examples lorenz.m ;	\
+	  rm -f lorenz* )
+	touch make-examples-stamp
+
+install/xmds::
+	for v in 2.1 2.9 ; do octave$$v-depends ; done
+
+binary-install/xmds::
+	# Move Octave file into the correct directory
+	mkdir -p $(mdir)
+	mv $(instdir)/usr/bin/loadxsil.m $(mdir)
+
+	# Fix permission of files
+	chmod 644 $(expdir)/*.xmds $(mdir)/*
+
+	# Add Makefile to the examples directory
+	cp debian/Makefile-examples $(expdir)/Makefile
+
+clean::
+	rm -rf config.log source/lorenz.* make-examples-stamp	\
+		config.status autom4te.cache
+	# Restored files changed by the autotools
+	for i in $(preserved_files) ; do	\
+		if test -e $$i-orig ; then	\
+			mv $$i-orig $$i ;	\
+		fi ;				\
+	done

Propchange: packages/xmds/tags/1.6.2-1/debian/rules
------------------------------------------------------------------------------
    svn:executable = *

Added: packages/xmds/tags/1.6.2-1/debian/watch
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.6.2-1/debian/watch?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.6.2-1/debian/watch (added)
+++ packages/xmds/tags/1.6.2-1/debian/watch Wed Aug 10 07:51:31 2011
@@ -1,0 +1,3 @@
+version=3
+opts="uversionmangle=s/-/./"						\
+  http://heanet.dl.sourceforge.net/sourceforge/xmds/xmds-(.*)\.tar\.gz.*

Added: packages/xmds/tags/1.6.3-1/debian/Makefile-examples
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.6.3-1/debian/Makefile-examples?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.6.3-1/debian/Makefile-examples (added)
+++ packages/xmds/tags/1.6.3-1/debian/Makefile-examples Wed Aug 10 07:51:31 2011
@@ -1,0 +1,34 @@
+###  -*- make -*-
+### This file is part of the Debian xmds package
+### Copyright (C) 2006 Rafael Laboissiere
+### This file is relased under the GNU General Public License
+### NO WARRANTIES!
+
+### This makefile can be used to build and run the XMDS examples
+
+XMDS_FILES = $(shell ls *.xmds)
+RUN_FILES = $(patsubst %.xmds,%.run,$(XMDS_FILES))
+CC_FILES = $(patsubst %.xmds,%.cc,$(XMDS_FILES))
+XSIL_FILES = $(patsubst %.xmds,%.xsil,$(XMDS_FILES))
+M_FILES = $(patsubst %.xmds,%.xsil,$(XMDS_FILES))
+
+XMDS = xmds
+XSIL2GRAPHICS = xsil2graphics
+
+all: $(M_FILES)
+
+%.run: %.xmds
+	$(XMDS) $<
+	mv $(patsubst %.xmds,%,$<) $@
+
+%.xsil: %.run
+	./$<
+
+%.m: %.xsil
+	$(XSIL2GRAPHICS) $<
+
+clean:
+	rm -f *.run *.cc *.m *.xsil *.wisdom.fftw3
+
+.PRECIOUS: %.run %.xsil %.m
+.PHONY: all clean

Added: packages/xmds/tags/1.6.3-1/debian/README.Debian
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.6.3-1/debian/README.Debian?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.6.3-1/debian/README.Debian (added)
+++ packages/xmds/tags/1.6.3-1/debian/README.Debian Wed Aug 10 07:51:31 2011
@@ -1,0 +1,20 @@
+xmds for Debian
+---------------
+
+  All examples shiped in the upstream distribution tarball are
+  included in the Debian package in the directory
+  /usr/share/doc/xmds/examples.  To run one of them and visualize the
+  results, you can do, e.g.:
+
+      xmds /usr/share/doc/xmds/examples/nlse.xmds
+      ./nlse
+      xsil2graphics nlse.xsil
+      echo "nlse;mesh(z_1,t_1,pow_dens_1);print nlse.eps -color -deps" \
+           | octave -qf
+      gv nlse.eps
+
+  Notice that you must have one of the octave package (octave2.1 or
+  octave2.9) and the gv package installed in your system in order to run
+  the code above.
+
+ -- Rafael Laboissiere <rafael at debian.org>  Thu, 25 Nov 2006 10:10:09 +0100

Added: packages/xmds/tags/1.6.3-1/debian/changelog
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.6.3-1/debian/changelog?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.6.3-1/debian/changelog (added)
+++ packages/xmds/tags/1.6.3-1/debian/changelog Wed Aug 10 07:51:31 2011
@@ -1,0 +1,135 @@
+xmds (1.6.3-1) unstable; urgency=low
+
+  * New upstream release.  Removed patch gcc-4.3-includes.patch, which is
+    applied upstream.
+
+ -- Rafael Laboissiere <rafael at debian.org>  Sat, 21 Jul 2007 13:14:48 +0200
+
+xmds (1.6.2-1) unstable; urgency=low
+
+  * New upstream release
+  * debian/patches/gcc-4.3-includes.patch: New patch for making the
+    package build against gcc 4.3 by including the appropriate cstring and
+    cstdlib headers
+
+ -- Rafael Laboissiere <rafael at debian.org>  Sat, 16 Jun 2007 09:51:02 +0200
+
+xmds (1.6.1-1) unstable; urgency=low
+
+  * New upstream release
+  * debian/control: Fixed typo in short description
+  * debian/patches/loadxsil-varnames-cell.dpatch: Added patch for making
+    loadxsil.m work with Octave
+
+ -- Rafael Laboissiere <rafael at debian.org>  Sat, 12 May 2007 09:44:32 +0200
+
+xmds (1.6-2) unstable; urgency=low
+
+  * debian/patches/gcc-4.3-include-cstdlib.patch: Also include cstdlib in
+    source/xmdsintegrateark89.cc  (closes: #417768).  Thanks Martin
+    Milchmayr for the patch.
+
+ -- Rafael Laboissiere <rafael at debian.org>  Tue, 10 Apr 2007 17:54:35 +0200
+
+xmds (1.6-1) unstable; urgency=low
+
+  * New upstream release
+  * Removed patches (applied upstream):
+    + 50-add-lorenz-data.patch
+    + 50-make-examples-work.patch
+    + 50-preserve-prefix.patch
+  * debian/watch: Fixed upstream URL pattern
+  * debian/rules: Fix permission of some installed files
+
+ -- Rafael Laboissiere <rafael at debian.org>  Thu,  5 Apr 2007 11:17:34 +0200
+
+xmds (1.5.3-9) unstable; urgency=low
+
+  * debian/rules: Delete config.status in clean target
+  * debian/patches/gcc-4.3-include-cstdlib.patch: Make the sources compile
+    with GCC 4.3.  Thanks to Martin Michlmayr (closes: #417768).
+
+ -- Rafael Laboissiere <rafael at debian.org>  Wed,  4 Apr 2007 23:04:01 +0200
+
+xmds (1.5.3-8) unstable; urgency=low
+
+  * debian/control:
+    - Added XS-Vcs-Svn and XS-Vcs-Browser fields to the Source section
+    - Added Homepage pseudo-field to the Description
+    - Changed the priority of the package "extra", because it depends on
+      libmpich1.0-dev, which has also priority "extra" (comply with Policy
+      Section 2.5: Priorities)
+  * debian/rules: Save and restore files configure, source/config.h.in,
+    and source/xmdsconfig.h, which are changed by the autotools,
+    preventing the changes to appear in the diff.gz file
+
+ -- Rafael Laboissiere <rafael at debian.org>  Thu,  8 Mar 2007 11:35:28 +0100
+
+xmds (1.5.3-7) unstable; urgency=low
+
+  * First upload to unstable
+
+ -- Rafael Laboissiere <rafael at debian.org>  Wed, 31 Jan 2007 23:19:38 +0100
+
+xmds (1.5.3-6) experimental; urgency=low
+
+  * debian/rules: Use mpicxx as the MPI compile; all the examples work now
+  * debian/README.Debian: Updated accordingly
+
+ -- Rafael Laboissiere <rafael at debian.org>  Thu, 30 Nov 2006 14:29:44 +0100
+
+xmds (1.5.3-5) experimental; urgency=low
+
+  * debian/rules:
+    - Enable the use of MPI
+    - Do not path the examples for fftw3, since they work with fftw2
+  * debian/README.Debian: Updated according to the above
+  * debian/control:
+    - Build-depends on fftw-dev and libmpich1.0-dev
+    - Depends on fftw-dev, fft3-dev, and libmpich1.0-dev, otherwise the
+      xmds program won't work, since it needs the header files of those
+      packages
+
+ -- Rafael Laboissiere <rafael at debian.org>  Thu, 30 Nov 2006 03:54:42 +0100
+
+xmds (1.5.3-4) experimental; urgency=low
+
+  * debian/rules: Avoid the double invocation of build/xmds rule
+
+ -- Rafael Laboissiere <rafael at debian.org>  Tue, 28 Nov 2006 22:33:54 +0100
+
+xmds (1.5.3-3) experimental; urgency=low
+
+  * debian/Makefile-examples: Introduce variables XMDS and XSIL2GRAPHICS
+  * debian/rules: Use the variables defined above in order to call the
+    appropriate programs at build time.
+
+  * debian/README.Debian: Added a note about the examples that do not
+    work because they depend on MPI
+
+ -- Rafael Laboissiere <rafael at debian.org>  Mon, 27 Nov 2006 20:10:19 +0100
+
+xmds (1.5.3-2) experimental; urgency=low
+
+  * First official release, uploaded to experimental because we are in the
+    middle of the etch "soft freeze" period
+
+  * Added patches:
+    - 50-add-lorenz-data.patch: Add file examples/lorenzInput.dat which is
+      missing in the tarball
+    - 50-make-examples-work.patch: Add patch for source/xmdssimulation.cc
+      taken from upstream CVS which makes all examples work (excluding the
+      ones that depend on MPI)
+
+  * Added a regression test for the package (lorenz.xmds example).  This
+    is done through the makefile debian/Makefile-examples, which is also
+    installed in the examples area.
+
+ -- Rafael Laboissiere <rafael at debian.org>  Sat, 25 Nov 2006 18:16:27 +0100
+
+xmds (1.5.3-1) not-released; urgency=low
+
+  * Initial release (Closes: #400312)
+
+ -- Christian T. Steigies <cts at debian.org>  Thu, 23 Nov 2006 21:48:44 +0100
+

Added: packages/xmds/tags/1.6.3-1/debian/compat
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.6.3-1/debian/compat?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.6.3-1/debian/compat (added)
+++ packages/xmds/tags/1.6.3-1/debian/compat Wed Aug 10 07:51:31 2011
@@ -1,0 +1,1 @@
+5

Added: packages/xmds/tags/1.6.3-1/debian/control
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.6.3-1/debian/control?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.6.3-1/debian/control (added)
+++ packages/xmds/tags/1.6.3-1/debian/control Wed Aug 10 07:51:31 2011
@@ -1,0 +1,25 @@
+Source: xmds
+Section: science
+Priority: extra
+Maintainer: Debian Scientific Computing Team <pkg-scicomp-devel at lists.alioth.debian.org>
+Uploaders: Christian T. Steigies <cts at debian.org>,
+ Rafael Laboissiere <rafael at debian.org>
+Build-Depends: cdbs, debhelper (>= 5), autotools-dev, fftw-dev, fftw3-dev,
+ libmpich1.0-dev, octave2.1-headers, octave2.9-headers, autoconf
+Standards-Version: 3.7.2
+XS-Vcs-Svn: svn://svn.debian.org/svn/pkg-scicomp/xmds/
+XS-Vcs-Browser: http://svn.debian.org/wsvn/pkg-scicomp/xmds/
+
+Package: xmds
+Architecture: any
+Depends: ${shlibs:Depends}, fftw-dev, fftw3-dev, libmpich1.0-dev
+Suggests: ${octave-2-9:Depends} | ${octave-2-1:Depends}
+Description: eXtensible Multi-Dimensional Simulator
+ XMDS is a code generator that integrates equations, from Ordinary
+ Differential Equations (ODEs) up to stochastic Partial Differential
+ Equations (PDEs). You write them down in human readable form in an
+ XML file, and it goes away and writes and compiles a C++ program that
+ integrates those equations as fast as it can possibly be done in your
+ architecture.
+ .
+  Homepage: http://xmds.sourceforge.net/

Added: packages/xmds/tags/1.6.3-1/debian/copyright
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.6.3-1/debian/copyright?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.6.3-1/debian/copyright (added)
+++ packages/xmds/tags/1.6.3-1/debian/copyright Wed Aug 10 07:51:31 2011
@@ -1,0 +1,49 @@
+This package was debianized by Christian T. Steigies <cts at debian.org>
+and Rafael Laboissiere <rafael at debian.org> on Thu, 23 Nov 2006 12:23:09 +0100.
+
+It was downloaded from http://www.xmds.org/downloads.html
+
+Upstream Authors: Paul Cochrane <cochrane at physics.uq.edu.au>
+                  Joseph Hope <Joseph.Hope at anu.edu.au>
+                  Peter Drummond <drummond at physics.uq.edu.au>
+
+
+Copyright:
+  2000-2004  Greg Collecutt, Joseph Hope and Paul Cochrane
+
+
+License:
+
+ XMDS is free software; you can redistribute it and/or
+ modify it under the terms of the GNU General Public License
+ as published by the Free Software Foundation; either version 2
+ of the License, or (at your option) any later version.
+
+ XMDS is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ GNU General Public License for more details.
+
+
+The Debian packaging is (C) 2006, Christian T. Steigies <cts at debian.org>
+and Rafael Laboissiere <rafael at debian.org>, and is licensed under the GPL,
+see `/usr/share/common-licenses/GPL'.
+
+Files with different copyright dates/holders (but also released under the
+GPL):
+
+    source/getopt_xmds.c:
+      Copyright (C) 1987,88,89,90,91,92,93,94,95,96,98,99,2000,2001
+      Free Software Foundation, Inc.
+
+    source/getopt_xmds1.c:
+     Copyright (C) 1987,88,89,90,91,92,93,94,96,97,98
+     Free Software Foundation, Inc.
+
+    source/getopt_xmds.h:
+      Copyright (C) 1989-1994, 1996-1999, 2001 Free Software Foundation, Inc.
+
+    ./source/getopt_xmds_init.c:
+      Copyright (C) 1997, 1998, 2001 Free Software Foundation, Inc.
+      This file is part of the GNU C Library.
+      Contributed by Ulrich Drepper <drepper at cygnus.com>, 1997.

Added: packages/xmds/tags/1.6.3-1/debian/docs
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.6.3-1/debian/docs?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.6.3-1/debian/docs (added)
+++ packages/xmds/tags/1.6.3-1/debian/docs Wed Aug 10 07:51:31 2011
@@ -1,0 +1,2 @@
+NEWS
+README

Added: packages/xmds/tags/1.6.3-1/debian/examples
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.6.3-1/debian/examples?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.6.3-1/debian/examples (added)
+++ packages/xmds/tags/1.6.3-1/debian/examples Wed Aug 10 07:51:31 2011
@@ -1,0 +1,2 @@
+examples/*.xmds
+examples/*.dat

Added: packages/xmds/tags/1.6.3-1/debian/patches/loadxsil-varnames-cell.patch
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.6.3-1/debian/patches/loadxsil-varnames-cell.patch?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.6.3-1/debian/patches/loadxsil-varnames-cell.patch (added)
+++ packages/xmds/tags/1.6.3-1/debian/patches/loadxsil-varnames-cell.patch Wed Aug 10 07:51:31 2011
@@ -1,0 +1,122 @@
+diff -Nur xmds-1.6/source/loadxsil.m xmds-1.6.new/source/loadxsil.m
+--- xmds-1.6/source/loadxsil.m	2007-05-09 07:38:54.000000000 +0200
++++ xmds-1.6.new/source/loadxsil.m	2007-05-12 10:13:43.000000000 +0200
+@@ -195,9 +195,9 @@
+       for i = 1:length(inds)
+ 	indEnd = inds(i)-1;
+ 	if (indEnd == indStart)
+-	  varNames(i).name = strcat(line(indStart:indEnd),'_',num2str(imoments));
++	  varNames{i}.name = strcat(line(indStart:indEnd),'_',num2str(imoments));
+ 	elseif (indEnd > indStart)
+-	  varNames(i).name = strcat(line(indStart:indEnd),'_',num2str(imoments));
++	  varNames{i}.name = strcat(line(indStart:indEnd),'_',num2str(imoments));
+ 	else
+ 	  disp('For some reason, indEnd is less than indStart')
+ 	  disp('Exiting...')
+@@ -288,17 +288,17 @@
+       end
+       for k = 1:numVars
+         if (debug)
+-          fprintf('varNames(%d).name = %s\n',k,varNames(k).name);
++          fprintf('varNames{%d}.name = %s\n',k,varNames{k}.name);
+         end
+ 	if (k <= numIndepVars)
+-          indepVarsStr = sprintf('%s%s%s%s\n',indepVarsStr,varNames(k).name,'Len',' = fread(fpDat,1,UnsignedLong);');
+-          indepVarsStr = sprintf('%s%s%s%s%s\n',indepVarsStr,varNames(k).name,' = fread(fpDat,',varNames(k).name,'Len,precision);');
++          indepVarsStr = sprintf('%s%s%s%s\n',indepVarsStr,varNames{k}.name,'Len',' = fread(fpDat,1,UnsignedLong);');
++          indepVarsStr = sprintf('%s%s%s%s%s\n',indepVarsStr,varNames{k}.name,' = fread(fpDat,',varNames{k}.name,'Len,precision);');
+ 	elseif (k > numIndepVars)
+-          varsStr = sprintf('%s%s%s%s\n',varsStr,varNames(k).name,'Len',' = fread(fpDat,1,UnsignedLong);');
++          varsStr = sprintf('%s%s%s%s\n',varsStr,varNames{k}.name,'Len',' = fread(fpDat,1,UnsignedLong);');
+           if (numIndepVars == 0 || numIndepVars == 1)
+-            varsStr = sprintf('%s%s%s%s%s\n',varsStr,varNames(k).name,' = fread(fpDat,',varNames(1).name,'Len,precision);');
++            varsStr = sprintf('%s%s%s%s%s\n',varsStr,varNames{k}.name,' = fread(fpDat,',varNames{1}.name,'Len,precision);');
+           elseif (numIndepVars == 2)
+-            varsStr = sprintf('%s%s%s%s%s%s%s\n',varsStr,varNames(k).name,' = fread(fpDat,[',varNames(2).name,'Len,',varNames(1).name,'Len],precision);');
++            varsStr = sprintf('%s%s%s%s%s%s%s\n',varsStr,varNames{k}.name,' = fread(fpDat,[',varNames{2}.name,'Len,',varNames{1}.name,'Len],precision);');
+ 	  elseif (numIndepVars > 2)
+ 	    % now we need to create a multi-dimensional matrix, and this is harder to do...
+ 	    % we need to read in a matrix-sized (ie 2D) block at a time, and append this to the other dimensions
+@@ -308,17 +308,17 @@
+ 	    % Initialise the memory for the array -- significant speeds up the loading
+ 	    array_size_str = [];
+ 	    for array_k = numIndepVars:-1:1;
+-	      array_size_str = [array_size_str,' ',varNames(array_k).name,'Len'];
++	      array_size_str = [array_size_str,' ',varNames{array_k}.name,'Len'];
+ 	    end;
+-	    varsStr = sprintf('%s%s%s%s%s\n',varsStr,varNames(k).name,' = zeros([',array_size_str,']);');
++	    varsStr = sprintf('%s%s%s%s%s\n',varsStr,varNames{k}.name,' = zeros([',array_size_str,']);');
+ 	    
+ 	    % construct the for loop to loop over the third and subsequent dimensions
+ 	    for inumIndepVars = 1:numIndepVars-2
+-	      varsStr = sprintf('%s%s%s%s%s%s\n',varsStr,'for ',char(indexStrArray(inumIndepVars)),' = 1:',varNames(inumIndepVars).name,'Len');
++	      varsStr = sprintf('%s%s%s%s%s%s\n',varsStr,'for ',char(indexStrArray(inumIndepVars)),' = 1:',varNames{inumIndepVars}.name,'Len');
+ 	    end
+ 
+ 	    % generate the first part of the string, which is the array to be assigned into
+-	    varsStr = sprintf('%s%s%s',varsStr,varNames(k).name,'(:,:,');
++	    varsStr = sprintf('%s%s%s',varsStr,varNames{k}.name,'(:,:,');
+ 	    for inumIndepVars = (numIndepVars-2):-1:1
+ 	      varsStr = sprintf('%s%s',varsStr,char(indexStrArray(inumIndepVars)));
+ 	      % need to append a comma if not last index to append
+@@ -328,7 +328,7 @@
+ 	    end
+ 	    
+ 	    % generate the fread statement
+-	    varsStr = sprintf('%s%s%s%s%s%s\n',varsStr,') = fread(fpDat,[',varNames(numIndepVars).name,'Len,',varNames(numIndepVars-1).name,'Len],precision);');
++	    varsStr = sprintf('%s%s%s%s%s%s\n',varsStr,') = fread(fpDat,[',varNames{numIndepVars}.name,'Len,',varNames{numIndepVars-1}.name,'Len],precision);');
+ 	    
+ 	    % finish off the for loop
+ 	    for inumIndepVars = 1:numIndepVars-2
+@@ -342,12 +342,12 @@
+ 	    %return;
+ 	    
+ %             %%% the following code is for reference only, not to be used!!!
+-% 	    varsStr = sprintf('%s%s%s',varsStr,varNames(k).name,' = fread(fpDat,[');
++% 	    varsStr = sprintf('%s%s%s',varsStr,varNames{k}.name,' = fread(fpDat,[');
+ %             for l = numIndepVars:-1:2  % we need to go backwards
+-%               varsStr = sprintf('%s%s%s',varsStr,varNames(l).name,'Len,');
++%               varsStr = sprintf('%s%s%s',varsStr,varNames{l}.name,'Len,');
+ %             end
+ %             % now add the line that doesn't have the sepatating comma at the end
+-%             varsStr = sprintf('%s%s%s',varsStr,varNames(1).name,'Len');
++%             varsStr = sprintf('%s%s%s',varsStr,varNames{1}.name,'Len');
+ %             % and complete the string
+ %             varsStr = sprintf('%s%s\n',varsStr,'],precision);');
+ % 	    %%% end of reference code
+@@ -378,7 +378,7 @@
+       
+       % assign output variables
+       for i = 1:numVars
+-	    assignin('caller',varNames(i).name,eval(varNames(i).name));
++	    assignin('caller',varNames{i}.name,eval(varNames{i}.name));
+       end
+       
+       % clean up and return      
+@@ -423,7 +423,7 @@
+ 	  indexStr = strcat(indexStr,')');
+ 	  subscriptArray(k) = cellstr(indexStr);
+ 	end
+-	varsStr = sprintf('%s%s%s%s%s%s\n',varsStr,varNames(k).name,char(subscriptArray(k)),' = A(',num2str(k),');');
++	varsStr = sprintf('%s%s%s%s%s%s\n',varsStr,varNames{k}.name,char(subscriptArray(k)),' = A(',num2str(k),');');
+       end
+       
+       % now generate the string for preallocation
+@@ -440,7 +440,7 @@
+ 	  indexStr = strcat(indexStr,')');
+ 	  subscriptArray(k) = cellstr(indexStr);
+ 	end
+-	preStr = sprintf('%s%s%s%s%s\n',preStr,varNames(k).name,' = zeros',char(subscriptArray(k)),';');
++	preStr = sprintf('%s%s%s%s%s\n',preStr,varNames{k}.name,' = zeros',char(subscriptArray(k)),';');
+       end
+ 
+       % now generate the string to evaluate
+@@ -467,7 +467,7 @@
+ 
+       % assign output variables
+       for i = 1:numVars
+-	assignin('caller',varNames(i).name,eval(varNames(i).name));
++	assignin('caller',varNames{i}.name,eval(varNames{i}.name));
+       end
+       
+       % clean up and return

Added: packages/xmds/tags/1.6.3-1/debian/rules
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.6.3-1/debian/rules?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.6.3-1/debian/rules (added)
+++ packages/xmds/tags/1.6.3-1/debian/rules Wed Aug 10 07:51:31 2011
@@ -1,0 +1,64 @@
+#!/usr/bin/make -f
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/autotools.mk
+include /usr/share/cdbs/1/rules/simple-patchsys.mk
+
+debdir  = $(CURDIR)/debian
+instdir = $(debdir)/xmds
+shrdir  = $(instdir)/usr/share
+expdir  = $(shrdir)/doc/xmds/examples
+mdir    = $(shrdir)/octave/site/m
+
+DEB_CONFIGURE_EXTRA_FLAGS =		\
+	--enable-fftw3			\
+	--enable-mpi			\
+	--with-mpi-path=/usr/lib/mpich	\
+	--with-mpi-compiler=mpicxx
+
+DEB_COMPRESS_EXCLUDE = .xmds
+DEB_AUTO_UPDATE_AUTOCONF = 1
+
+preserved_files = configure source/config.h.in source/xmdsconfig.h
+
+makebuilddir/xmds::
+	# Save files that will be changed by the autotools
+	for i in $(preserved_files) ; do	\
+		if ! test -e $$i-orig ; then	\
+			cp $$i $$i-orig ;	\
+		fi ;				\
+	done
+
+build/xmds:: make-examples-stamp
+make-examples-stamp:
+	# Run test
+	cp examples/lorenz* source
+	( cd source ;						\
+	  $(MAKE) XMDS=./xmds XSIL2GRAPHICS=./xsil2graphics	\
+		-f ../debian/Makefile-examples lorenz.m ;	\
+	  rm -f lorenz* )
+	touch make-examples-stamp
+
+install/xmds::
+	for v in 2.1 2.9 ; do octave$$v-depends ; done
+
+binary-install/xmds::
+	# Move Octave file into the correct directory
+	mkdir -p $(mdir)
+	mv $(instdir)/usr/bin/loadxsil.m $(mdir)
+
+	# Fix permission of files
+	chmod 644 $(expdir)/*.xmds $(mdir)/*
+
+	# Add Makefile to the examples directory
+	cp debian/Makefile-examples $(expdir)/Makefile
+
+clean::
+	rm -rf config.log source/lorenz.* make-examples-stamp	\
+		config.status autom4te.cache
+	# Restored files changed by the autotools
+	for i in $(preserved_files) ; do	\
+		if test -e $$i-orig ; then	\
+			mv $$i-orig $$i ;	\
+		fi ;				\
+	done

Propchange: packages/xmds/tags/1.6.3-1/debian/rules
------------------------------------------------------------------------------
    svn:executable = *

Added: packages/xmds/tags/1.6.3-1/debian/watch
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.6.3-1/debian/watch?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.6.3-1/debian/watch (added)
+++ packages/xmds/tags/1.6.3-1/debian/watch Wed Aug 10 07:51:31 2011
@@ -1,0 +1,3 @@
+version=3
+opts="uversionmangle=s/-/./"						\
+  http://heanet.dl.sourceforge.net/sourceforge/xmds/xmds-(.*)\.tar\.gz.*

Added: packages/xmds/tags/1.6.3-2/debian/Makefile-examples
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.6.3-2/debian/Makefile-examples?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.6.3-2/debian/Makefile-examples (added)
+++ packages/xmds/tags/1.6.3-2/debian/Makefile-examples Wed Aug 10 07:51:31 2011
@@ -1,0 +1,34 @@
+###  -*- make -*-
+### This file is part of the Debian xmds package
+### Copyright (C) 2006 Rafael Laboissiere
+### This file is relased under the GNU General Public License
+### NO WARRANTIES!
+
+### This makefile can be used to build and run the XMDS examples
+
+XMDS_FILES = $(shell ls *.xmds)
+RUN_FILES = $(patsubst %.xmds,%.run,$(XMDS_FILES))
+CC_FILES = $(patsubst %.xmds,%.cc,$(XMDS_FILES))
+XSIL_FILES = $(patsubst %.xmds,%.xsil,$(XMDS_FILES))
+M_FILES = $(patsubst %.xmds,%.xsil,$(XMDS_FILES))
+
+XMDS = xmds
+XSIL2GRAPHICS = xsil2graphics
+
+all: $(M_FILES)
+
+%.run: %.xmds
+	$(XMDS) $<
+	mv $(patsubst %.xmds,%,$<) $@
+
+%.xsil: %.run
+	./$<
+
+%.m: %.xsil
+	$(XSIL2GRAPHICS) $<
+
+clean:
+	rm -f *.run *.cc *.m *.xsil *.wisdom.fftw3
+
+.PRECIOUS: %.run %.xsil %.m
+.PHONY: all clean

Added: packages/xmds/tags/1.6.3-2/debian/README.Debian
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.6.3-2/debian/README.Debian?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.6.3-2/debian/README.Debian (added)
+++ packages/xmds/tags/1.6.3-2/debian/README.Debian Wed Aug 10 07:51:31 2011
@@ -1,0 +1,20 @@
+xmds for Debian
+---------------
+
+  All examples shiped in the upstream distribution tarball are
+  included in the Debian package in the directory
+  /usr/share/doc/xmds/examples.  To run one of them and visualize the
+  results, you can do, e.g.:
+
+      xmds /usr/share/doc/xmds/examples/nlse.xmds
+      ./nlse
+      xsil2graphics nlse.xsil
+      echo "nlse;mesh(z_1,t_1,pow_dens_1);print nlse.eps -color -deps" \
+           | octave -qf
+      gv nlse.eps
+
+  Notice that you must have one of the octave package (octave2.1 or
+  octave2.9) and the gv package installed in your system in order to run
+  the code above.
+
+ -- Rafael Laboissiere <rafael at debian.org>  Thu, 25 Nov 2006 10:10:09 +0100

Added: packages/xmds/tags/1.6.3-2/debian/changelog
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.6.3-2/debian/changelog?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.6.3-2/debian/changelog (added)
+++ packages/xmds/tags/1.6.3-2/debian/changelog Wed Aug 10 07:51:31 2011
@@ -1,0 +1,145 @@
+xmds (1.6.3-2) unstable; urgency=low
+
+  * debian/control:
+    + Added Homepage field
+    + Use the now official Vcs-* fields instead of the obsolete XS-Vcs-*
+    + Dropped the Homepage pseudo-header from the extended description
+    + Bumped Standards-Version to 3.7.3
+
+ -- Rafael Laboissiere <rafael at debian.org>  Sat, 15 Dec 2007 11:23:49 +0100
+
+xmds (1.6.3-1) unstable; urgency=low
+
+  * New upstream release.  Removed patch gcc-4.3-includes.patch, which is
+    applied upstream.
+
+ -- Rafael Laboissiere <rafael at debian.org>  Sat, 21 Jul 2007 13:14:48 +0200
+
+xmds (1.6.2-1) unstable; urgency=low
+
+  * New upstream release
+  * debian/patches/gcc-4.3-includes.patch: New patch for making the
+    package build against gcc 4.3 by including the appropriate cstring and
+    cstdlib headers
+
+ -- Rafael Laboissiere <rafael at debian.org>  Sat, 16 Jun 2007 09:51:02 +0200
+
+xmds (1.6.1-1) unstable; urgency=low
+
+  * New upstream release
+  * debian/control: Fixed typo in short description
+  * debian/patches/loadxsil-varnames-cell.dpatch: Added patch for making
+    loadxsil.m work with Octave
+
+ -- Rafael Laboissiere <rafael at debian.org>  Sat, 12 May 2007 09:44:32 +0200
+
+xmds (1.6-2) unstable; urgency=low
+
+  * debian/patches/gcc-4.3-include-cstdlib.patch: Also include cstdlib in
+    source/xmdsintegrateark89.cc  (closes: #417768).  Thanks Martin
+    Milchmayr for the patch.
+
+ -- Rafael Laboissiere <rafael at debian.org>  Tue, 10 Apr 2007 17:54:35 +0200
+
+xmds (1.6-1) unstable; urgency=low
+
+  * New upstream release
+  * Removed patches (applied upstream):
+    + 50-add-lorenz-data.patch
+    + 50-make-examples-work.patch
+    + 50-preserve-prefix.patch
+  * debian/watch: Fixed upstream URL pattern
+  * debian/rules: Fix permission of some installed files
+
+ -- Rafael Laboissiere <rafael at debian.org>  Thu,  5 Apr 2007 11:17:34 +0200
+
+xmds (1.5.3-9) unstable; urgency=low
+
+  * debian/rules: Delete config.status in clean target
+  * debian/patches/gcc-4.3-include-cstdlib.patch: Make the sources compile
+    with GCC 4.3.  Thanks to Martin Michlmayr (closes: #417768).
+
+ -- Rafael Laboissiere <rafael at debian.org>  Wed,  4 Apr 2007 23:04:01 +0200
+
+xmds (1.5.3-8) unstable; urgency=low
+
+  * debian/control:
+    - Added XS-Vcs-Svn and XS-Vcs-Browser fields to the Source section
+    - Added Homepage pseudo-field to the Description
+    - Changed the priority of the package "extra", because it depends on
+      libmpich1.0-dev, which has also priority "extra" (comply with Policy
+      Section 2.5: Priorities)
+  * debian/rules: Save and restore files configure, source/config.h.in,
+    and source/xmdsconfig.h, which are changed by the autotools,
+    preventing the changes to appear in the diff.gz file
+
+ -- Rafael Laboissiere <rafael at debian.org>  Thu,  8 Mar 2007 11:35:28 +0100
+
+xmds (1.5.3-7) unstable; urgency=low
+
+  * First upload to unstable
+
+ -- Rafael Laboissiere <rafael at debian.org>  Wed, 31 Jan 2007 23:19:38 +0100
+
+xmds (1.5.3-6) experimental; urgency=low
+
+  * debian/rules: Use mpicxx as the MPI compile; all the examples work now
+  * debian/README.Debian: Updated accordingly
+
+ -- Rafael Laboissiere <rafael at debian.org>  Thu, 30 Nov 2006 14:29:44 +0100
+
+xmds (1.5.3-5) experimental; urgency=low
+
+  * debian/rules:
+    - Enable the use of MPI
+    - Do not path the examples for fftw3, since they work with fftw2
+  * debian/README.Debian: Updated according to the above
+  * debian/control:
+    - Build-depends on fftw-dev and libmpich1.0-dev
+    - Depends on fftw-dev, fft3-dev, and libmpich1.0-dev, otherwise the
+      xmds program won't work, since it needs the header files of those
+      packages
+
+ -- Rafael Laboissiere <rafael at debian.org>  Thu, 30 Nov 2006 03:54:42 +0100
+
+xmds (1.5.3-4) experimental; urgency=low
+
+  * debian/rules: Avoid the double invocation of build/xmds rule
+
+ -- Rafael Laboissiere <rafael at debian.org>  Tue, 28 Nov 2006 22:33:54 +0100
+
+xmds (1.5.3-3) experimental; urgency=low
+
+  * debian/Makefile-examples: Introduce variables XMDS and XSIL2GRAPHICS
+  * debian/rules: Use the variables defined above in order to call the
+    appropriate programs at build time.
+
+  * debian/README.Debian: Added a note about the examples that do not
+    work because they depend on MPI
+
+ -- Rafael Laboissiere <rafael at debian.org>  Mon, 27 Nov 2006 20:10:19 +0100
+
+xmds (1.5.3-2) experimental; urgency=low
+
+  * First official release, uploaded to experimental because we are in the
+    middle of the etch "soft freeze" period
+
+  * Added patches:
+    - 50-add-lorenz-data.patch: Add file examples/lorenzInput.dat which is
+      missing in the tarball
+    - 50-make-examples-work.patch: Add patch for source/xmdssimulation.cc
+      taken from upstream CVS which makes all examples work (excluding the
+      ones that depend on MPI)
+
+  * Added a regression test for the package (lorenz.xmds example).  This
+    is done through the makefile debian/Makefile-examples, which is also
+    installed in the examples area.
+
+ -- Rafael Laboissiere <rafael at debian.org>  Sat, 25 Nov 2006 18:16:27 +0100
+
+xmds (1.5.3-1) not-released; urgency=low
+
+  * Initial release (Closes: #400312)
+
+ -- Christian T. Steigies <cts at debian.org>  Thu, 23 Nov 2006 21:48:44 +0100
+

Added: packages/xmds/tags/1.6.3-2/debian/compat
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.6.3-2/debian/compat?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.6.3-2/debian/compat (added)
+++ packages/xmds/tags/1.6.3-2/debian/compat Wed Aug 10 07:51:31 2011
@@ -1,0 +1,1 @@
+5

Added: packages/xmds/tags/1.6.3-2/debian/control
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.6.3-2/debian/control?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.6.3-2/debian/control (added)
+++ packages/xmds/tags/1.6.3-2/debian/control Wed Aug 10 07:51:31 2011
@@ -1,0 +1,24 @@
+Source: xmds
+Section: science
+Priority: extra
+Maintainer: Debian Scientific Computing Team <pkg-scicomp-devel at lists.alioth.debian.org>
+Uploaders: Christian T. Steigies <cts at debian.org>,
+ Rafael Laboissiere <rafael at debian.org>
+Build-Depends: cdbs, debhelper (>= 5), autotools-dev, fftw-dev, fftw3-dev,
+ libmpich1.0-dev, octave2.1-headers, octave2.9-headers, autoconf
+Standards-Version: 3.7.3
+Homepage: http://xmds.sourceforge.net/
+Vcs-Svn: svn://svn.debian.org/svn/pkg-scicomp/xmds/
+Vcs-Browser: http://svn.debian.org/wsvn/pkg-scicomp/xmds/
+
+Package: xmds
+Architecture: any
+Depends: ${shlibs:Depends}, fftw-dev, fftw3-dev, libmpich1.0-dev
+Suggests: ${octave-2-9:Depends} | ${octave-2-1:Depends}
+Description: eXtensible Multi-Dimensional Simulator
+ XMDS is a code generator that integrates equations, from Ordinary
+ Differential Equations (ODEs) up to stochastic Partial Differential
+ Equations (PDEs). You write them down in human readable form in an
+ XML file, and it goes away and writes and compiles a C++ program that
+ integrates those equations as fast as it can possibly be done in your
+ architecture.

Added: packages/xmds/tags/1.6.3-2/debian/copyright
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.6.3-2/debian/copyright?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.6.3-2/debian/copyright (added)
+++ packages/xmds/tags/1.6.3-2/debian/copyright Wed Aug 10 07:51:31 2011
@@ -1,0 +1,49 @@
+This package was debianized by Christian T. Steigies <cts at debian.org>
+and Rafael Laboissiere <rafael at debian.org> on Thu, 23 Nov 2006 12:23:09 +0100.
+
+It was downloaded from http://www.xmds.org/downloads.html
+
+Upstream Authors: Paul Cochrane <cochrane at physics.uq.edu.au>
+                  Joseph Hope <Joseph.Hope at anu.edu.au>
+                  Peter Drummond <drummond at physics.uq.edu.au>
+
+
+Copyright:
+  2000-2004  Greg Collecutt, Joseph Hope and Paul Cochrane
+
+
+License:
+
+ XMDS is free software; you can redistribute it and/or
+ modify it under the terms of the GNU General Public License
+ as published by the Free Software Foundation; either version 2
+ of the License, or (at your option) any later version.
+
+ XMDS is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ GNU General Public License for more details.
+
+
+The Debian packaging is (C) 2006, Christian T. Steigies <cts at debian.org>
+and Rafael Laboissiere <rafael at debian.org>, and is licensed under the GPL,
+see `/usr/share/common-licenses/GPL'.
+
+Files with different copyright dates/holders (but also released under the
+GPL):
+
+    source/getopt_xmds.c:
+      Copyright (C) 1987,88,89,90,91,92,93,94,95,96,98,99,2000,2001
+      Free Software Foundation, Inc.
+
+    source/getopt_xmds1.c:
+     Copyright (C) 1987,88,89,90,91,92,93,94,96,97,98
+     Free Software Foundation, Inc.
+
+    source/getopt_xmds.h:
+      Copyright (C) 1989-1994, 1996-1999, 2001 Free Software Foundation, Inc.
+
+    ./source/getopt_xmds_init.c:
+      Copyright (C) 1997, 1998, 2001 Free Software Foundation, Inc.
+      This file is part of the GNU C Library.
+      Contributed by Ulrich Drepper <drepper at cygnus.com>, 1997.

Added: packages/xmds/tags/1.6.3-2/debian/docs
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.6.3-2/debian/docs?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.6.3-2/debian/docs (added)
+++ packages/xmds/tags/1.6.3-2/debian/docs Wed Aug 10 07:51:31 2011
@@ -1,0 +1,2 @@
+NEWS
+README

Added: packages/xmds/tags/1.6.3-2/debian/examples
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.6.3-2/debian/examples?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.6.3-2/debian/examples (added)
+++ packages/xmds/tags/1.6.3-2/debian/examples Wed Aug 10 07:51:31 2011
@@ -1,0 +1,2 @@
+examples/*.xmds
+examples/*.dat

Added: packages/xmds/tags/1.6.3-2/debian/patches/loadxsil-varnames-cell.patch
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.6.3-2/debian/patches/loadxsil-varnames-cell.patch?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.6.3-2/debian/patches/loadxsil-varnames-cell.patch (added)
+++ packages/xmds/tags/1.6.3-2/debian/patches/loadxsil-varnames-cell.patch Wed Aug 10 07:51:31 2011
@@ -1,0 +1,122 @@
+diff -Nur xmds-1.6/source/loadxsil.m xmds-1.6.new/source/loadxsil.m
+--- xmds-1.6/source/loadxsil.m	2007-05-09 07:38:54.000000000 +0200
++++ xmds-1.6.new/source/loadxsil.m	2007-05-12 10:13:43.000000000 +0200
+@@ -195,9 +195,9 @@
+       for i = 1:length(inds)
+ 	indEnd = inds(i)-1;
+ 	if (indEnd == indStart)
+-	  varNames(i).name = strcat(line(indStart:indEnd),'_',num2str(imoments));
++	  varNames{i}.name = strcat(line(indStart:indEnd),'_',num2str(imoments));
+ 	elseif (indEnd > indStart)
+-	  varNames(i).name = strcat(line(indStart:indEnd),'_',num2str(imoments));
++	  varNames{i}.name = strcat(line(indStart:indEnd),'_',num2str(imoments));
+ 	else
+ 	  disp('For some reason, indEnd is less than indStart')
+ 	  disp('Exiting...')
+@@ -288,17 +288,17 @@
+       end
+       for k = 1:numVars
+         if (debug)
+-          fprintf('varNames(%d).name = %s\n',k,varNames(k).name);
++          fprintf('varNames{%d}.name = %s\n',k,varNames{k}.name);
+         end
+ 	if (k <= numIndepVars)
+-          indepVarsStr = sprintf('%s%s%s%s\n',indepVarsStr,varNames(k).name,'Len',' = fread(fpDat,1,UnsignedLong);');
+-          indepVarsStr = sprintf('%s%s%s%s%s\n',indepVarsStr,varNames(k).name,' = fread(fpDat,',varNames(k).name,'Len,precision);');
++          indepVarsStr = sprintf('%s%s%s%s\n',indepVarsStr,varNames{k}.name,'Len',' = fread(fpDat,1,UnsignedLong);');
++          indepVarsStr = sprintf('%s%s%s%s%s\n',indepVarsStr,varNames{k}.name,' = fread(fpDat,',varNames{k}.name,'Len,precision);');
+ 	elseif (k > numIndepVars)
+-          varsStr = sprintf('%s%s%s%s\n',varsStr,varNames(k).name,'Len',' = fread(fpDat,1,UnsignedLong);');
++          varsStr = sprintf('%s%s%s%s\n',varsStr,varNames{k}.name,'Len',' = fread(fpDat,1,UnsignedLong);');
+           if (numIndepVars == 0 || numIndepVars == 1)
+-            varsStr = sprintf('%s%s%s%s%s\n',varsStr,varNames(k).name,' = fread(fpDat,',varNames(1).name,'Len,precision);');
++            varsStr = sprintf('%s%s%s%s%s\n',varsStr,varNames{k}.name,' = fread(fpDat,',varNames{1}.name,'Len,precision);');
+           elseif (numIndepVars == 2)
+-            varsStr = sprintf('%s%s%s%s%s%s%s\n',varsStr,varNames(k).name,' = fread(fpDat,[',varNames(2).name,'Len,',varNames(1).name,'Len],precision);');
++            varsStr = sprintf('%s%s%s%s%s%s%s\n',varsStr,varNames{k}.name,' = fread(fpDat,[',varNames{2}.name,'Len,',varNames{1}.name,'Len],precision);');
+ 	  elseif (numIndepVars > 2)
+ 	    % now we need to create a multi-dimensional matrix, and this is harder to do...
+ 	    % we need to read in a matrix-sized (ie 2D) block at a time, and append this to the other dimensions
+@@ -308,17 +308,17 @@
+ 	    % Initialise the memory for the array -- significant speeds up the loading
+ 	    array_size_str = [];
+ 	    for array_k = numIndepVars:-1:1;
+-	      array_size_str = [array_size_str,' ',varNames(array_k).name,'Len'];
++	      array_size_str = [array_size_str,' ',varNames{array_k}.name,'Len'];
+ 	    end;
+-	    varsStr = sprintf('%s%s%s%s%s\n',varsStr,varNames(k).name,' = zeros([',array_size_str,']);');
++	    varsStr = sprintf('%s%s%s%s%s\n',varsStr,varNames{k}.name,' = zeros([',array_size_str,']);');
+ 	    
+ 	    % construct the for loop to loop over the third and subsequent dimensions
+ 	    for inumIndepVars = 1:numIndepVars-2
+-	      varsStr = sprintf('%s%s%s%s%s%s\n',varsStr,'for ',char(indexStrArray(inumIndepVars)),' = 1:',varNames(inumIndepVars).name,'Len');
++	      varsStr = sprintf('%s%s%s%s%s%s\n',varsStr,'for ',char(indexStrArray(inumIndepVars)),' = 1:',varNames{inumIndepVars}.name,'Len');
+ 	    end
+ 
+ 	    % generate the first part of the string, which is the array to be assigned into
+-	    varsStr = sprintf('%s%s%s',varsStr,varNames(k).name,'(:,:,');
++	    varsStr = sprintf('%s%s%s',varsStr,varNames{k}.name,'(:,:,');
+ 	    for inumIndepVars = (numIndepVars-2):-1:1
+ 	      varsStr = sprintf('%s%s',varsStr,char(indexStrArray(inumIndepVars)));
+ 	      % need to append a comma if not last index to append
+@@ -328,7 +328,7 @@
+ 	    end
+ 	    
+ 	    % generate the fread statement
+-	    varsStr = sprintf('%s%s%s%s%s%s\n',varsStr,') = fread(fpDat,[',varNames(numIndepVars).name,'Len,',varNames(numIndepVars-1).name,'Len],precision);');
++	    varsStr = sprintf('%s%s%s%s%s%s\n',varsStr,') = fread(fpDat,[',varNames{numIndepVars}.name,'Len,',varNames{numIndepVars-1}.name,'Len],precision);');
+ 	    
+ 	    % finish off the for loop
+ 	    for inumIndepVars = 1:numIndepVars-2
+@@ -342,12 +342,12 @@
+ 	    %return;
+ 	    
+ %             %%% the following code is for reference only, not to be used!!!
+-% 	    varsStr = sprintf('%s%s%s',varsStr,varNames(k).name,' = fread(fpDat,[');
++% 	    varsStr = sprintf('%s%s%s',varsStr,varNames{k}.name,' = fread(fpDat,[');
+ %             for l = numIndepVars:-1:2  % we need to go backwards
+-%               varsStr = sprintf('%s%s%s',varsStr,varNames(l).name,'Len,');
++%               varsStr = sprintf('%s%s%s',varsStr,varNames{l}.name,'Len,');
+ %             end
+ %             % now add the line that doesn't have the sepatating comma at the end
+-%             varsStr = sprintf('%s%s%s',varsStr,varNames(1).name,'Len');
++%             varsStr = sprintf('%s%s%s',varsStr,varNames{1}.name,'Len');
+ %             % and complete the string
+ %             varsStr = sprintf('%s%s\n',varsStr,'],precision);');
+ % 	    %%% end of reference code
+@@ -378,7 +378,7 @@
+       
+       % assign output variables
+       for i = 1:numVars
+-	    assignin('caller',varNames(i).name,eval(varNames(i).name));
++	    assignin('caller',varNames{i}.name,eval(varNames{i}.name));
+       end
+       
+       % clean up and return      
+@@ -423,7 +423,7 @@
+ 	  indexStr = strcat(indexStr,')');
+ 	  subscriptArray(k) = cellstr(indexStr);
+ 	end
+-	varsStr = sprintf('%s%s%s%s%s%s\n',varsStr,varNames(k).name,char(subscriptArray(k)),' = A(',num2str(k),');');
++	varsStr = sprintf('%s%s%s%s%s%s\n',varsStr,varNames{k}.name,char(subscriptArray(k)),' = A(',num2str(k),');');
+       end
+       
+       % now generate the string for preallocation
+@@ -440,7 +440,7 @@
+ 	  indexStr = strcat(indexStr,')');
+ 	  subscriptArray(k) = cellstr(indexStr);
+ 	end
+-	preStr = sprintf('%s%s%s%s%s\n',preStr,varNames(k).name,' = zeros',char(subscriptArray(k)),';');
++	preStr = sprintf('%s%s%s%s%s\n',preStr,varNames{k}.name,' = zeros',char(subscriptArray(k)),';');
+       end
+ 
+       % now generate the string to evaluate
+@@ -467,7 +467,7 @@
+ 
+       % assign output variables
+       for i = 1:numVars
+-	assignin('caller',varNames(i).name,eval(varNames(i).name));
++	assignin('caller',varNames{i}.name,eval(varNames{i}.name));
+       end
+       
+       % clean up and return

Added: packages/xmds/tags/1.6.3-2/debian/rules
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.6.3-2/debian/rules?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.6.3-2/debian/rules (added)
+++ packages/xmds/tags/1.6.3-2/debian/rules Wed Aug 10 07:51:31 2011
@@ -1,0 +1,64 @@
+#!/usr/bin/make -f
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/autotools.mk
+include /usr/share/cdbs/1/rules/simple-patchsys.mk
+
+debdir  = $(CURDIR)/debian
+instdir = $(debdir)/xmds
+shrdir  = $(instdir)/usr/share
+expdir  = $(shrdir)/doc/xmds/examples
+mdir    = $(shrdir)/octave/site/m
+
+DEB_CONFIGURE_EXTRA_FLAGS =		\
+	--enable-fftw3			\
+	--enable-mpi			\
+	--with-mpi-path=/usr/lib/mpich	\
+	--with-mpi-compiler=mpicxx
+
+DEB_COMPRESS_EXCLUDE = .xmds
+DEB_AUTO_UPDATE_AUTOCONF = 1
+
+preserved_files = configure source/config.h.in source/xmdsconfig.h
+
+makebuilddir/xmds::
+	# Save files that will be changed by the autotools
+	for i in $(preserved_files) ; do	\
+		if ! test -e $$i-orig ; then	\
+			cp $$i $$i-orig ;	\
+		fi ;				\
+	done
+
+build/xmds:: make-examples-stamp
+make-examples-stamp:
+	# Run test
+	cp examples/lorenz* source
+	( cd source ;						\
+	  $(MAKE) XMDS=./xmds XSIL2GRAPHICS=./xsil2graphics	\
+		-f ../debian/Makefile-examples lorenz.m ;	\
+	  rm -f lorenz* )
+	touch make-examples-stamp
+
+install/xmds::
+	for v in 2.1 2.9 ; do octave$$v-depends ; done
+
+binary-install/xmds::
+	# Move Octave file into the correct directory
+	mkdir -p $(mdir)
+	mv $(instdir)/usr/bin/loadxsil.m $(mdir)
+
+	# Fix permission of files
+	chmod 644 $(expdir)/*.xmds $(mdir)/*
+
+	# Add Makefile to the examples directory
+	cp debian/Makefile-examples $(expdir)/Makefile
+
+clean::
+	rm -rf config.log source/lorenz.* make-examples-stamp	\
+		config.status autom4te.cache
+	# Restored files changed by the autotools
+	for i in $(preserved_files) ; do	\
+		if test -e $$i-orig ; then	\
+			mv $$i-orig $$i ;	\
+		fi ;				\
+	done

Propchange: packages/xmds/tags/1.6.3-2/debian/rules
------------------------------------------------------------------------------
    svn:executable = *

Added: packages/xmds/tags/1.6.3-2/debian/watch
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.6.3-2/debian/watch?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.6.3-2/debian/watch (added)
+++ packages/xmds/tags/1.6.3-2/debian/watch Wed Aug 10 07:51:31 2011
@@ -1,0 +1,3 @@
+version=3
+opts="uversionmangle=s/-/./"						\
+  http://heanet.dl.sourceforge.net/sourceforge/xmds/xmds-(.*)\.tar\.gz.*

Added: packages/xmds/tags/1.6.3-3/debian/Makefile-examples
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.6.3-3/debian/Makefile-examples?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.6.3-3/debian/Makefile-examples (added)
+++ packages/xmds/tags/1.6.3-3/debian/Makefile-examples Wed Aug 10 07:51:31 2011
@@ -1,0 +1,34 @@
+###  -*- make -*-
+### This file is part of the Debian xmds package
+### Copyright (C) 2006 Rafael Laboissiere
+### This file is relased under the GNU General Public License
+### NO WARRANTIES!
+
+### This makefile can be used to build and run the XMDS examples
+
+XMDS_FILES = $(shell ls *.xmds)
+RUN_FILES = $(patsubst %.xmds,%.run,$(XMDS_FILES))
+CC_FILES = $(patsubst %.xmds,%.cc,$(XMDS_FILES))
+XSIL_FILES = $(patsubst %.xmds,%.xsil,$(XMDS_FILES))
+M_FILES = $(patsubst %.xmds,%.xsil,$(XMDS_FILES))
+
+XMDS = xmds
+XSIL2GRAPHICS = xsil2graphics
+
+all: $(M_FILES)
+
+%.run: %.xmds
+	$(XMDS) $<
+	mv $(patsubst %.xmds,%,$<) $@
+
+%.xsil: %.run
+	./$<
+
+%.m: %.xsil
+	$(XSIL2GRAPHICS) $<
+
+clean:
+	rm -f *.run *.cc *.m *.xsil *.wisdom.fftw3
+
+.PRECIOUS: %.run %.xsil %.m
+.PHONY: all clean

Added: packages/xmds/tags/1.6.3-3/debian/README.Debian
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.6.3-3/debian/README.Debian?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.6.3-3/debian/README.Debian (added)
+++ packages/xmds/tags/1.6.3-3/debian/README.Debian Wed Aug 10 07:51:31 2011
@@ -1,0 +1,20 @@
+xmds for Debian
+---------------
+
+  All examples shiped in the upstream distribution tarball are
+  included in the Debian package in the directory
+  /usr/share/doc/xmds/examples.  To run one of them and visualize the
+  results, you can do, e.g.:
+
+      xmds /usr/share/doc/xmds/examples/nlse.xmds
+      ./nlse
+      xsil2graphics nlse.xsil
+      echo "nlse;mesh(z_1,t_1,pow_dens_1);print nlse.eps -color -deps" \
+           | octave -qf
+      gv nlse.eps
+
+  Notice that you must have one of the octave package (octave2.1 or
+  octave2.9) and the gv package installed in your system in order to run
+  the code above.
+
+ -- Rafael Laboissiere <rafael at debian.org>  Thu, 25 Nov 2006 10:10:09 +0100

Added: packages/xmds/tags/1.6.3-3/debian/changelog
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.6.3-3/debian/changelog?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.6.3-3/debian/changelog (added)
+++ packages/xmds/tags/1.6.3-3/debian/changelog Wed Aug 10 07:51:31 2011
@@ -1,0 +1,152 @@
+xmds (1.6.3-3) unstable; urgency=low
+
+  * debian/control: Build-depends on libfft3-dev, since the fftw3 packages
+    have been renamed (closes: #454174)
+
+ -- Rafael Laboissiere <rafael at debian.org>  Wed, 19 Dec 2007 16:54:24 +0100
+
+xmds (1.6.3-2) unstable; urgency=low
+
+  * debian/control:
+    + Added Homepage field
+    + Use the now official Vcs-* fields instead of the obsolete XS-Vcs-*
+    + Dropped the Homepage pseudo-header from the extended description
+    + Bumped Standards-Version to 3.7.3
+
+ -- Rafael Laboissiere <rafael at debian.org>  Sat, 15 Dec 2007 11:23:49 +0100
+
+xmds (1.6.3-1) unstable; urgency=low
+
+  * New upstream release.  Removed patch gcc-4.3-includes.patch, which is
+    applied upstream.
+
+ -- Rafael Laboissiere <rafael at debian.org>  Sat, 21 Jul 2007 13:14:48 +0200
+
+xmds (1.6.2-1) unstable; urgency=low
+
+  * New upstream release
+  * debian/patches/gcc-4.3-includes.patch: New patch for making the
+    package build against gcc 4.3 by including the appropriate cstring and
+    cstdlib headers
+
+ -- Rafael Laboissiere <rafael at debian.org>  Sat, 16 Jun 2007 09:51:02 +0200
+
+xmds (1.6.1-1) unstable; urgency=low
+
+  * New upstream release
+  * debian/control: Fixed typo in short description
+  * debian/patches/loadxsil-varnames-cell.dpatch: Added patch for making
+    loadxsil.m work with Octave
+
+ -- Rafael Laboissiere <rafael at debian.org>  Sat, 12 May 2007 09:44:32 +0200
+
+xmds (1.6-2) unstable; urgency=low
+
+  * debian/patches/gcc-4.3-include-cstdlib.patch: Also include cstdlib in
+    source/xmdsintegrateark89.cc  (closes: #417768).  Thanks Martin
+    Milchmayr for the patch.
+
+ -- Rafael Laboissiere <rafael at debian.org>  Tue, 10 Apr 2007 17:54:35 +0200
+
+xmds (1.6-1) unstable; urgency=low
+
+  * New upstream release
+  * Removed patches (applied upstream):
+    + 50-add-lorenz-data.patch
+    + 50-make-examples-work.patch
+    + 50-preserve-prefix.patch
+  * debian/watch: Fixed upstream URL pattern
+  * debian/rules: Fix permission of some installed files
+
+ -- Rafael Laboissiere <rafael at debian.org>  Thu,  5 Apr 2007 11:17:34 +0200
+
+xmds (1.5.3-9) unstable; urgency=low
+
+  * debian/rules: Delete config.status in clean target
+  * debian/patches/gcc-4.3-include-cstdlib.patch: Make the sources compile
+    with GCC 4.3.  Thanks to Martin Michlmayr (closes: #417768).
+
+ -- Rafael Laboissiere <rafael at debian.org>  Wed,  4 Apr 2007 23:04:01 +0200
+
+xmds (1.5.3-8) unstable; urgency=low
+
+  * debian/control:
+    - Added XS-Vcs-Svn and XS-Vcs-Browser fields to the Source section
+    - Added Homepage pseudo-field to the Description
+    - Changed the priority of the package "extra", because it depends on
+      libmpich1.0-dev, which has also priority "extra" (comply with Policy
+      Section 2.5: Priorities)
+  * debian/rules: Save and restore files configure, source/config.h.in,
+    and source/xmdsconfig.h, which are changed by the autotools,
+    preventing the changes to appear in the diff.gz file
+
+ -- Rafael Laboissiere <rafael at debian.org>  Thu,  8 Mar 2007 11:35:28 +0100
+
+xmds (1.5.3-7) unstable; urgency=low
+
+  * First upload to unstable
+
+ -- Rafael Laboissiere <rafael at debian.org>  Wed, 31 Jan 2007 23:19:38 +0100
+
+xmds (1.5.3-6) experimental; urgency=low
+
+  * debian/rules: Use mpicxx as the MPI compile; all the examples work now
+  * debian/README.Debian: Updated accordingly
+
+ -- Rafael Laboissiere <rafael at debian.org>  Thu, 30 Nov 2006 14:29:44 +0100
+
+xmds (1.5.3-5) experimental; urgency=low
+
+  * debian/rules:
+    - Enable the use of MPI
+    - Do not path the examples for fftw3, since they work with fftw2
+  * debian/README.Debian: Updated according to the above
+  * debian/control:
+    - Build-depends on fftw-dev and libmpich1.0-dev
+    - Depends on fftw-dev, fft3-dev, and libmpich1.0-dev, otherwise the
+      xmds program won't work, since it needs the header files of those
+      packages
+
+ -- Rafael Laboissiere <rafael at debian.org>  Thu, 30 Nov 2006 03:54:42 +0100
+
+xmds (1.5.3-4) experimental; urgency=low
+
+  * debian/rules: Avoid the double invocation of build/xmds rule
+
+ -- Rafael Laboissiere <rafael at debian.org>  Tue, 28 Nov 2006 22:33:54 +0100
+
+xmds (1.5.3-3) experimental; urgency=low
+
+  * debian/Makefile-examples: Introduce variables XMDS and XSIL2GRAPHICS
+  * debian/rules: Use the variables defined above in order to call the
+    appropriate programs at build time.
+
+  * debian/README.Debian: Added a note about the examples that do not
+    work because they depend on MPI
+
+ -- Rafael Laboissiere <rafael at debian.org>  Mon, 27 Nov 2006 20:10:19 +0100
+
+xmds (1.5.3-2) experimental; urgency=low
+
+  * First official release, uploaded to experimental because we are in the
+    middle of the etch "soft freeze" period
+
+  * Added patches:
+    - 50-add-lorenz-data.patch: Add file examples/lorenzInput.dat which is
+      missing in the tarball
+    - 50-make-examples-work.patch: Add patch for source/xmdssimulation.cc
+      taken from upstream CVS which makes all examples work (excluding the
+      ones that depend on MPI)
+
+  * Added a regression test for the package (lorenz.xmds example).  This
+    is done through the makefile debian/Makefile-examples, which is also
+    installed in the examples area.
+
+ -- Rafael Laboissiere <rafael at debian.org>  Sat, 25 Nov 2006 18:16:27 +0100
+
+xmds (1.5.3-1) not-released; urgency=low
+
+  * Initial release (Closes: #400312)
+
+ -- Christian T. Steigies <cts at debian.org>  Thu, 23 Nov 2006 21:48:44 +0100
+

Added: packages/xmds/tags/1.6.3-3/debian/compat
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.6.3-3/debian/compat?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.6.3-3/debian/compat (added)
+++ packages/xmds/tags/1.6.3-3/debian/compat Wed Aug 10 07:51:31 2011
@@ -1,0 +1,1 @@
+5

Added: packages/xmds/tags/1.6.3-3/debian/control
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.6.3-3/debian/control?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.6.3-3/debian/control (added)
+++ packages/xmds/tags/1.6.3-3/debian/control Wed Aug 10 07:51:31 2011
@@ -1,0 +1,24 @@
+Source: xmds
+Section: science
+Priority: extra
+Maintainer: Debian Scientific Computing Team <pkg-scicomp-devel at lists.alioth.debian.org>
+Uploaders: Christian T. Steigies <cts at debian.org>,
+ Rafael Laboissiere <rafael at debian.org>
+Build-Depends: cdbs, debhelper (>= 5), autotools-dev, fftw-dev, libfftw3-dev,
+ libmpich1.0-dev, octave2.1-headers, octave2.9-headers, autoconf
+Standards-Version: 3.7.3
+Homepage: http://xmds.sourceforge.net/
+Vcs-Svn: svn://svn.debian.org/svn/pkg-scicomp/xmds/
+Vcs-Browser: http://svn.debian.org/wsvn/pkg-scicomp/xmds/
+
+Package: xmds
+Architecture: any
+Depends: ${shlibs:Depends}, fftw-dev, libfftw3-dev, libmpich1.0-dev
+Suggests: ${octave-2-9:Depends} | ${octave-2-1:Depends}
+Description: eXtensible Multi-Dimensional Simulator
+ XMDS is a code generator that integrates equations, from Ordinary
+ Differential Equations (ODEs) up to stochastic Partial Differential
+ Equations (PDEs). You write them down in human readable form in an
+ XML file, and it goes away and writes and compiles a C++ program that
+ integrates those equations as fast as it can possibly be done in your
+ architecture.

Added: packages/xmds/tags/1.6.3-3/debian/copyright
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.6.3-3/debian/copyright?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.6.3-3/debian/copyright (added)
+++ packages/xmds/tags/1.6.3-3/debian/copyright Wed Aug 10 07:51:31 2011
@@ -1,0 +1,49 @@
+This package was debianized by Christian T. Steigies <cts at debian.org>
+and Rafael Laboissiere <rafael at debian.org> on Thu, 23 Nov 2006 12:23:09 +0100.
+
+It was downloaded from http://www.xmds.org/downloads.html
+
+Upstream Authors: Paul Cochrane <cochrane at physics.uq.edu.au>
+                  Joseph Hope <Joseph.Hope at anu.edu.au>
+                  Peter Drummond <drummond at physics.uq.edu.au>
+
+
+Copyright:
+  2000-2004  Greg Collecutt, Joseph Hope and Paul Cochrane
+
+
+License:
+
+ XMDS is free software; you can redistribute it and/or
+ modify it under the terms of the GNU General Public License
+ as published by the Free Software Foundation; either version 2
+ of the License, or (at your option) any later version.
+
+ XMDS is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ GNU General Public License for more details.
+
+
+The Debian packaging is (C) 2006, Christian T. Steigies <cts at debian.org>
+and Rafael Laboissiere <rafael at debian.org>, and is licensed under the GPL,
+see `/usr/share/common-licenses/GPL'.
+
+Files with different copyright dates/holders (but also released under the
+GPL):
+
+    source/getopt_xmds.c:
+      Copyright (C) 1987,88,89,90,91,92,93,94,95,96,98,99,2000,2001
+      Free Software Foundation, Inc.
+
+    source/getopt_xmds1.c:
+     Copyright (C) 1987,88,89,90,91,92,93,94,96,97,98
+     Free Software Foundation, Inc.
+
+    source/getopt_xmds.h:
+      Copyright (C) 1989-1994, 1996-1999, 2001 Free Software Foundation, Inc.
+
+    ./source/getopt_xmds_init.c:
+      Copyright (C) 1997, 1998, 2001 Free Software Foundation, Inc.
+      This file is part of the GNU C Library.
+      Contributed by Ulrich Drepper <drepper at cygnus.com>, 1997.

Added: packages/xmds/tags/1.6.3-3/debian/docs
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.6.3-3/debian/docs?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.6.3-3/debian/docs (added)
+++ packages/xmds/tags/1.6.3-3/debian/docs Wed Aug 10 07:51:31 2011
@@ -1,0 +1,2 @@
+NEWS
+README

Added: packages/xmds/tags/1.6.3-3/debian/examples
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.6.3-3/debian/examples?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.6.3-3/debian/examples (added)
+++ packages/xmds/tags/1.6.3-3/debian/examples Wed Aug 10 07:51:31 2011
@@ -1,0 +1,2 @@
+examples/*.xmds
+examples/*.dat

Added: packages/xmds/tags/1.6.3-3/debian/patches/loadxsil-varnames-cell.patch
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.6.3-3/debian/patches/loadxsil-varnames-cell.patch?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.6.3-3/debian/patches/loadxsil-varnames-cell.patch (added)
+++ packages/xmds/tags/1.6.3-3/debian/patches/loadxsil-varnames-cell.patch Wed Aug 10 07:51:31 2011
@@ -1,0 +1,122 @@
+diff -Nur xmds-1.6/source/loadxsil.m xmds-1.6.new/source/loadxsil.m
+--- xmds-1.6/source/loadxsil.m	2007-05-09 07:38:54.000000000 +0200
++++ xmds-1.6.new/source/loadxsil.m	2007-05-12 10:13:43.000000000 +0200
+@@ -195,9 +195,9 @@
+       for i = 1:length(inds)
+ 	indEnd = inds(i)-1;
+ 	if (indEnd == indStart)
+-	  varNames(i).name = strcat(line(indStart:indEnd),'_',num2str(imoments));
++	  varNames{i}.name = strcat(line(indStart:indEnd),'_',num2str(imoments));
+ 	elseif (indEnd > indStart)
+-	  varNames(i).name = strcat(line(indStart:indEnd),'_',num2str(imoments));
++	  varNames{i}.name = strcat(line(indStart:indEnd),'_',num2str(imoments));
+ 	else
+ 	  disp('For some reason, indEnd is less than indStart')
+ 	  disp('Exiting...')
+@@ -288,17 +288,17 @@
+       end
+       for k = 1:numVars
+         if (debug)
+-          fprintf('varNames(%d).name = %s\n',k,varNames(k).name);
++          fprintf('varNames{%d}.name = %s\n',k,varNames{k}.name);
+         end
+ 	if (k <= numIndepVars)
+-          indepVarsStr = sprintf('%s%s%s%s\n',indepVarsStr,varNames(k).name,'Len',' = fread(fpDat,1,UnsignedLong);');
+-          indepVarsStr = sprintf('%s%s%s%s%s\n',indepVarsStr,varNames(k).name,' = fread(fpDat,',varNames(k).name,'Len,precision);');
++          indepVarsStr = sprintf('%s%s%s%s\n',indepVarsStr,varNames{k}.name,'Len',' = fread(fpDat,1,UnsignedLong);');
++          indepVarsStr = sprintf('%s%s%s%s%s\n',indepVarsStr,varNames{k}.name,' = fread(fpDat,',varNames{k}.name,'Len,precision);');
+ 	elseif (k > numIndepVars)
+-          varsStr = sprintf('%s%s%s%s\n',varsStr,varNames(k).name,'Len',' = fread(fpDat,1,UnsignedLong);');
++          varsStr = sprintf('%s%s%s%s\n',varsStr,varNames{k}.name,'Len',' = fread(fpDat,1,UnsignedLong);');
+           if (numIndepVars == 0 || numIndepVars == 1)
+-            varsStr = sprintf('%s%s%s%s%s\n',varsStr,varNames(k).name,' = fread(fpDat,',varNames(1).name,'Len,precision);');
++            varsStr = sprintf('%s%s%s%s%s\n',varsStr,varNames{k}.name,' = fread(fpDat,',varNames{1}.name,'Len,precision);');
+           elseif (numIndepVars == 2)
+-            varsStr = sprintf('%s%s%s%s%s%s%s\n',varsStr,varNames(k).name,' = fread(fpDat,[',varNames(2).name,'Len,',varNames(1).name,'Len],precision);');
++            varsStr = sprintf('%s%s%s%s%s%s%s\n',varsStr,varNames{k}.name,' = fread(fpDat,[',varNames{2}.name,'Len,',varNames{1}.name,'Len],precision);');
+ 	  elseif (numIndepVars > 2)
+ 	    % now we need to create a multi-dimensional matrix, and this is harder to do...
+ 	    % we need to read in a matrix-sized (ie 2D) block at a time, and append this to the other dimensions
+@@ -308,17 +308,17 @@
+ 	    % Initialise the memory for the array -- significant speeds up the loading
+ 	    array_size_str = [];
+ 	    for array_k = numIndepVars:-1:1;
+-	      array_size_str = [array_size_str,' ',varNames(array_k).name,'Len'];
++	      array_size_str = [array_size_str,' ',varNames{array_k}.name,'Len'];
+ 	    end;
+-	    varsStr = sprintf('%s%s%s%s%s\n',varsStr,varNames(k).name,' = zeros([',array_size_str,']);');
++	    varsStr = sprintf('%s%s%s%s%s\n',varsStr,varNames{k}.name,' = zeros([',array_size_str,']);');
+ 	    
+ 	    % construct the for loop to loop over the third and subsequent dimensions
+ 	    for inumIndepVars = 1:numIndepVars-2
+-	      varsStr = sprintf('%s%s%s%s%s%s\n',varsStr,'for ',char(indexStrArray(inumIndepVars)),' = 1:',varNames(inumIndepVars).name,'Len');
++	      varsStr = sprintf('%s%s%s%s%s%s\n',varsStr,'for ',char(indexStrArray(inumIndepVars)),' = 1:',varNames{inumIndepVars}.name,'Len');
+ 	    end
+ 
+ 	    % generate the first part of the string, which is the array to be assigned into
+-	    varsStr = sprintf('%s%s%s',varsStr,varNames(k).name,'(:,:,');
++	    varsStr = sprintf('%s%s%s',varsStr,varNames{k}.name,'(:,:,');
+ 	    for inumIndepVars = (numIndepVars-2):-1:1
+ 	      varsStr = sprintf('%s%s',varsStr,char(indexStrArray(inumIndepVars)));
+ 	      % need to append a comma if not last index to append
+@@ -328,7 +328,7 @@
+ 	    end
+ 	    
+ 	    % generate the fread statement
+-	    varsStr = sprintf('%s%s%s%s%s%s\n',varsStr,') = fread(fpDat,[',varNames(numIndepVars).name,'Len,',varNames(numIndepVars-1).name,'Len],precision);');
++	    varsStr = sprintf('%s%s%s%s%s%s\n',varsStr,') = fread(fpDat,[',varNames{numIndepVars}.name,'Len,',varNames{numIndepVars-1}.name,'Len],precision);');
+ 	    
+ 	    % finish off the for loop
+ 	    for inumIndepVars = 1:numIndepVars-2
+@@ -342,12 +342,12 @@
+ 	    %return;
+ 	    
+ %             %%% the following code is for reference only, not to be used!!!
+-% 	    varsStr = sprintf('%s%s%s',varsStr,varNames(k).name,' = fread(fpDat,[');
++% 	    varsStr = sprintf('%s%s%s',varsStr,varNames{k}.name,' = fread(fpDat,[');
+ %             for l = numIndepVars:-1:2  % we need to go backwards
+-%               varsStr = sprintf('%s%s%s',varsStr,varNames(l).name,'Len,');
++%               varsStr = sprintf('%s%s%s',varsStr,varNames{l}.name,'Len,');
+ %             end
+ %             % now add the line that doesn't have the sepatating comma at the end
+-%             varsStr = sprintf('%s%s%s',varsStr,varNames(1).name,'Len');
++%             varsStr = sprintf('%s%s%s',varsStr,varNames{1}.name,'Len');
+ %             % and complete the string
+ %             varsStr = sprintf('%s%s\n',varsStr,'],precision);');
+ % 	    %%% end of reference code
+@@ -378,7 +378,7 @@
+       
+       % assign output variables
+       for i = 1:numVars
+-	    assignin('caller',varNames(i).name,eval(varNames(i).name));
++	    assignin('caller',varNames{i}.name,eval(varNames{i}.name));
+       end
+       
+       % clean up and return      
+@@ -423,7 +423,7 @@
+ 	  indexStr = strcat(indexStr,')');
+ 	  subscriptArray(k) = cellstr(indexStr);
+ 	end
+-	varsStr = sprintf('%s%s%s%s%s%s\n',varsStr,varNames(k).name,char(subscriptArray(k)),' = A(',num2str(k),');');
++	varsStr = sprintf('%s%s%s%s%s%s\n',varsStr,varNames{k}.name,char(subscriptArray(k)),' = A(',num2str(k),');');
+       end
+       
+       % now generate the string for preallocation
+@@ -440,7 +440,7 @@
+ 	  indexStr = strcat(indexStr,')');
+ 	  subscriptArray(k) = cellstr(indexStr);
+ 	end
+-	preStr = sprintf('%s%s%s%s%s\n',preStr,varNames(k).name,' = zeros',char(subscriptArray(k)),';');
++	preStr = sprintf('%s%s%s%s%s\n',preStr,varNames{k}.name,' = zeros',char(subscriptArray(k)),';');
+       end
+ 
+       % now generate the string to evaluate
+@@ -467,7 +467,7 @@
+ 
+       % assign output variables
+       for i = 1:numVars
+-	assignin('caller',varNames(i).name,eval(varNames(i).name));
++	assignin('caller',varNames{i}.name,eval(varNames{i}.name));
+       end
+       
+       % clean up and return

Added: packages/xmds/tags/1.6.3-3/debian/rules
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.6.3-3/debian/rules?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.6.3-3/debian/rules (added)
+++ packages/xmds/tags/1.6.3-3/debian/rules Wed Aug 10 07:51:31 2011
@@ -1,0 +1,64 @@
+#!/usr/bin/make -f
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/autotools.mk
+include /usr/share/cdbs/1/rules/simple-patchsys.mk
+
+debdir  = $(CURDIR)/debian
+instdir = $(debdir)/xmds
+shrdir  = $(instdir)/usr/share
+expdir  = $(shrdir)/doc/xmds/examples
+mdir    = $(shrdir)/octave/site/m
+
+DEB_CONFIGURE_EXTRA_FLAGS =		\
+	--enable-fftw3			\
+	--enable-mpi			\
+	--with-mpi-path=/usr/lib/mpich	\
+	--with-mpi-compiler=mpicxx
+
+DEB_COMPRESS_EXCLUDE = .xmds
+DEB_AUTO_UPDATE_AUTOCONF = 1
+
+preserved_files = configure source/config.h.in source/xmdsconfig.h
+
+makebuilddir/xmds::
+	# Save files that will be changed by the autotools
+	for i in $(preserved_files) ; do	\
+		if ! test -e $$i-orig ; then	\
+			cp $$i $$i-orig ;	\
+		fi ;				\
+	done
+
+build/xmds:: make-examples-stamp
+make-examples-stamp:
+	# Run test
+	cp examples/lorenz* source
+	( cd source ;						\
+	  $(MAKE) XMDS=./xmds XSIL2GRAPHICS=./xsil2graphics	\
+		-f ../debian/Makefile-examples lorenz.m ;	\
+	  rm -f lorenz* )
+	touch make-examples-stamp
+
+install/xmds::
+	for v in 2.1 2.9 ; do octave$$v-depends ; done
+
+binary-install/xmds::
+	# Move Octave file into the correct directory
+	mkdir -p $(mdir)
+	mv $(instdir)/usr/bin/loadxsil.m $(mdir)
+
+	# Fix permission of files
+	chmod 644 $(expdir)/*.xmds $(mdir)/*
+
+	# Add Makefile to the examples directory
+	cp debian/Makefile-examples $(expdir)/Makefile
+
+clean::
+	rm -rf config.log source/lorenz.* make-examples-stamp	\
+		config.status autom4te.cache
+	# Restored files changed by the autotools
+	for i in $(preserved_files) ; do	\
+		if test -e $$i-orig ; then	\
+			mv $$i-orig $$i ;	\
+		fi ;				\
+	done

Propchange: packages/xmds/tags/1.6.3-3/debian/rules
------------------------------------------------------------------------------
    svn:executable = *

Added: packages/xmds/tags/1.6.3-3/debian/watch
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.6.3-3/debian/watch?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.6.3-3/debian/watch (added)
+++ packages/xmds/tags/1.6.3-3/debian/watch Wed Aug 10 07:51:31 2011
@@ -1,0 +1,3 @@
+version=3
+opts="uversionmangle=s/-/./"						\
+  http://heanet.dl.sourceforge.net/sourceforge/xmds/xmds-(.*)\.tar\.gz.*

Added: packages/xmds/tags/1.6.3~svn.1569-1/debian/Makefile-examples
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.6.3%7Esvn.1569-1/debian/Makefile-examples?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.6.3~svn.1569-1/debian/Makefile-examples (added)
+++ packages/xmds/tags/1.6.3~svn.1569-1/debian/Makefile-examples Wed Aug 10 07:51:31 2011
@@ -1,0 +1,34 @@
+###  -*- make -*-
+### This file is part of the Debian xmds package
+### Copyright (C) 2006 Rafael Laboissiere
+### This file is relased under the GNU General Public License
+### NO WARRANTIES!
+
+### This makefile can be used to build and run the XMDS examples
+
+XMDS_FILES = $(shell ls *.xmds)
+RUN_FILES = $(patsubst %.xmds,%.run,$(XMDS_FILES))
+CC_FILES = $(patsubst %.xmds,%.cc,$(XMDS_FILES))
+XSIL_FILES = $(patsubst %.xmds,%.xsil,$(XMDS_FILES))
+M_FILES = $(patsubst %.xmds,%.xsil,$(XMDS_FILES))
+
+XMDS = xmds
+XSIL2GRAPHICS = xsil2graphics
+
+all: $(M_FILES)
+
+%.run: %.xmds
+	$(XMDS) $<
+	mv $(patsubst %.xmds,%,$<) $@
+
+%.xsil: %.run
+	./$<
+
+%.m: %.xsil
+	$(XSIL2GRAPHICS) $<
+
+clean:
+	rm -f *.run *.cc *.m *.xsil *.wisdom.fftw3
+
+.PRECIOUS: %.run %.xsil %.m
+.PHONY: all clean

Added: packages/xmds/tags/1.6.3~svn.1569-1/debian/README.Debian
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.6.3%7Esvn.1569-1/debian/README.Debian?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.6.3~svn.1569-1/debian/README.Debian (added)
+++ packages/xmds/tags/1.6.3~svn.1569-1/debian/README.Debian Wed Aug 10 07:51:31 2011
@@ -1,0 +1,20 @@
+xmds for Debian
+---------------
+
+  All examples shiped in the upstream distribution tarball are
+  included in the Debian package in the directory
+  /usr/share/doc/xmds/examples.  To run one of them and visualize the
+  results, you can do, e.g.:
+
+      xmds /usr/share/doc/xmds/examples/nlse.xmds
+      ./nlse
+      xsil2graphics nlse.xsil
+      echo "nlse;mesh(z_1,t_1,pow_dens_1);print nlse.eps -color -deps" \
+           | octave -qf
+      gv nlse.eps
+
+  Notice that you must have one of the octave package (octave2.1 or
+  octave2.9) and the gv package installed in your system in order to run
+  the code above.
+
+ -- Rafael Laboissiere <rafael at debian.org>  Thu, 25 Nov 2006 10:10:09 +0100

Added: packages/xmds/tags/1.6.3~svn.1569-1/debian/changelog
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.6.3%7Esvn.1569-1/debian/changelog?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.6.3~svn.1569-1/debian/changelog (added)
+++ packages/xmds/tags/1.6.3~svn.1569-1/debian/changelog Wed Aug 10 07:51:31 2011
@@ -1,0 +1,148 @@
+xmds (1.6.3~svn.1569-1) experimental; urgency=low
+
+  * Upload to experimental from  SVN snapshot:
+    + debian/patches/loadxsil-varnames-cell.patch: Dropped patch (applied
+      upstream)
+  * debian/rules: Removed saving/restoring of files generated by autoconf
+    and autoheader
+  * debian/control:
+    + Build-Depends on automake
+    + Added Homepage field
+
+ -- Rafael Laboissiere <rafael at debian.org>  Fri, 21 Sep 2007 21:58:40 +0200
+
+xmds (1.6.3-1) unstable; urgency=low
+
+  * New upstream release.  Removed patch gcc-4.3-includes.patch, which is
+    applied upstream.
+
+ -- Rafael Laboissiere <rafael at debian.org>  Sat, 21 Jul 2007 13:14:48 +0200
+
+xmds (1.6.2-1) unstable; urgency=low
+
+  * New upstream release
+  * debian/patches/gcc-4.3-includes.patch: New patch for making the
+    package build against gcc 4.3 by including the appropriate cstring and
+    cstdlib headers
+
+ -- Rafael Laboissiere <rafael at debian.org>  Sat, 16 Jun 2007 09:51:02 +0200
+
+xmds (1.6.1-1) unstable; urgency=low
+
+  * New upstream release
+  * debian/control: Fixed typo in short description
+  * debian/patches/loadxsil-varnames-cell.dpatch: Added patch for making
+    loadxsil.m work with Octave
+
+ -- Rafael Laboissiere <rafael at debian.org>  Sat, 12 May 2007 09:44:32 +0200
+
+xmds (1.6-2) unstable; urgency=low
+
+  * debian/patches/gcc-4.3-include-cstdlib.patch: Also include cstdlib in
+    source/xmdsintegrateark89.cc  (closes: #417768).  Thanks Martin
+    Milchmayr for the patch.
+
+ -- Rafael Laboissiere <rafael at debian.org>  Tue, 10 Apr 2007 17:54:35 +0200
+
+xmds (1.6-1) unstable; urgency=low
+
+  * New upstream release
+  * Removed patches (applied upstream):
+    + 50-add-lorenz-data.patch
+    + 50-make-examples-work.patch
+    + 50-preserve-prefix.patch
+  * debian/watch: Fixed upstream URL pattern
+  * debian/rules: Fix permission of some installed files
+
+ -- Rafael Laboissiere <rafael at debian.org>  Thu,  5 Apr 2007 11:17:34 +0200
+
+xmds (1.5.3-9) unstable; urgency=low
+
+  * debian/rules: Delete config.status in clean target
+  * debian/patches/gcc-4.3-include-cstdlib.patch: Make the sources compile
+    with GCC 4.3.  Thanks to Martin Michlmayr (closes: #417768).
+
+ -- Rafael Laboissiere <rafael at debian.org>  Wed,  4 Apr 2007 23:04:01 +0200
+
+xmds (1.5.3-8) unstable; urgency=low
+
+  * debian/control:
+    - Added XS-Vcs-Svn and XS-Vcs-Browser fields to the Source section
+    - Added Homepage pseudo-field to the Description
+    - Changed the priority of the package "extra", because it depends on
+      libmpich1.0-dev, which has also priority "extra" (comply with Policy
+      Section 2.5: Priorities)
+  * debian/rules: Save and restore files configure, source/config.h.in,
+    and source/xmdsconfig.h, which are changed by the autotools,
+    preventing the changes to appear in the diff.gz file
+
+ -- Rafael Laboissiere <rafael at debian.org>  Thu,  8 Mar 2007 11:35:28 +0100
+
+xmds (1.5.3-7) unstable; urgency=low
+
+  * First upload to unstable
+
+ -- Rafael Laboissiere <rafael at debian.org>  Wed, 31 Jan 2007 23:19:38 +0100
+
+xmds (1.5.3-6) experimental; urgency=low
+
+  * debian/rules: Use mpicxx as the MPI compile; all the examples work now
+  * debian/README.Debian: Updated accordingly
+
+ -- Rafael Laboissiere <rafael at debian.org>  Thu, 30 Nov 2006 14:29:44 +0100
+
+xmds (1.5.3-5) experimental; urgency=low
+
+  * debian/rules:
+    - Enable the use of MPI
+    - Do not path the examples for fftw3, since they work with fftw2
+  * debian/README.Debian: Updated according to the above
+  * debian/control:
+    - Build-depends on fftw-dev and libmpich1.0-dev
+    - Depends on fftw-dev, fftw3-dev, and libmpich1.0-dev, otherwise the
+      xmds program won't work, since it needs the header files of those
+      packages
+
+ -- Rafael Laboissiere <rafael at debian.org>  Thu, 30 Nov 2006 03:54:42 +0100
+
+xmds (1.5.3-4) experimental; urgency=low
+
+  * debian/rules: Avoid the double invocation of build/xmds rule
+
+ -- Rafael Laboissiere <rafael at debian.org>  Tue, 28 Nov 2006 22:33:54 +0100
+
+xmds (1.5.3-3) experimental; urgency=low
+
+  * debian/Makefile-examples: Introduce variables XMDS and XSIL2GRAPHICS
+  * debian/rules: Use the variables defined above in order to call the
+    appropriate programs at build time.
+
+  * debian/README.Debian: Added a note about the examples that do not
+    work because they depend on MPI
+
+ -- Rafael Laboissiere <rafael at debian.org>  Mon, 27 Nov 2006 20:10:19 +0100
+
+xmds (1.5.3-2) experimental; urgency=low
+
+  * First official release, uploaded to experimental because we are in the
+    middle of the etch "soft freeze" period
+
+  * Added patches:
+    - 50-add-lorenz-data.patch: Add file examples/lorenzInput.dat which is
+      missing in the tarball
+    - 50-make-examples-work.patch: Add patch for source/xmdssimulation.cc
+      taken from upstream CVS which makes all examples work (excluding the
+      ones that depend on MPI)
+
+  * Added a regression test for the package (lorenz.xmds example).  This
+    is done through the makefile debian/Makefile-examples, which is also
+    installed in the examples area.
+
+ -- Rafael Laboissiere <rafael at debian.org>  Sat, 25 Nov 2006 18:16:27 +0100
+
+xmds (1.5.3-1) not-released; urgency=low
+
+  * Initial release (Closes: #400312)
+
+ -- Christian T. Steigies <cts at debian.org>  Thu, 23 Nov 2006 21:48:44 +0100
+

Added: packages/xmds/tags/1.6.3~svn.1569-1/debian/compat
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.6.3%7Esvn.1569-1/debian/compat?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.6.3~svn.1569-1/debian/compat (added)
+++ packages/xmds/tags/1.6.3~svn.1569-1/debian/compat Wed Aug 10 07:51:31 2011
@@ -1,0 +1,1 @@
+5

Added: packages/xmds/tags/1.6.3~svn.1569-1/debian/control
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.6.3%7Esvn.1569-1/debian/control?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.6.3~svn.1569-1/debian/control (added)
+++ packages/xmds/tags/1.6.3~svn.1569-1/debian/control Wed Aug 10 07:51:31 2011
@@ -1,0 +1,26 @@
+Source: xmds
+Section: science
+Priority: extra
+Maintainer: Debian Scientific Computing Team <pkg-scicomp-devel at lists.alioth.debian.org>
+Uploaders: Christian T. Steigies <cts at debian.org>,
+ Rafael Laboissiere <rafael at debian.org>
+Build-Depends: cdbs, debhelper (>= 5), autotools-dev, fftw-dev, fftw3-dev,
+ libmpich1.0-dev, octave2.1-headers, octave2.9-headers, autoconf, automake1.10
+Standards-Version: 3.7.2
+Homepage: http://xmds.sourceforge.net/
+XS-Vcs-Svn: svn://svn.debian.org/svn/pkg-scicomp/xmds/
+XS-Vcs-Browser: http://svn.debian.org/wsvn/pkg-scicomp/xmds/
+
+Package: xmds
+Architecture: any
+Depends: ${shlibs:Depends}, fftw-dev, fftw3-dev, libmpich1.0-dev
+Suggests: ${octave-2-9:Depends} | ${octave-2-1:Depends}
+Description: eXtensible Multi-Dimensional Simulator
+ XMDS is a code generator that integrates equations, from Ordinary
+ Differential Equations (ODEs) up to stochastic Partial Differential
+ Equations (PDEs). You write them down in human readable form in an
+ XML file, and it goes away and writes and compiles a C++ program that
+ integrates those equations as fast as it can possibly be done in your
+ architecture.
+ .
+  Homepage: http://xmds.sourceforge.net/

Added: packages/xmds/tags/1.6.3~svn.1569-1/debian/copyright
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.6.3%7Esvn.1569-1/debian/copyright?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.6.3~svn.1569-1/debian/copyright (added)
+++ packages/xmds/tags/1.6.3~svn.1569-1/debian/copyright Wed Aug 10 07:51:31 2011
@@ -1,0 +1,49 @@
+This package was debianized by Christian T. Steigies <cts at debian.org>
+and Rafael Laboissiere <rafael at debian.org> on Thu, 23 Nov 2006 12:23:09 +0100.
+
+It was downloaded from http://www.xmds.org/downloads.html
+
+Upstream Authors: Paul Cochrane <cochrane at physics.uq.edu.au>
+                  Joseph Hope <Joseph.Hope at anu.edu.au>
+                  Peter Drummond <drummond at physics.uq.edu.au>
+
+
+Copyright:
+  2000-2004  Greg Collecutt, Joseph Hope and Paul Cochrane
+
+
+License:
+
+ XMDS is free software; you can redistribute it and/or
+ modify it under the terms of the GNU General Public License
+ as published by the Free Software Foundation; either version 2
+ of the License, or (at your option) any later version.
+
+ XMDS is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ GNU General Public License for more details.
+
+
+The Debian packaging is (C) 2006, Christian T. Steigies <cts at debian.org>
+and Rafael Laboissiere <rafael at debian.org>, and is licensed under the GPL,
+see `/usr/share/common-licenses/GPL'.
+
+Files with different copyright dates/holders (but also released under the
+GPL):
+
+    source/getopt_xmds.c:
+      Copyright (C) 1987,88,89,90,91,92,93,94,95,96,98,99,2000,2001
+      Free Software Foundation, Inc.
+
+    source/getopt_xmds1.c:
+     Copyright (C) 1987,88,89,90,91,92,93,94,96,97,98
+     Free Software Foundation, Inc.
+
+    source/getopt_xmds.h:
+      Copyright (C) 1989-1994, 1996-1999, 2001 Free Software Foundation, Inc.
+
+    ./source/getopt_xmds_init.c:
+      Copyright (C) 1997, 1998, 2001 Free Software Foundation, Inc.
+      This file is part of the GNU C Library.
+      Contributed by Ulrich Drepper <drepper at cygnus.com>, 1997.

Added: packages/xmds/tags/1.6.3~svn.1569-1/debian/docs
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.6.3%7Esvn.1569-1/debian/docs?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.6.3~svn.1569-1/debian/docs (added)
+++ packages/xmds/tags/1.6.3~svn.1569-1/debian/docs Wed Aug 10 07:51:31 2011
@@ -1,0 +1,2 @@
+NEWS
+README

Added: packages/xmds/tags/1.6.3~svn.1569-1/debian/examples
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.6.3%7Esvn.1569-1/debian/examples?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.6.3~svn.1569-1/debian/examples (added)
+++ packages/xmds/tags/1.6.3~svn.1569-1/debian/examples Wed Aug 10 07:51:31 2011
@@ -1,0 +1,2 @@
+examples/*.xmds
+examples/*.dat

Added: packages/xmds/tags/1.6.3~svn.1569-1/debian/rules
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.6.3%7Esvn.1569-1/debian/rules?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.6.3~svn.1569-1/debian/rules (added)
+++ packages/xmds/tags/1.6.3~svn.1569-1/debian/rules Wed Aug 10 07:51:31 2011
@@ -1,0 +1,65 @@
+#!/usr/bin/make -f
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/autotools.mk
+include /usr/share/cdbs/1/rules/simple-patchsys.mk
+
+debdir  = $(CURDIR)/debian
+instdir = $(debdir)/xmds
+shrdir  = $(instdir)/usr/share
+expdir  = $(shrdir)/doc/xmds/examples
+mdir    = $(shrdir)/octave/site/m
+
+DEB_CONFIGURE_EXTRA_FLAGS =		\
+	--enable-fftw3			\
+	--enable-mpi			\
+	--with-mpi-path=/usr/lib/mpich	\
+	--with-mpi-compiler=mpicxx
+
+DEB_COMPRESS_EXCLUDE = .xmds
+DEB_AUTO_UPDATE_AUTOCONF = 1
+DEB_AUTO_UPDATE_AUTOHEADER = 1
+DEB_AUTO_UPDATE_ACLOCAL = 1.10
+DEB_AUTO_UPDATE_AUTOMAKE = 1.10
+
+makebuilddir/xmds::
+	touch aclocal.m4
+
+build/xmds:: make-examples-stamp
+make-examples-stamp:
+	# Run test
+	cp examples/lorenz* source
+	( cd source ;						\
+	  $(MAKE) XMDS=./xmds XSIL2GRAPHICS=./xsil2graphics	\
+		-f ../debian/Makefile-examples lorenz.m ;	\
+	  rm -f lorenz* )
+	touch make-examples-stamp
+
+install/xmds::
+	for v in 2.1 2.9 ; do octave$$v-depends ; done
+
+binary-install/xmds::
+	# Move Octave file into the correct directory
+	mkdir -p $(mdir)
+	mv $(instdir)/usr/bin/loadxsil.m $(mdir)
+
+	# Fix permission of files
+	chmod 644 $(expdir)/*.xmds $(mdir)/*
+
+	# Add Makefile to the examples directory
+	cp debian/Makefile-examples $(expdir)/Makefile
+
+clean::
+	rm -rf config.log source/lorenz.* make-examples-stamp		\
+		config.status autom4te.cache configure aclocal.m4	\
+		source/config.h.in source/Makefile.in 			\
+		source/xmds_config.h source/version.h Makefile.in
+
+upstream_svn = https://xmds.svn.sourceforge.net/svnroot/xmds/trunk/xmds-devel
+last_release = 1.6.3
+
+get-orig-source:
+	SVNREV=$$(svn info $(upstream_svn) | grep Rev: | cut -f4 -d\ );	   \
+	svn export -r$$SVNREV $(upstream_svn) ;				   \
+	tar czf xmds_$(last_release)~svn.$$SVNREV.orig.tar.gz xmds-devel ; \
+	rm -rf xmds-devel

Propchange: packages/xmds/tags/1.6.3~svn.1569-1/debian/rules
------------------------------------------------------------------------------
    svn:executable = *

Added: packages/xmds/tags/1.6.3~svn.1569-1/debian/watch
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.6.3%7Esvn.1569-1/debian/watch?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.6.3~svn.1569-1/debian/watch (added)
+++ packages/xmds/tags/1.6.3~svn.1569-1/debian/watch Wed Aug 10 07:51:31 2011
@@ -1,0 +1,3 @@
+version=3
+opts="uversionmangle=s/-/./"						\
+  http://heanet.dl.sourceforge.net/sourceforge/xmds/xmds-(.*)\.tar\.gz.*

Added: packages/xmds/tags/1.6.4-1/debian/Makefile-examples
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.6.4-1/debian/Makefile-examples?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.6.4-1/debian/Makefile-examples (added)
+++ packages/xmds/tags/1.6.4-1/debian/Makefile-examples Wed Aug 10 07:51:31 2011
@@ -1,0 +1,34 @@
+###  -*- make -*-
+### This file is part of the Debian xmds package
+### Copyright (C) 2006 Rafael Laboissiere
+### This file is relased under the GNU General Public License
+### NO WARRANTIES!
+
+### This makefile can be used to build and run the XMDS examples
+
+XMDS_FILES = $(shell ls *.xmds)
+RUN_FILES = $(patsubst %.xmds,%.run,$(XMDS_FILES))
+CC_FILES = $(patsubst %.xmds,%.cc,$(XMDS_FILES))
+XSIL_FILES = $(patsubst %.xmds,%.xsil,$(XMDS_FILES))
+M_FILES = $(patsubst %.xmds,%.xsil,$(XMDS_FILES))
+
+XMDS = xmds
+XSIL2GRAPHICS = xsil2graphics
+
+all: $(M_FILES)
+
+%.run: %.xmds
+	$(XMDS) $<
+	mv $(patsubst %.xmds,%,$<) $@
+
+%.xsil: %.run
+	./$<
+
+%.m: %.xsil
+	$(XSIL2GRAPHICS) $<
+
+clean:
+	rm -f *.run *.cc *.m *.xsil *.wisdom.fftw3
+
+.PRECIOUS: %.run %.xsil %.m
+.PHONY: all clean

Added: packages/xmds/tags/1.6.4-1/debian/README.Debian
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.6.4-1/debian/README.Debian?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.6.4-1/debian/README.Debian (added)
+++ packages/xmds/tags/1.6.4-1/debian/README.Debian Wed Aug 10 07:51:31 2011
@@ -1,0 +1,20 @@
+xmds for Debian
+---------------
+
+  All examples shiped in the upstream distribution tarball are
+  included in the Debian package in the directory
+  /usr/share/doc/xmds/examples.  To run one of them and visualize the
+  results, you can do, e.g.:
+
+      xmds /usr/share/doc/xmds/examples/nlse.xmds
+      ./nlse
+      xsil2graphics nlse.xsil
+      echo "nlse;mesh(z_1,t_1,pow_dens_1);print nlse.eps -color -deps" \
+           | octave -qf
+      gv nlse.eps
+
+  Notice that you must have one of the octave package (octave2.1 or
+  octave2.9) and the gv package installed in your system in order to run
+  the code above.
+
+ -- Rafael Laboissiere <rafael at debian.org>  Thu, 25 Nov 2006 10:10:09 +0100

Added: packages/xmds/tags/1.6.4-1/debian/changelog
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.6.4-1/debian/changelog?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.6.4-1/debian/changelog (added)
+++ packages/xmds/tags/1.6.4-1/debian/changelog Wed Aug 10 07:51:31 2011
@@ -1,0 +1,171 @@
+xmds (1.6.4-1) unstable; urgency=low
+
+  * New upstream release
+  * debian/control:
+    + Build-depends on octave3.0-headers instead of 2.9
+    + Use ${octave-3-0:Depends} in Suggests field
+  * debian/rules:
+    + Call octave3.0-depends instead of octave2.9-depends
+    + Since version 1.6-1 of the package, there is no need for calling
+      autoconf, because configure.in was fixed upstream.  Dropped the
+      setting of the variables DEB_AUTO_UPDATE_AUTOCONF as well as some
+      files from the list of files to be preserved from the autotools.
+  * debian/patches/loadxsil-varnames-cell.patch: Dropped patch (applied
+    upstream)
+  * debian/patches/g++-4.2-string-literal.patch: New patch for avoiding g++
+    4.2 warning messages related to string literals being used as char*.
+
+ -- Rafael Laboissiere <rafael at debian.org>  Fri, 18 Jan 2008 01:25:30 +0100
+
+xmds (1.6.3-3) unstable; urgency=low
+
+  * debian/control: Build-depends on libfft3-dev, since the fftw3 packages
+    have been renamed (closes: #454174)
+
+ -- Rafael Laboissiere <rafael at debian.org>  Wed, 19 Dec 2007 16:54:24 +0100
+
+xmds (1.6.3-2) unstable; urgency=low
+
+  * debian/control:
+    + Added Homepage field
+    + Use the now official Vcs-* fields instead of the obsolete XS-Vcs-*
+    + Dropped the Homepage pseudo-header from the extended description
+    + Bumped Standards-Version to 3.7.3
+
+ -- Rafael Laboissiere <rafael at debian.org>  Sat, 15 Dec 2007 11:23:49 +0100
+
+xmds (1.6.3-1) unstable; urgency=low
+
+  * New upstream release.  Removed patch gcc-4.3-includes.patch, which is
+    applied upstream.
+
+ -- Rafael Laboissiere <rafael at debian.org>  Sat, 21 Jul 2007 13:14:48 +0200
+
+xmds (1.6.2-1) unstable; urgency=low
+
+  * New upstream release
+  * debian/patches/gcc-4.3-includes.patch: New patch for making the
+    package build against gcc 4.3 by including the appropriate cstring and
+    cstdlib headers
+
+ -- Rafael Laboissiere <rafael at debian.org>  Sat, 16 Jun 2007 09:51:02 +0200
+
+xmds (1.6.1-1) unstable; urgency=low
+
+  * New upstream release
+  * debian/control: Fixed typo in short description
+  * debian/patches/loadxsil-varnames-cell.dpatch: Added patch for making
+    loadxsil.m work with Octave
+
+ -- Rafael Laboissiere <rafael at debian.org>  Sat, 12 May 2007 09:44:32 +0200
+
+xmds (1.6-2) unstable; urgency=low
+
+  * debian/patches/gcc-4.3-include-cstdlib.patch: Also include cstdlib in
+    source/xmdsintegrateark89.cc  (closes: #417768).  Thanks Martin
+    Milchmayr for the patch.
+
+ -- Rafael Laboissiere <rafael at debian.org>  Tue, 10 Apr 2007 17:54:35 +0200
+
+xmds (1.6-1) unstable; urgency=low
+
+  * New upstream release
+  * Removed patches (applied upstream):
+    + 50-add-lorenz-data.patch
+    + 50-make-examples-work.patch
+    + 50-preserve-prefix.patch
+  * debian/watch: Fixed upstream URL pattern
+  * debian/rules: Fix permission of some installed files
+
+ -- Rafael Laboissiere <rafael at debian.org>  Thu,  5 Apr 2007 11:17:34 +0200
+
+xmds (1.5.3-9) unstable; urgency=low
+
+  * debian/rules: Delete config.status in clean target
+  * debian/patches/gcc-4.3-include-cstdlib.patch: Make the sources compile
+    with GCC 4.3.  Thanks to Martin Michlmayr (closes: #417768).
+
+ -- Rafael Laboissiere <rafael at debian.org>  Wed,  4 Apr 2007 23:04:01 +0200
+
+xmds (1.5.3-8) unstable; urgency=low
+
+  * debian/control:
+    - Added XS-Vcs-Svn and XS-Vcs-Browser fields to the Source section
+    - Added Homepage pseudo-field to the Description
+    - Changed the priority of the package "extra", because it depends on
+      libmpich1.0-dev, which has also priority "extra" (comply with Policy
+      Section 2.5: Priorities)
+  * debian/rules: Save and restore files configure, source/config.h.in,
+    and source/xmdsconfig.h, which are changed by the autotools,
+    preventing the changes to appear in the diff.gz file
+
+ -- Rafael Laboissiere <rafael at debian.org>  Thu,  8 Mar 2007 11:35:28 +0100
+
+xmds (1.5.3-7) unstable; urgency=low
+
+  * First upload to unstable
+
+ -- Rafael Laboissiere <rafael at debian.org>  Wed, 31 Jan 2007 23:19:38 +0100
+
+xmds (1.5.3-6) experimental; urgency=low
+
+  * debian/rules: Use mpicxx as the MPI compile; all the examples work now
+  * debian/README.Debian: Updated accordingly
+
+ -- Rafael Laboissiere <rafael at debian.org>  Thu, 30 Nov 2006 14:29:44 +0100
+
+xmds (1.5.3-5) experimental; urgency=low
+
+  * debian/rules:
+    - Enable the use of MPI
+    - Do not path the examples for fftw3, since they work with fftw2
+  * debian/README.Debian: Updated according to the above
+  * debian/control:
+    - Build-depends on fftw-dev and libmpich1.0-dev
+    - Depends on fftw-dev, fft3-dev, and libmpich1.0-dev, otherwise the
+      xmds program won't work, since it needs the header files of those
+      packages
+
+ -- Rafael Laboissiere <rafael at debian.org>  Thu, 30 Nov 2006 03:54:42 +0100
+
+xmds (1.5.3-4) experimental; urgency=low
+
+  * debian/rules: Avoid the double invocation of build/xmds rule
+
+ -- Rafael Laboissiere <rafael at debian.org>  Tue, 28 Nov 2006 22:33:54 +0100
+
+xmds (1.5.3-3) experimental; urgency=low
+
+  * debian/Makefile-examples: Introduce variables XMDS and XSIL2GRAPHICS
+  * debian/rules: Use the variables defined above in order to call the
+    appropriate programs at build time.
+
+  * debian/README.Debian: Added a note about the examples that do not
+    work because they depend on MPI
+
+ -- Rafael Laboissiere <rafael at debian.org>  Mon, 27 Nov 2006 20:10:19 +0100
+
+xmds (1.5.3-2) experimental; urgency=low
+
+  * First official release, uploaded to experimental because we are in the
+    middle of the etch "soft freeze" period
+
+  * Added patches:
+    - 50-add-lorenz-data.patch: Add file examples/lorenzInput.dat which is
+      missing in the tarball
+    - 50-make-examples-work.patch: Add patch for source/xmdssimulation.cc
+      taken from upstream CVS which makes all examples work (excluding the
+      ones that depend on MPI)
+
+  * Added a regression test for the package (lorenz.xmds example).  This
+    is done through the makefile debian/Makefile-examples, which is also
+    installed in the examples area.
+
+ -- Rafael Laboissiere <rafael at debian.org>  Sat, 25 Nov 2006 18:16:27 +0100
+
+xmds (1.5.3-1) not-released; urgency=low
+
+  * Initial release (Closes: #400312)
+
+ -- Christian T. Steigies <cts at debian.org>  Thu, 23 Nov 2006 21:48:44 +0100
+

Added: packages/xmds/tags/1.6.4-1/debian/compat
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.6.4-1/debian/compat?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.6.4-1/debian/compat (added)
+++ packages/xmds/tags/1.6.4-1/debian/compat Wed Aug 10 07:51:31 2011
@@ -1,0 +1,1 @@
+5

Added: packages/xmds/tags/1.6.4-1/debian/control
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.6.4-1/debian/control?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.6.4-1/debian/control (added)
+++ packages/xmds/tags/1.6.4-1/debian/control Wed Aug 10 07:51:31 2011
@@ -1,0 +1,24 @@
+Source: xmds
+Section: science
+Priority: extra
+Maintainer: Debian Scientific Computing Team <pkg-scicomp-devel at lists.alioth.debian.org>
+Uploaders: Christian T. Steigies <cts at debian.org>,
+ Rafael Laboissiere <rafael at debian.org>
+Build-Depends: cdbs, debhelper (>= 5), autotools-dev, fftw-dev, libfftw3-dev,
+ libmpich1.0-dev, octave2.1-headers, octave3.0-headers, autoconf
+Standards-Version: 3.7.3
+Homepage: http://xmds.sourceforge.net/
+Vcs-Svn: svn://svn.debian.org/svn/pkg-scicomp/xmds/
+Vcs-Browser: http://svn.debian.org/wsvn/pkg-scicomp/xmds/
+
+Package: xmds
+Architecture: any
+Depends: ${shlibs:Depends}, fftw-dev, libfftw3-dev, libmpich1.0-dev
+Suggests: ${octave-3-0:Depends} | ${octave-2-1:Depends}
+Description: eXtensible Multi-Dimensional Simulator
+ XMDS is a code generator that integrates equations, from Ordinary
+ Differential Equations (ODEs) up to stochastic Partial Differential
+ Equations (PDEs). You write them down in human readable form in an
+ XML file, and it goes away and writes and compiles a C++ program that
+ integrates those equations as fast as it can possibly be done in your
+ architecture.

Added: packages/xmds/tags/1.6.4-1/debian/copyright
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.6.4-1/debian/copyright?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.6.4-1/debian/copyright (added)
+++ packages/xmds/tags/1.6.4-1/debian/copyright Wed Aug 10 07:51:31 2011
@@ -1,0 +1,49 @@
+This package was debianized by Christian T. Steigies <cts at debian.org>
+and Rafael Laboissiere <rafael at debian.org> on Thu, 23 Nov 2006 12:23:09 +0100.
+
+It was downloaded from http://www.xmds.org/downloads.html
+
+Upstream Authors: Paul Cochrane <cochrane at physics.uq.edu.au>
+                  Joseph Hope <Joseph.Hope at anu.edu.au>
+                  Peter Drummond <drummond at physics.uq.edu.au>
+
+
+Copyright:
+  2000-2004  Greg Collecutt, Joseph Hope and Paul Cochrane
+
+
+License:
+
+ XMDS is free software; you can redistribute it and/or
+ modify it under the terms of the GNU General Public License
+ as published by the Free Software Foundation; either version 2
+ of the License, or (at your option) any later version.
+
+ XMDS is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ GNU General Public License for more details.
+
+
+The Debian packaging is (C) 2006, Christian T. Steigies <cts at debian.org>
+and Rafael Laboissiere <rafael at debian.org>, and is licensed under the GPL,
+see `/usr/share/common-licenses/GPL'.
+
+Files with different copyright dates/holders (but also released under the
+GPL):
+
+    source/getopt_xmds.c:
+      Copyright (C) 1987,88,89,90,91,92,93,94,95,96,98,99,2000,2001
+      Free Software Foundation, Inc.
+
+    source/getopt_xmds1.c:
+     Copyright (C) 1987,88,89,90,91,92,93,94,96,97,98
+     Free Software Foundation, Inc.
+
+    source/getopt_xmds.h:
+      Copyright (C) 1989-1994, 1996-1999, 2001 Free Software Foundation, Inc.
+
+    ./source/getopt_xmds_init.c:
+      Copyright (C) 1997, 1998, 2001 Free Software Foundation, Inc.
+      This file is part of the GNU C Library.
+      Contributed by Ulrich Drepper <drepper at cygnus.com>, 1997.

Added: packages/xmds/tags/1.6.4-1/debian/docs
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.6.4-1/debian/docs?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.6.4-1/debian/docs (added)
+++ packages/xmds/tags/1.6.4-1/debian/docs Wed Aug 10 07:51:31 2011
@@ -1,0 +1,2 @@
+NEWS
+README

Added: packages/xmds/tags/1.6.4-1/debian/examples
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.6.4-1/debian/examples?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.6.4-1/debian/examples (added)
+++ packages/xmds/tags/1.6.4-1/debian/examples Wed Aug 10 07:51:31 2011
@@ -1,0 +1,2 @@
+examples/*.xmds
+examples/*.dat

Added: packages/xmds/tags/1.6.4-1/debian/patches/g++-4.2-string-literal.patch
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.6.4-1/debian/patches/g%2B%2B-4.2-string-literal.patch?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.6.4-1/debian/patches/g++-4.2-string-literal.patch (added)
+++ packages/xmds/tags/1.6.4-1/debian/patches/g++-4.2-string-literal.patch Wed Aug 10 07:51:31 2011
@@ -1,0 +1,45 @@
+--- xmds-1.6.4.orig/source/xsil_field.cc
++++ xmds-1.6.4/source/xsil_field.cc
+@@ -1008,10 +1008,10 @@
+ 			}
+ 
+ 			std::string uLongFormat;
+-			if (ulongType.c_str() == "uint32") {
++			if ((string) ulongType.c_str() == "uint32") {
+ 				uLongFormat = "UnsignedInteger32";
+ 			}
+-			else if (ulongType.c_str() == "uint64") {
++			else if ((string) ulongType.c_str() == "uint64") {
+ 				uLongFormat = "UnsignedInteger64";
+ 			}
+ 			else {
+@@ -1020,10 +1020,10 @@
+ 			}
+ 
+ 			std::string outputPrecision;
+-			if (binPrecision.c_str() == "single") {
++			if ((string) binPrecision.c_str() == "single") {
+ 				outputPrecision = "Real32";
+ 			}
+-			else if (binPrecision.c_str() == "double") {
++			else if ((string) binPrecision.c_str() == "double") {
+ 				outputPrecision = "Real64";
+ 			}
+ 			else {
+--- xmds-1.6.4.orig/source/xmds_vector_element.cc
++++ xmds-1.6.4/source/xmds_vector_element.cc
+@@ -624,10 +624,10 @@
+               "\t for (int __i=0; __i<_%s_ndims; __i++) {\n" // loop over the dimension elements in the binary file
+               "\t\t uint64_t sizeValue;\n"
+               "\t\t switch(unsignedLongSize) {\n", fieldName, fieldName); // deal with the different possible sizes for the unsigned long size
+-      char *string1[] = {"0", "4", "8"};
+-      char *string2[] = {"ulong", "uint32", "uint64"};
+-      char *string3[] = {"unsigned long", "uint32_t", "uint64_t"};
+-      char *string4[] = {"XMDSSwapInt32", "XMDSSwapInt32", "XMDSSwapInt64"};
++      const char *string1[] = {"0", "4", "8"};
++      const char *string2[] = {"ulong", "uint32", "uint64"};
++      const char *string3[] = {"unsigned long", "uint32_t", "uint64_t"};
++      const char *string4[] = {"XMDSSwapInt32", "XMDSSwapInt32", "XMDSSwapInt64"};
+       for (int i=0; i<3; i++) {
+         fprintf(outfile, "\t\t\t case %s:\n"
+                 "\t\t\t\t fread(&size.%s, sizeof(%s), 1, inputFile);\n"

Added: packages/xmds/tags/1.6.4-1/debian/rules
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.6.4-1/debian/rules?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.6.4-1/debian/rules (added)
+++ packages/xmds/tags/1.6.4-1/debian/rules Wed Aug 10 07:51:31 2011
@@ -1,0 +1,62 @@
+#!/usr/bin/make -f
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/autotools.mk
+include /usr/share/cdbs/1/rules/simple-patchsys.mk
+
+debdir  = $(CURDIR)/debian
+instdir = $(debdir)/xmds
+shrdir  = $(instdir)/usr/share
+expdir  = $(shrdir)/doc/xmds/examples
+mdir    = $(shrdir)/octave/site/m
+
+DEB_CONFIGURE_EXTRA_FLAGS =		\
+	--enable-fftw3			\
+	--enable-mpi			\
+	--with-mpi-path=/usr/lib/mpich	\
+	--with-mpi-compiler=mpicxx
+
+DEB_COMPRESS_EXCLUDE = .xmds
+
+preserved_files = source/xmds_config.h
+
+makebuilddir/xmds::
+	# Save files that will be changed by the autotools
+	for i in $(preserved_files) ; do        \
+		if ! test -e $$i-orig ; then    \
+			cp $$i $$i-orig ;       \
+		fi ;                            \
+	done
+
+build/xmds:: make-examples-stamp
+make-examples-stamp:
+	# Run test
+	cp examples/lorenz* source
+	( cd source ;						\
+	  $(MAKE) XMDS=./xmds XSIL2GRAPHICS=./xsil2graphics	\
+		-f ../debian/Makefile-examples lorenz.m ;	\
+	  rm -f lorenz* )
+	touch make-examples-stamp
+
+install/xmds::
+	for v in 2.1 3.0 ; do octave$$v-depends ; done
+
+binary-install/xmds::
+	# Move Octave file into the correct directory
+	mkdir -p $(mdir)
+	mv $(instdir)/usr/bin/loadxsil.m $(mdir)
+
+	# Fix permission of files
+	chmod 644 $(expdir)/*.xmds $(mdir)/*
+
+	# Add Makefile to the examples directory
+	cp debian/Makefile-examples $(expdir)/Makefile
+
+clean::
+	rm -rf config.log source/lorenz.* make-examples-stamp config.status
+	# Restored files changed by the autotools
+	for i in $(preserved_files) ; do        \
+		if test -e $$i-orig ; then      \
+			mv $$i-orig $$i ;       \
+		fi ;                            \
+	done

Propchange: packages/xmds/tags/1.6.4-1/debian/rules
------------------------------------------------------------------------------
    svn:executable = *

Added: packages/xmds/tags/1.6.4-1/debian/watch
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.6.4-1/debian/watch?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.6.4-1/debian/watch (added)
+++ packages/xmds/tags/1.6.4-1/debian/watch Wed Aug 10 07:51:31 2011
@@ -1,0 +1,3 @@
+version=3
+opts="uversionmangle=s/-/./"						\
+  http://heanet.dl.sourceforge.net/sourceforge/xmds/xmds-(.*)\.tar\.gz.*

Added: packages/xmds/tags/1.6.5-1/debian/Makefile-examples
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.6.5-1/debian/Makefile-examples?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.6.5-1/debian/Makefile-examples (added)
+++ packages/xmds/tags/1.6.5-1/debian/Makefile-examples Wed Aug 10 07:51:31 2011
@@ -1,0 +1,34 @@
+###  -*- make -*-
+### This file is part of the Debian xmds package
+### Copyright (C) 2006 Rafael Laboissiere
+### This file is relased under the GNU General Public License
+### NO WARRANTIES!
+
+### This makefile can be used to build and run the XMDS examples
+
+XMDS_FILES = $(shell ls *.xmds)
+RUN_FILES = $(patsubst %.xmds,%.run,$(XMDS_FILES))
+CC_FILES = $(patsubst %.xmds,%.cc,$(XMDS_FILES))
+XSIL_FILES = $(patsubst %.xmds,%.xsil,$(XMDS_FILES))
+M_FILES = $(patsubst %.xmds,%.xsil,$(XMDS_FILES))
+
+XMDS = xmds
+XSIL2GRAPHICS = xsil2graphics
+
+all: $(M_FILES)
+
+%.run: %.xmds
+	$(XMDS) $<
+	mv $(patsubst %.xmds,%,$<) $@
+
+%.xsil: %.run
+	./$<
+
+%.m: %.xsil
+	$(XSIL2GRAPHICS) $<
+
+clean:
+	rm -f *.run *.cc *.m *.xsil *.wisdom.fftw3
+
+.PRECIOUS: %.run %.xsil %.m
+.PHONY: all clean

Added: packages/xmds/tags/1.6.5-1/debian/README.Debian
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.6.5-1/debian/README.Debian?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.6.5-1/debian/README.Debian (added)
+++ packages/xmds/tags/1.6.5-1/debian/README.Debian Wed Aug 10 07:51:31 2011
@@ -1,0 +1,20 @@
+xmds for Debian
+---------------
+
+  All examples shiped in the upstream distribution tarball are
+  included in the Debian package in the directory
+  /usr/share/doc/xmds/examples.  To run one of them and visualize the
+  results, you can do, e.g.:
+
+      xmds /usr/share/doc/xmds/examples/nlse.xmds
+      ./nlse
+      xsil2graphics nlse.xsil
+      echo "nlse;mesh(z_1,t_1,pow_dens_1);print nlse.eps -color -deps" \
+           | octave -qf
+      gv nlse.eps
+
+  Notice that you must have one of the octave package (octave2.1 or
+  octave2.9) and the gv package installed in your system in order to run
+  the code above.
+
+ -- Rafael Laboissiere <rafael at debian.org>  Thu, 25 Nov 2006 10:10:09 +0100

Added: packages/xmds/tags/1.6.5-1/debian/changelog
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.6.5-1/debian/changelog?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.6.5-1/debian/changelog (added)
+++ packages/xmds/tags/1.6.5-1/debian/changelog Wed Aug 10 07:51:31 2011
@@ -1,0 +1,184 @@
+xmds (1.6.5-1) unstable; urgency=low
+
+  * New upstream release
+  * debian/patches/g++-4.2-string-literal.patch: Dropped patch (applied
+    upstream)
+  * debian/rules:
+    + Drop hacks for keeping upstream files unchanged
+    + Cleanups: loadxsil.m does not land in /usr/bin anymore and *.xmds
+      files in examples dir have now the right permissions
+    + Install examples in appropriate doc directory
+
+ -- Rafael Laboissiere <rafael at debian.org>  Fri, 29 Feb 2008 00:32:17 +0100
+
+xmds (1.6.4-1) unstable; urgency=low
+
+  * New upstream release
+  * debian/control:
+    + Build-depends on octave3.0-headers instead of 2.9
+    + Use ${octave-3-0:Depends} in Suggests field
+  * debian/rules:
+    + Call octave3.0-depends instead of octave2.9-depends
+    + Since version 1.6-1 of the package, there is no need for calling
+      autoconf, because configure.in was fixed upstream.  Dropped the
+      setting of the variables DEB_AUTO_UPDATE_AUTOCONF as well as some
+      files from the list of files to be preserved from the autotools.
+  * debian/patches/loadxsil-varnames-cell.patch: Dropped patch (applied
+    upstream)
+  * debian/patches/g++-4.2-string-literal.patch: New patch for avoiding g++
+    4.2 warning messages related to string literals being used as char*.
+
+ -- Rafael Laboissiere <rafael at debian.org>  Fri, 18 Jan 2008 01:25:30 +0100
+
+xmds (1.6.3-3) unstable; urgency=low
+
+  * debian/control: Build-depends on libfft3-dev, since the fftw3 packages
+    have been renamed (closes: #454174)
+
+ -- Rafael Laboissiere <rafael at debian.org>  Wed, 19 Dec 2007 16:54:24 +0100
+
+xmds (1.6.3-2) unstable; urgency=low
+
+  * debian/control:
+    + Added Homepage field
+    + Use the now official Vcs-* fields instead of the obsolete XS-Vcs-*
+    + Dropped the Homepage pseudo-header from the extended description
+    + Bumped Standards-Version to 3.7.3
+
+ -- Rafael Laboissiere <rafael at debian.org>  Sat, 15 Dec 2007 11:23:49 +0100
+
+xmds (1.6.3-1) unstable; urgency=low
+
+  * New upstream release.  Removed patch gcc-4.3-includes.patch, which is
+    applied upstream.
+
+ -- Rafael Laboissiere <rafael at debian.org>  Sat, 21 Jul 2007 13:14:48 +0200
+
+xmds (1.6.2-1) unstable; urgency=low
+
+  * New upstream release
+  * debian/patches/gcc-4.3-includes.patch: New patch for making the
+    package build against gcc 4.3 by including the appropriate cstring and
+    cstdlib headers
+
+ -- Rafael Laboissiere <rafael at debian.org>  Sat, 16 Jun 2007 09:51:02 +0200
+
+xmds (1.6.1-1) unstable; urgency=low
+
+  * New upstream release
+  * debian/control: Fixed typo in short description
+  * debian/patches/loadxsil-varnames-cell.dpatch: Added patch for making
+    loadxsil.m work with Octave
+
+ -- Rafael Laboissiere <rafael at debian.org>  Sat, 12 May 2007 09:44:32 +0200
+
+xmds (1.6-2) unstable; urgency=low
+
+  * debian/patches/gcc-4.3-include-cstdlib.patch: Also include cstdlib in
+    source/xmdsintegrateark89.cc  (closes: #417768).  Thanks Martin
+    Milchmayr for the patch.
+
+ -- Rafael Laboissiere <rafael at debian.org>  Tue, 10 Apr 2007 17:54:35 +0200
+
+xmds (1.6-1) unstable; urgency=low
+
+  * New upstream release
+  * Removed patches (applied upstream):
+    + 50-add-lorenz-data.patch
+    + 50-make-examples-work.patch
+    + 50-preserve-prefix.patch
+  * debian/watch: Fixed upstream URL pattern
+  * debian/rules: Fix permission of some installed files
+
+ -- Rafael Laboissiere <rafael at debian.org>  Thu,  5 Apr 2007 11:17:34 +0200
+
+xmds (1.5.3-9) unstable; urgency=low
+
+  * debian/rules: Delete config.status in clean target
+  * debian/patches/gcc-4.3-include-cstdlib.patch: Make the sources compile
+    with GCC 4.3.  Thanks to Martin Michlmayr (closes: #417768).
+
+ -- Rafael Laboissiere <rafael at debian.org>  Wed,  4 Apr 2007 23:04:01 +0200
+
+xmds (1.5.3-8) unstable; urgency=low
+
+  * debian/control:
+    - Added XS-Vcs-Svn and XS-Vcs-Browser fields to the Source section
+    - Added Homepage pseudo-field to the Description
+    - Changed the priority of the package "extra", because it depends on
+      libmpich1.0-dev, which has also priority "extra" (comply with Policy
+      Section 2.5: Priorities)
+  * debian/rules: Save and restore files configure, source/config.h.in,
+    and source/xmdsconfig.h, which are changed by the autotools,
+    preventing the changes to appear in the diff.gz file
+
+ -- Rafael Laboissiere <rafael at debian.org>  Thu,  8 Mar 2007 11:35:28 +0100
+
+xmds (1.5.3-7) unstable; urgency=low
+
+  * First upload to unstable
+
+ -- Rafael Laboissiere <rafael at debian.org>  Wed, 31 Jan 2007 23:19:38 +0100
+
+xmds (1.5.3-6) experimental; urgency=low
+
+  * debian/rules: Use mpicxx as the MPI compile; all the examples work now
+  * debian/README.Debian: Updated accordingly
+
+ -- Rafael Laboissiere <rafael at debian.org>  Thu, 30 Nov 2006 14:29:44 +0100
+
+xmds (1.5.3-5) experimental; urgency=low
+
+  * debian/rules:
+    - Enable the use of MPI
+    - Do not path the examples for fftw3, since they work with fftw2
+  * debian/README.Debian: Updated according to the above
+  * debian/control:
+    - Build-depends on fftw-dev and libmpich1.0-dev
+    - Depends on fftw-dev, fft3-dev, and libmpich1.0-dev, otherwise the
+      xmds program won't work, since it needs the header files of those
+      packages
+
+ -- Rafael Laboissiere <rafael at debian.org>  Thu, 30 Nov 2006 03:54:42 +0100
+
+xmds (1.5.3-4) experimental; urgency=low
+
+  * debian/rules: Avoid the double invocation of build/xmds rule
+
+ -- Rafael Laboissiere <rafael at debian.org>  Tue, 28 Nov 2006 22:33:54 +0100
+
+xmds (1.5.3-3) experimental; urgency=low
+
+  * debian/Makefile-examples: Introduce variables XMDS and XSIL2GRAPHICS
+  * debian/rules: Use the variables defined above in order to call the
+    appropriate programs at build time.
+
+  * debian/README.Debian: Added a note about the examples that do not
+    work because they depend on MPI
+
+ -- Rafael Laboissiere <rafael at debian.org>  Mon, 27 Nov 2006 20:10:19 +0100
+
+xmds (1.5.3-2) experimental; urgency=low
+
+  * First official release, uploaded to experimental because we are in the
+    middle of the etch "soft freeze" period
+
+  * Added patches:
+    - 50-add-lorenz-data.patch: Add file examples/lorenzInput.dat which is
+      missing in the tarball
+    - 50-make-examples-work.patch: Add patch for source/xmdssimulation.cc
+      taken from upstream CVS which makes all examples work (excluding the
+      ones that depend on MPI)
+
+  * Added a regression test for the package (lorenz.xmds example).  This
+    is done through the makefile debian/Makefile-examples, which is also
+    installed in the examples area.
+
+ -- Rafael Laboissiere <rafael at debian.org>  Sat, 25 Nov 2006 18:16:27 +0100
+
+xmds (1.5.3-1) not-released; urgency=low
+
+  * Initial release (Closes: #400312)
+
+ -- Christian T. Steigies <cts at debian.org>  Thu, 23 Nov 2006 21:48:44 +0100
+

Added: packages/xmds/tags/1.6.5-1/debian/compat
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.6.5-1/debian/compat?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.6.5-1/debian/compat (added)
+++ packages/xmds/tags/1.6.5-1/debian/compat Wed Aug 10 07:51:31 2011
@@ -1,0 +1,1 @@
+5

Added: packages/xmds/tags/1.6.5-1/debian/control
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.6.5-1/debian/control?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.6.5-1/debian/control (added)
+++ packages/xmds/tags/1.6.5-1/debian/control Wed Aug 10 07:51:31 2011
@@ -1,0 +1,24 @@
+Source: xmds
+Section: science
+Priority: extra
+Maintainer: Debian Scientific Computing Team <pkg-scicomp-devel at lists.alioth.debian.org>
+Uploaders: Christian T. Steigies <cts at debian.org>,
+ Rafael Laboissiere <rafael at debian.org>
+Build-Depends: cdbs, debhelper (>= 5), autotools-dev, fftw-dev, libfftw3-dev,
+ libmpich1.0-dev, octave2.1-headers, octave3.0-headers, autoconf
+Standards-Version: 3.7.3
+Homepage: http://xmds.sourceforge.net/
+Vcs-Svn: svn://svn.debian.org/svn/pkg-scicomp/xmds/
+Vcs-Browser: http://svn.debian.org/wsvn/pkg-scicomp/xmds/
+
+Package: xmds
+Architecture: any
+Depends: ${shlibs:Depends}, fftw-dev, libfftw3-dev, libmpich1.0-dev
+Suggests: ${octave-3-0:Depends} | ${octave-2-1:Depends}
+Description: eXtensible Multi-Dimensional Simulator
+ XMDS is a code generator that integrates equations, from Ordinary
+ Differential Equations (ODEs) up to stochastic Partial Differential
+ Equations (PDEs). You write them down in human readable form in an
+ XML file, and it goes away and writes and compiles a C++ program that
+ integrates those equations as fast as it can possibly be done in your
+ architecture.

Added: packages/xmds/tags/1.6.5-1/debian/copyright
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.6.5-1/debian/copyright?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.6.5-1/debian/copyright (added)
+++ packages/xmds/tags/1.6.5-1/debian/copyright Wed Aug 10 07:51:31 2011
@@ -1,0 +1,49 @@
+This package was debianized by Christian T. Steigies <cts at debian.org>
+and Rafael Laboissiere <rafael at debian.org> on Thu, 23 Nov 2006 12:23:09 +0100.
+
+It was downloaded from http://www.xmds.org/downloads.html
+
+Upstream Authors: Paul Cochrane <cochrane at physics.uq.edu.au>
+                  Joseph Hope <Joseph.Hope at anu.edu.au>
+                  Peter Drummond <drummond at physics.uq.edu.au>
+
+
+Copyright:
+  2000-2004  Greg Collecutt, Joseph Hope and Paul Cochrane
+
+
+License:
+
+ XMDS is free software; you can redistribute it and/or
+ modify it under the terms of the GNU General Public License
+ as published by the Free Software Foundation; either version 2
+ of the License, or (at your option) any later version.
+
+ XMDS is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ GNU General Public License for more details.
+
+
+The Debian packaging is (C) 2006, Christian T. Steigies <cts at debian.org>
+and Rafael Laboissiere <rafael at debian.org>, and is licensed under the GPL,
+see `/usr/share/common-licenses/GPL'.
+
+Files with different copyright dates/holders (but also released under the
+GPL):
+
+    source/getopt_xmds.c:
+      Copyright (C) 1987,88,89,90,91,92,93,94,95,96,98,99,2000,2001
+      Free Software Foundation, Inc.
+
+    source/getopt_xmds1.c:
+     Copyright (C) 1987,88,89,90,91,92,93,94,96,97,98
+     Free Software Foundation, Inc.
+
+    source/getopt_xmds.h:
+      Copyright (C) 1989-1994, 1996-1999, 2001 Free Software Foundation, Inc.
+
+    ./source/getopt_xmds_init.c:
+      Copyright (C) 1997, 1998, 2001 Free Software Foundation, Inc.
+      This file is part of the GNU C Library.
+      Contributed by Ulrich Drepper <drepper at cygnus.com>, 1997.

Added: packages/xmds/tags/1.6.5-1/debian/docs
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.6.5-1/debian/docs?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.6.5-1/debian/docs (added)
+++ packages/xmds/tags/1.6.5-1/debian/docs Wed Aug 10 07:51:31 2011
@@ -1,0 +1,2 @@
+NEWS
+README

Added: packages/xmds/tags/1.6.5-1/debian/examples
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.6.5-1/debian/examples?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.6.5-1/debian/examples (added)
+++ packages/xmds/tags/1.6.5-1/debian/examples Wed Aug 10 07:51:31 2011
@@ -1,0 +1,2 @@
+examples/*.xmds
+examples/*.dat

Added: packages/xmds/tags/1.6.5-1/debian/rules
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.6.5-1/debian/rules?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.6.5-1/debian/rules (added)
+++ packages/xmds/tags/1.6.5-1/debian/rules Wed Aug 10 07:51:31 2011
@@ -1,0 +1,46 @@
+#!/usr/bin/make -f
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/autotools.mk
+
+debdir  = $(CURDIR)/debian
+instdir = $(debdir)/xmds
+shrdir  = $(instdir)/usr/share
+docdir  = $(shrdir)/doc/xmds
+expdir  = $(docdir)/examples
+mdir    = $(shrdir)/octave/site/m
+
+DEB_CONFIGURE_EXTRA_FLAGS =		\
+	--enable-fftw3			\
+	--enable-mpi			\
+	--with-mpi-path=/usr/lib/mpich	\
+	--with-mpi-compiler=mpicxx
+
+DEB_COMPRESS_EXCLUDE = .xmds
+
+DEB_MAKE_INSTALL_TARGET = install DESTDIR=$(instdir)	\
+			  docdir=/usr/share/doc/xmds
+
+build/xmds:: make-examples-stamp
+make-examples-stamp:
+	# Run test
+	cp examples/lorenz* source
+	( cd source ;						\
+	  $(MAKE) XMDS=./xmds XSIL2GRAPHICS=./xsil2graphics	\
+		-f ../debian/Makefile-examples lorenz.m ;	\
+	  rm -f lorenz* )
+	touch make-examples-stamp
+
+install/xmds::
+	for v in 2.1 3.0 ; do octave$$v-depends ; done
+
+binary-install/xmds::
+	# Move Octave file into the correct directory
+	mkdir -p $(mdir)
+	install --mode=644 source/loadxsil.m $(mdir)
+
+	# Add Makefile to the examples directory
+	cp debian/Makefile-examples $(expdir)/Makefile
+
+clean::
+	rm -rf config.log source/lorenz.* make-examples-stamp config.status

Propchange: packages/xmds/tags/1.6.5-1/debian/rules
------------------------------------------------------------------------------
    svn:executable = *

Added: packages/xmds/tags/1.6.5-1/debian/watch
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.6.5-1/debian/watch?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.6.5-1/debian/watch (added)
+++ packages/xmds/tags/1.6.5-1/debian/watch Wed Aug 10 07:51:31 2011
@@ -1,0 +1,3 @@
+version=3
+opts="uversionmangle=s/-/./"						\
+  http://heanet.dl.sourceforge.net/sourceforge/xmds/xmds-(.*)\.tar\.gz.*

Added: packages/xmds/tags/1.6.5-2/Makefile-examples
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.6.5-2/Makefile-examples?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.6.5-2/Makefile-examples (added)
+++ packages/xmds/tags/1.6.5-2/Makefile-examples Wed Aug 10 07:51:31 2011
@@ -1,0 +1,34 @@
+###  -*- make -*-
+### This file is part of the Debian xmds package
+### Copyright (C) 2006 Rafael Laboissiere
+### This file is relased under the GNU General Public License
+### NO WARRANTIES!
+
+### This makefile can be used to build and run the XMDS examples
+
+XMDS_FILES = $(shell ls *.xmds)
+RUN_FILES = $(patsubst %.xmds,%.run,$(XMDS_FILES))
+CC_FILES = $(patsubst %.xmds,%.cc,$(XMDS_FILES))
+XSIL_FILES = $(patsubst %.xmds,%.xsil,$(XMDS_FILES))
+M_FILES = $(patsubst %.xmds,%.xsil,$(XMDS_FILES))
+
+XMDS = xmds
+XSIL2GRAPHICS = xsil2graphics
+
+all: $(M_FILES)
+
+%.run: %.xmds
+	$(XMDS) $<
+	mv $(patsubst %.xmds,%,$<) $@
+
+%.xsil: %.run
+	./$<
+
+%.m: %.xsil
+	$(XSIL2GRAPHICS) $<
+
+clean:
+	rm -f *.run *.cc *.m *.xsil *.wisdom.fftw3
+
+.PRECIOUS: %.run %.xsil %.m
+.PHONY: all clean

Added: packages/xmds/tags/1.6.5-2/README.Debian
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.6.5-2/README.Debian?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.6.5-2/README.Debian (added)
+++ packages/xmds/tags/1.6.5-2/README.Debian Wed Aug 10 07:51:31 2011
@@ -1,0 +1,20 @@
+xmds for Debian
+---------------
+
+  All examples shiped in the upstream distribution tarball are
+  included in the Debian package in the directory
+  /usr/share/doc/xmds/examples.  To run one of them and visualize the
+  results, you can do, e.g.:
+
+      xmds /usr/share/doc/xmds/examples/nlse.xmds
+      ./nlse
+      xsil2graphics nlse.xsil
+      echo "nlse;mesh(z_1,t_1,pow_dens_1);print nlse.eps -color -deps" \
+           | octave -qf
+      gv nlse.eps
+
+  Notice that you must have one of the octave package (octave2.1 or
+  octave2.9) and the gv package installed in your system in order to run
+  the code above.
+
+ -- Rafael Laboissiere <rafael at debian.org>  Thu, 25 Nov 2006 10:10:09 +0100

Added: packages/xmds/tags/1.6.5-2/changelog
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.6.5-2/changelog?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.6.5-2/changelog (added)
+++ packages/xmds/tags/1.6.5-2/changelog Wed Aug 10 07:51:31 2011
@@ -1,0 +1,193 @@
+xmds (1.6.5-2) unstable; urgency=low
+
+  * debian/control: Build-depend on quilt
+  * debian/rules: Include quilt's CDBS scrap
+  * debian/patches/compile-with-gcc-4.3.diff: Add patch for building the
+    package with GCC 4.3 (closes: #474820)
+
+ -- Rafael Laboissiere <rafael at debian.org>  Tue, 08 Apr 2008 09:37:27 +0200
+
+xmds (1.6.5-1) unstable; urgency=low
+
+  * New upstream release
+  * debian/patches/g++-4.2-string-literal.patch: Dropped patch (applied
+    upstream)
+  * debian/rules:
+    + Drop hacks for keeping upstream files unchanged
+    + Cleanups: loadxsil.m does not land in /usr/bin anymore and *.xmds
+      files in examples dir have now the right permissions
+    + Install examples in appropriate doc directory
+
+ -- Rafael Laboissiere <rafael at debian.org>  Fri, 29 Feb 2008 00:32:17 +0100
+
+xmds (1.6.4-1) unstable; urgency=low
+
+  * New upstream release
+  * debian/control:
+    + Build-depends on octave3.0-headers instead of 2.9
+    + Use ${octave-3-0:Depends} in Suggests field
+  * debian/rules:
+    + Call octave3.0-depends instead of octave2.9-depends
+    + Since version 1.6-1 of the package, there is no need for calling
+      autoconf, because configure.in was fixed upstream.  Dropped the
+      setting of the variables DEB_AUTO_UPDATE_AUTOCONF as well as some
+      files from the list of files to be preserved from the autotools.
+  * debian/patches/loadxsil-varnames-cell.patch: Dropped patch (applied
+    upstream)
+  * debian/patches/g++-4.2-string-literal.patch: New patch for avoiding g++
+    4.2 warning messages related to string literals being used as char*.
+
+ -- Rafael Laboissiere <rafael at debian.org>  Fri, 18 Jan 2008 01:25:30 +0100
+
+xmds (1.6.3-3) unstable; urgency=low
+
+  * debian/control: Build-depends on libfft3-dev, since the fftw3 packages
+    have been renamed (closes: #454174)
+
+ -- Rafael Laboissiere <rafael at debian.org>  Wed, 19 Dec 2007 16:54:24 +0100
+
+xmds (1.6.3-2) unstable; urgency=low
+
+  * debian/control:
+    + Added Homepage field
+    + Use the now official Vcs-* fields instead of the obsolete XS-Vcs-*
+    + Dropped the Homepage pseudo-header from the extended description
+    + Bumped Standards-Version to 3.7.3
+
+ -- Rafael Laboissiere <rafael at debian.org>  Sat, 15 Dec 2007 11:23:49 +0100
+
+xmds (1.6.3-1) unstable; urgency=low
+
+  * New upstream release.  Removed patch gcc-4.3-includes.patch, which is
+    applied upstream.
+
+ -- Rafael Laboissiere <rafael at debian.org>  Sat, 21 Jul 2007 13:14:48 +0200
+
+xmds (1.6.2-1) unstable; urgency=low
+
+  * New upstream release
+  * debian/patches/gcc-4.3-includes.patch: New patch for making the
+    package build against gcc 4.3 by including the appropriate cstring and
+    cstdlib headers
+
+ -- Rafael Laboissiere <rafael at debian.org>  Sat, 16 Jun 2007 09:51:02 +0200
+
+xmds (1.6.1-1) unstable; urgency=low
+
+  * New upstream release
+  * debian/control: Fixed typo in short description
+  * debian/patches/loadxsil-varnames-cell.dpatch: Added patch for making
+    loadxsil.m work with Octave
+
+ -- Rafael Laboissiere <rafael at debian.org>  Sat, 12 May 2007 09:44:32 +0200
+
+xmds (1.6-2) unstable; urgency=low
+
+  * debian/patches/gcc-4.3-include-cstdlib.patch: Also include cstdlib in
+    source/xmdsintegrateark89.cc  (closes: #417768).  Thanks Martin
+    Milchmayr for the patch.
+
+ -- Rafael Laboissiere <rafael at debian.org>  Tue, 10 Apr 2007 17:54:35 +0200
+
+xmds (1.6-1) unstable; urgency=low
+
+  * New upstream release
+  * Removed patches (applied upstream):
+    + 50-add-lorenz-data.patch
+    + 50-make-examples-work.patch
+    + 50-preserve-prefix.patch
+  * debian/watch: Fixed upstream URL pattern
+  * debian/rules: Fix permission of some installed files
+
+ -- Rafael Laboissiere <rafael at debian.org>  Thu,  5 Apr 2007 11:17:34 +0200
+
+xmds (1.5.3-9) unstable; urgency=low
+
+  * debian/rules: Delete config.status in clean target
+  * debian/patches/gcc-4.3-include-cstdlib.patch: Make the sources compile
+    with GCC 4.3.  Thanks to Martin Michlmayr (closes: #417768).
+
+ -- Rafael Laboissiere <rafael at debian.org>  Wed,  4 Apr 2007 23:04:01 +0200
+
+xmds (1.5.3-8) unstable; urgency=low
+
+  * debian/control:
+    - Added XS-Vcs-Svn and XS-Vcs-Browser fields to the Source section
+    - Added Homepage pseudo-field to the Description
+    - Changed the priority of the package "extra", because it depends on
+      libmpich1.0-dev, which has also priority "extra" (comply with Policy
+      Section 2.5: Priorities)
+  * debian/rules: Save and restore files configure, source/config.h.in,
+    and source/xmdsconfig.h, which are changed by the autotools,
+    preventing the changes to appear in the diff.gz file
+
+ -- Rafael Laboissiere <rafael at debian.org>  Thu,  8 Mar 2007 11:35:28 +0100
+
+xmds (1.5.3-7) unstable; urgency=low
+
+  * First upload to unstable
+
+ -- Rafael Laboissiere <rafael at debian.org>  Wed, 31 Jan 2007 23:19:38 +0100
+
+xmds (1.5.3-6) experimental; urgency=low
+
+  * debian/rules: Use mpicxx as the MPI compile; all the examples work now
+  * debian/README.Debian: Updated accordingly
+
+ -- Rafael Laboissiere <rafael at debian.org>  Thu, 30 Nov 2006 14:29:44 +0100
+
+xmds (1.5.3-5) experimental; urgency=low
+
+  * debian/rules:
+    - Enable the use of MPI
+    - Do not path the examples for fftw3, since they work with fftw2
+  * debian/README.Debian: Updated according to the above
+  * debian/control:
+    - Build-depends on fftw-dev and libmpich1.0-dev
+    - Depends on fftw-dev, fft3-dev, and libmpich1.0-dev, otherwise the
+      xmds program won't work, since it needs the header files of those
+      packages
+
+ -- Rafael Laboissiere <rafael at debian.org>  Thu, 30 Nov 2006 03:54:42 +0100
+
+xmds (1.5.3-4) experimental; urgency=low
+
+  * debian/rules: Avoid the double invocation of build/xmds rule
+
+ -- Rafael Laboissiere <rafael at debian.org>  Tue, 28 Nov 2006 22:33:54 +0100
+
+xmds (1.5.3-3) experimental; urgency=low
+
+  * debian/Makefile-examples: Introduce variables XMDS and XSIL2GRAPHICS
+  * debian/rules: Use the variables defined above in order to call the
+    appropriate programs at build time.
+
+  * debian/README.Debian: Added a note about the examples that do not
+    work because they depend on MPI
+
+ -- Rafael Laboissiere <rafael at debian.org>  Mon, 27 Nov 2006 20:10:19 +0100
+
+xmds (1.5.3-2) experimental; urgency=low
+
+  * First official release, uploaded to experimental because we are in the
+    middle of the etch "soft freeze" period
+
+  * Added patches:
+    - 50-add-lorenz-data.patch: Add file examples/lorenzInput.dat which is
+      missing in the tarball
+    - 50-make-examples-work.patch: Add patch for source/xmdssimulation.cc
+      taken from upstream CVS which makes all examples work (excluding the
+      ones that depend on MPI)
+
+  * Added a regression test for the package (lorenz.xmds example).  This
+    is done through the makefile debian/Makefile-examples, which is also
+    installed in the examples area.
+
+ -- Rafael Laboissiere <rafael at debian.org>  Sat, 25 Nov 2006 18:16:27 +0100
+
+xmds (1.5.3-1) not-released; urgency=low
+
+  * Initial release (Closes: #400312)
+
+ -- Christian T. Steigies <cts at debian.org>  Thu, 23 Nov 2006 21:48:44 +0100
+

Added: packages/xmds/tags/1.6.5-2/compat
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.6.5-2/compat?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.6.5-2/compat (added)
+++ packages/xmds/tags/1.6.5-2/compat Wed Aug 10 07:51:31 2011
@@ -1,0 +1,1 @@
+5

Added: packages/xmds/tags/1.6.5-2/control
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.6.5-2/control?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.6.5-2/control (added)
+++ packages/xmds/tags/1.6.5-2/control Wed Aug 10 07:51:31 2011
@@ -1,0 +1,24 @@
+Source: xmds
+Section: science
+Priority: extra
+Maintainer: Debian Scientific Computing Team <pkg-scicomp-devel at lists.alioth.debian.org>
+Uploaders: Christian T. Steigies <cts at debian.org>,
+ Rafael Laboissiere <rafael at debian.org>
+Build-Depends: cdbs, debhelper (>= 5), autotools-dev, fftw-dev, libfftw3-dev,
+ libmpich1.0-dev, octave2.1-headers, octave3.0-headers, autoconf, quilt
+Standards-Version: 3.7.3
+Homepage: http://xmds.sourceforge.net/
+Vcs-Svn: svn://svn.debian.org/svn/pkg-scicomp/xmds/
+Vcs-Browser: http://svn.debian.org/wsvn/pkg-scicomp/xmds/
+
+Package: xmds
+Architecture: any
+Depends: ${shlibs:Depends}, fftw-dev, libfftw3-dev, libmpich1.0-dev
+Suggests: ${octave-3-0:Depends} | ${octave-2-1:Depends}
+Description: eXtensible Multi-Dimensional Simulator
+ XMDS is a code generator that integrates equations, from Ordinary
+ Differential Equations (ODEs) up to stochastic Partial Differential
+ Equations (PDEs). You write them down in human readable form in an
+ XML file, and it goes away and writes and compiles a C++ program that
+ integrates those equations as fast as it can possibly be done in your
+ architecture.

Added: packages/xmds/tags/1.6.5-2/copyright
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.6.5-2/copyright?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.6.5-2/copyright (added)
+++ packages/xmds/tags/1.6.5-2/copyright Wed Aug 10 07:51:31 2011
@@ -1,0 +1,49 @@
+This package was debianized by Christian T. Steigies <cts at debian.org>
+and Rafael Laboissiere <rafael at debian.org> on Thu, 23 Nov 2006 12:23:09 +0100.
+
+It was downloaded from http://www.xmds.org/downloads.html
+
+Upstream Authors: Paul Cochrane <cochrane at physics.uq.edu.au>
+                  Joseph Hope <Joseph.Hope at anu.edu.au>
+                  Peter Drummond <drummond at physics.uq.edu.au>
+
+
+Copyright:
+  2000-2004  Greg Collecutt, Joseph Hope and Paul Cochrane
+
+
+License:
+
+ XMDS is free software; you can redistribute it and/or
+ modify it under the terms of the GNU General Public License
+ as published by the Free Software Foundation; either version 2
+ of the License, or (at your option) any later version.
+
+ XMDS is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ GNU General Public License for more details.
+
+
+The Debian packaging is (C) 2006, Christian T. Steigies <cts at debian.org>
+and Rafael Laboissiere <rafael at debian.org>, and is licensed under the GPL,
+see `/usr/share/common-licenses/GPL'.
+
+Files with different copyright dates/holders (but also released under the
+GPL):
+
+    source/getopt_xmds.c:
+      Copyright (C) 1987,88,89,90,91,92,93,94,95,96,98,99,2000,2001
+      Free Software Foundation, Inc.
+
+    source/getopt_xmds1.c:
+     Copyright (C) 1987,88,89,90,91,92,93,94,96,97,98
+     Free Software Foundation, Inc.
+
+    source/getopt_xmds.h:
+      Copyright (C) 1989-1994, 1996-1999, 2001 Free Software Foundation, Inc.
+
+    ./source/getopt_xmds_init.c:
+      Copyright (C) 1997, 1998, 2001 Free Software Foundation, Inc.
+      This file is part of the GNU C Library.
+      Contributed by Ulrich Drepper <drepper at cygnus.com>, 1997.

Added: packages/xmds/tags/1.6.5-2/docs
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.6.5-2/docs?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.6.5-2/docs (added)
+++ packages/xmds/tags/1.6.5-2/docs Wed Aug 10 07:51:31 2011
@@ -1,0 +1,2 @@
+NEWS
+README

Added: packages/xmds/tags/1.6.5-2/examples
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.6.5-2/examples?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.6.5-2/examples (added)
+++ packages/xmds/tags/1.6.5-2/examples Wed Aug 10 07:51:31 2011
@@ -1,0 +1,2 @@
+examples/*.xmds
+examples/*.dat

Added: packages/xmds/tags/1.6.5-2/patches/compile-with-gcc-4.3.diff
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.6.5-2/patches/compile-with-gcc-4.3.diff?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.6.5-2/patches/compile-with-gcc-4.3.diff (added)
+++ packages/xmds/tags/1.6.5-2/patches/compile-with-gcc-4.3.diff Wed Aug 10 07:51:31 2011
@@ -1,0 +1,112 @@
+Index: xmds-1.6.5/source/xmds_simulation.h
+===================================================================
+--- xmds-1.6.5.orig/source/xmds_simulation.h	2008-04-08 07:47:35.000000000 +0000
++++ xmds-1.6.5/source/xmds_simulation.h	2008-04-08 07:47:39.000000000 +0000
+@@ -40,6 +40,8 @@
+ #include <xmds_sequence.h>
+ #include <xmds_globals.h>
+ 
++#include <string>
++
+ // *****************************************************************************
+ // *****************************************************************************
+ //                              xmdsSimulation
+Index: xmds-1.6.5/source/xmds_integrate_ark45.cc
+===================================================================
+--- xmds-1.6.5.orig/source/xmds_integrate_ark45.cc	2008-04-08 07:47:35.000000000 +0000
++++ xmds-1.6.5/source/xmds_integrate_ark45.cc	2008-04-08 07:47:39.000000000 +0000
+@@ -35,6 +35,7 @@
+ #include <xmds_simulation.h>
+ #include <xmds_vector.h>
+ #include <cstdlib>
++#include <cstring>
+ 
+ // **************************************************************************
+ // **************************************************************************
+@@ -289,7 +290,7 @@
+       fprintf(outfile, "for(unsigned long _i0=0; _i0<_%s_size; _i0++){\n", fieldName);
+     }
+     fprintf(outfile, "   for(unsigned long _i1=0; _i1<_%s_main_ncomponents; _i1++){\n", fieldName);
+-    if (strcmp(typeName, "complex") == 0) {
++    if (std::strcmp(typeName, "complex") == 0) {
+       fprintf(outfile, "    _temp_mod=mod2(_%s_main[_%s_main_index_pointer + _i1]);\n", fieldName, fieldName);
+     }
+     else {
+@@ -347,7 +348,7 @@
+     }
+     fprintf(outfile, "   for(unsigned long _i1=0; _i1<_%s_main_ncomponents; _i1++)\n", fieldName);
+ 
+-    if (strcmp(typeName, "complex") == 0) {
++    if (std::strcmp(typeName, "complex") == 0) {
+       fprintf(outfile, "       if(mod2(_%s_main[_%s_main_index_pointer + _i1])>_peak[_i1]){\n", fieldName, fieldName);
+       fprintf(outfile, "            _temp_error=mod(_%s_main[_%s_main_index_pointer + _i1]-_checkfield[_%s_main_index_pointer + _i1])/(mod(_%s_main[_%s_main_index_pointer + _i1])+1e-20);\n", fieldName, fieldName, fieldName, fieldName, fieldName);
+     }
+@@ -364,7 +365,7 @@
+   else{ // if ndims==0
+     fprintf(outfile, "   for(unsigned long _i1=0; _i1<_%s_main_ncomponents; _i1++){\n", fieldName);
+ 
+-    if (strcmp(typeName, "complex") == 0) {
++    if (std::strcmp(typeName, "complex") == 0) {
+       fprintf(outfile, "       _temp_error=mod(_%s_main[_i1]-_checkfield[_i1])/(mod(_%s_main[_i1])+1e-20);\n", fieldName, fieldName);
+     }
+     else{
+Index: xmds-1.6.5/source/xmds_integrate_ark89.cc
+===================================================================
+--- xmds-1.6.5.orig/source/xmds_integrate_ark89.cc	2008-04-08 07:47:35.000000000 +0000
++++ xmds-1.6.5/source/xmds_integrate_ark89.cc	2008-04-08 07:47:39.000000000 +0000
+@@ -35,6 +35,7 @@
+ #include <xmds_simulation.h>
+ #include <xmds_vector.h>
+ #include <cstdlib>
++#include <cstring>
+ 
+ // **************************************************************************
+ // **************************************************************************
+@@ -284,7 +285,7 @@
+       fprintf(outfile, "for (unsigned long _i0=0; _i0<_%s_size; _i0++){\n", fieldName);
+     }
+     fprintf(outfile, "   for (unsigned long _i1=0; _i1<_%s_main_ncomponents; _i1++){\n", fieldName);
+-    if (strcmp(typeName, "complex") == 0) {
++    if (std::strcmp(typeName, "complex") == 0) {
+       fprintf(outfile, "    _temp_mod=mod2(_%s_main[_%s_main_index_pointer + _i1]);\n", fieldName, fieldName);
+     }
+     else {
+@@ -334,7 +335,7 @@
+     }
+     fprintf(outfile, "   for (unsigned long _i1=0; _i1<_%s_main_ncomponents; _i1++)\n", fieldName);
+ 
+-    if (strcmp(typeName, "complex") == 0) {
++    if (std::strcmp(typeName, "complex") == 0) {
+       fprintf(outfile, "       if (mod2(_%s_main[_%s_main_index_pointer + _i1])>_peak[_i1]){\n", fieldName, fieldName);
+       fprintf(outfile, "            _temp_error=mod(_%s_main[_%s_main_index_pointer + _i1]-_checkfield[_%s_main_index_pointer + _i1])/(mod(_%s_main[_%s_main_index_pointer + _i1])+1e-20);\n", fieldName, fieldName, fieldName, fieldName, fieldName);
+     }
+@@ -352,7 +353,7 @@
+ 
+     fprintf(outfile, "   for (unsigned long _i1=0; _i1<_%s_main_ncomponents; _i1++){\n", fieldName);
+ 
+-    if (strcmp(typeName, "complex") == 0){
++    if (std::strcmp(typeName, "complex") == 0){
+       fprintf(outfile, "       _temp_error=mod(_%s_main[_i1]-_checkfield[_i1])/(mod(_%s_main[_i1])+1e-20);\n", fieldName, fieldName);
+     }
+     else{
+Index: xmds-1.6.5/source/xsil2graphics.cc
+===================================================================
+--- xmds-1.6.5.orig/source/xsil2graphics.cc	2008-04-08 07:51:54.000000000 +0000
++++ xmds-1.6.5/source/xsil2graphics.cc	2008-04-08 07:52:08.000000000 +0000
+@@ -40,6 +40,7 @@
+ #include <xsil_field.h>
+ #include <getopt_xmds.h>
+ #include <iostream>
++#include <cstring>
+ 
+ // **********************************************************************
+ 
+@@ -306,7 +307,7 @@
+ 
+     const DOMString *mgName = nextElement->getAttribute("Name");
+     int mgNumber = i+1;
+-    if (strcmp("breakpoint", mgName->c_str()) == 0) {
++    if (std::strcmp("breakpoint", mgName->c_str()) == 0) {
+       mgNumber = 1;
+     }
+     else {

Added: packages/xmds/tags/1.6.5-2/patches/series
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.6.5-2/patches/series?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.6.5-2/patches/series (added)
+++ packages/xmds/tags/1.6.5-2/patches/series Wed Aug 10 07:51:31 2011
@@ -1,0 +1,1 @@
+compile-with-gcc-4.3.diff

Added: packages/xmds/tags/1.6.5-2/rules
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.6.5-2/rules?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.6.5-2/rules (added)
+++ packages/xmds/tags/1.6.5-2/rules Wed Aug 10 07:51:31 2011
@@ -1,0 +1,47 @@
+#!/usr/bin/make -f
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/autotools.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
+
+debdir  = $(CURDIR)/debian
+instdir = $(debdir)/xmds
+shrdir  = $(instdir)/usr/share
+docdir  = $(shrdir)/doc/xmds
+expdir  = $(docdir)/examples
+mdir    = $(shrdir)/octave/site/m
+
+DEB_CONFIGURE_EXTRA_FLAGS =		\
+	--enable-fftw3			\
+	--enable-mpi			\
+	--with-mpi-path=/usr/lib/mpich	\
+	--with-mpi-compiler=mpicxx
+
+DEB_COMPRESS_EXCLUDE = .xmds
+
+DEB_MAKE_INSTALL_TARGET = install DESTDIR=$(instdir)	\
+			  docdir=/usr/share/doc/xmds
+
+build/xmds:: make-examples-stamp
+make-examples-stamp:
+	# Run test
+	cp examples/lorenz* source
+	( cd source ;						\
+	  $(MAKE) XMDS=./xmds XSIL2GRAPHICS=./xsil2graphics	\
+		-f ../debian/Makefile-examples lorenz.m ;	\
+	  rm -f lorenz* )
+	touch make-examples-stamp
+
+install/xmds::
+	for v in 2.1 3.0 ; do octave$$v-depends ; done
+
+binary-install/xmds::
+	# Move Octave file into the correct directory
+	mkdir -p $(mdir)
+	install --mode=644 source/loadxsil.m $(mdir)
+
+	# Add Makefile to the examples directory
+	cp debian/Makefile-examples $(expdir)/Makefile
+
+clean::
+	rm -rf config.log source/lorenz.* make-examples-stamp config.status

Propchange: packages/xmds/tags/1.6.5-2/rules
------------------------------------------------------------------------------
    svn:executable = *

Added: packages/xmds/tags/1.6.5-2/watch
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.6.5-2/watch?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.6.5-2/watch (added)
+++ packages/xmds/tags/1.6.5-2/watch Wed Aug 10 07:51:31 2011
@@ -1,0 +1,3 @@
+version=3
+opts="uversionmangle=s/-/./"						\
+  http://heanet.dl.sourceforge.net/sourceforge/xmds/xmds-(.*)\.tar\.gz.*

Added: packages/xmds/tags/1.6.6-1/Makefile-examples
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.6.6-1/Makefile-examples?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.6.6-1/Makefile-examples (added)
+++ packages/xmds/tags/1.6.6-1/Makefile-examples Wed Aug 10 07:51:31 2011
@@ -1,0 +1,34 @@
+###  -*- make -*-
+### This file is part of the Debian xmds package
+### Copyright (C) 2006 Rafael Laboissiere
+### This file is relased under the GNU General Public License
+### NO WARRANTIES!
+
+### This makefile can be used to build and run the XMDS examples
+
+XMDS_FILES = $(shell ls *.xmds)
+RUN_FILES = $(patsubst %.xmds,%.run,$(XMDS_FILES))
+CC_FILES = $(patsubst %.xmds,%.cc,$(XMDS_FILES))
+XSIL_FILES = $(patsubst %.xmds,%.xsil,$(XMDS_FILES))
+M_FILES = $(patsubst %.xmds,%.xsil,$(XMDS_FILES))
+
+XMDS = xmds
+XSIL2GRAPHICS = xsil2graphics
+
+all: $(M_FILES)
+
+%.run: %.xmds
+	$(XMDS) $<
+	mv $(patsubst %.xmds,%,$<) $@
+
+%.xsil: %.run
+	./$<
+
+%.m: %.xsil
+	$(XSIL2GRAPHICS) $<
+
+clean:
+	rm -f *.run *.cc *.m *.xsil *.wisdom.fftw3
+
+.PRECIOUS: %.run %.xsil %.m
+.PHONY: all clean

Added: packages/xmds/tags/1.6.6-1/README.Debian
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.6.6-1/README.Debian?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.6.6-1/README.Debian (added)
+++ packages/xmds/tags/1.6.6-1/README.Debian Wed Aug 10 07:51:31 2011
@@ -1,0 +1,20 @@
+xmds for Debian
+---------------
+
+  All examples shiped in the upstream distribution tarball are
+  included in the Debian package in the directory
+  /usr/share/doc/xmds/examples.  To run one of them and visualize the
+  results, you can do, e.g.:
+
+      xmds /usr/share/doc/xmds/examples/nlse.xmds
+      ./nlse
+      xsil2graphics nlse.xsil
+      echo "nlse;mesh(z_1,t_1,pow_dens_1);print nlse.eps -color -deps" \
+           | octave -qf
+      gv nlse.eps
+
+  Notice that you must have one of the octave package (octave2.1 or
+  octave2.9) and the gv package installed in your system in order to run
+  the code above.
+
+ -- Rafael Laboissiere <rafael at debian.org>  Thu, 25 Nov 2006 10:10:09 +0100

Added: packages/xmds/tags/1.6.6-1/changelog
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.6.6-1/changelog?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.6.6-1/changelog (added)
+++ packages/xmds/tags/1.6.6-1/changelog Wed Aug 10 07:51:31 2011
@@ -1,0 +1,205 @@
+xmds (1.6.6-1) unstable; urgency=low
+
+  * New upstream release
+  * debian/patches/compile-with-gcc-4.3.diff: Drop patch (applied upstream)
+  * debian/rules: Use debian/clean instead of manually cleaning files
+  * debian/compat, debian/control: Bump build-dependency on debhelper to
+    >= 7.0.0, otherwise debian/clean is moot
+  * debian/clean: New file
+  * debian/control: Bump Standards-Version to 3.8.0 (no changes needed)
+
+ -- Rafael Laboissiere <rafael at debian.org>  Sat, 12 Jul 2008 10:53:41 +0200
+
+xmds (1.6.5-2) unstable; urgency=low
+
+  * debian/control: Build-depend on quilt
+  * debian/rules: Include quilt's CDBS scrap
+  * debian/patches/compile-with-gcc-4.3.diff: Add patch for building the
+    package with GCC 4.3 (closes: #474820)
+
+ -- Rafael Laboissiere <rafael at debian.org>  Tue, 08 Apr 2008 09:37:27 +0200
+
+xmds (1.6.5-1) unstable; urgency=low
+
+  * New upstream release
+  * debian/patches/g++-4.2-string-literal.patch: Dropped patch (applied
+    upstream)
+  * debian/rules:
+    + Drop hacks for keeping upstream files unchanged
+    + Cleanups: loadxsil.m does not land in /usr/bin anymore and *.xmds
+      files in examples dir have now the right permissions
+    + Install examples in appropriate doc directory
+
+ -- Rafael Laboissiere <rafael at debian.org>  Fri, 29 Feb 2008 00:32:17 +0100
+
+xmds (1.6.4-1) unstable; urgency=low
+
+  * New upstream release
+  * debian/control:
+    + Build-depends on octave3.0-headers instead of 2.9
+    + Use ${octave-3-0:Depends} in Suggests field
+  * debian/rules:
+    + Call octave3.0-depends instead of octave2.9-depends
+    + Since version 1.6-1 of the package, there is no need for calling
+      autoconf, because configure.in was fixed upstream.  Dropped the
+      setting of the variables DEB_AUTO_UPDATE_AUTOCONF as well as some
+      files from the list of files to be preserved from the autotools.
+  * debian/patches/loadxsil-varnames-cell.patch: Dropped patch (applied
+    upstream)
+  * debian/patches/g++-4.2-string-literal.patch: New patch for avoiding g++
+    4.2 warning messages related to string literals being used as char*.
+
+ -- Rafael Laboissiere <rafael at debian.org>  Fri, 18 Jan 2008 01:25:30 +0100
+
+xmds (1.6.3-3) unstable; urgency=low
+
+  * debian/control: Build-depends on libfft3-dev, since the fftw3 packages
+    have been renamed (closes: #454174)
+
+ -- Rafael Laboissiere <rafael at debian.org>  Wed, 19 Dec 2007 16:54:24 +0100
+
+xmds (1.6.3-2) unstable; urgency=low
+
+  * debian/control:
+    + Added Homepage field
+    + Use the now official Vcs-* fields instead of the obsolete XS-Vcs-*
+    + Dropped the Homepage pseudo-header from the extended description
+    + Bumped Standards-Version to 3.7.3
+
+ -- Rafael Laboissiere <rafael at debian.org>  Sat, 15 Dec 2007 11:23:49 +0100
+
+xmds (1.6.3-1) unstable; urgency=low
+
+  * New upstream release.  Removed patch gcc-4.3-includes.patch, which is
+    applied upstream.
+
+ -- Rafael Laboissiere <rafael at debian.org>  Sat, 21 Jul 2007 13:14:48 +0200
+
+xmds (1.6.2-1) unstable; urgency=low
+
+  * New upstream release
+  * debian/patches/gcc-4.3-includes.patch: New patch for making the
+    package build against gcc 4.3 by including the appropriate cstring and
+    cstdlib headers
+
+ -- Rafael Laboissiere <rafael at debian.org>  Sat, 16 Jun 2007 09:51:02 +0200
+
+xmds (1.6.1-1) unstable; urgency=low
+
+  * New upstream release
+  * debian/control: Fixed typo in short description
+  * debian/patches/loadxsil-varnames-cell.dpatch: Added patch for making
+    loadxsil.m work with Octave
+
+ -- Rafael Laboissiere <rafael at debian.org>  Sat, 12 May 2007 09:44:32 +0200
+
+xmds (1.6-2) unstable; urgency=low
+
+  * debian/patches/gcc-4.3-include-cstdlib.patch: Also include cstdlib in
+    source/xmdsintegrateark89.cc  (closes: #417768).  Thanks Martin
+    Milchmayr for the patch.
+
+ -- Rafael Laboissiere <rafael at debian.org>  Tue, 10 Apr 2007 17:54:35 +0200
+
+xmds (1.6-1) unstable; urgency=low
+
+  * New upstream release
+  * Removed patches (applied upstream):
+    + 50-add-lorenz-data.patch
+    + 50-make-examples-work.patch
+    + 50-preserve-prefix.patch
+  * debian/watch: Fixed upstream URL pattern
+  * debian/rules: Fix permission of some installed files
+
+ -- Rafael Laboissiere <rafael at debian.org>  Thu,  5 Apr 2007 11:17:34 +0200
+
+xmds (1.5.3-9) unstable; urgency=low
+
+  * debian/rules: Delete config.status in clean target
+  * debian/patches/gcc-4.3-include-cstdlib.patch: Make the sources compile
+    with GCC 4.3.  Thanks to Martin Michlmayr (closes: #417768).
+
+ -- Rafael Laboissiere <rafael at debian.org>  Wed,  4 Apr 2007 23:04:01 +0200
+
+xmds (1.5.3-8) unstable; urgency=low
+
+  * debian/control:
+    - Added XS-Vcs-Svn and XS-Vcs-Browser fields to the Source section
+    - Added Homepage pseudo-field to the Description
+    - Changed the priority of the package "extra", because it depends on
+      libmpich1.0-dev, which has also priority "extra" (comply with Policy
+      Section 2.5: Priorities)
+  * debian/rules: Save and restore files configure, source/config.h.in,
+    and source/xmdsconfig.h, which are changed by the autotools,
+    preventing the changes to appear in the diff.gz file
+
+ -- Rafael Laboissiere <rafael at debian.org>  Thu,  8 Mar 2007 11:35:28 +0100
+
+xmds (1.5.3-7) unstable; urgency=low
+
+  * First upload to unstable
+
+ -- Rafael Laboissiere <rafael at debian.org>  Wed, 31 Jan 2007 23:19:38 +0100
+
+xmds (1.5.3-6) experimental; urgency=low
+
+  * debian/rules: Use mpicxx as the MPI compile; all the examples work now
+  * debian/README.Debian: Updated accordingly
+
+ -- Rafael Laboissiere <rafael at debian.org>  Thu, 30 Nov 2006 14:29:44 +0100
+
+xmds (1.5.3-5) experimental; urgency=low
+
+  * debian/rules:
+    - Enable the use of MPI
+    - Do not path the examples for fftw3, since they work with fftw2
+  * debian/README.Debian: Updated according to the above
+  * debian/control:
+    - Build-depends on fftw-dev and libmpich1.0-dev
+    - Depends on fftw-dev, fft3-dev, and libmpich1.0-dev, otherwise the
+      xmds program won't work, since it needs the header files of those
+      packages
+
+ -- Rafael Laboissiere <rafael at debian.org>  Thu, 30 Nov 2006 03:54:42 +0100
+
+xmds (1.5.3-4) experimental; urgency=low
+
+  * debian/rules: Avoid the double invocation of build/xmds rule
+
+ -- Rafael Laboissiere <rafael at debian.org>  Tue, 28 Nov 2006 22:33:54 +0100
+
+xmds (1.5.3-3) experimental; urgency=low
+
+  * debian/Makefile-examples: Introduce variables XMDS and XSIL2GRAPHICS
+  * debian/rules: Use the variables defined above in order to call the
+    appropriate programs at build time.
+
+  * debian/README.Debian: Added a note about the examples that do not
+    work because they depend on MPI
+
+ -- Rafael Laboissiere <rafael at debian.org>  Mon, 27 Nov 2006 20:10:19 +0100
+
+xmds (1.5.3-2) experimental; urgency=low
+
+  * First official release, uploaded to experimental because we are in the
+    middle of the etch "soft freeze" period
+
+  * Added patches:
+    - 50-add-lorenz-data.patch: Add file examples/lorenzInput.dat which is
+      missing in the tarball
+    - 50-make-examples-work.patch: Add patch for source/xmdssimulation.cc
+      taken from upstream CVS which makes all examples work (excluding the
+      ones that depend on MPI)
+
+  * Added a regression test for the package (lorenz.xmds example).  This
+    is done through the makefile debian/Makefile-examples, which is also
+    installed in the examples area.
+
+ -- Rafael Laboissiere <rafael at debian.org>  Sat, 25 Nov 2006 18:16:27 +0100
+
+xmds (1.5.3-1) not-released; urgency=low
+
+  * Initial release (Closes: #400312)
+
+ -- Christian T. Steigies <cts at debian.org>  Thu, 23 Nov 2006 21:48:44 +0100
+

Added: packages/xmds/tags/1.6.6-1/clean
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.6.6-1/clean?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.6.6-1/clean (added)
+++ packages/xmds/tags/1.6.6-1/clean Wed Aug 10 07:51:31 2011
@@ -1,0 +1,1 @@
+config.log source/lorenz.* make-examples-stamp config.status

Added: packages/xmds/tags/1.6.6-1/compat
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.6.6-1/compat?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.6.6-1/compat (added)
+++ packages/xmds/tags/1.6.6-1/compat Wed Aug 10 07:51:31 2011
@@ -1,0 +1,1 @@
+7

Added: packages/xmds/tags/1.6.6-1/control
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.6.6-1/control?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.6.6-1/control (added)
+++ packages/xmds/tags/1.6.6-1/control Wed Aug 10 07:51:31 2011
@@ -1,0 +1,25 @@
+Source: xmds
+Section: science
+Priority: extra
+Maintainer: Debian Scientific Computing Team <pkg-scicomp-devel at lists.alioth.debian.org>
+Uploaders: Christian T. Steigies <cts at debian.org>,
+ Rafael Laboissiere <rafael at debian.org>
+Build-Depends: cdbs, debhelper (>= 7.0.0), autotools-dev, fftw-dev,
+ libfftw3-dev, libmpich1.0-dev, octave2.1-headers, octave3.0-headers,
+ autoconf
+Standards-Version: 3.8.0
+Homepage: http://xmds.sourceforge.net/
+Vcs-Svn: svn://svn.debian.org/svn/pkg-scicomp/xmds/
+Vcs-Browser: http://svn.debian.org/wsvn/pkg-scicomp/xmds/
+
+Package: xmds
+Architecture: any
+Depends: ${shlibs:Depends}, fftw-dev, libfftw3-dev, libmpich1.0-dev
+Suggests: ${octave-3-0:Depends} | ${octave-2-1:Depends}
+Description: eXtensible Multi-Dimensional Simulator
+ XMDS is a code generator that integrates equations, from Ordinary
+ Differential Equations (ODEs) up to stochastic Partial Differential
+ Equations (PDEs). You write them down in human readable form in an
+ XML file, and it goes away and writes and compiles a C++ program that
+ integrates those equations as fast as it can possibly be done in your
+ architecture.

Added: packages/xmds/tags/1.6.6-1/copyright
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.6.6-1/copyright?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.6.6-1/copyright (added)
+++ packages/xmds/tags/1.6.6-1/copyright Wed Aug 10 07:51:31 2011
@@ -1,0 +1,49 @@
+This package was debianized by Christian T. Steigies <cts at debian.org>
+and Rafael Laboissiere <rafael at debian.org> on Thu, 23 Nov 2006 12:23:09 +0100.
+
+It was downloaded from http://www.xmds.org/downloads.html
+
+Upstream Authors: Paul Cochrane <cochrane at physics.uq.edu.au>
+                  Joseph Hope <Joseph.Hope at anu.edu.au>
+                  Peter Drummond <drummond at physics.uq.edu.au>
+
+
+Copyright:
+  2000-2004  Greg Collecutt, Joseph Hope and Paul Cochrane
+
+
+License:
+
+ XMDS is free software; you can redistribute it and/or
+ modify it under the terms of the GNU General Public License
+ as published by the Free Software Foundation; either version 2
+ of the License, or (at your option) any later version.
+
+ XMDS is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ GNU General Public License for more details.
+
+
+The Debian packaging is (C) 2006, Christian T. Steigies <cts at debian.org>
+and Rafael Laboissiere <rafael at debian.org>, and is licensed under the GPL,
+see `/usr/share/common-licenses/GPL'.
+
+Files with different copyright dates/holders (but also released under the
+GPL):
+
+    source/getopt_xmds.c:
+      Copyright (C) 1987,88,89,90,91,92,93,94,95,96,98,99,2000,2001
+      Free Software Foundation, Inc.
+
+    source/getopt_xmds1.c:
+     Copyright (C) 1987,88,89,90,91,92,93,94,96,97,98
+     Free Software Foundation, Inc.
+
+    source/getopt_xmds.h:
+      Copyright (C) 1989-1994, 1996-1999, 2001 Free Software Foundation, Inc.
+
+    ./source/getopt_xmds_init.c:
+      Copyright (C) 1997, 1998, 2001 Free Software Foundation, Inc.
+      This file is part of the GNU C Library.
+      Contributed by Ulrich Drepper <drepper at cygnus.com>, 1997.

Added: packages/xmds/tags/1.6.6-1/docs
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.6.6-1/docs?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.6.6-1/docs (added)
+++ packages/xmds/tags/1.6.6-1/docs Wed Aug 10 07:51:31 2011
@@ -1,0 +1,2 @@
+NEWS
+README

Added: packages/xmds/tags/1.6.6-1/examples
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.6.6-1/examples?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.6.6-1/examples (added)
+++ packages/xmds/tags/1.6.6-1/examples Wed Aug 10 07:51:31 2011
@@ -1,0 +1,2 @@
+examples/*.xmds
+examples/*.dat

Added: packages/xmds/tags/1.6.6-1/rules
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.6.6-1/rules?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.6.6-1/rules (added)
+++ packages/xmds/tags/1.6.6-1/rules Wed Aug 10 07:51:31 2011
@@ -1,0 +1,43 @@
+#!/usr/bin/make -f
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/autotools.mk
+
+debdir  = $(CURDIR)/debian
+instdir = $(debdir)/xmds
+shrdir  = $(instdir)/usr/share
+docdir  = $(shrdir)/doc/xmds
+expdir  = $(docdir)/examples
+mdir    = $(shrdir)/octave/site/m
+
+DEB_CONFIGURE_EXTRA_FLAGS =		\
+	--enable-fftw3			\
+	--enable-mpi			\
+	--with-mpi-path=/usr/lib/mpich	\
+	--with-mpi-compiler=mpicxx
+
+DEB_COMPRESS_EXCLUDE = .xmds
+
+DEB_MAKE_INSTALL_TARGET = install DESTDIR=$(instdir)	\
+			  docdir=/usr/share/doc/xmds
+
+build/xmds:: make-examples-stamp
+make-examples-stamp:
+	# Run test
+	cp examples/lorenz* source
+	( cd source ;						\
+	  $(MAKE) XMDS=./xmds XSIL2GRAPHICS=./xsil2graphics	\
+		-f ../debian/Makefile-examples lorenz.m ;	\
+	  rm -f lorenz* )
+	touch make-examples-stamp
+
+install/xmds::
+	for v in 2.1 3.0 ; do octave$$v-depends ; done
+
+binary-install/xmds::
+	# Move Octave file into the correct directory
+	mkdir -p $(mdir)
+	install --mode=644 source/loadxsil.m $(mdir)
+
+	# Add Makefile to the examples directory
+	cp debian/Makefile-examples $(expdir)/Makefile

Propchange: packages/xmds/tags/1.6.6-1/rules
------------------------------------------------------------------------------
    svn:executable = *

Added: packages/xmds/tags/1.6.6-1/watch
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.6.6-1/watch?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.6.6-1/watch (added)
+++ packages/xmds/tags/1.6.6-1/watch Wed Aug 10 07:51:31 2011
@@ -1,0 +1,3 @@
+version=3
+opts="uversionmangle=s/-/./"						\
+  http://heanet.dl.sourceforge.net/sourceforge/xmds/xmds-(.*)\.tar\.gz.*

Added: packages/xmds/tags/1.6.6-2/Makefile-examples
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.6.6-2/Makefile-examples?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.6.6-2/Makefile-examples (added)
+++ packages/xmds/tags/1.6.6-2/Makefile-examples Wed Aug 10 07:51:31 2011
@@ -1,0 +1,34 @@
+###  -*- make -*-
+### This file is part of the Debian xmds package
+### Copyright (C) 2006 Rafael Laboissiere
+### This file is relased under the GNU General Public License
+### NO WARRANTIES!
+
+### This makefile can be used to build and run the XMDS examples
+
+XMDS_FILES = $(shell ls *.xmds)
+RUN_FILES = $(patsubst %.xmds,%.run,$(XMDS_FILES))
+CC_FILES = $(patsubst %.xmds,%.cc,$(XMDS_FILES))
+XSIL_FILES = $(patsubst %.xmds,%.xsil,$(XMDS_FILES))
+M_FILES = $(patsubst %.xmds,%.xsil,$(XMDS_FILES))
+
+XMDS = xmds
+XSIL2GRAPHICS = xsil2graphics
+
+all: $(M_FILES)
+
+%.run: %.xmds
+	$(XMDS) $<
+	mv $(patsubst %.xmds,%,$<) $@
+
+%.xsil: %.run
+	./$<
+
+%.m: %.xsil
+	$(XSIL2GRAPHICS) $<
+
+clean:
+	rm -f *.run *.cc *.m *.xsil *.wisdom.fftw3
+
+.PRECIOUS: %.run %.xsil %.m
+.PHONY: all clean

Added: packages/xmds/tags/1.6.6-2/README.Debian
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.6.6-2/README.Debian?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.6.6-2/README.Debian (added)
+++ packages/xmds/tags/1.6.6-2/README.Debian Wed Aug 10 07:51:31 2011
@@ -1,0 +1,20 @@
+xmds for Debian
+---------------
+
+  All examples shiped in the upstream distribution tarball are
+  included in the Debian package in the directory
+  /usr/share/doc/xmds/examples.  To run one of them and visualize the
+  results, you can do, e.g.:
+
+      xmds /usr/share/doc/xmds/examples/nlse.xmds
+      ./nlse
+      xsil2graphics nlse.xsil
+      echo "nlse;mesh(z_1,t_1,pow_dens_1);print nlse.eps -color -deps" \
+           | octave -qf
+      gv nlse.eps
+
+  Notice that you must have one of the octave package (octave2.1 or
+  octave2.9) and the gv package installed in your system in order to run
+  the code above.
+
+ -- Rafael Laboissiere <rafael at debian.org>  Thu, 25 Nov 2006 10:10:09 +0100

Added: packages/xmds/tags/1.6.6-2/changelog
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.6.6-2/changelog?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.6.6-2/changelog (added)
+++ packages/xmds/tags/1.6.6-2/changelog Wed Aug 10 07:51:31 2011
@@ -1,0 +1,218 @@
+xmds (1.6.6-2) unstable; urgency=low
+
+  * debian/control, debian/rules: Drop support for octave2.1, which will
+    be removed from Debian unstable.  Closes: #516447. Thanks to Thomas
+    Weber for the patch.
+  * debian/control: Fix Lintian warning debhelper-but-no-misc-depends
+  * debian/watch: Use the qa.debian.org redirector
+  * debian/copyright:
+    + Use the UTF-8 character for the Copyright symbol
+    + Release the Debian packaging under the GPL v3 or later
+
+ -- Rafael Laboissiere <rafael at debian.org>  Sat, 21 Feb 2009 19:59:11 +0100
+
+xmds (1.6.6-1) unstable; urgency=low
+
+  * New upstream release
+  * debian/patches/compile-with-gcc-4.3.diff: Drop patch (applied upstream)
+  * debian/rules: Use debian/clean instead of manually cleaning files
+  * debian/compat, debian/control: Bump build-dependency on debhelper to
+    >= 7.0.0, otherwise debian/clean is moot
+  * debian/clean: New file
+  * debian/control: Bump Standards-Version to 3.8.0 (no changes needed)
+
+ -- Rafael Laboissiere <rafael at debian.org>  Sat, 12 Jul 2008 10:53:41 +0200
+
+xmds (1.6.5-2) unstable; urgency=low
+
+  * debian/control: Build-depend on quilt
+  * debian/rules: Include quilt's CDBS scrap
+  * debian/patches/compile-with-gcc-4.3.diff: Add patch for building the
+    package with GCC 4.3 (closes: #474820)
+
+ -- Rafael Laboissiere <rafael at debian.org>  Tue, 08 Apr 2008 09:37:27 +0200
+
+xmds (1.6.5-1) unstable; urgency=low
+
+  * New upstream release
+  * debian/patches/g++-4.2-string-literal.patch: Dropped patch (applied
+    upstream)
+  * debian/rules:
+    + Drop hacks for keeping upstream files unchanged
+    + Cleanups: loadxsil.m does not land in /usr/bin anymore and *.xmds
+      files in examples dir have now the right permissions
+    + Install examples in appropriate doc directory
+
+ -- Rafael Laboissiere <rafael at debian.org>  Fri, 29 Feb 2008 00:32:17 +0100
+
+xmds (1.6.4-1) unstable; urgency=low
+
+  * New upstream release
+  * debian/control:
+    + Build-depends on octave3.0-headers instead of 2.9
+    + Use ${octave-3-0:Depends} in Suggests field
+  * debian/rules:
+    + Call octave3.0-depends instead of octave2.9-depends
+    + Since version 1.6-1 of the package, there is no need for calling
+      autoconf, because configure.in was fixed upstream.  Dropped the
+      setting of the variables DEB_AUTO_UPDATE_AUTOCONF as well as some
+      files from the list of files to be preserved from the autotools.
+  * debian/patches/loadxsil-varnames-cell.patch: Dropped patch (applied
+    upstream)
+  * debian/patches/g++-4.2-string-literal.patch: New patch for avoiding g++
+    4.2 warning messages related to string literals being used as char*.
+
+ -- Rafael Laboissiere <rafael at debian.org>  Fri, 18 Jan 2008 01:25:30 +0100
+
+xmds (1.6.3-3) unstable; urgency=low
+
+  * debian/control: Build-depends on libfft3-dev, since the fftw3 packages
+    have been renamed (closes: #454174)
+
+ -- Rafael Laboissiere <rafael at debian.org>  Wed, 19 Dec 2007 16:54:24 +0100
+
+xmds (1.6.3-2) unstable; urgency=low
+
+  * debian/control:
+    + Added Homepage field
+    + Use the now official Vcs-* fields instead of the obsolete XS-Vcs-*
+    + Dropped the Homepage pseudo-header from the extended description
+    + Bumped Standards-Version to 3.7.3
+
+ -- Rafael Laboissiere <rafael at debian.org>  Sat, 15 Dec 2007 11:23:49 +0100
+
+xmds (1.6.3-1) unstable; urgency=low
+
+  * New upstream release.  Removed patch gcc-4.3-includes.patch, which is
+    applied upstream.
+
+ -- Rafael Laboissiere <rafael at debian.org>  Sat, 21 Jul 2007 13:14:48 +0200
+
+xmds (1.6.2-1) unstable; urgency=low
+
+  * New upstream release
+  * debian/patches/gcc-4.3-includes.patch: New patch for making the
+    package build against gcc 4.3 by including the appropriate cstring and
+    cstdlib headers
+
+ -- Rafael Laboissiere <rafael at debian.org>  Sat, 16 Jun 2007 09:51:02 +0200
+
+xmds (1.6.1-1) unstable; urgency=low
+
+  * New upstream release
+  * debian/control: Fixed typo in short description
+  * debian/patches/loadxsil-varnames-cell.dpatch: Added patch for making
+    loadxsil.m work with Octave
+
+ -- Rafael Laboissiere <rafael at debian.org>  Sat, 12 May 2007 09:44:32 +0200
+
+xmds (1.6-2) unstable; urgency=low
+
+  * debian/patches/gcc-4.3-include-cstdlib.patch: Also include cstdlib in
+    source/xmdsintegrateark89.cc  (closes: #417768).  Thanks Martin
+    Milchmayr for the patch.
+
+ -- Rafael Laboissiere <rafael at debian.org>  Tue, 10 Apr 2007 17:54:35 +0200
+
+xmds (1.6-1) unstable; urgency=low
+
+  * New upstream release
+  * Removed patches (applied upstream):
+    + 50-add-lorenz-data.patch
+    + 50-make-examples-work.patch
+    + 50-preserve-prefix.patch
+  * debian/watch: Fixed upstream URL pattern
+  * debian/rules: Fix permission of some installed files
+
+ -- Rafael Laboissiere <rafael at debian.org>  Thu,  5 Apr 2007 11:17:34 +0200
+
+xmds (1.5.3-9) unstable; urgency=low
+
+  * debian/rules: Delete config.status in clean target
+  * debian/patches/gcc-4.3-include-cstdlib.patch: Make the sources compile
+    with GCC 4.3.  Thanks to Martin Michlmayr (closes: #417768).
+
+ -- Rafael Laboissiere <rafael at debian.org>  Wed,  4 Apr 2007 23:04:01 +0200
+
+xmds (1.5.3-8) unstable; urgency=low
+
+  * debian/control:
+    - Added XS-Vcs-Svn and XS-Vcs-Browser fields to the Source section
+    - Added Homepage pseudo-field to the Description
+    - Changed the priority of the package "extra", because it depends on
+      libmpich1.0-dev, which has also priority "extra" (comply with Policy
+      Section 2.5: Priorities)
+  * debian/rules: Save and restore files configure, source/config.h.in,
+    and source/xmdsconfig.h, which are changed by the autotools,
+    preventing the changes to appear in the diff.gz file
+
+ -- Rafael Laboissiere <rafael at debian.org>  Thu,  8 Mar 2007 11:35:28 +0100
+
+xmds (1.5.3-7) unstable; urgency=low
+
+  * First upload to unstable
+
+ -- Rafael Laboissiere <rafael at debian.org>  Wed, 31 Jan 2007 23:19:38 +0100
+
+xmds (1.5.3-6) experimental; urgency=low
+
+  * debian/rules: Use mpicxx as the MPI compile; all the examples work now
+  * debian/README.Debian: Updated accordingly
+
+ -- Rafael Laboissiere <rafael at debian.org>  Thu, 30 Nov 2006 14:29:44 +0100
+
+xmds (1.5.3-5) experimental; urgency=low
+
+  * debian/rules:
+    - Enable the use of MPI
+    - Do not path the examples for fftw3, since they work with fftw2
+  * debian/README.Debian: Updated according to the above
+  * debian/control:
+    - Build-depends on fftw-dev and libmpich1.0-dev
+    - Depends on fftw-dev, fft3-dev, and libmpich1.0-dev, otherwise the
+      xmds program won't work, since it needs the header files of those
+      packages
+
+ -- Rafael Laboissiere <rafael at debian.org>  Thu, 30 Nov 2006 03:54:42 +0100
+
+xmds (1.5.3-4) experimental; urgency=low
+
+  * debian/rules: Avoid the double invocation of build/xmds rule
+
+ -- Rafael Laboissiere <rafael at debian.org>  Tue, 28 Nov 2006 22:33:54 +0100
+
+xmds (1.5.3-3) experimental; urgency=low
+
+  * debian/Makefile-examples: Introduce variables XMDS and XSIL2GRAPHICS
+  * debian/rules: Use the variables defined above in order to call the
+    appropriate programs at build time.
+
+  * debian/README.Debian: Added a note about the examples that do not
+    work because they depend on MPI
+
+ -- Rafael Laboissiere <rafael at debian.org>  Mon, 27 Nov 2006 20:10:19 +0100
+
+xmds (1.5.3-2) experimental; urgency=low
+
+  * First official release, uploaded to experimental because we are in the
+    middle of the etch "soft freeze" period
+
+  * Added patches:
+    - 50-add-lorenz-data.patch: Add file examples/lorenzInput.dat which is
+      missing in the tarball
+    - 50-make-examples-work.patch: Add patch for source/xmdssimulation.cc
+      taken from upstream CVS which makes all examples work (excluding the
+      ones that depend on MPI)
+
+  * Added a regression test for the package (lorenz.xmds example).  This
+    is done through the makefile debian/Makefile-examples, which is also
+    installed in the examples area.
+
+ -- Rafael Laboissiere <rafael at debian.org>  Sat, 25 Nov 2006 18:16:27 +0100
+
+xmds (1.5.3-1) not-released; urgency=low
+
+  * Initial release (Closes: #400312)
+
+ -- Christian T. Steigies <cts at debian.org>  Thu, 23 Nov 2006 21:48:44 +0100
+

Added: packages/xmds/tags/1.6.6-2/clean
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.6.6-2/clean?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.6.6-2/clean (added)
+++ packages/xmds/tags/1.6.6-2/clean Wed Aug 10 07:51:31 2011
@@ -1,0 +1,1 @@
+config.log source/lorenz.* make-examples-stamp

Added: packages/xmds/tags/1.6.6-2/compat
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.6.6-2/compat?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.6.6-2/compat (added)
+++ packages/xmds/tags/1.6.6-2/compat Wed Aug 10 07:51:31 2011
@@ -1,0 +1,1 @@
+7

Added: packages/xmds/tags/1.6.6-2/control
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.6.6-2/control?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.6.6-2/control (added)
+++ packages/xmds/tags/1.6.6-2/control Wed Aug 10 07:51:31 2011
@@ -1,0 +1,25 @@
+Source: xmds
+Section: science
+Priority: extra
+Maintainer: Debian Scientific Computing Team <pkg-scicomp-devel at lists.alioth.debian.org>
+Uploaders: Christian T. Steigies <cts at debian.org>,
+ Rafael Laboissiere <rafael at debian.org>
+Build-Depends: cdbs, debhelper (>= 7.0.0), autotools-dev, fftw-dev,
+ libfftw3-dev, libmpich1.0-dev, octave3.0-headers, autoconf
+Standards-Version: 3.8.0
+Homepage: http://xmds.sourceforge.net/
+Vcs-Svn: svn://svn.debian.org/svn/pkg-scicomp/xmds/
+Vcs-Browser: http://svn.debian.org/wsvn/pkg-scicomp/xmds/
+
+Package: xmds
+Architecture: any
+Depends: ${shlibs:Depends}, fftw-dev, libfftw3-dev, libmpich1.0-dev,
+ ${misc:Depends}
+Suggests: ${octave:Depends}
+Description: eXtensible Multi-Dimensional Simulator
+ XMDS is a code generator that integrates equations, from Ordinary
+ Differential Equations (ODEs) up to stochastic Partial Differential
+ Equations (PDEs). You write them down in human readable form in an
+ XML file, and it goes away and writes and compiles a C++ program that
+ integrates those equations as fast as it can possibly be done in your
+ architecture.

Added: packages/xmds/tags/1.6.6-2/copyright
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.6.6-2/copyright?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.6.6-2/copyright (added)
+++ packages/xmds/tags/1.6.6-2/copyright Wed Aug 10 07:51:31 2011
@@ -1,0 +1,49 @@
+This package was debianized by Christian T. Steigies <cts at debian.org>
+and Rafael Laboissiere <rafael at debian.org> on Thu, 23 Nov 2006 12:23:09 +0100.
+
+It was downloaded from http://www.xmds.org/downloads.html
+
+Upstream Authors: Paul Cochrane <cochrane at physics.uq.edu.au>
+                  Joseph Hope <Joseph.Hope at anu.edu.au>
+                  Peter Drummond <drummond at physics.uq.edu.au>
+
+
+Copyright:
+  2000-2004 © Greg Collecutt, Joseph Hope and Paul Cochrane
+
+
+License:
+
+ XMDS is free software; you can redistribute it and/or
+ modify it under the terms of the GNU General Public License
+ as published by the Free Software Foundation; either version 2
+ of the License, or (at your option) any later version.
+
+ XMDS is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ GNU General Public License for more details.
+
+
+The Debian packaging is © 2006, Christian T. Steigies <cts at debian.org>
+and Rafael Laboissiere <rafael at debian.org>, and is licensed under the GPL,
+version 3 or later, see `/usr/share/common-licenses/GPL-3'.
+
+Files with different copyright dates/holders (but also released under the
+GPL):
+
+    source/getopt_xmds.c:
+      Copyright © 1987,88,89,90,91,92,93,94,95,96,98,99,2000,2001
+      Free Software Foundation, Inc.
+
+    source/getopt_xmds1.c:
+     Copyright © 1987,88,89,90,91,92,93,94,96,97,98
+     Free Software Foundation, Inc.
+
+    source/getopt_xmds.h:
+      Copyright © 1989-1994, 1996-1999, 2001 Free Software Foundation, Inc.
+
+    ./source/getopt_xmds_init.c:
+      Copyright © 1997, 1998, 2001 Free Software Foundation, Inc.
+      This file is part of the GNU C Library.
+      Contributed by Ulrich Drepper <drepper at cygnus.com>, 1997.

Added: packages/xmds/tags/1.6.6-2/docs
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.6.6-2/docs?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.6.6-2/docs (added)
+++ packages/xmds/tags/1.6.6-2/docs Wed Aug 10 07:51:31 2011
@@ -1,0 +1,2 @@
+NEWS
+README

Added: packages/xmds/tags/1.6.6-2/examples
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.6.6-2/examples?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.6.6-2/examples (added)
+++ packages/xmds/tags/1.6.6-2/examples Wed Aug 10 07:51:31 2011
@@ -1,0 +1,2 @@
+examples/*.xmds
+examples/*.dat

Added: packages/xmds/tags/1.6.6-2/rules
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.6.6-2/rules?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.6.6-2/rules (added)
+++ packages/xmds/tags/1.6.6-2/rules Wed Aug 10 07:51:31 2011
@@ -1,0 +1,43 @@
+#!/usr/bin/make -f
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/autotools.mk
+
+debdir  = $(CURDIR)/debian
+instdir = $(debdir)/xmds
+shrdir  = $(instdir)/usr/share
+docdir  = $(shrdir)/doc/xmds
+expdir  = $(docdir)/examples
+mdir    = $(shrdir)/octave/site/m
+
+DEB_CONFIGURE_EXTRA_FLAGS =		\
+	--enable-fftw3			\
+	--enable-mpi			\
+	--with-mpi-path=/usr/lib/mpich	\
+	--with-mpi-compiler=mpicxx
+
+DEB_COMPRESS_EXCLUDE = .xmds
+
+DEB_MAKE_INSTALL_TARGET = install DESTDIR=$(instdir)	\
+			  docdir=/usr/share/doc/xmds
+
+build/xmds:: make-examples-stamp
+make-examples-stamp:
+	# Run test
+	cp examples/lorenz* source
+	( cd source ;						\
+	  $(MAKE) XMDS=./xmds XSIL2GRAPHICS=./xsil2graphics	\
+		-f ../debian/Makefile-examples lorenz.m ;	\
+	  rm -f lorenz* )
+	touch make-examples-stamp
+
+install/xmds::
+	octave3.0-depends
+
+binary-install/xmds::
+	# Move Octave file into the correct directory
+	mkdir -p $(mdir)
+	install --mode=644 source/loadxsil.m $(mdir)
+
+	# Add Makefile to the examples directory
+	cp debian/Makefile-examples $(expdir)/Makefile

Propchange: packages/xmds/tags/1.6.6-2/rules
------------------------------------------------------------------------------
    svn:executable = *

Added: packages/xmds/tags/1.6.6-2/watch
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.6.6-2/watch?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.6.6-2/watch (added)
+++ packages/xmds/tags/1.6.6-2/watch Wed Aug 10 07:51:31 2011
@@ -1,0 +1,2 @@
+version=3
+opts="uversionmangle=s/-/./" http://sf.net/xmds/xmds-(.*)\.tar\.gz

Added: packages/xmds/tags/1.6.6-3/debian/Makefile-examples
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.6.6-3/debian/Makefile-examples?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.6.6-3/debian/Makefile-examples (added)
+++ packages/xmds/tags/1.6.6-3/debian/Makefile-examples Wed Aug 10 07:51:31 2011
@@ -1,0 +1,34 @@
+###  -*- make -*-
+### This file is part of the Debian xmds package
+### Copyright (C) 2006 Rafael Laboissiere
+### This file is relased under the GNU General Public License
+### NO WARRANTIES!
+
+### This makefile can be used to build and run the XMDS examples
+
+XMDS_FILES = $(shell ls *.xmds)
+RUN_FILES = $(patsubst %.xmds,%.run,$(XMDS_FILES))
+CC_FILES = $(patsubst %.xmds,%.cc,$(XMDS_FILES))
+XSIL_FILES = $(patsubst %.xmds,%.xsil,$(XMDS_FILES))
+M_FILES = $(patsubst %.xmds,%.xsil,$(XMDS_FILES))
+
+XMDS = xmds
+XSIL2GRAPHICS = xsil2graphics
+
+all: $(M_FILES)
+
+%.run: %.xmds
+	$(XMDS) $<
+	mv $(patsubst %.xmds,%,$<) $@
+
+%.xsil: %.run
+	./$<
+
+%.m: %.xsil
+	$(XSIL2GRAPHICS) $<
+
+clean:
+	rm -f *.run *.cc *.m *.xsil *.wisdom.fftw3
+
+.PRECIOUS: %.run %.xsil %.m
+.PHONY: all clean

Added: packages/xmds/tags/1.6.6-3/debian/README.Debian
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.6.6-3/debian/README.Debian?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.6.6-3/debian/README.Debian (added)
+++ packages/xmds/tags/1.6.6-3/debian/README.Debian Wed Aug 10 07:51:31 2011
@@ -1,0 +1,20 @@
+xmds for Debian
+---------------
+
+  All examples shiped in the upstream distribution tarball are
+  included in the Debian package in the directory
+  /usr/share/doc/xmds/examples.  To run one of them and visualize the
+  results, you can do, e.g.:
+
+      xmds /usr/share/doc/xmds/examples/nlse.xmds
+      ./nlse
+      xsil2graphics nlse.xsil
+      echo "nlse;mesh(z_1,t_1,pow_dens_1);print nlse.eps -color -deps" \
+           | octave -qf
+      gv nlse.eps
+
+  Notice that you must have one of the octave package (octave2.1 or
+  octave2.9) and the gv package installed in your system in order to run
+  the code above.
+
+ -- Rafael Laboissiere <rafael at debian.org>  Thu, 25 Nov 2006 10:10:09 +0100

Added: packages/xmds/tags/1.6.6-3/debian/changelog
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.6.6-3/debian/changelog?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.6.6-3/debian/changelog (added)
+++ packages/xmds/tags/1.6.6-3/debian/changelog Wed Aug 10 07:51:31 2011
@@ -1,0 +1,230 @@
+xmds (1.6.6-3) unstable; urgency=medium
+
+  [ Alexander Reichle-Schmehl ]
+  * Switch to octave 3.2 (in debian/control and debian/rules)
+    (Closes: #572748)
+  * Urgency set to medium due to RC bug fix
+
+  [ Christian T. Steigies ]
+  * debian/control: Bump Standards-Version to 3.8.4 (no changes needed)
+
+ -- Christian T. Steigies <cts at debian.org>  Wed, 07 Apr 2010 21:01:52 +0200
+
+xmds (1.6.6-2) unstable; urgency=low
+
+  * debian/control, debian/rules: Drop support for octave2.1, which will
+    be removed from Debian unstable.  Closes: #516447. Thanks to Thomas
+    Weber for the patch.
+  * debian/control: Fix Lintian warning debhelper-but-no-misc-depends
+  * debian/watch: Use the qa.debian.org redirector
+  * debian/copyright:
+    + Use the UTF-8 character for the Copyright symbol
+    + Release the Debian packaging under the GPL v3 or later
+
+ -- Rafael Laboissiere <rafael at debian.org>  Sat, 21 Feb 2009 19:59:11 +0100
+
+xmds (1.6.6-1) unstable; urgency=low
+
+  * New upstream release
+  * debian/patches/compile-with-gcc-4.3.diff: Drop patch (applied upstream)
+  * debian/rules: Use debian/clean instead of manually cleaning files
+  * debian/compat, debian/control: Bump build-dependency on debhelper to
+    >= 7.0.0, otherwise debian/clean is moot
+  * debian/clean: New file
+  * debian/control: Bump Standards-Version to 3.8.0 (no changes needed)
+
+ -- Rafael Laboissiere <rafael at debian.org>  Sat, 12 Jul 2008 10:53:41 +0200
+
+xmds (1.6.5-2) unstable; urgency=low
+
+  * debian/control: Build-depend on quilt
+  * debian/rules: Include quilt's CDBS scrap
+  * debian/patches/compile-with-gcc-4.3.diff: Add patch for building the
+    package with GCC 4.3 (closes: #474820)
+
+ -- Rafael Laboissiere <rafael at debian.org>  Tue, 08 Apr 2008 09:37:27 +0200
+
+xmds (1.6.5-1) unstable; urgency=low
+
+  * New upstream release
+  * debian/patches/g++-4.2-string-literal.patch: Dropped patch (applied
+    upstream)
+  * debian/rules:
+    + Drop hacks for keeping upstream files unchanged
+    + Cleanups: loadxsil.m does not land in /usr/bin anymore and *.xmds
+      files in examples dir have now the right permissions
+    + Install examples in appropriate doc directory
+
+ -- Rafael Laboissiere <rafael at debian.org>  Fri, 29 Feb 2008 00:32:17 +0100
+
+xmds (1.6.4-1) unstable; urgency=low
+
+  * New upstream release
+  * debian/control:
+    + Build-depends on octave3.0-headers instead of 2.9
+    + Use ${octave-3-0:Depends} in Suggests field
+  * debian/rules:
+    + Call octave3.0-depends instead of octave2.9-depends
+    + Since version 1.6-1 of the package, there is no need for calling
+      autoconf, because configure.in was fixed upstream.  Dropped the
+      setting of the variables DEB_AUTO_UPDATE_AUTOCONF as well as some
+      files from the list of files to be preserved from the autotools.
+  * debian/patches/loadxsil-varnames-cell.patch: Dropped patch (applied
+    upstream)
+  * debian/patches/g++-4.2-string-literal.patch: New patch for avoiding g++
+    4.2 warning messages related to string literals being used as char*.
+
+ -- Rafael Laboissiere <rafael at debian.org>  Fri, 18 Jan 2008 01:25:30 +0100
+
+xmds (1.6.3-3) unstable; urgency=low
+
+  * debian/control: Build-depends on libfft3-dev, since the fftw3 packages
+    have been renamed (closes: #454174)
+
+ -- Rafael Laboissiere <rafael at debian.org>  Wed, 19 Dec 2007 16:54:24 +0100
+
+xmds (1.6.3-2) unstable; urgency=low
+
+  * debian/control:
+    + Added Homepage field
+    + Use the now official Vcs-* fields instead of the obsolete XS-Vcs-*
+    + Dropped the Homepage pseudo-header from the extended description
+    + Bumped Standards-Version to 3.7.3
+
+ -- Rafael Laboissiere <rafael at debian.org>  Sat, 15 Dec 2007 11:23:49 +0100
+
+xmds (1.6.3-1) unstable; urgency=low
+
+  * New upstream release.  Removed patch gcc-4.3-includes.patch, which is
+    applied upstream.
+
+ -- Rafael Laboissiere <rafael at debian.org>  Sat, 21 Jul 2007 13:14:48 +0200
+
+xmds (1.6.2-1) unstable; urgency=low
+
+  * New upstream release
+  * debian/patches/gcc-4.3-includes.patch: New patch for making the
+    package build against gcc 4.3 by including the appropriate cstring and
+    cstdlib headers
+
+ -- Rafael Laboissiere <rafael at debian.org>  Sat, 16 Jun 2007 09:51:02 +0200
+
+xmds (1.6.1-1) unstable; urgency=low
+
+  * New upstream release
+  * debian/control: Fixed typo in short description
+  * debian/patches/loadxsil-varnames-cell.dpatch: Added patch for making
+    loadxsil.m work with Octave
+
+ -- Rafael Laboissiere <rafael at debian.org>  Sat, 12 May 2007 09:44:32 +0200
+
+xmds (1.6-2) unstable; urgency=low
+
+  * debian/patches/gcc-4.3-include-cstdlib.patch: Also include cstdlib in
+    source/xmdsintegrateark89.cc  (closes: #417768).  Thanks Martin
+    Milchmayr for the patch.
+
+ -- Rafael Laboissiere <rafael at debian.org>  Tue, 10 Apr 2007 17:54:35 +0200
+
+xmds (1.6-1) unstable; urgency=low
+
+  * New upstream release
+  * Removed patches (applied upstream):
+    + 50-add-lorenz-data.patch
+    + 50-make-examples-work.patch
+    + 50-preserve-prefix.patch
+  * debian/watch: Fixed upstream URL pattern
+  * debian/rules: Fix permission of some installed files
+
+ -- Rafael Laboissiere <rafael at debian.org>  Thu,  5 Apr 2007 11:17:34 +0200
+
+xmds (1.5.3-9) unstable; urgency=low
+
+  * debian/rules: Delete config.status in clean target
+  * debian/patches/gcc-4.3-include-cstdlib.patch: Make the sources compile
+    with GCC 4.3.  Thanks to Martin Michlmayr (closes: #417768).
+
+ -- Rafael Laboissiere <rafael at debian.org>  Wed,  4 Apr 2007 23:04:01 +0200
+
+xmds (1.5.3-8) unstable; urgency=low
+
+  * debian/control:
+    - Added XS-Vcs-Svn and XS-Vcs-Browser fields to the Source section
+    - Added Homepage pseudo-field to the Description
+    - Changed the priority of the package "extra", because it depends on
+      libmpich1.0-dev, which has also priority "extra" (comply with Policy
+      Section 2.5: Priorities)
+  * debian/rules: Save and restore files configure, source/config.h.in,
+    and source/xmdsconfig.h, which are changed by the autotools,
+    preventing the changes to appear in the diff.gz file
+
+ -- Rafael Laboissiere <rafael at debian.org>  Thu,  8 Mar 2007 11:35:28 +0100
+
+xmds (1.5.3-7) unstable; urgency=low
+
+  * First upload to unstable
+
+ -- Rafael Laboissiere <rafael at debian.org>  Wed, 31 Jan 2007 23:19:38 +0100
+
+xmds (1.5.3-6) experimental; urgency=low
+
+  * debian/rules: Use mpicxx as the MPI compile; all the examples work now
+  * debian/README.Debian: Updated accordingly
+
+ -- Rafael Laboissiere <rafael at debian.org>  Thu, 30 Nov 2006 14:29:44 +0100
+
+xmds (1.5.3-5) experimental; urgency=low
+
+  * debian/rules:
+    - Enable the use of MPI
+    - Do not path the examples for fftw3, since they work with fftw2
+  * debian/README.Debian: Updated according to the above
+  * debian/control:
+    - Build-depends on fftw-dev and libmpich1.0-dev
+    - Depends on fftw-dev, fft3-dev, and libmpich1.0-dev, otherwise the
+      xmds program won't work, since it needs the header files of those
+      packages
+
+ -- Rafael Laboissiere <rafael at debian.org>  Thu, 30 Nov 2006 03:54:42 +0100
+
+xmds (1.5.3-4) experimental; urgency=low
+
+  * debian/rules: Avoid the double invocation of build/xmds rule
+
+ -- Rafael Laboissiere <rafael at debian.org>  Tue, 28 Nov 2006 22:33:54 +0100
+
+xmds (1.5.3-3) experimental; urgency=low
+
+  * debian/Makefile-examples: Introduce variables XMDS and XSIL2GRAPHICS
+  * debian/rules: Use the variables defined above in order to call the
+    appropriate programs at build time.
+
+  * debian/README.Debian: Added a note about the examples that do not
+    work because they depend on MPI
+
+ -- Rafael Laboissiere <rafael at debian.org>  Mon, 27 Nov 2006 20:10:19 +0100
+
+xmds (1.5.3-2) experimental; urgency=low
+
+  * First official release, uploaded to experimental because we are in the
+    middle of the etch "soft freeze" period
+
+  * Added patches:
+    - 50-add-lorenz-data.patch: Add file examples/lorenzInput.dat which is
+      missing in the tarball
+    - 50-make-examples-work.patch: Add patch for source/xmdssimulation.cc
+      taken from upstream CVS which makes all examples work (excluding the
+      ones that depend on MPI)
+
+  * Added a regression test for the package (lorenz.xmds example).  This
+    is done through the makefile debian/Makefile-examples, which is also
+    installed in the examples area.
+
+ -- Rafael Laboissiere <rafael at debian.org>  Sat, 25 Nov 2006 18:16:27 +0100
+
+xmds (1.5.3-1) not-released; urgency=low
+
+  * Initial release (Closes: #400312)
+
+ -- Christian T. Steigies <cts at debian.org>  Thu, 23 Nov 2006 21:48:44 +0100
+

Added: packages/xmds/tags/1.6.6-3/debian/clean
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.6.6-3/debian/clean?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.6.6-3/debian/clean (added)
+++ packages/xmds/tags/1.6.6-3/debian/clean Wed Aug 10 07:51:31 2011
@@ -1,0 +1,1 @@
+config.log source/lorenz.* make-examples-stamp

Added: packages/xmds/tags/1.6.6-3/debian/compat
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.6.6-3/debian/compat?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.6.6-3/debian/compat (added)
+++ packages/xmds/tags/1.6.6-3/debian/compat Wed Aug 10 07:51:31 2011
@@ -1,0 +1,1 @@
+7

Added: packages/xmds/tags/1.6.6-3/debian/control
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.6.6-3/debian/control?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.6.6-3/debian/control (added)
+++ packages/xmds/tags/1.6.6-3/debian/control Wed Aug 10 07:51:31 2011
@@ -1,0 +1,25 @@
+Source: xmds
+Section: science
+Priority: extra
+Maintainer: Debian Scientific Computing Team <pkg-scicomp-devel at lists.alioth.debian.org>
+Uploaders: Christian T. Steigies <cts at debian.org>,
+ Rafael Laboissiere <rafael at debian.org>
+Build-Depends: cdbs, debhelper (>= 7.0.0), autotools-dev, fftw-dev,
+ libfftw3-dev, libmpich1.0-dev, octave3.2-headers, autoconf
+Standards-Version: 3.8.4
+Homepage: http://xmds.sourceforge.net/
+Vcs-Svn: svn://svn.debian.org/svn/pkg-scicomp/xmds/
+Vcs-Browser: http://svn.debian.org/wsvn/pkg-scicomp/xmds/
+
+Package: xmds
+Architecture: any
+Depends: ${shlibs:Depends}, fftw-dev, libfftw3-dev, libmpich1.0-dev,
+ ${misc:Depends}
+Suggests: ${octave:Depends}
+Description: eXtensible Multi-Dimensional Simulator
+ XMDS is a code generator that integrates equations, from Ordinary
+ Differential Equations (ODEs) up to stochastic Partial Differential
+ Equations (PDEs). You write them down in human readable form in an
+ XML file, and it goes away and writes and compiles a C++ program that
+ integrates those equations as fast as it can possibly be done in your
+ architecture.

Added: packages/xmds/tags/1.6.6-3/debian/copyright
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.6.6-3/debian/copyright?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.6.6-3/debian/copyright (added)
+++ packages/xmds/tags/1.6.6-3/debian/copyright Wed Aug 10 07:51:31 2011
@@ -1,0 +1,49 @@
+This package was debianized by Christian T. Steigies <cts at debian.org>
+and Rafael Laboissiere <rafael at debian.org> on Thu, 23 Nov 2006 12:23:09 +0100.
+
+It was downloaded from http://www.xmds.org/downloads.html
+
+Upstream Authors: Paul Cochrane <cochrane at physics.uq.edu.au>
+                  Joseph Hope <Joseph.Hope at anu.edu.au>
+                  Peter Drummond <drummond at physics.uq.edu.au>
+
+
+Copyright:
+  2000-2004 © Greg Collecutt, Joseph Hope and Paul Cochrane
+
+
+License:
+
+ XMDS is free software; you can redistribute it and/or
+ modify it under the terms of the GNU General Public License
+ as published by the Free Software Foundation; either version 2
+ of the License, or (at your option) any later version.
+
+ XMDS is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ GNU General Public License for more details.
+
+
+The Debian packaging is © 2006, Christian T. Steigies <cts at debian.org>
+and Rafael Laboissiere <rafael at debian.org>, and is licensed under the GPL,
+version 3 or later, see `/usr/share/common-licenses/GPL-3'.
+
+Files with different copyright dates/holders (but also released under the
+GPL):
+
+    source/getopt_xmds.c:
+      Copyright © 1987,88,89,90,91,92,93,94,95,96,98,99,2000,2001
+      Free Software Foundation, Inc.
+
+    source/getopt_xmds1.c:
+     Copyright © 1987,88,89,90,91,92,93,94,96,97,98
+     Free Software Foundation, Inc.
+
+    source/getopt_xmds.h:
+      Copyright © 1989-1994, 1996-1999, 2001 Free Software Foundation, Inc.
+
+    ./source/getopt_xmds_init.c:
+      Copyright © 1997, 1998, 2001 Free Software Foundation, Inc.
+      This file is part of the GNU C Library.
+      Contributed by Ulrich Drepper <drepper at cygnus.com>, 1997.

Added: packages/xmds/tags/1.6.6-3/debian/docs
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.6.6-3/debian/docs?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.6.6-3/debian/docs (added)
+++ packages/xmds/tags/1.6.6-3/debian/docs Wed Aug 10 07:51:31 2011
@@ -1,0 +1,2 @@
+NEWS
+README

Added: packages/xmds/tags/1.6.6-3/debian/examples
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.6.6-3/debian/examples?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.6.6-3/debian/examples (added)
+++ packages/xmds/tags/1.6.6-3/debian/examples Wed Aug 10 07:51:31 2011
@@ -1,0 +1,2 @@
+examples/*.xmds
+examples/*.dat

Added: packages/xmds/tags/1.6.6-3/debian/rules
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.6.6-3/debian/rules?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.6.6-3/debian/rules (added)
+++ packages/xmds/tags/1.6.6-3/debian/rules Wed Aug 10 07:51:31 2011
@@ -1,0 +1,43 @@
+#!/usr/bin/make -f
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/autotools.mk
+
+debdir  = $(CURDIR)/debian
+instdir = $(debdir)/xmds
+shrdir  = $(instdir)/usr/share
+docdir  = $(shrdir)/doc/xmds
+expdir  = $(docdir)/examples
+mdir    = $(shrdir)/octave/site/m
+
+DEB_CONFIGURE_EXTRA_FLAGS =		\
+	--enable-fftw3			\
+	--enable-mpi			\
+	--with-mpi-path=/usr/lib/mpich	\
+	--with-mpi-compiler=mpicxx
+
+DEB_COMPRESS_EXCLUDE = .xmds
+
+DEB_MAKE_INSTALL_TARGET = install DESTDIR=$(instdir)	\
+			  docdir=/usr/share/doc/xmds
+
+build/xmds:: make-examples-stamp
+make-examples-stamp:
+	# Run test
+	cp examples/lorenz* source
+	( cd source ;						\
+	  $(MAKE) XMDS=./xmds XSIL2GRAPHICS=./xsil2graphics	\
+		-f ../debian/Makefile-examples lorenz.m ;	\
+	  rm -f lorenz* )
+	touch make-examples-stamp
+
+install/xmds::
+	octave3.2-depends
+
+binary-install/xmds::
+	# Move Octave file into the correct directory
+	mkdir -p $(mdir)
+	install --mode=644 source/loadxsil.m $(mdir)
+
+	# Add Makefile to the examples directory
+	cp debian/Makefile-examples $(expdir)/Makefile

Propchange: packages/xmds/tags/1.6.6-3/debian/rules
------------------------------------------------------------------------------
    svn:executable = *

Added: packages/xmds/tags/1.6.6-3/debian/watch
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/tags/1.6.6-3/debian/watch?rev=38675&op=file
==============================================================================
--- packages/xmds/tags/1.6.6-3/debian/watch (added)
+++ packages/xmds/tags/1.6.6-3/debian/watch Wed Aug 10 07:51:31 2011
@@ -1,0 +1,2 @@
+version=3
+opts="uversionmangle=s/-/./" http://sf.net/xmds/xmds-(.*)\.tar\.gz

Propchange: packages/xmds/trunk/debian/
------------------------------------------------------------------------------
    mergeWithUpstream = 1

Added: packages/xmds/trunk/debian/Makefile-examples
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/trunk/debian/Makefile-examples?rev=38675&op=file
==============================================================================
--- packages/xmds/trunk/debian/Makefile-examples (added)
+++ packages/xmds/trunk/debian/Makefile-examples Wed Aug 10 07:51:31 2011
@@ -1,0 +1,34 @@
+###  -*- make -*-
+### This file is part of the Debian xmds package
+### Copyright (C) 2006 Rafael Laboissiere
+### This file is relased under the GNU General Public License
+### NO WARRANTIES!
+
+### This makefile can be used to build and run the XMDS examples
+
+XMDS_FILES = $(shell ls *.xmds)
+RUN_FILES = $(patsubst %.xmds,%.run,$(XMDS_FILES))
+CC_FILES = $(patsubst %.xmds,%.cc,$(XMDS_FILES))
+XSIL_FILES = $(patsubst %.xmds,%.xsil,$(XMDS_FILES))
+M_FILES = $(patsubst %.xmds,%.xsil,$(XMDS_FILES))
+
+XMDS = xmds
+XSIL2GRAPHICS = xsil2graphics
+
+all: $(M_FILES)
+
+%.run: %.xmds
+	$(XMDS) $<
+	mv $(patsubst %.xmds,%,$<) $@
+
+%.xsil: %.run
+	./$<
+
+%.m: %.xsil
+	$(XSIL2GRAPHICS) $<
+
+clean:
+	rm -f *.run *.cc *.m *.xsil *.wisdom.fftw3
+
+.PRECIOUS: %.run %.xsil %.m
+.PHONY: all clean

Added: packages/xmds/trunk/debian/README.Debian
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/trunk/debian/README.Debian?rev=38675&op=file
==============================================================================
--- packages/xmds/trunk/debian/README.Debian (added)
+++ packages/xmds/trunk/debian/README.Debian Wed Aug 10 07:51:31 2011
@@ -1,0 +1,20 @@
+xmds for Debian
+---------------
+
+  All examples shiped in the upstream distribution tarball are
+  included in the Debian package in the directory
+  /usr/share/doc/xmds/examples.  To run one of them and visualize the
+  results, you can do, e.g.:
+
+      xmds /usr/share/doc/xmds/examples/nlse.xmds
+      ./nlse
+      xsil2graphics nlse.xsil
+      echo "nlse;mesh(z_1,t_1,pow_dens_1);print nlse.eps -color -deps" \
+           | octave -qf
+      gv nlse.eps
+
+  Notice that you must have one of the octave package (octave2.1 or
+  octave2.9) and the gv package installed in your system in order to run
+  the code above.
+
+ -- Rafael Laboissiere <rafael at debian.org>  Thu, 25 Nov 2006 10:10:09 +0100

Added: packages/xmds/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/trunk/debian/changelog?rev=38675&op=file
==============================================================================
--- packages/xmds/trunk/debian/changelog (added)
+++ packages/xmds/trunk/debian/changelog Wed Aug 10 07:51:31 2011
@@ -1,0 +1,247 @@
+xmds (1.6.6-5) unstable; urgency=low
+
+  * Team upload
+  * Package migrated to the Debian Science team
+  * Standards-Version updated to version 3.9.2 
+
+ -- Sylvestre Ledru <sylvestre at debian.org>  Wed, 10 Aug 2011 09:49:38 +0200
+
+xmds (1.6.6-4) unstable; urgency=low
+
+  * remove Rafael from Uploaders (closes: #571887)
+  * add patches from Thomas Weber to make examples compile (closes: #572747)
+  * add quilt to build-depends again
+  * debian/control: Bump Standards-Version to 3.9.1 (no changes needed)
+
+ -- Christian T. Steigies <cts at debian.org>  Wed, 04 Aug 2010 22:21:20 +0200
+
+xmds (1.6.6-3) unstable; urgency=medium
+
+  [ Alexander Reichle-Schmehl ]
+  * Switch to octave 3.2 (in debian/control and debian/rules)
+    (Closes: #572748)
+  * Urgency set to medium due to RC bug fix
+
+  [ Christian T. Steigies ]
+  * debian/control: Bump Standards-Version to 3.8.4 (no changes needed)
+
+ -- Christian T. Steigies <cts at debian.org>  Wed, 07 Apr 2010 21:01:52 +0200
+
+xmds (1.6.6-2) unstable; urgency=low
+
+  * debian/control, debian/rules: Drop support for octave2.1, which will
+    be removed from Debian unstable.  Closes: #516447. Thanks to Thomas
+    Weber for the patch.
+  * debian/control: Fix Lintian warning debhelper-but-no-misc-depends
+  * debian/watch: Use the qa.debian.org redirector
+  * debian/copyright:
+    + Use the UTF-8 character for the Copyright symbol
+    + Release the Debian packaging under the GPL v3 or later
+
+ -- Rafael Laboissiere <rafael at debian.org>  Sat, 21 Feb 2009 19:59:11 +0100
+
+xmds (1.6.6-1) unstable; urgency=low
+
+  * New upstream release
+  * debian/patches/compile-with-gcc-4.3.diff: Drop patch (applied upstream)
+  * debian/rules: Use debian/clean instead of manually cleaning files
+  * debian/compat, debian/control: Bump build-dependency on debhelper to
+    >= 7.0.0, otherwise debian/clean is moot
+  * debian/clean: New file
+  * debian/control: Bump Standards-Version to 3.8.0 (no changes needed)
+
+ -- Rafael Laboissiere <rafael at debian.org>  Sat, 12 Jul 2008 10:53:41 +0200
+
+xmds (1.6.5-2) unstable; urgency=low
+
+  * debian/control: Build-depend on quilt
+  * debian/rules: Include quilt's CDBS scrap
+  * debian/patches/compile-with-gcc-4.3.diff: Add patch for building the
+    package with GCC 4.3 (closes: #474820)
+
+ -- Rafael Laboissiere <rafael at debian.org>  Tue, 08 Apr 2008 09:37:27 +0200
+
+xmds (1.6.5-1) unstable; urgency=low
+
+  * New upstream release
+  * debian/patches/g++-4.2-string-literal.patch: Dropped patch (applied
+    upstream)
+  * debian/rules:
+    + Drop hacks for keeping upstream files unchanged
+    + Cleanups: loadxsil.m does not land in /usr/bin anymore and *.xmds
+      files in examples dir have now the right permissions
+    + Install examples in appropriate doc directory
+
+ -- Rafael Laboissiere <rafael at debian.org>  Fri, 29 Feb 2008 00:32:17 +0100
+
+xmds (1.6.4-1) unstable; urgency=low
+
+  * New upstream release
+  * debian/control:
+    + Build-depends on octave3.0-headers instead of 2.9
+    + Use ${octave-3-0:Depends} in Suggests field
+  * debian/rules:
+    + Call octave3.0-depends instead of octave2.9-depends
+    + Since version 1.6-1 of the package, there is no need for calling
+      autoconf, because configure.in was fixed upstream.  Dropped the
+      setting of the variables DEB_AUTO_UPDATE_AUTOCONF as well as some
+      files from the list of files to be preserved from the autotools.
+  * debian/patches/loadxsil-varnames-cell.patch: Dropped patch (applied
+    upstream)
+  * debian/patches/g++-4.2-string-literal.patch: New patch for avoiding g++
+    4.2 warning messages related to string literals being used as char*.
+
+ -- Rafael Laboissiere <rafael at debian.org>  Fri, 18 Jan 2008 01:25:30 +0100
+
+xmds (1.6.3-3) unstable; urgency=low
+
+  * debian/control: Build-depends on libfft3-dev, since the fftw3 packages
+    have been renamed (closes: #454174)
+
+ -- Rafael Laboissiere <rafael at debian.org>  Wed, 19 Dec 2007 16:54:24 +0100
+
+xmds (1.6.3-2) unstable; urgency=low
+
+  * debian/control:
+    + Added Homepage field
+    + Use the now official Vcs-* fields instead of the obsolete XS-Vcs-*
+    + Dropped the Homepage pseudo-header from the extended description
+    + Bumped Standards-Version to 3.7.3
+
+ -- Rafael Laboissiere <rafael at debian.org>  Sat, 15 Dec 2007 11:23:49 +0100
+
+xmds (1.6.3-1) unstable; urgency=low
+
+  * New upstream release.  Removed patch gcc-4.3-includes.patch, which is
+    applied upstream.
+
+ -- Rafael Laboissiere <rafael at debian.org>  Sat, 21 Jul 2007 13:14:48 +0200
+
+xmds (1.6.2-1) unstable; urgency=low
+
+  * New upstream release
+  * debian/patches/gcc-4.3-includes.patch: New patch for making the
+    package build against gcc 4.3 by including the appropriate cstring and
+    cstdlib headers
+
+ -- Rafael Laboissiere <rafael at debian.org>  Sat, 16 Jun 2007 09:51:02 +0200
+
+xmds (1.6.1-1) unstable; urgency=low
+
+  * New upstream release
+  * debian/control: Fixed typo in short description
+  * debian/patches/loadxsil-varnames-cell.dpatch: Added patch for making
+    loadxsil.m work with Octave
+
+ -- Rafael Laboissiere <rafael at debian.org>  Sat, 12 May 2007 09:44:32 +0200
+
+xmds (1.6-2) unstable; urgency=low
+
+  * debian/patches/gcc-4.3-include-cstdlib.patch: Also include cstdlib in
+    source/xmdsintegrateark89.cc  (closes: #417768).  Thanks Martin
+    Milchmayr for the patch.
+
+ -- Rafael Laboissiere <rafael at debian.org>  Tue, 10 Apr 2007 17:54:35 +0200
+
+xmds (1.6-1) unstable; urgency=low
+
+  * New upstream release
+  * Removed patches (applied upstream):
+    + 50-add-lorenz-data.patch
+    + 50-make-examples-work.patch
+    + 50-preserve-prefix.patch
+  * debian/watch: Fixed upstream URL pattern
+  * debian/rules: Fix permission of some installed files
+
+ -- Rafael Laboissiere <rafael at debian.org>  Thu,  5 Apr 2007 11:17:34 +0200
+
+xmds (1.5.3-9) unstable; urgency=low
+
+  * debian/rules: Delete config.status in clean target
+  * debian/patches/gcc-4.3-include-cstdlib.patch: Make the sources compile
+    with GCC 4.3.  Thanks to Martin Michlmayr (closes: #417768).
+
+ -- Rafael Laboissiere <rafael at debian.org>  Wed,  4 Apr 2007 23:04:01 +0200
+
+xmds (1.5.3-8) unstable; urgency=low
+
+  * debian/control:
+    - Added XS-Vcs-Svn and XS-Vcs-Browser fields to the Source section
+    - Added Homepage pseudo-field to the Description
+    - Changed the priority of the package "extra", because it depends on
+      libmpich1.0-dev, which has also priority "extra" (comply with Policy
+      Section 2.5: Priorities)
+  * debian/rules: Save and restore files configure, source/config.h.in,
+    and source/xmdsconfig.h, which are changed by the autotools,
+    preventing the changes to appear in the diff.gz file
+
+ -- Rafael Laboissiere <rafael at debian.org>  Thu,  8 Mar 2007 11:35:28 +0100
+
+xmds (1.5.3-7) unstable; urgency=low
+
+  * First upload to unstable
+
+ -- Rafael Laboissiere <rafael at debian.org>  Wed, 31 Jan 2007 23:19:38 +0100
+
+xmds (1.5.3-6) experimental; urgency=low
+
+  * debian/rules: Use mpicxx as the MPI compile; all the examples work now
+  * debian/README.Debian: Updated accordingly
+
+ -- Rafael Laboissiere <rafael at debian.org>  Thu, 30 Nov 2006 14:29:44 +0100
+
+xmds (1.5.3-5) experimental; urgency=low
+
+  * debian/rules:
+    - Enable the use of MPI
+    - Do not path the examples for fftw3, since they work with fftw2
+  * debian/README.Debian: Updated according to the above
+  * debian/control:
+    - Build-depends on fftw-dev and libmpich1.0-dev
+    - Depends on fftw-dev, fft3-dev, and libmpich1.0-dev, otherwise the
+      xmds program won't work, since it needs the header files of those
+      packages
+
+ -- Rafael Laboissiere <rafael at debian.org>  Thu, 30 Nov 2006 03:54:42 +0100
+
+xmds (1.5.3-4) experimental; urgency=low
+
+  * debian/rules: Avoid the double invocation of build/xmds rule
+
+ -- Rafael Laboissiere <rafael at debian.org>  Tue, 28 Nov 2006 22:33:54 +0100
+
+xmds (1.5.3-3) experimental; urgency=low
+
+  * debian/Makefile-examples: Introduce variables XMDS and XSIL2GRAPHICS
+  * debian/rules: Use the variables defined above in order to call the
+    appropriate programs at build time.
+
+  * debian/README.Debian: Added a note about the examples that do not
+    work because they depend on MPI
+
+ -- Rafael Laboissiere <rafael at debian.org>  Mon, 27 Nov 2006 20:10:19 +0100
+
+xmds (1.5.3-2) experimental; urgency=low
+
+  * First official release, uploaded to experimental because we are in the
+    middle of the etch "soft freeze" period
+
+  * Added patches:
+    - 50-add-lorenz-data.patch: Add file examples/lorenzInput.dat which is
+      missing in the tarball
+    - 50-make-examples-work.patch: Add patch for source/xmdssimulation.cc
+      taken from upstream CVS which makes all examples work (excluding the
+      ones that depend on MPI)
+
+  * Added a regression test for the package (lorenz.xmds example).  This
+    is done through the makefile debian/Makefile-examples, which is also
+    installed in the examples area.
+
+ -- Rafael Laboissiere <rafael at debian.org>  Sat, 25 Nov 2006 18:16:27 +0100
+
+xmds (1.5.3-1) not-released; urgency=low
+
+  * Initial release (Closes: #400312)
+
+ -- Christian T. Steigies <cts at debian.org>  Thu, 23 Nov 2006 21:48:44 +0100
+

Added: packages/xmds/trunk/debian/clean
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/trunk/debian/clean?rev=38675&op=file
==============================================================================
--- packages/xmds/trunk/debian/clean (added)
+++ packages/xmds/trunk/debian/clean Wed Aug 10 07:51:31 2011
@@ -1,0 +1,1 @@
+config.log source/lorenz.* make-examples-stamp

Added: packages/xmds/trunk/debian/compat
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/trunk/debian/compat?rev=38675&op=file
==============================================================================
--- packages/xmds/trunk/debian/compat (added)
+++ packages/xmds/trunk/debian/compat Wed Aug 10 07:51:31 2011
@@ -1,0 +1,1 @@
+7

Added: packages/xmds/trunk/debian/control
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/trunk/debian/control?rev=38675&op=file
==============================================================================
--- packages/xmds/trunk/debian/control (added)
+++ packages/xmds/trunk/debian/control Wed Aug 10 07:51:31 2011
@@ -1,0 +1,24 @@
+Source: xmds
+Section: science
+Priority: extra
+Maintainer: Debian Science Team <debian-science-maintainers at lists.alioth.debian.org>
+Uploaders: Christian T. Steigies <cts at debian.org>
+Build-Depends: cdbs, debhelper (>= 7.0.0), autotools-dev, fftw-dev,
+ libfftw3-dev, libmpich1.0-dev, octave3.2-headers, autoconf, quilt
+Standards-Version: 3.9.2
+Homepage: http://xmds.sourceforge.net/
+Vcs-Svn: svn://svn.debian.org/svn/debian-science/packages/xmds/
+Vcs-Browser: http://svn.debian.org/wsvn/debian-science/packages/xmds/
+
+Package: xmds
+Architecture: any
+Depends: ${shlibs:Depends}, fftw-dev, libfftw3-dev, libmpich1.0-dev,
+ ${misc:Depends}
+Suggests: ${octave:Depends}
+Description: eXtensible Multi-Dimensional Simulator
+ XMDS is a code generator that integrates equations, from Ordinary
+ Differential Equations (ODEs) up to stochastic Partial Differential
+ Equations (PDEs). You write them down in human readable form in an
+ XML file, and it goes away and writes and compiles a C++ program that
+ integrates those equations as fast as it can possibly be done in your
+ architecture.

Added: packages/xmds/trunk/debian/copyright
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/trunk/debian/copyright?rev=38675&op=file
==============================================================================
--- packages/xmds/trunk/debian/copyright (added)
+++ packages/xmds/trunk/debian/copyright Wed Aug 10 07:51:31 2011
@@ -1,0 +1,49 @@
+This package was debianized by Christian T. Steigies <cts at debian.org>
+and Rafael Laboissiere <rafael at debian.org> on Thu, 23 Nov 2006 12:23:09 +0100.
+
+It was downloaded from http://www.xmds.org/downloads.html
+
+Upstream Authors: Paul Cochrane <cochrane at physics.uq.edu.au>
+                  Joseph Hope <Joseph.Hope at anu.edu.au>
+                  Peter Drummond <drummond at physics.uq.edu.au>
+
+
+Copyright:
+  2000-2004 © Greg Collecutt, Joseph Hope and Paul Cochrane
+
+
+License:
+
+ XMDS is free software; you can redistribute it and/or
+ modify it under the terms of the GNU General Public License
+ as published by the Free Software Foundation; either version 2
+ of the License, or (at your option) any later version.
+
+ XMDS is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ GNU General Public License for more details.
+
+
+The Debian packaging is © 2006, Christian T. Steigies <cts at debian.org>
+and Rafael Laboissiere <rafael at debian.org>, and is licensed under the GPL,
+version 3 or later, see `/usr/share/common-licenses/GPL-3'.
+
+Files with different copyright dates/holders (but also released under the
+GPL):
+
+    source/getopt_xmds.c:
+      Copyright © 1987,88,89,90,91,92,93,94,95,96,98,99,2000,2001
+      Free Software Foundation, Inc.
+
+    source/getopt_xmds1.c:
+     Copyright © 1987,88,89,90,91,92,93,94,96,97,98
+     Free Software Foundation, Inc.
+
+    source/getopt_xmds.h:
+      Copyright © 1989-1994, 1996-1999, 2001 Free Software Foundation, Inc.
+
+    ./source/getopt_xmds_init.c:
+      Copyright © 1997, 1998, 2001 Free Software Foundation, Inc.
+      This file is part of the GNU C Library.
+      Contributed by Ulrich Drepper <drepper at cygnus.com>, 1997.

Added: packages/xmds/trunk/debian/docs
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/trunk/debian/docs?rev=38675&op=file
==============================================================================
--- packages/xmds/trunk/debian/docs (added)
+++ packages/xmds/trunk/debian/docs Wed Aug 10 07:51:31 2011
@@ -1,0 +1,2 @@
+NEWS
+README

Added: packages/xmds/trunk/debian/examples
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/trunk/debian/examples?rev=38675&op=file
==============================================================================
--- packages/xmds/trunk/debian/examples (added)
+++ packages/xmds/trunk/debian/examples Wed Aug 10 07:51:31 2011
@@ -1,0 +1,2 @@
+examples/*.xmds
+examples/*.dat

Added: packages/xmds/trunk/debian/patches/const-warning.diff
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/trunk/debian/patches/const-warning.diff?rev=38675&op=file
==============================================================================
--- packages/xmds/trunk/debian/patches/const-warning.diff (added)
+++ packages/xmds/trunk/debian/patches/const-warning.diff Wed Aug 10 07:51:31 2011
@@ -1,0 +1,11 @@
+--- a/source/xmds_breakpoint.cc
++++ b/source/xmds_breakpoint.cc
+@@ -229,7 +229,7 @@
+     }
+ 
+     fprintf(outfile,
+-        "char *_baseFilename = \"%s\";\n", xsilFilename.c_str());
++        "char const *_baseFilename = \"%s\";\n", xsilFilename.c_str());
+   }
+ 
+   if (simulation()->parameters()->usempi &&

Added: packages/xmds/trunk/debian/patches/series
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/trunk/debian/patches/series?rev=38675&op=file
==============================================================================
--- packages/xmds/trunk/debian/patches/series (added)
+++ packages/xmds/trunk/debian/patches/series Wed Aug 10 07:51:31 2011
@@ -1,0 +1,2 @@
+xmds-compile.diff
+const-warning.diff

Added: packages/xmds/trunk/debian/patches/xmds-compile.diff
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/trunk/debian/patches/xmds-compile.diff?rev=38675&op=file
==============================================================================
--- packages/xmds/trunk/debian/patches/xmds-compile.diff (added)
+++ packages/xmds/trunk/debian/patches/xmds-compile.diff Wed Aug 10 07:51:31 2011
@@ -1,0 +1,10 @@
+--- a/source/xmds_simulation.cc
++++ b/source/xmds_simulation.cc
+@@ -1118,6 +1118,7 @@
+           "#include <stdio.h>\n"
+           "#include <math.h>\n"
+           "#include <string>\n"
++          "#include <cstring>\n"
+           "#include <fstream>\n"
+           "#include <iostream>\n"
+           "#include <sstream>\n"

Added: packages/xmds/trunk/debian/rules
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/trunk/debian/rules?rev=38675&op=file
==============================================================================
--- packages/xmds/trunk/debian/rules (added)
+++ packages/xmds/trunk/debian/rules Wed Aug 10 07:51:31 2011
@@ -1,0 +1,44 @@
+#!/usr/bin/make -f
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/autotools.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
+
+debdir  = $(CURDIR)/debian
+instdir = $(debdir)/xmds
+shrdir  = $(instdir)/usr/share
+docdir  = $(shrdir)/doc/xmds
+expdir  = $(docdir)/examples
+mdir    = $(shrdir)/octave/site/m
+
+DEB_CONFIGURE_EXTRA_FLAGS =		\
+	--enable-fftw3			\
+	--enable-mpi			\
+	--with-mpi-path=/usr/lib/mpich	\
+	--with-mpi-compiler=mpicxx
+
+DEB_COMPRESS_EXCLUDE = .xmds
+
+DEB_MAKE_INSTALL_TARGET = install DESTDIR=$(instdir)	\
+			  docdir=/usr/share/doc/xmds
+
+build/xmds:: make-examples-stamp
+make-examples-stamp:
+	# Run test
+	cp examples/lorenz* source
+	( cd source ;						\
+	  $(MAKE) XMDS=./xmds XSIL2GRAPHICS=./xsil2graphics	\
+		-f ../debian/Makefile-examples lorenz.m ;	\
+	  rm -f lorenz* )
+	touch make-examples-stamp
+
+install/xmds::
+	octave3.2-depends
+
+binary-install/xmds::
+	# Move Octave file into the correct directory
+	mkdir -p $(mdir)
+	install --mode=644 source/loadxsil.m $(mdir)
+
+	# Add Makefile to the examples directory
+	cp debian/Makefile-examples $(expdir)/Makefile

Propchange: packages/xmds/trunk/debian/rules
------------------------------------------------------------------------------
    svn:executable = *

Added: packages/xmds/trunk/debian/watch
URL: http://svn.debian.org/wsvn/debian-science/packages/xmds/trunk/debian/watch?rev=38675&op=file
==============================================================================
--- packages/xmds/trunk/debian/watch (added)
+++ packages/xmds/trunk/debian/watch Wed Aug 10 07:51:31 2011
@@ -1,0 +1,2 @@
+version=3
+opts="uversionmangle=s/-/./" http://sf.net/xmds/xmds-(.*)\.tar\.gz




More information about the debian-science-commits mailing list