[neon/kde/kcontacts/Neon/unstable] debian: kf6ify

Scarlett Moore null at kde.org
Sun Sep 24 17:19:50 BST 2023


Git commit 0b45935d7ae3b1a3f79ec92ce646e15c3b8e7368 by Scarlett Moore.
Committed on 24/09/2023 at 18:19.
Pushed by scarlettmoore into branch 'Neon/unstable'.

kf6ify

M  +39   -40   debian/control
R  +3    -3    debian/kpim6-kcontacts-dev.acc.in [from: debian/libkf5contacts-dev.acc.in - 058% similarity]
R  +0    -0    debian/kpim6-kcontacts-dev.install [from: debian/libkf5contacts-dev.install - 100% similarity]
A  +5    -0    debian/kpim6-kcontacts.install
R  +0    -0    debian/kpim6-kcontacts.maintscript [from: debian/libkf5contacts-data.maintscript - 100% similarity]
R  +1    -1    debian/kpim6-kcontacts.symbols [from: debian/libkf5contacts5.symbols - 099% similarity]
D  +0    -2    debian/libkf5contacts-data.install
D  +0    -1    debian/libkf5contacts-doc.install
D  +0    -2    debian/libkf5contacts5.install
M  +4    -14   debian/rules

https://invent.kde.org/neon/kde/kcontacts/-/commit/0b45935d7ae3b1a3f79ec92ce646e15c3b8e7368

diff --git a/debian/control b/debian/control
index fc6ecab..9783edc 100644
--- a/debian/control
+++ b/debian/control
@@ -6,64 +6,63 @@ Uploaders: Maximiliano Curia <maxy at debian.org>
 Build-Depends: cmake (>= 2.8.12~),
                debhelper-compat (= 12),
                doxygen,
-               extra-cmake-modules (>= 5.19.0~),
-               libkf5codecs-dev (>= 5.19.0~),
-               libkf5config-dev (>= 5.19.0~),
-               libkf5coreaddons-dev (>= 5.19.0~),
-               libkf5i18n-dev (>= 5.19.0~),
-               pkg-kde-tools (>> 0.15.15),
-               qtbase5-dev (>= 5.4~),
-               qtdeclarative5-dev,
-               qttools5-dev,
-               qttools5-dev-tools
+               kf6-extra-cmake-modules,
+               kf6-kcodecs-dev,
+               kf6-kconfig-dev,
+               kf6-kcoreaddons-dev,
+               kf6-ki18n-dev,
+               pkg-kde-tools-neon,
+               qt6-base-dev,
+               qt6-declarative-dev,
+               qt6-tools-dev
 Standards-Version: 3.9.8
 Homepage: https://projects.kde.org/projects/kde/pim/kcontacts
 Vcs-Browser: https://anonscm.debian.org/git/pkg-kde/applications/kcontacts.git
 Vcs-Git: https://anonscm.debian.org/git/pkg-kde/applications/kcontacts.git
 
-Package: libkf5contacts-dev
+Package: kpim6-kcontacts-dev
 Section: libdevel
 Architecture: any
-Depends: libkf5codecs-dev,
-         libkf5config-dev,
-         libkf5contacts5 (= ${binary:Version}),
-         libkf5coreaddons-dev (>= 5.19.0~),
-         libkf5i18n-dev,
+Depends: kf6-kcodecs-dev,
+         kf6-kconfig-dev,
+         kpim6-kcontacts (= ${binary:Version}),
+         kf6-kcoreaddons-dev,
+         kf6-ki18n-dev,
          ${misc:Depends}
-Recommends: libkf5contacts-doc (= ${source:Version})
 Description: development files for kcontacts
  KContacts is an API for address book data.
  .
  This package contains the development files.
 
-Package: libkf5contacts-data
+
+Package: libkf6contacts-dev
 Architecture: all
-Multi-Arch: foreign
-Depends: ${misc:Depends}, ${shlibs:Depends}
-Breaks: ${kde-l10n:all}
-Replaces: ${kde-l10n:all}
-Description: data files for kcontacts
- KContacts is an API for address book data.
- .
- This package contains shared data files.
+Depends: kpim6-kcontacts-dev
+Description: Dummy transitional
+ Transitional dummy package.
 
-Package: libkf5contacts5
+Package: libkf6contacts-data
+rchitecture: all
+Depends: kpim6-kcontacts
+Description: Dummy transitional
+ Transitional dummy package.
+
+Package: kpim6-contacts
 Architecture: any
 Multi-Arch: same
-Depends: libkf5contacts-data (= ${source:Version}),
-         ${misc:Depends},
+Depends: ${misc:Depends},
          ${shlibs:Depends}
 Description: address book API for KDE frameworks
  KContacts is an API for address book data.
 
-Package: libkf5contacts-doc
-Architecture: all
-Multi-Arch: foreign
-Depends: ${misc:Depends}
-Section: doc
-Description: address book API for KDE frameworks
- KContacts is an API for address book data.
- .
- This package is part of KDE Frameworks 5.
- .
- This package contains the qch documentation files.
+Package: libkf6contacts6
+rchitecture: all
+Depends: kpim6-kcontacts
+Description: Dummy transitional
+ Transitional dummy package.
+
+Package: libkf6contacts-doc
+rchitecture: all
+Depends: kpim6-kcontacts
+Description: Dummy transitional
+ Transitional dummy package.
diff --git a/debian/libkf5contacts-dev.acc.in b/debian/kpim6-kcontacts-dev.acc.in
similarity index 58%
rename from debian/libkf5contacts-dev.acc.in
rename to debian/kpim6-kcontacts-dev.acc.in
index bf60410..010020d 100644
--- a/debian/libkf5contacts-dev.acc.in
+++ b/debian/kpim6-kcontacts-dev.acc.in
@@ -6,12 +6,12 @@
 </version>
 
 <headers>
-    /usr/include/KF5/KContacts/
-    /usr/include/KF5/kcontacts_version.h
+    /usr/include/Kpim6/KContacts/
+    /usr/include/Kpim6/kcontacts_version.h
 </headers>
 
 <libs>
-    /usr/lib/@@DEB_HOST_MULTIARCH@@/libKF5Contacts.so
+    /usr/lib/@@DEB_HOST_MULTIARCH@@/Kpim6Contacts.so
 </libs>
 
 <gcc_options>
diff --git a/debian/libkf5contacts-dev.install b/debian/kpim6-kcontacts-dev.install
similarity index 100%
rename from debian/libkf5contacts-dev.install
rename to debian/kpim6-kcontacts-dev.install
diff --git a/debian/kpim6-kcontacts.install b/debian/kpim6-kcontacts.install
new file mode 100644
index 0000000..b9c5a0e
--- /dev/null
+++ b/debian/kpim6-kcontacts.install
@@ -0,0 +1,5 @@
+usr/lib/*/Kpim6Contacts.so.6
+usr/lib/*/Kpim6Contacts.so.*.*
+usr/share/locale/
+usr/share/qlogging-categories6/
+usr/share/qt6/doc/Kpim6Contacts.qch
diff --git a/debian/libkf5contacts-data.maintscript b/debian/kpim6-kcontacts.maintscript
similarity index 100%
rename from debian/libkf5contacts-data.maintscript
rename to debian/kpim6-kcontacts.maintscript
diff --git a/debian/libkf5contacts5.symbols b/debian/kpim6-kcontacts.symbols
similarity index 99%
rename from debian/libkf5contacts5.symbols
rename to debian/kpim6-kcontacts.symbols
index d0a519d..35acdcc 100644
--- a/debian/libkf5contacts5.symbols
+++ b/debian/kpim6-kcontacts.symbols
@@ -1,5 +1,5 @@
 # SymbolsHelper-Confirmed: 16.04.1 amd64
-libKF5Contacts.so.5 libkf5contacts5 #MINVER#
+Kpim6Contacts.so.6 kpim6contacts6 #MINVER#
  (optional=templinst)_ZN12KConfigGroup10writeEntryIiEEvPKcRK5QListIT_E6QFlagsIN11KConfigBase15WriteConfigFlagEE at Base 15.07.90
  _ZN9KContacts11CalendarUrl13setParametersERK4QMapI7QString11QStringListE at Base 15.07.90
  _ZN9KContacts11CalendarUrl6setUrlERK4QUrl at Base 15.07.90
diff --git a/debian/libkf5contacts-data.install b/debian/libkf5contacts-data.install
deleted file mode 100644
index aa0beb7..0000000
--- a/debian/libkf5contacts-data.install
+++ /dev/null
@@ -1,2 +0,0 @@
-usr/share/locale/
-usr/share/qlogging-categories5/
diff --git a/debian/libkf5contacts-doc.install b/debian/libkf5contacts-doc.install
deleted file mode 100644
index fb78e96..0000000
--- a/debian/libkf5contacts-doc.install
+++ /dev/null
@@ -1 +0,0 @@
-usr/share/qt5/doc/KF5Contacts.qch
diff --git a/debian/libkf5contacts5.install b/debian/libkf5contacts5.install
deleted file mode 100644
index c7cb8f4..0000000
--- a/debian/libkf5contacts5.install
+++ /dev/null
@@ -1,2 +0,0 @@
-usr/lib/*/libKF5Contacts.so.5
-usr/lib/*/libKF5Contacts.so.5.*
diff --git a/debian/rules b/debian/rules
index b41b9c0..3d69b0d 100644
--- a/debian/rules
+++ b/debian/rules
@@ -1,16 +1,6 @@
 #!/usr/bin/make -f
+# SPDX-License-Identifier: LGPL-2.0-or-later
+# SPDX-FileCopyrightText: 2023 Jonathan Riddell <jr at jriddell.org>
 
-l10npkgs_firstversion_ok := 4:17.03.90-0~
-
-include /usr/share/pkg-kde-tools/qt-kde-team/3/debian-qt-kde.mk
-include /usr/share/pkg-kde-tools/qt-kde-team/2/l10n-packages.mk
-
-override_dh_strip:
-	$(overridden_command) --dbgsym-migration='libkf5contacts-dbg (<= 15.12.1-1~~)'
-
-override_dh_auto_configure:
-	dh_auto_configure -- -DBUILD_QCH=ON
-
-override_dh_auto_test:
-	# Disable auto test at build time, fakeroot breaks them
-	:
+%:
+	dh $@ --with kf6 --buildsystem kf6


More information about the Neon-commits mailing list