[Bug 291303] textproc/ibus: update to 1.5.33

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 07 Dec 2025 03:01:29 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=291303

--- Comment #16 from Henry Hu <henry.hu.sh@gmail.com> ---
(In reply to Vladimir Druzenko from comment #7)
Ah, seems like that we need to also clean tools dir in post-configure.
Basically the main.c needs to be re-generated if wayland is disabled. However,
using maintainer-clean-generic does not work properly - it removes another file
(ibus-immodule-1.0.vapi) as well, but it didn't declare it as a dependency of
main.c. Filed https://github.com/ibus/ibus/issues/2836, but for now we can just
remove main.c and have it regenerated.

Once that's cleaned, another issue is that the x11 libs are only found & set if
xim is enabled - although some other stuff (tests) also rely on x11 libs.
Created a new flag, TESTS, and made it implies XIM and other flags.

Once that's fixed, it seems like that its test tries to use a gtk4 function,
even if we only enable gtk3. Made TESTS imply GTK4. Filed
https://github.com/ibus/ibus/issues/2837.

re. 'Error: Missing: etc/xdg/Xwayland-session.d/10-ibus-x11':
This should be controlled by %%XIM%%
However, honestly this should be controlled with %%WAYLAND%% as well. But the
port installs this file even if wayland is disabled..

re. 
Error: Missing: libexec/ibus-extension-gtk3
Error: Missing:
share/applications/org.freedesktop.IBus.Panel.Extension.Gtk3.desktop

These should be controlled by %%EMOJI%%

re.
/usr/share/wayland-protocols/unstable/input-method/input-method-unstable-v1.xml:

added wayland-protocols to WAYLAND_BUILD_DEPENDS


btw do you have a good way of testing different option combinations? Can we run
a series of poudriere builds with different options?

-- 
You are receiving this mail because:
You are the assignee for the bug.