Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package gdcm for openSUSE:Factory checked in 
at 2023-03-09 17:45:42
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/gdcm (Old)
 and      /work/SRC/openSUSE:Factory/.gdcm.new.31432 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "gdcm"

Thu Mar  9 17:45:42 2023 rev:18 rq:1070266 version:3.0.21

Changes:
--------
--- /work/SRC/openSUSE:Factory/gdcm/gdcm.changes        2022-12-05 
18:01:02.292528341 +0100
+++ /work/SRC/openSUSE:Factory/.gdcm.new.31432/gdcm.changes     2023-03-09 
17:45:55.550967266 +0100
@@ -1,0 +2,8 @@
+Wed Mar  8 19:24:05 UTC 2023 - Dirk Müller <dmuel...@suse.com>
+
+- update to 3.0.21:
+  * handle MFSPLIT case from SIEMENS
+  * Tweak a bit the logic for legacy PMS handling
+  * Make it available for more storage class  
+
+-------------------------------------------------------------------

Old:
----
  gdcm-3.0.20.tar.bz2

New:
----
  gdcm-3.0.21.tar.bz2

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ gdcm.spec ++++++
--- /var/tmp/diff_new_pack.3jF57p/_old  2023-03-09 17:45:56.114970268 +0100
+++ /var/tmp/diff_new_pack.3jF57p/_new  2023-03-09 17:45:56.118970290 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package gdcm
 #
-# Copyright (c) 2022 SUSE LLC
+# Copyright (c) 2023 SUSE LLC
 # Copyright (c) 2019-2022 Dr. Axel Braun
 #
 # All modifications and additions to the file contributed by third parties
@@ -20,7 +20,7 @@
 %define         soname  3_0
 %define         libsocksoname  libsocketxx1_2
 Name:           gdcm
-Version:        3.0.20
+Version:        3.0.21
 Release:        0
 Summary:        C++ library to parse DICOM medical files
 License:        BSD-3-Clause

++++++ gdcm-3.0.20.tar.bz2 -> gdcm-3.0.21.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/gdcm-3.0.20/.github/workflows/c-cpp.yml 
new/gdcm-3.0.21/.github/workflows/c-cpp.yml
--- old/gdcm-3.0.20/.github/workflows/c-cpp.yml 2022-11-15 11:36:18.000000000 
+0100
+++ new/gdcm-3.0.21/.github/workflows/c-cpp.yml 2023-01-27 08:44:07.000000000 
+0100
@@ -19,7 +19,7 @@
         submodules: true
         fetch-depth: 2
     - name: configure
-      run: cmake -DGDCM_BUILD_DOCBOOK_MANPAGES:BOOL=OFF 
-DCMAKE_BUILD_TYPE:STRING=None -B build
+      run: cmake -DGDCM_BUILD_SHARED_LIBS=ON 
-DGDCM_BUILD_DOCBOOK_MANPAGES:BOOL=OFF -DCMAKE_BUILD_TYPE:STRING=None -B build
     - name: make
       run: cmake --build build
     - name: make check
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/gdcm-3.0.20/CMakeLists.txt 
new/gdcm-3.0.21/CMakeLists.txt
--- old/gdcm-3.0.20/CMakeLists.txt      2022-11-15 11:36:18.000000000 +0100
+++ new/gdcm-3.0.21/CMakeLists.txt      2023-01-27 08:44:07.000000000 +0100
@@ -17,7 +17,7 @@
 #----------------------------------------------------------------------------
 
 project(GDCM
-  VERSION 3.0.20
+  VERSION 3.0.21
   LANGUAGES CXX C
 )
 ## NOTE: the "DESCRIPTION" feature of project() was introduced in cmake 3.10.0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/gdcm-3.0.20/Source/MediaStorageAndFileFormat/gdcmImageHelper.cxx 
new/gdcm-3.0.21/Source/MediaStorageAndFileFormat/gdcmImageHelper.cxx
--- old/gdcm-3.0.20/Source/MediaStorageAndFileFormat/gdcmImageHelper.cxx        
2022-11-15 11:36:18.000000000 +0100
+++ new/gdcm-3.0.21/Source/MediaStorageAndFileFormat/gdcmImageHelper.cxx        
2023-01-27 08:44:07.000000000 +0100
@@ -1174,7 +1174,7 @@
         interceptslope[1] = el_rs.GetValue();
         if( interceptslope[1] == 0 )
           interceptslope[1] = 1;
-        gdcmWarningMacro( "PMS Modality LUT loaded for MR Image Storage: [" << 
interceptslope[0] << "," << interceptslope[1] << "]" );
+        gdcmDebugMacro( "PMS Modality LUT loaded for MR Image Storage: [" << 
interceptslope[0] << "," << interceptslope[1] << "]" );
       }
       }
     else
@@ -1182,8 +1182,13 @@
       std::vector<double> dummy(2);
       if( GetRescaleInterceptSlopeValueFromDataSet(ds, dummy) )
         {
-        // for everyone else, read your DCS, and set: 
ForceRescaleInterceptSlope = true if needed
-        gdcmDebugMacro( "Modality LUT unused for MR Image Storage: [" << 
dummy[0] << "," << dummy[1] << "]" );
+        if(dummy[0] != 0 || dummy[1] != 1) {
+        // SIEMENS is sending MFSPLIT with Modality LUT
+       // Case is: MAGNETOM Prisma / syngo MR XA30A with MFSPLIT
+        interceptslope[0] = dummy[0];
+        interceptslope[1] = dummy[1];
+        gdcmWarningMacro( "Forcing Modality LUT used for MR Image Storage: [" 
<< dummy[0] << "," << dummy[1] << "]" );
+        }
         }
       }
 #endif
@@ -2477,7 +2482,7 @@
   ms.SetFromFile(f);
   const DataSet& ds = f.GetDataSet();
 
-  if( ms == MediaStorage::MRImageStorage )
+  if( ms == MediaStorage::MRImageStorage || ms == 
MediaStorage::NuclearMedicineImageStorage )
   {
          const Tag trwvms(0x0040,0x9096); // Real World Value Mapping Sequence
          if( ds.FindDataElement( trwvms ) )

Reply via email to