debian/0000775000000000000000000000000012253376110007170 5ustar debian/rules0000775000000000000000000000473411547002262010257 0ustar #!/usr/bin/make -f # -*- makefile -*- # gerris debian/rules using debhelper. Adapted from dh_make v0.50. # # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 # This has to be exported to make some magic below work. export DH_OPTIONS # it's not appropriate to run all the tests in the test subdir as part of # the build process, since they assume gerris is already installed, # calling gfsview-batch2D, etc. So invoke nocheck (relevant to dh_auto_test) export DEB_BUILD_OPTIONS=nocheck BUILDDIR=debian/build BUILDDIR_MPI=debian/build-mpi # uses generic debhelper build %: dh --with quilt $@ override_dh_auto_configure: dh_auto_configure --builddirectory=$(BUILDDIR) -- --disable-mpi dh_auto_configure --builddirectory=$(BUILDDIR_MPI) -- --enable-mpi # some autogenerated files get left behind by upstream autotools clean # so remove them here override_dh_auto_clean: dh_auto_clean --builddirectory=$(BUILDDIR) dh_auto_clean --builddirectory=$(BUILDDIR_MPI) for bdir in $(BUILDDIR) $(BUILDDIR_MPI); do \ rm $$bdir/doc/examples/gerris.dic || true; \ rm $$bdir/doc/examples/gfs.lang || true; \ rm $$bdir/src/modules.c || true; \ rm $$bdir/src/modules.h || true; \ done -rm doc/examples/gfs2tex.pyc override_dh_auto_build: dh_auto_build --builddirectory=$(BUILDDIR) dh_auto_build --builddirectory=$(BUILDDIR_MPI) override_dh_auto_install: dh_auto_install --builddirectory=$(BUILDDIR) --dest=debian/tmp dh_auto_install --builddirectory=$(BUILDDIR_MPI) --dest=debian/tmp-mpi # don't need to install darcs2dist or gfs2doc # see bug#436240 for my opinion on the sensibleness of this override_dh_install: dh_install -pgerris --exclude=darcs2dist dh_install -plibgfs-1.3-2 dh_install -plibgfs-dev # dh_install can't figure out the mpi install dirs on its own, so use --sourcedir dh_install -pgerris-mpi --sourcedir=debian/tmp-mpi --exclude=darcs2dist dh_install -plibgfs-mpi-1.3-2 --sourcedir=debian/tmp-mpi dh_install -plibgfs-mpi-dev --sourcedir=debian/tmp-mpi override_dh_installchangelogs: dh_installchangelogs ChangeLog override_dh_strip: dh_strip --dbg-package=libgfs-dbg # gerris will pick up a dependency on libgfs-mpi-1.3-2 # unless we specific -Llibgfs-1.3-2 here override_dh_shlibdeps: dh_shlibdeps -pgerris -Llibgfs-1.3-2 dh_shlibdeps -plibgfs-1.3-2 dh_shlibdeps -plibgfs-dev dh_shlibdeps -pgerris-mpi -Llibgfs-mpi-1.3-2 dh_shlibdeps -plibgfs-mpi-1.3-2 dh_shlibdeps -plibgfs-mpi-dev dh_shlibdeps -plibgfs-dbg debian/watch0000664000000000000000000000024211547002153010215 0ustar version=3 opts="uversionmangle=s/^/0.9.2+darcs/,dversionmangle=s/\~dfsg(\d+)?$//" \ http://gerris.dalembert.upmc.fr/gerris/tarballs/gerris-snapshot-(.*)\.tar\.gz debian/changelog0000664000000000000000000001724012253376104011051 0ustar gerris (20110329-dfsg.2-1build2) trusty; urgency=medium * No-change rebuild for libopenmpi1.3 -> libopenmpi1.6 transition. -- Logan Rosen Sun, 15 Dec 2013 14:00:09 -0500 gerris (20110329-dfsg.2-1build1) oneiric; urgency=low * gfortran-4.6 rebuild. -- Matthias Klose Sun, 11 Sep 2011 11:20:29 +0000 gerris (20110329-dfsg.2-1) unstable; urgency=low * New upstream snapshot 2011-03-29 (tarball 110330 + DSFG removal of RstarTree and fes2004 modules). * Standards-Version: 3.9.1. * Switch to dpkg-source 3.0 (quilt) format (enables upstream .bz2 tarball and other advantages) -- Drew Parsons Thu, 07 Apr 2011 12:16:54 +1000 gerris (20091109-dfsg.1-2) unstable; urgency=low * Use dh (debhelper v7) rather than cdbs to autobuild package. cdbs does not support multiple builds (mpi vs non-mpi). * Set up build-support for quilt (not actively used yet). * Remove get-orig-source target from debian/rules; gerris has nonfree code which needs to be removed from the upstream tarball anyway. * Introduction of new packages with MPI support. Currently conflicts with single processor builds (i.e. install one or the other, can't install simultaneously). * libgfs library package names bumped up to reflect increment in library soname. -- Drew Parsons Mon, 28 Dec 2009 14:20:42 +1100 gerris (20091109-dfsg.1-1) unstable; urgency=low * New upstream version. * Standards version 3.8.3. -- Drew Parsons Tue, 24 Nov 2009 23:08:04 +1100 gerris (20090512-dfsg.1-1) unstable; urgency=low * New upstream version. - upstream now releases snapshots only, rather than versioned releases, so upstream version is given by release date: 20090512. - modules/RStarTree has no free licence, so has been removed. - likewise modules/fes2004 removed: uses non-free Aktarus tide prediction functions. - fpucontrol-bug350595.patch superseded: src/init.c now uses fenv.h instead of fpu_control.h. Closes: #525396. * debian/copyright lists licences for modules: - wavewatch: public domain (see http://polar.ncep.noaa.gov/waves/wavewatch/wavewatch.html ) - stokes: CW263.f confirmed by the author to be available in the public domain. * With provision of the stokes module, /usr/lib/gerris now contains both arch dependent files (libstokes) and arch indep (m4.awk, gfs2tex.py), installed at /usr/share/gerris/lib. /usr/lib/gerris is therefore no longer a symlink to /usr/share/gerris/lib, unlike earlier revisions. * fixed spelling in libgfs-dbg description. Closes: #527028. * Build-depends: gfortran (for stokes module). -- Drew Parsons Mon, 08 Jun 2009 00:54:21 +1000 gerris (0.9.2+darcs081022-dfsg.1-5) unstable; urgency=low * debian/control: Place libgfs-dbg in Section: debug. * debian/gerris.install: - install usr/share contents (MIME data, gerris icons). - install m4 and python scripts from usr/lib/gerris into usr/share/gerris/lib (arch-independent files, hence install in usr/share). gerris.links creates symlink from usr/share/gerris/lib back to usr/lib/gerris. gerris Depends: m4 Closes: #526424. -- Drew Parsons Mon, 04 May 2009 11:44:12 +1000 gerris (0.9.2+darcs081022-dfsg.1-4) unstable; urgency=low * Update fpucontrol-bug350595.patch: - #define FPU_AVAILABLE when FPU_SETCW and _FPU_IEEE are defined. Check FPU_AVAILABLE is defined at point where fpu_trap_exception is used. Closes: #523785. - Exclude armel (arm + softfp) from fpu manipulations. The instruction used in FPU_SETCW on arm is specific to the VFP unit which is not present on armel systems. Closes: #520878 * debian/rules: disable mpi support with cdbs variable DEB_CONFIGURE_EXTRA_FLAGS = --disable-mpi to enable more consistent building on systems where mpi libs are installed. In future we will build versions with and without mpi support. -- Drew Parsons Thu, 23 Apr 2009 15:44:23 +1000 gerris (0.9.2+darcs081022-dfsg.1-3) unstable; urgency=low [ Sylvestre Ledru ] * Check that _FPU_IEEE is actually available on the platform (Closes: #520866) [ Drew Parsons ] * Build-Depends: python. Some subdirs such as ./test use python at build time. -- Drew Parsons Wed, 25 Mar 2009 15:00:41 +1100 gerris (0.9.2+darcs081022-dfsg.1-2) unstable; urgency=low * Tighten dependency of libgfs-dev on libgfs-1.3-1 by specifying (= ${binary:Version}). * modules directory is removed from the source tarball for now due to licence concerns, so no need to actually mention those licences in the Debian copyright file. * Standards-Version: 3.8.1 -- Drew Parsons Sun, 22 Mar 2009 22:56:01 +1100 gerris (0.9.2+darcs081022-dfsg.1-1) unstable; urgency=low [ Ruben Molina ] * New Maintainer (Closes: #471984) * New upstream version (Closes: #354032) * Acknowledge previous NMUs (Closes: #498305) * Migrate to CDBS * Update Standards to 3.8.0 * Change section (math to science) * Update Depends (libnetcdf3 to libnetcdf4, libgsl0 to libgsl0ldbl) * Split libraries into a new binary packages * Add manpages * Repackage upstream sources removing modules/* (copyright/license issues). See debian/README.Debian-source * Add debian/get-orig-source.sh * Add debian/watch [ Drew Parsons ] * Set version to 0.9.2+darcs0810221-dfsg.1-1 * The various libgfs shared libraries currently have the same soname version libgfs*-1.3.so.1, so put them in package libgfs-1.3-1. Hopefully they will continue to keep the same soname in the future. * gerris uses its own header files when executing scripts (it compiles a binary at runtime for execution). Therefore gerris Depends: libgfs-dev. -- Drew Parsons Mon, 26 Jan 2009 01:44:28 +1100 gerris (0.6.0-3.2) unstable; urgency=low * Non-maintainer upload. * Add build-depends to libgts-bin. (Closes: #494243) * Fix typo in src/init.c to fix a FTBFS on m68k. (Closes: #350595) -- Holger Levsen Mon, 08 Sep 2008 11:11:34 +0000 gerris (0.6.0-3.1) unstable; urgency=low [ Brice Goglin ] * Non-maintainer upload. * Add a wrapper for fpu_control.h's difference on mips and m68k, closes: #350595. [ Christoph Berg ] * Rebuilding also fixes the libgts dependency, closes: #374023. -- Christoph Berg Fri, 12 Jan 2007 00:26:10 +0100 gerris (0.6.0-3) unstable; urgency=low * NMU * Apply various fixes for FTBFS on amd64. Thanks Andreas Jochens. (closes: #300446) -- David Nusinow Mon, 16 Jan 2006 16:37:09 -0500 gerris (0.6.0-2) unstable; urgency=low * src/init.c: alpha doesn't have/need _FPU_SETCW (closes: bug#265823) -- Marcelo E. Magallon Sat, 09 Apr 2005 10:48:53 -0600 gerris (0.6.0-1) unstable; urgency=low * New upstream release * Patched with upstream "patch1" patch. * debian/control: use glib 2.0, use gts 0.7.3 -- Marcelo E. Magallon Sat, 05 Feb 2005 14:14:23 -0600 gerris (0.2.0-1) unstable; urgency=low * New upstream release * Install shared libraries and header files in the gerris package. If some other package wants to use these files, drop me a note and I'll split this out to their own packages. -- Marcelo E. Magallon Sun, 09 Feb 2003 14:46:06 +0100 gerris (0.1.0-1) unstable; urgency=low * Initial Release. (closes: bug#150634) -- Marcelo E. Magallon Sat, 29 Jun 2002 14:45:16 +0200 debian/libgfs-1.3-2.install0000664000000000000000000000004011547002153012454 0ustar debian/tmp/usr/lib/libgfs*.so.* debian/compat0000664000000000000000000000000211547002262010365 0ustar 5 debian/README.source0000664000000000000000000000327311547002153011352 0ustar README.source for gerris in Debian ================================== The download from upstream is a snapshot tarball which contains two external modules: - RStarTree, without copyrigth/license info. - fes2004, from Thierry LETELLIER, licensed under GPL, but including some functions from Aktarus library (from Thierry LETELLIER and Laurent ROBLOU). The Aktarus functions include some GPL-incompatible restrictions. This external modules aren't essential to gerris and was removed from the Debian sources. The debian/get-orig-source.sh script downloads the upstream source, and creates the gerris_$VERSION.orig.tar.gz used as Debian source file. The script does the following: - download the latest upstream tarball - unpack the tarball - remove modules/ - update configure, configure.in, Makefile.in, and Makefile.am, removing references to modules/ (preserving timestamps). - rename sources dir and set timestamps from upstream tarball - tar and gzip the result =================================== The debian packaging uses quilt in a debhelper (dh) environment to maintain material patches from the upstream source. See /usr/share/doc/quilt/README.source for more details on quilt usage. Some patches affect upstream automake scripts (Makefile.am). To regenerate derived configure and Makefile scripts, use the following steps (or similar) from the top-level directory (above the debian subdir): dh_quilt_patch autoreconf dh_quilt_unpatch When manipulating patches (editing or adding new quilt patches) after running dh_quilt_patch, make sure QUILT_PATCHES is set to debian/patches: "QUILT_PATCHES=debian/patches quilt new ", "QUILT_PATCHES=debian/patches quilt refresh", etc. debian/libgfs-1.3-2.lintian-overrides0000664000000000000000000000006011547002153014446 0ustar libgfs-1.3-2: package-name-doesnt-match-sonames debian/gerris.preinst0000664000000000000000000000074211547002153012072 0ustar #!/bin/sh -e # From version 20090512-dfsg.1-1, there are both arch-dependent and # arch-independent files in upstream's /usr/lib/gerris (with module libstokes # added), so can no longer take /usr/lib/gerris as a symlink to # /usr/share/gerris/lib. if [ "$1" = "upgrade" ]; then if dpkg --compare-versions "$2" lt-nl 20090512-dfsg.1-1; then if [ -L /usr/lib/gerris ]; then echo "Removing deprecated symlink /usr/lib/gerris" rm /usr/lib/gerris fi fi fi #DEBHELPER# debian/copyright0000664000000000000000000000711511547002262011126 0ustar This package was debianized by Ruben Molina on Sat, 05 Jul 2008 08:55:48 -0500. It was downloaded from http://gts.sourceforge.net/tarballs/ and was repackaged to remove modules (copyright/license issues). Run the debian/get-orig-source.sh script to download the upstream tarball and create the source tarball used by Debian. See README.Debian-source for details. Upstream Author: Stephane Popinet Copyright: Copyright (C) 2001 National Institute of Water and Atmospheric Research License: This package 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. This package 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. You should have received a copy of the GNU General Public License along with this package; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA On Debian systems, the complete text of the GNU General Public License can be found in `/usr/share/common-licenses/GPL'. The Debian packaging is (C) 2008, Ruben Molina and is licensed under the GPL, see above. Modules ======= Separate modules containing third-party source are found in the modules source subdir. Only the stokes module is built in Debian packages. modules/stokes.mod: ------------------ The stokes module uses cw260 and kmts, found in CW263.f written by Prof. John Chaplin, School of Civil Engineering & the Environment, University of Southampton, UK, j.r.chaplin@soton.ac.uk. CW263.f is found at http://www.civil.soton.ac.uk/hydraulics/download/downloadtable.htm and is offered by Prof. Chaplin as part of the Public Domain, with acknowledgement that the author is not responsible for the consequences of any errors. Clarification of these conditions was made at http://lists.debian.org/debian-science/2009/06/msg00001.html. modules/wavewatch: ----------------- +-----------------------------------+ | WAVEWATCH-III NOAA/NCEP | | H. L. Tolman | | FORTRAN 90 | | Last update : 22-Jun-2007 | +-----------------------------------+ WAVEWATCH-III is public domain software. See http://polar.ncep.noaa.gov/waves/wavewatch/wavewatch.html Nevertheless, the wavewatch module is only built if .wwatch3.env exists in the home directory, which is not the normal case. Therefore the wavewatch module is not provided in Debian binary packages. modules/RStarTree: ----------------- A DFSG-free software licence is not available for RStarTree, and it has therefore been removed from the Debian source tarball. Consequently the modules using RStarTree are not built. This includes the terrain module and the module binaries xyz2rsurface, rsurfacequery and rsurfacedraw. modules/fes2004: --------------- fes2004 itself is GPLv2 but uses tide prediction functions from Aktarus, which is explicitly non-free. fes2004_kernel.c: "You don't have the right to use these functions in other programs than the FES2004 prediction." modules/fes2004 has therefore been removed from the Debian source tarball, and the tides module is not built. debian/libgfs-mpi-dev.install0000664000000000000000000000014111547002153013357 0ustar usr/include usr/lib/libgfs*.so usr/lib/libgfs*.la usr/lib/libgfs*.a usr/lib/pkgconfig/gerris*.pc debian/source/0000775000000000000000000000000011547215074010476 5ustar debian/source/format0000664000000000000000000000001411547215074011704 0ustar 3.0 (quilt) debian/gerris.install0000664000000000000000000000027511547002153012055 0ustar debian/tmp/usr/bin debian/tmp/usr/lib/gerris/gfs2tex.py usr/share/gerris/lib debian/tmp/usr/lib/gerris/m4.awk usr/share/gerris/lib debian/tmp/usr/lib/gerris/libstokes* debian/tmp/usr/share debian/gerris-mpi.docs0000664000000000000000000000004011547002262012111 0ustar README NEWS AUTHORS TODO THANKS debian/gerris-mpi.install0000664000000000000000000000020611547002153012632 0ustar usr/bin usr/lib/gerris/gfs2tex.py usr/share/gerris/lib usr/lib/gerris/m4.awk usr/share/gerris/lib usr/lib/gerris/libstokes* usr/share debian/get-orig-source.sh0000664000000000000000000000155711547002153012545 0ustar #!/bin/sh wget -c "http://gerris.dalembert.upmc.fr/gerris/gerris-snapshot.tar.gz" tar zxvf gerris-snapshot.tar.gz DFSG='1' SNAPSHOT=`echo gerris-snapshot-?????? | sed 's/gerris-snapshot-//'` NEWDIR="gerris-0.9.2+darcs$SNAPSHOT-dfsg.$DFSG" NEWNAME=`echo $NEWDIR | sed s/-/_/` rm -rf "gerris-snapshot-$SNAPSHOT/modules/" mv "gerris-snapshot-$SNAPSHOT" "$NEWDIR" updatefile() { FILE="$1" SED="$2" TOUCH=`mktemp` cp -p "$NEWDIR/$FILE" "$TOUCH" sed $SED "$TOUCH" > "$NEWDIR/$FILE" touch -r "$TOUCH" "$NEWDIR/$FILE" rm "$TOUCH" } updatefile 'configure' 's/modules.*test/test/' updatefile 'configure.in' 's/modules.*Makefile$//' updatefile 'Makefile.am' 's/modules//' updatefile 'Makefile.in' 's/modules//' # tar+gzip touch -r "gerris-snapshot.tar.gz" "$NEWDIR" tar -cf "$NEWNAME.orig.tar" "$NEWDIR" gzip -9fn "$NEWNAME.orig.tar" rm -fr "$NEWDIR" "gerris-snapshot.tar.gz" debian/libgfs-mpi-1.3-2.install0000664000000000000000000000002511547002153013242 0ustar usr/lib/libgfs*.so.* debian/gerris.docs0000664000000000000000000000004011547002153011325 0ustar README NEWS AUTHORS TODO THANKS debian/control0000664000000000000000000001112711547002262010574 0ustar Source: gerris Section: science Priority: optional Maintainer: Debian Science Maintainers Uploaders: Drew Parsons Build-Depends: debhelper (>= 7.0.50~), quilt (>= 0.46-7~), autotools-dev, libgts-dev (>> 0.7.6), libgts-bin (>> 0.7.6), libnetcdf-dev, libgsl0-dev, libglib2.0-dev, python, gfortran, mpi-default-dev Standards-Version: 3.9.1 Homepage: http://gfs.sourceforge.net/ Vcs-Git: git://git.debian.org/git/debian-science/packages/gerris.git Vcs-Browser: http://git.debian.org/?p=debian-science/packages/gerris.git/.git Package: gerris Architecture: any Depends: libgfs-dev, m4, ${shlibs:Depends}, ${misc:Depends} Conflicts: gerris-mpi Replaces: gerris-mpi Suggests: python Description: Gerris Flow Solver Gerris is a system for the solution of the partial differential equations describing fluid flow. . A brief summary of its main (current) features: . * Solves the time-dependent incompressible variable-density Euler, Stokes or Navier-Stokes equations * Adaptive mesh refinement: the resolution is adapted dynamically to the features of the flow * Entirely automatic mesh generation in complex geometries * Second-order in space and time * Unlimited number of advected/diffused passive tracers * Flexible specification of additional source terms * Portable parallel support using the MPI library * Volume of Fluid advection scheme for interfacial flows . For multi-cpu MPI support, install gerris-mpi instead. Package: libgfs-dev Architecture: any Section: libdevel Depends: libgfs-1.3-2 (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends} Conflicts: libgfs-mpi-dev Replaces: libgfs-mpi-dev Description: Gerris Flow Solver -- development libraries and headers Gerris is a system for the solution of the partial differential equations describing fluid flow. . This package contains the headers and development libraries needed to build applications using libgfs. Package: libgfs-dbg Priority: extra Architecture: any Section: debug Depends: libgfs-1.3-2 (= ${binary:Version}) | libgfs-mpi-1.3-2 (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends} Description: Gerris Flow Solver -- libraries with debugging symbols Gerris is a system for the solution of the partial differential equations describing fluid flow. . This package contains the debugging symbols for libgfs. Package: libgfs-1.3-2 Architecture: any Section: devel Depends: ${shlibs:Depends}, ${misc:Depends} Conflicts: libgfs-mpi-1.3-2, libgfs-1.3-1 (>=20090512-dfsg.1-1) Replaces: libgfs-mpi-1.3-2, libgfs-1.3-1 (>=20090512-dfsg.1-1) Description: Gerris Flow Solver -- shared libraries Gerris is a system for the solution of the partial differential equations describing fluid flow. . This package contains the shared libraries for libgfs. Package: gerris-mpi Architecture: any Depends: libgfs-mpi-dev, m4, ${shlibs:Depends}, ${misc:Depends} Suggests: python Conflicts: gerris Replaces: gerris Description: Gerris Flow Solver Gerris is a system for the solution of the partial differential equations describing fluid flow. . A brief summary of its main (current) features: . * Solves the time-dependent incompressible variable-density Euler, Stokes or Navier-Stokes equations * Adaptive mesh refinement: the resolution is adapted dynamically to the features of the flow * Entirely automatic mesh generation in complex geometries * Second-order in space and time * Unlimited number of advected/diffused passive tracers * Flexible specification of additional source terms * Portable parallel support using the MPI library * Volume of Fluid advection scheme for interfacial flows . This package has MPI support built in. Package: libgfs-mpi-dev Architecture: any Section: libdevel Depends: libgfs-mpi-1.3-2 (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends} Conflicts: libgfs-dev Replaces: libgfs-dev Description: Gerris Flow Solver -- development libraries and headers Gerris is a system for the solution of the partial differential equations describing fluid flow. . This package contains the headers and development libraries needed to build applications using libgfs. . This package has MPI support built in. Package: libgfs-mpi-1.3-2 Architecture: any Section: devel Depends: ${shlibs:Depends}, ${misc:Depends} Conflicts: libgfs-1.3-2 Replaces: libgfs-1.3-2 Description: Gerris Flow Solver -- shared libraries Gerris is a system for the solution of the partial differential equations describing fluid flow. . This package contains the shared libraries for libgfs. . This package has MPI support built in. debian/gerris-mpi.links0000664000000000000000000000016111547002153012304 0ustar usr/share/gerris/lib/gfs2tex.py usr/lib/gerris/gfs2tex.py usr/share/gerris/lib/m4.awk usr/lib/gerris/m4.awk debian/libgfs-dev.install0000664000000000000000000000023011547002153012573 0ustar debian/tmp/usr/include debian/tmp/usr/lib/libgfs*.so debian/tmp/usr/lib/libgfs*.la debian/tmp/usr/lib/libgfs*.a debian/tmp/usr/lib/pkgconfig/gerris*.pc debian/patches/0000775000000000000000000000000011547217437010632 5ustar debian/patches/series0000664000000000000000000000007211547217350012040 0ustar 01_automake_doc_examples debian-changes-20110329-dfsg.2-1 debian/patches/01_automake_doc_examples0000664000000000000000000000574411547204445015413 0ustar Index: gerris/doc/examples/Makefile.am =================================================================== --- gerris.orig/doc/examples/Makefile.am 2011-04-06 16:12:06.000000000 +1000 +++ gerris/doc/examples/Makefile.am 2011-04-07 10:45:21.000000000 +1000 @@ -50,7 +50,7 @@ pkgdata_DATA = gfs.lang gerris.dic gfs-keywords.el gfs-mode.el gfs.sty gfs.hva kaltura.sh gfs.php gerris.dic: classes modulesyms.sh $(top_srcdir)/modules/Makefile.am modules.list - ($(srcdir)/classes && sh $(srcdir)/modulesyms.sh $(top_srcdir)/modules $(pkglibdir)) | sort > gerris.dic + ($(builddir)/classes && sh $(srcdir)/modulesyms.sh $(top_srcdir)/modules $(pkglibdir)) | sort > gerris.dic gfs.lang: gerris.dic echo "# Language file for source-highlight" > gfs.lang @@ -61,7 +61,7 @@ echo "redef preproc = \"C preprocessor command is not compatible with the use of # as comment character in GTS\"" >> gfs.lang modules.list: modules $(top_srcdir)/modules/Makefile.am - $(srcdir)/modules $(top_srcdir)/modules/*.la $(pkglibdir)/*.so | sort | uniq > modules.list + $(builddir)/modules $(top_srcdir)/modules/*.la $(pkglibdir)/*.so | sort | uniq > modules.list gfs-keywords.el: gerris.dic modules.list echo "(defvar gfs-abbrevs '(" > gfs-keywords.el @@ -75,7 +75,7 @@ echo "(provide 'gfs-keywords)" >> gfs-keywords.el gfs.php: gerris.dic modules.list gfs.php.sh - sh gfs.php.sh > gfs.php + sh $(srcdir)/gfs.php.sh > gfs.php gfs2doc: gfs2doc.in @@ -134,13 +134,15 @@ noinst_PROGRAMS = classes modules -classes: classes.c $(top_srcdir)/src/init.c - $(LIBTOOL) --mode=link $(CC) $(AM_CFLAGS) $(INCLUDES) -DFTT_2D=1 \ - classes.c -o classes $(GFS2D_LIBS) - -modules: modules.c - $(LIBTOOL) --mode=link $(CC) $(AM_CFLAGS) $(INCLUDES) -DFTT_2D=1 \ - modules.c -o modules $(GFS2D_LIBS) +classes_SOURCES = classes.c $(top_srcdir)/src/init.c +classes_CFLAGS = $(AM_CFLAGS) -DFTT_2D=1 +classes_CPPFLAGS = $(INCLUDES) -I$(top_builddir)/src +classes_LDADD = $(GFS2D_LIBS) + +modules_SOURCES = modules.c +modules_CFLAGS = $(AM_CFLAGS) -DFTT_2D=1 +modules_CPPFLAGS = $(INCLUDES) +modules_LDADD = $(GFS2D_LIBS) publish: examples.tar.gz cp examples.tar.gz $(WEBROOT)/examples Index: gerris/doc/Makefile.am =================================================================== --- gerris.orig/doc/Makefile.am 2011-04-07 10:41:48.000000000 +1000 +++ gerris/doc/Makefile.am 2011-04-07 10:42:09.000000000 +1000 @@ -11,9 +11,10 @@ INCLUDES = -I$(top_srcdir)/src -I$(includedir) -DG_LOG_DOMAIN=\"Gfs-tools\"\ $(GTS_CFLAGS) -autoclass: autoclass.c $(top_srcdir)/src/init.c - $(LIBTOOL) --mode=link $(CC) $(AM_CFLAGS) $(INCLUDES) -DFTT_2D=1 \ - autoclass.c -o autoclass $(GFS2D_LIBS) +autoclass_SOURCES = autoclass.c $(top_srcdir)/src/init.c +autoclass_CFLAGS = $(AM_CFLAGS) -DFTT_2D=1 +autoclass_CPPFLAGS = $(INCLUDES) -I$(top_builddir)/src +autoclass_LDADD = $(GFS2D_LIBS) reference: Makefile.am autoclass share/autoclass.sh share/doxfilter share/renamemodules doxy.conf sh share/autoclass.sh | sort -k2,3 | ./autoclass > hierarchy.c debian/patches/debian-changes-20110329-dfsg.2-10000664000000000000000000004425511547217436015534 0ustar Description: Upstream changes introduced in version 20110329-dfsg.2-1 This patch has been created by dpkg-source during the package build. Here's the last changelog entry, hopefully it gives details on why those changes were made: . gerris (20110329-dfsg.2-1) unstable; urgency=low . * New upstream snapshot 2011-03-29 (tarball 110330 + DSFG removal of RstarTree and fes2004 modules). * Standards-Version: 3.9.1. * Switch to dpkg-source 3.0 (quilt) format (enables upstream .bz2 tarball and other advantages) . The person named in the Author field signed this changelog entry. Author: Drew Parsons --- The information above should follow the Patch Tagging Guidelines, please checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here are templates for supplementary fields that you might want to add: Origin: , Bug: Bug-Debian: http://bugs.debian.org/ Bug-Ubuntu: https://launchpad.net/bugs/ Forwarded: Reviewed-By: Last-Update: --- gerris-20110329-dfsg.2.orig/doc/Makefile.in +++ gerris-20110329-dfsg.2/doc/Makefile.in @@ -49,9 +49,14 @@ CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = PROGRAMS = $(noinst_PROGRAMS) -autoclass_SOURCES = autoclass.c -autoclass_OBJECTS = autoclass.$(OBJEXT) -autoclass_LDADD = $(LDADD) +am_autoclass_OBJECTS = autoclass-autoclass.$(OBJEXT) \ + autoclass-init.$(OBJEXT) +autoclass_OBJECTS = $(am_autoclass_OBJECTS) +am__DEPENDENCIES_1 = +autoclass_DEPENDENCIES = $(am__DEPENDENCIES_1) +autoclass_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(autoclass_CFLAGS) \ + $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) depcomp = $(SHELL) $(top_srcdir)/depcomp am__depfiles_maybe = depfiles @@ -65,8 +70,8 @@ CCLD = $(CC) LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \ $(LDFLAGS) -o $@ -SOURCES = autoclass.c -DIST_SOURCES = autoclass.c +SOURCES = $(autoclass_SOURCES) +DIST_SOURCES = $(autoclass_SOURCES) RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \ html-recursive info-recursive install-data-recursive \ install-dvi-recursive install-exec-recursive \ @@ -266,6 +271,10 @@ EXTRA_DIST = figures share doxy.conf INCLUDES = -I$(top_srcdir)/src -I$(includedir) -DG_LOG_DOMAIN=\"Gfs-tools\"\ $(GTS_CFLAGS) +autoclass_SOURCES = autoclass.c $(top_srcdir)/src/init.c +autoclass_CFLAGS = $(AM_CFLAGS) -DFTT_2D=1 +autoclass_CPPFLAGS = $(INCLUDES) -I$(top_builddir)/src +autoclass_LDADD = $(GFS2D_LIBS) all: all-recursive .SUFFIXES: @@ -309,6 +318,9 @@ clean-noinstPROGRAMS: list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \ echo " rm -f" $$list; \ rm -f $$list +autoclass$(EXEEXT): $(autoclass_OBJECTS) $(autoclass_DEPENDENCIES) + @rm -f autoclass$(EXEEXT) + $(autoclass_LINK) $(autoclass_OBJECTS) $(autoclass_LDADD) $(LIBS) mostlyclean-compile: -rm -f *.$(OBJEXT) @@ -316,7 +328,8 @@ mostlyclean-compile: distclean-compile: -rm -f *.tab.c -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/autoclass.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/autoclass-autoclass.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/autoclass-init.Po@am__quote@ .c.o: @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< @@ -339,6 +352,34 @@ distclean-compile: @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $< +autoclass-autoclass.o: autoclass.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(autoclass_CPPFLAGS) $(CPPFLAGS) $(autoclass_CFLAGS) $(CFLAGS) -MT autoclass-autoclass.o -MD -MP -MF $(DEPDIR)/autoclass-autoclass.Tpo -c -o autoclass-autoclass.o `test -f 'autoclass.c' || echo '$(srcdir)/'`autoclass.c +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/autoclass-autoclass.Tpo $(DEPDIR)/autoclass-autoclass.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='autoclass.c' object='autoclass-autoclass.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(autoclass_CPPFLAGS) $(CPPFLAGS) $(autoclass_CFLAGS) $(CFLAGS) -c -o autoclass-autoclass.o `test -f 'autoclass.c' || echo '$(srcdir)/'`autoclass.c + +autoclass-autoclass.obj: autoclass.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(autoclass_CPPFLAGS) $(CPPFLAGS) $(autoclass_CFLAGS) $(CFLAGS) -MT autoclass-autoclass.obj -MD -MP -MF $(DEPDIR)/autoclass-autoclass.Tpo -c -o autoclass-autoclass.obj `if test -f 'autoclass.c'; then $(CYGPATH_W) 'autoclass.c'; else $(CYGPATH_W) '$(srcdir)/autoclass.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/autoclass-autoclass.Tpo $(DEPDIR)/autoclass-autoclass.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='autoclass.c' object='autoclass-autoclass.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(autoclass_CPPFLAGS) $(CPPFLAGS) $(autoclass_CFLAGS) $(CFLAGS) -c -o autoclass-autoclass.obj `if test -f 'autoclass.c'; then $(CYGPATH_W) 'autoclass.c'; else $(CYGPATH_W) '$(srcdir)/autoclass.c'; fi` + +autoclass-init.o: $(top_srcdir)/src/init.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(autoclass_CPPFLAGS) $(CPPFLAGS) $(autoclass_CFLAGS) $(CFLAGS) -MT autoclass-init.o -MD -MP -MF $(DEPDIR)/autoclass-init.Tpo -c -o autoclass-init.o `test -f '$(top_srcdir)/src/init.c' || echo '$(srcdir)/'`$(top_srcdir)/src/init.c +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/autoclass-init.Tpo $(DEPDIR)/autoclass-init.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$(top_srcdir)/src/init.c' object='autoclass-init.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(autoclass_CPPFLAGS) $(CPPFLAGS) $(autoclass_CFLAGS) $(CFLAGS) -c -o autoclass-init.o `test -f '$(top_srcdir)/src/init.c' || echo '$(srcdir)/'`$(top_srcdir)/src/init.c + +autoclass-init.obj: $(top_srcdir)/src/init.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(autoclass_CPPFLAGS) $(CPPFLAGS) $(autoclass_CFLAGS) $(CFLAGS) -MT autoclass-init.obj -MD -MP -MF $(DEPDIR)/autoclass-init.Tpo -c -o autoclass-init.obj `if test -f '$(top_srcdir)/src/init.c'; then $(CYGPATH_W) '$(top_srcdir)/src/init.c'; else $(CYGPATH_W) '$(srcdir)/$(top_srcdir)/src/init.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/autoclass-init.Tpo $(DEPDIR)/autoclass-init.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$(top_srcdir)/src/init.c' object='autoclass-init.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(autoclass_CPPFLAGS) $(CPPFLAGS) $(autoclass_CFLAGS) $(CFLAGS) -c -o autoclass-init.obj `if test -f '$(top_srcdir)/src/init.c'; then $(CYGPATH_W) '$(top_srcdir)/src/init.c'; else $(CYGPATH_W) '$(srcdir)/$(top_srcdir)/src/init.c'; fi` + mostlyclean-libtool: -rm -f *.lo @@ -658,10 +699,6 @@ uninstall-am: uninstall uninstall-am -autoclass: autoclass.c $(top_srcdir)/src/init.c - $(LIBTOOL) --mode=link $(CC) $(AM_CFLAGS) $(INCLUDES) -DFTT_2D=1 \ - autoclass.c -o autoclass $(GFS2D_LIBS) - reference: Makefile.am autoclass share/autoclass.sh share/doxfilter share/renamemodules doxy.conf sh share/autoclass.sh | sort -k2,3 | ./autoclass > hierarchy.c @chmod +x share/doxfilter --- gerris-20110329-dfsg.2.orig/doc/examples/Makefile.in +++ gerris-20110329-dfsg.2/doc/examples/Makefile.in @@ -53,12 +53,19 @@ CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = gfs2doc gfs-highlight crossref.sh CONFIG_CLEAN_VPATH_FILES = PROGRAMS = $(noinst_PROGRAMS) -classes_SOURCES = classes.c -classes_OBJECTS = classes.$(OBJEXT) -classes_LDADD = $(LDADD) -modules_SOURCES = modules.c -modules_OBJECTS = modules.$(OBJEXT) -modules_LDADD = $(LDADD) +am_classes_OBJECTS = classes-classes.$(OBJEXT) classes-init.$(OBJEXT) +classes_OBJECTS = $(am_classes_OBJECTS) +am__DEPENDENCIES_1 = +classes_DEPENDENCIES = $(am__DEPENDENCIES_1) +classes_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ + --mode=link $(CCLD) $(classes_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \ + $(LDFLAGS) -o $@ +am_modules_OBJECTS = modules-modules.$(OBJEXT) +modules_OBJECTS = $(am_modules_OBJECTS) +modules_DEPENDENCIES = $(am__DEPENDENCIES_1) +modules_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ + --mode=link $(CCLD) $(modules_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \ + $(LDFLAGS) -o $@ am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; am__vpath_adj = case $$p in \ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ @@ -96,8 +103,8 @@ CCLD = $(CC) LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \ $(LDFLAGS) -o $@ -SOURCES = classes.c modules.c -DIST_SOURCES = classes.c modules.c +SOURCES = $(classes_SOURCES) $(modules_SOURCES) +DIST_SOURCES = $(classes_SOURCES) $(modules_SOURCES) DATA = $(pkgdata_DATA) $(pkglib_DATA) ETAGS = etags CTAGS = ctags @@ -519,6 +526,14 @@ TESTS = \ INCLUDES = -I$(top_srcdir)/src -I$(includedir) -DG_LOG_DOMAIN=\"Gfs-tools\"\ $(GTS_CFLAGS) +classes_SOURCES = classes.c $(top_srcdir)/src/init.c +classes_CFLAGS = $(AM_CFLAGS) -DFTT_2D=1 +classes_CPPFLAGS = $(INCLUDES) -I$(top_builddir)/src +classes_LDADD = $(GFS2D_LIBS) +modules_SOURCES = modules.c +modules_CFLAGS = $(AM_CFLAGS) -DFTT_2D=1 +modules_CPPFLAGS = $(INCLUDES) +modules_LDADD = $(GFS2D_LIBS) all: $(BUILT_SOURCES) $(MAKE) $(AM_MAKEFLAGS) all-am @@ -569,6 +584,12 @@ clean-noinstPROGRAMS: list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \ echo " rm -f" $$list; \ rm -f $$list +classes$(EXEEXT): $(classes_OBJECTS) $(classes_DEPENDENCIES) + @rm -f classes$(EXEEXT) + $(classes_LINK) $(classes_OBJECTS) $(classes_LDADD) $(LIBS) +modules$(EXEEXT): $(modules_OBJECTS) $(modules_DEPENDENCIES) + @rm -f modules$(EXEEXT) + $(modules_LINK) $(modules_OBJECTS) $(modules_LDADD) $(LIBS) install-binSCRIPTS: $(bin_SCRIPTS) @$(NORMAL_INSTALL) test -z "$(bindir)" || $(MKDIR_P) "$(DESTDIR)$(bindir)" @@ -610,8 +631,9 @@ mostlyclean-compile: distclean-compile: -rm -f *.tab.c -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/classes.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/modules.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/classes-classes.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/classes-init.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/modules-modules.Po@am__quote@ .c.o: @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< @@ -634,6 +656,48 @@ distclean-compile: @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $< +classes-classes.o: classes.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(classes_CPPFLAGS) $(CPPFLAGS) $(classes_CFLAGS) $(CFLAGS) -MT classes-classes.o -MD -MP -MF $(DEPDIR)/classes-classes.Tpo -c -o classes-classes.o `test -f 'classes.c' || echo '$(srcdir)/'`classes.c +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/classes-classes.Tpo $(DEPDIR)/classes-classes.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='classes.c' object='classes-classes.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(classes_CPPFLAGS) $(CPPFLAGS) $(classes_CFLAGS) $(CFLAGS) -c -o classes-classes.o `test -f 'classes.c' || echo '$(srcdir)/'`classes.c + +classes-classes.obj: classes.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(classes_CPPFLAGS) $(CPPFLAGS) $(classes_CFLAGS) $(CFLAGS) -MT classes-classes.obj -MD -MP -MF $(DEPDIR)/classes-classes.Tpo -c -o classes-classes.obj `if test -f 'classes.c'; then $(CYGPATH_W) 'classes.c'; else $(CYGPATH_W) '$(srcdir)/classes.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/classes-classes.Tpo $(DEPDIR)/classes-classes.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='classes.c' object='classes-classes.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(classes_CPPFLAGS) $(CPPFLAGS) $(classes_CFLAGS) $(CFLAGS) -c -o classes-classes.obj `if test -f 'classes.c'; then $(CYGPATH_W) 'classes.c'; else $(CYGPATH_W) '$(srcdir)/classes.c'; fi` + +classes-init.o: $(top_srcdir)/src/init.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(classes_CPPFLAGS) $(CPPFLAGS) $(classes_CFLAGS) $(CFLAGS) -MT classes-init.o -MD -MP -MF $(DEPDIR)/classes-init.Tpo -c -o classes-init.o `test -f '$(top_srcdir)/src/init.c' || echo '$(srcdir)/'`$(top_srcdir)/src/init.c +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/classes-init.Tpo $(DEPDIR)/classes-init.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$(top_srcdir)/src/init.c' object='classes-init.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(classes_CPPFLAGS) $(CPPFLAGS) $(classes_CFLAGS) $(CFLAGS) -c -o classes-init.o `test -f '$(top_srcdir)/src/init.c' || echo '$(srcdir)/'`$(top_srcdir)/src/init.c + +classes-init.obj: $(top_srcdir)/src/init.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(classes_CPPFLAGS) $(CPPFLAGS) $(classes_CFLAGS) $(CFLAGS) -MT classes-init.obj -MD -MP -MF $(DEPDIR)/classes-init.Tpo -c -o classes-init.obj `if test -f '$(top_srcdir)/src/init.c'; then $(CYGPATH_W) '$(top_srcdir)/src/init.c'; else $(CYGPATH_W) '$(srcdir)/$(top_srcdir)/src/init.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/classes-init.Tpo $(DEPDIR)/classes-init.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$(top_srcdir)/src/init.c' object='classes-init.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(classes_CPPFLAGS) $(CPPFLAGS) $(classes_CFLAGS) $(CFLAGS) -c -o classes-init.obj `if test -f '$(top_srcdir)/src/init.c'; then $(CYGPATH_W) '$(top_srcdir)/src/init.c'; else $(CYGPATH_W) '$(srcdir)/$(top_srcdir)/src/init.c'; fi` + +modules-modules.o: modules.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(modules_CPPFLAGS) $(CPPFLAGS) $(modules_CFLAGS) $(CFLAGS) -MT modules-modules.o -MD -MP -MF $(DEPDIR)/modules-modules.Tpo -c -o modules-modules.o `test -f 'modules.c' || echo '$(srcdir)/'`modules.c +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/modules-modules.Tpo $(DEPDIR)/modules-modules.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='modules.c' object='modules-modules.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(modules_CPPFLAGS) $(CPPFLAGS) $(modules_CFLAGS) $(CFLAGS) -c -o modules-modules.o `test -f 'modules.c' || echo '$(srcdir)/'`modules.c + +modules-modules.obj: modules.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(modules_CPPFLAGS) $(CPPFLAGS) $(modules_CFLAGS) $(CFLAGS) -MT modules-modules.obj -MD -MP -MF $(DEPDIR)/modules-modules.Tpo -c -o modules-modules.obj `if test -f 'modules.c'; then $(CYGPATH_W) 'modules.c'; else $(CYGPATH_W) '$(srcdir)/modules.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/modules-modules.Tpo $(DEPDIR)/modules-modules.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='modules.c' object='modules-modules.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(modules_CPPFLAGS) $(CPPFLAGS) $(modules_CFLAGS) $(CFLAGS) -c -o modules-modules.obj `if test -f 'modules.c'; then $(CYGPATH_W) 'modules.c'; else $(CYGPATH_W) '$(srcdir)/modules.c'; fi` + mostlyclean-libtool: -rm -f *.lo @@ -1085,7 +1149,7 @@ uninstall-am: uninstall-binSCRIPTS unins gerris.dic: classes modulesyms.sh $(top_srcdir)/modules/Makefile.am modules.list - ($(srcdir)/classes && sh $(srcdir)/modulesyms.sh $(top_srcdir)/modules $(pkglibdir)) | sort > gerris.dic + ($(builddir)/classes && sh $(srcdir)/modulesyms.sh $(top_srcdir)/modules $(pkglibdir)) | sort > gerris.dic gfs.lang: gerris.dic echo "# Language file for source-highlight" > gfs.lang @@ -1096,7 +1160,7 @@ gfs.lang: gerris.dic echo "redef preproc = \"C preprocessor command is not compatible with the use of # as comment character in GTS\"" >> gfs.lang modules.list: modules $(top_srcdir)/modules/Makefile.am - $(srcdir)/modules $(top_srcdir)/modules/*.la $(pkglibdir)/*.so | sort | uniq > modules.list + $(builddir)/modules $(top_srcdir)/modules/*.la $(pkglibdir)/*.so | sort | uniq > modules.list gfs-keywords.el: gerris.dic modules.list echo "(defvar gfs-abbrevs '(" > gfs-keywords.el @@ -1110,7 +1174,7 @@ gfs-keywords.el: gerris.dic modules.list echo "(provide 'gfs-keywords)" >> gfs-keywords.el gfs.php: gerris.dic modules.list gfs.php.sh - sh gfs.php.sh > gfs.php + sh $(srcdir)/gfs.php.sh > gfs.php gfs2doc: gfs2doc.in @@ -1303,14 +1367,6 @@ examples.tar.gz: examples.pdf examples $ tar czf examples.tar.gz examples $(DOCS) rm -r -f examples -classes: classes.c $(top_srcdir)/src/init.c - $(LIBTOOL) --mode=link $(CC) $(AM_CFLAGS) $(INCLUDES) -DFTT_2D=1 \ - classes.c -o classes $(GFS2D_LIBS) - -modules: modules.c - $(LIBTOOL) --mode=link $(CC) $(AM_CFLAGS) $(INCLUDES) -DFTT_2D=1 \ - modules.c -o modules $(GFS2D_LIBS) - publish: examples.tar.gz cp examples.tar.gz $(WEBROOT)/examples cd $(WEBROOT)/examples && tar xzf examples.tar.gz && rm -f examples.tar.gz debian/gerris.links0000664000000000000000000000016111547002153011521 0ustar usr/share/gerris/lib/gfs2tex.py usr/lib/gerris/gfs2tex.py usr/share/gerris/lib/m4.awk usr/lib/gerris/m4.awk