Lintian Fixes - orthanc-webviewer

Ready changes

Summary

Diff

diff --git a/debian/changelog b/debian/changelog
index 8848c34..8634db1 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,18 @@
+orthanc-webviewer (2.8-3) UNRELEASED; urgency=medium
+
+  * Refer to common license file for Apache-2.0.
+  * Move source package lintian overrides to debian/source.
+  * Bump debhelper from old 10 to 13.
+    + Drop check for DEB_BUILD_OPTIONS containing "nocheck", since debhelper now
+      does this.
+  * Set debhelper-compat version in Build-Depends.
+  * Update standards version to 4.6.1, no changes needed.
+  * Update lintian override info format in d/source/lintian-overrides on line
+    4-6.
+  * Update standards version to 4.6.2, no changes needed.
+
+ -- Debian Janitor <janitor@jelmer.uk>  Thu, 20 Oct 2022 14:25:46 -0000
+
 orthanc-webviewer (2.8-2) unstable; urgency=medium
 
   * Updated d/copyright
diff --git a/debian/compat b/debian/compat
deleted file mode 100644
index f599e28..0000000
--- a/debian/compat
+++ /dev/null
@@ -1 +0,0 @@
-10
diff --git a/debian/control b/debian/control
index 2e1c380..a8b88c1 100644
--- a/debian/control
+++ b/debian/control
@@ -4,7 +4,7 @@ Uploaders: Sebastien Jodogne <s.jodogne@gmail.com>
 Section: science
 Priority: optional
 Build-Depends: cmake,
-               debhelper (>= 10),
+               debhelper-compat (= 13),
                libboost-all-dev,
                libgtest-dev,
                libjpeg-dev,
@@ -19,7 +19,7 @@ Build-Depends: cmake,
                uuid-dev,
                yui-compressor,
                zlib1g-dev
-Standards-Version: 4.6.0
+Standards-Version: 4.6.2
 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
diff --git a/debian/copyright b/debian/copyright
index 3af6ec2..f4e790f 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -21,7 +21,7 @@ License: GPL-3.0+ with OpenSSL exception
 
 Files: WebApplication/jpeg-decoder.js
 Copyright: 2011 notmasteryet
-License: Apache-2
+License: Apache-2.0
 
 Files: debian/JS/cornerstone-0.11.0/*
 Copyright: 2014 Chris Hafey <chafey@gmail.com>
@@ -158,7 +158,7 @@ License: GPL-3.0+ with OpenSSL exception
  `/usr/share/common-licenses/GPL-3.0+'.
 
 
-License: Apache-2
+License: Apache-2.0
  Licensed under the Apache License, Version 2.0 (the "License");
  you may not use this file except in compliance with the License.
  You may obtain a copy of the License at
@@ -170,6 +170,9 @@ License: Apache-2
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
  implied.  See the License for the specific language governing
  permissions and limitations under the License.
+ .
+ On Debian systems, the full text of the Apache License, Version 2.0 can be
+ found in the file `/usr/share/common-licenses/Apache-2.0'.
 
 
 License: Expat
diff --git a/debian/rules b/debian/rules
index 671053c..7e482f6 100755
--- a/debian/rules
+++ b/debian/rules
@@ -81,9 +81,7 @@ 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_auto_install:
 	dh_install Build/${TARGET}.${UPSTREAM_VERSION} usr/lib/orthanc
diff --git a/debian/source.lintian-overrides b/debian/source.lintian-overrides
deleted file mode 100644
index e6302db..0000000
--- a/debian/source.lintian-overrides
+++ /dev/null
@@ -1,6 +0,0 @@
-# The following files are wrongly interpreted as minimified
-# JavaScript by lintian, which is not the case.
-# cf. https://lists.debian.org/debian-med/2015/09/msg00135.html
-orthanc-webviewer source: source-is-missing debian/JS/cornerstone-0.11.0/cornerstone.js
-orthanc-webviewer source: source-is-missing debian/JS/jsPanel-2.3.3/mobile-detect.js
-orthanc-webviewer source: source-is-missing debian/JS/pako-0.2.5/pako_inflate.js
diff --git a/debian/source/lintian-overrides b/debian/source/lintian-overrides
new file mode 100644
index 0000000..912650e
--- /dev/null
+++ b/debian/source/lintian-overrides
@@ -0,0 +1,6 @@
+# The following files are wrongly interpreted as minimified
+# JavaScript by lintian, which is not the case.
+# cf. https://lists.debian.org/debian-med/2015/09/msg00135.html
+orthanc-webviewer source: source-is-missing [debian/JS/cornerstone-0.11.0/cornerstone.js]
+orthanc-webviewer source: source-is-missing [debian/JS/jsPanel-2.3.3/mobile-detect.js]
+orthanc-webviewer source: source-is-missing [debian/JS/pako-0.2.5/pako_inflate.js]

Debdiff

[The following lists of changes regard files as different if they have different names, permissions or owners.]

Files in second set of .debs but not in first

-rw-r--r--  root/root   /usr/lib/debug/.build-id/e5/299c22c2f556e25ca13d75366f00bffd74b5c6.debug

Files in first set of .debs but not in second

-rw-r--r--  root/root   /usr/lib/debug/.build-id/19/bc21f4bd1aaf41fd9e47086c63de23df91abfc.debug

Control files of package orthanc-webviewer: lines which differ (wdiff format)

  • Depends: libboost-filesystem1.74.0 (>= 1.74.0), 1.74.0+ds1), libboost-iostreams1.74.0 (>= 1.74.0), 1.74.0+ds1), libboost-locale1.74.0 (>= 1.74.0), libboost-regex1.74.0-icu71, 1.74.0+ds1), libboost-regex1.74.0-icu72, libboost-thread1.74.0 (>= 1.74.0), 1.74.0+ds1), libc6 (>= 2.34), libgcc-s1 (>= 3.0), libjsoncpp25 (>= 1.9.5), libpugixml1v5 (>= 1.4), libsqlite3-0 (>= 3.7.3), libstdc++6 (>= 11), libuuid1 (>= 2.16), orthanc (>= 1.9.7+dfsg-6)

Control files of package orthanc-webviewer-dbgsym: lines which differ (wdiff format)

  • Build-Ids: 19bc21f4bd1aaf41fd9e47086c63de23df91abfc e5299c22c2f556e25ca13d75366f00bffd74b5c6

Run locally

More details

Full run details