Commit fd1c2b67 authored by Sebastien Jodogne's avatar Sebastien Jodogne

preparing for 0.6-2

parent fac60a36
orthanc-wsi (0.6-2) UNRELEASED; urgency=medium
* Removed $(DEB_VERSION) from SOVERSION.
-- Sebastien Jodogne <s.jodogne@gmail.com> Mon, 28 Jan 2019 13:40:33 +0100
orthanc-wsi (0.6-1) unstable; urgency=medium
* New upstream version
......
Description: Fix the version of the shared library
Author: Sebastien Jodogne <s.jodogne@orthanc-labs.com>
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
Index: OrthancWSI-0.6/ViewerPlugin/CMakeLists.txt
===================================================================
--- OrthancWSI-0.6.orig/ViewerPlugin/CMakeLists.txt
+++ OrthancWSI-0.6/ViewerPlugin/CMakeLists.txt
@@ -198,9 +198,10 @@ add_library(OrthancWSI SHARED
)
message("Setting the version of the library to ${ORTHANC_WSI_VERSION}")
-set_target_properties(OrthancWSI PROPERTIES
- VERSION ${ORTHANC_WSI_VERSION}
- SOVERSION ${ORTHANC_WSI_VERSION})
+set_target_properties(OrthancWSI PROPERTIES
+ NO_SONAME ON
+ LINK_FLAGS "-Wl,-soname,libOrthancWSI.so.${ORTHANC_WSI_VERSION}"
+ )
install(
TARGETS OrthancWSI
......@@ -74,10 +74,10 @@ override_dh_auto_install:
# Install the plugin
cp BuildViewer/${VIEWER_TARGET} BuildViewer/${VIEWER_TARGET}.${UPSTREAM_VERSION}
dh_install BuildViewer/${VIEWER_TARGET}.${UPSTREAM_VERSION} usr/lib
dh_install BuildViewer/${VIEWER_TARGET}.${UPSTREAM_VERSION} usr/lib/orthanc
override_dh_link:
dh_link usr/lib/${VIEWER_TARGET}.${UPSTREAM_VERSION} \
dh_link usr/lib/orthanc/${VIEWER_TARGET}.${UPSTREAM_VERSION} \
usr/share/orthanc/plugins/${VIEWER_TARGET}
override_dh_installchangelogs:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment