Summary: | app-i18n/ibus-1.5.28-r1[-X] still needs x11-libs/gtk+[X] to build | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Sorrow <lynx1534> |
Component: | Current packages | Assignee: | CJK Team <cjk> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | gnome |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
build log
emerge --info build log of failure with gtk-4 build log of failure with gtk-4 |
Description
Sorrow
2023-07-21 15:23:32 UTC
Created attachment 865890 [details]
emerge --info
Similar issue for me but with gtk:4. Created attachment 881494 [details]
build log of failure with gtk-4
Created attachment 881495 [details]
build log of failure with gtk-4
For gtk-4 it fails on:
> ibusimcontext.c:1651:9: error: unknown type name 'Window'; did you mean 'GtkWindow'?
And, yes, in my case too adding X to gtk:4 will let this compile. The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a0fad0f4611efabdb614a93b304cf52aab8e06cc commit a0fad0f4611efabdb614a93b304cf52aab8e06cc Author: Eli Schwartz <eschwartz@gentoo.org> AuthorDate: 2025-01-29 00:28:40 +0000 Commit: Eli Schwartz <eschwartz@gentoo.org> CommitDate: 2025-02-02 05:28:45 +0000 app-i18n/ibus: correctly depend on gtk interfaces to wayland/X The upstream code checks whether GDK_WINDOWING_WAYLAND is defined by the gtk headers, and if so will compile against the wayland symbols it provides. We must unconditionally depend on the gdk X11 backend, since the code unconditionally tries to use it (even when headers themselves are conditional, which they aren't always). We can now solve this using a special Gentoo macro to hide these automagic macros to simulate building on a system with more minimal gtk packages. Bug: https://bugs.gentoo.org/624960 Closes: https://bugs.gentoo.org/910646 Closes: https://bugs.gentoo.org/921671 Signed-off-by: Eli Schwartz <eschwartz@gentoo.org> app-i18n/ibus/ibus-1.5.29-r1.ebuild | 236 +++++++++++++++++++++ .../{ibus-1.5.30.ebuild => ibus-1.5.30-r1.ebuild} | 9 +- .../{ibus-1.5.31.ebuild => ibus-1.5.31-r1.ebuild} | 9 +- profiles/arch/alpha/package.use.mask | 1 + profiles/features/big-endian/package.use.mask | 3 +- 5 files changed, 251 insertions(+), 7 deletions(-) |