[med-svn] r19304 - trunk/packages/orthanc/trunk/debian

Sebastien Jodogne jodogne-guest at moszumanska.debian.org
Wed Jun 3 21:58:24 UTC 2015


Author: jodogne-guest
Date: 2015-06-03 21:58:23 +0000 (Wed, 03 Jun 2015)
New Revision: 19304

Modified:
   trunk/packages/orthanc/trunk/debian/control
   trunk/packages/orthanc/trunk/debian/orthanc.lintian-overrides
   trunk/packages/orthanc/trunk/debian/rules
Log:
fix lintian warnings

Modified: trunk/packages/orthanc/trunk/debian/control
===================================================================
--- trunk/packages/orthanc/trunk/debian/control	2015-06-03 15:56:04 UTC (rev 19303)
+++ trunk/packages/orthanc/trunk/debian/control	2015-06-03 21:58:23 UTC (rev 19304)
@@ -55,7 +55,7 @@
 Package: orthanc-doc
 Architecture: all
 Section: doc
-Depends: ${misc:Depends}
+Depends: ${misc:Depends}, libjs-jquery
 Description: Documentation of Orthanc
  Orthanc aims at providing a simple, yet powerful DICOM server for
  medical imaging. Orthanc can turn any computer running Windows or

Modified: trunk/packages/orthanc/trunk/debian/orthanc.lintian-overrides
===================================================================
--- trunk/packages/orthanc/trunk/debian/orthanc.lintian-overrides	2015-06-03 15:56:04 UTC (rev 19303)
+++ trunk/packages/orthanc/trunk/debian/orthanc.lintian-overrides	2015-06-03 21:58:23 UTC (rev 19304)
@@ -4,3 +4,9 @@
 
 # The following line overrides misspelling in "OrthancExplorer/libs/jquery.blockui.js"
 spelling-error-in-binary usr/sbin/Orthanc supress suppress
+
+# The following warnings seem to come from the fact that the
+# "libServeFolders.so" shared library is placed inside
+# "/usr/lib/orthanc", that lintian seems not to scan
+postinst-has-useless-call-to-ldconfig
+postrm-has-useless-call-to-ldconfig

Modified: trunk/packages/orthanc/trunk/debian/rules
===================================================================
--- trunk/packages/orthanc/trunk/debian/rules	2015-06-03 15:56:04 UTC (rev 19303)
+++ trunk/packages/orthanc/trunk/debian/rules	2015-06-03 21:58:23 UTC (rev 19304)
@@ -44,6 +44,14 @@
         # Launch the original Orthanc CMake script
 	dh_auto_configure -- $(CMAKE_EXTRA_FLAGS)
 
+override_dh_auto_build:
+	dh_auto_build
+
+        # Fix the lintian warning: "orthanc-doc: embedded-javascript-library
+        # usr/share/doc/orthanc/OrthancPlugin/jquery.js please use libjs-jquery"
+	rm Build/OrthancPluginDocumentation/doc/jquery.js
+	ln -s /usr/share/javascript/jquery/jquery.min.js Build/OrthancPluginDocumentation/doc/jquery.js
+
 override_dh_auto_test:
 	( cd Build; ./UnitTests )
 




More information about the debian-med-commit mailing list