mirror of
https://git.busybox.net/buildroot.git
synced 2024-11-26 23:13:27 +08:00
package/x11r7/xwayland: new package
XServer to run X clients under wayland This XServer is required to run the X clients under Wayland compositor, for example weston or wlroots based compositors. Signed-off-by: Raphael Pavlidis <raphael.pavlidis@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
parent
3645119338
commit
05c3177493
@ -2426,6 +2426,7 @@ F: support/testing/tests/package/test_python_s3transfer.py
|
||||
N: Raphael Pavlidis <raphael.pavlidis@gmail.com>
|
||||
F: package/slirp4netns/
|
||||
F: package/sway/
|
||||
F: package/x11r7/xwayland/
|
||||
|
||||
N: Refik Tuzakli <tuzakli.refik@gmail.com>
|
||||
F: package/freescale-imx/
|
||||
|
@ -12,6 +12,7 @@ menuconfig BR2_PACKAGE_XORG7
|
||||
if BR2_PACKAGE_XORG7
|
||||
menu "X11R7 Servers"
|
||||
source package/x11r7/xserver_xorg-server/Config.in
|
||||
source package/x11r7/xwayland/Config.in
|
||||
endmenu
|
||||
menu "X11R7 Libraries"
|
||||
source package/x11r7/libxcb/Config.in
|
||||
|
26
package/x11r7/xwayland/Config.in
Normal file
26
package/x11r7/xwayland/Config.in
Normal file
@ -0,0 +1,26 @@
|
||||
config BR2_PACKAGE_XWAYLAND
|
||||
bool "xwayland server"
|
||||
depends on BR2_USE_MMU # fork()
|
||||
depends on !BR2_STATIC_LIBS # wayland
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS # wayland
|
||||
# We need a SHA1 implementation. If either openssl or
|
||||
# libgcrypt are already part of the build, we'll use one of
|
||||
# them, otherwise, use the small libsha1 library.
|
||||
select BR2_PACKAGE_LIBSHA1 if (!BR2_PACKAGE_OPENSSL && !BR2_PACKAGE_LIBGCRYPT)
|
||||
select BR2_PACKAGE_PIXMAN
|
||||
select BR2_PACKAGE_WAYLAND
|
||||
select BR2_PACKAGE_WAYLAND_PROTOCOLS
|
||||
select BR2_PACKAGE_XLIB_LIBXCVT
|
||||
select BR2_PACKAGE_XLIB_LIBXFONT2
|
||||
select BR2_PACKAGE_XLIB_LIBXKBFILE
|
||||
select BR2_PACKAGE_XLIB_LIBXRANDR
|
||||
select BR2_PACKAGE_XLIB_XTRANS
|
||||
select BR2_PACKAGE_XORGPROTO
|
||||
help
|
||||
X.Org X server to run X clients under wayland
|
||||
|
||||
http://xorg.freedesktop.org
|
||||
|
||||
comment "xwayland needs a toolchain w/ threads, dynamic library"
|
||||
depends on BR2_USE_MMU
|
||||
depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS
|
6
package/x11r7/xwayland/xwayland.hash
Normal file
6
package/x11r7/xwayland/xwayland.hash
Normal file
@ -0,0 +1,6 @@
|
||||
# From https://lists.x.org/archives/xorg-announce/2023-February/003322.html
|
||||
sha256 d11eeee73290b88ea8da42a7d9350dedfaba856ce4ae44e58c045ad9ecaa2f73 xwayland-22.1.8.tar.xz
|
||||
sha512 f52c6f99d8ef7605bc1c651d5ee5e306c12af30649a2d712b1c4c3cf4c7c80246ae24bd9ac39461d47aafc78f5d659446a459cd6259e05ef3128b204981d114a xwayland-22.1.8.tar.xz
|
||||
|
||||
# Locally calculated
|
||||
sha256 4cc0447a22635c7b2f1a93fec4aa94f1970fadeb72a063de006b51cf4963a06f COPYING
|
94
package/x11r7/xwayland/xwayland.mk
Normal file
94
package/x11r7/xwayland/xwayland.mk
Normal file
@ -0,0 +1,94 @@
|
||||
################################################################################
|
||||
#
|
||||
# xwayland
|
||||
#
|
||||
################################################################################
|
||||
|
||||
XWAYLAND_VERSION = 22.1.8
|
||||
XWAYLAND_SOURCE = xwayland-$(XWAYLAND_VERSION).tar.xz
|
||||
XWAYLAND_SITE = https://xorg.freedesktop.org/archive/individual/xserver
|
||||
XWAYLAND_LICENSE = MIT
|
||||
XWAYLAND_LICENSE_FILES = COPYING
|
||||
XWAYLAND_INSTALL_STAGING = YES
|
||||
XWAYLAND_DEPENDENCIES = \
|
||||
pixman \
|
||||
wayland \
|
||||
wayland-protocols \
|
||||
xlib_libxcvt \
|
||||
xlib_libXfont2 \
|
||||
xlib_libxkbfile \
|
||||
xlib_libXrandr \
|
||||
xlib_xtrans \
|
||||
xorgproto
|
||||
XWAYLAND_CONF_OPTS = \
|
||||
-Dxwayland_eglstream=false \
|
||||
-Dxvfb=false \
|
||||
-Ddefault_font_path=/usr/share/fonts/X11/ \
|
||||
-Ddtrace=false \
|
||||
-Ddocs=false
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBDRM)$(BR2_PACKAGE_LIBEPOXY),yy)
|
||||
XWAYLAND_CONF_OPTS += -Dglamor=true
|
||||
XWAYLAND_DEPENDENCIES += libdrm libepoxy
|
||||
else
|
||||
XWAYLAND_CONF_OPTS += -Dglamor=false
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_HAS_LIBGL),y)
|
||||
XWAYLAND_CONF_OPTS += -Dglx=true
|
||||
XWAYLAND_DEPENDENCIES += libgl
|
||||
else
|
||||
XWAYLAND_CONF_OPTS += -Dglx=false
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_XLIB_LIBXDMCP),y)
|
||||
XWAYLAND_CONF_OPTS += \
|
||||
-Dxdmcp=true \
|
||||
-Dxdm-auth-1=true
|
||||
XWAYLAND_DEPENDENCIES += xlib_libXdmcp
|
||||
else
|
||||
XWAYLAND_CONF_OPTS += \
|
||||
-Dxdmcp=false \
|
||||
-Dxdm-auth-1=false
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBTIRPC),y)
|
||||
XWAYLAND_CONF_OPTS += -Dsecure-rpc=true
|
||||
XWAYLAND_DEPENDENCIES += libtirpc
|
||||
else
|
||||
XWAYLAND_CONF_OPTS += -Dsecure-rpc=false
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBSELINUX)$(BR2_PACKAGE_AUDIT),yy)
|
||||
XWAYLAND_CONF_OPTS += -Dxselinux=true
|
||||
XWAYLAND_DEPENDENCIES += libselinux audit
|
||||
else
|
||||
XWAYLAND_CONF_OPTS += -Dxselinux=false
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_OPENSSL),y)
|
||||
XWAYLAND_CONF_OPTS += -Dsha1=libcrypto
|
||||
XWAYLAND_DEPENDENCIES += openssl
|
||||
else ifeq ($(BR2_PACKAGE_LIBGCRYPT),y)
|
||||
XWAYLAND_CONF_OPTS += -Dsha1=libgcrypt
|
||||
XWAYLAND_DEPENDENCIES += libgcrypt
|
||||
else
|
||||
XWAYLAND_CONF_OPTS += -Dsha1=libsha1
|
||||
XWAYLAND_DEPENDENCIES += libsha1
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_XLIB_LIBXSHMFENCE)$(BR2_PACKAGE_LIBDRM),yy)
|
||||
XWAYLAND_CONF_OPTS += -Ddri3=true
|
||||
XWAYLAND_DEPENDENCIES += xlib_libxshmfence libdrm
|
||||
else
|
||||
XWAYLAND_CONF_OPTS += -Ddri3=false
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBUNWIND),y)
|
||||
XWAYLAND_CONF_OPTS += -Dlibunwind=true
|
||||
XWAYLAND_DEPENDENCIES += libunwind
|
||||
else
|
||||
XWAYLAND_CONF_OPTS += -Dlibunwind=false
|
||||
endif
|
||||
|
||||
$(eval $(meson-package))
|
Loading…
Reference in New Issue
Block a user