summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Barenblat <bbaren@debian.org>2021-01-11 17:53:50 -0500
committerBenjamin Barenblat <bbaren@debian.org>2021-01-11 17:53:50 -0500
commit2d0d70d5a0b5b56bab1d95deb230d3c96da89122 (patch)
tree4603b1ab433baaf5f8bda1f9def65f0f10e1ecfa
parent1dcd782ea9f4e7e194a3e9a1579afc34f5ea91d4 (diff)
Support gettext ≥0.20
Apply a patch from upstream to support new gettext versions.
-rw-r--r--debian/changelog6
-rw-r--r--debian/patches/allow-gettext-0.20.diff23
-rw-r--r--debian/patches/series1
3 files changed, 30 insertions, 0 deletions
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 <bbaren@debian.org> 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 <jtojnar@gmail.com>
+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