pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/wm/emwm-utils
Module Name: pkgsrc
Committed By: vins
Date: Sun Dec 8 15:56:22 UTC 2024
Modified Files:
pkgsrc/wm/emwm-utils: Makefile PLIST
Added Files:
pkgsrc/wm/emwm-utils/files: README.pkgsrc
Removed Files:
pkgsrc/wm/emwm-utils: MESSAGE
Log Message:
wm/emwm-utils: move MESSAGE content to a README
Also, make it depend on wm/emwm.
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r0 pkgsrc/wm/emwm-utils/MESSAGE
cvs rdiff -u -r1.7 -r1.8 pkgsrc/wm/emwm-utils/Makefile
cvs rdiff -u -r1.2 -r1.3 pkgsrc/wm/emwm-utils/PLIST
cvs rdiff -u -r0 -r1.1 pkgsrc/wm/emwm-utils/files/README.pkgsrc
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/wm/emwm-utils/Makefile
diff -u pkgsrc/wm/emwm-utils/Makefile:1.7 pkgsrc/wm/emwm-utils/Makefile:1.8
--- pkgsrc/wm/emwm-utils/Makefile:1.7 Sun Dec 8 15:09:54 2024
+++ pkgsrc/wm/emwm-utils/Makefile Sun Dec 8 15:56:21 2024
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2024/12/08 15:09:54 vins Exp $
+# $NetBSD: Makefile,v 1.8 2024/12/08 15:56:21 vins Exp $
DISTNAME= emwm-utils-src-1.2
PKGNAME= ${DISTNAME:S,-src,,}
@@ -12,10 +12,13 @@ HOMEPAGE= https://fastestcode.org/emwm.h
COMMENT= Companion utilies for EMWM
LICENSE= mit
+DEPENDS+= emwm-[0-9]*:../../wm/emwm
+
USE_TOOLS+= sed
USE_BSD_MAKEFILE= yes
RCDIR= ${PREFIX}/lib/X11
+DOCDIR= ${PREFIX}/share/doc/emwm/utils
SUBST_CLASSES+= pkgsrc
SUBST_STAGE.pkgsrc= pre-configure
@@ -31,6 +34,12 @@ MAKE_FLAGS+= LDFLAGS=${LDFLAGS:Q}
SETUID_ROOT_PERMS?= ${REAL_ROOT_USER} ${BINGRP} 4755
SPECIAL_PERMS+= bin/xmsm ${SETUID_ROOT_PERMS}
+INSTALLATION_DIRS+= share/doc/emwm/utils
+
+post-install:
+ ${INSTALL_DATA} ${FILESDIR}/README.pkgsrc \
+ ${DESTDIR}${DOCDIR}
+
.include "../../x11/libXScrnSaver/buildlink3.mk"
.include "../../x11/libXrandr/buildlink3.mk"
.include "../../x11/libXinerama/buildlink3.mk"
Index: pkgsrc/wm/emwm-utils/PLIST
diff -u pkgsrc/wm/emwm-utils/PLIST:1.2 pkgsrc/wm/emwm-utils/PLIST:1.3
--- pkgsrc/wm/emwm-utils/PLIST:1.2 Sun Dec 8 15:09:54 2024
+++ pkgsrc/wm/emwm-utils/PLIST Sun Dec 8 15:56:21 2024
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.2 2024/12/08 15:09:54 vins Exp $
+@comment $NetBSD: PLIST,v 1.3 2024/12/08 15:56:21 vins Exp $
bin/xmsession
bin/xmsm
bin/xmtoolbox
@@ -7,3 +7,4 @@ lib/X11/app-defaults/XmToolbox
lib/X11/toolboxrc
man/man1/xmsm.1
man/man1/xmtoolbox.1
+share/doc/emwm/utils/README.pkgsrc
Added files:
Index: pkgsrc/wm/emwm-utils/files/README.pkgsrc
diff -u /dev/null pkgsrc/wm/emwm-utils/files/README.pkgsrc:1.1
--- /dev/null Sun Dec 8 15:56:22 2024
+++ pkgsrc/wm/emwm-utils/files/README.pkgsrc Sun Dec 8 15:56:22 2024
@@ -0,0 +1,17 @@
+About the Emwm X session manager
+-----------------------------------------------------------------------
+
+The session manager may be run from XDM by setting the
+DisplayManager*session X resource in xdm-config to xmsession, or by
+execing xmsm from ~/.Xprofile. Just make sure to test whether it works
+by running 'xinit xmsession' before doing any of the above. Note that
+'xmsession' is just a shell script that sets up the environment for
+xmsm, and is not needed when this has been done already.
+
+xmsm is installed suid root, this is required for screen locking and
+running sbin commands. Privileges are dropped at startup and are
+reacquired only when necessary.
+
+System shutdown, reboot and suspend commands can be altered at compile
+time only. Edit constants in smconf.h, or override them in CFLAGS if
+necessary.
Home |
Main Index |
Thread Index |
Old Index