[neon/extras/kdevelop-python/Neon/unstable] debian: modernize building

Pino Toscano null at kde.org
Wed Aug 17 12:20:25 BST 2022


Git commit 269ba85f60b8252dc8d69286d0da128072ba7dd8 by Pino Toscano.
Committed on 27/05/2022 at 08:34.
Pushed by jriddell into branch 'Neon/unstable'.

modernize building

M  +4    -0    debian/changelog
M  +1    -1    debian/control
M  +1    -1    debian/rules

https://invent.kde.org/neon/extras/kdevelop-python/commit/269ba85f60b8252dc8d69286d0da128072ba7dd8

diff --git a/debian/changelog b/debian/changelog
index aaf401a..daafb1e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -14,6 +14,10 @@ kdevelop-python (22.04.1-0r1) UNRELEASED; urgency=medium
     - bump KF packages to 5.78.0
     - bump kdevelop-dev to 22.04.1
   * Bump KDEV_PLUGIN_VERSION to 36, according to upstream.
+  * Modernize building:
+    - add the dh-sequence-kf5 build dependency to use the kf5 addon
+      automatically, removing pkg-kde-tools
+    - drop the manually specified kf5 addon for dh
 
  -- Debian Qt/KDE Maintainers <debian-qt-kde at lists.debian.org>  Fri, 27 May 2022 10:21:11 +0200
 
diff --git a/debian/control b/debian/control
index 2dba0c4..419a4e8 100644
--- a/debian/control
+++ b/debian/control
@@ -6,6 +6,7 @@ Uploaders: Pino Toscano <pino at debian.org>,
            Andreas Cord-Landwehr <cola at uni-paderborn.de>
 Build-Depends: cmake (>= 3.16~),
                debhelper-compat (= 13),
+               dh-sequence-kf5,
                extra-cmake-modules (>= 5.78.0~),
                gettext,
                qtbase5-dev (>= 5.15.0~),
@@ -16,7 +17,6 @@ Build-Depends: cmake (>= 3.16~),
                libkf5texteditor-dev (>= 5.78.0~),
                libkf5threadweaver-dev (>= 5.78.0~),
                kdevelop-dev (>= 4:22.04.1~),
-               pkg-kde-tools (>= 0.15.16),
                python3.9-dev,
 Standards-Version: 4.6.1
 Rules-Requires-Root: no
diff --git a/debian/rules b/debian/rules
index 4d64996..689e3b9 100755
--- a/debian/rules
+++ b/debian/rules
@@ -6,7 +6,7 @@ export DEB_LDFLAGS_MAINT_APPEND := -Wl,--as-needed
 export KDEV_PLUGIN_VERSION=36
 
 %:
-	dh $@ --with kf5
+	dh $@
 
 override_dh_auto_configure:
 	dh_auto_configure -Skf5 -- -DBUILD_TESTING=OFF



More information about the Neon-commits mailing list