xwayland: add a standalone recipe
RFC PATCH 1/2 xwayland: add a standalone recipe
Please see here for the rationale for splitting XWayland out of main xserver-xorg tree:
https://fedoraproject.org/wiki/Changes/XwaylandStandalone
--- meta/conf/distro/include/maintainers.inc | 1 + .../xwayland/xwayland_21.0.99.902.bb | 19 +++++++++++++++++++ 2 files changed, 20 insertions(+) create mode 100644 meta/recipes-graphics/xwayland/xwayland_21.0.99.902.bb
meta/conf/distro/include/maintainers.inc +1 -0
@@ -797,6 +797,7 @@ RECIPE_MAINTAINER_pn-xset = "Armin Kuster <[email protected]>" RECIPE_MAINTAINER_pn-xtrans = "Armin Kuster <[email protected]>" RECIPE_MAINTAINER_pn-xuser-account = "Armin Kuster <[email protected]>" RECIPE_MAINTAINER_pn-xvinfo = "Armin Kuster <[email protected]>" +RECIPE_MAINTAINER_pn-xwayland = "Armin Kuster <[email protected]>" RECIPE_MAINTAINER_pn-xwininfo = "Armin Kuster <[email protected]>" RECIPE_MAINTAINER_pn-xz = "Denys Dmytriyenko <[email protected]>" RECIPE_MAINTAINER_pn-zip = "Denys Dmytriyenko <[email protected]>"
meta/recipes-graphics/xwayland/xwayland_21.0.99.902.bb new file +19 -0
@@ -0,0 +1,19 @@ +SUMMARY = "XWayland is an X Server that runs under Wayland." +DESCRIPTION = "XWayland is an X Server running as a Wayland client, \ +and thus is capable of displaying native X11 client applications in a \ +Wayland compositor environment. The goal of XWayland is to facilitate \ +the transition from X Window System to Wayland environments, providing \ +a way to run unported applications in the meantime." +HOMEPAGE = "https://fedoraproject.org/wiki/Changes/XwaylandStandalone" + +LICENSE = "MIT-X" +LIC_FILES_CHKSUM = "file://COPYING;md5=5df87950af51ac2c5822094553ea1880" + +SRC_URI = "https://www.x.org/archive/individual/xserver/xwayland-${PV}.tar.xz" +SRC_URI[sha256sum] = "799491dd99cb2c6dbdf05162441d0469a2a9b36e089755eb59729dd38f44adce" + +inherit meson + +DEPENDS += "xorgproto xtrans pixman libxkbfile libxfont2 wayland wayland-native wayland-protocols libdrm libepoxy" + +FILES_${PN} += "${libdir}/xorg/protocol.txt"
Signature · 1 line
2.29.2
RFC PATCH 2/2 weston: use standalone xwayland instead of outdated xserver-xorg version
--- meta/recipes-graphics/wayland/weston_9.0.0.bb | 2 +- meta/recipes-graphics/xorg-xserver/xserver-xorg.inc | 1 - 2 files changed, 1 insertion(+), 2 deletions(-)
meta/recipes-graphics/wayland/weston_9.0.0.bb +1 -1
@@ -124,7 +124,7 @@ SUMMARY_libweston-${WESTON_MAJOR_VERSION} = "Helper library for implementing 'wa FILES_${PN}-examples = "${bindir}/*" FILES_${PN}-xwayland = "${libdir}/libweston-${WESTON_MAJOR_VERSION}/xwayland.so" -RDEPENDS_${PN}-xwayland += "xserver-xorg-xwayland" +RDEPENDS_${PN}-xwayland += "xwayland" RDEPENDS_${PN} += "xkeyboard-config" RRECOMMENDS_${PN} = "weston-init liberation-fonts"
meta/recipes-graphics/xorg-xserver/xserver-xorg.inc +0 -1
@@ -122,7 +122,6 @@ EXTRA_OECONF += "--with-fop=no \ OPENGL_PKGCONFIGS = "dri glx glamor dri3 xshmfence" PACKAGECONFIG ??= "dga dri2 udev ${XORG_CRYPTO} \ ${@bb.utils.contains('DISTRO_FEATURES', 'opengl', '${OPENGL_PKGCONFIGS}', '', d)} \ - ${@bb.utils.contains('DISTRO_FEATURES', 'opengl wayland', 'xwayland', '', d)} \ ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd systemd-logind', '', d)} \ "
Signature · 1 line
2.29.2
Quoted 5 lines · Alexander Kanavin
Please see here for the rationale for splitting XWayland out of main xserver-xorg tree:
https://fedoraproject.org/wiki/Changes/XwaylandStandalone
I think this is a good change. Should we disable xwayland packageconfig in xserver-xorg recipe as well
since I see that it gets activated with opengl wayland being in distro features. so I wonder if we can completely turn it off
Quoted 50 lines
Signed-off-by Alexander Kanavin <[email protected]>--- meta/conf/distro/include/maintainers.inc | 1 + .../xwayland/xwayland_21.0.99.902.bb | 19 +++++++++++++++++++ 2 files changed, 20 insertions(+) create mode 100644 meta/recipes-graphics/xwayland/xwayland_21.0.99.902.bbmeta/conf/distro/include/maintainers.inc +1
-0@@ -797,6 +797,7 @@ RECIPE_MAINTAINER_pn-xset = "Armin Kuster <[email protected]>" RECIPE_MAINTAINER_pn-xtrans = "Armin Kuster <[email protected]>" RECIPE_MAINTAINER_pn-xuser-account = "Armin Kuster <[email protected]>" RECIPE_MAINTAINER_pn-xvinfo = "Armin Kuster <[email protected]>" +RECIPE_MAINTAINER_pn-xwayland = "Armin Kuster <[email protected]>" RECIPE_MAINTAINER_pn-xwininfo = "Armin Kuster <[email protected]>" RECIPE_MAINTAINER_pn-xz = "Denys Dmytriyenko <[email protected]>" RECIPE_MAINTAINER_pn-zip = "Denys Dmytriyenko <[email protected]>"meta/recipes-graphics/xwayland/xwayland_21.0.99.902.bb new file +19
-1@@ -0,0 +1,19 @@ +SUMMARY = "XWayland is an X Server that runs under Wayland." +DESCRIPTION = "XWayland is an X Server running as a Wayland client, \ +and thus is capable of displaying native X11 client applications in a \ +Wayland compositor environment. The goal of XWayland is to facilitate \ +the transition from X Window System to Wayland environments, providing \ +a way to run unported applications in the meantime." +HOMEPAGE = "https://fedoraproject.org/wiki/Changes/XwaylandStandalone" + +LICENSE = "MIT-X" +LIC_FILES_CHKSUM = "file://COPYING;md5=5df87950af51ac2c5822094553ea1880" + +SRC_URI = "https://www.x.org/archive/individual/xserver/xwayland-${PV}.tar.xz" +SRC_URI[sha256sum] = "799491dd99cb2c6dbdf05162441d0469a2a9b36e089755eb59729dd38f44adce" + +inherit meson + +DEPENDS += "xorgproto xtrans pixman libxkbfile libxfont2 wayland wayland-native wayland-protocols libdrm libepoxy" + +FILES_${PN} += "${libdir}/xorg/protocol.txt" --2.29.2
Quoted 8 lines · Khem Raj
Quoted 5 lines · Alexander Kanavin
Please see here for the rationale for splitting XWayland out of main xserver-xorg tree:
https://fedoraproject.org/wiki/Changes/XwaylandStandalone
Quoted 6 lines
I think this is a good change. Should we disable xwayland packageconfig in xserver-xorg recipe as well
since I see that it gets activated with opengl wayland being in distro features.
so I wonder if we can completely turn it off
That's done in the second patch, as it has to be atomic with dependency adjustment in weston.
Alex
Ok, thanks.
Quoted 21 lines · Alexander Kanavin
Quoted 9 lines · Khem Raj
Quoted 5 lines · Alexander Kanavin
Please see here for the rationale for splitting XWayland out of main xserver-xorg tree:
https://fedoraproject.org/wiki/Changes/XwaylandStandaloneQuoted 4 lines
I think this is a good change. Should we disable xwayland packageconfig in xserver-xorg recipe as well
since I see that it gets activated with opengl wayland being in distro features. so I wonder if we can completely turn it offThat's done in the second patch, as it has to be atomic with dependency adjustment in weston.
Alex