Package: dune-common / 2.10.0-5

Metadata

Package Version Patches format
dune-common 2.10.0-5 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
install cmake config to lib headerless | (download)

cmake/modules/DuneAddLibrary.cmake | 3 2 + 1 - 0 !
cmake/modules/DuneProject.cmake | 12 10 + 2 - 0 !
2 files changed, 12 insertions(+), 3 deletions(-)

 install cmake config of header-only module in /usr/lib/cmake
 Needed to make it work in multiarch settings.
install pkgconfig without lib for cross compile | (download)

cmake/modules/DuneProject.cmake | 7 6 + 1 - 0 !
1 file changed, 6 insertions(+), 1 deletion(-)

---
fix linitian file references package build path downstream | (download)

cmake/modules/DuneProject.cmake | 10 5 + 5 - 0 !
1 file changed, 5 insertions(+), 5 deletions(-)

---
fix linitian file references package build path | (download)

cmake/modules/DuneProject.cmake | 5 5 + 0 - 0 !
1 file changed, 5 insertions(+)

---
soname.patch | (download)

cmake/modules/DuneAddLibrary.cmake | 9 8 + 1 - 0 !
1 file changed, 8 insertions(+), 1 deletion(-)

 [patch 2/2] always add an soversion to the library.


disable long double eigenvalue checks.patch | (download)

dune/common/test/eigenvaluestest.cc | 10 5 + 5 - 0 !
1 file changed, 5 insertions(+), 5 deletions(-)

---
do not install python scripts.patch | (download)

bin/CMakeLists.txt | 7 7 + 0 - 0 !
1 file changed, 7 insertions(+)

---
duneproject simulators is alias for models | (download)

bin/duneproject | 3 3 + 0 - 0 !
1 file changed, 3 insertions(+)

 make duneproject aware that opm-models is merged with opm-simulators
 This is needed to kepp autopkgtests  from testing working. Can safely be
 removed laters
dunecontrol Module without CMakeLists.txt next to du.patch | (download)

lib/dunemodules.lib | 6 6 + 0 - 0 !
1 file changed, 6 insertions(+)

 [patch] [dunecontrol] module without cmakelists.txt next to
 dune.module is installed

The decision whether a module is installed is usually based on whether
pkgconfig was able to find it. If the DUNE module does not ship  a
pkgconf file or pkgconf is missing, then dunecontrol tries to build
this installed modules, too. That fails miserably.

With this commit we add a check at the end that checks whether
there is a CMakeLists.txt file in the source directory of the
module. This directory is where the dune.module file was found. If
there is none we also assume that the module is installed and do not
try to build it.

dunecontrol Skip directories without CMake config fi.patch | (download)

bin/dunecontrol | 23 13 + 10 - 0 !
1 file changed, 13 insertions(+), 10 deletions(-)

 [patch] [dunecontrol] skip directories without cmake config files for
 module_DIR

find_package(module) will fail if the directory set with module_DIR
does not contain CMake configuration file.

Hence the current approach requires that there are pkgconfig files
installed and found for each module to be used.

With this change we fall back to installed modules if the directory
does not contain any Cmake configuration files.

This fixes problems with using OPM as DUNE modules (in Debian) which
stopped shipping broken pkgconf file 2023-09

Use GNU extension flag to activate quadmath automati.patch | (download)

cmake/modules/FindQuadMath.cmake | 7 0 + 7 - 0 !
1 file changed, 7 deletions(-)

 [patch] use gnu-extension flag to activate quadmath automatically