On Tue, 29 Jul 2025 21:01:15 -0500
izzy Meyer <izder...@disroot.org> wrote:

> Hello ports@,
> 
> Attached is a diff for both x11/emwm and x11/emwm-utils to show the
> user where the default config is and how to use it via the pkg-readme
> mechanism. Changes or feedback on the phrasing in both readmes would
> be appreciated.
> 
> Also, this sets x11/emwm as a RUN_DEPEND of x11/emwm-utils as
> generally users would be using x11/emwm with x11/emwm-utils. Though
> technically, its not required as the user can use *any* wm with it
> provided they set the correct X resource. So, I am OK with not
> including this change in a new diff if there's any aversions to it.
> Besides, the pkg-readme for x11/emwm notes this default quirk too.
> 
> Thoughts?
> 

Ping! (CC lucas@, sthen@)

(attached diff again)

-- 
iz (she/her)

> i like to say mundane things,
> there are too many uninteresting things
> that go unnoticed.

izder456 (dot) neocities (dot) org
diff --git x11/emwm-utils/Makefile x11/emwm-utils/Makefile
index 127fceca498..d4c749f72db 100644
--- x11/emwm-utils/Makefile
+++ x11/emwm-utils/Makefile
@@ -3,7 +3,7 @@ COMMENT =	session manager and a toolchest-like application launcher
 V =		1.3
 DISTNAME =	emwm-utils-src-${V}
 PKGNAME =	emwm-utils-${V}
-REVISION =	1
+REVISION =	2
 
 CATEGORIES =	x11
 HOMEPAGE =	https://fastestcode.org/emwm.html
@@ -19,7 +19,7 @@ EXTRACT_SUFX =	.tar.xz
 WANTLIB += X11 Xinerama Xm Xrandr Xss Xt c
 
 LIB_DEPENDS =	x11/motif
-
+RUN_DEPENDS =	x11/emwm
 MAKE_FLAGS =	RCDIR=${PREFIX}/lib/X11 \
 		CFLAGS="${CFLAGS} -DUNPRIVILEGED_SHUTDOWN \
 			-I./Xm -I${X11BASE}/include -I${LOCALBASE}/include"
diff --git x11/emwm-utils/pkg/README x11/emwm-utils/pkg/README
index ddb0eb6a95d..2d2deec6423 100644
--- x11/emwm-utils/pkg/README
+++ x11/emwm-utils/pkg/README
@@ -2,6 +2,15 @@
 | Running ${PKGSTEM} on OpenBSD
 +-------------------------------------------------------------------------------
 
+CONFIGURING
+==============
+
+The default rc file is installed to ${TRUEPREFIX}/lib/X11/toolboxrc
+To have a config per user, cp(1) it to $HOME/.toolboxrc and edit from there.
+
+POWER MANAGEMENT
+=============
+
 To enable shutdown and reboot, the user should be in _shutdown group:
 
 	# usermod -G _shutdown <username>
@@ -13,3 +22,8 @@ must be running:
 	# rcctl enable apmd
 	# rcctl start apmd
 	# usermod -G wheel <username>
+
+TOOLBOX AND SESSION MANAGEMENT
+==============
+
+Add exec xmsm to the user's xsession file and use xenodm(1) to log in.
diff --git x11/emwm/Makefile x11/emwm/Makefile
index 505b63946ba..bafd36c80e3 100644
--- x11/emwm/Makefile
+++ x11/emwm/Makefile
@@ -3,6 +3,7 @@ COMMENT =	enhanced motif window manager (MWM fork)
 V =		1.3
 DISTNAME =	emwm-src-${V}
 PKGNAME =	emwm-${V}
+REVISION =	0
 
 CATEGORIES =	x11
 HOMEPAGE =	https://fastestcode.org/emwm.html
diff --git x11/emwm/pkg/PLIST x11/emwm/pkg/PLIST
index 3473a0c71c5..c659851d470 100644
--- x11/emwm/pkg/PLIST
+++ x11/emwm/pkg/PLIST
@@ -3,3 +3,4 @@ lib/X11/app-defaults/Emwm
 lib/X11/system.emwmrc
 @man man/man1/emwm.1
 @man man/man4/emwmrc.4
+share/doc/pkg-readmes/${PKGSTEM}
diff --git x11/emwm/pkg/README x11/emwm/pkg/README
new file mode 100644
index 00000000000..24f7848128c
--- /dev/null
+++ x11/emwm/pkg/README
@@ -0,0 +1,15 @@
++-------------------------------------------------------------------------------
+| Running ${PKGSTEM} on OpenBSD
++-------------------------------------------------------------------------------
+
+CONFIGURING
+==============
+
+The default rc file is installed to ${TRUEPREFIX}/lib/X11/system.emwmrc
+To have a config per user, cp(1) it to $HOME/.emwmrc and edit from there.
+
+TOOLBOX AND SESSION MANAGEMENT
+==============
+
+Users can use the emwm-utils package for session management and toolchest
+handling.

Reply via email to