syncthing-gtk: fix for Python 3.11

Fix: #40430
This commit is contained in:
Đoàn Trần Công Danh 2022-11-10 10:54:24 +07:00
parent bf7f4562b1
commit 08cc0787b0
2 changed files with 13 additions and 1 deletions

View File

@ -0,0 +1,12 @@
Index: syncthing-gtk-0.9.4.4/syncthing_gtk/tools.py
===================================================================
--- syncthing-gtk-0.9.4.4.orig/syncthing_gtk/tools.py
+++ syncthing-gtk-0.9.4.4/syncthing_gtk/tools.py
@@ -259,7 +259,6 @@ def init_locale(localedir=None):
global _localedir
_localedir = localedir
gettext.bindtextdomain(GETTEXT_DOMAIN, localedir)
- gettext.bind_textdomain_codeset(GETTEXT_DOMAIN, "utf-8")
gettext.textdomain(GETTEXT_DOMAIN)
def get_locale_dir():

View File

@ -2,7 +2,7 @@
pkgname=syncthing-gtk
reverts="0.14.36_1 0.9.4.4+ds+git20220108+9023143f8b93_1 0.9.4.4+ds+git20220108+9023143f8b93_2"
version=0.9.4.4
revision=5
revision=6
_debianver="ds+git20220108+9023143f8b93"
build_style=python3-module
hostmakedepends="python3-setuptools gettext"