summaryrefslogtreecommitdiff
path: root/src/libostree/ostree-version.h.in
Commit message (Collapse)AuthorAgeFilesLines
* Drop `OSTREE_BUILT_FEATURES` from introspectionColin Walters2022-06-021-0/+2
| | | | | | | | | | | | It inherently depends on the individual build, and can't really be an official stable API for introspection users. I've noticed the value of this flip flop when doing local builds. I'm fairly certain no one is trying to use it from a higher level language. It'd probably make sense to even drop from the official C API, but I'm trying to be conservative with that.
* Update FSF license notices to use URL instead of addressJoseph Marrero2021-12-071-3/+1
|
* Add OSTREE_BUILT_FEATURES to ostree-version.hColin Walters2019-07-291-0/+10
| | | | | | | | This way projects can dispatch at run-time based on ostree's build time options, e.g. detect the availability of GPG. Closes: #1890 Approved by: jlebon
* tree-wide: Remove Emacs modelinesColin Walters2017-09-211-2/+1
| | | | | | | | | We added a `.dir-locals.el` in commit: 9a77017d87b74c5e2895cdd64ad098018929403f There's no need to have it per-file, with that people might think to add other editors, which is the wrong direction. Closes: #1206 Approved by: jlebon
* ostreee-version.h.in: Added Since: version annotationsTristan Van Berkom2017-06-151-0/+12
| | | | | | | | | | This is especially interesting for the versioning symbols themselves, as it is an indicator of when applications using introspection information can start to use a symbol in the library to check if they have a recent enough version of OSTree to use. Closes: #932 Approved by: cgwalters
* lib: Fix OSTREE_CHECK_VERSION()Colin Walters2017-03-281-1/+1
| | | | | | | | | Actually trying to use this in rpm-ostree, it kept returning successfully when I didn't expect it to... The first conditional was always succeeding even when I was asking for a newer minor. Closes: #766 Approved by: jlebon
* libostree: add versioning macrosGeorges Basile Stavracas Neto2017-03-111-0/+82
OSTree currently provides no way to inspect the versioning information at run time, being only available at compile time through pkg-config. This is a problem for e.g. Flatpak, that needs to check whether the 'update-frequency' option is available. Checking at compile time isn't great since it's not looking for new symbols, but only if an optional feature is present. This commit, then, adds a new header that is generated at compile time, exposing OSTree's versioning information. Closes: #728 Approved by: cgwalters