- Require libXi-devel >= 1.8 for the XI 2.4 gesture event types; on EL9

the newer libXi is supplied by this COPR project (EL9 ships 1.7.10).
- Initial package: install an XDG autostart entry for 12to11.
This commit is contained in:
Anders da Silva Rytter Hansen 2026-09-15 16:04:44 +02:00
commit 9b942377cf
3 changed files with 65 additions and 2 deletions

View file

@ -8,13 +8,16 @@
# xlibre COPR first:
# dnf copr enable @xlibre/xlibre-xserver
# or build/install libXpresent from source (https://gitlab.freedesktop.org/xorg/lib/libxpresent).
# On EL9: libXi-devel >= 1.8 is also not in the main repos (EL9 ships
# 1.7.10, which lacks the XI 2.4 gesture event types). A newer libXi
# is built in this COPR project; enable it for local builds.
#
# Since v1.0.0 the build uses a plain Makefile; the legacy imake/xmkmf
# build system is no longer needed.
Name: 12to11
Version: 1.0.0
Release: 1%{?dist}
Release: 2%{?dist}
Summary: Wayland to X11 protocol translator
License: GPL-3.0-only
@ -32,7 +35,9 @@ BuildRequires: libXext-devel
BuildRequires: libXrandr-devel
BuildRequires: libXrender-devel
BuildRequires: libXfixes-devel
BuildRequires: libXi-devel
# libXi >= 1.8 for the XIGesturePinchEvent/XIGestureSwipeEvent types.
# On EL9 a newer libXi is provided by this COPR project itself.
BuildRequires: libXi-devel >= 1.8
BuildRequires: libxcb-devel
BuildRequires: pixman-devel
BuildRequires: libdrm-devel
@ -90,6 +95,10 @@ export LDFLAGS="%{?build_ldflags}"
%{_mandir}/man1/12to11.1*
%changelog
* Tue Sep 15 2026 Anders da Silva Rytter Hansen <andersrh@users.noreply.github.com> - 1.0.0-2
- Require libXi-devel >= 1.8 for the XI 2.4 gesture event types; on EL9
the newer libXi is supplied by this COPR project (EL9 ships 1.7.10).
* Tue Sep 15 2026 Anders da Silva Rytter Hansen <andersrh@users.noreply.github.com> - 1.0.0-1
- Update to v1.0.0, the first stable release of the fork.
- Switch from imake/xmkmf to the new upstream Makefile build system.