Opened 10 years ago
Closed 10 years ago
Last modified 10 years ago
#12704 closed Bug Report - General (fixed)
Archlinux and systemd (re)packaging impacts systemd_notify detection on arch
| Reported by: | Owned by: | Karl Egly | |
|---|---|---|---|
| Priority: | minor | Milestone: | 0.28.1 |
| Component: | MythTV - configure script | Version: | 0.28.0 |
| Severity: | medium | Keywords: | |
| Cc: | Ticket locked: | no |
Description
A report on the irc dev channel by JohnBergqvist on 2016-03-27 mentioned that archlinux has repackaged systemd in such a way that the pkg-config check in MythTV configure does not detected the availability of systemd libraries. This is likely the same as reported at https://bbs.archlinux.org/viewtopic.php?id=209316 where arch has merged various systemd components into the one package.
This ticket is just so the issue will not be forgotten.
I will add creating a patch (and the installing of an arch system to test the patch) to my growing TODO list, but if someone gets their first, excellent.

Weakly tested (it compiles!) trivial patch....
diff --git a/mythtv/configure b/mythtv/configure index 17d42d6..2527693 100755 --- a/mythtv/configure +++ b/mythtv/configure @@ -7244,6 +7244,8 @@ EOF if enabled systemd_notify ; then if check_pkg_config libsystemd-daemon systemd/sd-daemon.h sd_notify ; then require_pkg_config libsystemd-daemon systemd/sd-daemon.h sd_notify + elif check_pkg_config libsystemd systemd/sd-daemon.h sd_notify ; then + require_pkg_config libsystemd systemd/sd-daemon.h sd_notify else disable systemd_notify fi