From dfc4f246aaca38d9e903e88e4048b65229ec69f2 Mon Sep 17 00:00:00 2001 From: George Matsumura Date: Sat, 3 Apr 2021 03:22:39 -0600 Subject: [PATCH] uim: disable non-utf-8 anthy backend The version of anthy (0.4) that is now in the repository will not work correctly with uim's conventional anthy input method, failing to convert kanji. It will only with the anthy-utf-8 input method, which accounts for the substitution of the EUC-JP encoding with UTF-8 in newer anthy versions. In order to prevent broken configurations, this change disables the build of the old anthy input method. --- srcpkgs/uim/template | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/srcpkgs/uim/template b/srcpkgs/uim/template index 12df0eddb067..3d3c33087fe8 100644 --- a/srcpkgs/uim/template +++ b/srcpkgs/uim/template @@ -1,12 +1,12 @@ # Template file for 'uim' pkgname=uim version=1.8.8 -revision=4 +revision=5 build_style=gnu-configure build_helper=qmake configure_args="--enable-pref --enable-fep --with-gtk2 --with-gtk3 - --with-libgcroots=installed - --with-qt5 --with-qt5-immodule --with-x --with-anthy-utf8 --with-skk" + --with-libgcroots=installed --with-qt5 --with-qt5-immodule --with-x + --with-anthy-utf8 --without-anthy --with-skk" hostmakedepends="pkg-config intltool qt5-host-tools qt5-qmake automake libtool gettext-devel" makedepends="gtk+-devel gtk+3-devel qt5-devel ncurses-devel anthy-devel @@ -61,6 +61,7 @@ uim-qt_package() { uim-anthy_package() { short_desc+=" - Anthy IME" + conflicts="anthy-9100h_1 anthy-9100h_2" pkg_install() { vmove "usr/lib/uim/plugin/libuim-anthy*.so" vmove "usr/share/uim/anthy*.scm"