build-scripts/showrev.sh
author Sam Lantinga
Thu, 01 Sep 2016 01:26:56 -0700
changeset 10304 ee83e0b4a36f
parent 4935 a727eda441be
child 10420 0d91817f35e9
permissions -rwxr-xr-x
wayland: Add support for relative mouse mode, by Jonas Ã…dahl <jadahl@gmail.com>

Generate the C protocol files from the protocol XML files installed by
wayland-protocols, and use them to implement support for relative pointer
motions and pointer locking.

Note that at the time, the protocol is unstable and may change in the future.
Any future breaking changes will, however, fail gracefully and result in no
regressions compared to before this patch.
slouken@2982
     1
#!/bin/sh
slouken@2982
     2
#
slouken@2982
     3
# Print the current source revision, if available
slouken@2982
     4
icculus@4419
     5
# FIXME: this prints the tip, which isn't useful if you're on a different
icculus@4419
     6
#  branch, or just not sync'd to the tip.
slouken@4935
     7
hg tip --template 'hg-{rev}:{node|short}' || (echo "hg-0:baadf00d"; exit 1)