After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 773174 - Build system: do not hardcode the API version, use a variable
Build system: do not hardcode the API version, use a variable
Status: RESOLVED FIXED
Product: gtksourceview
Classification: Platform
Component: General
unspecified
Other Linux
: Normal enhancement
: 4.0
Assigned To: GTK Sourceview maintainers
GTK Sourceview maintainers
Depends on:
Blocks:
 
 
Reported: 2016-10-18 18:44 UTC by Sébastien Wilmet
Modified: 2016-10-19 18:09 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Sébastien Wilmet 2016-10-18 18:44:24 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
Comment 1 Sébastien Wilmet 2016-10-18 18:46:04 UTC
And because it would be much more convenient, of course.
Comment 2 Sébastien Wilmet 2016-10-19 18:09:36 UTC
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.