debian/0000755000000000000000000000000011754234266007200 5ustar debian/patches/0000755000000000000000000000000011754234266010627 5ustar debian/patches/series0000644000000000000000000000010111754234266012034 0ustar xmds-compile.diff const-warning.diff short-circuit-operator.diff debian/patches/short-circuit-operator.diff0000644000000000000000000000440411754234266016113 0ustar Description: Fix Matlab-style short-circuit boolean operators Author: Rafael Laboissiere Last-Update: 2012-05-14 --- xmds-1.6.6.orig/source/loadxsil.m +++ xmds-1.6.6/source/loadxsil.m @@ -73,21 +73,21 @@ while 1 % look for format="binary" on same line as tag, and work out how many moment groups there are % and their parameters (ie 1 or 0) - if (~isempty(findstr(line, '')) & samplesFound ==0) + if (~isempty(findstr(line, '')) && samplesFound ==0) samplesFound = 1; indStart = findstr(line, ''); indEnd = findstr(line, ''); @@ -108,12 +108,12 @@ while 1 % ok, if we got this far, then we must make some assumptions % if binary_output isn't set then assume it's text % if use_double isn't set then assume it's double - if (findstr(line, '') & findstr(line, '"Text"')) + if (findstr(line, '') && findstr(line, '"Text"')) % now, this line should be the variables, space delimited line = fgetl(fp); inds = findstr(line, ' '); debian/patches/xmds-compile.diff0000644000000000000000000000101711754234266014061 0ustar Description: Include cstring in the exemples for declarations of strncpy and strcat This patch avoid errors when compiling the examples. Author: Thomas Weber Last-Update: 2010-08-04 --- a/source/xmds_simulation.cc +++ b/source/xmds_simulation.cc @@ -1118,6 +1118,7 @@ "#include \n" "#include \n" "#include \n" + "#include \n" "#include \n" "#include \n" "#include \n" debian/patches/const-warning.diff0000644000000000000000000000077211754234266014260 0ustar Description: Avoid deprecated conversion from string constant to ‘char*’ This patch avoid warnings when compiling the examples. Author: Thomas Weber Last-Update: 2010-08-04 --- 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 && debian/source/0000755000000000000000000000000011754234266010500 5ustar debian/source/format0000644000000000000000000000001411754234266011706 0ustar 3.0 (quilt) debian/control0000644000000000000000000000201511754234266010601 0ustar Source: xmds Section: science Priority: extra Maintainer: Debian Science Team Uploaders: Christian T. Steigies Build-Depends: cdbs, debhelper (>= 7.0.0), autotools-dev, fftw-dev, libfftw3-dev, mpi-default-dev, autoconf Standards-Version: 3.9.3 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, mpi-default-dev, ${misc:Depends} Suggests: octave 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. debian/changelog0000644000000000000000000002351611754234323011053 0ustar xmds (1.6.6-7) unstable; urgency=low * debian/control: + Suggest a non-versioned dependency on octave + Drop build-dependency on octave3.2-headers, since this was needed only because of the octave3.2-depends script * debian/rules: + Drop call to octave3.2-depends (Closes: #666501) + Install the Octave support file into a separate directory for xmds + Bump Standards-Version to 3.9.3 (no changes needed) * debian/source/format: 3.0 (quilt) * Add DEP3-compliant headers to the patches * debian/patches/short-circuit-operator.diff: New patch -- Rafael Laboissiere Mon, 14 May 2012 13:13:23 +0200 xmds (1.6.6-6) unstable; urgency=low * Team upload * Rebuild to use the last version of mpi-defaults (1.0.1) (Closes: #650801) -- Sylvestre Ledru Mon, 20 Feb 2012 00:26:10 +0100 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 * Use mpi-default-dev instead of (deprecated) libmpich1.0-dev. Thanks to Nicholas Breen for the patch (Closes: #571460) -- Sylvestre Ledru 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 Thu, 8 Mar 2007 11:35:28 +0100 xmds (1.5.3-7) unstable; urgency=low * First upload to unstable -- Rafael Laboissiere 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 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 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 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 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 Sat, 25 Nov 2006 18:16:27 +0100 xmds (1.5.3-1) not-released; urgency=low * Initial release (Closes: #400312) -- Christian T. Steigies Thu, 23 Nov 2006 21:48:44 +0100 debian/README.Debian0000644000000000000000000000126311746727150011243 0ustar 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 Thu, 25 Nov 2006 10:10:09 +0100 debian/examples0000644000000000000000000000003711746727150010741 0ustar examples/*.xmds examples/*.dat debian/.svnignore0000644000000000000000000000006611754234266011215 0ustar stamp-* xmds xmds.substvars xmds.debhelper.log files debian/rules0000755000000000000000000000174411754234266010266 0ustar #!/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/xmds DEB_CONFIGURE_EXTRA_FLAGS = \ --enable-fftw3 \ --enable-mpi \ --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 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 debian/clean0000644000000000000000000000005711746727150010207 0ustar config.log source/lorenz.* make-examples-stamp debian/copyright0000644000000000000000000000340111746727150011131 0ustar This package was debianized by Christian T. Steigies and Rafael Laboissiere on Thu, 23 Nov 2006 12:23:09 +0100. It was downloaded from http://www.xmds.org/downloads.html Upstream Authors: Paul Cochrane Joseph Hope Peter Drummond 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 and Rafael Laboissiere , 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 , 1997. debian/compat0000644000000000000000000000000211746727150010376 0ustar 7 debian/Makefile-examples0000644000000000000000000000137411746727150012461 0ustar ### -*- 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 debian/docs0000644000000000000000000000001411746727150010046 0ustar NEWS README debian/watch0000644000000000000000000000011511746727150010226 0ustar version=3 opts="uversionmangle=s/-/./" http://sf.net/xmds/xmds-(.*)\.tar\.gz