Accepting request 1179131 from home:DocB:Orthanc

version upgrade

OBS-URL: https://build.opensuse.org/request/show/1179131
OBS-URL: https://build.opensuse.org/package/show/graphics/orthanc?expand=0&rev=77
This commit is contained in:
Axel Braun 2024-06-08 06:15:00 +00:00 committed by Git OBS Bridge
parent f9c87af6fa
commit c77b0f9173
5 changed files with 66 additions and 63 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:64b7ed7506a60e52f52121efb14961485b710fd092ab73d6c550fa25a01f516b
size 2043176

3
Orthanc-1.12.4.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:54964a43639248840abcba23b2566e5f6786594bfa5b494644608cc29db8a92b
size 2056110

View File

@ -1,57 +0,0 @@
# HG changeset patch
# User Sebastien Jodogne <s.jodogne@gmail.com>
# Date 1715887975 -7200
# Node ID a7c88563c8cc18afdacc8e261e5d81e82301456f
# Parent 72dcf3a8d7d526e95c8f290801a0b675a0533590
fix build with boost 1.85.0
diff -r 72dcf3a8d7d5 -r a7c88563c8cc OrthancFramework/Sources/SystemToolbox.cpp
--- a/OrthancFramework/Sources/SystemToolbox.cpp Thu May 16 15:31:31 2024 +0200
+++ b/OrthancFramework/Sources/SystemToolbox.cpp Thu May 16 21:32:55 2024 +0200
@@ -774,7 +774,7 @@
MimeType SystemToolbox::AutodetectMimeType(const std::string& path)
{
- std::string extension = boost::filesystem::extension(path);
+ std::string extension = boost::filesystem::path(path).extension().string();
Toolbox::ToLowerCase(extension);
// http://en.wikipedia.org/wiki/Mime_types
diff -r 72dcf3a8d7d5 -r a7c88563c8cc OrthancServer/Plugins/Engine/PluginsManager.cpp
--- a/OrthancServer/Plugins/Engine/PluginsManager.cpp Thu May 16 15:31:31 2024 +0200
+++ b/OrthancServer/Plugins/Engine/PluginsManager.cpp Thu May 16 21:32:55 2024 +0200
@@ -307,7 +307,7 @@
}
else
{
- std::string extension = boost::filesystem::extension(it->path());
+ std::string extension = it->path().extension().string();
Toolbox::ToLowerCase(extension);
if (extension == PLUGIN_EXTENSION)
diff -r 72dcf3a8d7d5 -r a7c88563c8cc OrthancServer/Plugins/Samples/ModalityWorklists/Plugin.cpp
--- a/OrthancServer/Plugins/Samples/ModalityWorklists/Plugin.cpp Thu May 16 15:31:31 2024 +0200
+++ b/OrthancServer/Plugins/Samples/ModalityWorklists/Plugin.cpp Thu May 16 21:32:55 2024 +0200
@@ -166,7 +166,7 @@
if (type == fs::regular_file ||
type == fs::reparse_file) // cf. BitBucket issue #11
{
- std::string extension = fs::extension(it->path());
+ std::string extension = it->path().extension().string();
std::transform(extension.begin(), extension.end(), extension.begin(), tolower); // Convert to lowercase
if (extension == ".wl")
diff -r 72dcf3a8d7d5 -r a7c88563c8cc OrthancServer/Sources/OrthancConfiguration.cpp
--- a/OrthancServer/Sources/OrthancConfiguration.cpp Thu May 16 15:31:31 2024 +0200
+++ b/OrthancServer/Sources/OrthancConfiguration.cpp Thu May 16 21:32:55 2024 +0200
@@ -114,7 +114,7 @@
{
if (!is_directory(it->status()))
{
- std::string extension = boost::filesystem::extension(it->path());
+ std::string extension = it->path().extension().string();
Toolbox::ToLowerCase(extension);
if (extension == ".json")

View File

@ -1,3 +1,63 @@
-------------------------------------------------------------------
Fri Jun 7 06:00:51 UTC 2024 - Axel Braun <axel.braun@gmx.de>
- version 1.12.4
* boost185.diff removed
* API version upgraded to 24
* Added "MaximumPatientCount" in /system
* Added a new "LimitToThisLevelMainDicomTags" field in the payload of
/patients|studies|series/instances/../reconstruct to speed up the reconstruction
in case you just want to update the MainDicomTags of that resource level only
(e.g., after you have updated the "ExtraMainDicomTags" for this level)
* The "requestedTags" GET argument is deprecated in favor of "requested-tags"
* Added "?whole" option to "/instances/{id}/tags" to access tags stored after pixel data
* Multitenant DICOM plugin: added support for locales.
* Housekeeper plugin:
- Added an option "LimitMainDicomTagsReconstructLevel"
(allowed values: "Patient", "Study", "Series", "Instance"). This can greatly speed
up the housekeeper process, e.g. if you have only update the Study level ExtraMainDicomTags.
- Fixed broken /instances/../tags route after running the Housekeeper
after having changed the "IngestTranscoding".
* SDK: added OrthancPluginLogMessage() as a new primitive for plugins
to log messages. This new primitive will display the plugin name,
the plugin file name, and the plugin line number in the logs. If
they are not using the LOG() facilities provided by the
OrthancFramework, plugins should now use ORTHANC_PLUGINS_LOG_INFO(),
ORTHANC_PLUGINS_LOG_WARNING(), and ORTHANC_PLUGINS_LOG_ERROR().
* C-Find queries:
- In C-Find queries including "GenericGroupLength" tags, Orthanc was still
extracting these tags from the storage although they were already ignored
and not returned in the response.
They are now removed from the query earlier to avoid this disk access that
could slow down the response time. Note that this seems to happen mainly
when the query originates from some GE devices (AWS).
- "TimezoneOffsetFromUTC" is now ignored for matching.
* The 0x0111 DIMSE Status is now considered as a warning instead of an error
when received as a response to a C-Store.
See https://discourse.orthanc-server.org/t/ignore-dimse-status-0x0111-when-sending-partial-duplicate-studies/4555/3
* Removed potential PHI from the logs when Orthanc encounters an error while
creating a ZIP archive.
* Monitoring of stable resources now also takes into consideration the
resource type, not only the resource identifier identifier.
* DICOM TLS:
- In prior versions, when "DicomTlsRemoteCertificateRequired" was set to false, Orthanc
was still sending a client certificate request during the TLS handshake but was not
triggering and error if the client certificate was not trusted (equivalent to the
"--verify-peer-cert" DCMTK option). Starting with Orthanc 1.12.4, if this option is
set to "false", Orthanc will not send a client certificate request during the TLS
handshake anymore (equivalent to the "--ignore-peer-cert" DCMTK option).
- When working with "DicomTlsEnabled": true and "DicomTlsRemoteCertificateRequired": false,
Orthanc was refusing to start if no "DicomTlsTrustedCertificates" was provided.
- New configuration options:
- "DicomTlsMinimumProtocolVersion" to select the minimum TLS protocol version
- "DicomTlsCiphersAccepted" to fine tune the list of accepted ciphers
* Fixed broken /instances/../tags route after calling of
/studies/../reconstruct after having changed the "IngestTranscoding".
* Upgraded dependencies for static builds:
- boost 1.85.0
-------------------------------------------------------------------
Fri May 17 09:30:42 UTC 2024 - Axel Braun <axel.braun@gmx.de>

View File

@ -18,7 +18,7 @@
Name: orthanc
Version: 1.12.3
Version: 1.12.4
Release: 0
Summary: RESTful DICOM server for healthcare and medical research
License: GPL-3.0-or-later
@ -39,7 +39,7 @@ Source12: https://orthanc.uclouvain.be/downloads/third-party-downloads/jqu
Source13: https://orthanc.uclouvain.be/downloads/third-party-downloads/dicom-web/vuejs-2.6.10.tar.gz
Patch0: dcmtk.diff
Patch1: boost185.diff
## Patch1: boost185.diff
BuildRequires: civetweb-devel
BuildRequires: cmake >= 2.8.0
BuildRequires: curl-devel
@ -196,7 +196,7 @@ tar --strip-components 1 -xzf %{S:0} -C %{buildroot}/usr/src/%{name}/
patch %{buildroot}/usr/src/%{name}/OrthancFramework/Resources/CMake/DcmtkConfiguration.cmake < %{P:0}
#Apply boost patch
patch -p1 -d %{buildroot}/usr/src/%{name} < %{P:1}
## patch -p1 -d %{buildroot}/usr/src/%{name} < %{P:1}
# Do not mark Python scripts as executable
find %{buildroot}/usr/src/%{name} -name '*.py' -exec chmod a-x "{}" +