pkgsrc-WIP-changes archive

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

Remove emwm-utils: import into main



Module Name:	pkgsrc-wip
Committed By:	pin <voidpin%protonmail.com@localhost>
Pushed By:	pin
Date:		Mon Jul 4 22:10:19 2022 +0200
Changeset:	5e454d075a1acdf840ba2311319b29ca66d9fd8e

Modified Files:
	Makefile
Removed Files:
	emwm-utils/DESCR
	emwm-utils/MESSAGE
	emwm-utils/Makefile
	emwm-utils/PLIST
	emwm-utils/distinfo
	emwm-utils/patches/patch-src_smconf.h

Log Message:
Remove emwm-utils: import into main

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

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

diffstat:
 Makefile                              |  1 -
 emwm-utils/DESCR                      | 11 -------
 emwm-utils/MESSAGE                    | 18 -----------
 emwm-utils/Makefile                   | 58 -----------------------------------
 emwm-utils/PLIST                      |  9 ------
 emwm-utils/distinfo                   |  6 ----
 emwm-utils/patches/patch-src_smconf.h | 15 ---------
 7 files changed, 118 deletions(-)

diffs:
diff --git a/Makefile b/Makefile
index 7c8b90daf4..90484ba15b 100644
--- a/Makefile
+++ b/Makefile
@@ -769,7 +769,6 @@ SUBDIR+=	emirror
 SUBDIR+=	emokit
 SUBDIR+=	emovix
 SUBDIR+=	empathy
-SUBDIR+=	emwm-utils
 SUBDIR+=	engauge-digitizer
 SUBDIR+=	enigma2000
 SUBDIR+=	enlightenment-current
diff --git a/emwm-utils/DESCR b/emwm-utils/DESCR
deleted file mode 100644
index 572ba124ad..0000000000
--- a/emwm-utils/DESCR
+++ /dev/null
@@ -1,11 +0,0 @@
-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
deleted file mode 100644
index 63a589a75f..0000000000
--- a/emwm-utils/MESSAGE
+++ /dev/null
@@ -1,18 +0,0 @@
-===========================================================================
-$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
deleted file mode 100644
index 65eefd9796..0000000000
--- a/emwm-utils/Makefile
+++ /dev/null
@@ -1,58 +0,0 @@
-# $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
-
-MAKEFLAGS+=	PREFIX=${PREFIX}
-
-.include "../../mk/bsd.prefs.mk"
-
-.if ${OPSYS} != "NetBSD"
-USE_TOOLS+=	gmake
-.endif
-
-INSTALLATION_DIRS=	bin ${PKGMANDIR}/man1
-INSTALLATION_DIRS+=	share/examples/${DISTNAME:S,-src,,}
-INSTALLATION_DIRS+=	lib/X11/app-defaults
-
-SETUID_ROOT_PERMS?=	${REAL_ROOT_USER} ${BINGRP} 4755
-SPECIAL_PERMS+=		bin/xmsm ${SETUID_ROOT_PERMS}
-
-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
deleted file mode 100644
index c453f3adfb..0000000000
--- a/emwm-utils/PLIST
+++ /dev/null
@@ -1,9 +0,0 @@
-@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
deleted file mode 100644
index 4f283b6762..0000000000
--- a/emwm-utils/distinfo
+++ /dev/null
@@ -1,6 +0,0 @@
-$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
-SHA1 (patch-src_smconf.h) = 73536d4c118cf112b9df7108b25734f69a49358a
diff --git a/emwm-utils/patches/patch-src_smconf.h b/emwm-utils/patches/patch-src_smconf.h
deleted file mode 100644
index 8e09fd60a4..0000000000
--- a/emwm-utils/patches/patch-src_smconf.h
+++ /dev/null
@@ -1,15 +0,0 @@
-$NetBSD$
-
-Enable suspending from xmsm(1) on NetBSD.
-
---- src/smconf.h.orig	2022-04-12 15:12:11.000000000 +0000
-+++ src/smconf.h
-@@ -39,6 +39,8 @@
- #ifndef SUSPEND_CMD
- #ifdef __linux__
- #define SUSPEND_CMD     "/usr/sbin/pm-suspend"
-+#elif __NetBSD__
-+#define SUSPEND_CMD     "/sbin/sysctl -w hw.acpi.sleep.state=3"
- #else /* BSD */
- #define SUSPEND_CMD     "/usr/sbin/zzz"
- #endif /* _linux_ */


Home | Main Index | Thread Index | Old Index