From 44b98eef409aacc2cab133a0502dda08e12f37fe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luis=20Guzm=C3=A1n?= Date: Fri, 4 Oct 2024 06:49:12 +0000 Subject: [PATCH] pkg-kde-tools: add patch for all policy.mk files. --- .../000_add_trisquel_maintainer.patch | 24 +++++++++++++++++++ helpers/make-pkg-kde-tools | 2 +- 2 files changed, 25 insertions(+), 1 deletion(-) diff --git a/helpers/DATA/pkg-kde-tools/000_add_trisquel_maintainer.patch b/helpers/DATA/pkg-kde-tools/000_add_trisquel_maintainer.patch index e053c79..df291f6 100644 --- a/helpers/DATA/pkg-kde-tools/000_add_trisquel_maintainer.patch +++ b/helpers/DATA/pkg-kde-tools/000_add_trisquel_maintainer.patch @@ -10,3 +10,27 @@ index 2086de0..5499c0a 100644 -e '^XSBC-Original-Maintainer:.*[[:space:]]*$$' debian/control) # Distribution-specific policy file may not exist. It is fine +diff --git a/qt-kde-team/2/policy.mk b/qt-kde-team/2/policy.mk +index bef6af59..7b40cfa7 100644 +--- a/qt-kde-team/2/policy.mk ++++ b/qt-kde-team/2/policy.mk +@@ -5,6 +5,7 @@ dqk_disable_policy_check ?= + dqk_distribution := $(shell dpkg-parsechangelog | sed -n '/^Distribution:/{ s/^Distribution:[[:space:]]*//g; p; q }') + dqk_kde_major_version := $(shell echo "$(dqk_upstream_version)" | cut -d. -f1-2) + dqk_maintainer_check := $(shell grep -e '^Maintainer:.*[[:space:]]*$$' \ ++ -e '^Maintainer:.*[[:space:]]*$$' \ + -e '^XSBC-Original-Maintainer:.*[[:space:]]*$$' debian/control) + + # Distribution-specific policy file may not exist. It is fine +diff --git a/qt-kde-team/3/policy.mk b/qt-kde-team/3/policy.mk +index bef6af59..7b40cfa7 100644 +--- a/qt-kde-team/3/policy.mk ++++ b/qt-kde-team/3/policy.mk +@@ -5,6 +5,7 @@ dqk_disable_policy_check ?= + dqk_distribution := $(shell dpkg-parsechangelog | sed -n '/^Distribution:/{ s/^Distribution:[[:space:]]*//g; p; q }') + dqk_kde_major_version := $(shell echo "$(dqk_upstream_version)" | cut -d. -f1-2) + dqk_maintainer_check := $(shell grep -e '^Maintainer:.*[[:space:]]*$$' \ ++ -e '^Maintainer:.*[[:space:]]*$$' \ + -e '^XSBC-Original-Maintainer:.*[[:space:]]*$$' debian/control) + + # Distribution-specific policy file may not exist. It is fine diff --git a/helpers/make-pkg-kde-tools b/helpers/make-pkg-kde-tools index 98a9845..68a08f7 100644 --- a/helpers/make-pkg-kde-tools +++ b/helpers/make-pkg-kde-tools @@ -17,7 +17,7 @@ # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA # -VERSION=2 +VERSION=3 EXTERNAL='deb-src http://ppa.launchpad.net/nextcloud-devs/client/ubuntu $UPSTREAM main' REPOKEY="60EE47FBAD3DD469" BACKPORT=true