Plugin release schedule

Hello Sebastien,

congratulations to the release of Orthanc 1.8.0!

Do you have a timeframe for update of the plugins?

As you know, they do not build for Orthanc versions newer than 1.7.1 - and this stops me a bit from releasing 1.8 to openSUSE graphics repository (or I have to change the whole build system for plugins :frowning:

Thanks
Axel

Hi Axel,

Thanks for your support!

First of all, to compile the Orthanc framework shared library as a package maintainer, one should use the following CMake script:
https://hg.orthanc-server.com/orthanc/file/Orthanc-1.8.0/OrthancFramework/SharedLibrary/CMakeLists.txt

This CMake script is similar to the well-known “OrthancServer/CMakeLists.txt” that is used to build the Orthanc server (they both share many options).

For now, 3 plugins have already been released to be compatible with the Orthanc framework shared library: orthanc-gdcm, orthanc-python and orthanc-dicomweb. In all the 3 cases, once must add the “-DORTHANC_FRAMEWORK_SOURCE=system” argument while invoking CMake on a system where the shared library is installed.

As always, in doubt, the Debian packages (that are maintained by myself) provide a template that can be used on other distros:

https://salsa.debian.org/med-team/orthanc/-/blob/master/debian/rules

https://salsa.debian.org/med-team/orthanc-gdcm/-/blob/master/debian/rules

https://salsa.debian.org/med-team/orthanc-python/-/blob/master/debian/rules

https://salsa.debian.org/med-team/orthanc-dicomweb/-/blob/master/debian/rules

Regarding the other plugins, there is no planned schedule currently. I do the release when I have time, which is a sparse resource. Keep an eye on the following thread (or on Twitter), where I announce the new releases:
https://groups.google.com/forum/?oldui=1#!topic/orthanc-users/LBil4zk8ZiY

Importantly, in the meantime, all the plugins compiled without the Orthanc framework shared library stay entirely compatible with Orthanc >= 1.7.2. You must simply use an earlier version of the source code of Orthanc when compiling them (most probably, you’ll want to use 1.7.1 that was the last release to use the former hierarchy of folders).

In Debian, for the plugins that have not been updated yet, the Orthanc framework is copied in a dedicated subfolder of the source package. Check out the “orthanc-postgresql” package for a full example:
https://salsa.debian.org/med-team/orthanc-postgresql/-/tree/master/debian/orthanc-framework

https://salsa.debian.org/med-team/orthanc-postgresql/-/blob/master/debian/rules

HTH,

SĂ©bastien-

Hello Sebastien,

Hi Axel,

Thanks for your support!

First of all, to compile the Orthanc framework shared library as a package maintainer, one should use the following CMake script:
https://hg.orthanc-server.com/orthanc/file/Orthanc-1.8.0/OrthancFramework/SharedLibrary/CMakeLists.txt

This CMake script is similar to the well-known “OrthancServer/CMakeLists.txt” that is used to build the Orthanc server (they both share many options).

For now, 3 plugins have already been released to be compatible with the Orthanc framework shared library: orthanc-gdcm, orthanc-python and orthanc-dicomweb. In all the 3 cases, once must add the “-DORTHANC_FRAMEWORK_SOURCE=system” argument while invoking CMake on a system where the shared library is installed.

Well noticed that these plugins build against the latest orthanc-source!

That looks like a hard-wired path to the shared libraries.

The options
-DORTHANC_FRAMEWORK_SOURCE=path
-DORTHANC_FRAMEWORK_ROOT=/usr/src/orthanc/OrthancFramework/Sources
work well for my environment

As always, in doubt, the Debian packages (that are maintained by myself) provide a template that can be used on other distros:

https://salsa.debian.org/med-team/orthanc/-/blob/master/debian/rules

https://salsa.debian.org/med-team/orthanc-gdcm/-/blob/master/debian/rules

https://salsa.debian.org/med-team/orthanc-python/-/blob/master/debian/rules

https://salsa.debian.org/med-team/orthanc-dicomweb/-/blob/master/debian/rules

Regarding the other plugins, there is no planned schedule currently. I do the release when I have time, which is a sparse resource. Keep an eye on the following thread (or on Twitter), where I announce the new releases:
https://groups.google.com/forum/?oldui=1#!topic/orthanc-users/LBil4zk8ZiY

Importantly, in the meantime, all the plugins compiled without the Orthanc framework shared library stay entirely compatible with Orthanc >= 1.7.2. You must simply use an earlier version of the source code of Orthanc when compiling them (most probably, you’ll want to use 1.7.1 that was the last release to use the former hierarchy of folders).

I have a workaround for this in between: A dummy-package orthanc-framework that pins to version 1.7.1 allows an easy switch between old and new world.
Once this package is accepted by the repository maintainers I can update the Orthanc-packages in Leap and Tumbleweed.

Have a great weekend!
Axel