guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

02/05: services: mate-desktop: Deprecate the 'mate-desktop-service' proc


From: guix-commits
Subject: 02/05: services: mate-desktop: Deprecate the 'mate-desktop-service' procedure.
Date: Mon, 11 Mar 2019 18:12:33 -0400 (EDT)

civodul pushed a commit to branch master
in repository guix.

commit 082c648d281dce035f8d72e64cfd369a0f775c45
Author: Ludovic Courtès <address@hidden>
Date:   Mon Mar 11 14:37:26 2019 +0100

    services: mate-desktop: Deprecate the 'mate-desktop-service' procedure.
    
    * gnu/services/desktop.scm (mate-desktop-service): Deprecate.
    * doc/guix.texi (Desktop Services): Document 'mate-desktop-service-type'
    and 'mate-desktop-configuration'.  Fix spelling of "Enlightenment".
---
 doc/guix.texi            | 25 +++++++++++++++++++------
 gnu/services/desktop.scm |  5 ++++-
 2 files changed, 23 insertions(+), 7 deletions(-)

diff --git a/doc/guix.texi b/doc/guix.texi
index 11ce9d6..82cf2ba 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -14165,7 +14165,7 @@ field of an @code{operating-system} declaration 
(@pxref{operating-system
 Reference, @code{services}}).
 
 Additionally, the @code{gnome-desktop-service},
address@hidden, @code{mate-desktop-service} and
address@hidden, @code{mate-desktop-service-type} and
 @code{enlightenment-desktop-service-type} procedures can add GNOME, XFCE, MATE
 and/or Enlightenment to a system.  To ``add GNOME'' means that system-level
 services like the backlight adjustment helpers and the power management
@@ -14181,8 +14181,8 @@ administrator's password via the standard polkit 
graphical interface.
 To ``add MATE'' means that @code{polkit} and @code{dbus} are extended
 appropriately, allowing MATE to operate with elevated privileges on a
 limited number of special-purpose system interfaces.  Additionally,
-adding a service made by @code{mate-desktop-service} adds the MATE
-metapackage to the system profile.  ``Adding ENLIGHTENMENT'' means that
+adding a service of type @code{mate-desktop-service-type} adds the MATE
+metapackage to the system profile.  ``Adding Enlightenment'' means that
 @code{dbus} is extended appropriately, and several of Enlightenment's binaries
 are set as setuid, allowing Enlightenment's screen locker and other
 functionality to work as expetected.
@@ -14209,13 +14209,26 @@ file system as root from within a user session, after 
the user has
 authenticated with the administrator's password.
 @end deffn
 
address@hidden {Scheme Procedure} mate-desktop-service
-Return a service that adds the @code{mate} package to the system
address@hidden {Scheme Variable} mate-desktop-service-type
+This is the type of the service that runs the @uref{https://mate-desktop.org/,
+MATE desktop environment}.  Its value is a @code{mate-desktop-configuration}
+object (see below.)
+
+This service adds the @code{mate} package to the system
 profile, and extends polkit with the actions from
 @code{mate-settings-daemon}.
 @end deffn
 
address@hidden {Scheme Procedure} enlightenment-desktop-service-type
address@hidden {Data Type} mate-desktop-configuration
+Configuration record for the MATE desktop environment.
+
address@hidden @asis
address@hidden @code{mate} (default @code{mate})
+The MATE package to use.
address@hidden table
address@hidden deftp
+
address@hidden {Scheme Variable} enlightenment-desktop-service-type
 Return a service that adds the @code{enlightenment} package to the system
 profile, and extends dbus with actions from @code{efl}.
 @end deffn
diff --git a/gnu/services/desktop.scm b/gnu/services/desktop.scm
index d52ea2d..0dee57e 100644
--- a/gnu/services/desktop.scm
+++ b/gnu/services/desktop.scm
@@ -909,7 +909,10 @@ and extends polkit with the actions from 
@code{gnome-settings-daemon}."
    (default-value (mate-desktop-configuration))
    (description "Run the MATE desktop environment.")))
 
-(define* (mate-desktop-service #:key (config (mate-desktop-configuration)))
+(define-deprecated (mate-desktop-service #:key
+                                         (config
+                                          (mate-desktop-configuration)))
+  mate-desktop-service-type
   "Return a service that adds the @code{mate} package to the system profile,
 and extends polkit with the actions from @code{mate-settings-daemon}."
   (service mate-desktop-service-type config))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]