Add libinput 1.27.1 build from source for version requirement

Co-authored-by: squassina <8495707+squassina@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot] 2026-02-18 13:02:11 +00:00
parent c26dd2dec4
commit fa51bed55a
2 changed files with 33 additions and 12 deletions

View file

@ -23,26 +23,31 @@ This directory contains the GitHub Actions workflows for the MangoWC project.
**What it does**:
1. Installs system dependencies (libinput, libdrm, etc.)
2. Builds wayland 1.23.1 from source
3. Builds wlroots 0.19.0 from source
4. Builds scenefx 0.4.1 from source
5. Uses `meson subprojects download` to fetch any required subproject dependencies
6. Configures the project with meson
7. Builds the project with ninja
8. Verifies the executables were created
1. Installs system dependencies (libdrm, libevdev, etc.)
2. Builds libinput 1.27.1 from source
3. Builds wayland 1.23.1 from source
4. Builds wlroots 0.19.0 from source
5. Builds scenefx 0.4.1 from source
6. Uses `meson subprojects download` to fetch any required subproject dependencies
7. Configures the project with meson
8. Builds the project with ninja
9. Verifies the executables were created
**Build Strategy**:
- All dependencies (wayland, wlroots, scenefx) are built from their source repositories
- Uses `meson subprojects download` before each meson setup to fetch required subprojects
- Allows meson wrap mode for automatic subproject handling (no --wrap-mode=nodownload)
- All major dependencies (libinput, wayland, wlroots, scenefx) are built from
their source repositories
- Uses `meson subprojects download` before each meson setup to fetch required
subprojects
- Allows meson wrap mode for automatic subproject handling
(no --wrap-mode=nodownload)
**Dependencies**:
- Ubuntu latest runner
- Meson build system
- Ninja build tool
- libinput 1.27.1 (built from source)
- Wayland 1.23.1 (built from source)
- wlroots 0.19.0 (built from source)
- scenefx 0.4.1 (built from source)

View file

@ -44,7 +44,6 @@ jobs:
meson \
ninja-build \
wayland-protocols \
libinput-dev \
libxkbcommon-dev \
libpcre2-dev \
libpixman-1-dev \
@ -62,8 +61,25 @@ jobs:
libgles2-mesa-dev \
libegl1-mesa-dev \
libgbm-dev \
libevdev-dev \
libmtdev-dev \
libudev-dev \
libsystemd-dev \
pkg-config
- name: Build and install libinput 1.27.1
run: |
# Build libinput 1.27.1 from source since Ubuntu has older version
git clone https://gitlab.freedesktop.org/libinput/libinput.git
cd libinput
git checkout 1.27.1
# Download meson subprojects if needed
meson subprojects download || true
meson setup build/ --prefix=/usr
sudo ninja -C build/ install
sudo ldconfig
cd ..
- name: Build and install wayland 1.23.1
run: |
# Build wayland 1.23.1 from source