[SCM] kexi packaging branch, master, updated. debian/3.0.1.1-1-6-g95be0bd
Pino Toscano
pino at moszumanska.debian.org
Sat Aug 19 10:53:47 UTC 2017
Gitweb-URL: http://git.debian.org/?p=pkg-kde/calligra/kexi.git;a=commitdiff;h=95be0bd
The following commit has been merged in the master branch:
commit 95be0bdd36cea177bcbdab737843c5c75ee609fc
Author: Pino Toscano <pino at debian.org>
Date: Sat Aug 19 12:12:57 2017 +0200
break/replace old translations
---
debian/changelog | 2 ++
debian/control | 2 ++
debian/rules | 13 +++++++++++++
3 files changed, 17 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index b43a54a..db10f43 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -7,6 +7,8 @@ kexi (1:3.0.2-0r1) UNRELEASED; urgency=medium
* Bump kdb, kpropert, and kreport build dependencies to 3.0.2, to ensure
building against the latest versions.
* Bump Standards-Version to 4.0.1, no changes required.
+ * Add Breaks/Replaces for all the calligra-l10n packages prior to < 2.9.11-2,
+ i.e. when kexi was split out of calligra (in Debian).
-- Debian Qt/KDE Maintainers <debian-qt-kde at lists.debian.org> Sat, 19 Aug 2017 10:55:54 +0200
diff --git a/debian/control b/debian/control
index 88fcce8..7211378 100644
--- a/debian/control
+++ b/debian/control
@@ -68,6 +68,8 @@ Description: integrated database environment for the Calligra Suite
Package: kexi-data
Architecture: all
Depends: ${misc:Depends}
+Breaks: ${kexi:oldLangs}
+Replaces: ${kexi:oldLangs}
Description: data files for Kexi
This package contains architecture-independent data files for Kexi, the
database program shipped with the Calligra Suite.
diff --git a/debian/rules b/debian/rules
index 08a8c42..203835a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -5,6 +5,15 @@
export DEB_LDFLAGS_MAINT_APPEND := -Wl,--as-needed
+# conflicts with old calligra-l10n
+# (mostly copied from l10n-packages.mk in pkg-kde-tools)
+l10npkgs_firstversion_ok := 1:2.9.11-2~
+l10npkgs_prefix := calligra-l10n
+l10npkgs_fixed_version_comma := (<< $(l10npkgs_firstversion_ok)),
+# the list of languages in calligra-l10n < 2.9
+l10npkgs_langs := bs ca cavalencia cs da de el engb es et eu fi fr gl hu it ja kk nb nds nl pl pt ptbr ru sk sv uk zhcn zhtw
+l10npkgs_packages_rels := $(patsubst %,$(l10npkgs_prefix)-% $(l10npkgs_fixed_version_comma),$(l10npkgs_langs))
+
%:
dh $@ --parallel --with kf5
@@ -22,4 +31,8 @@ override_dh_auto_install:
override_dh_install:
dh_install --fail-missing
+override_dh_gencontrol:
+ dh_gencontrol -pkexi-data -- -Vkexi:oldLangs='$(l10npkgs_packages_rels)'
+ dh_gencontrol --remaining-packages
+
.PHONY: override_dh_auto_test
--
kexi packaging
More information about the pkg-kde-commits
mailing list