From 2789f7354960700458e0fb678c79f8a37b34ae88 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?= Date: Thu, 15 Apr 2021 06:51:37 +0700 Subject: [PATCH] uim: ship a notice for -anthy Close: #29981 --- srcpkgs/uim/files/README.voidlinux | 11 +++++++++++ srcpkgs/uim/template | 3 ++- 2 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 srcpkgs/uim/files/README.voidlinux diff --git a/srcpkgs/uim/files/README.voidlinux b/srcpkgs/uim/files/README.voidlinux new file mode 100644 index 000000000000..69f9beaf055b --- /dev/null +++ b/srcpkgs/uim/files/README.voidlinux @@ -0,0 +1,11 @@ +With the switch of Anthy's upstream to Debian, Anthy switched to +utf-8 backend. However, it still supports EUC-JP encoding. +Anthy-utf8 backend needs to be used, though. + +Quote from: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=953616 + +> If you have customized enabled-im-list on "stretch" system (in +> ~/.uim.d/customs/custom-global.scm) with uim-pref-gtk or other tools, +> uim sticks to use anthy instead of anthy-utf8 and fails kanji-conversion. + +If you have said customization, please remove them. diff --git a/srcpkgs/uim/template b/srcpkgs/uim/template index 12df0eddb067..1a782b680f78 100644 --- a/srcpkgs/uim/template +++ b/srcpkgs/uim/template @@ -1,7 +1,7 @@ # 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 @@ -65,6 +65,7 @@ uim-anthy_package() { vmove "usr/lib/uim/plugin/libuim-anthy*.so" vmove "usr/share/uim/anthy*.scm" vmove "usr/share/uim/pixmaps/anthy*.png" + vdoc "${FILESDIR}/README.voidlinux" } }