mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2024-11-10 18:03:47 +01:00
Bump plugin ABI and API for signature support
This commit is contained in:
parent
74e1dd5525
commit
e8bd52227f
16
meson.build
16
meson.build
@ -7,15 +7,13 @@ project('zathura', 'c',
|
|||||||
version = meson.project_version()
|
version = meson.project_version()
|
||||||
version_array = version.split('.')
|
version_array = version.split('.')
|
||||||
|
|
||||||
# Rules for so_major and so_minor:
|
# Rules for plugin API and ABI (non-exhaustive):
|
||||||
# Before a release perform the following checks against the last release:
|
# * zathura_plugin_function_t: If functions are addedd or removed or their
|
||||||
# * If a function has been removed or the paramaters of a function have changed
|
# signature changes, bump both ABI and API.
|
||||||
# bump SOMAJOR and set SOMINOR to 0.
|
# * zathura_plugin_definition_t: If the struct changes in an ABI-incompatible
|
||||||
# * If any of the exported datastructures have changed in a incompatible way
|
# way, bump the ABI.
|
||||||
# bump SOMAJOR and set SOMINOR to 0.
|
plugin_api_version = '5'
|
||||||
# * If a function has been added bump SOMINOR.
|
plugin_abi_version = '6'
|
||||||
plugin_api_version = '4'
|
|
||||||
plugin_abi_version = '5'
|
|
||||||
|
|
||||||
conf_data = configuration_data()
|
conf_data = configuration_data()
|
||||||
conf_data.set('ZVMAJOR', version_array[0])
|
conf_data.set('ZVMAJOR', version_array[0])
|
||||||
|
Loading…
Reference in New Issue
Block a user