debian/0000755000000000000000000000000012143741703007170 5ustar debian/libdune-common-doc.install0000644000000000000000000000007511674223316014240 0ustar usr/share/doc/dune-common/* usr/share/doc/libdune-common-doc debian/dune-debian.mk0000644000000000000000000000206311731110511011662 0ustar DUNE_DEBIAN_DUNECONTROL ?= /usr/bin/dunecontrol DUNE_DEBIAN_CONFIGURE_FLAGS ?= \ --enable-parallel \ --enable-shared \ --enable-fieldvector-size-is-method \ --with-alberta=/usr \ --with-gmp \ --without-grape \ --without-metis \ --without-parmetis \ --with-superlu \ --without-ug \ --without-x override_dh_auto_configure: $(DUNE_DEBIAN_DUNECONTROL) autogen dh_auto_configure -- $(DUNE_DEBIAN_CONFIGURE_FLAGS) override_dh_auto_test: # OpenMPI expects rsh/ssh to be in PATH even when it only starts local processes: mkdir debian/tmp-test ln -s /bin/false debian/tmp-test/ssh ln -s /bin/false debian/tmp-test/rsh PATH=$(CURDIR)/debian/tmp-test:$$PATH dh_auto_test rm -rf debian/tmp-test override_dh_builddeb: dh_builddeb -- -Zxz override_dh_clean: dh_clean find . -name Makefile.in -delete rm -f aclocal.m4 config.guess config.h.in config.sub configure dependencies.m4 depcomp install-sh ltmain.sh missing rm -rf doc/doxygen/Doxyfile.in doc/doxygen/doxyerr.log doc/doxygen/doxygen-tag doc/doxygen/doxygen.log doc/doxygen/html rm -rf debian/tmp-test debian/rules0000755000000000000000000000154011762174721010256 0ustar #! /usr/bin/make -f DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH) DUNE_DEBIAN_DUNECONTROL := $(CURDIR)/bin/dunecontrol include debian/dune-debian.mk %: dh $@ --parallel override_dh_auto_install-arch: set -e; for d in am bin dune lib m4; do \ $(MAKE) -C $$d install DESTDIR="$(CURDIR)/debian/tmp"; \ done $(MAKE) install-data-am install-exec-am DESTDIR="$(CURDIR)/debian/tmp" mkdir doc/doxygen/html $(MAKE) -C doc/doxygen install-data-am DESTDIR="$(CURDIR)/debian/tmp" mv debian/tmp/usr/bin/mpi-config debian/tmp/usr/bin/dune-mpi-config sed -i "s,/usr/lib/dunecontrol/,& /usr/lib/$(DEB_HOST_MULTIARCH)/dunecontrol/," debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/dunemodules.lib override_dh_auto_install-indep: $(MAKE) -C doc install DESTDIR="$(CURDIR)/debian/tmp" override_dh_strip: dh_strip --dbg-package=libdune-common-dbg debian/libdune-common-dev.install0000644000000000000000000000037211762174721014254 0ustar usr/bin usr/include usr/lib/*/dunecontrol usr/lib usr/lib/*/dunemodules.lib usr/lib usr/lib/*/libdunecommon.a usr/lib/*/libdunecommon.so usr/lib/*/pkgconfig usr/share/dune-common usr/share/aclocal usr/share/dune debian/dune-debian.mk usr/share/dune debian/changelog0000644000000000000000000000215012143741703011040 0ustar dune-common (2.2.1-2) unstable; urgency=low * Upload to unstable. * Bumped Standards-Version to 3.9.4 (no changes). -- Ansgar Burchardt Sun, 12 May 2013 18:30:12 +0200 dune-common (2.2.1-1) experimental; urgency=low * New upstream release. (Closes: #701866) * debian/copyright: Update for new upstream release. * Mark runtime and debug packages as Multi-Arch: same. * lib/dunemodules.lib: Fix PARSER_TRIM. + new patch: fix-PARSER_TRIM.diff * Update aclocal.patch. -- Ansgar Burchardt Sat, 02 Mar 2013 02:17:38 +0100 dune-common (2.2.0-1) unstable; urgency=low * New upstream release. * Install dunemodules.lib to /usr/lib. * Update debian/copyright. -- Ansgar Burchardt Tue, 05 Jun 2012 10:17:59 +0200 dune-common (2.2~svn6684-1) experimental; urgency=low * New upstream snapshot. -- Ansgar Burchardt Sun, 06 May 2012 14:31:49 +0200 dune-common (2.2~svn6573-1) experimental; urgency=low * Initial release. (Closes: #661823) -- Ansgar Burchardt Sat, 17 Mar 2012 17:15:13 +0100 debian/control0000644000000000000000000000603012143741653010576 0ustar Source: dune-common Section: libs Priority: optional Standards-Version: 3.9.4 Maintainer: Debian Science Maintainers Uploaders: Ansgar Burchardt , Oliver Sander Vcs-Browser: http://git.debian.org/?p=debian-science/packages/dune-common.git Vcs-Git: git://git.debian.org/debian-science/packages/dune-common.git Homepage: http://www.dune-project.org/ Build-Depends: debhelper (>= 9), automake, autoconf, gfortran, libtool, mpi-default-bin, mpi-default-dev, pkg-config Build-Depends-Indep: doxygen, ghostscript, texlive-latex-recommended, pgf Package: libdune-common-dev Section: libdevel Architecture: any Depends: ${misc:Depends}, ${shlibs:Depends}, libdune-common-2.2.1 (= ${binary:Version}) Pre-Depends: dpkg (>= 1.15.6) Recommends: automake, autoconf, libtool, pkg-config Suggests: libdune-common-dbg (= ${binary:Version}) Description: toolbox for solving PDEs -- basic classes (development files) DUNE, the Distributed and Unified Numerics Environment is a modular toolbox for solving partial differential equations (PDEs) with grid-based methods. It supports the easy implementation of methods like Finite Elements (FE), Finite Volumes (FV), and also Finite Differences (FD). . This package contains the development files for the basic classes. Package: libdune-common-dbg Section: debug Priority: extra Architecture: any Multi-Arch: same Depends: ${misc:Depends}, ${shlibs:Depends}, libdune-common-2.2.1 (= ${binary:Version}) Pre-Depends: dpkg (>= 1.15.6) Description: toolbox for solving PDEs -- basic classes (debug symbols) DUNE, the Distributed and Unified Numerics Environment is a modular toolbox for solving partial differential equations (PDEs) with grid-based methods. It supports the easy implementation of methods like Finite Elements (FE), Finite Volumes (FV), and also Finite Differences (FD). . This package contains the debug symbols for the basic classes. Package: libdune-common-2.2.1 Architecture: any Multi-Arch: same Depends: ${misc:Depends}, ${shlibs:Depends} Pre-Depends: ${misc:Pre-Depends}, dpkg (>= 1.15.6) Description: toolbox for solving PDEs -- basic classes (library) DUNE, the Distributed and Unified Numerics Environment is a modular toolbox for solving partial differential equations (PDEs) with grid-based methods. It supports the easy implementation of methods like Finite Elements (FE), Finite Volumes (FV), and also Finite Differences (FD). . This package contains the library for the basic classes. Package: libdune-common-doc Section: doc Architecture: all Depends: ${misc:Depends} Pre-Depends: dpkg (>= 1.15.6) Description: toolbox for solving PDEs -- basic classes (documentation) DUNE, the Distributed and Unified Numerics Environment is a modular toolbox for solving partial differential equations (PDEs) with grid-based methods. It supports the easy implementation of methods like Finite Elements (FE), Finite Volumes (FV), and also Finite Differences (FD). . This package contains the documentation for the basic classes. debian/compat0000644000000000000000000000000211674205124010366 0ustar 9 debian/source/0000755000000000000000000000000011674207536010501 5ustar debian/source/format0000644000000000000000000000001411674207536011707 0ustar 3.0 (quilt) debian/patches/0000755000000000000000000000000012114251515010612 5ustar debian/patches/soname.patch0000644000000000000000000000051411674205124013122 0ustar --- dune-common.orig/lib/Makefile.am +++ dune-common/lib/Makefile.am @@ -14,5 +14,6 @@ nodist_EXTRA_libdunecommon_la_SOURCES = dummy.cc sourcescheck_DUMMY = dummy.cc libdunecommon_la_LIBADD = ../dune/common/libcommon.la +libdunecommon_la_LDFLAGS = -release $(subst -,,$(PACKAGE_VERSION)) include $(top_srcdir)/am/global-rules debian/patches/dune-autogen.patch0000644000000000000000000000076211762175010014236 0ustar --- dune-common.orig/bin/dune-autogen +++ dune-common/bin/dune-autogen @@ -27,7 +27,7 @@ rm -f $name.m4 # add current dir to PATH -PATH=`dirname $0`:$PATH +#PATH=`dirname $0`:$PATH # guess libtool prefix if test -n "$LIBTOOLIZE"; then @@ -125,6 +125,7 @@ # create a link to the dune-common am directory if [ "$name" != "dune-common" ]; then + : ${am_dir:=/usr/share/dune-common/am} if [ -n "$am_dir" ] && [ -d $am_dir ]; then echo "--> linking dune-common/am..." rm -f am debian/patches/series0000644000000000000000000000010312114241221012012 0ustar soname.patch dune-autogen.patch aclocal.patch fix-PARSER_TRIM.diff debian/patches/aclocal.patch0000644000000000000000000000123112114251515013226 0ustar --- a/bin/dune-autogen +++ b/bin/dune-autogen @@ -36,6 +36,10 @@ ACLOCAL_FLAGS="$ACLOCAL_FLAGS -I $LIBTOOL_prefix/share/aclocal" fi +if test -d "/usr/share/dune/aclocal"; then + ACLOCAL_FLAGS="$ACLOCAL_FLAGS -I /usr/share/dune/aclocal" +fi + for OPT in "$@"; do set +e # stolen from configure... --- a/bin/dunecontrol +++ b/bin/dunecontrol @@ -368,6 +368,9 @@ if test -d "m4"; then ACLOCAL_FLAGS="$ACLOCAL_FLAGS -I m4" fi + if test -d "/usr/share/dune/aclocal"; then + ACLOCAL_FLAGS="$ACLOCAL_FLAGS -I /usr/share/dune/aclocal" + fi MY_MODULES= # get dependencies & suggestions sort_modules $module debian/patches/fix-PARSER_TRIM.diff0000644000000000000000000000055212114242555014065 0ustar --- a/lib/dunemodules.lib +++ b/lib/dunemodules.lib @@ -43,7 +43,7 @@ # paramters: # $1 file to read # -PARSER_TRIM="awk '{gsub(/^[[:space:]]+| +$/,\"\");printf(\"%s\", \$0);}'" +PARSER_TRIM="awk '{gsub(/^[ \\t]+|[ \\t]+$/,\"\");printf(\"%s\", \$0);}'" parse_control() { # check file existence if test ! -f "$1" -o "$(basename $1)" != "$CONTROL"; then debian/clean0000644000000000000000000000004011674205124010167 0ustar doc/buildsystem/buildsystem.pdf debian/get-orig-source0000755000000000000000000000306711731101206012125 0ustar #! /bin/bash # # get-orig-source for dune # # (C) 2012, Ansgar Burchardt # License: GPL-2 with DUNE exception set -e set -u set -o pipefail usage() { echo "usage: get-orig-source [options...] [] [] module: name of dune module (eg. dune-common) version: upstream version number tree: branch (default: trunk) rev: revision number options: --snapshot: SVN revision is appended to the version number --dch: run dch to update version number -d : create orig tarball in directory " exit 1 } if [[ $# -lt 2 ]]; then usage fi snapshot= dch= dir=. while :; do case "$1" in --snapshot) snapshot=1; shift ;; --dch) dch=1; shift ;; -d) dir="$2"; shift 2 ;; *) break ;; esac done module="$1" version="$2" branch="${3:-trunk}" rev="${4:-}" url="https://svn.dune-project.org/svn/$module/$branch" if [[ $snapshot ]]; then if [[ -z $rev ]]; then rev="$(svn info "$url" | awk '/^Last Changed Rev:/ { print $4 }')" fi version="${version}svn$rev" fi origdir="$module-$version.orig" tarball="$dir/${module}_$version.orig.tar.xz" if [[ -e "$origdir" || -e "$tarball" ]]; then echo "source directory or tarball already exists" >&2 exit 1 fi svn export ${rev:+-r $rev} "$url" "$origdir" cd "$origdir" case "$module" in dune-grid) find doc/grids/amiramesh -name "[a-z]*.am" -delete ;; esac cd .. tar c "$origdir" | xz > "$tarball" rm -rf "$origdir" if [[ $dch ]]; then dch --newversion "$version-1" "New upstream release ($version)." fi debian/libdune-common-2.2.1.lintian-overrides0000644000000000000000000000025312114230132016101 0ustar # I prefer libdune-common as the module is named dune-common upstream. # -- ansgar 2012-03-01 libdune-common-2.2.1: package-name-doesnt-match-sonames libdunecommon-2.2.1 debian/libdune-common-2.2.1.install0000644000000000000000000000003511674205124014124 0ustar usr/lib/*/libdunecommon-*.so debian/copyright0000644000000000000000000001350312114225202011112 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: dune-common Source: http://www.dune-project.org/downloadsvn.html Files: * Copyright: 2003-2010 Peter Bastian 2004-2012 Markus Blatt 2011 Ansgar Burchardt 2004-2005 Adrian Burri 2006-2012 Andreas Dedner 2003 Marc Droske 2003-2012 Christian Engwer 2004-2012 Jorrit Fahlke 2008-2013 Bernd Flemisch 2005-2010 Carsten Gräser 2010-2012 Christoph Grüninger 2006 Bernhard Haasdonk 2012-2013 Olaf Ippisch 2009 Leonard Kern 2005-2007 Sreejith Pulloor Kuttanikkad 2003-2012 Robert Klöfkorn 2010-2011 Andreas Lauser 2007-2011 Sven Marnach 2012 Tobias Malkmus 2010 Rene Milk 2011-2012 Steffen Müthing 2003-2006 Thimo Neubauer 2011 Rebecca Neumann 2008-2012 Martin Nolte 2004-2005 Mario Ohlberger 2008-2012 Elias Pipping 2011 Dan Popovic 2009 Atgeirr Rasmussen 2003-2012 Oliver Sander 2006-2011 Uli Sack 2006 Klaus Schneider 2004 Roland Schulz 2009-2012 Bård Skaflestad 2012 Matthias Wohlmuth 2011 Jonathan Youett License: GPL-2 with DUNE exception Files: dune/common/exprtmpl.hh Copyright: 2005, Christian Engwer License: LGPL-2.1 Comment: Oversight from relicensing, see also Files: m4/acx_blas.m4 m4/acx_lapack.m4 m4/acx_mpi.m4 m4/acx_pthread.m4 Copyright: 2001-2005, Steven G. Johnson License: GPL-2+ with Autoconf Macro exception Comment: see older autoconf-archive packages Files: m4/ax_boost_base.m4 Copyright: 2008, Thomas Porschberg 2009, Peter Adolphs License: GNU-All-Permissive-License Files: m4/ax_check_gl.m4 m4/ax_lang_compiler_ms.m4 Copyright: 2004, Braden McDaniel License: GNU-All-Permissive-License Comment: see older autoconf-archive packages Files: m4/immdx_lib_metis.m4 Copyright: 2003, Ben Bergen License: GNU-All-Permissive-License Comment: see older autoconf-archive packages Files: m4/shared_ptr.m4 Copyright: 2009, Sun Microsystems License: SUN-All-Permissive-License Files: debian/* Copyright: 2011-2012, Ansgar Burchardt License: GPL-2 with DUNE exception License: GPL-2 with DUNE exception The DUNE library and headers are licensed under version 2 of the GNU General Public License, with a special exception for linking and compiling against DUNE, the so-called "runtime exception." The license is intended to be similar to the GNU Lesser General Public License, which by itself isn't suitable for a template library. . The exact wording of the exception reads as follows: . As a special exception, you may use the DUNE library without restriction. Specifically, if other files instantiate templates or use macros or inline functions from one or more of the DUNE source files, or you compile one or more of the DUNE source files and link them with other files to produce an executable, this does not by itself cause the resulting executable to be covered by the GNU General Public License. This exception does not however invalidate any other reasons why the executable file might be covered by the GNU General Public License. . This license clones the one of the libstdc++ library. . On Debian systems, the full text of the GNU General Public License version 2 can be found in the file `/usr/share/common-licenses/GPL-2'. License: GPL-2+ with Autoconf Macro exception This program 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 program 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 program. If not, see . . As a special exception, the respective Autoconf Macro's copyright owner gives unlimited permission to copy, distribute and modify the configure scripts that are the output of Autoconf when processing the Macro. You need not follow the terms of the GNU General Public License when using or distributing such scripts, even though portions of the text of the Macro appear in them. The GNU General Public License (GPL) does govern all other use of the material that constitutes the Autoconf Macro. . This special exception to the GPL applies to versions of the Autoconf Macro released by the Autoconf Archive. When you make and distribute a modified version of the Autoconf Macro, you may extend this special exception to the GPL to apply to your modified version as well. . On Debian systems, the full text of the GNU General Public License version 2 can be found in the file `/usr/share/common-licenses/GPL-2'. License: LGPL-2.1 This file is part of DUNE, a Distributed and Unified Numerics Environment. It is distributed under the terms of the GNU Lesser General Public License version 2.1. . On Debian systems, the full text of the GNU Lesser General Public License version 2.1 can be found in the file `/usr/share/common-licenses/LGPL-2.1'. License: GNU-All-Permissive-License Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved. License: SUN-All-Permissive-License This file is free software; Sun Microsystems gives unlimited permission to copy and/or distribute it, with or without modifications, as long as this notice is preserved.