Sebastien Jodogne pushed to branch master at Debian Med / orthanc-wsi
Commits: fbb5c033 by jodogne-guest at 2025-12-02T10:41:23+01:00 preparing for 3.3+dfsg-2 - - - - - 5209c550 by jodogne-guest at 2025-12-02T10:51:13+01:00 Upload to unstable - - - - - 3 changed files: - debian/changelog - + debian/patches/framework - debian/patches/series Changes: ===================================== debian/changelog ===================================== @@ -1,3 +1,9 @@ +orthanc-wsi (3.3+dfsg-2) unstable; urgency=medium + + * Fix compatibility with Orthanc framework >= 1.12.10. Closes: #1121713 + + -- Sebastien Jodogne <[email protected]> Tue, 02 Dec 2025 10:39:56 +0100 + orthanc-wsi (3.3+dfsg-1) unstable; urgency=medium * New upstream version ===================================== debian/patches/framework ===================================== @@ -0,0 +1,25 @@ +Description: Fix compatibility with Orthanc framework >= 1.12.10 +Author: Sebastien Jodogne <[email protected]> +Forwarded: https://orthanc.uclouvain.be/hg/orthanc-wsi/rev/4fa295cdb6d8 +--- +This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ +Index: OrthancWSI-3.3/Framework/Outputs/MultiframeDicomWriter.cpp +=================================================================== +--- OrthancWSI-3.3.orig/Framework/Outputs/MultiframeDicomWriter.cpp ++++ OrthancWSI-3.3/Framework/Outputs/MultiframeDicomWriter.cpp +@@ -337,8 +337,14 @@ namespace OrthancWSI + + Orthanc::IDicomTranscoder::DicomImage transcoded; + ++#if ORTHANC_FRAMEWORK_VERSION_IS_ABOVE(1, 12, 10) ++ const Orthanc::TranscodingSopInstanceUidMode allowNewSopInstanceUid = Orthanc::TranscodingSopInstanceUidMode_AllowNew; ++#else ++ const bool allowNewSopInstanceUid = true; ++#endif ++ + Orthanc::DcmtkTranscoder transcoder(1); +- if (transcoder.Transcode(transcoded, source, s, true)) ++ if (transcoder.Transcode(transcoded, source, s, allowNewSopInstanceUid)) + { + ResetImage(); + SaveDicomToMemory(target, transcoded.GetParsed(), transferSyntax_); ===================================== debian/patches/series ===================================== @@ -1 +1,2 @@ cmake +framework View it on GitLab: https://salsa.debian.org/med-team/orthanc-wsi/-/compare/5371fc4e97e2d7cd258aee13bdeaf0bb7be84eaa...5209c5506dfc389a9f06ec4be0363e01b09d6b55 -- View it on GitLab: https://salsa.debian.org/med-team/orthanc-wsi/-/compare/5371fc4e97e2d7cd258aee13bdeaf0bb7be84eaa...5209c5506dfc389a9f06ec4be0363e01b09d6b55 You're receiving this email because of your account on salsa.debian.org.
_______________________________________________ debian-med-commit mailing list [email protected] https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-med-commit
