Bug 260276 - textproc/fcitx5-gtk: Missing post install hook to update im module cache file
Summary: textproc/fcitx5-gtk: Missing post install hook to update im module cache file
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: Ka Ho Ng
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-12-08 17:12 UTC by Weng Xuetian
Modified: 2021-12-09 00:47 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (khng)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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(-)