$ cd $ git clone https://gitlab.freedesktop.org/xorg/proto/xproto $ cd xproto $ git checkout xproto-7.0.31 $./autogen.sh $ ./configure $ make $ sudo make install $ cd $ git clone git://anongit.freedesktop.org/git/xorg/proto/xorgproto --recursive $ cd xorgproto/ $./autogen.sh $ ./configure $ make $ sudo make install