commit 861c792dd402cd3469391dc5d71696bc8d600a82 Author: Toshaan Bharvani Date: Fri Dec 22 09:57:22 2023 +0100 initial package creation Signed-off-by: Toshaan Bharvani diff --git a/SOURCES/0001-wlheadless-Add-support-for-kwin.patch b/SOURCES/0001-wlheadless-Add-support-for-kwin.patch new file mode 100644 index 0000000..6bfc1cc --- /dev/null +++ b/SOURCES/0001-wlheadless-Add-support-for-kwin.patch @@ -0,0 +1,164 @@ +From ac94b6621c2dfa70329fbc89c77ad7a5042f1d5a Mon Sep 17 00:00:00 2001 +From: Neal Gompa +Date: Sun, 10 Dec 2023 18:03:30 -0500 +Subject: [PATCH] wlheadless: Add support for kwin + +--- + README.md | 5 ++- + man/wlheadless-run.man | 2 +- + meson_options.txt | 2 +- + src/wlheadless/kwin.py | 76 ++++++++++++++++++++++++++++++++++++++ + src/wlheadless/meson.build | 1 + + 5 files changed, 82 insertions(+), 4 deletions(-) + create mode 100644 src/wlheadless/kwin.py + +diff --git a/README.md b/README.md +index f4d4490..d37243e 100644 +--- a/README.md ++++ b/README.md +@@ -26,6 +26,7 @@ and currently support the following compositors: + + * [weston](https://gitlab.freedesktop.org/wayland/weston) + * [cage](https://github.com/cage-kiosk/cage) ++ * [kwin](https://invent.kde.org/plasma/kwin) + * [gnome-kiosk](https://gitlab.gnome.org/GNOME/gnome-kiosk) + * [mutter](https://gitlab.gnome.org/GNOME/mutter) + +@@ -81,7 +82,7 @@ usage: wlheadless-run [-c compositor] -- client = 0.60.0 +BuildRequires: git-core +BuildRequires: python3-devel +Requires: (weston or kwin-wayland or mutter or cage or gnome-kiosk) +Requires: xorg-x11-server-Xwayland + +# Provide names of the other utilities included +Provides: wlheadless-run = %{version}-%{release} +Provides: xwfb-run = %{version}-%{release} + +%description +xwayland-run contains a set of small utilities revolving around running +Xwayland and various Wayland compositor headless. + + +%prep +%autosetup -S git_am + + +%build +%meson +%meson_build + + +%install +%meson_install + + +%files +%license COPYING +%doc README.md +%{_bindir}/wlheadless-run +%{_bindir}/xwayland-run +%{_bindir}/xwfb-run +%{_datadir}/wlheadless/ +%{_mandir}/man1/wlheadless-run.1* +%{_mandir}/man1/xwayland-run.1* +%{_mandir}/man1/xwfb-run.1* +%{python3_sitelib}/wlheadless/ + + +%changelog +* Sun Dec 10 2023 Neal Gompa - 0.0.2-2 +- Refresh kwin support patch +- Add provides for other included utilities + +* Sun Dec 10 2023 Neal Gompa - 0.0.2-1 +- Initial package