2023-02-25 12:21:52 +01:00
|
|
|
# Clone Upstream
|
2023-11-13 18:32:33 +01:00
|
|
|
git clone https://gitlab.freedesktop.org/xorg/xserver.git -b xwayland-23.2.2 ./xwayland
|
2023-07-14 18:43:36 +02:00
|
|
|
cp -rvf ./debian ./xwayland/
|
2023-02-25 12:21:52 +01:00
|
|
|
cd ./xwayland
|
2023-11-11 15:50:28 +01:00
|
|
|
for i in $(cat ../patches/series) ; do echo "Applying Patch: $i" && patch -Np1 -i ../patches/$i || bash -c "echo "Applying Patch $i Failed!" && exit 2"; done
|
2023-02-25 12:21:52 +01:00
|
|
|
|
|
|
|
# Get build deps
|
2023-11-13 18:29:52 +01:00
|
|
|
apt update
|
2023-08-21 18:34:03 +02:00
|
|
|
apt upgrade -y
|
2023-02-25 12:21:52 +01:00
|
|
|
apt-get build-dep ./ -y
|
|
|
|
|
|
|
|
# Build package
|
2023-07-14 18:43:36 +02:00
|
|
|
dpkg-buildpackage --no-sign
|
2023-02-25 12:21:52 +01:00
|
|
|
|
|
|
|
# Move the debs to output
|
|
|
|
cd ../
|
|
|
|
mkdir -p ./output
|
|
|
|
mv ./*.deb ./output/
|