[neon/neon-packaging/kweathercore/Neon/unstable] debian: port to kf6

Carlos De Maine null at kde.org
Fri Sep 29 05:32:59 BST 2023


Git commit 3e3d93acfbce6a7fd72a4d7b4d98a82de53a8f34 by Carlos De Maine.
Committed on 29/09/2023 at 06:32.
Pushed by carlosdem into branch 'Neon/unstable'.

port to kf6

M  +15   -11   debian/control
D  +0    -4    debian/libkf5kweathercore-dev.install
D  +0    -2    debian/libkf5kweathercore5.install
A  +4    -0    debian/libkf6kweathercore-dev.install
A  +2    -0    debian/libkf6kweathercore6.install
M  +3    -1    debian/rules

https://invent.kde.org/neon/neon-packaging/kweathercore/-/commit/3e3d93acfbce6a7fd72a4d7b4d98a82de53a8f34

diff --git a/debian/control b/debian/control
index 12bcd38..b950910 100644
--- a/debian/control
+++ b/debian/control
@@ -2,32 +2,36 @@ Source: kweathercore
 Section: kde
 Maintainer: Jonathan Riddell <jr at jriddell.org>
 Priority: optional
-Build-Depends: cmake (>= 2.8.12~),
+Build-Depends: cmake,
                debhelper-compat (= 13),
-               extra-cmake-modules (>= 5.24.0~),
-               libkf5holidays-dev,
-               libkf5i18n-dev,
-               qtbase5-dev (>= 5.4.0~),
-               qtpositioning5-dev
-Standards-Version: 4.1.3
+               kf6-extra-cmake-modules,
+               kf6-kholidays-dev,
+               kf6-ki18n-dev,
+               qt6-base-dev,
+               qt6-positioning-dev
+Standards-Version: 4.6.2
 Homepage: http://www.kde.org/
 
-Package: libkf5kweathercore-dev
+Package: libkf6kweathercore-dev
 Section: libdevel
 Architecture: any
-Depends: libkf5kweathercore5 (= ${binary:Version}),
-         qtbase5-dev (>= 5.4.0~),
+Depends: libkf6kweathercore6 (= ${binary:Version}),
+         qt6-base-dev,
          ${misc:Depends}
+Breaks: libkf5kweathercore-dev
+Replaces: libkf5kweathercore-dev
 Description: retrieval of weather information including forecasts and alerts
  Library to facilitate retrieval of weather information including
  forecasts and alerts.
  .
  This package contains the development files.
 
-Package: libkf5kweathercore5
+Package: libkf6kweathercore6
 Section: libs
 Architecture: any
 Depends: ${misc:Depends}, ${shlibs:Depends}
+Breaks: libkf5kweathercore5
+Replaces: libkf5kweathercore5
 Description: retrieval of weather information including forecasts and alerts
  Library to facilitate retrieval of weather information including
  forecasts and alerts.
diff --git a/debian/libkf5kweathercore-dev.install b/debian/libkf5kweathercore-dev.install
deleted file mode 100644
index 30b2d1a..0000000
--- a/debian/libkf5kweathercore-dev.install
+++ /dev/null
@@ -1,4 +0,0 @@
-usr/include/KF5/
-usr/lib/*/cmake/
-usr/lib/*/libKF5KWeatherCore.so
-usr/lib/*/qt5/mkspecs/modules/
diff --git a/debian/libkf5kweathercore5.install b/debian/libkf5kweathercore5.install
deleted file mode 100644
index dfdc6e3..0000000
--- a/debian/libkf5kweathercore5.install
+++ /dev/null
@@ -1,2 +0,0 @@
-usr/lib/*/libKF5KWeatherCore.so.0.*
-usr/lib/*/libKF5KWeatherCore.so.5
diff --git a/debian/libkf6kweathercore-dev.install b/debian/libkf6kweathercore-dev.install
new file mode 100644
index 0000000..7582182
--- /dev/null
+++ b/debian/libkf6kweathercore-dev.install
@@ -0,0 +1,4 @@
+usr/include/KF6/
+usr/lib/*/cmake/
+usr/lib/*/libKF6KWeatherCore.so
+usr/lib/*/qt6/mkspecs/modules/
diff --git a/debian/libkf6kweathercore6.install b/debian/libkf6kweathercore6.install
new file mode 100644
index 0000000..1feda6a
--- /dev/null
+++ b/debian/libkf6kweathercore6.install
@@ -0,0 +1,2 @@
+usr/lib/*/libKF6KWeatherCore.so.0.*
+usr/lib/*/libKF6KWeatherCore.so.6
diff --git a/debian/rules b/debian/rules
index 2d33f6a..49552b2 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,4 +1,6 @@
 #!/usr/bin/make -f
+# SPDX-License-Identifier: LGPL-2.0-or-later
+# # SPDX-FileCopyrightText: 2023 Jonathan Riddell <jr at jriddell.org>
 
 %:
-	dh $@
+	dh $@ --with kf6 --buildsystem kf6


More information about the Neon-commits mailing list