Debian Patches

Status for siconos/4.4.0+dfsg-4

Patch Description Author Forwarded Bugs Origin Last update
remove-youtube-links-in-documentation.patch Remove youtube links in documentation.
Privacy concerns.
Stephen Sinclair <radarsat1@gmail.com> no 2020-06-07
siconos-cmake-version.patch Hardcode cmake version checks in siconos script
Since we know the version of cmake, no need to check it at runtime, so
we can remove a dependency on setuptools.
Stephen Sinclair <radarsat1@gmail.com> no 2020-06-07
remove-required-components-check.patch Remove required components check.
Installed CMake target checks assume all components are installed,
which forbids breaking them up into different packages, this patch
causes targets to only check their own libraries.
Stephen Sinclair <radarsat1@gmail.com> no 2020-06-07
is-with-literal.patch Fix a Python warning about 'is' with a literal. Stephen Sinclair <radarsat1@gmail.com> no 2020-06-07
breathe-node-factory.patch breathe-node-factory Debian Science Maintainers no 2020-08-26
import-command-from-distutils.core.patch Import Command from distutils.core Stephen Sinclair <radarsat1@gmail.com> no 2020-09-02
prefer-config-for-Boost.patch Prefer config for Boost.
Suppresses a warning which breaks autopkgtest:

CMake Warning at /usr/share/cmake-3.18/Modules/FindBoost.cmake:1187 (message):
New Boost version may have incorrect or missing dependencies and
imported targets
Stephen Sinclair <radarsat1@gmail.com> no 2020-11-28
0008-Patch-to-remove-det-due-to-missing-copyright.patch Patch to remove det() due to missing copyright. Stephen Sinclair <radarsat1@gmail.com> no 2019-02-26
0009-Add-serialization-support-for-rolling-fc-problems.patch Add serialization support for rolling fc problems. Stephen Sinclair <radarsat1@gmail.com> no 2021-10-24
0010-Missing-backslash-causes-serializer-not-to-be-genera.patch Missing backslash causes serializer not to be generated for FirstOrderNonLinearDS. Stephen Sinclair <radarsat1@gmail.com> no 2021-10-24
0011-Fix-GlobalRollingFrictionContactProblem-serializatio.patch Fix GlobalRollingFrictionContactProblem serialization. Stephen Sinclair <radarsat1@gmail.com> no 2021-10-24
0012-cmake-increment-version-and-ABI-version.patch [cmake] increment version and ABI version
From commit fe92922a0b3166988727c3e6d9a7bc6b9bd393e7 of upstream
repository after release.
Stephen Sinclair <radarsat1@gmail.com> no 2021-10-25
0013-Fix-vview-vtk9.patch Fix vview for vtk9
From commit bb1e2ed5ff5d701dd62b542f7afae13dcd3df026 of upstream
repository after release.
Stephen Sinclair <radarsat1@gmail.com> no 2022-09-08
0014-add-some-version-check-and-clear.patch Fix crash in QPConvex test
From a commit of upstream repository after release.

commit 88e449bd1ad9ebcbcae2e3d466656d82efdc42c2

[numerics] add some version check & clear on top of some NM_*

diff --git a/numerics/src/tools/NumericsMatrix.c b/numerics/src/tools/NumericsMatrix.c
index a957e4726..6beeb757b 100644
Maurice Bremond <Maurice.Bremond@inria.fr> no 2022-09-12
0015-exclude-tests-from-python-install.patch Patch to exclude tests from Python install.
The Python install includes a `tests` module which is only useful for development. In
particular the file `tests_setup.py` gets included, which is generated by CMake and
contains the full source path in its `working_dir` variable, which harms reproducibility.
Rather than fix this to a relative path, this patch elects to just remove this file from
the package, as it is not needed for regular Siconos usage. It does so by not installing
any tests during the setuptools build phase.

diff --git a/wrap/setup.py.in b/wrap/setup.py.in
index 8be63b5..4f2b69a 100644
Stephen Sinclair <radarsat1@gmail.com> no 2022-09-14
0016-remove-hairer-write-statements.patch Patch to remove write statements from Fortran code.
For reasons unknown, it appears that if ANY "write" statements appear in a Fortran source
file, then the resulting object file contains a string in the `.rodata` section with the
path to the source file, which harms reproducibility. This is despite the correct usage
of `-ffile-prefix-map` during compilation, so it could be a bug in the Fortran compiler.
In any case, removing the write statements fixes the issue, though it may suppress useful
error messages.

diff --git a/externals/hairer/hem5.f b/externals/hairer/hem5.f
index 7f2b6f5..dd490cb 100644
Stephen Sinclair <radarsat1@gmail.com> no 2022-09-14
0017-remove-swig-py3-arg.patch Remove -py3 argument to swig.
This option is no longer supported and throws an error.
Stephen Sinclair <radarsat1@gmail.com> no 2023-01-05
0018-remove-swig-with-serialization.patch commit 95236a083d49be71df8b35ee73e1788b01704fce

Do not set WITH_SERIALIZATION as an option to swig.

Swig 4.0 complains that it is already defined in SiconosConfig.h.

diff --git a/wrap/CMakeLists.txt b/wrap/CMakeLists.txt
index fd6865e..71715e8 100644
Stephen Sinclair <radarsat1@gmail.com> no 2023-01-05
0019-include-picklable-where-it-is-needed.patch commit 312668c16916d59af137076ba4a6e4294afeb8d7

Include picklable.i where it is needed.

diff --git a/wrap/swig/KernelTypes.i b/wrap/swig/KernelTypes.i
index 380b9a9..23b1e7d 100644
Stephen Sinclair <radarsat1@gmail.com> no 2023-01-05
0020-fix-deprecated-np-float.patch commit 734691367a47863bb7ce5788cff938e56cbb56bf

Fix use of deprecated "np.float".

diff --git a/numerics/swig/tests/test_linalg.py b/numerics/swig/tests/test_linalg.py
index 636f944..88fb97c 100644
Stephen Sinclair <radarsat1@gmail.com> no 2023-01-10
suitesparse7.patch Fix FTBFS against suitesparse 7 In SuiteSparse 7.1.0, CXSparse now unconditionally enables the complex number
support. In particular, cs.h now unconditonally includes <complex.h>.
But "I" is a preprocessor macro when <complex.h> is included, and this
conflicts with names used inside siconos and boost. So undefine that macro.
Sbastien Villemot <sebastien@debian.org> no debian 2023-07-18
python3.12.patch Just remove unneeded `import imp` to gain Python3.12 compatibility Andreas Tille <tille@debian.org> no debian 2024-02-20

All known versions for source package 'siconos'

Links