[med-svn] [Git][med-team/orthanc-wsi][master] 3 commits: use the shared liborthancframework instead of the static one

Sebastien Jodogne (@jodogne-guest) gitlab at salsa.debian.org
Tue Apr 28 14:55:05 BST 2026



Sebastien Jodogne pushed to branch master at Debian Med / orthanc-wsi


Commits:
192ac69c by jodogne-guest at 2026-04-28T15:17:13+02:00
use the shared liborthancframework instead of the static one

- - - - -
907e321f by jodogne-guest at 2026-04-28T15:45:53+02:00
removed Depends implied by liborthancframework-dev

- - - - -
18032389 by jodogne-guest at 2026-04-28T15:54:08+02:00
Upload to unstable

- - - - -


3 changed files:

- debian/changelog
- debian/control
- debian/rules


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,11 @@
+orthanc-wsi (3.3+dfsg-6) unstable; urgency=medium
+
+  * Use the shared Orthanc Framework library instead of the static one,
+    which necessitates using liborthancframework-dev >= 1.12.11+dfsg-5
+    for proper versioning of the shared library
+
+ -- Sebastien Jodogne <s.jodogne at gmail.com>  Tue, 28 Apr 2026 15:07:32 +0200
+
 orthanc-wsi (3.3+dfsg-5) unstable; urgency=medium
 
   * In run-dicom-image-transcode-test, use separate file descriptors for


=====================================
debian/control
=====================================
@@ -6,19 +6,13 @@ Section: science
 Priority: optional
 Build-Depends: cmake,
                debhelper-compat (= 13),
-               libcurl4-openssl-dev | libcurl4-dev,
-               libdcmtk-dev (>= 3.6.9-5),
                libjs-bootstrap5,
                libopenjp2-7-dev,
-               liborthancframework-dev (>= 1.12.7+dfsg-2),
-               libpng-dev,
-               libssl-dev,
+               liborthancframework-dev (>= 1.12.11+dfsg-5),
                libtiff-dev,
                node-popper2,
                orthanc-dev,
-               unzip,
-               uuid-dev,
-               zlib1g-dev
+               unzip
 Standards-Version: 4.7.4
 Vcs-Browser: https://salsa.debian.org/med-team/orthanc-wsi
 Vcs-Git: https://salsa.debian.org/med-team/orthanc-wsi.git
@@ -28,11 +22,9 @@ Rules-Requires-Root: no
 Package: orthanc-wsi
 Architecture: any
 Depends: ${misc:Depends},
-         ${shlibs:Depends},
-         dcmtk-data (>= 3.6.9-5)
+         ${shlibs:Depends}
 Recommends: orthanc (>= 1.12.7+dfsg-2),
             libopenslide0
-Built-Using: ${orthancframework:Built-Using}
 Description: Whole-slide imaging support for Orthanc (digital pathology)
  Orthanc-WSI brings support of whole-slide imaging for digital
  pathology into Orthanc, the lightweight, RESTful Vendor Neutral


=====================================
debian/rules
=====================================
@@ -14,28 +14,12 @@ export DEB_CXXFLAGS_MAINT_APPEND=-DNDEBUG
 %:
 	dh $@
 
-ORTHANC_FRAMEWORK_LIBRARIES="boost_filesystem boost_iostreams boost_locale boost_regex boost_thread jsoncpp pugixml uuid  dcmdata ofstd jpeg png curl boost_program_options dcmjpeg dcmjpls dcmimage dl crypto z"
-
 CMAKE_EXTRA_FLAGS += \
 	-DCMAKE_SKIP_RPATH:BOOL=ON \
 	-DORTHANC_FRAMEWORK_SOURCE=system \
-        -DORTHANC_FRAMEWORK_USE_SHARED:BOOL=OFF \
-        -DORTHANC_FRAMEWORK_ADDITIONAL_LIBRARIES=${ORTHANC_FRAMEWORK_LIBRARIES} \
+        -DORTHANC_FRAMEWORK_USE_SHARED:BOOL=ON \
 	-DCMAKE_BUILD_TYPE=None   # The build type must be set to None, see #711515
 
-# Automated generation of the "Built-Using" attribute in "d/control"
-# https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=989126
-# Adapted from:
-# https://wiki.debian.org/SIMDEverywhere#Approach (Point 6)
-#
-# In addition, automated generation of the "Depends" on "dcmtk-data"
-# to access the DICOM dictionaries during runtime:
-# https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1076541
-override_dh_gencontrol:
-	dh_gencontrol -- \
-		-Vorthancframework:Built-Using="$(shell dpkg-query -f '$${source:Package} (= $${source:Version}), ' -W liborthancframework-dev)" \
-		-Vdcmtk-data:Depends="$(shell dpkg-query -f '$${binary:Package} (>= $${source:Upstream-Version}), ' -W dcmtk-data)"
-
 override_dh_auto_configure:
         # Configure the command-line tools
 	mkdir BuildApplications



View it on GitLab: https://salsa.debian.org/med-team/orthanc-wsi/-/compare/4a24ce3b1828a550d9fea5a833b6061460e10945...18032389d207f17c85fe0e5d2ed7c1aeb6fcf7d2

-- 
View it on GitLab: https://salsa.debian.org/med-team/orthanc-wsi/-/compare/4a24ce3b1828a550d9fea5a833b6061460e10945...18032389d207f17c85fe0e5d2ed7c1aeb6fcf7d2
You're receiving this email because of your account on salsa.debian.org. Manage all notifications: https://salsa.debian.org/-/profile/notifications | Help: https://salsa.debian.org/help


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20260428/a44a677e/attachment-0001.htm>


More information about the debian-med-commit mailing list