[med-svn] [Git][med-team/ismrmrd][master] 3 commits: Make failing test passing by setting locale to C
Andreas Tille (@tille)
gitlab at salsa.debian.org
Sat Oct 18 12:44:55 BST 2025
Andreas Tille pushed to branch master at Debian Med / ismrmrd
Commits:
9d32ed12 by Andreas Tille at 2025-10-18T13:36:37+02:00
Make failing test passing by setting locale to C
- - - - -
acdc4718 by Andreas Tille at 2025-10-18T13:39:09+02:00
Soname bump to 1.14
- - - - -
5da1ad68 by Andreas Tille at 2025-10-18T13:42:53+02:00
Install all binaries
- - - - -
6 changed files:
- debian/changelog
- debian/control
- debian/ismrmrd-tools.install
- + debian/patches/locale.patch
- debian/patches/series
- debian/rules
Changes:
=====================================
debian/changelog
=====================================
@@ -8,6 +8,8 @@ ismrmrd (1.14.3-1) UNRELEASED; urgency=medium
* Standards-Version: 4.7.2 (routine-update)
* debputy lint --auto-fix (routine-update)
* Build-Depends: libboost-filesystem-dev
+ * Soname bump to 1.14
+ * Install all binaries
-- Andreas Tille <tille at debian.org> Sat, 18 Oct 2025 11:36:15 +0200
=====================================
debian/control
=====================================
@@ -23,7 +23,7 @@ Vcs-Git: https://salsa.debian.org/med-team/ismrmrd.git
Homepage: https://ismrmrd.github.io/
Rules-Requires-Root: no
-Package: libismrmrd1.8
+Package: libismrmrd1.14
Architecture: any
Multi-Arch: same
Section: libs
@@ -31,11 +31,11 @@ Depends:
${misc:Depends},
${shlibs:Depends},
Breaks:
- libismrmrd1.3,
libismrmrd1.7,
+ libismrmrd1.8,
Replaces:
- libismrmrd1.3,
libismrmrd1.7,
+ libismrmrd1.8,
Description: ISMRM Raw Data format (ISMRMRD)
The ISMRMRD format combines a mix of flexible data structures (XML header)
and fixed structures (equivalent to C-structs) to represent MRI data.
@@ -55,7 +55,7 @@ Depends:
${misc:Depends},
libhdf5-dev,
libpugixml-dev,
- libismrmrd1.8 (= ${binary:Version}),
+ libismrmrd1.14 (= ${binary:Version}),
Suggests:
libismrmrd-doc,
Description: development files for ISMRMRD
=====================================
debian/ismrmrd-tools.install
=====================================
@@ -1,5 +1 @@
-usr/bin/ismrmrd_generate_cartesian_shepp_logan
-usr/bin/ismrmrd_info
-usr/bin/ismrmrd_read_timing_test
-usr/bin/ismrmrd_recon_cartesian_2d
-usr/bin/ismrmrd_test_xml
+usr/bin
=====================================
debian/patches/locale.patch
=====================================
@@ -0,0 +1,17 @@
+Author: Andreas Tille <tille at debian.org>
+Last-Update: 2025-10-18
+Description: Make failing test passing by setting locale to C
+ ( export LC_ALL=en_US.UTF-8 in d/rules does not solve the problem )
+
+
+--- a/tests/test_xml_header.cpp
++++ b/tests/test_xml_header.cpp
+@@ -53,7 +53,7 @@ BOOST_AUTO_TEST_CASE(test_xml_header_loc
+ serialize(header, stream1);
+
+ std::stringstream stream2;
+- std::locale::global(std::locale("en_US.UTF-8"));
++ std::locale::global(std::locale("C"));
+ serialize(header, stream2);
+
+ std::locale::global(original_locale);
=====================================
debian/patches/series
=====================================
@@ -2,3 +2,4 @@ Disable-HTML-timestamps.patch
Add-support-for-multiarch.patch
remove-travis-build-status.patch
add_static_lib.patch
+locale.patch
=====================================
debian/rules
=====================================
@@ -4,6 +4,8 @@
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
+export LC_ALL=en_US.UTF-8
+
# Hardening flags.
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic
View it on GitLab: https://salsa.debian.org/med-team/ismrmrd/-/compare/60517f1752e1839e2b4d6652af8e420ef6c76e65...5da1ad68cc9c317180290650c8832c7781528607
--
View it on GitLab: https://salsa.debian.org/med-team/ismrmrd/-/compare/60517f1752e1839e2b4d6652af8e420ef6c76e65...5da1ad68cc9c317180290650c8832c7781528607
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20251018/15e28220/attachment-0001.htm>
More information about the debian-med-commit
mailing list