GNOME Bugzilla – Bug 773174
Build system: do not hardcode the API version, use a variable
Last modified: 2016-10-19 18:09:36 UTC
Build system: do not hardcode the API version, use a variable. Like in gspell: https://git.gnome.org/browse/gspell/tree/configure.ac?h=1.2.0#n43 To follow the GNOME Programming Guidelines: https://developer.gnome.org/programming-guidelines/unstable/parallel-installability.html.en
And because it would be much more convenient, of course.
Partly done with the following commits (first commit at the end of the list): 7fce354 build: do not hardcode API version for tests 6a70569 build: document why the API version is not used for the main source code 3c133e5 build: do not hardcode API version in vapi metadata filename 2826d12 build: do not hardcode API version for the docs 4263519 build: do not hardcode API version for style schemes 1931fa1 build: do not hardcode API version for language specs d8306a1 build: do not hardcode API version for glade catalog 93c4cb3 build: do not hardcode API version for the pkg-config file 4dd21d0 build: create GSV_API_VERSION variable For GtkSourceView 4, the GSV_API_VERSION can be set to just 4 (not 4.0), so that we can use the variable in the gtksourceview/ directory.