[neon/kde/messagelib/Neon/unstable] debian: docs, unity build

Carlos De Maine null at kde.org
Mon Oct 30 09:01:05 GMT 2023


Git commit fabcd4edb2b9039afbb9ca49f2c15f4ed459d833 by Carlos De Maine.
Committed on 30/10/2023 at 10:01.
Pushed by carlosdem into branch 'Neon/unstable'.

docs, unity build

M  +1    -0    debian/control
M  +1    -0    debian/kpim6-messagelib-dev.install
M  +5    -0    debian/rules
D  +0    -11   debian/tests/acc
D  +0    -21   debian/tests/control
D  +0    -5    debian/tests/testsuite
D  +0    -15   debian/tests/testsuite.xsession

https://invent.kde.org/neon/kde/messagelib/-/commit/fabcd4edb2b9039afbb9ca49f2c15f4ed459d833

diff --git a/debian/control b/debian/control
index d708fc2..a96b631 100644
--- a/debian/control
+++ b/debian/control
@@ -5,6 +5,7 @@ Maintainer: Debian/Kubuntu Qt/KDE Maintainers <debian-qt-kde at lists.debian.org>
 Uploaders: Maximiliano Curia <maxy at debian.org>
 Build-Depends: cmake,
                debhelper-compat (= 13),
+               doxygen,
                git,
                kf6-kcodecs-dev,
                kf6-extra-cmake-modules,
diff --git a/debian/kpim6-messagelib-dev.install b/debian/kpim6-messagelib-dev.install
index 71a6433..a9130b3 100644
--- a/debian/kpim6-messagelib-dev.install
+++ b/debian/kpim6-messagelib-dev.install
@@ -10,3 +10,4 @@ usr/lib/*/libKPim6MessageViewer.so
 usr/lib/*/libKPim6MimeTreeParser.so
 usr/lib/*/libKPim6TemplateParser.so
 usr/lib/*/libKPim6WebEngineViewer.so
+usr/share/qt6/doc/
\ No newline at end of file
diff --git a/debian/rules b/debian/rules
index 3d69b0d..141287f 100644
--- a/debian/rules
+++ b/debian/rules
@@ -4,3 +4,8 @@
 
 %:
 	dh $@ --with kf6 --buildsystem kf6
+
+override_dh_auto_configure:
+	dh_auto_configure -- \
+		-DCOMPILE_WITH_UNITY_CMAKE_SUPPORT=ON \
+		-DBUILD_QCH=ON
\ No newline at end of file
diff --git a/debian/tests/acc b/debian/tests/acc
deleted file mode 100755
index f8dc629..0000000
--- a/debian/tests/acc
+++ /dev/null
@@ -1,11 +0,0 @@
-#!/bin/sh
-
-DEB_HOST_MULTIARCH=$(dpkg-architecture -qDEB_HOST_MULTIARCH)
-
-for in_file in debian/*.acc.in; do
-    out_file=${in_file%.in}
-    sed 's/@@DEB_HOST_MULTIARCH@@/'"${DEB_HOST_MULTIARCH}"'/' \
-        "${in_file}" > "${out_file}"
-done
-
-dh_acc
diff --git a/debian/tests/control b/debian/tests/control
deleted file mode 100644
index 3ceb498..0000000
--- a/debian/tests/control
+++ /dev/null
@@ -1,21 +0,0 @@
-Tests: testsuite
-Depends: akonadi-backend-sqlite,
-         akonadi-server,
-         build-essential,
-         dbus-x11,
-         gnupg-agent,
-         kinit,
-         libgl1-mesa-dri,
-         libkf5akonadi-dev-bin,
-         libkf5akonadisearch-bin,
-         openbox,
-         oxygen5-icon-theme,
-         xauth,
-         xvfb,
-         @,
-         @builddeps@
-Restrictions: build-needed
-
-Tests: acc
-Depends: dh-acc, exuberant-ctags, @
-Restrictions: allow-stderr
diff --git a/debian/tests/testsuite b/debian/tests/testsuite
deleted file mode 100755
index 60e6d06..0000000
--- a/debian/tests/testsuite
+++ /dev/null
@@ -1,5 +0,0 @@
-#!/bin/sh
-export HOME=$(mktemp -d)
-trap "rm -rf ${HOME}" EXIT
-xvfb-run -a --server-args="-screen 0 1024x768x24" \
-    dbus-launch --exit-with-session debian/tests/testsuite.xsession
diff --git a/debian/tests/testsuite.xsession b/debian/tests/testsuite.xsession
deleted file mode 100755
index 71de49f..0000000
--- a/debian/tests/testsuite.xsession
+++ /dev/null
@@ -1,15 +0,0 @@
-#!/bin/sh
-export LANG=C.UTF-8
-export LC_ALL=C.UTF-8
-export XDG_CACHE_HOME="$HOME"
-export XDG_DATA_HOME="${HOME}/.qttest/share"
-mkdir -p ${XDG_DATA_HOME}
-export XDG_DATA_DIRS="$XDG_DATA_HOME:${HOME}/.local/share:/usr/share"
-openbox & WMPID=$!
-kdeinit5
-cleanup () {
-    kdeinit5_shutdown
-    if [ -n "$WMPID" ]; then kill "$WMPID"; fi
-}
-trap cleanup EXIT
-dh_auto_test


More information about the Neon-commits mailing list