Summary: | x11-libs/gtk+:3[-X] with wayland support(?) should set -DEGL_NO_X11=true (?) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | mathieu.tortuyaux |
Component: | Current packages | Assignee: | Gentoo Linux Gnome Desktop Team <gnome> |
Status: | UNCONFIRMED --- | ||
Severity: | normal | CC: | chewi, leonard |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
mathieu.tortuyaux
2020-04-22 18:00:54 UTC
(In reply to mathieu.tortuyaux from comment #0) > I'm installing GTK+3 with Wayland support so no X USE flag. Wayland support does not imply no X. It actually fails to build if you don't have libX11 installed. It's not a hard dependency. I think this is related to bug #718794. libtool: compile: i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/x11-libs/gtk+-3.24.18/work/gtk+-3.24.18/gdk/wayland -I../.. -DG_LOG_DOMAIN=\"Gdk\" -DG_LOG_USE_STRUCTURED=1 -DGDK_COMPILATION -I/var/tmp/portage/x11-libs/gtk+-3.24.18/work/gtk+-3.24.18 -I/var/tmp/portage/x11-libs/gtk+-3.24.18/work/gtk+-3.24.18/gdk -I../../gdk -fvisibility=hidden -DG_ENABLE_DEBUG -DG_DISABLE_CAST_CHECKS -DGLIB_MIN_REQUIRED_VERSION=GLIB_VERSION_2_56 -DGLIB_MAX_ALLOWED_VERSION=GLIB_VERSION_2_58 -pthread -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/cairo -I/usr/include/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/cairo -I/usr/lib/libffi/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fribidi -O2 -march=i686 -pipe -Wall -c /var/tmp/portage/x11-libs/gtk+-3.24.18/work/gtk+-3.24.18/gdk/wayland/gdkglcontext-wayland.c -fPIC -DPIC -o .libs/gdkglcontext-wayland.o In file included from /usr/include/epoxy/egl_generated.h:11, from /usr/include/epoxy/egl.h:46, from /var/tmp/portage/x11-libs/gtk+-3.24.18/work/gtk+-3.24.18/gdk/wayland/gdkglcontext-wayland.h:32, from /var/tmp/portage/x11-libs/gtk+-3.24.18/work/gtk+-3.24.18/gdk/wayland/gdkglcontext-wayland.c:24: /usr/include/EGL/eglplatform.h:128:10: fatal error: X11/Xlib.h: No such file or directory 128 | #include <X11/Xlib.h> | ^~~~~~~~~~~~ compilation terminated. make[5]: *** [Makefile:746: gdkglcontext-wayland.lo] Error 1 make[5]: *** Waiting for unfinished jobs.... >> I'm installing GTK+3 with Wayland support so no X USE flag.
> Wayland support does not imply no X.
Yes, however the no X USE flag would imply no X. This along with gtk-engines-adwaita is the only barrier to a mergable Firefox on a Wayland-only system.
|