diff -Nru orthanc-webviewer-2.2/debian/changelog orthanc-webviewer-2.2/debian/changelog --- orthanc-webviewer-2.2/debian/changelog 2016-06-29 05:33:20.000000000 -0300 +++ orthanc-webviewer-2.2/debian/changelog 2017-03-10 19:27:18.000000000 -0300 @@ -1,3 +1,10 @@ +orthanc-webviewer (2.2-1ubuntu1) zesty; urgency=medium + + * debian/patches/cmake: remove forced libraries and let cmake handle + link dependencies. (Closes: #857355, LP: #1671955) + + -- Tiago Stürmer Daitx Fri, 10 Mar 2017 22:27:14 +0000 + orthanc-webviewer (2.2-1) unstable; urgency=medium * New upstream version. diff -Nru orthanc-webviewer-2.2/debian/control orthanc-webviewer-2.2/debian/control --- orthanc-webviewer-2.2/debian/control 2016-06-29 05:31:50.000000000 -0300 +++ orthanc-webviewer-2.2/debian/control 2017-03-10 19:37:47.000000000 -0300 @@ -1,5 +1,6 @@ Source: orthanc-webviewer -Maintainer: Debian Med Packaging Team +Maintainer: Ubuntu Developers +XSBC-Original-Maintainer: Debian Med Packaging Team Uploaders: Sebastien Jodogne , Andreas Tille Section: science diff -Nru orthanc-webviewer-2.2/debian/patches/cmake orthanc-webviewer-2.2/debian/patches/cmake --- orthanc-webviewer-2.2/debian/patches/cmake 2016-06-29 05:31:50.000000000 -0300 +++ orthanc-webviewer-2.2/debian/patches/cmake 2017-03-10 03:21:43.000000000 -0300 @@ -15,13 +15,7 @@ # Check that the Orthanc SDK headers are available or download them -@@ -177,15 +177,14 @@ if (STATIC_BUILD OR NOT USE_SYSTEM_GDCM) - add_dependencies(OrthancWebViewer GDCM) - endif() - --target_link_libraries(OrthancWebViewer ${GDCM_LIBRARIES}) -- - message("Setting the version of the library to ${ORTHANC_WEBVIEWER_VERSION}") +@@ -183,9 +183,10 @@ message("Setting the version of the libr add_definitions(-DORTHANC_WEBVIEWER_VERSION="${ORTHANC_WEBVIEWER_VERSION}") @@ -30,7 +24,7 @@ - SOVERSION ${ORTHANC_WEBVIEWER_VERSION}) +set_target_properties(OrthancWebViewer PROPERTIES + NO_SONAME ON -+ LINK_FLAGS "-lgdcmMSFF -luuid -Wl,-soname,libOrthancWebViewer.so.${ORTHANC_WEBVIEWER_VERSION}" ++ LINK_FLAGS "-Wl,-soname,libOrthancWebViewer.so.${ORTHANC_WEBVIEWER_VERSION}" + ) install(