Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package orthanc-ohif for openSUSE:Factory 
checked in at 2025-05-08 18:23:36
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/orthanc-ohif (Old)
 and      /work/SRC/openSUSE:Factory/.orthanc-ohif.new.30101 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "orthanc-ohif"

Thu May  8 18:23:36 2025 rev:8 rq:1275491 version:1.6

Changes:
--------
--- /work/SRC/openSUSE:Factory/orthanc-ohif/orthanc-ohif.changes        
2025-01-20 17:14:57.395138048 +0100
+++ /work/SRC/openSUSE:Factory/.orthanc-ohif.new.30101/orthanc-ohif.changes     
2025-05-08 18:26:12.815566073 +0200
@@ -1,0 +2,10 @@
+Mon May  5 19:38:12 UTC 2025 - Axel Braun <axel.br...@gmx.de>
+
+- version 1.6
+  * Updated OHIF to 3.10.1
+  * Known issues: 
+    - authorization tokens are not functional with videos.
+      Waiting for this PR to be validated and incorporated: 
+      https://github.com/OHIF/Viewers/pull/4958
+
+-------------------------------------------------------------------

Old:
----
  OrthancOHIF-1.5.tar.gz

New:
----
  OrthancOHIF-1.6.tar.gz

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

Other differences:
------------------
++++++ orthanc-ohif.spec ++++++
--- /var/tmp/diff_new_pack.dW3cgR/_old  2025-05-08 18:26:14.403632304 +0200
+++ /var/tmp/diff_new_pack.dW3cgR/_new  2025-05-08 18:26:14.419632971 +0200
@@ -2,7 +2,7 @@
 # spec file for package orthanc-ohif
 #
 # Copyright (c) 2025 SUSE LLC
-# Copyright (c) 2023-2024 Dr. Axel Braun <d...@opensuse.org>
+# Copyright (c) 2023-2025 Dr. Axel Braun <d...@opensuse.org>
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -22,7 +22,7 @@
 Summary:        OHIF plugin for Orthanc
 License:        GPL-3.0-or-later
 Group:          Productivity/Graphics/Viewers
-Version:        1.5
+Version:        1.6
 Release:        0
 URL:            https://orthanc-server.com
 Source0:        
https://orthanc.uclouvain.be/downloads/sources/%{name}/OrthancOHIF-%{version}.tar.gz

++++++ OrthancOHIF-1.5.tar.gz -> OrthancOHIF-1.6.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/OrthancOHIF-1.5/.hg_archival.txt 
new/OrthancOHIF-1.6/.hg_archival.txt
--- old/OrthancOHIF-1.5/.hg_archival.txt        2025-01-17 18:27:32.000000000 
+0100
+++ new/OrthancOHIF-1.6/.hg_archival.txt        2025-04-29 10:59:02.000000000 
+0200
@@ -1,6 +1,6 @@
 repo: 39585ba26f209c4a9d12ece8e4eda1c466775a94
-node: dfdd30fe1c0303a19a4846f1310a902b1a11259b
-branch: OrthancOHIF-1.5
+node: 99652ce0db93c291de98be12f24ec5424033a33c
+branch: OrthancOHIF-1.6
 latesttag: null
-latesttagdistance: 67
-changessincelatesttag: 67
+latesttagdistance: 74
+changessincelatesttag: 74
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/OrthancOHIF-1.5/CMakeLists.txt 
new/OrthancOHIF-1.6/CMakeLists.txt
--- old/OrthancOHIF-1.5/CMakeLists.txt  2025-01-17 18:27:32.000000000 +0100
+++ new/OrthancOHIF-1.6/CMakeLists.txt  2025-04-29 10:59:02.000000000 +0200
@@ -22,7 +22,7 @@
 cmake_minimum_required(VERSION 2.8)
 project(OrthancOHIF)
 
-set(ORTHANC_OHIF_VERSION "1.5")
+set(ORTHANC_OHIF_VERSION "1.6")
 
 if (ORTHANC_OHIF_VERSION STREQUAL "mainline")
   set(ORTHANC_FRAMEWORK_DEFAULT_VERSION "mainline")
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/OrthancOHIF-1.5/NEWS new/OrthancOHIF-1.6/NEWS
--- old/OrthancOHIF-1.5/NEWS    2025-01-17 18:27:32.000000000 +0100
+++ new/OrthancOHIF-1.6/NEWS    2025-04-29 10:59:02.000000000 +0200
@@ -1,6 +1,12 @@
-Pending changes in the mainline
-===============================
+Version 1.6 (2025-04-29)
+========================
 
+* Updated OHIF to 3.10.1
+* Known issues: 
+  - authorization tokens are not functional with videos.
+    Waiting for this PR to be validated and incorporated: 
+    https://github.com/OHIF/Viewers/pull/4958
+  
 
 Version 1.5 (2025-01-17)
 ========================
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/OrthancOHIF-1.5/Resources/CreateOHIFDist/Dockerfile 
new/OrthancOHIF-1.6/Resources/CreateOHIFDist/Dockerfile
--- old/OrthancOHIF-1.5/Resources/CreateOHIFDist/Dockerfile     2025-01-17 
18:27:32.000000000 +0100
+++ new/OrthancOHIF-1.6/Resources/CreateOHIFDist/Dockerfile     2025-04-29 
10:59:02.000000000 +0200
@@ -17,10 +17,12 @@
 # You should have received a copy of the GNU General Public License
 # along with this program. If not, see <http://www.gnu.org/licenses/>.
 
-FROM node:21.2-bullseye-slim
+FROM node:20.18.1-slim
 
 MAINTAINER Sebastien Jodogne <s.jodo...@gmail.com>
 LABEL Description="Orthanc, free DICOM server" Vendor="The Orthanc project"
 
-RUN apt-get -y clean && apt-get -y update && \
+RUN apt-get -y clean && apt-get -y update && apt-get install -y 
build-essential python3 && \
     apt-get clean && rm -rf /var/lib/apt/lists/*
+
+RUN npm install -g bun
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/OrthancOHIF-1.5/Resources/CreateOHIFDist/build.sh 
new/OrthancOHIF-1.6/Resources/CreateOHIFDist/build.sh
--- old/OrthancOHIF-1.5/Resources/CreateOHIFDist/build.sh       2025-01-17 
18:27:32.000000000 +0100
+++ new/OrthancOHIF-1.6/Resources/CreateOHIFDist/build.sh       2025-04-29 
10:59:02.000000000 +0200
@@ -30,7 +30,17 @@
 tar xvf /source/$1.tar.gz
 
 cd /tmp/$1
-HOME=/tmp yarn install --frozen-lockfile
-HOME=/tmp QUICK_BUILD=true PUBLIC_URL=./ yarn run build
+bun pm cache rm
+bun install --frozen-lockfile
+
+APP_CONFIG=config/default.js QUICK_BUILD=true PUBLIC_URL=./ bun run show:config
+APP_CONFIG=config/default.js QUICK_BUILD=true PUBLIC_URL=./ bun run build
+
+# patch files where the PUBLIC_URL was not taken into account
+# Note that, for the microscopy, this is currently not working: 
https://github.com/OHIF/Viewers/issues/4906
+sed -i 
"s|'/dicom-microscopy-viewer/dicomMicroscopyViewer.min.js|'./dicom-microscopy-viewer/dicomMicroscopyViewer.min.js|g"
 /tmp/$1/platform/app/dist/app.bundle.*.js
+sed -i 's|"/dicom-microscopy-viewer|"./dicom-microscopy-viewer|g' 
/tmp/$1/platform/app/dist/dicom-microscopy-viewer/dicomMicroscopyViewer.min.js
+sed -i 's|"/dicom-microscopy-viewer|"./dicom-microscopy-viewer|g' 
/tmp/$1/platform/app/dist/dicom-microscopy-viewer/index.worker.min.worker.js
+sed -i 's|"/assets/android-chrome-|"./assets/android-chrome-|g' 
/tmp/$1/platform/app/dist/manifest.json
 
 cp -r /tmp/$1/platform/app/dist/* /target
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/OrthancOHIF-1.5/Resources/CreateOHIFDist.sh 
new/OrthancOHIF-1.6/Resources/CreateOHIFDist.sh
--- old/OrthancOHIF-1.5/Resources/CreateOHIFDist.sh     2025-01-17 
18:27:32.000000000 +0100
+++ new/OrthancOHIF-1.6/Resources/CreateOHIFDist.sh     2025-04-29 
10:59:02.000000000 +0200
@@ -21,14 +21,18 @@
 
 
 
-# This command-line script uses the "yarn" tool to populate the "dist"
+# This command-line script uses the "bun" tool to populate the "dist"
 # folder of OHIF. It uses Docker to this end, in order to be usable on
 # our CIS.
 
+# sample command to create the tar.gz archive from OHIF github repo:
+# git archive --format tar.gz --prefix Viewers-fix-video-auth-token/ -o 
ohif-fix-video-auth-token.tar.gz HEAD
+
 set -ex
 
 if [ "$1" = "" ]; then
-    PACKAGE=Viewers-3.9.2
+    PACKAGE=Viewers-3.10.1
+    # PACKAGE=Viewers-fix-video-auth-token
 else
     PACKAGE=$1
 fi
@@ -59,6 +63,8 @@
 ( cd ${ROOT_DIR}/Resources/CreateOHIFDist && \
       docker build --no-cache -t ${IMAGE} . )
 
+# sample manual command: docker run -it --rm -v 
./Resources/CreateOHIFDist/build.sh:/source/build.sh -v 
./OHIF/Viewers-3.11.0-beta.9.tar.gz:/source/Viewers-3.11.0-beta.9.tar.gz -v 
./OHIF/dist/:/target orthanc-ohif-node bash
+
 docker run -t ${DOCKER_FLAGS} --rm \
        --user $(id -u):$(id -g) \
        -v ${ROOT_DIR}/Resources/CreateOHIFDist/build.sh:/source/build.sh:ro \
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/OrthancOHIF-1.5/Sources/app-config-system.js 
new/OrthancOHIF-1.6/Sources/app-config-system.js
--- old/OrthancOHIF-1.5/Sources/app-config-system.js    2025-01-17 
18:27:32.000000000 +0100
+++ new/OrthancOHIF-1.6/Sources/app-config-system.js    2025-04-29 
10:59:02.000000000 +0200
@@ -27,11 +27,16 @@
         supportsFuzzyMatching: false,
         supportsWildcard: true,
         staticWado: true,
-        singlepart: 'bulkdata',
+        singlepart: 'bulkdata,video',
         acceptHeader: [ 'multipart/related; type=application/octet-stream; 
transfer-syntax=*'],
-        bulkDataURI: {  // to remove once 3.9.2+ is released 
(https://github.com/OHIF/Viewers/issues/4256)
-          enabled: true
+        // whether the data source should use retrieveBulkData to grab 
metadata,
+        // and in case of relative path, what would it be relative to, options
+        // are in the series level or study level (some servers like series 
some study)
+        bulkDataURI: {
+          enabled: true,
+          relativeResolution: 'studies',
         }
+        
       }
     }
   ];
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/OrthancOHIF-1.5/TODO new/OrthancOHIF-1.6/TODO
--- old/OrthancOHIF-1.5/TODO    2025-01-17 18:27:32.000000000 +0100
+++ new/OrthancOHIF-1.6/TODO    2025-04-29 10:59:02.000000000 +0200
@@ -1 +0,0 @@
-- PDF: apply these fixes in default config 
https://github.com/OHIF/Viewers/issues/4256 + 
https://github.com/orthanc-server/orthanc-setup-samples/commit/5af834d3d6e755e55d8d937547ace6fa39925626
 once the commit has been merged and released
\ No newline at end of file

++++++ dist.zip ++++++
/work/SRC/openSUSE:Factory/orthanc-ohif/dist.zip 
/work/SRC/openSUSE:Factory/.orthanc-ohif.new.30101/dist.zip differ: char 11, 
line 2

Reply via email to