[neon/extras/smb4k/Neon/stable] debian: kf6ify

Carlos De Maine null at kde.org
Wed Jun 5 23:27:28 BST 2024


Git commit 2ba6c8b36e712561776fd09b5282e7aa469d873c by Carlos De Maine.
Committed on 05/06/2024 at 22:26.
Pushed by carlosdem into branch 'Neon/stable'.

kf6ify

M  +30   -29   debian/control
M  +3    -14   debian/rules

https://invent.kde.org/neon/extras/smb4k/-/commit/2ba6c8b36e712561776fd09b5282e7aa469d873c

diff --git a/debian/control b/debian/control
index f3fa05d..4889a9c 100644
--- a/debian/control
+++ b/debian/control
@@ -4,34 +4,35 @@ Priority: optional
 Maintainer: Debian KDE Extras Team <pkg-kde-extras at lists.alioth.debian.org>
 Uploaders: Mark Purcell <msp at debian.org>,
 Build-Depends: cmake (>= 3.2),
-               debhelper-compat (= 12),
-               pkg-kde-tools (>= 0.15.16),
+               debhelper-compat (= 13),
                gettext,
                extra-cmake-modules,
-               qtbase5-dev,
-               qtdeclarative5-dev,
-               libkf5auth-dev,
-               libkf5completion-dev,
-               libkf5config-dev,
-               libkf5configwidgets-dev,
-               libkf5coreaddons-dev,
-               libkf5crash-dev,
-               libkf5dbusaddons-dev,
-               libkf5dnssd-dev,
-               libkf5doctools-dev,
-               libkf5i18n-dev,
-               libkf5iconthemes-dev,
-               libkf5jobwidgets-dev,
-               libkf5kio-dev,
-               libkf5notifications-dev,
-               libkf5plasma-dev,
-               libkf5solid-dev,
-               libkf5wallet-dev,
-               libkf5widgetsaddons-dev,
-               libkf5windowsystem-dev,
-               libkf5xmlgui-dev,
+               kf6-kauth-dev,
+               kf6-kcompletion-dev,
+               kf6-kconfig-dev,
+               kf6-kconfigwidgets-dev,
+               kf6-kcoreaddons-dev,
+               kf6-kcrash-dev,
+               kf6-kdbusaddons-dev,
+               kf6-kdnssd-dev,
+               kf6-kdoctools-dev,
+               kf6-ki18n-dev,
+               kf6-kiconthemes-dev,
+               kf6-kjobwidgets-dev,
+               kf6-kio-dev,
+               kf6-knotifications-dev,
+               kf6-ksolid-dev,
+               kf6-kwallet-dev,
+               kf6-kwidgetsaddons-dev,
+               kf6-kwindowsystem-dev,
+               kf6-kxmlgui-dev,
                libsmbclient-dev,
-Standards-Version: 4.5.0
+               libplasma-dev,
+               pkg-kde-tools,
+               pkg-kde-tools-neon,
+               qt6-base-dev,
+               qt6-declarative6-dev,
+Standards-Version: 4.6.2
 Rules-Requires-Root: no
 Homepage: http://smb4k.sourceforge.net/
 Vcs-Git: https://salsa.debian.org/qt-kde-team/extras/smb4k.git
@@ -39,11 +40,11 @@ Vcs-Browser: https://salsa.debian.org/qt-kde-team/extras/smb4k
 
 Package: smb4k
 Architecture: kfreebsd-any linux-any
-Depends: cifs-utils (>= 2:4.1) [linux-any] | freebsd-smbfs [kfreebsd-any],
+Depends: cifs-utils [linux-any] | freebsd-smbfs [kfreebsd-any],
          plasma-framework,
-         qml-module-qtqml-models2,
-         samba-common-bin (>= 2:3.4.7~dfsg),
-         smbclient (>= 2:3.4.7~dfsg),
+         qml6-module-qtqml-models,
+         samba-common-bin,
+         smbclient,
          ${misc:Depends},
          ${shlibs:Depends}
 Recommends: rsync
diff --git a/debian/rules b/debian/rules
index cb16400..5dd8222 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,16 +1,5 @@
-#!/usr/bin/make -f
+# SPDX-License-Identifier: LGPL-2.0-or-later
+# # SPDX-FileCopyrightText: 2023 Jonathan Riddell <jr at jriddell.org>
 
 %:
-	dh $@ --with kf5
-
-override_dh_auto_configure:
-	dh_auto_configure -Skf5 -- -DINSTALL_PLASMOID=false -DINSTALL_HEADER_FILES=OFF
-
-override_dh_auto_install:
-	dh_auto_install
-	# remove symlinks of private libraries
-	find debian/smb4k -name '*.so' -type l -print -delete
-	# remove translations of unbuilt plasma widget
-	rm -f debian/smb4k/usr/share/locale/*/LC_MESSAGES/plasma_applet_org.kde.smb4kqml.mo
-	# at the end, remove empty directories
-	find debian/smb4k -type d -empty -delete
+	dh $@ --with kf6 --buildsystem kf6


More information about the Neon-commits mailing list