Open f0rrest opened 11 months ago
To my knowledge systemd is supposed to be SUPPORTED but not REQUIRED. Make sure you are not enabling any options to support it.
vendor_variant = g_dbus_proxy_get_cached_property (hostnamed_proxy, "HardwareVendor");
if (!vendor_variant)
{
g_debug ("Unable to retrieve org.freedesktop.hostname1.HardwareVendor property");
return NULL;
}
model_variant = g_dbus_proxy_get_cached_property (hostnamed_proxy, "HardwareModel");
if (!model_variant)
{
g_debug ("Unable to retrieve org.freedesktop.hostname1.HardwareModel property");
return NULL;
}
This relies on a higher version (>=248)of the systemd
Found the problem: commit 5d9cbe65cdf296d9a69c93712243617dd6ba6848 which adds the system-info capplet depends on systemd, probably it was written without intent of running on non-systemd distros. This affects not only the BSD's but Devuan et all as well.
The easiest fix is to make building the system info capplet optional, ideally defaulting to yes if systemd is found and to no if it is not found.
Test your build of the system info capplet, my guess is it will not run but if it does, the systemd portions of it could be made optional instead.
Note that I have no way of testing without systemd as I do all my development on a live/bare metal system w backup partitions available, have never played with VMs and with no landline cannot download distro installers without a lot of trial and error wardriving.
I will leave this for the rest of the team for now
The easiest fix is to make building the system info capplet optional, ideally defaulting to yes if systemd is found and to no if it is not found.
+1
@f0rrest I have a patch that compiles on gentoo. The only problem now is that I don't know how to fill the hostname on systems which are not OpenRC based. In gentoo I will just read /etc/hostname
or /etc/conf.d/hostname
.
Is this also going to work for FreeBSD?
Apparently, this is much easier than I thought: https://docs.gtk.org/glib/func.get_host_name.html
Fixed in : #746
Current master branch of Mate control center cannot compile on FreeBSD 14 which gives following error:
I have made a patch:
Actually Mate does not depends on Systemd , am I right ?