-
-
Notifications
You must be signed in to change notification settings - Fork 59
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make systemd optional #746
Conversation
Code update required
|
There is not much of direct systemd usage in the system-info plugin. This patch suggestion enables building this plugin on system like alpine, voidlinux or gentoo with openrc. Signed-off-by: Oz Tiram <[email protected]>
Signed-off-by: Oz Tiram <[email protected]>
@zhuyaliang thank you for your suggestions. I have disabled some of the definitions, but left the hostname row. This is how the applet now looks on my system with the latest patch: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for your work,Compile and run well。
I will add systemd
support for meson
in the next commit
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should be compile as default with systemd without using a configure flag when systemd-devel is in buildroot.
With fedora 38 build server:
DEBUG: systemd-rpm-macros-253.15-2.fc38.noarch 1705943792 10329 e9510145d6c474e8e57af8a6d2cea362 installed
DEBUG: systemd-devel-253.15-2.fc38.x86_64 1705943804 500482 6fd0c7ccd450f2731c747c7e2d5c4053 installed
...
....
...
Ayatana AppIndicator (preferred) no
Ubuntu AppIndicator (legacy) yes
Systemd: no
Accountsservice: yes
Native Language support: yes
BuildRequires: systemd-devel
is in RPM spec file.
Also |
You can take a look at mate-system-monitor repository. |
Signed-off-by: Oz Tiram <[email protected]>
@raveit65 I updated my PR as requested. |
Signed-off-by: Oz Tiram <[email protected]>
Signed-off-by: Oz Tiram <[email protected]>
@raveit65 is there anything else that needs to be done to get this merged? |
I am not an active maintainer any more. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to go, with systemd support building on my setup by default without explicitly having to enable it
Thank you for merging this, on behalf of all BSD\Alpine\Gentoo\Void linux and others I might forget. |
Second that (Gentoo user here), thanks for staying independent. |
There is not much of direct systemd usage in the system-info plugin. This patch suggestion enables building this plugin on system like alpine, voidlinux or gentoo with openrc.
I apologize in advance if this seems sloppy. I am not very knowledgeable with autotools (also, this patch excludes meson).
Suggestions on how to improve the patch are most welcome.