Skip to content
GitLab
Explore
Sign in
Register
Commits on Source (2)
Removed $(DEB_VERSION) from SOVERSION
· b215547c
Sebastien Jodogne
authored
Jan 28, 2019
b215547c
Upload to unstable
· c4fbc498
Sebastien Jodogne
authored
Jan 28, 2019
c4fbc498
Show whitespace changes
Inline
Side-by-side
debian/changelog
View file @
c4fbc498
orthanc-postgresql (3.0-2) unstable; urgency=medium
* Removed $(DEB_VERSION) from SOVERSION.
-- Sebastien Jodogne <s.jodogne@gmail.com> Mon, 28 Jan 2019 12:58:36 +0100
orthanc-postgresql (3.0-1) unstable; urgency=medium
* New upstream version
...
...
debian/patches/series
View file @
c4fbc498
postgresql-includes
shlibs
debian/patches/shlibs
deleted
100644 → 0
View file @
fb91329b
Description: Fix the soname of the shared libraries
Author: Sebastien Jodogne <s.jodogne@orthanc-labs.com>
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
Index: OrthancPostgreSQL-3.0/PostgreSQL/CMakeLists.txt
===================================================================
--- OrthancPostgreSQL-3.0.orig/PostgreSQL/CMakeLists.txt
+++ OrthancPostgreSQL-3.0/PostgreSQL/CMakeLists.txt
@@ -84,17 +84,15 @@
add_definitions(
-DORTHANC_PLUGIN_VERSION="${ORTHANC_PLUGIN_VERSION}"
)
-set_target_properties(OrthancPostgreSQLStorage PROPERTIES
- VERSION ${ORTHANC_PLUGIN_VERSION}
- SOVERSION ${ORTHANC_PLUGIN_VERSION}
+set_target_properties(OrthancPostgreSQLStorage PROPERTIES
COMPILE_FLAGS -DORTHANC_ENABLE_LOGGING_PLUGIN=1
- )
+ LINK_FLAGS "-Wl,-soname,libOrthancPostgreSQLStorage.so.${DEB_VERSION}"
+ NO_SONAME ON)
-set_target_properties(OrthancPostgreSQLIndex PROPERTIES
- VERSION ${ORTHANC_PLUGIN_VERSION}
- SOVERSION ${ORTHANC_PLUGIN_VERSION}
+set_target_properties(OrthancPostgreSQLIndex PROPERTIES
COMPILE_FLAGS -DORTHANC_ENABLE_LOGGING_PLUGIN=1
- )
+ LINK_FLAGS "-Wl,-soname,libOrthancPostgreSQLIndex.so.${DEB_VERSION}"
+ NO_SONAME ON)
install(
TARGETS OrthancPostgreSQLIndex OrthancPostgreSQLStorage
debian/rules
View file @
c4fbc498
...
...
@@ -44,12 +44,12 @@ override_dh_auto_install:
cp Build/${TARGET_INDEX} Build/${TARGET_INDEX}.${UPSTREAM_VERSION}
cp Build/${TARGET_STORAGE} Build/${TARGET_STORAGE}.${UPSTREAM_VERSION}
dh_install Build/${TARGET_INDEX}.${UPSTREAM_VERSION} usr/lib
dh_install Build/${TARGET_STORAGE}.${UPSTREAM_VERSION} usr/lib
dh_install Build/${TARGET_INDEX}.${UPSTREAM_VERSION} usr/lib
/orthanc
dh_install Build/${TARGET_STORAGE}.${UPSTREAM_VERSION} usr/lib
/orthanc
override_dh_link:
dh_link usr/lib/${TARGET_INDEX}.${UPSTREAM_VERSION} usr/share/orthanc/plugins/${TARGET_INDEX}
dh_link usr/lib/${TARGET_STORAGE}.${UPSTREAM_VERSION} usr/share/orthanc/plugins/${TARGET_STORAGE}
dh_link usr/lib/
orthanc/
${TARGET_INDEX}.${UPSTREAM_VERSION} usr/share/orthanc/plugins/${TARGET_INDEX}
dh_link usr/lib/
orthanc/
${TARGET_STORAGE}.${UPSTREAM_VERSION} usr/share/orthanc/plugins/${TARGET_STORAGE}
override_dh_installchangelogs:
dh_installchangelogs -k PostgreSQL/NEWS