On 07/12/2017 17:27, Paul Menzel wrote: > Dear BLFS folks, > > > On 12/07/17 16:14, Paul Menzel wrote: > >> On 12/07/17 16:04, Paul Menzel wrote: >> >>> Trying to build GTK+ 3.22.26 [1] with the Wayland backend enabled, it fails >>> with the error below. >>> >>> ``` >>> $ /dev/shm/bee-root/gtk+/gtk+-3.22.26-0/source/configure --prefix=/usr >>> --bindir=/usr/bin --sbindir=/usr/sbin --libexecdir=/usr/libexec >>> --sysconfdir=/etc --sharedstatedir=/var --localstatedir=/var >>> --libdir=/usr/lib --includedir=/usr/include --datarootdir=/usr/share >>> --datadir=/usr/share --infodir=/usr/share/info >>> --localedir=/usr/share/locale --mandir=/usr/share/man >>> --docdir=/usr/share/doc/gtk+ --exec-prefix=/usr --enable-introspection >>> --enable-wayland-backend --enable-xinerama --enable-x11-backend >>> […] >>> configure: error: Package requirements (pango pangocairo gdk-pixbuf-2.0 >= >>> 2.30.0 cairo >= 1.14.0 cairo-gobject >= 1.14.0 gio-unix-2.0 >= 2.49.4 >>> fontconfig x11 xext xinerama xi xrandr xcursor xfixes xcomposite xdamage >>> wayland-client >= 1.9.91 wayland-protocols >= 1.9 xkbcommon >= 0.2.0 >>> wayland-cursor >= 1.9.91 wayland-egl cairo-xlib cairo epoxy >= 1.0 ) were >>> not met: >>> >>> No package 'wayland-egl' found >>> […] >>> ``` >>> >>> Is the dependency on wayland-EGL missing in the book? I couldn’t find it >>> either on the Web searching with these keywords. >> >> The GTK+ commit [2] gives the hint, that it’s part of Mesa [3]. But I built >> Mesa with the Wayland backend. >> >> ``` >> … --enable-gles1 --enable-gles2 --enable-osmesa --enable-xa --enable-glx-tls >> --with-llvm-shared-libs --with--platforms=drm,x11,wayland >> --with-gallium-drivers=nouveau,r600,radeonsi,svga,swrast >> --with-vulkan-drivers=intel,radeon … >> ``` > > […] > > As you can see above there is one dash too much in `--with--platform`. Sorry > for the noise. >> I’ll look into this. To make something good out of it, could you please >> extend the note in the Mesa chapter, that Wayland is also needed for GTK+? >> Currently there is only Plasma and LXQt mentioned. >> >> > Add wayland to the --with-platforms switch below if you plan on >> > building Plasma-5.10.5 or LXQt. > > This is still valid. >
I'd say that wayland should be moved to recommended in the SYSV book (it is already recommended in the systemd book). It provides a useful founctionality for GTK+3, and unless someone wants to build a server (in which case, there is no reason to build mesa), GTK+3 is very likely to be used. If nobody objects, I'll do that tonight (Western European Time). Pierre -- http://lists.linuxfromscratch.org/listinfo/blfs-dev FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
