[neon/qt/qtwebengine/Neon/release_jammy] debian: Add lintian override for documentation outside of /usr/share/doc.

Dmitry Shachnev null at kde.org
Wed Aug 21 09:44:48 BST 2024


Git commit d1b3001d9022ac83e7793297c876ec897d81782e by Dmitry Shachnev, on behalf of Soren Stoutner.
Committed on 06/08/2024 at 07:26.
Pushed by jriddell into branch 'Neon/release_jammy'.

Add lintian override for documentation outside of /usr/share/doc.

M  +3    -2    debian/changelog
A  +3    -0    debian/qtpdf5-doc-html.lintian-overrides
A  +2    -0    debian/qtpdf5-examples.lintian-overrides
A  +3    -0    debian/qtwebengine5-doc-html.lintian-overrides
A  +2    -0    debian/qtwebengine5-examples.lintian-overrides

https://invent.kde.org/neon/qt/qtwebengine/-/commit/d1b3001d9022ac83e7793297c876ec897d81782e

diff --git a/debian/changelog b/debian/changelog
index a83a7ae..2626f42 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,7 +1,8 @@
 qtwebengine-opensource-src (5.15.17+dfsg-4) UNRELEASED; urgency=medium
 
-  * Add lintian overrides for false positive usage of deprecated distutils and
-    for various missing-sources.
+  * Add lintian overrides for false positive usage of deprecated distutils, for
+    various missing-sources, and for false positive detection of documentation
+    outside of /usr/share/doc.
   * Add Polymer and HTML-Imports to debian/missing-sources.
   * Update debian/copyright to include information about missing-sources.
   * Fix forwarded field in some patches.
diff --git a/debian/qtpdf5-doc-html.lintian-overrides b/debian/qtpdf5-doc-html.lintian-overrides
new file mode 100644
index 0000000..174829d
--- /dev/null
+++ b/debian/qtpdf5-doc-html.lintian-overrides
@@ -0,0 +1,3 @@
+# This documentation should exist in /usr/share/qt5/doc/ so that qt can find it.  It is linked from /usr/share/doc/qtpdf5-doc-html/.
+# See <https://bugs.debian.org/975941> and <https://www.debian.org/doc/debian-policy/ch-docs.html#additional-documentation>.
+qtpdf5-doc-html: package-contains-documentation-outside-usr-share-doc [usr/share/qt5/doc/qtpdf/*]
diff --git a/debian/qtpdf5-examples.lintian-overrides b/debian/qtpdf5-examples.lintian-overrides
new file mode 100644
index 0000000..78c1567
--- /dev/null
+++ b/debian/qtpdf5-examples.lintian-overrides
@@ -0,0 +1,2 @@
+# /usr/lib/x86_64-linux-gnu/qt5/examples/ is the correct system directory for qt5 example files.
+qtpdf5-examples: package-contains-documentation-outside-usr-share-doc [usr/lib/*/qt5/examples/pdf/*]
diff --git a/debian/qtwebengine5-doc-html.lintian-overrides b/debian/qtwebengine5-doc-html.lintian-overrides
new file mode 100644
index 0000000..cd05b5a
--- /dev/null
+++ b/debian/qtwebengine5-doc-html.lintian-overrides
@@ -0,0 +1,3 @@
+# This documentation should exist in /usr/share/qt5/doc/ so that qt can find it.  It is linked from /usr/share/doc/qtwebengine5-doc-html/.
+# See <https://bugs.debian.org/975941> and <https://www.debian.org/doc/debian-policy/ch-docs.html#additional-documentation>.
+qtwebengine5-doc-html: package-contains-documentation-outside-usr-share-doc [usr/share/qt5/doc/qtwebengine/*]
diff --git a/debian/qtwebengine5-examples.lintian-overrides b/debian/qtwebengine5-examples.lintian-overrides
new file mode 100644
index 0000000..19d423d
--- /dev/null
+++ b/debian/qtwebengine5-examples.lintian-overrides
@@ -0,0 +1,2 @@
+# /usr/lib/x86_64-linux-gnu/qt5/examples/ is the correct system directory for qt5 example files.
+qtwebengine5-examples: package-contains-documentation-outside-usr-share-doc [usr/lib/*/qt5/examples/*]



More information about the Neon-commits mailing list