Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 910646

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 packagesAssignee: CJK Team <cjk>
Status: UNCONFIRMED ---    
Severity: normal CC: gnome
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
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 865889 [details]
build log

Trying to build ibus with GTK+ built without X I encountered a build failure:

keybindingmanager.c:15:10: fatal error: gdk/gdkx.h: No such file or directory

> emerge -pqv ibus ibus-anthy                
[ebuild  N    ] app-i18n/ibus-1.5.28-r1  USE="appindicator gtk3 gtk4 gui introspection libnotify nls python systemd unicode wayland -X -emoji -gtk2 -test -vala" PYTHON_TARGETS="python3_11 -python3_10" 
[ebuild  N    ] app-i18n/ibus-anthy-1.5.14  USE="nls" PYTHON_SINGLE_TARGET="python3_11 -python3_10"
Comment 1 Sorrow 2023-07-21 15:25:52 UTC
Created attachment 865890 [details]
emerge --info
Comment 2 Maciej Barć gentoo-dev 2024-01-05 09:34:13 UTC
Similar issue for me but with gtk:4.
Comment 3 Maciej Barć gentoo-dev 2024-01-05 09:35:09 UTC
Created attachment 881494 [details]
build log of failure with gtk-4
Comment 4 Maciej Barć gentoo-dev 2024-01-05 09:37:01 UTC
Created attachment 881495 [details]
build log of failure with gtk-4
Comment 5 Maciej Barć gentoo-dev 2024-01-05 09:37:59 UTC
For gtk-4 it fails on:

> ibusimcontext.c:1651:9: error: unknown type name 'Window'; did you mean 'GtkWindow'?
Comment 6 Maciej Barć gentoo-dev 2024-01-05 09:42:51 UTC
And, yes, in my case too adding X to gtk:4 will let this compile.