ibus-libpinyin: fix for Python 3.11

This commit is contained in:
Đoàn Trần Công Danh 2022-11-10 23:58:11 +07:00
parent 8ebbffa962
commit 18922196cf
2 changed files with 13 additions and 1 deletions

View File

@ -0,0 +1,12 @@
Index: ibus-libpinyin-1.12.0/setup/main2.py
===================================================================
--- ibus-libpinyin-1.12.0.orig/setup/main2.py
+++ ibus-libpinyin-1.12.0/setup/main2.py
@@ -63,7 +63,6 @@ except AttributeError:
pass
gettext.bindtextdomain(DOMAINNAME, localedir)
-gettext.bind_textdomain_codeset(DOMAINNAME, 'UTF-8')
gettext.install(DOMAINNAME, localedir)

View File

@ -1,7 +1,7 @@
# Template file for 'ibus-libpinyin'
pkgname=ibus-libpinyin
version=1.12.0
revision=1
revision=2
build_style=gnu-configure
hostmakedepends="gettext intltool libtool pkg-config autoconf-archive
automake gnome-common which"