[neon/extras/kdevelop/Neon/unstable] debian: kf6ify

Carlos De Maine null at kde.org
Wed Sep 27 01:39:02 BST 2023


Git commit 1cef113deac742a36cf829ec7dc4c5146f78f84c by Carlos De Maine.
Committed on 27/09/2023 at 02:38.
Pushed by carlosdem into branch 'Neon/unstable'.

kf6ify

D  +0    -1    debian/compat
M  +60   -168  debian/control
M  +2    -2    debian/kdevelop-data.install
M  +1    -1    debian/kdevelop.install
R  +4    -4    debian/kdevplatform-libs.install [from: debian/kdevplatform513-libs.install - 085% similarity]
A  +3    -0    debian/kdevplatform-libs.lintian-overrides
D  +0    -2    debian/kdevplatform511-libs.lintian-overrides
M  +3    -3    debian/plasma-kdevelop.install
M  +4    -2    debian/rules

https://invent.kde.org/neon/extras/kdevelop/-/commit/1cef113deac742a36cf829ec7dc4c5146f78f84c

diff --git a/debian/compat b/debian/compat
deleted file mode 100644
index f599e28..0000000
--- a/debian/compat
+++ /dev/null
@@ -1 +0,0 @@
-10
diff --git a/debian/control b/debian/control
index a95104c..22e7a55 100644
--- a/debian/control
+++ b/debian/control
@@ -8,51 +8,49 @@ Uploaders: Jeremy Lainé <jeremy.laine at m4x.org>,
 Build-Depends: clazy,
                cmake,
                cppcheck,
-               debhelper (>= 9),
-               extra-cmake-modules,
+               debhelper-compat (= 13),
                heaptrack-gui,
                kdevelop-pg-qt,
+               kf6-extra-cmake-modules,
+               kf6-kcmutils-dev,
+               kf6-kcolorscheme-dev,
+               kf6-kconfig-dev,
+               kf6-kcrash-dev,
+               kf6-kdeclarative-dev,
+               kf6-kdoctools-dev,
+               kf6-ki18n-dev,
+               kf6-kiconthemes-dev,
+               kf6-kio-dev,
+               kf6-kitemmodels-dev,
+               kf6-kitemviews-dev,
+               kf6-kjobwidgets-dev,
+               kf6-knewstuff-dev,
+               kf6-knotifyconfig-dev,
+               kf6-kparts-dev,
+               kf6-plasma-framework-dev,
+               kf6-kpurpose-dev,
+               kf6-krunner-dev [linux-any],
+               kf6-kservice-dev,
+               kf6-ksyntaxhighlighting-dev,
+               kf6-ktexteditor-dev,
+               kf6-ktexttemplate-dev,
+               kf6-threadweaver-dev,
+               kf6-kwindowsystem-dev,
+               kf6-kxmlgui-dev,
+#               libkomparediff2-dev,
                libastyle-dev,
                libboost-dev (>= 1.35.0),
                libclang-14-dev (>= 1:3.8) [!alpha !hppa !hurd-any !ia64 !kfreebsd-any !m68k !powerpcspe !riscv64 !sh4 !x32],
-               libgrantlee5-dev,
-               libkf5config-dev (>= 5.15.0),
-               libkf5crash-dev (>= 5.15.0),
-               libkf5declarative-dev (>= 5.15.0),
-               libkf5doctools-dev (>= 5.15.0),
-               libkf5i18n-dev (>= 5.15.0),
-               libkf5iconthemes-dev,
-               libkf5itemmodels-dev (>= 5.15.0),
-               libkf5itemviews-dev (>= 5.15.0),
-               libkf5jobwidgets-dev (>= 5.15.0),
-               libkf5kcmutils-dev (>= 5.15.0),
-               libkf5kio-dev (>= 5.15.0),
-               libkf5newstuff-dev (>= 5.15.0),
-               libkf5notifyconfig-dev (>= 5.15.0),
-               libkf5parts-dev (>= 5.15.0),
-               libkf5plasma-dev,
-               libkf5purpose-dev,
-               libkf5runner-dev [linux-any],
-               libkf5service-dev (>= 5.15.0),
-               libkf5syntaxhighlighting-dev,
-#               libkf5sysguard-dev,
-               libkf5texteditor-dev (>= 5.15.0),
-               libkf5threadweaver-dev (>= 5.15.0),
-               libkf5windowsystem-dev (>= 5.15.0),
-               libkf5xmlgui-dev (>= 5.15.0),
-               libkomparediff2-dev,
-               libqt5webkit5-dev (>= 5.4.0),
                libsvn-dev,
                llvm-14-dev (>= 1:3.8) [!alpha !hppa !hurd-any !ia64 !kfreebsd-any !m68k !powerpcspe !riscv64 !sh4 !x32],
-               okteta-dev,
-               pkg-kde-tools (>> 0.15.15),
-               qtbase5-dev,
-               qtdeclarative5-dev,
-               qttools5-dev,
-               qttools5-dev-tools,
-               qtwebengine5-dev,
-               shared-mime-info
-Standards-Version: 4.1.0
+#               okteta-dev,
+               pkg-kde-tools-neon,
+               qt6-base-dev,
+               qt6-declarative-dev,
+               qt6-tools-dev,
+               qt6-webengine-dev,
+               shared-mime-info,
+Standards-Version: 4.6.2
 Homepage: http://www.kdevelop.org/
 Vcs-Browser: https://anonscm.debian.org/cgit/pkg-kde/kde-std/kdevelop.git
 Vcs-Git: https://anonscm.debian.org/git/pkg-kde/kde-std/kdevelop.git
@@ -65,18 +63,16 @@ Depends: clang-tidy-14,
          heaptrack-gui,
          kdevelop-data (>= ${source:Version}),
          kdevelop-l10n,
+         kf6-plasma-framework,
          libclang-common-14-dev,
-         libqt5webengine5,
          meson,
-         plasma-framework,
-         qml-module-qtquick-controls,
-         qml-module-qtquick2,
+         qml6-module-qtquick-controls,
+         qml6-module-qtquick,
+         qt6-webengine,
          ${misc:Depends},
          ${shlibs:Depends}
 Recommends: g++, gcc, gdb (>= 7.0), kapptemplate, make, plasma-kdevelop
 Suggests: cmake, cppcheck, heaptrack, kdevelop-l10n, ninja-build
-Replaces: kdevplatform10-libs (<< 5.1.1-0neon)
-Breaks: kdevplatform10-libs (<< 5.1.1-0neon)
 Description: integrated development environment for KDE
  KDevelop is an easy to use integrated development environment for KDE.
  It supports a wide range of programming languages and features project
@@ -87,24 +83,10 @@ Description: integrated development environment for KDE
 
 Package: kdevelop-data
 Architecture: all
-Depends: plasma-framework,
-         qml-module-qtquick-controls,
-         qml-module-qtquick2,
+Depends: kf6-plasma-framework,
+         qml6-module-qtquick-controls,
+         qml6-module-qtquick2,
          ${misc:Depends}
-Breaks: kdevelop-doc (<< 4:4.3),
-        kdevplatform10-libs (<< 5.1.1-0neon),
-        kdevplatform52-libs (<< 5.2),
-        kdevplatform53-libs (<< 4:21.12.1),
-        kdevplatform54-libs (<< 4:21.12.1),
-        kdevplatform55-libs (<< 4:21.12.1),
-        kdevplatform56-libs (<< 4:21.12.1)
-Replaces: kdevelop-doc (<< 4:4.3),
-          kdevplatform10-libs (<< 5.1.1-0neon),
-          kdevplatform52-libs (<< 5.2),
-          kdevplatform53-libs (<< 4:21.12.1),
-          kdevplatform54-libs (<< 4:21.12.1),
-          kdevplatform55-libs (<< 4:21.12.1),
-          kdevplatform56-libs (<< 4:21.12.1)
 Description: data files for the KDevelop IDE
  KDevelop is a Free and Open Source integrated development
  environment (IDE). It provides editing, navigation and debugging features for
@@ -118,12 +100,10 @@ Section: libdevel
 Architecture: any
 Depends: kdevelop (= ${binary:Version}),
          kdevplatform-dev,
-         libkf5archive-dev,
-         libkf5configwidgets-dev,
-         libkf5texteditor-dev,
+         kf6-karchive-dev,
+         kf6-kconfigwidgets-dev,
+         kf6-ktexteditor-dev,
          ${misc:Depends}
-Replaces: kdevplatform-dev (<< 5.1.1-0neon)
-Breaks: kdevplatform-dev (<< 5.1.1-0neon)
 Description: development files for the KDevelop IDE
  KDevelop is a Free and Open Source integrated development
  environment (IDE). It provides editing, navigation and debugging features for
@@ -135,54 +115,7 @@ Description: development files for the KDevelop IDE
 Package: kdevelop-l10n
 Section: localization
 Architecture: all
-Replaces: kdevelop-l10n-ca,
-          kdevelop-l10n-cavalencia,
-          kdevelop-l10n-da,
-          kdevelop-l10n-de,
-          kdevelop-l10n-engb,
-          kdevelop-l10n-es,
-          kdevelop-l10n-et,
-          kdevelop-l10n-fi,
-          kdevelop-l10n-fr,
-          kdevelop-l10n-gl,
-          kdevelop-l10n-it,
-          kdevelop-l10n-nds,
-          kdevelop-l10n-nl,
-          kdevelop-l10n-pt,
-          kdevelop-l10n-ptbr,
-          kdevelop-l10n-ru,
-          kdevelop-l10n-sl,
-          kdevelop-l10n-sv,
-          kdevelop-l10n-th,
-          kdevelop-l10n-tr,
-          kdevelop-l10n-uk,
-          kdevelop-l10n-zhcn,
-          kdevelop-l10n-zhtw,
-          kdevplatform-l10n (<< 5.2.0)
-Breaks: kdevelop-l10n-ca,
-        kdevelop-l10n-cavalencia,
-        kdevelop-l10n-da,
-        kdevelop-l10n-de,
-        kdevelop-l10n-engb,
-        kdevelop-l10n-es,
-        kdevelop-l10n-et,
-        kdevelop-l10n-fi,
-        kdevelop-l10n-fr,
-        kdevelop-l10n-gl,
-        kdevelop-l10n-it,
-        kdevelop-l10n-nds,
-        kdevelop-l10n-nl,
-        kdevelop-l10n-pt,
-        kdevelop-l10n-ptbr,
-        kdevelop-l10n-ru,
-        kdevelop-l10n-sl,
-        kdevelop-l10n-sv,
-        kdevelop-l10n-th,
-        kdevelop-l10n-tr,
-        kdevelop-l10n-uk,
-        kdevelop-l10n-zhcn,
-        kdevelop-l10n-zhtw,
-        kdevplatform-l10n (<< 5.2.0)
+
 Description: localization files for the KDevelop IDE
  KDevelop is a Free and Open Source integrated development
  environment (IDE). It provides editing, navigation and debugging features for
@@ -191,53 +124,16 @@ Description: localization files for the KDevelop IDE
  .
  This package contains the translations for KDevelop.
 
-Package: kdevplatform513-libs
+Package: kdevplatform-libs
 Architecture: any
-Depends: plasma-framework,
-         qml-module-qtquick-controls,
-         qml-module-qtquick2,
+Depends: kf6-plasma-framework,
+         qml6-module-qtquick-controls,
+         qml6-module-qtquick,
          ${misc:Depends},
          ${shlibs:Depends}
-Replaces: kdevelop (<< 4:3.9.96-1),
-          kdevelop-data (<< 4:3.9.96-1),
-          kdevplatform1-libs,
-          kdevplatform10-libs (<< 5.2.0),
-          kdevplatform2-libs,
-          kdevplatform3-libs,
-          kdevplatform5-libs,
-          kdevplatform510-libs,
-          kdevplatform511-libs,
-          kdevplatform512-libs,
-          kdevplatform52-libs (<< 5.2.0),
-          kdevplatform53-libs (<< 4:21.12.1),
-          kdevplatform54-libs (<< 4:21.12.1),
-          kdevplatform55-libs (<< 4:21.12.1),
-          kdevplatform56-libs (<< 4:21.12.1),
-          kdevplatform57-libs (<< 4:22.04),
-          kdevplatform58-libs (<< 4:22.08),
-          kdevplatform59-libs,
-          kdevplatform7-libs,
-          kdevplatform8-libs,
-          kdevplatform9-libs
-Breaks: kdevplatform1-libs,
-        kdevplatform10-libs (<< 5.2.0),
-        kdevplatform2-libs,
-        kdevplatform3-libs,
-        kdevplatform5-libs,
-        kdevplatform510-libs,
-        kdevplatform511-libs,
-        kdevplatform52-libs (<< 5.2.0),
-        kdevplatform53-libs (<< 4:21.12.1),
-        kdevplatform54-libs (<< 4:21.12.1),
-        kdevplatform55-libs (<< 4:21.12.1),
-        kdevplatform56-libs (<< 4:21.12.1),
-        kdevplatform57-libs (<< 4:22.04),
-        kdevplatform58-libs (<< 4:22.08),
-        kdevplatform59-libs,
-        kdevplatform7-libs,
-        kdevplatform8-libs,
-        kdevplatform9-libs
-Provides: qml-module-org-kde-kdevplatform
+Replaces: kdevplatform513-libs,
+Breaks: kdevplatform513-libs,
+Provides: qml6-module-org-kde-kdevplatform
 Suggests: cvs, git, kdevplatform-l10n, konsole, zsh
 Description: shared libraries for the KDevelop platform
  This package contains shared libraries needed to run integrated development
@@ -248,15 +144,13 @@ Description: shared libraries for the KDevelop platform
 Package: kdevplatform-dev
 Section: libdevel
 Architecture: any
-Depends: kdevplatform513-libs (= ${binary:Version}),
-         libkf5archive-dev,
-         libkf5texteditor-dev,
-         libkf5threadweaver-dev,
-         qtbase5-dev,
-         qtdeclarative5-dev,
+Depends: kdevplatform-libs (= ${binary:Version}),
+         kf6-karchive-dev,
+         kf6-ktexteditor-dev,
+         kf6-threadweaver-dev,
+         qt6-base-dev,
+         qt6-declarative-dev,
          ${misc:Depends}
-Breaks: libsublime-dev
-Replaces: libsublime-dev
 Description: development files for the KDevelop platform
  This package contains development files for building integrated development
  environments based on the KDevelop platform.
@@ -266,8 +160,6 @@ Description: development files for the KDevelop platform
 Package: plasma-kdevelop
 Architecture: linux-any
 Depends: kdevelop (= ${binary:Version}), ${misc:Depends}, ${shlibs:Depends}
-Replaces: kdevelop (<< 4:5.6.2), kdevelop-data (<< 4:5.6.2)
-Breaks: kdevelop (<< 4:5.6.2), kdevelop-data (<< 4:5.6.2)
 Description: KDevelop plugins for Plasma
  KDevelop is a Free and Open Source integrated development
  environment (IDE). It provides editing, navigation and debugging features for
diff --git a/debian/kdevelop-data.install b/debian/kdevelop-data.install
index 539114f..5bfa354 100644
--- a/debian/kdevelop-data.install
+++ b/debian/kdevelop-data.install
@@ -10,7 +10,7 @@ usr/share/kdevelop/
 usr/share/kdevfiletemplates/
 usr/share/kdevmanpage/
 usr/share/kdevqmljssupport/
-usr/share/knotifications5/
+usr/share/knotifications6/
 usr/share/knsrcfiles/
-usr/share/kservicetypes5/kdevelopplugin.desktop
+usr/share/kservicetypes6/kdevelopplugin.desktop
 usr/share/mime/
diff --git a/debian/kdevelop.install b/debian/kdevelop.install
index bf5ed3b..0925490 100644
--- a/debian/kdevelop.install
+++ b/debian/kdevelop.install
@@ -7,4 +7,4 @@ usr/share/applications/*
 usr/share/kdevgdb/
 usr/share/kdevlldb/
 usr/share/metainfo/*
-usr/share/qlogging-categories5/kdevelop.categories
+usr/share/qlogging-categories6/kdevelop.categories
diff --git a/debian/kdevplatform513-libs.install b/debian/kdevplatform-libs.install
similarity index 85%
rename from debian/kdevplatform513-libs.install
rename to debian/kdevplatform-libs.install
index cc929f0..ef4a58b 100644
--- a/debian/kdevplatform513-libs.install
+++ b/debian/kdevplatform-libs.install
@@ -21,8 +21,8 @@ usr/lib/*/libKDevPlatformUtil.so.5.*
 usr/lib/*/libKDevPlatformUtil.so.513
 usr/lib/*/libKDevPlatformVcs.so.5.*
 usr/lib/*/libKDevPlatformVcs.so.513
-usr/lib/*/qt5/plugins/grantlee/
-usr/lib/*/qt5/plugins/kdevplatform/
-usr/lib/*/qt5/qml/org/kde/kdevplatform/
+usr/lib/*/qt6/plugins/grantlee/
+usr/lib/*/qt6/plugins/kdevplatform/
+usr/lib/*/qt6/qml6/org/kde/kdevplatform/
 usr/share/kdevplatform/shellutils/.zshrc
-usr/share/qlogging-categories5/kdevplatform.categories
+usr/share/qlogging-categories6/kdevplatform.categories
diff --git a/debian/kdevplatform-libs.lintian-overrides b/debian/kdevplatform-libs.lintian-overrides
new file mode 100644
index 0000000..fed43e7
--- /dev/null
+++ b/debian/kdevplatform-libs.lintian-overrides
@@ -0,0 +1,3 @@
+# rpath for private libraries - gray area, this is adding non-standard library path for use for kdevelop.
+kdevplatform-libs: binary-or-shlib-defines-rpath usr/lib/x86_64-linux-gnu/qt6/plugins/kdevplatform/35/kdevclangsupport.so /usr/lib/llvm-13/lib
+kdevplatform-libs: package-name-doesnt-match-sonames libKDevPlatformDebugger
diff --git a/debian/kdevplatform511-libs.lintian-overrides b/debian/kdevplatform511-libs.lintian-overrides
deleted file mode 100644
index 9f0e5ef..0000000
--- a/debian/kdevplatform511-libs.lintian-overrides
+++ /dev/null
@@ -1,2 +0,0 @@
-# rpath for private libraries - gray area, this is adding non-standard library path for use for kdevelop.
-kdevplatform511-libs: binary-or-shlib-defines-rpath usr/lib/x86_64-linux-gnu/qt5/plugins/kdevplatform/35/kdevclangsupport.so /usr/lib/llvm-13/lib
diff --git a/debian/plasma-kdevelop.install b/debian/plasma-kdevelop.install
index edd2247..1a6e1cd 100644
--- a/debian/plasma-kdevelop.install
+++ b/debian/plasma-kdevelop.install
@@ -1,5 +1,5 @@
 usr/lib/*/libKDevelopSessionsWatch.so
-usr/lib/*/qt5/plugins/kf5/krunner/krunner_kdevelopsessions.so
-usr/lib/*/qt5/qml/org/kde/plasma/
-usr/share/kservices5/plasma-applet-kdevelopsessions.desktop
+usr/lib/*/qt6/plugins/kf6/krunner/krunner_kdevelopsessions.so
+usr/lib/*/qt6/qml/org/kde/plasma/
+usr/share/kservices6/plasma-applet-kdevelopsessions.desktop
 usr/share/plasma/
diff --git a/debian/rules b/debian/rules
index d29cbb8..740b8e5 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,9 +1,11 @@
 #!/usr/bin/make -f
+# SPDX-License-Identifier: LGPL-2.0-or-later
+# # SPDX-FileCopyrightText: 2023 Jonathan Riddell <jr at jriddell.org>
 
 export DEB_LDFLAGS_MAINT_APPEND := -Wl,--as-needed
 
 %:
-	dh $@ --parallel --with kf5
+	dh $@ --with kf6 --buildsystem kf6
 
 override_dh_auto_clean:
 	dh_auto_clean
@@ -22,6 +24,6 @@ override_dh_auto_build:
 	done
 
 override_dh_strip:
-	dh_strip --dbgsym-migration='kdevelop-dbg (<< 4:4.7.3-3~)'
+	dh_strip
 
 .PHONY: override_dh_auto_test


More information about the Neon-commits mailing list