-
-
Save zorn-v/df0dccd14af81e017fbe8a4e1523ddf5 to your computer and use it in GitHub Desktop.
#!/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 |
I just tried on 23.04
Finished running lintian.
~/patches/xkb_patch/build
and so on
Maybe apt update
?
Also maybe you have broken /usr/bin/mk-build-deps
script )
Patched Xorg packages for kinetic (22.10) and lunar (23.04) are built in my PPA.
Patched Xorg packages for kinetic (22.10) and lunar (23.04) are built in my PPA.
Thank you for you service.
The fact that the devs and most of the distro maintainers chose to ignore it is absolutely insane.
@N0rbert Would you be so kind to publish patch for mantic (23.10) ?
Patched Xorg packages for mantic (23.10) are now built in my PPA. Tested only on Ubuntu MATE 23.10.
@unoexperto commented on this gist.
Good morning! Any chance you could publish artifact for 24.04? :)
Patched Xorg packages for noble (24.04 LTS) are already built in my PPA.
Just tested it again only on Ubuntu MATE 24.04 LTS.
Yes, here is my sources.list