Summary: | app-i18n/mozc support for mozc UT dictionary | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Nguyen Thai Ngoc Duy <pclouds> |
Component: | Current packages | Assignee: | Arfrever Frehtes Taifersar Arahesis <arfrever.fta> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | cjk, haruo-mtok, sam, watermanpaint |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://bugs.gentoo.org/show_bug.cgi?id=843227 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Nguyen Thai Ngoc Duy
2022-10-20 16:25:27 UTC
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7c6d22d36d75b98c922f4dd8b75b9b2977924574 commit 7c6d22d36d75b98c922f4dd8b75b9b2977924574 Author: Sam James <sam@gentoo.org> AuthorDate: 2023-06-09 07:32:20 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2023-06-09 07:35:01 +0000 app-i18n/mozc: use savedconfig Closes: https://bugs.gentoo.org/877765 Closes: https://bugs.gentoo.org/843227 Signed-off-by: Sam James <sam@gentoo.org> app-i18n/mozc/metadata.xml | 1 - app-i18n/mozc/mozc-2.28.5029.102.ebuild | 37 ++++++++++++++++++--------------- 2 files changed, 20 insertions(+), 18 deletions(-) Additionally, it has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a1e1efbebd56623d5929e79d96bc318daa99ce75 commit a1e1efbebd56623d5929e79d96bc318daa99ce75 Author: Sam James <sam@gentoo.org> AuthorDate: 2023-06-09 07:07:29 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2023-06-09 07:33:08 +0000 app-i18n/mozc: add 2.28.5029.102 See the discussion on the bug for the full details. While at it, I've ported to edo. I'm likely to change the mozcdic-ut setup to use savedconfig as well. Thanks-to: Jack Daniels Thanks-to: gertoe Thanks-to: Martin Sekera Bug: https://bugs.gentoo.org/877765 Closes: https://bugs.gentoo.org/843227 Signed-off-by: Sam James <sam@gentoo.org> app-i18n/mozc/Manifest | 3 + app-i18n/mozc/metadata.xml | 1 + app-i18n/mozc/mozc-2.28.5029.102.ebuild | 394 ++++++++++++++++++++++++++++++++ 3 files changed, 398 insertions(+) Is this proposal truly complete? When I tried it, there seemed to be a very small bug and it didn't recognize the dictionary file. Just remove the slash character to fix it: /mozcdic-ut.txt -> mozcdic-ut.txt ```diff diff --git a/app-i18n/mozc/mozc-2.28.5029.102-r3.ebuild b/app-i18n/mozc/mozc-2.28.5029.102-r3.ebuild index 9e3e0a65d..9c01006b8 100644 --- a/app-i18n/mozc/mozc-2.28.5029.102-r3.ebuild +++ b/app-i18n/mozc/mozc-2.28.5029.102-r3.ebuild @@ -227,7 +227,7 @@ src_prepare() { # bug #877765 restore_config mozcdic-ut.txt - if [[ -f /mozcdic-ut.txt && -s mozcdic-ut.txt ]]; then + if [[ -f mozcdic-ut.txt && -s mozcdic-ut.txt ]]; then einfo "mozcdic-ut.txt found. Adding to mozc dictionary..." cat mozcdic-ut.txt >> "${WORKDIR}/${P}/src/data/dictionary_oss/dictionary00.txt" || die fi ``` (In reply to Haruo from comment #2) > Is this proposal truly complete? > > When I tried it, there seemed to be a very small bug and it didn't recognize > the dictionary file. > Just remove the slash character to fix it: /mozcdic-ut.txt -> mozcdic-ut.txt I can confirm Haruos report and the fix is correct as well. |