pkgsrc-WIP-changes archive

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

Import emwm-utils-1.0 as wip/emwm-utils



Module Name:	pkgsrc-wip
Committed By:	Paolo Vincenzo Olivo <vms%retrobsd.ddns.net@localhost>
Pushed By:	vms
Date:		Tue Jun 21 18:41:13 2022 +0200
Changeset:	c6897ed9c4de13d891e7f0576d65c12cc5ec6b7b

Added Files:
	emwm-utils/DESCR
	emwm-utils/MESSAGE
	emwm-utils/Makefile
	emwm-utils/PLIST
	emwm-utils/distinfo

Log Message:
Import emwm-utils-1.0 as wip/emwm-utils

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=c6897ed9c4de13d891e7f0576d65c12cc5ec6b7b

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 emwm-utils/DESCR    | 11 +++++++++++
 emwm-utils/MESSAGE  | 18 ++++++++++++++++++
 emwm-utils/Makefile | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++++
 emwm-utils/PLIST    |  9 +++++++++
 emwm-utils/distinfo |  5 +++++
 5 files changed, 95 insertions(+)

diffs:
diff --git a/emwm-utils/DESCR b/emwm-utils/DESCR
new file mode 100644
index 0000000000..572ba124ad
--- /dev/null
+++ b/emwm-utils/DESCR
@@ -0,0 +1,11 @@
+This package provides the XmSm and XmToolbox utilities, to use in
+conjuction with the Enhanced Motif Window Manager.
+
+- XmSm is simple session manager that provides session configuration and
+  screen locking, as well as shutdown/suspend options. It also launches the
+  window manager and the toolbox.
+
+- XmToolbox, is a toolchest like application launcher, which reads it's
+  multi-level menu structure from a simple plain-text file (namely
+  ~/.toolboxrc).  It also communicates with the session manager to provide
+  lock, log out, and shutdown commands.
diff --git a/emwm-utils/MESSAGE b/emwm-utils/MESSAGE
new file mode 100644
index 0000000000..63a589a75f
--- /dev/null
+++ b/emwm-utils/MESSAGE
@@ -0,0 +1,18 @@
+===========================================================================
+$NetBSD$
+
+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.
+
+===========================================================================
diff --git a/emwm-utils/Makefile b/emwm-utils/Makefile
new file mode 100644
index 0000000000..f3f729b186
--- /dev/null
+++ b/emwm-utils/Makefile
@@ -0,0 +1,52 @@
+# $NetBSD$
+
+DISTNAME=	emwm-utils-src
+PKGVER=		1.0
+PKGNAME=	${DISTNAME:S,-src,,}-${PKGVER}
+CATEGORIES=	wm x11
+DIST_SUBDIR=	${PKGNAME_NOREV}
+MASTER_SITES=	https://fastestcode.org/dl/
+EXTRACT_SUFX=	.tar.xz
+
+MAINTAINER=	vms%retrobsd.ddns.net@localhost
+HOMEPAGE=	https://fastestcode.org/emwm.html
+COMMENT=	Companion utilies for EMWM
+LICENSE=	mit
+
+SUBST_CLASSES+=		paths
+SUBST_STAGE.paths=	pre-configure
+SUBST_FILES.paths=	src/xmsession.src
+SUBST_SED.paths=	-e 's,PREFIX,${PREFIX},g'
+
+INSTALLATION_DIRS=	bin ${PKGMANDIR}/man1
+INSTALLATION_DIRS+=	share/examples/${DISTNAME:S,-src,,}
+INSTALLATION_DIRS+=	lib/X11/app-defaults
+
+WRKSRC=	${WRKDIR}/utils
+
+do-install:
+.for p in xmtoolbox xmsm
+	${INSTALL_PROGRAM} ${WRKSRC}/src/${p} \
+	${DESTDIR}${PREFIX}/bin
+.endfor
+.for m in xmtoolbox xmsm
+	${INSTALL_MAN} ${WRKSRC}/src/${m}.1 \
+	${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
+.endfor
+	${INSTALL_SCRIPT} ${WRKSRC}/src/xmsession ${DESTDIR}${PREFIX}/bin
+
+post-install:
+.for f in XmSm XmToolbox
+	${INSTALL_DATA} ${WRKSRC}/src/${f}.ad \
+	${DESTDIR}${PREFIX}/lib/X11/app-defaults/${f}
+.endfor
+	${INSTALL_DATA} ${WRKSRC}/src/toolboxrc \
+	${DESTDIR}${PREFIX}/share/examples/${DISTNAME:S,-src,,}
+
+.include "../../mk/motif.buildlink3.mk"
+.include "../../x11/libXrandr/buildlink3.mk"
+.include "../../x11/libXinerama/buildlink3.mk"
+.include "../../x11/libXt/buildlink3.mk"
+.include "../../x11/libXext/buildlink3.mk"
+.include "../../x11/libX11/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/emwm-utils/PLIST b/emwm-utils/PLIST
new file mode 100644
index 0000000000..c453f3adfb
--- /dev/null
+++ b/emwm-utils/PLIST
@@ -0,0 +1,9 @@
+@comment $NetBSD$
+bin/xmsession
+bin/xmsm
+bin/xmtoolbox
+lib/X11/app-defaults/XmSm
+lib/X11/app-defaults/XmToolbox
+man/man1/xmsm.1
+man/man1/xmtoolbox.1
+share/examples/emwm-utils/toolboxrc
diff --git a/emwm-utils/distinfo b/emwm-utils/distinfo
new file mode 100644
index 0000000000..a074888347
--- /dev/null
+++ b/emwm-utils/distinfo
@@ -0,0 +1,5 @@
+$NetBSD$
+
+BLAKE2s (emwm-utils-1.0/emwm-utils-src.tar.xz) = 314085d2bd9bcd7f3e024d2ae2c24142f4b3fc27aaf949032af45b3009d683d7
+SHA512 (emwm-utils-1.0/emwm-utils-src.tar.xz) = 36bbd9c51e19286f11b7af7daa42c54308b75b70ff5fdb45514d17fb496c331f4eb25d27394aacf4024fd337dd7b56f827c4e7d0f1bf072eaf70c60812cce903
+Size (emwm-utils-1.0/emwm-utils-src.tar.xz) = 24168 bytes


Home | Main Index | Thread Index | Old Index