[neon/qt6/qt6-sensors/Neon/release] debian: Fix docs.
Scarlett Moore
null at kde.org
Wed Oct 25 14:24:02 BST 2023
Git commit 652f9867dc60666144f09d0b31469e5e65319c14 by Scarlett Moore.
Committed on 25/10/2023 at 15:23.
Pushed by scarlettmoore into branch 'Neon/release'.
Fix docs.
M +11 -0 debian/control
A +1 -0 debian/qt6-sensors-doc.install
M +2 -2 debian/qt6-sensors.doc-base.qtsensors
M +1 -8 debian/qt6-sensors.install
D +0 -3 debian/qt6-sensors.lintian-overrides
https://invent.kde.org/neon/qt6/qt6-sensors/-/commit/652f9867dc60666144f09d0b31469e5e65319c14
diff --git a/debian/control b/debian/control
index 672dfb5..719304f 100644
--- a/debian/control
+++ b/debian/control
@@ -56,6 +56,17 @@ Description: Qt 6 Sensors - development files
This package contains the header development files used for building Qt 6
applications using Qt Sensors library.
+Package: qt6-sensors-doc
+Architecture: all
+Multi-Arch: foreign
+Section: doc
+Depends: qt6-base-doc, ${misc:Depends},
+Description: Qt 6 Sensors documentation
+ Qt is a cross-platform C++ application framework. Qt's primary feature
+ is its rich set of widgets that provide standard GUI functionality.
+ .
+ This package contains the documentation for Qt 6 Sensors.
+
Package: libqt6sensors6
Architecture: all
Depends: qt6-sensors
diff --git a/debian/qt6-sensors-doc.install b/debian/qt6-sensors-doc.install
new file mode 100644
index 0000000..6a0b95c
--- /dev/null
+++ b/debian/qt6-sensors-doc.install
@@ -0,0 +1 @@
+usr/share/qt6/doc
diff --git a/debian/qt6-sensors.doc-base.qtsensors b/debian/qt6-sensors.doc-base.qtsensors
index 46b83e2..feb787d 100644
--- a/debian/qt6-sensors.doc-base.qtsensors
+++ b/debian/qt6-sensors.doc-base.qtsensors
@@ -5,5 +5,5 @@ Abstract: This is the HTML documentation for Qt 6 Sensors
Section: Programming/C++
Format: HTML
-Index: /usr/share/doc/qt6-sensors/html/qtsensors/qtsensors-index.html
-Files: /usr/share/doc/qt6-sensors/html/qtsensors/*.html
+Index: /usr/share/doc/qt6-sensors-doc/html/qtsensors/qtsensors-index.html
+Files: /usr/share/doc/qt6-sensors-doc/html/qtsensors/*.html
diff --git a/debian/qt6-sensors.install b/debian/qt6-sensors.install
index 4447d07..13bc8c3 100644
--- a/debian/qt6-sensors.install
+++ b/debian/qt6-sensors.install
@@ -4,11 +4,4 @@ usr/lib/${DEB_HOST_MULTIARCH}/libQt6Sensors.so.*
usr/lib/${DEB_HOST_MULTIARCH}/libQt6SensorsQuick.so.*
usr/lib/${DEB_HOST_MULTIARCH}/qt6/plugins/sensors/
usr/lib/${DEB_HOST_MULTIARCH}/qt6/qml/QtSensors/
-usr/share/qt6/doc/qtsensors/examples-manifest.xml
-usr/share/qt6/doc/qtsensors/images/*
-usr/share/qt6/doc/qtsensors/*.html
-usr/share/qt6/doc/qtsensors/qtsensors.index
-usr/share/qt6/doc/qtsensors/qtsensors.qhp
-usr/share/qt6/doc/qtsensors/qtsensors.qhp.sha1
-usr/share/qt6/doc/qtsensors/style/*
-usr/share/qt6/doc/qtsensors.qch
+
diff --git a/debian/qt6-sensors.lintian-overrides b/debian/qt6-sensors.lintian-overrides
deleted file mode 100644
index e7652fc..0000000
--- a/debian/qt6-sensors.lintian-overrides
+++ /dev/null
@@ -1,3 +0,0 @@
-# Documentation in Qt 6 is installed in usr/share/qt6, we create symlinks from
-# doc in order to solve this.
-qt6-sensors-doc-html: package-contains-documentation-outside-usr-share-doc *
More information about the Neon-commits
mailing list