-
-
Save unoexperto/4264ab4fa1f091390aa3023c870293f1 to your computer and use it in GitHub Desktop.
xkb switch on release deb build
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
rm -rf build | |
mkdir -p build | |
cd build | |
sudo apt install devscripts -y | |
sudo mk-build-deps -t'apt-get -y' -ir xserver-xorg-core | |
apt source xserver-xorg-core | |
SRC_DIR=`ls | cut -f1 | head -n1` | |
#https://bugs.freedesktop.org/show_bug.cgi?id=865 | |
#wget -O ../xkb_switch_on_release.patch https://bugs.freedesktop.org/attachment.cgi?id=129861 | |
patch ${SRC_DIR}/xkb/xkbActions.c < ../xkb_switch_on_release.patch || exit 1 | |
pushd ${SRC_DIR} | |
dch -n '' | |
debuild -us -uc | |
popd | |
sudo apt purge xorg-server-build-deps devscripts --auto-remove -y | |
sudo dpkg -i xserver-common_*.deb | |
sudo dpkg -i xserver-xorg-core_*.deb | |
rm -rf ../build |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment