[-- Attachment #1: Type: text/plain, Size: 322 bytes --] There is a new pull request by travankor against master on the void-packages repository https://github.com/travankor/void-packages cage https://github.com/void-linux/void-packages/pull/20755 cage: add Xwayland build option. None A patch file from https://github.com/void-linux/void-packages/pull/20755.patch is attached [-- Warning: decoded text below may be mangled, UTF-8 assumed --] [-- Attachment #2: github-pr-cage-20755.patch --] [-- Type: text/x-diff, Size: 1356 bytes --] From b6ee9c5409a6c6545b1c845f36b06340ed4f1282 Mon Sep 17 00:00:00 2001 From: travankor <travankor@tuta.io> Date: Wed, 8 Apr 2020 05:58:10 -0700 Subject: [PATCH] cage: add Xwayland build option. --- srcpkgs/cage/template | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/srcpkgs/cage/template b/srcpkgs/cage/template index 49342bf81c7..b24c32bfb6c 100644 --- a/srcpkgs/cage/template +++ b/srcpkgs/cage/template @@ -3,8 +3,11 @@ pkgname=cage version=0.1.1 revision=2 build_style=meson +configure_args="$(vopt_bool xwayland xwayland)" hostmakedepends="pkg-config wayland-devel" -makedepends="xcb-util-wm-devel xcb-util-errors-devel libxkbcommon-devel pixman-devel wayland-devel wlroots-devel" +makedepends="xcb-util-wm-devel xcb-util-errors-devel libxkbcommon-devel + pixman-devel wayland-devel wlroots-devel" +depends="$(vopt_if xwayland xorg-server-xwayland)" short_desc="Kiosk compositor for Wayland" maintainer="Illia Shestakov <ishestakov@airmail.cc>" license="MIT" @@ -12,6 +15,9 @@ homepage="https://www.hjdskes.nl/projects/cage/" distfiles="https://github.com/Hjdskes/cage/archive/v${version}.tar.gz" checksum=63efbe96cf307381f2bedf9b80153343e255970a70d612515da7dc325dd49478 +build_options="xwayland" +desc_option_xwayland="Enable Xwayland support in cage" + post_install() { vlicense LICENSE vdoc README.md
[-- Attachment #1: Type: text/plain, Size: 210 bytes --] New comment by ericonr on void-packages repository https://github.com/void-linux/void-packages/pull/20755#issuecomment-664579333 Comment: Is it working with Xwayland? Last I tested it, it didn't work for me.
[-- Attachment #1: Type: text/plain, Size: 299 bytes --] New comment by ericonr on void-packages repository https://github.com/void-linux/void-packages/pull/20755#issuecomment-664583849 Comment: Also I don't think this should be a build option. If someone knows enough to build it locally with this build option, they can also install xwayland manually.
[-- Attachment #1: Type: text/plain, Size: 327 bytes --] There is an updated pull request by travankor against master on the void-packages repository https://github.com/travankor/void-packages cage https://github.com/void-linux/void-packages/pull/20755 cage: add Xwayland build option. None A patch file from https://github.com/void-linux/void-packages/pull/20755.patch is attached [-- Warning: decoded text below may be mangled, UTF-8 assumed --] [-- Attachment #2: github-pr-cage-20755.patch --] [-- Type: text/x-diff, Size: 1350 bytes --] From 282f04bc1a753cf79f4094fc7bfe16073df996dc Mon Sep 17 00:00:00 2001 From: travankor <travankor@tuta.io> Date: Wed, 8 Apr 2020 05:58:10 -0700 Subject: [PATCH] cage: add Xwayland build option. --- srcpkgs/cage/template | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/srcpkgs/cage/template b/srcpkgs/cage/template index 76ba731cc58..0deb83bc2d7 100644 --- a/srcpkgs/cage/template +++ b/srcpkgs/cage/template @@ -3,8 +3,11 @@ pkgname=cage version=0.1.2.1 revision=1 build_style=meson +configure_args="$(vopt_bool xwayland xwayland)" hostmakedepends="pkg-config wayland-devel scdoc" -makedepends="xcb-util-wm-devel xcb-util-errors-devel libxkbcommon-devel pixman-devel wayland-devel wlroots-devel" +makedepends="xcb-util-wm-devel xcb-util-errors-devel libxkbcommon-devel + pixman-devel wayland-devel wlroots-devel" +depends="$(vopt_if xwayland xorg-server-xwayland)" short_desc="Kiosk compositor for Wayland" maintainer="Illia Shestakov <ishestakov@airmail.cc>" license="MIT" @@ -12,6 +15,9 @@ homepage="https://www.hjdskes.nl/projects/cage/" distfiles="https://github.com/Hjdskes/cage/archive/v${version}.tar.gz" checksum=38a3e3968f00cc58fe1d9448e972cfac7d1efa30c48699f09032f264101a55ac +build_options="xwayland" +desc_option_xwayland="Enable Xwayland support in cage" + post_install() { vlicense LICENSE }
[-- Attachment #1: Type: text/plain, Size: 251 bytes --] New comment by travankor on void-packages repository https://github.com/void-linux/void-packages/pull/20755#issuecomment-664660591 Comment: >Is it working with Xwayland? Last I tested it, it didn't work for me. When was the last time you tested?
[-- Attachment #1: Type: text/plain, Size: 283 bytes --] New comment by ericonr on void-packages repository https://github.com/void-linux/void-packages/pull/20755#issuecomment-664667445 Comment: Well, just now :p Xwayland seems to work with the wayland backend, even if it opens two windows (?), but doesn't work for the DRM backend.
[-- Attachment #1: Type: text/plain, Size: 337 bytes --] New comment by ericonr on void-packages repository https://github.com/void-linux/void-packages/pull/20755#issuecomment-664667445 Comment: Well, just now :p Xwayland seems to work with the wayland backend, even if it opens two windows (?), but doesn't work for the DRM backend. I hadn't tested the wayland backend, in this case.
[-- Attachment #1: Type: text/plain, Size: 197 bytes --] New comment by ericonr on void-packages repository https://github.com/void-linux/void-packages/pull/20755#issuecomment-668013216 Comment: @travankor would you like me to include this in #23793 ?
[-- Attachment #1: Type: text/plain, Size: 158 bytes --] New comment by travankor on void-packages repository https://github.com/void-linux/void-packages/pull/20755#issuecomment-668053531 Comment: Sure, go ahead.
[-- Attachment #1: Type: text/plain, Size: 184 bytes --] New comment by ericonr on void-packages repository https://github.com/void-linux/void-packages/pull/20755#issuecomment-668799317 Comment: It did work, thanks! I made it default, ok?
[-- Attachment #1: Type: text/plain, Size: 170 bytes --] There's a closed pull request on the void-packages repository cage: add Xwayland build option. https://github.com/void-linux/void-packages/pull/20755 Description: None