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-