[PATCH 2/2] build: use symbol versioning

Jan Engelhardt jengelh at inai.de
Thu Sep 11 14:08:14 PDT 2014


On Thursday 2014-09-11 22:55, Jonas Ådahl wrote:

>On Wed, Sep 10, 2014 at 01:32:25AM +0200, Jan Engelhardt wrote:
>> Symbol versions provide a means by which ELF utilities can determine
>> whether a program is incompatible with a too-old library version so
>> that package management tools can autodetect version-based
>> dependencies and suggest upgrade paths.
>
>This sounds like a good idea. I have not pushed it yet though because
>I'd want to avoid adding the symbols that will be deprecated in the
>coming release (libinput_device_get_keys and libinput_device_calibrate).

That's not a big deal. If you remove symbols from the .c files,
just increase -version-info to N:0:0, remove the symbols from
libinput.map, and combine all {} sections in libinput.map
to a single one.


More information about the wayland-devel mailing list