Commit ef3f3bc3 authored by Ansgar Burchardt's avatar Ansgar Burchardt
Browse files

Initial import.

parents
dune-common (2.2~svn6573-0~ab1) unstable; urgency=low
* WORK IN PROGRESS
* Initial release. (Closes: #661823)
-- Ansgar Burchardt <ansgar@debian.org> Thu, 01 Mar 2012 22:39:13 +0100
doc/buildsystem/buildsystem.pdf
Source: dune-common
Section: libs
Priority: optional
Standards-Version: 3.9.3
Maintainer: Ansgar Burchardt <ansgar@debian.org>
Uploaders: Oliver Sander <sander@mi.fu-berlin.de>
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.2svn (= ${binary:Version})
Pre-Depends: dpkg (>= 1.15.6)
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
Depends: ${misc:Depends}, ${shlibs:Depends}, libdune-common-2.2svn (= ${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.2svn
Architecture: any
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.
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 Bernd Flemisch
2005-2010 Carsten Gräser
2010-2012 Christoph Grüninger
2006 Bernhard Haasdonk
2009 Leonard Kern
2005-2007 Sreejith Pulloor Kuttanikkad
2003-2012 Robert Klöfkorn
2010-2011 Andreas Lauser
2007-2011 Sven Marnach
2010 Rene Milk
2011 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-2011 Bård Skaflestad
2011 Jonathan Youett
License: GPL-2 with DUNE exception
Files: debian/*
Copyright: 2011, Ansgar Burchardt <ansgar.burchardt@iwr.uni-heidelberg.de>
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'.
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
usr/lib/*/libdunecommon-*.so
# I prefer libdune-common as the module is named dune-common upstream.
# -- ansgar 2012-03-01
libdune-common-2.2svn: package-name-doesnt-match-sonames libdunecommon-2.2svn
usr/bin
usr/include
usr/lib/*/dunecontrol usr/lib
usr/lib/*/dunemodules.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
usr/share/doc/dune-common/* usr/share/doc/libdune-common-doc
--- dune-common.orig/bin/dune-autogen
+++ dune-common/bin/dune-autogen
@@ -68,6 +68,9 @@
echo "Found am directory $OPT/am"
am_dir="$OPT/am"
fi
+ if test -d "$OPT/share/dune/aclocal"; then
+ ACLOCAL_FLAGS="$ACLOCAL_FLAGS -I $OPT/share/dune/aclocal"
+ fi
if test -d "$OPT/share/aclocal"; then
ACLOCAL_FLAGS="$ACLOCAL_FLAGS -I $OPT/share/aclocal"
fi
--- dune-common.orig/bin/dunecontrol
+++ dune-common/bin/dunecontrol
@@ -378,6 +378,9 @@
if test -d "$path/m4"; then
ACLOCAL_FLAGS="$ACLOCAL_FLAGS -I $path/m4"
fi
+ if test -d "$path/share/dune/aclocal"; then
+ ACLOCAL_FLAGS="$ACLOCAL_FLAGS -I $path/share/dune/aclocal"
+ fi
if test -d "$path/share/aclocal"; then
ACLOCAL_FLAGS="$ACLOCAL_FLAGS -I $path/share/aclocal"
fi
--- 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
--- dune-common.orig/bin/dunecontrol
+++ dune-common/bin/dunecontrol
@@ -886,7 +886,7 @@
done > "$RESUME_FILE"
fi
- for mod in $MODULES; do
+ for mod in $BUILDMODULES; do
build_module "$mod" "$@"
if test -n "$RESUME_FILE"; then
soname.patch
dune-autogen.patch
aclocal.patch
--- 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
#! /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:
dh_auto_install
mv debian/tmp/usr/bin/mpi-config debian/tmp/usr/bin/dune-mpi-config
sed -i "s,\$$PREFIX_DIR/lib,/usr/lib/$(DEB_HOST_MULTIARCH)," debian/tmp/usr/bin/dunecontrol
sed -i "s,/usr/lib/dunecontrol/,& /usr/lib/$(DEB_HOST_MULTIARCH)/dunecontrol/," debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/dunemodules.lib
override_dh_strip:
dh_strip --dbg-package=libdune-common-dbg
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment