delorie.com/archives/browse.cgi | search |
Roland Lutz wrote: > On Sat, 19 Dec 2020, Peter Stuge (peter AT stuge DOT se) [via > geda-user AT delorie DOT com] wrote: > > You need to encode the *actual* minimum required dependencies in > > configure.ac, not what your particular testing environment uses. > > How do I know what the "actual" minimum required version of a dependency > is? It's the first version where all used APIs are available and functional. When inheriting a project it may require unmanageable effort to determine those for all used APIs, in that case it's a good strategy to at least only ever bump required versions in commits which add some code that uses an API not available in the previously required version. The various GNOME projects are good at documenting first-available-version in their API documentation, but sometimes it sadly does become neccessary to search for that first version manually, when adding code which uses an API for the first time in a project. //Peter
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |