From 7435936ade46ff0e088fba7278b547beb9c14fd9 Mon Sep 17 00:00:00 2001 From: wolfi-bot <121097084+wolfi-bot@users.noreply.github.com> Date: Thu, 11 Sep 2025 13:55:19 +0000 Subject: [PATCH 1/3] gdcm/3.2.1 package update Signed-off-by: wolfi-bot <121097084+wolfi-bot@users.noreply.github.com> --- gdcm.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gdcm.yaml b/gdcm.yaml index 3fa1cf749951..ac47515048bf 100644 --- a/gdcm.yaml +++ b/gdcm.yaml @@ -1,7 +1,7 @@ package: name: gdcm - version: "3.1.0" - epoch: 1 + version: "3.2.1" + epoch: 0 description: "Grassroots DICOM Gdcm, Cross-platform DICOM implementation library for C++" copyright: - license: BSD-3-Clause @@ -17,7 +17,7 @@ pipeline: with: repository: https://github.com/malaterre/GDCM tag: v${{package.version}} - expected-commit: 917a96c8f4d63f2a30ac3a52f31d90127c2d6607 + expected-commit: ad32c84455296a204192342dd0fa03bcbfaed479 # This patch Fixes "missing header" # Without the header, leads to compilation failures since upstream code uses std::numeric_limits functions. From cd019abadf25d5a0476faccb13cb5841ee9eeae8 Mon Sep 17 00:00:00 2001 From: Joshua Powers Date: Fri, 12 Sep 2025 13:13:33 -0600 Subject: [PATCH 2/3] fix: Remove unecessary patch Signed-off-by: Joshua Powers --- gdcm.yaml | 6 ------ gdcm/numeric-limits.patch | 10 ---------- 2 files changed, 16 deletions(-) delete mode 100644 gdcm/numeric-limits.patch diff --git a/gdcm.yaml b/gdcm.yaml index ac47515048bf..f97ff0908b35 100644 --- a/gdcm.yaml +++ b/gdcm.yaml @@ -19,12 +19,6 @@ pipeline: tag: v${{package.version}} expected-commit: ad32c84455296a204192342dd0fa03bcbfaed479 - # This patch Fixes "missing header" - # Without the header, leads to compilation failures since upstream code uses std::numeric_limits functions. - - uses: patch - with: - patches: numeric-limits.patch - - uses: cmake/configure with: opts: | diff --git a/gdcm/numeric-limits.patch b/gdcm/numeric-limits.patch deleted file mode 100644 index 72fe504bdd81..000000000000 --- a/gdcm/numeric-limits.patch +++ /dev/null @@ -1,10 +0,0 @@ -// limits header is not included in upstream ---- a/Source/MediaStorageAndFileFormat/gdcmImageChangePhotometricInterpretation.h -+++ b/Source/MediaStorageAndFileFormat/gdcmImageChangePhotometricInterpretation.h -@@ -16,6 +16,7 @@ - - #include "gdcmImageToImageFilter.h" - #include "gdcmPhotometricInterpretation.h" -+#include - - namespace gdcm From 6dbf8424b77db4fcbaa6a2d9b787dadb0e6b8725 Mon Sep 17 00:00:00 2001 From: Daniel Watkins Date: Mon, 15 Sep 2025 11:56:55 -0400 Subject: [PATCH 3/3] gdcm: remove hardcoding of version in tests --- gdcm.yaml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/gdcm.yaml b/gdcm.yaml index f97ff0908b35..7895d9c99100 100644 --- a/gdcm.yaml +++ b/gdcm.yaml @@ -12,6 +12,12 @@ environment: - build-base - busybox +var-transforms: + - from: ${{package.version}} + match: ^(\d+\.\d+)\.\d+$ + replace: "$1" + to: major-minor-version + pipeline: - uses: git-checkout with: @@ -74,7 +80,7 @@ test: } EOF - g++ -I/usr/include/gdcm-3.1 -o test_gdcm test_gdcm.cpp -lgdcmDSED -lgdcmMSFF -lgdcmCommon -lgdcmDICT -lgdcmIOD -lgdcmzlib + g++ -I/usr/include/gdcm-${{vars.major-minor-version}} -o test_gdcm test_gdcm.cpp -lgdcmDSED -lgdcmMSFF -lgdcmCommon -lgdcmDICT -lgdcmIOD -lgdcmzlib ./test_gdcm update: