ibus-libpinyin: fix for Python 3.11
This commit is contained in:
parent
8ebbffa962
commit
18922196cf
|
@ -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)
|
||||
|
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue