wayland/src
Neil Roberts f0afa0fd8b Add a public header for the version number
This adds a public header so that applications can get the Wayland
version number at compile time. This can be used to make applications
that support compiling against multiple versions of Wayland.

There is a separate installed header called cogl-version.h which gets
included by both wayland-client.h and wayland-server.h

The canonical place for the version number is the configure.ac script
which splits it into three separate m4 defines for the major, minor
and micro version. These are copied into the generated
wayland-version.h header using AC_SUBST. There is also a string form
of the complete version number.

The version number is now also automatically copied into the two .pc
files.

Because the major, minor and micro parts are required it is no longer
possible to leave the version number as 'master' when building from
git. Most projects seem to immediately bump the git repo to a fake
version number (usually odd) after making a release so that there is
always a relative number that can be used for comparison. This patch
sets the git version to 0.99.0 under the assumption that the next
release will be 1.0.0.
2012-04-12 18:08:19 -04:00
..
.gitignore Add a public header for the version number 2012-04-12 18:08:19 -04:00
connection.c connection: fix signedness warnings 2012-03-23 15:20:03 +02:00
data-device.c Move data device implementation into wayland-server 2012-01-06 11:40:02 -05:00
event-loop.c Fix WL_EVENT_WRITEABLE typo 2011-12-28 22:51:34 -05:00
Makefile.am Add a public header for the version number 2012-04-12 18:08:19 -04:00
scanner.c scanner: fix a signedness warning 2012-03-23 15:20:03 +02:00
scanner.mk Rename source subdir from wayland to src 2011-08-12 16:25:14 -04:00
wayland-client.c client: Add wl_display_disconnect() so mesa master can link against 0.85 2012-04-05 16:48:38 -04:00
wayland-client.h Add wl_display_disconnect to the client header 2012-04-12 17:50:06 -04:00
wayland-client.pc.in Release 0.85.0 2012-02-09 13:15:35 -05:00
wayland-egl.h Remove the wl_visual interface 2011-08-31 18:34:21 -04:00
wayland-private.h Drop unused hash table 2011-12-27 13:58:56 -05:00
wayland-server.c Fix harmless signedness warnings 2012-03-23 15:20:03 +02:00
wayland-server.h Add a public header for the version number 2012-04-12 18:08:19 -04:00
wayland-server.pc.in Add a public header for the version number 2012-04-12 18:08:19 -04:00
wayland-shm.c Fix harmless signedness warnings 2012-03-23 15:20:03 +02:00
wayland-util.c Fix harmless signedness warnings 2012-03-23 15:20:03 +02:00
wayland-util.h wayland-util.h: Avoid un-namespaced _container_of 2012-02-09 08:28:51 -05:00
wayland-version.h.in Add a public header for the version number 2012-04-12 18:08:19 -04:00