- Fix unclosed OBJ in core.cc when target is OpenBSD
- `to_real_path` changes:
- Canonicalize result to mimic `realpath` behavior
- Partially implement `to_real_path` for OpenBSD
- Add more tests for `to_real_path`.
- Build system improvements:
- Use same i18n include/link logic for all platforms
- Replace `HAVE_SOME_SOUNDCARD_H` and `HAVE_LINUX_SOUNDCARD_H` with `HAVE_SOUNDCARD_H`
and use other defines (__linux__) to guard include
- Replace `<XXX>_LIBRARIES` with `<XXX>_LINK_LIBRARIES` for linking.
- Libraries weren't in default linker search path on OpenBSD
- OpenBSD specific:
- Fix bsdapm.cc
- Remove diskio stats stubs
- Stub get_battery_short_status
- Remove `-stdlib=libc++` build flag on OpenBSD
Signed-off-by: Tin Švagelj <tin.svagelj@live.com>
Co-authored-by: gmb <gmb@openbsd76.my.domain>
Co-authored-by: Tin Švagelj <tin.svagelj@live.com>
We version the docs install path, but there's no reason to include the
-pre and git sha in the version for the path. With the git sha in
particular, it could result in having a bunch of dirs for each separate
git commit (annoying).
This resolves #1928.
You can now specify `BUILD_COLOUR_NAME_MAP=OFF` to disable building the
gperf-based colour map, which also removes the requirement for gperf at
build time.
Rather than allowing the build to continue without gperf, we should
fail with an error so that the colour behaviour does not change in a
backward incompatible manner. The old colour behaviour should continue
to work going forward.
This resolves #1868.
For reproducible builds, the build date messes things up, and some
distros just set it to 1980 now anyway. Thus, it's better to remove the
date altogether.