Skip to content
Commits on Source (5)
orthanc-webviewer (2.4-3) UNRELEASED; urgency=medium
orthanc-webviewer (2.4-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:25:35 +0200
-- Sebastien Jodogne <s.jodogne@gmail.com> Mon, 28 Jan 2019 14:15:22 +0100
orthanc-webviewer (2.4-2) unstable; urgency=medium
......
......@@ -19,7 +19,7 @@ Build-Depends: cmake,
uuid-dev,
yui-compressor,
zlib1g-dev
Standards-Version: 4.1.4
Standards-Version: 4.3.0
Vcs-Browser: https://salsa.debian.org/med-team/orthanc-webviewer
Vcs-Git: https://salsa.debian.org/med-team/orthanc-webviewer.git
Homepage: https://www.orthanc-server.com/static.php?page=web-viewer
......
Description: Fix the linking of the shared library and the inclusion of the JavaScript libraries
Author: Sebastien Jodogne <s.jodogne@gmail.com>
Description: Fix the inclusion of the JavaScript libraries
Author: Sebastien Jodogne <s.jodogne@orthanc-labs.com>
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
Index: OrthancWebViewer-2.4/CMakeLists.txt
......@@ -15,17 +15,3 @@ Index: OrthancWebViewer-2.4/CMakeLists.txt
# Check that the Orthanc SDK headers are available
@@ -156,9 +156,10 @@ message("Setting the version of the libr
add_definitions(-DORTHANC_WEBVIEWER_VERSION="${ORTHANC_WEBVIEWER_VERSION}")
-set_target_properties(OrthancWebViewer PROPERTIES
- VERSION ${ORTHANC_WEBVIEWER_VERSION}
- SOVERSION ${ORTHANC_WEBVIEWER_VERSION})
+set_target_properties(OrthancWebViewer PROPERTIES
+ NO_SONAME ON
+ LINK_FLAGS "-Wl,-soname,libOrthancWebViewer.so.${ORTHANC_WEBVIEWER_VERSION}"
+ )
install(
TARGETS OrthancWebViewer
......@@ -75,18 +75,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