From 47353be9f64e77e11008da0e18e55820b148c0b5 Mon Sep 17 00:00:00 2001 From: Gunnar Hjalmarsson Date: Mon, 26 Feb 2018 18:56:46 +0100 Subject: [PATCH] Make use of local polkit.its Drop the policykit-1 build-dep for Ubuntu, and make instead use of a copy of polkit.its in the source which will be available to all distros. --- packaging/ubuntu-16.04/control | 1 - po/its/polkit.its | 8 ++++++++ update-pot | 1 + 3 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 po/its/polkit.its diff --git a/packaging/ubuntu-16.04/control b/packaging/ubuntu-16.04/control index 4a45357f7e3..b564e0697c1 100644 --- a/packaging/ubuntu-16.04/control +++ b/packaging/ubuntu-16.04/control @@ -29,7 +29,6 @@ Build-Depends: autoconf, libudev-dev, openssh-client, pkg-config, - policykit-1, python3, python3-docutils, python3-markdown, diff --git a/po/its/polkit.its b/po/its/polkit.its new file mode 100644 index 00000000000..1c37e6bee7f --- /dev/null +++ b/po/its/polkit.its @@ -0,0 +1,8 @@ + + + + + diff --git a/update-pot b/update-pot index aa6beceb93f..0ec4b66b293 100755 --- a/update-pot +++ b/update-pot @@ -26,6 +26,7 @@ find "$HERE" -name "*.go" -type f -print0 | xargs -0 \ xgettext "$HERE"/data/polkit/*.policy \ -o "$OUTPUT" \ + --its="$HERE/po/its/polkit.its" \ --no-location \ --package-name=snappy \ --msgid-bugs-address=snappy-devel@lists.ubuntu.com \