mirror of
https://github.com/X11Libre/xserver.git
synced 2026-11-12 04:55:49 +00:00
Some checks are pending
For strange reasons, our MacOS build breaks old XTS code, due their compiler suddenly not accepting old K&R style function declarations. (weird: that happens only on the 25.0 release, not newer ones, even they're using the same build hosts and XTS revisions). Fixing this by adding a special hotfix branch on our XTS mirror, where all old K&S style function declations have been converted to modern ones. Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
25 lines
1 KiB
Shell
Executable file
25 lines
1 KiB
Shell
Executable file
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
. .github/scripts/util.sh
|
|
|
|
mkdir -p $X11_BUILD_DIR
|
|
cd $X11_BUILD_DIR
|
|
|
|
build_meson rendercheck $(fdo_mirror rendercheck) rendercheck-1.6
|
|
if [ "$X11_OS" = "Linux" ]; then
|
|
build_meson drm $(fdo_mirror drm) libdrm-2.4.121 -Domap=enabled
|
|
fi
|
|
build_meson libxcvt $(fdo_mirror libxcvt) libxcvt-0.1.0
|
|
build_ac xorgproto $(fdo_mirror xorgproto) xorgproto-2024.1
|
|
if [ "$X11_OS" = "Darwin" ]; then
|
|
build_ac xset $(fdo_mirror xset) xset-1.2.5
|
|
fi
|
|
# really must be build via autoconf instead of meson, otherwise piglit wont find the test programs
|
|
build_ac_xts xts $(fdo_mirror xts) hotfix/for-macos-and-25.0
|
|
|
|
clone_source piglit $(fdo_mirror piglit) 28d1349844eacda869f0f82f551bcd4ac0c4edfe
|
|
|
|
echo '[xts]' > piglit/piglit.conf
|
|
echo "path=$X11_BUILD_DIR/xts" >> piglit/piglit.conf
|