[PATCH] Add a public header for the version number
tiago.vignatti at linux.intel.com
Fri Apr 13 00:56:01 PDT 2012
On 04/13/2012 01:10 AM, Kristian Høgsberg wrote:
> On Wed, Apr 11, 2012 at 04:59:05PM +0100, Neil Roberts wrote:
>> 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
>> 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.
> That great, thanks. I changed the version to 0.89.0, since we're
> between the 0.85 release and what will probably be the 0.95.0 release.
> I also applied on the 0.85 branch with a version of 0.85.1.
Kristian, you left the commit message unchanged; stills "This patch sets
the git version to 0.99.0 under the assumption that the next release
will be 1.0.0.". Meh.
But, are we skipping the 0.9 protocol release, previously planned, and
now going straight to the 0.95? Please clarify.
More information about the wayland-devel