Skip to content
Commits on Source (2)
orthanc-dicomweb (0.5+dfsg-3) UNRELEASED; urgency=medium
orthanc-dicomweb (0.5+dfsg-3) unstable; urgency=medium
* Updated d/upstream/metadata with new reference paper about Orthanc
* Moved plugin binaries from "/usr/lib" to "/usr/lib/orthanc"
-- Sebastien Jodogne <s.jodogne@gmail.com> Fri, 04 May 2018 12:20:27 +0200
-- Sebastien Jodogne <s.jodogne@gmail.com> Mon, 28 Jan 2019 14:55:50 +0100
orthanc-dicomweb (0.5+dfsg-2) unstable; urgency=medium
......
......@@ -18,7 +18,7 @@ Build-Depends: cmake,
unzip,
uuid-dev,
zlib1g-dev
Standards-Version: 4.1.4
Standards-Version: 4.3.0
Vcs-Browser: https://salsa.debian.org/med-team/orthanc-dicomweb
Vcs-Git: https://salsa.debian.org/med-team/orthanc-dicomweb.git
Homepage: https://www.orthanc-server.com/static.php?page=dicomweb
......
Description: Fix the linking of the shared library
Author: Sebastien Jodogne <s.jodogne@gmail.com>
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
Index: OrthancDicomWeb-0.5/CMakeLists.txt
===================================================================
--- OrthancDicomWeb-0.5.orig/CMakeLists.txt
+++ OrthancDicomWeb-0.5/CMakeLists.txt
@@ -136,9 +136,9 @@ message("Setting the version of the libr
add_definitions(-DORTHANC_DICOM_WEB_VERSION="${ORTHANC_DICOM_WEB_VERSION}")
-set_target_properties(OrthancDicomWeb PROPERTIES
- VERSION ${ORTHANC_DICOM_WEB_VERSION}
- SOVERSION ${ORTHANC_DICOM_WEB_VERSION}
+set_target_properties(OrthancDicomWeb PROPERTIES
+ NO_SONAME ON
+ LINK_FLAGS "-Wl,-soname,libOrthancDicomWeb.so.${ORTHANC_DICOM_WEB_VERSION}"
)
install(
......@@ -33,18 +33,19 @@ override_dh_auto_configure:
dh_auto_configure -- $(CMAKE_EXTRA_FLAGS)
override_dh_auto_test:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
( cd Build; ./UnitTests )
endif
override_dh_clean:
rm -rf ThirdPartyDownloads
dh_clean
override_dh_auto_install:
cp Build/${TARGET} Build/${TARGET}.${UPSTREAM_VERSION}
dh_install Build/${TARGET}.${UPSTREAM_VERSION} usr/lib
dh_install Build/${TARGET}.${UPSTREAM_VERSION} usr/lib/orthanc
override_dh_link:
dh_link usr/lib/${TARGET}.${UPSTREAM_VERSION} usr/share/orthanc/plugins/${TARGET}
dh_link usr/lib/orthanc/${TARGET}.${UPSTREAM_VERSION} usr/share/orthanc/plugins/${TARGET}
override_dh_installchangelogs:
dh_installchangelogs -k NEWS