[neon/extras/kuserfeedback/Neon/unstable] debian: provide kf6/qt6 packages

Carlos De Maine null at kde.org
Tue Mar 14 05:21:37 GMT 2023


Git commit e68a64892f8eda44ad4937e25d56b37d327a3b31 by Carlos De Maine.
Committed on 14/03/2023 at 05:21.
Pushed by carlosdem into branch 'Neon/unstable'.

provide kf6/qt6 packages

M  +102  -0    debian/control
A  +5    -0    debian/kuserfeedback6-bin.install
A  +6    -0    debian/kuserfeedback6-dev.install
A  +1    -0    debian/kuserfeedback6-doc.install
A  +3    -0    debian/libkuserfeedback6core1.install
A  +1    -0    debian/libkuserfeedback6widgets1.install
M  +46   -2    debian/rules

https://invent.kde.org/neon/extras/kuserfeedback/commit/e68a64892f8eda44ad4937e25d56b37d327a3b31

diff --git a/debian/control b/debian/control
index b9eafe0..b84668a 100644
--- a/debian/control
+++ b/debian/control
@@ -8,15 +8,23 @@ Build-Depends: bison,
                cmake (>= 3.0~),
                debhelper-compat (= 13),
                extra-cmake-modules (>= 5.51.0~),
+               kf6-extra-cmake-modules,
                flex,
                libqt5charts5-dev,
+               qt6-charts-dev,
                libqt5svg5-dev,
+               qt6-svg-dev,
                pkg-kde-tools (>= 0.15.15ubuntu1~),
+               pkg-ke-tools-neon,
                qtbase5-dev (>= 5.8.0~),
+               qt6-base-dev,
                qtdeclarative5-dev,
+               qt6-declarative-dev,
                qtdeclarative5-dev-tools,
                qttools5-dev,
+               qt6-tools-dev
                qttools5-dev-tools (>= 5.4),
+               qt6-tools-dev-tools,
                xauth <!nocheck>,
                xvfb <!nocheck>,
 Build-Depends-Indep: qdoc-qt5
@@ -43,6 +51,23 @@ Description: user feedback for applications - executables
  .
  This package contains the management and analytics applications.
 
+Package: kuserfeedback6-bin
+Architecture: any
+Depends: ${misc:Depends}, ${shlibs:Depends}
+Description: user feedback for applications - executables
+ Framework for collecting user feedback for applications via telemetry
+ and surveys.
+ .
+ Telemetry
+  * Extensible set of data sources for telemetry.
+  * Full control for the user on what data to contribute.
+ Surveys
+  * Distribute surveys and offer users to participate in them.
+  * Survey targeting based on telemetry data.
+  * Allow the user to configure how often they want to participate in surveys.
+ .
+ This package contains the management and analytics applications.
+
 Package: kuserfeedback-dev
 Section: libdevel
 Architecture: any
@@ -64,6 +89,27 @@ Description: development files for KUserFeedback
  .
  This package contains the development header files for kuserfeedback.
 
+Package: kuserfeedback6-dev
+Section: libdevel
+Architecture: any
+Depends: libkuserfeedbackcore1 (= ${binary:Version}),
+         libkuserfeedbackwidgets1 (= ${binary:Version}),
+         qt6-base-dev,
+         ${misc:Depends},
+Description: development files for KUserFeedback
+ Framework for collecting user feedback for applications via telemetry
+ and surveys.
+ .
+ Telemetry
+  * Extensible set of data sources for telemetry.
+  * Full control for the user on what data to contribute.
+ Surveys
+  * Distribute surveys and offer users to participate in them.
+  * Survey targeting based on telemetry data.
+  * Allow the user to configure how often they want to participate in surveys.
+ .
+ This package contains the development header files for kuserfeedback.
+
 Package: kuserfeedback-doc
 Architecture: all
 Multi-Arch: foreign
@@ -102,6 +148,25 @@ Description: user feedback for applications - core library
  .
  This package contains the core library for kuserfeedback.
 
+Package: libkuserfeedback6core1
+Architecture: any
+Multi-Arch: same
+Depends: ${misc:Depends}, ${shlibs:Depends}
+Recommends: kuserfeedback6-doc (= ${binary:Version})
+Description: user feedback for applications - core library
+ Framework for collecting user feedback for applications via telemetry
+ and surveys.
+ .
+ Telemetry
+  * Extensible set of data sources for telemetry.
+  * Full control for the user on what data to contribute.
+ Surveys
+  * Distribute surveys and offer users to participate in them.
+  * Survey targeting based on telemetry data.
+  * Allow the user to configure how often they want to participate in surveys.
+ .
+ This package contains the core library for kuserfeedback.
+
 Package: libkuserfeedbackwidgets1
 Architecture: any
 Multi-Arch: same
@@ -121,6 +186,25 @@ Description: user feedback for applications - widgets library
  .
  This package contains the widgets library used by kuserfeedback.
 
+Package: libkuserfeedback6widgets1
+Architecture: any
+Multi-Arch: same
+Depends: ${misc:Depends}, ${shlibs:Depends}
+Recommends: qml-module-org-kde-userfeedback6 (= ${binary:Version})
+Description: user feedback for applications - widgets library
+ Framework for collecting user feedback for applications via telemetry
+ and surveys.
+ .
+ Telemetry
+  * Extensible set of data sources for telemetry.
+  * Full control for the user on what data to contribute.
+ Surveys
+  * Distribute surveys and offer users to participate in them.
+  * Survey targeting based on telemetry data.
+  * Allow the user to configure how often they want to participate in surveys.
+ .
+ This package contains the widgets library used by kuserfeedback.
+
 Package: qml-module-org-kde-userfeedback
 Architecture: any
 Multi-Arch: same
@@ -138,3 +222,21 @@ Description: user feedback for applications - QML module
   * Allow the user to configure how often they want to participate in surveys.
  .
  This package contains the QML module for kuserfeedback.
+
+Package: qml-module-org-kde-userfeedback6
+Architecture: any
+Multi-Arch: same
+Depends: ${misc:Depends}, ${shlibs:Depends}
+Description: user feedback for applications - QML module
+ Framework for collecting user feedback for applications via telemetry
+ and surveys.
+ .
+ Telemetry
+  * Extensible set of data sources for telemetry.
+  * Full control for the user on what data to contribute.
+ Surveys
+  * Distribute surveys and offer users to participate in them.
+  * Survey targeting based on telemetry data.
+  * Allow the user to configure how often they want to participate in surveys.
+ .
+ This package contains the QML module for kuserfeedback.
diff --git a/debian/kuserfeedback6-bin.install b/debian/kuserfeedback6-bin.install
new file mode 100644
index 0000000..451fec5
--- /dev/null
+++ b/debian/kuserfeedback6-bin.install
@@ -0,0 +1,5 @@
+usr/bin/UserFeedbackConsole6
+usr/bin/userfeedbackctl6
+usr/share/applications/org.kde.kuserfeedback6-console.desktop
+usr/share/locale/*/LC_MESSAGES/userfeedbackconsole6_qt.qm
+usr/share/metainfo/org.kde.kuserfeedback6-console.appdata.xml
diff --git a/debian/kuserfeedback6-dev.install b/debian/kuserfeedback6-dev.install
new file mode 100644
index 0000000..846e3ed
--- /dev/null
+++ b/debian/kuserfeedback6-dev.install
@@ -0,0 +1,6 @@
+usr/include/KUserFeedback/
+usr/lib/*/cmake/KUserFeedback/
+usr/lib/*/libKUserFeedbackCore.so
+usr/lib/*/libKUserFeedbackWidgets.so
+usr/lib/*/qt6/mkspecs/modules/qt_KUserFeedbackCore.pri
+usr/lib/*/qt6/mkspecs/modules/qt_KUserFeedbackWidgets.pri
diff --git a/debian/kuserfeedback6-doc.install b/debian/kuserfeedback6-doc.install
new file mode 100644
index 0000000..a49f0e6
--- /dev/null
+++ b/debian/kuserfeedback6-doc.install
@@ -0,0 +1 @@
+usr/share/KDE/UserFeedbackConsole6
diff --git a/debian/libkuserfeedback6core1.install b/debian/libkuserfeedback6core1.install
new file mode 100644
index 0000000..5d4bbd4
--- /dev/null
+++ b/debian/libkuserfeedback6core1.install
@@ -0,0 +1,3 @@
+usr/lib/*/libKUserFeedbackCore6.so.1*
+usr/share/locale/*/LC_MESSAGES/userfeedbackprovider6_qt.qm
+usr/share/qlogging-categories6/org_kde_UserFeedback.categories
diff --git a/debian/libkuserfeedback6widgets1.install b/debian/libkuserfeedback6widgets1.install
new file mode 100644
index 0000000..dcc401f
--- /dev/null
+++ b/debian/libkuserfeedback6widgets1.install
@@ -0,0 +1 @@
+usr/lib/*/libKUserFeedback6Widgets.so.1*
diff --git a/debian/rules b/debian/rules
index 8d126f7..10dfe8a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,13 +4,57 @@
 export DEB_BUILD_MAINT_OPTIONS = hardening=+all
 
 %:
-	dh $@ --with kf5,pkgkde_symbolshelper --buildsystem kf5 --without build_stamp
+	dh $@  --without build_stamp
+
+execute_after_dh_auto_clean:
+	rm -rf build-Qt6
 
 override_dh_auto_configure-arch:
-	dh_auto_configure -- -DENABLE_DOCS=OFF -DQT_MAJOR_VERSION=5
+	dh_auto_configure --with kf5,pkgkde_symbolshelper --buildsystem kf5 -DENABLE_DOCS=OFF -DQT_MAJOR_VERSION=5
+	dh_auto_configure --with kf6,pkgkde_symbolshelper --buildsystem kf6 --builddirectory=build-Qt6 -DUSE_QT_VERSION=6
 
 override_dh_auto_configure-indep:
 	dh_auto_configure -- -DENABLE_DOCS=ON -DQT_MAJOR_VERSION=5
+	dh_auto_configure -- -DENABLE_DOCS=ON -DQT_MAJOR_VERSION=6
+
+override_dh_auto_install:
+	dh_auto_install
+	dh_auto_install --builddirectory=build-Qt6
 
 override_dh_auto_test:
 	xvfb-run dh_auto_test --no-parallel
+	xvfb-run dh_auto_test --no-parallel --builddirectory=build-Qt6
+
+#!/usr/bin/make -f
+# -*- makefile -*-
+
+export DEB_BUILD_MAINT_OPTIONS = hardening=+all
+
+CMAKE_ARGS = -DBUILD_SHARED_LIBS=ON -DQCORO_BUILD_EXAMPLES=OFF
+
+%:
+	dh $@ --with pkgkde_symbolshelper
+
+execute_after_dh_auto_clean:
+	rm -rf build-Qt6
+
+override_dh_auto_configure:
+	dh_auto_configure -- $(CMAKE_ARGS) -DUSE_QT_VERSION=5
+	dh_auto_configure --builddirectory=build-Qt6 -- $(CMAKE_ARGS) -DUSE_QT_VERSION=6
+
+override_dh_auto_build:
+	dh_auto_build
+	dh_auto_build --builddirectory=build-Qt6
+
+override_dh_auto_install:
+	dh_auto_install
+	dh_auto_install --builddirectory=build-Qt6
+
+execute_after_dh_install-indep:
+	rm debian/qcoro-doc/usr/share/doc/qcoro-doc/docs/changelog.md
+	rm -r debian/qcoro-doc/usr/share/doc/qcoro-doc/docs/about
+	rm -r debian/qcoro-doc/usr/share/doc/qcoro-doc/docs/overrides
+
+override_dh_auto_test:
+	dh_auto_test --no-parallel
+	dh_auto_test --no-parallel --builddirectory=build-Qt6
\ No newline at end of file


More information about the Neon-commits mailing list