Debian Patches

Status for gtsam/4.2.0+dfsg-1

Patch Description Author Forwarded Bugs Origin Last update
0001-Added-forgotten-usepackage-in-CodingGuidelines.lyx.patch Added forgotten \usepackage in CodingGuidelines.lyx Dima Kogan <dima@secretsauce.net> no 2023-02-11
0002-I-m-explicitly-not-touching-anything-in-3rdparty.patch I'm explicitly not touching anything in 3rdparty/
Since it doesn't exist for a packaged build
Dima Kogan <dima@secretsauce.net> no 2023-02-11
0003-Using-the-system-pybind11.patch Using the system pybind11 Dima Kogan <dima@secretsauce.net> no 2023-02-11
0004-I-m-explicitly-specifying-the-linker-language-for-gt.patch I'm explicitly specifying the linker language for gtsam
For whatever reason CMake cannot figure this out and I need to do it manually
Dima Kogan <dima@secretsauce.net> no 2023-02-11
0005-No-CPack-stuff.patch No CPack stuff
I'm building the package myself, without CMake
Dima Kogan <dkogan@debian.org> no 2023-02-11
0006-Interface-to-SPECTRA-updated-to-1.0.patch Interface to SPECTRA updated to 1.0
The migration notes are here:

https://github.com/yixuan/spectra/blob/master/MIGRATION.md
Dima Kogan <dkogan@debian.org> no 2023-02-11
0007-removed-stuff-using-ceres-autodiff.patch removed stuff using ceres autodiff Dima Kogan <dkogan@debian.org> no 2023-02-11
0008-examples-don-t-need-gtsam_unstable.patch examples don't need gtsam_unstable
They really don't. CMake requiring it wasn't needed
Dima Kogan <dkogan@debian.org> no 2023-02-12
0009-Require-boost-1.67.patch Require boost >= 1.67 Frank Dellaert <dellaert@gmail.com> no 2023-02-12
0010-dont-install-pybind11.patch diff --git a/wrap/CMakeLists.txt b/wrap/CMakeLists.txt
index 2a11a76..a1a2e43 100644
no
source-dir-not-included-in-deployed-sources.patch diff --git a/gtsam/config.h.in b/gtsam/config.h.in
index d47329a..cd18947 100644
no
Fixed-Python-test-failures.patch [PATCH] Fixed Python test failures
Disabled two benign-looking checks that failed like this:

======================================================================
ERROR: test_Asia (test_DiscreteBayesNet.TestDiscreteBayesNet.test_Asia)
Test full Asia example.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/mnt/nvm/gtsam/obj-x86_64-linux-gnu/python/gtsam/tests/test_DiscreteBayesNet.py", line 113, in test_Asia
self.assertEqual(len(actualSample), 8)
^^^^^^^^^^^^^^^^^
TypeError: __len__(): incompatible function arguments. The following argument types are supported:
1. (self: Dict[int, int]) -> int

Invoked with: DiscreteValues{0: 1, 1: 1, 2: 1, 3: 0, 4: 1, 5: 1, 6: 1, 7: 0}

======================================================================
ERROR: test_fragment (test_DiscreteBayesNet.TestDiscreteBayesNet.test_fragment)
Test evaluate/sampling/optimizing for Asia fragment.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/mnt/nvm/gtsam/obj-x86_64-linux-gnu/python/gtsam/tests/test_DiscreteBayesNet.py", line 131, in test_fragment
self.assertEqual(len(values), 5)
^^^^^^^^^^^
TypeError: __len__(): incompatible function arguments. The following argument types are supported:
1. (self: Dict[int, int]) -> int

Invoked with: DiscreteValues{0: 0, 3: 0, 4: 0, 5: 0, 6: 0}
Dima Kogan <dkogan@debian.org> no 2023-08-10
no-optimization-or-debug-flags-in-python-bindings.patch diff --git a/wrap/cmake/PybindWrap.cmake b/wrap/cmake/PybindWrap.cmake
index 2008bf2..ec00613 100644
no
fixed-build-on-i386-and-armhf.patch diff --git a/gtsam/linear/tests/testSparseEigen.cpp b/gtsam/linear/tests/testSparseEigen.cpp
index 39c4f37..c195b78 100644
no
0001-Fix-JacobianFactor-and-HessianFactor-on-platforms-wh.patch [PATCH 1/3] Fix JacobianFactor and HessianFactor on platforms where Eigen::Index is not the same size as gtsam::Key

Fix JacobianFactor and HessianFactor on platforms where Eigen::Index is not the same size as gtsam::Key

Eigen::Index is defined as std::ptrdiff_t (size_t), which is not always the same size as gtsam::Key (uint64)
ShuangLiu1992 <ShuangLiu1992@users.noreply.github.com> no 2023-04-29
0002-Update-HessianFactor.cpp.patch [PATCH 2/3] Update HessianFactor.cpp
Fix JacobianFactor and HessianFactor on platforms where Eigen::Index is not the same size as gtsam::Key

Eigen::Index is defined as std::ptrdiff_t (size_t), which is not always the same size as gtsam::Key (uint64)
ShuangLiu1992 <ShuangLiu1992@users.noreply.github.com> no 2023-04-29
0003-Update-HessianFactor.cpp.patch [PATCH 3/3] Update HessianFactor.cpp
add static_cast to make compiler happy
ShuangLiu1992 <ShuangLiu1992@users.noreply.github.com> no 2023-04-29
temporarily-disabled-test-for-built-on-32bit-arches.patch diff --git a/gtsam/symbolic/tests/testSymbolicFactorGraph.cpp b/gtsam/symbolic/tests/testSymbolicFactorGraph.cpp
index 8d5885d..b1b830b 100644
no
fix-got-overflow-in-mips64el.patch =================================================================== no
0001-Relax-unit-test-thresholds-to-fix-32bit-issues.patch [PATCH] Relax unit test thresholds to fix 32bit issues
Use a conditional threshold depending on architecture
Jose Luis Blanco-Claraco <joseluisblancoc@gmail.com> no 2023-09-05
include-bitset-for-compatibility-with-boost-1.83.patch diff --git a/gtsam/hybrid/tests/testHybridEstimation.cpp b/gtsam/hybrid/tests/testHybridEstimation.cpp
index a0195d0..74e54f3 100644
no

All known versions for source package 'gtsam'

Links