installer: Generalize desktop environments to system services.
commit75988317b22efee2b2719e7d559fa9ff01a9db9a
authorLudovic Courtès <ludo@gnu.org>
Sun, 7 Apr 2019 15:15:06 +0000 (7 17:15 +0200)
committerLudovic Courtès <ludo@gnu.org>
Sun, 7 Apr 2019 15:18:04 +0000 (7 17:18 +0200)
tree942a784ba68be4c0a7f16582016514cff2c292d5
parente8aa4e9511e500ae23439b653e0b5e0f78c31159
installer: Generalize desktop environments to system services.

* gnu/installer/services.scm (<desktop-environment>): Rename to...
(<system-service>): ... this.  Add a 'type' field.
(%desktop-environments): Rename to...
(%system-services): ... this.
(desktop-system-service?): New procedure.
(desktop-environments->configuration): Rename to...
(system-services->configuration): ... this.  Determine the base list of
services based on whether SERVICES contains at least one "desktop"
service.
* gnu/installer/newt/services.scm (run-desktop-environments-cbt-page):
Adjust accordingly.
* gnu/installer.scm (installer-steps): Likewise.
gnu/installer.scm
gnu/installer/newt/services.scm
gnu/installer/services.scm