aports/community/libgsystemservice/no-sd-notify.patch
Achill Gilgenast 2c3ea5c7a2 community/libgsystemservice: new aport
Dependency of malcontent
2026-04-05 14:54:55 +02:00

41 lines
1.0 KiB
Diff
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

--- a/libgsystemservice/meson.build
+++ b/libgsystemservice/meson.build
@@ -23,7 +23,6 @@ libgsystemservice_public_deps = [
dependency('gobject-2.0', version: '>= 2.44'),
]
libgsystemservice_private_deps = [
- dependency('libsystemd'),
dependency('polkit-gobject-1'),
]
--- a/libgsystemservice/service.c
+++ b/libgsystemservice/service.c
@@ -34,7 +34,6 @@
#include <polkit/polkit.h>
#include <stdio.h>
#include <sysexits.h>
-#include <systemd/sd-daemon.h>
/**
@@ -565,9 +564,6 @@ name_acquired_cb (GDBusConnection *connection,
{
GssService *self = GSS_SERVICE (user_data);
- /* Notify systemd were ready. */
- sd_notify (0, "READY=1");
-
/* Potentially start a timeout to exiting due to inactivity. */
gss_service_release (self);
}
@@ -975,9 +971,6 @@ gss_service_run (GssService *self,
gss_service_hold (self);
- /* Notify systemd were shutting down. */
- sd_notify (0, "STOPPING=1");
-
/* Debug. */
g_debug ("Shutting down: cancellable: %s, run_error: %s, run_exited: %s, "
"run_exit_signal: %d",