services: xdg: Remove depracated field log-home of home-xdg-base-directories-configuration

pull/3/head
Luis Guilherme Coelho 2024-02-19 15:20:33 -03:00
parent 8e901140db
commit b4749aeef6
No known key found for this signature in database
GPG Key ID: 1F2E76ACE3F531C8
1 changed files with 0 additions and 11 deletions

View File

@ -100,17 +100,6 @@ read-only shared data, analogus to @file{/usr/share}, but for user.")
(path "${XDG_RUNTIME_DIR:-/run/user/$UID}")
"Base directory for programs to store user-specific runtime files,
like sockets.")
;; TODO: deprecated field, use $XDG_STATE_HOME(/log) instead.
(log-home
maybe-path
"Base directory for programs to store log files, analogus to
@file{/var/log}, but for user. It is not a part of XDG Base Directory
Specification, but helps to make implementation of home services more
consistent."
(lambda (field-name val)
(when (maybe-value-set? val)
(warn-about-deprecation field-name #f #:replacement 'state-home))
(serialize-path field-name val)))
(state-home
(path "$HOME/.local/state")
"Base directory for programs to store state data that should persist