public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Yaakov Selkowitz <yselkowi@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/qtile] rawhide: Disable X11 on RHEL 10+
Date: Mon, 10 Aug 2026 20:20:35 GMT [thread overview]
Message-ID: <178639323527.1.10386126847410970325.rpms-qtile-49ae67a71cfb@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/qtile
Branch : rawhide
Commit : 49ae67a71cfb5c319189dc737870e8be5f7d7899
Author : Yaakov Selkowitz <yselkowi@redhat.com>
Date : 2026-08-07T15:57:01-04:00
Stats : +11/-0 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/qtile/c/49ae67a71cfb5c319189dc737870e8be5f7d7899?branch=rawhide
Log:
Disable X11 on RHEL 10+
---
diff --git a/qtile.spec b/qtile.spec
index c5d0975..87cf3fb 100644
--- a/qtile.spec
+++ b/qtile.spec
@@ -1,3 +1,5 @@
+%bcond x11 %[!(0%{?rhel} >= 10)]
+
%global forgeurl https://github.com/qtile/qtile
%global tag v0.36.0
@@ -20,8 +22,10 @@ BuildRequires: pipewire-pulseaudio
# Test dependencies
BuildRequires: gcc
BuildRequires: xcb-util-cursor
+%if %{with x11}
BuildRequires: xorg-x11-server-Xvfb
BuildRequires: xorg-x11-server-Xephyr
+%endif
BuildRequires: xterm
BuildRequires: rsvg-pixbuf-loader
BuildRequires: pkgconfig(wlroots-0.19)
@@ -108,10 +112,12 @@ PYTHONPATH=${PWD} %{python3} ./libqtile/backend/wayland/cffi/build.py
mkdir -p %{buildroot}%{python3_sitearch}/libqtile/backend/wayland/
cp -a ./libqtile/backend/wayland/_ffi.*.so %{buildroot}%{python3_sitearch}/libqtile/backend/wayland/
+%if %{with x11}
mkdir -p %{buildroot}%{_datadir}/xsessions/
desktop-file-install \
--dir %{buildroot}%{_datadir}/xsessions/ \
resources/qtile.desktop
+%endif
mkdir -p %{buildroot}%{_datadir}/wayland-sessions/
desktop-file-install \
@@ -131,7 +137,9 @@ ulimit -n 10240 ||:
%pytest \
-vv \
+%if %{with x11}
--backend x11 \
+%endif
--backend wayland \
--deselect \
test/shell_scripts/test_repl_server.py::test_repl_server_executes_code
@@ -141,7 +149,9 @@ ulimit -n 10240 ||:
%files
%doc README.rst
%{_bindir}/qtile
+%if %{with x11}
%{_datadir}/xsessions/qtile.desktop
+%endif
%files -n python3-libqtile -f %{pyproject_files}
@@ -150,6 +160,7 @@ ulimit -n 10240 ||:
%files wayland
%{_datadir}/wayland-sessions/qtile-wayland.desktop
%{python3_sitearch}/libqtile/backend/wayland/_ffi.*.so
+%{python3_sitelib}/libqtile/backend/wayland/qw/proto/
%autochangelog
reply other threads:[~2026-08-10 20:20 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=178639323527.1.10386126847410970325.rpms-qtile-49ae67a71cfb@fedoraproject.org \
--to=yselkowi@redhat.com \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox