From 684f6350856b82417565f28cd6b0a519ed38d94c Mon Sep 17 00:00:00 2001 From: Rasmus Thomsen Date: Mon, 23 Sep 2019 00:40:06 +0200 Subject: community/gnome-authenticator: move from testing --- .../dont-require-py3-gettext-support.patch | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 community/gnome-authenticator/dont-require-py3-gettext-support.patch (limited to 'community/gnome-authenticator/dont-require-py3-gettext-support.patch') diff --git a/community/gnome-authenticator/dont-require-py3-gettext-support.patch b/community/gnome-authenticator/dont-require-py3-gettext-support.patch new file mode 100644 index 0000000000..88d96a09e0 --- /dev/null +++ b/community/gnome-authenticator/dont-require-py3-gettext-support.patch @@ -0,0 +1,13 @@ +diff --git a/src/authenticator.py.in b/src/authenticator.py.in +index 1e75e10..2f2fec2 100755 +--- a/src/authenticator.py.in ++++ b/src/authenticator.py.in +@@ -35,8 +35,6 @@ from gi.repository import Gio, Handy + sys.path.insert(1, '@PYTHON_DIR@') + + def prepare_locale(): +- locale.bindtextdomain('@GETTEXT_PACKAGE@', '@LOCALE_DIR@') +- locale.textdomain('@GETTEXT_PACKAGE@') + gettext.bindtextdomain('@GETTEXT_PACKAGE@', '@LOCALE_DIR@') + gettext.textdomain('@GETTEXT_PACKAGE@') + -- cgit v1.2.3