[neon/mobile/spacebar/Neon/unstable] debian: port to kf6

Carlos De Maine null at kde.org
Fri Jun 16 01:27:20 BST 2023


Git commit df869bece9d065e4b5614d79028a34d9daff67fb by Carlos De Maine.
Committed on 16/06/2023 at 00:27.
Pushed by carlosdem into branch 'Neon/unstable'.

port to kf6

M  +30   -36   debian/control
M  +6    -7    debian/rules

https://invent.kde.org/neon/mobile/spacebar/-/commit/df869bece9d065e4b5614d79028a34d9daff67fb

diff --git a/debian/control b/debian/control
index c1d097f..8a3dfb8 100644
--- a/debian/control
+++ b/debian/control
@@ -2,47 +2,41 @@ Source: spacebar
 Section: kde
 Priority: optional
 Maintainer: Debian/Kubuntu Qt/KDE Maintainers <debian-qt-kde at lists.debian.org>
-Build-Depends: cmake (>= 2.6.2),
+Build-Depends: cmake,
                debhelper-compat (= 13),
-               extra-cmake-modules,
-               g++-10,
-               gcc-10,
-               kirigami-addons-dev,
-               kirigami2-dev,
+               kf6-extra-cmake-modules,
+               kf6-kirigami-addons-dev,
+               kf6-kirigami2-dev,
+               kf6-kconfig-dev,
+               kf6-kcontacts-dev,
+               kf6-kdeclarative-dev,
+               kf6-ki18n-dev,
+               kf6-modemmanager-qt-dev,
+               kf6-knotifications-dev,
+               kf6-kpeople-dev,
+               kf6-plasma-framework-dev,
+               kf6-kwallet-dev,
                libc-ares-dev,
-               libkf5config-dev,
-               libkf5contacts-dev,
-               libkf5declarative-dev,
-               libkf5i18n-dev,
-               libkf5notifications-dev,
-               libkf5people-dev,
-               libkf5plasma-dev,
-               libkf5wallet-dev,
-               libktp-dev,
                libphonenumber-dev,
-               libqofono-dev,
-               libqt5svg5-dev,
-               modemmanager-qt-dev,
-               pkg-kde-tools (>= 0.12),
-               qcoro-qt5-dev,
-               qtbase5-dev,
-               qtdeclarative5-dev,
-               qtquickcontrols2-5-dev
-Standards-Version: 3.9.7
-Homepage: https://phabricator.kde.org/project/view/66/
-Vcs-Browser: https://phabricator.kde.org/diffusion/SPACEBAR/
-Vcs-Git: git://anongit.kde.org/spacebar
+               pkg-kde-tools-neon,
+               qcoro-qt6-dev,
+               qt6-base-dev,
+               qt6-declarative-dev,
+               qt6-svg-dev,
+Standards-Version: 4.6.1
+Homepage: https://invent.kde.org/plasma-mobile/spacebar.git
+Vcs-Browser: https://invent.kde.org/plasma-mobile/spacebar.git
+Vcs-Git: git://invent.kde.org/plasma-mobile/spacebar.git
 
 Package: spacebar
 Architecture: any
-Depends: qml-module-org-kde-kirigami2,
-         qml-module-org-kde-kquickcontrolsaddons,
-         qml-module-org-kde-people,
-         qml-module-org-kde-telepathy,
-         qml-module-qtquick-controls2,
-         qml-module-qtquick-extras,
-         qml-module-qtquick-layouts,
+Depends: kf6-kirigami2,
+         kf6-kdeclarative,
+         kf6-kpeople,
+         qml6-module-qtquick-controls,
+         qml6-module-qtquick-extras,
+         qml6-module-qtquick-layouts,
          ${misc:Depends},
          ${shlibs:Depends}
-Description: IM client
- Collection of stuff for running IM on Plasma Mobile
+Description: Plasma Mobile SMS/MMS messaging client
+ Spacebar is a SMS/MMS messaging client. It allows you to send text messages, pictures and other files over a cellular network.
diff --git a/debian/rules b/debian/rules
index 3bc8bc8..47c772a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,10 +1,9 @@
 #!/usr/bin/make -f
-# -*- makefile -*-
+# SPDX-License-Identifier: LGPL-2.0-or-later
+# SPDX-FileCopyrightText: 2023 Jonathan Riddell <jr at jriddell.org>
 
-include /usr/share/pkg-kde-tools/qt-kde-team/3/debian-qt-kde.mk
+%:
+	dh $@ --with kf6 --buildsystem kf6
 
-export CC=gcc-10
-export CXX=g++-10
-
-override_dh_strip:
-	$(overridden_command) --dbgsym-migration='spacebar-dbg (<= 0.01~~)'
+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