Is it possible to compile the python plugin against the Orthanc 1.5.6 supplied by Debian buster? The superbuild procedure wants to download Orthanc 1.8.2, I’m assuming that wouldn’t work.
I tried changing ORTHANC_FRAMEWORK_VERSION, to 1.5.6, but it doesn’t compile.
Also I tried changing ORTHANC_FRAMEWORK_SOURCE to system and ORTHANC_FRAMEWORK_ROOT to /usr. But it seems Debian does not distribute OrthancFramework.h.
The version of Orthanc must be above 1.5.7 in order to run even the oldest release 1.0 of the Python plugin, as indicated in the NEWS file:
https://hg.orthanc-server.com/orthanc-python/file/default/NEWS
So, you cannot compile the Python plugin of Orthanc using the Debian Buster package (that only ships Orthanc 1.5.6):
https://packages.debian.org/fr/buster/orthanc
As a consequence, you’ll first have to compile Orthanc from sources, then to compile the Python plugin from sources. The alternatives are: Using Docker, using a distribution based on Debian Unstable/Sid (such as Ubuntu), or backporting the Sid package to Buster (I don’t have the resources to do the last option by myself).