[SCM] plasma-framework packaging branch, master, updated. debian/5.22.0-1-5-g1717242
Harald Sitter
apachelogger-guest at moszumanska.debian.org
Fri Jul 8 13:40:14 UTC 2016
Gitweb-URL: http://git.debian.org/?p=pkg-kde/frameworks/plasma-framework.git;a=commitdiff;h=1717242
The following commit has been merged in the master branch:
commit 17172427db8b18368a2ec3b1fff9970b2580a084
Author: Harald Sitter <sitter at kde.org>
Date: Fri Jul 8 12:19:52 2016 +0200
change dev package name to cmake package name
as discussed at munich sprint.
rationale:
The majority of KF5 libraries are one library with a matching cmake package
name (e.g. kconfig = libkf5config = cmake/kf5config). To a user this
paints a picture where this equality is always true so that if
cmake complains about missing KF5Wayland they want to install
libkf5wayland-dev to meet that requirement. This will however fail because
of the general naming rule we employ (i.e. single lib => libname-dev;
multilib => sourcename-dev) as kwayland produces two libraries its dev
package is called kwayland-dev rather than libkf5wayland-dev. This is
not obvious to users and causes to them unreasonable inconsistency.
Additionally it increases the entry barrier to packaging as a whole as
one needs to be aware of the -dev naming rule or else multilib sources
will seem equally out of line with the rest of frameworks. To that extend
even knowing this a packager would have to remember the frameworks that
are multilib or have to look up the correct names each time when writing
a new control file or expanding it with new build depends.
To increase overall consistency all frameworks are now to reflect their
cmake package name in the -dev package name. This is because cmake is
expected to be the primary method of consumption for frameworks and even
when using qmake the metadata is split per-library anyway, so they have
no common naming consistency underlying them.
This change updates the -dev name to align with expectation and introduces
a transitional dummy package to help with the transition.
---
debian/changelog | 8 ++++++++
debian/control | 16 +++++++++++++---
...asma-framework-dev.acc.in => libkf5plasma-dev.acc.in} | 0
...ma-framework-dev.install => libkf5plasma-dev.install} | 0
4 files changed, 21 insertions(+), 3 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 9365c2a..07f67fa 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+plasma-framework (5.23.0-2) UNRELEASED; urgency=medium
+
+ * Rename -dev package to align with the cmake package name for
+ greater discoverability and consistency across frameworks.
+ Add a transitional package to help with the name transition.
+
+ -- Harald Sitter <sitter at kde.org> Tue, 14 Jun 2016 12:50:16 +0200
+
plasma-framework (5.23.0-1) unstable; urgency=medium
[ Automatic packaging ]
diff --git a/debian/control b/debian/control
index c252f7a..b41efc7 100644
--- a/debian/control
+++ b/debian/control
@@ -52,7 +52,7 @@ Homepage: https://projects.kde.org/projects/frameworks/plasma-framework
Vcs-Browser: https://anonscm.debian.org/git/pkg-kde/frameworks/plasma-framework.git
Vcs-Git: https://anonscm.debian.org/git/pkg-kde/frameworks/plasma-framework.git
-Package: plasma-framework-dev
+Package: libkf5plasma-dev
Architecture: any
Section: libdevel
Depends: libkf5package-dev (>= 5.23.0~),
@@ -61,14 +61,24 @@ Depends: libkf5package-dev (>= 5.23.0~),
libkf5service-dev (>= 5.23.0~),
${misc:Depends}
Replaces: kapptemplate (<< 4:15.12.2-1~),
- plasma-framework (<= 5.9.0+git20150516.1328+15.04-0)
+ plasma-framework (<= 5.9.0+git20150516.1328+15.04-0),
+ plasma-framework-dev (<< 5.23.0-2~)
Breaks: kapptemplate (<< 4:15.12.2-1~),
- plasma-framework (<= 5.9.0+git20150516.1328+15.04-0)
+ plasma-framework (<= 5.9.0+git20150516.1328+15.04-0),
+ plasma-framework-dev (<< 5.23.0-2~)
Description: development files for plasma-framework
Plasma library and runtime components based upon KF5 and Qt 5.
.
Contains development files for plasma-framework.
+Package: plasma-framework-dev
+Depends: libkf5plasma-dev, ${misc:Depends}
+Architecture: all
+Priority: extra
+Section: oldlibs
+Description: transitional dummy package
+ This is a transitional dummy package. It can safely be removed.
+
Package: plasma-framework
Architecture: any
Depends: qml-module-org-kde-kquickcontrols,
diff --git a/debian/plasma-framework-dev.acc.in b/debian/libkf5plasma-dev.acc.in
similarity index 100%
rename from debian/plasma-framework-dev.acc.in
rename to debian/libkf5plasma-dev.acc.in
diff --git a/debian/plasma-framework-dev.install b/debian/libkf5plasma-dev.install
similarity index 100%
rename from debian/plasma-framework-dev.install
rename to debian/libkf5plasma-dev.install
--
plasma-framework packaging
More information about the pkg-kde-commits
mailing list