View previous topic :: View next topic |
Author |
Message |
templeos1337 n00b
Joined: 01 Oct 2023 Posts: 6
|
Posted: Sat Jan 06, 2024 6:35 pm Post subject: ibus-1.5.29 fails to build with USE=gtk4 |
|
|
First of all, I am sure this is probably the wrong place to post this, so I'd appreciate if you could direct me to the correct place.
Now, for the past couple of days I've had some trouble building ibus-1.5.29. The build failed when compiling support for GTK. After tweaking my USE flags I found out that if I replaced the `gtk4` flag with `gtk3`, the error would go away.
Looking at it now, it may be caused by the combination of `gtk` and `wayland` flags but I didn't bother trying to rebuilt it.
USE Flags
Code: |
* Found these USE flags for app-i18n/ibus-1.5.29:
U I
- - X : Add support for X11
- - appindicator : Build in support for notifications using the libindicate or
libappindicator plugin
+ + emoji : Enable support for Emoji
- - gtk2 : Enable the GTK-2 input method module
- - gtk3 : Enable the GTK-3 input method module
+ + gtk4 : Enable the GTK-4 input method module
+ + gui : Enable support for a graphical user interface
+ + introspection : Add support for GObject based introspection
- - libnotify : Enable desktop notification support
+ + nls : Add Native Language Support (using gettext - GNU locale
utilities)
+ + python : Add optional support/bindings for the Python language
- - python_targets_python3_10 : Build with Python 3.10
+ + python_targets_python3_11 : Build with Python 3.11
- - systemd : Enable use of systemd-specific libraries and features like
socket activation or session tracking
- - test : Enable dependencies and/or preparations necessary to run
tests (usually controlled by FEATURES=test but can be
toggled independently)
+ + unicode : Enable support for Unicode choice
- - vala : Enable bindings for dev-lang/vala
+ + wayland : Enable dev-libs/wayland backend
======================
|
Build Log
Code: |
ibusimcontext.c: In function '_set_cursor_location_internal':
ibusimcontext.c:1648:9: warning: implicit declaration of function 'GDK_IS_X11_DISPLAY'; did you mean 'GDK_IS_DISPLAY'? [-Wimplicit-function-declaration]
1648 | if (GDK_IS_X11_DISPLAY (display)) {
| ^~~~~~~~~~~~~~~~~~
| GDK_IS_DISPLAY
ibusimcontext.c:1651:9: error: unknown type name 'Window'; did you mean 'GtkWindow'?
1651 | Window child;
| ^~~~~~
| GtkWindow
ibusimcontext.c:1655:9: warning: implicit declaration of function 'XTranslateCoordinates' [-Wimplicit-function-declaration]
1655 | XTranslateCoordinates (GDK_DISPLAY_XDISPLAY (display),
| ^~~~~~~~~~~~~~~~~~~~~
ibusimcontext.c:1655:32: warning: implicit declaration of function 'GDK_DISPLAY_XDISPLAY'; did you mean 'GDK_IS_DISPLAY'? [-Wimplicit-function-declaration]
1655 | XTranslateCoordinates (GDK_DISPLAY_XDISPLAY (display),
| ^~~~~~~~~~~~~~~~~~~~
| GDK_IS_DISPLAY
ibusimcontext.c:1656:32: warning: implicit declaration of function 'GDK_SURFACE_XID'; did you mean 'GDK_SURFACE'? [-Wimplicit-function-declaration]
1656 | GDK_SURFACE_XID (surface),
| ^~~~~~~~~~~~~~~
| GDK_SURFACE
ibusimcontext.c:1657:32: warning: implicit declaration of function 'gdk_x11_display_get_xrootwindow' [-Wimplicit-function-declaration]
1657 | gdk_x11_display_get_xrootwindow (display),
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make[3]: *** [Makefile:667: libim_ibus_la-ibusimcontext.lo] Error 1
|
|
|
Back to top |
|
|
sam_ Developer
Joined: 14 Aug 2020 Posts: 1970
|
Posted: Sun Jan 07, 2024 8:03 am Post subject: |
|
|
Looks like bug 910646. |
|
Back to top |
|
|
nvaert1986 Tux's lil' helper
Joined: 05 May 2019 Posts: 124
|
Posted: Wed Jan 10, 2024 10:55 am Post subject: |
|
|
Be sure to set the X USE flag with the gtk4 USE flag. This resolved the issue for me. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|