Debian Patches

Status for mrcal/2.5-3

Patch Description Author Forwarded Bugs Origin Last update
0001-loosened-tests-to-make-stuff-pass-on-more-architectu.patch [PATCH 1/2] loosened tests to make stuff pass on more architectures
I saw Debian buildd failures on multiple architectures
Dima Kogan <dima@secretsauce.net> yes 2025-12-28
0002-When-loading-data-from-optimization_inputs-I-match-t.patch [PATCH 2/2] When loading data from optimization_inputs, I match the endianness

This isn't needed for the Python code (numpy knows the dtype of everything), but
the C code expects native types. This is required when reading the
optimization_inputs from data on disk. The Debian buildd for s390x had a failed
test because of this
Dima Kogan <dima@secretsauce.net> yes 2025-12-28
0002-I-ship-mrcal-show-model-resolution-mrcal-show-stereo.patch [PATCH 2/7] I ship mrcal-show-model-resolution,mrcal-show-stereo-pair-diff

This was forgotten
Dima Kogan <dima@secretsauce.net> no 2025-12-29
0005-Added-test-python-cameramodel-converter.py.patch [PATCH 5/7] Added test-python-cameramodel-converter.py Dima Kogan <dima@secretsauce.net> no 2025-12-29
0006-python-cameramodel-converter.c-doesn-t-use-PyTuple-m.patch [PATCH 6/7] python-cameramodel-converter.c doesn't use PyTuple macros
Specifically this patch does PyTuple_GET_ITEM -> PyTuple_GetItem. This is linked
into libmrcal.so WITHOUT creating a strong linkage. So libmrcal.so does NOT have
a NEEDED tag into libpython.so. This is intentional. However this also means
that any ABI details encoded in macros get tied into the code compiled into
libmrcal.so without anything to denote that this is ABI-specific. Here I was
building libmrcal.so with python3.14 and running with python3.13 (or maybe the
other way around...) There was a change regarding the layout of PyTupleObject,
so the PyTuple_GET_ITEM() implementation that was fixed at compile time was now
wrong. Using the function call always does the right thing
Dima Kogan <dima@secretsauce.net> no 2025-12-30
0007-fixed-function-misname-in-pywrap.patch [PATCH 7/7] fixed function misname in pywrap Dima Kogan <dima@secretsauce.net> no 2025-12-30

All known versions for source package 'mrcal'

Links