[neon/kde/kwrited/Neon/unstable] debian: port to kf6

Harald Sitter null at kde.org
Fri Mar 10 15:31:41 GMT 2023


Git commit ffdd0c9e48c16fc80738e99f3b2b0febc3263190 by Harald Sitter.
Committed on 10/03/2023 at 14:54.
Pushed by sitter into branch 'Neon/unstable'.

port to kf6

M  +8    -8    debian/control
M  +2    -2    debian/kwrited.install
M  +5    -9    debian/rules

https://invent.kde.org/neon/kde/kwrited/commit/ffdd0c9e48c16fc80738e99f3b2b0febc3263190

diff --git a/debian/control b/debian/control
index 2077f93..51d6c83 100644
--- a/debian/control
+++ b/debian/control
@@ -5,14 +5,14 @@ Maintainer: Debian/Kubuntu Qt/KDE Maintainers <debian-qt-kde at lists.debian.org>
 Uploaders: Maximiliano Curia <maxy at debian.org>
 Build-Depends: cmake (>= 3.0~),
                debhelper (>= 11~),
-               extra-cmake-modules (>= 5.50.0~),
-               libkf5coreaddons-dev (>= 5.50.0~),
-               libkf5dbusaddons-dev (>= 5.50.0~),
-               libkf5i18n-dev (>= 5.50.0~),
-               libkf5notifications-dev (>= 5.50.0~),
-               libkf5pty-dev (>= 5.50.0~),
-               pkg-kde-tools (>= 0.15.15ubuntu1~),
-               qtbase5-dev (>= 5.11.0~),
+               kf6-extra-cmake-modules,
+               kf6-kcoreaddons-dev,
+               kf6-kdbusaddons-dev,
+               kf6-ki18n-dev,
+               kf6-knotifications-dev,
+               kf6-kpty-dev,
+               pkg-kde-tools-neon,
+               qt6-base-dev
 Standards-Version: 4.1.3
 Homepage: https://projects.kde.org/projects/kde/workspace/kwrited
 Vcs-Browser: https://salsa.debian.org/qt-kde-team/kde/kwrited
diff --git a/debian/kwrited.install b/debian/kwrited.install
index d6b48f2..8bdb00a 100644
--- a/debian/kwrited.install
+++ b/debian/kwrited.install
@@ -1,2 +1,2 @@
-usr/lib/*/qt5/plugins/kf5/kded/kwrited.so
-usr/share/knotifications5/kwrited.notifyrc
+usr/kf6/lib/*/qt6/plugins/kf5/kded/kwrited.so
+usr/kf6/share/knotifications5/kwrited.notifyrc
diff --git a/debian/rules b/debian/rules
index f1e05fa..47c772a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,13 +1,9 @@
 #!/usr/bin/make -f
-# -*- makefile -*-
-
-export DEB_LDFLAGS_MAINT_APPEND := -Wl,--as-needed
+# SPDX-License-Identifier: LGPL-2.0-or-later
+# SPDX-FileCopyrightText: 2023 Jonathan Riddell <jr at jriddell.org>
 
 %:
-	dh $@ --with kf5,pkgkde_symbolshelper --buildsystem kf5 --without build_stamp
-
-override_dh_auto_install:
-	dh_auto_install --destdir=debian/tmp
+	dh $@ --with kf6 --buildsystem kf6
 
-override_dh_strip:
-	dh_strip --dbgsym-migration='kwrited-dbg (<= 4:5.5.5-1~~)'
+override_dh_shlibdeps:
+	dh_shlibdeps -l$(CURDIR)/debian/$(shell dh_listpackages | head -n1)/usr/kf6/lib/$(DEB_HOST_MULTIARCH)/


More information about the Neon-commits mailing list