dbus/test/internals
Simon McVittie cd667b9556 build: Allow version number to be followed by "-" and a suffix
Some distributions are known to have shipped dbus 1.15.x as though it
was a stable release, and it isn't clear whether they knew that we use
the odd/even versioning convention like GLib does.

If we add a -alpha, -beta, -rc suffix to development versions starting
from 1.17.0, then distros that know we use odd/even versioning will
know that our development versions are not a stable-branch, and so will
distros that mistakenly think we use the "semantic versioning"
versioning convention popularized by <https://semver.org/>.

(We intentionally do not use semver, because semver would require us to
ship a new minor version every time we add new API, and we do not have
the resources to provide security support for an unlimited number of
minor versions in parallel: we need to be able to nominate a subset of
our releases as having longer-term security support, in a way that signals
to distros that these are the releases they should prefer to ship.)

CMake's `project()` doesn't allow this version number format[1], but
we intend to use version numbers where the (major, minor, micro) tuple
is enough to uniquely identify a release, so we can just tell CMake our
version number without the suffix and there will be no ambiguity.

Similarly, the dash is not allowed in GNU ld version scripts, so use
the form of the version number without the suffix there.

[1] https://gitlab.kitware.com/cmake/cmake/-/issues/16716

Helps: dbus#530
Signed-off-by: Simon McVittie <smcv@collabora.com>
2024-12-10 12:30:16 +00:00
..
address.c Add SPDX license marker for the AFL-2.1 OR GPL-2.0-or-later license 2023-01-04 07:53:44 +00:00
assertions.c Add SPDX license tags for the MIT (Expat) license, where straightforward 2023-08-14 17:18:04 +00:00
atomic.c Add SPDX license tags for the MIT (Expat) license, where straightforward 2023-08-14 17:18:04 +00:00
counter.c Add multithreaded unit test for DBusCounter to available build systems 2023-01-05 16:43:55 +01:00
dbus-auth-script.c Add SPDX license marker for the AFL-2.1 OR GPL-2.0-or-later license 2023-01-04 07:53:44 +00:00
dbus-auth-script.h Add SPDX license marker for the AFL-2.1 OR GPL-2.0-or-later license 2023-01-04 07:53:44 +00:00
dbus-auth-util.c Add SPDX license marker for the AFL-2.1 OR GPL-2.0-or-later license 2023-01-04 07:53:44 +00:00
dbus-credentials-util.c DBusCredentials: add support for PID FDs via SO_PEERPIDFD 2023-08-08 12:24:20 +01:00
dbus-marshal-byteswap-util.c Add SPDX license marker for the AFL-2.1 OR GPL-2.0-or-later license 2023-01-04 07:53:44 +00:00
dbus-marshal-recursive-util.c Add SPDX license marker for the AFL-2.1 OR GPL-2.0-or-later license 2023-01-04 07:53:44 +00:00
dbus-marshal-recursive-util.h Add SPDX license marker for the AFL-2.1 OR GPL-2.0-or-later license 2023-01-04 07:53:44 +00:00
dbus-marshal-validate-util.c Add SPDX license marker for the AFL-2.1 OR GPL-2.0-or-later license 2023-01-04 07:53:44 +00:00
dbus-message-factory.c Add SPDX license marker for the AFL-2.1 OR GPL-2.0-or-later license 2023-01-04 07:53:44 +00:00
dbus-message-factory.h Add SPDX license marker for the AFL-2.1 OR GPL-2.0-or-later license 2023-01-04 07:53:44 +00:00
dbus-message-util.c Add SPDX license marker for the AFL-2.1 OR GPL-2.0-or-later license 2023-01-04 07:53:44 +00:00
dbus-message-util.h Add SPDX license marker for the AFL-2.1 OR GPL-2.0-or-later license 2023-01-04 07:53:44 +00:00
dbus-string-util.c sysdeps: Remove _dbus_string_append_int() 2024-05-18 12:19:16 +00:00
dbus-sysdeps-util.c Add SPDX license marker for the AFL-2.1 OR GPL-2.0-or-later license 2023-01-04 07:53:44 +00:00
desktop-file.c Add SPDX license tags for the MIT (Expat) license, where straightforward 2023-08-14 17:18:04 +00:00
hash.c dbus-hash: Add (AFL-2.1 OR GPL-2.0-or-later) AND TCL SPDX license identifier 2022-11-29 13:33:53 +00:00
marshal-recursive.c Add SPDX license marker for the AFL-2.1 OR GPL-2.0-or-later license 2023-01-04 07:53:44 +00:00
mempool.c Add SPDX license marker for the AFL-2.1 OR GPL-2.0-or-later license 2023-01-04 07:53:44 +00:00
message-internals.c Add SPDX license marker for the AFL-2.1 OR GPL-2.0-or-later license 2023-01-04 07:53:44 +00:00
misc-internals.c build: Allow version number to be followed by "-" and a suffix 2024-12-10 12:30:16 +00:00
misc-internals.h Add SPDX license marker for the AFL-2.1 OR GPL-2.0-or-later license 2023-01-04 07:53:44 +00:00
printf.c Add SPDX license tags for the MIT (Expat) license, where straightforward 2023-08-14 17:18:04 +00:00
refs.c Add SPDX license tags for the MIT (Expat) license, where straightforward 2023-08-14 17:18:04 +00:00
server-oom.c Add SPDX license tags for the MIT (Expat) license, where straightforward 2023-08-14 17:18:04 +00:00
sha.c Add SPDX license marker for the AFL-2.1 OR GPL-2.0-or-later license 2023-01-04 07:53:44 +00:00
spawn-oom.c Add SPDX license marker for the AFL-2.1 OR GPL-2.0-or-later license 2023-01-04 07:53:44 +00:00
strings.c Add test for _dbus_string_skip_blank() 2023-02-08 12:03:19 +00:00
sysdeps.c test: Always initialize an "out" parameter 2024-09-25 14:42:15 +01:00
syslog.c Add SPDX license tags for the MIT (Expat) license, where straightforward 2023-08-14 17:18:04 +00:00
userdb.c test: Add a targeted test for _dbus_unix_groups_from_uid() 2023-08-18 18:51:08 +01:00
variant.c Add SPDX license tags for the MIT (Expat) license, where straightforward 2023-08-14 17:18:04 +00:00