mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2026-05-03 06:46:38 -04:00
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:
parent
c26dd2dec4
commit
fa51bed55a
2 changed files with 33 additions and 12 deletions
27
.github/workflows/README.md
vendored
27
.github/workflows/README.md
vendored
|
|
@ -23,26 +23,31 @@ This directory contains the GitHub Actions workflows for the MangoWC project.
|
||||||
|
|
||||||
**What it does**:
|
**What it does**:
|
||||||
|
|
||||||
1. Installs system dependencies (libinput, libdrm, etc.)
|
1. Installs system dependencies (libdrm, libevdev, etc.)
|
||||||
2. Builds wayland 1.23.1 from source
|
2. Builds libinput 1.27.1 from source
|
||||||
3. Builds wlroots 0.19.0 from source
|
3. Builds wayland 1.23.1 from source
|
||||||
4. Builds scenefx 0.4.1 from source
|
4. Builds wlroots 0.19.0 from source
|
||||||
5. Uses `meson subprojects download` to fetch any required subproject dependencies
|
5. Builds scenefx 0.4.1 from source
|
||||||
6. Configures the project with meson
|
6. Uses `meson subprojects download` to fetch any required subproject dependencies
|
||||||
7. Builds the project with ninja
|
7. Configures the project with meson
|
||||||
8. Verifies the executables were created
|
8. Builds the project with ninja
|
||||||
|
9. Verifies the executables were created
|
||||||
|
|
||||||
**Build Strategy**:
|
**Build Strategy**:
|
||||||
|
|
||||||
- All dependencies (wayland, wlroots, scenefx) are built from their source repositories
|
- All major dependencies (libinput, wayland, wlroots, scenefx) are built from
|
||||||
- Uses `meson subprojects download` before each meson setup to fetch required subprojects
|
their source repositories
|
||||||
- Allows meson wrap mode for automatic subproject handling (no --wrap-mode=nodownload)
|
- 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**:
|
**Dependencies**:
|
||||||
|
|
||||||
- Ubuntu latest runner
|
- Ubuntu latest runner
|
||||||
- Meson build system
|
- Meson build system
|
||||||
- Ninja build tool
|
- Ninja build tool
|
||||||
|
- libinput 1.27.1 (built from source)
|
||||||
- Wayland 1.23.1 (built from source)
|
- Wayland 1.23.1 (built from source)
|
||||||
- wlroots 0.19.0 (built from source)
|
- wlroots 0.19.0 (built from source)
|
||||||
- scenefx 0.4.1 (built from source)
|
- scenefx 0.4.1 (built from source)
|
||||||
|
|
|
||||||
18
.github/workflows/build.yml
vendored
18
.github/workflows/build.yml
vendored
|
|
@ -44,7 +44,6 @@ jobs:
|
||||||
meson \
|
meson \
|
||||||
ninja-build \
|
ninja-build \
|
||||||
wayland-protocols \
|
wayland-protocols \
|
||||||
libinput-dev \
|
|
||||||
libxkbcommon-dev \
|
libxkbcommon-dev \
|
||||||
libpcre2-dev \
|
libpcre2-dev \
|
||||||
libpixman-1-dev \
|
libpixman-1-dev \
|
||||||
|
|
@ -62,8 +61,25 @@ jobs:
|
||||||
libgles2-mesa-dev \
|
libgles2-mesa-dev \
|
||||||
libegl1-mesa-dev \
|
libegl1-mesa-dev \
|
||||||
libgbm-dev \
|
libgbm-dev \
|
||||||
|
libevdev-dev \
|
||||||
|
libmtdev-dev \
|
||||||
|
libudev-dev \
|
||||||
|
libsystemd-dev \
|
||||||
pkg-config
|
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
|
- name: Build and install wayland 1.23.1
|
||||||
run: |
|
run: |
|
||||||
# Build wayland 1.23.1 from source
|
# Build wayland 1.23.1 from source
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue