Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
39 commits
Select commit Hold shift + click to select a range
ff4015c
vala: remove `static` from `const` arrays
mathstuf Dec 30, 2024
03405a7
vala: use proper integer parsing APIs
mathstuf Dec 30, 2024
d7afd78
gtk: remove use of deprecated `Stock` namespace
mathstuf Dec 30, 2024
f3a1494
gnome-ask-password-agent: remove unused `Linux` package
mathstuf Dec 30, 2024
afa4562
gnome-ask-password-agent: remove conditions for ancient Vala
mathstuf Dec 30, 2024
d83b11d
gnome-ask-password-agent: log errors to `stderr` as well
mathstuf Dec 30, 2024
92631ce
CODING_STYLE: remove systemd-specific bits
mathstuf Dec 30, 2024
3942718
systemd: add user unit files
mathstuf Dec 30, 2024
6d253fb
polkit: add rules file
mathstuf Dec 30, 2024
b1c0ed5
meson: remove unnecessary `bindir` usage
mathstuf Dec 31, 2024
c74333c
meson: fix user unit installation destination
mathstuf Dec 31, 2024
11ed41a
meson: remove unused `cpp` variable
mathstuf Dec 31, 2024
b0bfc1f
meson: remove unused `jinja` logic
mathstuf Dec 31, 2024
fc41fa4
meson: remove summary
mathstuf Dec 31, 2024
042f150
meson: remove unused destination directories
mathstuf Dec 31, 2024
d9aa0c0
meson: remove prefix absolute logic
mathstuf Dec 31, 2024
9ecf9d6
meson: simplify `datadir` definition
mathstuf Dec 31, 2024
e203dea
meson: remove unused `c_args` variable
mathstuf Dec 31, 2024
98cc12f
meson: remove unused "template" variables
mathstuf Dec 31, 2024
9f6db7f
meson: rename `userspace` to `common_flags`
mathstuf Dec 31, 2024
fb47e71
meson: fix `xsltproc` command template
mathstuf Dec 31, 2024
14dc06b
Modernize AppStream metadata
AsciiWolf Jun 17, 2025
e35a94d
Update README
AsciiWolf Jun 18, 2025
8ec502a
Ship desktop icon with systemd-ui
AsciiWolf Jun 17, 2025
15658ed
meson: use more idiomatic manpage checks
eli-schwartz Jan 22, 2025
ff69cf6
gnome-ask-password-agent: support user password requests
mathstuf Dec 30, 2024
1cf9384
gnome-ask-password-agent: use `NotAfter` to set a timeout
mathstuf Dec 30, 2024
c595d36
gnome-ask-password-agent: port to use `Gtk.Application`
mathstuf Dec 30, 2024
752e253
gnome-ask-password-agent: make `Watch` work on a single directory
mathstuf Dec 30, 2024
4d7df60
gnome-ask-password-agent: parse `--system` to watch for system passwords
mathstuf Dec 30, 2024
3eb1738
gnome-ask-password-agent: parse `--user` to watch for user passwords
mathstuf Dec 30, 2024
b28d22f
gnome-ask-password-agent: construct the notification
mathstuf Dec 30, 2024
eebcfdd
gnome-ask-password-agent: request the dialog as an action
mathstuf Dec 30, 2024
e5cc1d2
gnome-ask-password-agent: implement timeouts on requests
mathstuf Dec 30, 2024
fd7ae84
gnome-ask-password-agent: add braces to all blocks
mathstuf Dec 30, 2024
ba6989b
gnome-ask-password-agent: add copyright line
mathstuf Dec 30, 2024
2a0df23
gnome-ask-password-agent: support no-timeout requests
mathstuf Mar 19, 2025
e54c684
desktop: add `NoDisplay=true`
mathstuf Dec 12, 2025
082edcb
gnome-ask-password-agent: create user directory if it doesn't exist
mathstuf Dec 15, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 0 additions & 11 deletions CODING_STYLE
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,3 @@
- error codes are returned as negative Exxx. i.e. return -EINVAL. There
are some exceptions: for constructors its is OK to return NULL on
OOM. For lookup functions NULL is fine too for "not found".

- Do not issue NSS requests (that includes user name and host name
lookups) from the main daemon as this might trigger deadlocks when
we those lookups involve synchronously talking to services that we
would need to start up.

- Do not access any directories outside of /etc/, /dev, /lib from the
init daemon to avoid deadlocks with the automounter.

- Don't synchronously talk to any other service, due to risk of
deadlocks.
20 changes: 10 additions & 10 deletions README
Original file line number Diff line number Diff line change
@@ -1,30 +1,30 @@
systemd System and Service Manager UI

DETAILS:
http://0pointer.de/blog/projects/systemd.html
https://0pointer.de/blog/projects/systemd.html

WEB SITE:
http://www.freedesktop.org/wiki/Software/systemd
https://systemd.io

GIT:
git://anongit.freedesktop.org/systemd/systemd-ui
ssh://git.freedesktop.org/git/systemd/systemd-ui
https://github.com/systemd/systemd-ui.git
ssh://git@github.com/systemd/systemd-ui.git

GITWEB:
http://cgit.freedesktop.org/systemd/systemd-ui
https://github.com/systemd/systemd-ui

MAILING LIST:
http://lists.freedesktop.org/mailman/listinfo/systemd-devel
http://lists.freedesktop.org/mailman/listinfo/systemd-commits
https://lists.freedesktop.org/mailman/listinfo/systemd-devel

IRC:
#systemd on irc.freenode.org
#systemd on libera.chat

BUG REPORTS:
https://bugs.freedesktop.org/enter_bug.cgi?product=systemd
https://github.com/systemd/systemd-ui/issues

AUTHOR:
Lennart Poettering with major support from Kay Sievers

LICENSE:
GPLv2+ for all code.
GPLv2+ for all code,
CC-BY-3.0-US for the desktop icon (from the GNOME Project).
2 changes: 1 addition & 1 deletion man/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ xsltproc_flags = ['--nonet',

xsl_file = 'http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl'
xsltproc_cmdline = [xsltproc,
'-o', '@OUTPUT',
'-o', '@OUTPUT@',
xsltproc_flags,
xsl_file,
'@INPUT@']
Expand Down
52 changes: 6 additions & 46 deletions meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -18,20 +18,11 @@ else
project_minor_version = '0'
endif

# Meson ignores the preceding arguments when joining paths if an absolute
# component is encountered, so this should canonicalize various paths when they
# are absolute or relative.
prefixdir = get_option('prefix')
if not prefixdir.startswith('/')
error('Prefix is not absolute: "@0@"'.format(prefixdir))
endif

prefixdir_noslash = '/' + prefixdir.strip('/')
bindir = prefixdir / get_option('bindir')
libdir = prefixdir / get_option('libdir')
datadir = prefixdir / get_option('datadir')
datadir = get_option('datadir')
applicationsdir = datadir / 'applications'
appdatadir = datadir / 'appdata'
iconsdir = datadir / 'icons/hicolor/scalable/apps'
metainfodir = datadir / 'metainfo'
userunitdir = prefixdir / 'lib/systemd/user'

polkitrulesdir = datadir / 'polkit-1/rules.d'
Expand Down Expand Up @@ -92,8 +83,6 @@ possible_common_link_flags = [
'-fstack-protector',
]

c_args = get_option('c_args')

# --as-needed and --no-undefined are provided by meson by default,
# run 'meson configure' to see what is enabled
possible_link_flags = [
Expand Down Expand Up @@ -136,8 +125,6 @@ add_project_link_arguments(
userspace_c_args += cc.get_supported_arguments(possible_cc_flags)
userspace_c_ld_args += cc.get_supported_link_arguments(possible_link_flags)

cpp = ' '.join(cc.cmd_array() + get_option('c_args')) + ' -E'

#####################################################################
# compilation result tests

Expand All @@ -148,7 +135,7 @@ endif

#####################################################################

xsltproc = find_program('xsltproc', required: get_option('man').allowed())
xsltproc = find_program('xsltproc', required: get_option('man'))

#####################################################################

Expand All @@ -157,50 +144,23 @@ glib = dependency('glib-2.0', version: '> 2.26')
gio_unix = dependency('gio-unix-2.0')
gee = dependency('gee-0.8')
gtk3 = dependency('gtk+-3.0')
libnotify = dependency('libnotify')
linux = meson.get_compiler('vala').find_library('linux')
posix = meson.get_compiler('vala').find_library('posix')

#####################################################################

# meson_render_jinja2 = find_program('tools/meson-render-jinja2.py')

#####################################################################

# jinja2_cmdline = [meson_render_jinja2]

userspace = declare_dependency(
common_flags = declare_dependency(
compile_args : userspace_c_args,
link_args : userspace_c_ld_args,
)

#####################################################################

executable_template = {
'install' : true,
}

executable_additional_kwargs = {
'dependencies' : userspace,
}

#####################################################################

subdir('src')

#####################################################################

if xsltproc.found()
subdir('man')
endif
subdir('man', if_found: xsltproc)

install_data('LICENSE',
'CODING_STYLE',
install_dir : docdir)

#####################################################################

summary({
'prefix directory' : prefixdir,
'lib directory' : libdir,
})
2 changes: 1 addition & 1 deletion meson_options.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# SPDX-License-Identifier: LGPL-2.1-or-later

option('man', type : 'feature',
value : 'disabled',
value : 'auto',
description : 'build and install man pages')

option('docdir', type : 'string',
Expand Down
Loading