Le Wed, 8 Jan 2020 17:12:10 +0100,
Klemens Nanni <[email protected]> a écrit :
> On Wed, Jan 08, 2020 at 04:41:30PM +0100, Solene Rapenne wrote:
> [...]
> Thanks!
>
> [...]
> s/login/logging in/
>
> [...]
> s/ends/end/
>
> Also "the content" can be omitted, I think.
>
> [...]
> Technically messagebus is a rc.d(8) service which starts
> dbus-daemon(8), so "messagebus pkg script" reads weird.
>
> x11/lxqt/powermanagement already describes exactly this, I think those
> README files should be in sync.
>
> [...]
> Must be run as root.
>
> [...]
diff is now for meta/mate and not x11/mate/session-manager which is
better (I totally forgot about meta category)
The dbus part has been copied from x11/lxqt/powermanagement.
I wrote "messagebus pkg script" thinking about rc.conf.local naming,
because rcctl(8) differenciates between base services and package
daemons (but doesn't contain "pkg script"), let's forget about that.
Index: Makefile
===================================================================
RCS file: /home/cvs/ports/meta/mate/Makefile,v
retrieving revision 1.3
diff -u -p -r1.3 Makefile
--- Makefile 27 Mar 2019 18:13:39 -0000 1.3
+++ Makefile 8 Jan 2020 17:16:52 -0000
@@ -7,6 +7,7 @@ CATEGORIES = meta x11
V = 1.22
PKGNAME = mate-${V}
+REVISION-main = 0
PKGNAME-main = mate-${V}
PKGNAME-extras = mate-extras-${V}
Index: pkg/PLIST-main
===================================================================
RCS file: /home/cvs/ports/meta/mate/pkg/PLIST-main,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 PLIST-main
--- pkg/PLIST-main 10 Dec 2018 15:31:33 -0000 1.1.1.1
+++ pkg/PLIST-main 8 Jan 2020 17:16:14 -0000
@@ -1 +1,2 @@
@comment $OpenBSD: PLIST-main,v 1.1.1.1 2018/12/10 15:31:33 robert Exp $
+share/doc/pkg-readmes/${PKGSTEM}
Index: pkg/README-main
===================================================================
RCS file: pkg/README-main
diff -N pkg/README-main
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ pkg/README-main 8 Jan 2020 17:15:38 -0000
@@ -0,0 +1,23 @@
+$OpenBSD: README,v 1.1 2020/01/08 13:37:42 solene Exp $
+
++-----------------------------------------------------------------------
+| Running ${PKGSTEM} on OpenBSD
++-----------------------------------------------------------------------
+
+Starting MATE from xenodm
+=========================
+In order to start MATE as your desktop environment when logging in
+xenodm, your ~/.xsession file should end with
+
+ exec ${LOCALBASE}/bin/ck-launch-session ${LOCALBASE}/bin/mate-session
+
+Power management support
+=======================
+MATE environment needs a system-wide D-Bus daemon ("messagebus")
+to be running in order to work properly.
+
+To enable "messagebus" at boot:
+# rcctl enable messagebus
+
+And to start it if not already running:
+# rcctl start messagebus