From 2d0d70d5a0b5b56bab1d95deb230d3c96da89122 Mon Sep 17 00:00:00 2001 From: Benjamin Barenblat Date: Mon, 11 Jan 2021 17:53:50 -0500 Subject: Support gettext ≥0.20 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Apply a patch from upstream to support new gettext versions. --- debian/changelog | 6 ++++++ debian/patches/allow-gettext-0.20.diff | 23 +++++++++++++++++++++++ debian/patches/series | 1 + 3 files changed, 30 insertions(+) create mode 100644 debian/patches/allow-gettext-0.20.diff diff --git a/debian/changelog b/debian/changelog index f60be9a..10286a4 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +transmission-remote-gtk (1.4.1-5) UNRELEASED; urgency=medium + + * Support latest gettext (closes: #978358). + + -- Benjamin Barenblat Mon, 11 Jan 2021 17:35:21 -0500 + transmission-remote-gtk (1.4.1-4) unstable; urgency=medium * Add torrent hash information to torrent details pane (closes: diff --git a/debian/patches/allow-gettext-0.20.diff b/debian/patches/allow-gettext-0.20.diff new file mode 100644 index 0000000..3daa57a --- /dev/null +++ b/debian/patches/allow-gettext-0.20.diff @@ -0,0 +1,23 @@ +From: Jan Tojnar +Subject: build: Allow building with gettext ≥ 0.20 +Origin: upstream, https://github.com/transmission-remote-gtk/transmission-remote-gtk/commit/0f5cc8a9942e220ea0f7d0b17db4a78d094e3b65 +Bug-Debian: https://bugs.debian.org/978358 +Forwarded: https://github.com/transmission-remote-gtk/transmission-remote-gtk/pull/88 +Applied-Upstream: https://github.com/transmission-remote-gtk/transmission-remote-gtk/commit/0f5cc8a9942e220ea0f7d0b17db4a78d094e3b65 + +Cargo culted from https://gitlab.freedesktop.org/zeitgeist/zeitgeist/commit/b5c00e80189fd59a059a95c4e276728a2492cb89 + +--- a/configure.ac ++++ b/configure.ac +@@ -45,8 +45,10 @@ + LT_PREREQ([2.2.0]) + LT_INIT + LT_LIB_M +-AM_GNU_GETTEXT_VERSION([0.19.6]) + AM_GNU_GETTEXT([external]) ++# FIXME: Remove AM_GNU_GETTEXT_VERSION once autoreconf supports REQUIRE_VERSION ++AM_GNU_GETTEXT_VERSION([0.19.6]) ++AM_GNU_GETTEXT_REQUIRE_VERSION([0.19.6]) + PKG_PROG_PKG_CONFIG([0.28]) + DESKTOP_FILE + APPSTREAM_XML diff --git a/debian/patches/series b/debian/patches/series index e0d2d69..d37f5cd 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -1,4 +1,5 @@ avoidRssGlib.diff +allow-gettext-0.20.diff appdataContentRating.diff validateAppdata.diff fno-common.diff -- cgit v1.2.3