Bug 260276

Summary: textproc/fcitx5-gtk: Missing post install hook to update im module cache file
Product: Ports & Packages Reporter: Weng Xuetian <wengxt>
Component: Individual Port(s)Assignee: Ka Ho Ng <khng>
Status: Closed FIXED    
Severity: Affects Many People Flags: bugzilla: maintainer-feedback? (khng)
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   

Description Weng Xuetian 2021-12-08 17:12:11 UTC
gtk-query-immodules-{2,3}.0 --update-cache need to be run after install new gtk im module.

This can be taken as an example. This is how Fcitx4 update the im module cache file
For the reference: https://svnweb.freebsd.org/ports/head/chinese/fcitx/pkg-plist?revision=495880&view=markup#l108
Comment 1 commit-hook freebsd_committer freebsd_triage 2021-12-09 00:46:43 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=bd228175dbbab30f9a0b4f9e1565c2c286290dff

commit bd228175dbbab30f9a0b4f9e1565c2c286290dff
Author:     Ka Ho Ng <khng@FreeBSD.org>
AuthorDate: 2021-12-08 19:13:05 +0000
Commit:     Ka Ho Ng <khng@FreeBSD.org>
CommitDate: 2021-12-09 00:45:34 +0000

    textproc/fcitx5-gtk: Update to 5.0.10

    Fix not executing gtk-query-immodules-2.0/gtk-query-immodules-3.0 as
    well.

    Sponsored by:   The FreeBSD Foundation
    PR:             260276
    Approved by:    ygy

 textproc/fcitx5-gtk/Makefile  | 2 +-
 textproc/fcitx5-gtk/distinfo  | 6 +++---
 textproc/fcitx5-gtk/pkg-plist | 4 ++++
 3 files changed, 8 insertions(+), 4 deletions(-)