git: e37c1a24e09c - main - x11-wm/nscde: Update to 2.2

From: Nuno Teixeira <eduardo_at_FreeBSD.org>
Date: Sun, 04 Sep 2022 11:03:11 UTC
The branch main has been updated by eduardo:

URL: https://cgit.FreeBSD.org/ports/commit/?id=e37c1a24e09caa00192c86991093e01aa79d0957

commit e37c1a24e09caa00192c86991093e01aa79d0957
Author:     Chris Moerz <freebsd@ny-central.org>
AuthorDate: 2022-09-04 11:01:40 +0000
Commit:     Nuno Teixeira <eduardo@FreeBSD.org>
CommitDate: 2022-09-04 11:02:57 +0000

    x11-wm/nscde: Update to 2.2
    
    ChangeLog:      https://github.com/NsCDE/NsCDE/releases
    PR:             265830
---
 x11-wm/nscde/Makefile                              |   350 +-
 x11-wm/nscde/distinfo                              |     6 +-
 .../files/patch-NsCDE_bin_get__fvwm__infostore     |    11 -
 x11-wm/nscde/files/patch-NsCDE_bin_getfont         |    41 -
 x11-wm/nscde/files/patch-NsCDE_bin_mkpagemenu      |    29 -
 x11-wm/nscde/files/patch-NsCDE_bin_nscde           |    30 -
 .../nscde/files/patch-NsCDE_bin_nscde__colorpicker |    13 -
 x11-wm/nscde/files/patch-NsCDE_bin_xdowrapper      |    11 -
 .../files/patch-NsCDE_config_NsCDE-FrontPanel.conf |   182 -
 .../nscde/files/patch-NsCDE_config_NsCDE-Main.conf |    32 -
 x11-wm/nscde/files/patch-NsCDE_libexec_Splash.sh   |    16 -
 x11-wm/nscde/files/patch-NsCDE_libexec_colormgr    |    11 -
 x11-wm/nscde/files/patch-NsCDE_libexec_fontmgr     |    26 -
 .../files/patch-NsCDE_libexec_fp__manage__subpanel |    28 -
 .../patch-NsCDE_libexec_fvwm-modules_FvwmScript    |    43 -
 .../files/patch-NsCDE_libexec_generate__subpanels  |    13 -
 .../nscde/files/patch-NsCDE_libexec_nscde__setup   |   381 -
 .../files/patch-NsCDE_libexec_strip__icon__path    |    21 -
 .../patch-NsCDE_libexec_style__managers.shlib      |    38 -
 .../patch-NsCDE_libexec_subpanel__menuitem__props  |    21 -
 x11-wm/nscde/files/patch-NsCDE_libexec_themegen.py |    45 -
 ...E_share_config__templates_NsCDE-Functions.local |    19 -
 .../files/patch-NsCDE_share_doc_examples_doas.conf |     8 -
 ...doc_examples_lxsession-integration_desktop.conf |    11 -
 ...examples_mate-session-integration_nscde.desktop |    11 -
 ...NsCDE_share_doc_examples_sudo_006__PowerManager |    19 -
 .../patch-NsCDE_share_doc_examples_sudo_README     |     6 -
 ...doc_examples_xsession-integration_nscde.desktop |    11 -
 x11-wm/nscde/files/patch-docbook_NsCDE.xml         |  1141 --
 x11-wm/nscde/files/patch-docbook_NsCDE.xsl         |    10 -
 .../files/patch-src_XOverrideFontCursor_Makefile   |     8 -
 x11-wm/nscde/files/patch-src_colorpicker_Makefile  |    10 -
 .../files/patch-src_pclock-0.13.1_src_Makefile     |    11 -
 x11-wm/nscde/files/pkg-message.in                  |    58 +
 x11-wm/nscde/pkg-message                           |    27 -
 x11-wm/nscde/pkg-plist                             | 20383 +++++++++----------
 36 files changed, 9817 insertions(+), 13264 deletions(-)

diff --git a/x11-wm/nscde/Makefile b/x11-wm/nscde/Makefile
index 52d3f92baad3..52b53e6c2016 100644
--- a/x11-wm/nscde/Makefile
+++ b/x11-wm/nscde/Makefile
@@ -1,338 +1,98 @@
 PORTNAME=	nscde
-DISTVERSION=	1.4
-PORTREVISION=	1
+DISTVERSION=	2.2
 CATEGORIES=	x11-wm
+MASTER_SITES=	https://github.com/NsCDE/NsCDE/releases/download/${DISTVERSION}/
 
 MAINTAINER=	freebsd@ny-central.org
 COMMENT=	Modern CDE clone based on fvwm
 
 LICENSE=	GPLv3
 
-PATCH_DEPENDS=	gsed:textproc/gsed \
-		ksh93:shells/ast-ksh
-BUILD_DEPENDS=	docbook-xsl>0:textproc/docbook-xsl \
-		xsltproc:textproc/libxslt
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}psutil>=5.7.0:sysutils/py-psutil@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}xdg>0:devel/py-xdg@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}yaml>=3.11:devel/py-yaml@${PY_FLAVOR} \
+		dunst:sysutils/dunst \
+		font-bh-lucidatypewriter-100dpi>0:x11-fonts/font-bh-lucidatypewriter-100dpi \
+		fvwm2:x11-wm/fvwm2 \
+		gsed:textproc/gsed \
+		ksh93:shells/ksh2020 \
+		qt5-style-plugins>=5.0.0:x11-themes/qt5-style-plugins \
+		roboto-fonts-ttf>0:x11-fonts/roboto-fonts-ttf \
+		stalonetray:x11/stalonetray \
+		xclip:x11/xclip \
+		xdotool:x11/xdotool \
+		xdpyinfo:x11/xdpyinfo \
+		xrandr>0:x11/xrandr \
+		xrdb:x11/xrdb \
+		xrefresh:x11/xrefresh \
+		xscreensaver:x11/xscreensaver \
+		xsettingsd:x11/xsettingsd \
+		xterm:x11/xterm
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}psutil>=5.7.0:sysutils/py-psutil@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}xdg>0:devel/py-xdg@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}yaml>=3.11:devel/py-yaml@${PY_FLAVOR} \
-		convert:graphics/ImageMagick${IMAGEMAGICK_DEFAULT} \
 		dunst:sysutils/dunst \
 		font-bh-lucidatypewriter-100dpi>0:x11-fonts/font-bh-lucidatypewriter-100dpi \
 		fvwm2:x11-wm/fvwm2 \
 		gsed:textproc/gsed \
-		ksh93:shells/ast-ksh \
-		pyuic5:devel/py-qt5@${PY_FLAVOR} \
 		qt5-style-plugins>=5.0.0:x11-themes/qt5-style-plugins \
 		roboto-fonts-ttf>0:x11-fonts/roboto-fonts-ttf \
 		stalonetray:x11/stalonetray \
+		xclip:x11/xclip \
 		xdotool:x11/xdotool \
 		xdpyinfo:x11/xdpyinfo \
+		xrandr>0:x11/xrandr \
 		xrdb:x11/xrdb \
 		xrefresh:x11/xrefresh \
 		xscreensaver:x11/xscreensaver \
 		xsettingsd:x11/xsettingsd \
 		xterm:x11/xterm
 
-USES=		gettext magick:run pkgconfig:build python:3.7+ shebangfix xorg
-USE_GITHUB=	yes
-GH_ACCOUNT=	nscde
-USE_XORG=	x11 xext xpm xrandr
+USES=		gettext magick pkgconfig:build pyqt:5 python:3.7+ shebangfix \
+		xorg
+USE_PYQT=	pyqt5
+USE_XORG=	x11 xext xpm
+
+SHEBANG_FILES=	doc/examples/fvwm3-per-monitor/nitrowrapper
 
-SHEBANG_FILES=	Installer.ksh NsCDE/bin/confget.py NsCDE/bin/confset.py \
-		NsCDE/bin/nscde_usleep NsCDE/bin/sysinfo.py \
-		NsCDE/lib/python/Globals.py NsCDE/lib/python/MiscFun.py \
-		NsCDE/lib/python/MotifColors.py NsCDE/lib/python/Opts.py \
-		NsCDE/lib/python/SpritesGtk2.py NsCDE/lib/python/Theme.py \
-		NsCDE/lib/python/ThemeGtk.py NsCDE/libexec/colorconv.py \
-		NsCDE/libexec/geticon.py NsCDE/libexec/getla1.py \
-		NsCDE/libexec/nscde_palette_colorgen.py \
-		NsCDE/libexec/themegen.py \
-		NsCDE/share/config_templates/integration/gtk2_gtk3_qt/gtk-2.0/img/SpritesGtk2.py \
-		NsCDE/share/config_templates/integration/gtk2_gtk3_qt/gtk-2.0/img/src/SpritesGtk2.py
+GNU_CONFIGURE=	yes
+CONFIGURE_ARGS=	--with-python-shebang="${PYTHON_CMD}"
 
 DOCSDIR=	${PREFIX}/share/doc/nscde
+SUB_FILES=	pkg-message
+SUB_LIST=	EXAMPLESDIR=${EXAMPLESDIR} \
+		PREFIX=${PREFIX}
+
+WRKSRC=		${WRKDIR}/NsCDE-${DISTVERSION}
+PLIST_SUB=	ARCH=${ARCH}
 
-OPTIONS_DEFINE=		DOCS EXAMPLES
-OPTIONS_DEFAULT=	DOCS EXAMPLES SUDO KSH2020
-OPTIONS_SINGLE=	ROOTAUTH IMGMAG KSHOPT
+OPTIONS_DEFINE=			DOCS EXAMPLES
+OPTIONS_DEFAULT=		DOCS EXAMPLES KSH2020 SUDO
+OPTIONS_SINGLE=			IMGMAG KSHOPT ROOTAUTH
 OPTIONS_SINGLE_KSHOPT=		ASTKSH KSH2020
-OPTIONS_SINGLE_ROOTAUTH=	SUDO DOAS
-ASTKSH_DESC=	AT&T KSH93
-DOAS_DESC=	Use doas to elevate privileges
-KSH2020_DESC=	Updated AT&T KSH93 (arm64 compatible)
-KSHOPT_DESC=	KSH version
-ROOTAUTH_DESC=	Root authorization
-SUDO_DESC=	Use sudo to elevate privileges
+OPTIONS_SINGLE_ROOTAUTH=	DOAS SUDO
+ASTKSH_DESC=			AT&T KSH93
+DOAS_DESC=			Use doas to elevate privileges
+KSH2020_DESC=			Updated AT&T KSH93 (arm64 compatible)
+KSHOPT_DESC=			KSH version
+ROOTAUTH_DESC=			Root authorization
+SUDO_DESC=			Use sudo to elevate privileges
 
 ASTKSH_RUN_DEPENDS=	ksh93:shells/ast-ksh93
 DOAS_RUN_DEPENDS=	doas:security/doas
 KSH2020_RUN_DEPENDS=	ksh93:shells/ksh2020
 SUDO_RUN_DEPENDS=	sudo:security/sudo
 
-_NSCDE_HELPERS=	GWM.sh Notifier.sh Splash.sh appfinder backdropmgr colorconv.py \
-		colormgr fontmgr fp_manage_subpanel fpexec fpseticon \
-		generate_app_menus generate_subpanels geticon.py getla1.py \
-		keymenu nscde-acpi nscde_get_logical_screens \
-		nscde_palette_colorgen.py nscde_setup strip_icon_path \
-		style_managers.shlib subpanel_menuitem_props themegen.py \
-		xrandr_backer
-
-_PREFIX_FILES=	NsCDE/bin/get_fvwm_infostore \
-		NsCDE/bin/getfont NsCDE/bin/mkpagemenu NsCDE/bin/nscde \
-		NsCDE/bin/nscde_colorpicker NsCDE/bin/xdowrapper \
-		NsCDE/config/NsCDE-Main.conf.sample NsCDE/libexec/Splash.sh \
-		NsCDE/libexec/fp_manage_subpanel \
-		NsCDE/libexec/fvwm-modules/FvwmScript NsCDE/libexec/nscde_setup \
-		NsCDE/libexec/themegen.py \
-		NsCDE/share/doc/examples/lxsession-integration/desktop.conf \
-		NsCDE/share/doc/examples/mate-session-integration/nscde.desktop \
-		NsCDE/share/doc/examples/sudo/006_PowerManager \
-		NsCDE/share/doc/examples/xsession-integration/nscde.desktop \
-		docbook/NsCDE.xml docbook/NsCDE.xsl
-
-_SHAREDOC=	NsCDE/config/FrontPanel.actions \
-		NsCDE/config/NsCDE-Keybindings.conf \
-		NsCDE/config/NsCDE-Menus.conf NsCDE/config/NsCDE-Subpanels.conf \
-		NsCDE/config/Subpanels.actions NsCDE/lib/scripts/BackdropMgr \
-		NsCDE/lib/scripts/BeepMgr NsCDE/lib/scripts/CheckMailApplet \
-		NsCDE/lib/scripts/ColorMgr NsCDE/lib/scripts/ExecDialog \
-		NsCDE/lib/scripts/FontMgr NsCDE/lib/scripts/FpLite \
-		NsCDE/lib/scripts/GeometryMgr NsCDE/libexec/GWM.sh \
-		NsCDE/lib/scripts/GWMOptions NsCDE/lib/scripts/KeyboardMgr \
-		NsCDE/lib/scripts/ModifyColor NsCDE/lib/scripts/MonthDayApplet \
-		NsCDE/lib/scripts/NColorsDialog NsCDE/lib/scripts/NProcMgr \
-		NsCDE/lib/scripts/Occupy NsCDE/lib/scripts/PaletteDialog \
-		NsCDE/lib/scripts/PointerMgr NsCDE/lib/scripts/PowerSaveMgr \
-		NsCDE/lib/scripts/StyleMgr NsCDE/lib/scripts/SubpanelMgr \
-		NsCDE/lib/scripts/SysActionDialog \
-		NsCDE/lib/scripts/SubpanelSettings NsCDE/lib/scripts/Sysinfo \
-		NsCDE/lib/scripts/WSM NsCDE/lib/scripts/WSM-2 \
-		NsCDE/lib/scripts/WSM-4 NsCDE/lib/scripts/WSM-6 \
-		NsCDE/lib/scripts/WSM-8 NsCDE/lib/scripts/WindowMgr \
-		NsCDE/lib/scripts/WsPgMgr
-
-_CURLYICONS=	NsCDE/config/NsCDE-Functions.conf NsCDE/libexec/colormgr \
-		NsCDE/libexec/subpanel_menuitem_props
-
-_SHARESLASH=	NsCDE/config/NsCDE-Backdrops.conf \
-		NsCDE/config/NsCDE-Functions.conf NsCDE/config/NsCDE-Main.conf \
-		NsCDE/share/doc/NsCDE.txt \
-		NsCDE/share/doc/html/NsCDE-Localization.html
-
-_BSHARESLASH=	NsCDE/config/NsCDE-Functions.conf NsCDE/lib/scripts/BackdropMgr \
-		NsCDE/lib/scripts/BeepMgr NsCDE/lib/scripts/ColorMgr \
-		NsCDE/lib/scripts/ExecDialog NsCDE/lib/scripts/FilePicker \
-		NsCDE/lib/scripts/FontMgr NsCDE/lib/scripts/GeometryMgr \
-		NsCDE/libexec/GWM.sh NsCDE/lib/scripts/GWMOptions \
-		NsCDE/lib/scripts/InputForm NsCDE/lib/scripts/KeyboardMgr \
-		NsCDE/lib/scripts/ModifyColor NsCDE/lib/scripts/NColorsDialog \
-		NsCDE/lib/scripts/NProcMgr NsCDE/lib/scripts/Occupy \
-		NsCDE/lib/scripts/PaletteDialog NsCDE/lib/scripts/PointerMgr \
-		NsCDE/lib/scripts/PowerSaveMgr NsCDE/lib/scripts/StyleMgr \
-		NsCDE/lib/scripts/SubpanelMgr NsCDE/lib/scripts/SysActionDialog \
-		NsCDE/lib/scripts/SubpanelSettings NsCDE/lib/scripts/Sysinfo \
-		NsCDE/lib/scripts/WSM NsCDE/lib/scripts/WSM-2 \
-		NsCDE/lib/scripts/WSM-4 NsCDE/lib/scripts/WSM-6 \
-		NsCDE/lib/scripts/WSM-8 NsCDE/lib/scripts/WindowMgr \
-		NsCDE/lib/scripts/WsPgMgr NsCDE/libexec/Notifier.sh \
-		NsCDE/libexec/appfinder NsCDE/libexec/fontmgr \
-		NsCDE/libexec/strip_icon_path \
-		NsCDE/libexec/subpanel_menuitem_props \
-		NsCDE/share/config_templates/colormgr.local \
-		NsCDE/share/doc/NsCDE.txt README.localization \
-		NsCDE/bin/fpclock
-
-_CSHARESLASH=	NsCDE/libexec/colormgr NsCDE/libexec/fontmgr \
-		NsCDE/libexec/style_managers.shlib \
-		NsCDE/libexec/subpanel_menuitem_props \
-		NsCDE/bin/fpclock NsCDE/share/config_templates/colormgr.local
-
-_SHARENSLASH=	NsCDE/config/NsCDE-Main.conf
-
-_LIBEXEC_SCRIPTS=	NsCDE/config/NsCDE-Functions.conf \
-			NsCDE/config/NsCDE-Main.conf \
-			NsCDE/config/NsCDE-Menus.conf \
-			NsCDE/lib/scripts/ColorMgr \
-			NsCDE/lib/scripts/ModifyColor
-
-_BLIBEXEC_SCRIPTS=	NsCDE/lib/scripts/BackdropMgr \
-			NsCDE/lib/scripts/ColorMgr NsCDE/lib/scripts/FontMgr \
-			NsCDE/lib/scripts/FpLite NsCDE/lib/scripts/GeometryMgr \
-			NsCDE/lib/scripts/ModifyColor \
-			NsCDE/lib/scripts/PaletteDialog \
-			NsCDE/lib/scripts/SubpanelMgr \
-			NsCDE/lib/scripts/SysActionDialog \
-			NsCDE/lib/scripts/SubpanelSettings \
-			NsCDE/libexec/colormgr \
-			NsCDE/libexec/subpanel_menuitem_props \
-			NsCDE/share/config_templates/colormgr.local \
-			NsCDE/share/doc/NsCDE.txt \
-			NsCDE/bin/fpclock
-
-_CLIBEXEC_SCRIPTS=	NsCDE/libexec/backdropmgr NsCDE/libexec/colormgr
-
-_CLIBS=		NsCDE/libexec/colormgr
-
-_LIBS=		NsCDE/config/NsCDE-Main.conf
-
-_BBINS=		NsCDE/config/FrontPanel.actions \
-		NsCDE/config/NsCDE-Main.conf.sample \
-		NsCDE/config/NsCDE-Functions.conf.sample \
-		NsCDE/lib/scripts/ActionForm NsCDE/lib/scripts/BackdropMgr \
-		NsCDE/lib/scripts/BeepMgr NsCDE/lib/scripts/ChoiceForm \
-		NsCDE/lib/scripts/ColorMgr NsCDE/lib/scripts/ExecDialog \
-		NsCDE/lib/scripts/FilePicker NsCDE/lib/scripts/FontMgr \
-		NsCDE/lib/scripts/GeometryMgr NsCDE/lib/scripts/InputForm \
-		NsCDE/lib/scripts/KeyboardMgr NsCDE/lib/scripts/ModifyColor \
-		NsCDE/lib/scripts/MonthDayApplet \
-		NsCDE/lib/scripts/NColorsDialog NsCDE/lib/scripts/NProcMgr \
-		NsCDE/lib/scripts/Occupy NsCDE/lib/scripts/PaletteDialog \
-		NsCDE/lib/scripts/PointerMgr NsCDE/lib/scripts/PowerSaveMgr \
-		NsCDE/lib/scripts/StyleMgr NsCDE/lib/scripts/SubpanelMgr \
-		NsCDE/lib/scripts/SysActionDialog \
-		NsCDE/lib/scripts/SubpanelSettings NsCDE/lib/scripts/Sysinfo \
-		NsCDE/lib/scripts/WSM NsCDE/lib/scripts/WSM-2 \
-		NsCDE/lib/scripts/WSM-4 NsCDE/lib/scripts/WSM-6 \
-		NsCDE/lib/scripts/WSM-8 NsCDE/lib/scripts/WaitNotice \
-		NsCDE/lib/scripts/WindowMgr NsCDE/lib/scripts/WsPgMgr \
-		NsCDE/libexec/Notifier.sh NsCDE/libexec/backdropmgr \
-		NsCDE/libexec/colormgr NsCDE/libexec/fontmgr \
-		NsCDE/libexec/fp_manage_subpanel NsCDE/libexec/strip_icon_path \
-		NsCDE/libexec/subpanel_menuitem_props \
-		NsCDE/libexec/GWM.sh \
-		NsCDE/share/applications/NsCDE-Exec.desktop \
-		NsCDE/share/applications/NsCDE-FvwmConsole.desktop \
-		NsCDE/share/applications/NsCDE-NProcMgr.desktop \
-		NsCDE/share/applications/NsCDE-StyleMgr.desktop \
-		NsCDE/share/applications/NsCDE-Sysinfo.desktop \
-		NsCDE/share/applications/NsCDE-WsPgMgr.desktop \
-		NsCDE/share/applications/WatchErrors.desktop \
-		NsCDE/share/doc/NsCDE.txt NsCDE/lib/scripts/GWMOptions \
-		NsCDE/share/applications/NsCDE-GWM.desktop
-
-_SBINS=		NsCDE/config/NsCDE-FrontPanel.conf \
-		NsCDE/config/NsCDE-Functions.conf NsCDE/config/NsCDE-Main.conf \
-		NsCDE/lib/scripts/WSM NsCDE/lib/scripts/WSM-2 \
-		NsCDE/lib/scripts/WSM-4 NsCDE/lib/scripts/WSM-6 \
-		NsCDE/lib/scripts/WSM-8 NsCDE/lib/scripts/WsPgMgr
-
-_CONFREF=	NsCDE/config/NsCDE-Main.conf
-
-_CCONFIGS=	NsCDE/libexec/colormgr
-
-_CONFIGS=	NsCDE/lib/scripts/SubpanelMgr \
-		NsCDE/lib/scripts/SubpanelSettings \
-		NsCDE/lib/scripts/WindowMgr NsCDE/lib/scripts/WsPgMgr \
-		NsCDE/libexec/fp_manage_subpanel NsCDE/libexec/fpexec \
-		NsCDE/libexec/fpseticon NsCDE/libexec/generate_app_menus \
-		NsCDE/libexec/generate_subpanels NsCDE/libexec/keymenu \
-		NsCDE/libexec/subpanel_menuitem_props NsCDE/share/doc/NsCDE.txt \
-		README.md
-
-_KSHFIX=	NsCDE/bin/fpclock NsCDE/bin/get_fvwm_infostore NsCDE/bin/getdpi \
-		NsCDE/bin/getfont NsCDE/bin/ised NsCDE/bin/mkpagemenu \
-		NsCDE/bin/nscde NsCDE/bin/nscde_colorpicker \
-		NsCDE/bin/nscde_fvwmclnt NsCDE/bin/nscde_var_append \
-		NsCDE/bin/xdowrapper NsCDE/libexec/Notifier.sh \
-		NsCDE/libexec/GWM.sh \
-		NsCDE/libexec/Splash.sh NsCDE/libexec/appfinder \
-		NsCDE/libexec/backdropmgr NsCDE/libexec/colormgr \
-		NsCDE/libexec/fontmgr NsCDE/libexec/fp_manage_subpanel \
-		NsCDE/libexec/fpexec NsCDE/libexec/fpseticon \
-		NsCDE/libexec/fvwm-modules/FvwmScript \
-		NsCDE/libexec/generate_app_menus \
-		NsCDE/libexec/generate_subpanels NsCDE/libexec/keymenu \
-		NsCDE/libexec/nscde-acpi \
-		NsCDE/libexec/nscde_get_logical_screens \
-		NsCDE/libexec/strip_icon_path \
-		NsCDE/libexec/subpanel_menuitem_props \
-		NsCDE/share/config_templates/colormgr.local \
-		NsCDE/share/config_templates/fontmgr.local generate_subpanels
-
-post-extract:
-	${MV} ${WRKDIR}/NsCDE-${DISTVERSION} ${WRKDIR}/${PORTNAME}-${DISTVERSION}
-
-post-patch:
-	${CP} ${WRKSRC}/NsCDE/libexec/generate_subpanels ${WRKSRC}/generate_subpanels
-	${REINPLACE_CMD} -e 's@config/@etc/nscde/@g' ${WRKSRC}/generate_subpanels
-	( for SDOC in ${_SHAREDOC}; do ${REINPLACE_CMD} -e 's@$$\[NSCDE_ROOT\]/share/doc/@'${PREFIX}'/share/doc/nscde/@g' ${WRKSRC}/$${SDOC}; done )
-	${REINPLACE_CMD} -e 's@\\/@/@g' ${WRKSRC}/NsCDE/libexec/GWM.sh
-	( for SDOC in ${_SHARESLASH}; do ${REINPLACE_CMD} -e 's@$$\[NSCDE_ROOT\]/share/@'${DATADIR}'/@g' ${WRKSRC}/$${SDOC}; done )
-	( for SDOC in ${_SHARENSLASH}; do ${REINPLACE_CMD} -e 's@$$\[NSCDE_ROOT\]/share@'${DATADIR}'@g' ${WRKSRC}/$${SDOC}; done )
-	( for SCR in ${_LIBEXEC_SCRIPTS}; do ${REINPLACE_CMD} -e 's@$$\[NSCDE_ROOT\]/libexec/@'${PREFIX}'/libexec/nscde/@g' ${WRKSRC}/$${SCR}; done )
-	( for SLIB in ${_LIBS}; do ${REINPLACE_CMD} -e "s@$$\[NSCDE_ROOT\]/lib/@${PREFIX}/lib/nscde/@g" ${WRKSRC}/$${SLIB}; done )
-	( for SB in ${_SBINS}; do ${REINPLACE_CMD} -e 's@$$\[NSCDE_ROOT\]/bin/@'${PREFIX}'/sbin/@g' ${WRKSRC}/$${SB}; done )
-	( for CR in ${_CONFREF}; do ${REINPLACE_CMD} -e 's@$$\[NSCDE_ROOT\]/config/@'${ETCDIR}'/@g' ${WRKSRC}/$${CR}; done )
-	( for IDOC in ${_CURLYICONS}; do ${REINPLACE_CMD} -e 's@$${NSCDE_ROOT}/share/icons/@'${PREFIX}'/share/icons/@g' ${WRKSRC}/$${IDOC}; done )
-	( for SDOC in ${_CSHARESLASH}; do ${REINPLACE_CMD} -e 's@$${NSCDE_ROOT}/share/@'${DATADIR}'/@g' ${WRKSRC}/$${SDOC}; done )
-	( for SDOC in ${_BSHARESLASH}; do ${REINPLACE_CMD} -e 's@$$NSCDE_ROOT/share/@'${DATADIR}'/@g' ${WRKSRC}/$${SDOC}; done )
-	${FIND} ${WRKSRC}/NsCDE/config -type f -name '*.conf' -exec ${MV} {} {}.sample \;
-	${FIND} ${WRKSRC}/NsCDE/config -type f -name '*.menu' -exec ${MV} {} {}.sample \;
-	( for BBIN in ${_BBINS}; do ${REINPLACE_CMD} -e 's@$$NSCDE\_ROOT\/bin@'${PREFIX}'/sbin@g' ${WRKSRC}/$${BBIN}; done )
-	( for CFG in ${_CONFIGS}; do ${REINPLACE_CMD} -e 's@$$NSCDE\_ROOT\/config@'${ETCDIR}'@g' ${WRKSRC}/$${CFG}; done )
-	( for SCR in ${_BLIBEXEC_SCRIPTS}; do ${REINPLACE_CMD} -e 's@$$NSCDE\_ROOT\/libexec@'${PREFIX}'/libexec/nscde@g' ${WRKSRC}/$${SCR}; done )
-	( for CFG in ${_CCONFIGS}; do ${REINPLACE_CMD} -e 's@$${NSCDE_ROOT}/config/@'${ETCDIR}'/@g' ${WRKSRC}/$${CFG}; done )
-	( for SLIB in ${_CLIBEXEC_SCRIPTS}; do ${REINPLACE_CMD} -e 's@$${NSCDE_ROOT}/libexec/@'${PREFIX}'/libexec/nscde/@g' ${WRKSRC}/$${SLIB}; done )
-	( for CLIB in ${_CLIBS}; do ${REINPLACE_CMD} -e 's@$${NSCDE_ROOT}/lib/@'${PREFIX}'/lib/nscde/@g' ${WRKSRC}/$${CLIB}; done )
-	${WRKSRC}/NsCDE/bin/ised -c 's/\*FrontPanel: \(.*x.*\), Id NsCDE-Subpanel\(.*\), Frame 1, PressColorset 27, \\/\*FrontPanel: \1, Id NsCDE-Subpanel\2, Frame 1, PressColorset 27, \\\n  Icon NsCDE\/FPSubArrowUp.xpm, PressIcon NsCDE\/FPSubArrowDown.xpm, \\/g' -f "${WRKSRC}/NsCDE/config/NsCDE-FrontPanel.conf.sample"
-	( for KSHB in ${_KSHFIX}; do ${REINPLACE_CMD} -e 's@^#!/usr/bin/env ksh93@#!'${PREFIX}'/bin/ksh93@' ${WRKSRC}/$${KSHB}; done )
-	${FIND} ${WRKSRC}/NsCDE -type f -name '*.bak' -delete
-	( for HLP in ${_PREFIX_FILES}; do ${REINPLACE_CMD} -e 's@$${PREFIX}@'${PREFIX}'@g' ${WRKSRC}/$${HLP}; done )
-	${REINPLACE_CMD} -e 's@$$NSCDE\_ROOT@${PREFIX}@g' ${WRKSRC}/NsCDE/bin/fpclock
-	${REINPLACE_CMD} -e 's@-$${NSCDE_OS}\_$${MARCH}@@g' ${WRKSRC}/NsCDE/bin/fpclock
-	${FIND} ${WRKSRC}/NsCDE -type f -name '*.bak' -delete
-	${MV} ${WRKSRC}/NsCDE/share/config_templates/colormgr.local ${WRKSRC}/NsCDE/share/doc/examples/colormgr.local.sample
-	${REINPLACE_CMD} -e 's@export NSCDE\_VERSION=\"1.3\"@export NSCDE_VERSION=\"'${DISTVERSION}'\"@g' ${WRKSRC}/NsCDE/bin/nscde
+_SUDOFILES=	data/fvwm/Functions.fvwmconf.in lib/scripts/SysActionDialog
 
 post-patch-DOAS-on:
-	${REINPLACE_CMD} -e 's@sudo@doas@g' ${WRKSRC}/NsCDE/lib/scripts/SysActionDialog
-	${REINPLACE_CMD} -e 's@sudo@doas@g' ${WRKSRC}/NsCDE/config/NsCDE-Functions.conf.sample
-	${REINPLACE_CMD} -e 's@$${PREFIX}@'${PREFIX}'@g' ${WRKSRC}/NsCDE/share/doc/examples/doas.conf
-	${FIND} ${WRKSRC}/NsCDE -type f -name '*.bak' -delete
-
-do-build:
-	${RM} ${WRKSRC}/NsCDE/share/doc/html/*
-	(cd ${WRKSRC}/docbook && ${PREFIX}/bin/xsltproc -o ${WRKSRC}/NsCDE/share/doc/html/NsCDE.html NsCDE.xsl NsCDE.xml)
-	${CP} ${WRKSRC}/docbook/NsCDE.css ${WRKSRC}/NsCDE/share/doc/html/NsCDE.css
-	make -C ${WRKSRC}/src/XOverrideFontCursor
-	make -C ${WRKSRC}/src/pclock-0.13.1/src
-	make -C ${WRKSRC}/src/colorpicker
-	${STRIP_CMD} ${WRKSRC}/src/colorpicker/colorpicker
-	${STRIP_CMD} ${WRKSRC}/src/pclock-0.13.1/src/pclock
-	${STRIP_CMD} ${WRKSRC}/src/XOverrideFontCursor/XOverrideFontCursor.so
+	( for SUDOF in ${_SUDOFILES}; do ${REINPLACE_CMD} -e "s@sudo \\-n@doas@g" ${WRKSRC}/$${SUDOF}; done )
 
-do-install:
-	${FIND} ${WRKSRC} -type f -name '*.orig' -delete
-	${MKDIR} ${STAGEDIR}/${PREFIX}/libexec/nscde/fvwm-modules
-	${MKDIR} ${STAGEDIR}/${PREFIX}/lib/nscde
-	${MKDIR} ${STAGEDIR}/${ETCDIR}/xdg/menus
-	${MKDIR} ${STAGEDIR}/${PREFIX}/share/icons/NsCDE
-	${MKDIR} ${STAGEDIR}/${PREFIX}/share/nscde
-	${INSTALL_DATA} ${WRKSRC}/NsCDE/config/*.sample ${STAGEDIR}/${ETCDIR}
-	${INSTALL_DATA} ${WRKSRC}/NsCDE/config/*.actions ${STAGEDIR}/${ETCDIR}
-	${INSTALL_DATA} ${WRKSRC}/NsCDE/config/xdg/menus/* ${STAGEDIR}/${ETCDIR}/xdg/menus
-	${INSTALL_DATA} ${WRKSRC}/src/XOverrideFontCursor/XOverrideFontCursor.so ${STAGEDIR}/${PREFIX}/lib/nscde
-	${INSTALL_PROGRAM} ${WRKSRC}/src/pclock-0.13.1/src/pclock ${STAGEDIR}/${PREFIX}/bin
-	${INSTALL_PROGRAM} ${WRKSRC}/src/colorpicker/colorpicker ${STAGEDIR}/${PREFIX}/bin
-	${INSTALL_SCRIPT} ${WRKSRC}/NsCDE/bin/* ${STAGEDIR}/${PREFIX}/sbin
-	( for HLP in ${_NSCDE_HELPERS}; do ${INSTALL_SCRIPT} ${WRKSRC}/NsCDE/libexec/$${HLP} ${STAGEDIR}/${PREFIX}/libexec/nscde/$${HLP}; done )
-	${INSTALL_SCRIPT} ${WRKSRC}/NsCDE/libexec/fvwm-modules/FvwmScript ${STAGEDIR}/${PREFIX}/libexec/nscde/fvwm-modules
-	(cd ${WRKSRC}/NsCDE/share/icons && ${COPYTREE_SHARE} . ${STAGEDIR}/${PREFIX}/share/icons)
-	${INSTALL_DATA} ${WRKSRC}/NsCDE/share/applications/* ${STAGEDIR}/${PREFIX}/share/applications
-	(cd ${WRKSRC}/NsCDE/share && ${COPYTREE_SHARE} "palettes photos config_templates backdrops defaults desktop-directories locale \
-		fontsets fallback" ${STAGEDIR}/${DATADIR})
-	(cd ${WRKSRC}/NsCDE/lib && ${COPYTREE_SHARE} . ${STAGEDIR}/${PREFIX}/lib/nscde)
-	NSCDE_ROOT="${STAGEDIR}/${PREFIX}" HAS_WINDOWNAME=1 SYSMODE=1 ${WRKSRC}/generate_subpanels > ${STAGEDIR}/${ETCDIR}/NsCDE-Subpanels.conf.sample
-	${FIND} ${STAGEDIR}/${ETCDIR} -type f -name '*.actions' -exec ${MV} {} {}.sample \;
-	${MKDIR} ${STAGEDIR}/${PREFIX}/share/xsessions
-	${CP} ${WRKSRC}/NsCDE/share/doc/examples/xsession-integration/nscde.desktop ${STAGEDIR}/${PREFIX}/share/xsessions/nscde.desktop
+post-install-EXAMPLES-on:
+	${MKDIR} ${STAGEDIR}/${PREFIX}/share/examples/${PORTNAME}
+	${MV} ${STAGEDIR}/${PREFIX}/share/doc/nscde/examples/* ${STAGEDIR}/${PREFIX}/share/examples/${PORTNAME}/
 
-do-install-DOCS-on:
-	${MKDIR} ${STAGEDIR}/${PREFIX}/share/doc/nscde
-	${MKDIR} ${STAGEDIR}/${PREFIX}/share/examples/nscde
-	(cd ${WRKSRC}/NsCDE/share/doc/examples && ${COPYTREE_SHARE} . ${STAGEDIR}/${PREFIX}/share/examples/nscde)
-	(cd ${WRKSRC}/NsCDE/share/doc && ${COPYTREE_SHARE} html ${STAGEDIR}/${PREFIX}/share/doc/nscde)
-	(cd ${WRKSRC}/NsCDE/share/doc && ${COPYTREE_SHARE} help ${STAGEDIR}/${PREFIX}/share/doc/nscde)
-	${INSTALL_DATA} ${WRKSRC}/NsCDE/share/doc/NsCDE.* ${STAGEDIR}/${PREFIX}/share/doc/nscde
+post-install-EXAMPLES-off:
+	${RM} -fr ${STAGEDIR}/${PREFIX}/share/doc/nscde/examples/*
 
 .include <bsd.port.mk>
diff --git a/x11-wm/nscde/distinfo b/x11-wm/nscde/distinfo
index d36f8e82fd25..e3819f24e16a 100644
--- a/x11-wm/nscde/distinfo
+++ b/x11-wm/nscde/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1638108980
-SHA256 (nscde-nscde-1.4_GH0.tar.gz) = 838f17a3ef5f3cec409ed2ca0bd0ac1f324890bc50e64ee559321126516df1a9
-SIZE (nscde-nscde-1.4_GH0.tar.gz) = 32001678
+TIMESTAMP = 1662206182
+SHA256 (nscde-2.2.tar.gz) = 7778078c44605f9be6df7f4c313068fd44ba361edd8f45e4e58be790e86c0b7d
+SIZE (nscde-2.2.tar.gz) = 30128803
diff --git a/x11-wm/nscde/files/patch-NsCDE_bin_get__fvwm__infostore b/x11-wm/nscde/files/patch-NsCDE_bin_get__fvwm__infostore
deleted file mode 100644
index b1f619270376..000000000000
--- a/x11-wm/nscde/files/patch-NsCDE_bin_get__fvwm__infostore
+++ /dev/null
@@ -1,11 +0,0 @@
---- NsCDE/bin/get_fvwm_infostore.orig	2021-05-02 07:41:15 UTC
-+++ NsCDE/bin/get_fvwm_infostore
-@@ -9,7 +9,7 @@ if [ ! -d "$FVWM_USERDIR"/tmp ]; then
-    mkdir -p "$FVWM_USERDIR"/tmp
- fi
- 
--$NSCDE_ROOT/bin/nscde_fvwmclnt "Exec exec echo \$[infostore.$1] > \"$FVWM_USERDIR\"/tmp/ifsvar_get.$$"
-+${PREFIX}/sbin/nscde_fvwmclnt "Exec exec echo \$[infostore.$1] > \"$FVWM_USERDIR\"/tmp/ifsvar_get.$$"
- cnt=50
- while [ ! -r "$FVWM_USERDIR"/tmp/ifsvar_get.$$ ]
- do
diff --git a/x11-wm/nscde/files/patch-NsCDE_bin_getfont b/x11-wm/nscde/files/patch-NsCDE_bin_getfont
deleted file mode 100644
index a5e517b02052..000000000000
--- a/x11-wm/nscde/files/patch-NsCDE_bin_getfont
+++ /dev/null
@@ -1,41 +0,0 @@
---- NsCDE/bin/getfont.orig	2021-05-02 07:40:22 UTC
-+++ NsCDE/bin/getfont
-@@ -12,11 +12,6 @@ export LC_ALL=C
- PrintFnSize=0
- PrettyName=0
- 
--if [ -z $NSCDE_ROOT ]; then
--   echo "No \$NSCDE_ROOT set. Exiting."
--   exit 3
--fi
--
- if [ -z $FVWM_USERDIR ]; then
-    echo "No \$FVWM_USERDIR set. Exiting."
-    exit 4
-@@ -46,7 +41,7 @@ function GetFont
-    Defaults
- 
-    if [ "x$FnFile" == "x" ]; then
--      sysfncffile="${NSCDE_ROOT}/config/NsCDE-Font-${NSCDE_FONT_DPI}dpi.conf"
-+      sysfncffile="${PREFIX}/etc/nscde/NsCDE-Font-${NSCDE_FONT_DPI}dpi.conf"
-       if [ -s "${FVWM_USERDIR}/NsCDE-Font-${NSCDE_FONT_DPI}dpi.conf" ]; then
-          fncnffile="${FVWM_USERDIR}/NsCDE-Font-${NSCDE_FONT_DPI}dpi.conf"
-          avoiddoublegrep=0
-@@ -74,7 +69,7 @@ function GetFont
- 
-    Catch2="${Catch/InfoStoreAdd font./}"
-    Catch3="${Catch2#*\"}"
--   GetSize=$(echo "${Catch3/\"/}" | $NSCDE_ROOT/bin/ised -c "s/\(.*\)\(size=\)\(.*\)\(.*\)\?/\3/g" -o -f -)
-+   GetSize=$(echo "${Catch3/\"/}" | ${PREFIX}/sbin/ised -c "s/\(.*\)\(size=\)\(.*\)\(.*\)\?/\3/g" -o -f -)
-    if (($PrettyName == 1)); then
-       FontStruct=$(echo "${Catch3/\"/}" | awk -F: '{ $1=""; print $0 }' | sed 's/^ //g; s/size=//g')
-    else
-@@ -126,7 +121,7 @@ function GetFont
- 
-          if (($GetSize > $FnMaxSize)); then
-             if (($PrintFnSize == 0)); then
--               echo "$FontStruct" | $NSCDE_ROOT/bin/ised -c "s/\(.*\)\(size=\)\([[:digit:]]\+\)\(\.[[:digit:]]\+\)\?\(.*\)\?/\1\2${FnMaxSize}\5/g" -o -f -
-+               echo "$FontStruct" | ${PREFIX}/sbin/ised -c "s/\(.*\)\(size=\)\([[:digit:]]\+\)\(\.[[:digit:]]\+\)\?\(.*\)\?/\1\2${FnMaxSize}\5/g" -o -f -
-             else
-                echo $FnMaxSize
-             fi
diff --git a/x11-wm/nscde/files/patch-NsCDE_bin_mkpagemenu b/x11-wm/nscde/files/patch-NsCDE_bin_mkpagemenu
deleted file mode 100644
index 0add44704dd3..000000000000
--- a/x11-wm/nscde/files/patch-NsCDE_bin_mkpagemenu
+++ /dev/null
@@ -1,29 +0,0 @@
---- NsCDE/bin/mkpagemenu.orig	2021-05-02 07:39:06 UTC
-+++ NsCDE/bin/mkpagemenu
-@@ -31,13 +31,13 @@ do
-    if [ -r "$FVWM_USERDIR/WSM.conf" ]; then
-       pagenum_prepare=$(egrep "^PG:${pg}:.*:" "$FVWM_USERDIR/WSM.conf" | head -1)
-       if [ "x${pagenum_prepare}" == "x" ]; then
--         if [ -r "${NSCDE_ROOT}/share/defaults/pages/${PagesX}x${PagesY}" ]; then
--            pagenum_prepare=$(egrep "^PG:${pg}:.*:" ${NSCDE_ROOT}/share/defaults/pages/${PagesX}x${PagesY} | head -1)
-+         if [ -r "${PREFIX}/share/nscde/defaults/pages/${PagesX}x${PagesY}" ]; then
-+            pagenum_prepare=$(egrep "^PG:${pg}:.*:" ${PREFIX}/share/nscde/defaults/pages/${PagesX}x${PagesY} | head -1)
-          fi
-       fi
-    else
--      if [ -r "${NSCDE_ROOT}/share/defaults/pages/${PagesX}x${PagesY}" ]; then
--         pagenum_prepare=$(egrep "^PG:${pg}:.*:" ${NSCDE_ROOT}/share/defaults/pages/${PagesX}x${PagesY} | head -1)
-+      if [ -r "${PREFIX}/share/nscde/defaults/pages/${PagesX}x${PagesY}" ]; then
-+         pagenum_prepare=$(egrep "^PG:${pg}:.*:" ${PREFIX}/share/nscde/defaults/pages/${PagesX}x${PagesY} | head -1)
-       fi
-    fi
- 
-@@ -50,7 +50,7 @@ do
-    fi
- 
-    if [ "$Fmt" == "menu_icons" ]; then
--      if [ -r "$NSCDE_ROOT/share/icons/NsCDE/Wsm_${PagesX}x${PagesY}_${pagenum}.xpm" ]; then
-+      if [ -r "${PREFIX}/share/icons/NsCDE/Wsm_${PagesX}x${PagesY}_${pagenum}.xpm" ]; then
-          echo "+ \"&${pg} ${MenuLeftTitle}${pagename}%NsCDE/Wsm_${PagesX}x${PagesY}_${pagenum}.xpm%\" $FvwmPageCmd $pagenum_fvwm"
-       else
-          echo "+ \"&${pg} ${MenuLeftTitle}${pagename}\" $FvwmPageCmd $pagenum_fvwm"
diff --git a/x11-wm/nscde/files/patch-NsCDE_bin_nscde b/x11-wm/nscde/files/patch-NsCDE_bin_nscde
deleted file mode 100644
index f1ee2a823afe..000000000000
--- a/x11-wm/nscde/files/patch-NsCDE_bin_nscde
+++ /dev/null
@@ -1,30 +0,0 @@
---- NsCDE/bin/nscde.orig	2021-05-02 07:33:53 UTC
-+++ NsCDE/bin/nscde
-@@ -42,16 +42,11 @@ fi
- # Set main NSCDE and FVWM variables. Most of the things later
- # depends on this core variables.
- export FVWM_USERDIR="${HOME}/.NsCDE"
--export NSCDE_ROOT=/opt/NsCDE
--export FVWM_DATADIR="${NSCDE_ROOT}/config"
-+export NSCDE_ROOT=${PREFIX}
-+export FVWM_DATADIR="${PREFIX}/etc/nscde"
- 
- mkdir -p "${FVWM_USERDIR}/tmp"
- 
--echo "$PATH" | egrep -q "/opt\/NsCDE\/bin"
--if (($? != 0)); then
--   export PATH="${PATH}:${NSCDE_ROOT}"
--fi
--
- # Find fvwm(1) binary. This is a critical point.
- # We cannot continue without main workforce.
- if [ "x$FVWM_BIN" == "x" ]; then
-@@ -107,7 +102,7 @@ fi
- if [ -r ${FVWM_USERDIR}/NsCDE-Main.conf ]; then
-    exec $FVWM_BIN -f ${FVWM_USERDIR}/NsCDE-Main.conf $FVWM_OPTS
- else
--   exec $FVWM_BIN -f ${NSCDE_ROOT}/config/NsCDE-Main.conf $FVWM_OPTS
-+   exec $FVWM_BIN -f ${PREFIX}/etc/nscde/NsCDE-Main.conf $FVWM_OPTS
- fi
- 
- # Do not be picky if there is some failure left.
diff --git a/x11-wm/nscde/files/patch-NsCDE_bin_nscde__colorpicker b/x11-wm/nscde/files/patch-NsCDE_bin_nscde__colorpicker
deleted file mode 100644
index 0ac1b8e5f437..000000000000
--- a/x11-wm/nscde/files/patch-NsCDE_bin_nscde__colorpicker
+++ /dev/null
@@ -1,13 +0,0 @@
---- NsCDE/bin/nscde_colorpicker.orig	2021-05-02 07:36:07 UTC
-+++ NsCDE/bin/nscde_colorpicker
-@@ -6,9 +6,7 @@
- # Licence: GPLv3
- #
- 
--[ -z $NSCDE_ROOT ] && exit 2
--MARCH=$(uname -m)
--BIN="$NSCDE_ROOT/bin/colorpicker-${NSCDE_OS}_${MARCH}"
-+BIN="${PREFIX}/bin/colorpicker"
- 
- Existance=$(type "$BIN" 2>&1)
- 
diff --git a/x11-wm/nscde/files/patch-NsCDE_bin_xdowrapper b/x11-wm/nscde/files/patch-NsCDE_bin_xdowrapper
deleted file mode 100644
index 29c8cce78333..000000000000
--- a/x11-wm/nscde/files/patch-NsCDE_bin_xdowrapper
+++ /dev/null
@@ -1,11 +0,0 @@
---- NsCDE/bin/xdowrapper.orig	2021-05-02 07:38:18 UTC
-+++ NsCDE/bin/xdowrapper
-@@ -25,7 +25,7 @@ function xdofunc
-          xdotool search --name "NsCDE-Subpanel${subp}$" > /dev/null 2>&1
-          if (($? == 0)); then
-             echo "Refreshing subpanel NsCDE-Subpanel${subp}" >&2
--            $NSCDE_ROOT/bin/nscde_fvwmclnt "Exec exec xdotool search --name "NsCDE-Subpanel${subp}\$" \
-+            ${PREFIX}/sbin/nscde_fvwmclnt "Exec exec xdotool search --name "NsCDE-Subpanel${subp}\$" \
-                          set_window --name \"\$[infostore.NsCDE-Subpanel${subp}-Name]\" \
-                          --icon-name \"\$[infostore.NsCDE-Subpanel${subp}-Name]\""
-          fi
diff --git a/x11-wm/nscde/files/patch-NsCDE_config_NsCDE-FrontPanel.conf b/x11-wm/nscde/files/patch-NsCDE_config_NsCDE-FrontPanel.conf
deleted file mode 100644
index ded0ef92e1e6..000000000000
--- a/x11-wm/nscde/files/patch-NsCDE_config_NsCDE-FrontPanel.conf
+++ /dev/null
@@ -1,182 +0,0 @@
---- NsCDE/config/NsCDE-FrontPanel.conf.orig	2021-04-24 03:10:51 UTC
-+++ NsCDE/config/NsCDE-FrontPanel.conf
-@@ -79,7 +79,7 @@ Test (EnvMatch infostore.FP.Launchers-Enabled *L1*) \
- 
- Test (EnvMatch infostore.FP.Launchers-Enabled *L1*, EnvMatch infostore.NsCDE-Subpanel1-Enabled 1) \
-  *FrontPanel: (1x1+0+0, Id NsCDE-Subpanel1, Frame 1, PressColorset 27, \
--  Padding 1 1, Panel(up, smooth, steps 16, delay 2, Hints, indicator 12, position Button left) NsCDE-Subpanel1 \
-+  Padding 1 1, Panel(up, smooth, steps 16, delay 2, Hints,  position Button left) NsCDE-Subpanel1 \
-   "Module FvwmButtons -g -30000-30000 -transientpanel NsCDE-Subpanel1")
- Test (EnvMatch infostore.FP.Launchers-Enabled *L1*, EnvMatch infostore.NsCDE-Subpanel1-Enabled 0) \
-  *FrontPanel: (1x1+0+0, Id NsCDE-Subpanel1, Frame 1, Padding 1 1, \
-@@ -88,7 +88,7 @@ Test (EnvMatch infostore.FP.Launchers-Enabled *L1*, En
- 
- Test (EnvMatch infostore.FP.Launchers-Enabled *L2*, EnvMatch infostore.NsCDE-Subpanel2-Enabled 1) \
-  *FrontPanel: (1x1+1+0, Id NsCDE-Subpanel2, Frame 1, PressColorset 27, \
-- Padding 1 1, Panel(up, smooth, steps 16, delay 2, Hints, indicator 12, position Button left) NsCDE-Subpanel2 \
-+ Padding 1 1, Panel(up, smooth, steps 16, delay 2, Hints,  position Button left) NsCDE-Subpanel2 \
-  "Module FvwmButtons -g -30000-30000 -transientpanel NsCDE-Subpanel2")
- Test (EnvMatch infostore.FP.Launchers-Enabled *L2*, EnvMatch infostore.NsCDE-Subpanel2-Enabled 0) \
-  *FrontPanel: (1x1+1+0, Id NsCDE-Subpanel2, Frame 1, Padding 1 1, \
-@@ -97,7 +97,7 @@ Test (EnvMatch infostore.FP.Launchers-Enabled *L2*, En
- 
- Test (EnvMatch infostore.FP.Launchers-Enabled *L3*, EnvMatch infostore.NsCDE-Subpanel3-Enabled 1) \
-  *FrontPanel: (1x1+2+0, Id NsCDE-Subpanel3, Frame 1, PressColorset 27, \
--  Padding 1 1, Panel(up, smooth, steps 16, delay 2, Hints, indicator 12, position Button left) NsCDE-Subpanel3 \
-+  Padding 1 1, Panel(up, smooth, steps 16, delay 2, Hints,  position Button left) NsCDE-Subpanel3 \
-   "Module FvwmButtons -g -30000-30000 -transientpanel NsCDE-Subpanel3")
- Test (EnvMatch infostore.FP.Launchers-Enabled *L3*, EnvMatch infostore.NsCDE-Subpanel3-Enabled 0) \
-  *FrontPanel: (1x1+2+0, Id NsCDE-Subpanel3, Frame 1, Padding 1 1, \
-@@ -106,7 +106,7 @@ Test (EnvMatch infostore.FP.Launchers-Enabled *L3*, En
- 
- Test (EnvMatch infostore.FP.Launchers-Enabled *L4*, EnvMatch infostore.NsCDE-Subpanel4-Enabled 1) \
-  *FrontPanel: (1x1+3+0, Id NsCDE-Subpanel4, Frame 1, PressColorset 27, \
--  Padding 1 1, Panel(up, smooth, steps 16, delay 2, Hints, indicator 12, position Button left) NsCDE-Subpanel4 \
-+  Padding 1 1, Panel(up, smooth, steps 16, delay 2, Hints,  position Button left) NsCDE-Subpanel4 \
-   "Module FvwmButtons -g -30000-30000 -transientpanel NsCDE-Subpanel4")
- Test (EnvMatch infostore.FP.Launchers-Enabled *L4*, EnvMatch infostore.NsCDE-Subpanel4-Enabled 0) \
-  *FrontPanel: (1x1+3+0, Id NsCDE-Subpanel4, Frame 1, Padding 1 1, \
-@@ -115,7 +115,7 @@ Test (EnvMatch infostore.FP.Launchers-Enabled *L4*, En
- 
- Test (EnvMatch infostore.FP.Launchers-Enabled *L5*, EnvMatch infostore.NsCDE-Subpanel5-Enabled 1) \
-  *FrontPanel: (1x1+4+0, Id NsCDE-Subpanel5, Frame 1, PressColorset 27, \
--  Padding 1 1, Panel(up, smooth, steps 16, delay 2, Hints, indicator 12, position Button left) NsCDE-Subpanel5 \
-+  Padding 1 1, Panel(up, smooth, steps 16, delay 2, Hints,  position Button left) NsCDE-Subpanel5 \
-   "Module FvwmButtons -g -30000-30000 -transientpanel NsCDE-Subpanel5")
- Test (EnvMatch infostore.FP.Launchers-Enabled *L5*, EnvMatch infostore.NsCDE-Subpanel5-Enabled 0) \
-  *FrontPanel: (1x1+4+0, Id NsCDE-Subpanel5, Frame 1, Padding 1 1, \
-@@ -124,7 +124,7 @@ Test (EnvMatch infostore.FP.Launchers-Enabled *L5*, En
- 
- Test (EnvMatch infostore.FP.Launchers-Enabled *L11*, EnvMatch infostore.NsCDE-Subpanel11-Enabled 1) \
-  *FrontPanel: (1x1+5+0, Id NsCDE-Subpanel11, Frame 1, PressColorset 27, \
--  Padding 1 1, Panel(up, smooth, steps 16, delay 2, Hints, indicator 12, position Button left) NsCDE-Subpanel11 \
-+  Padding 1 1, Panel(up, smooth, steps 16, delay 2, Hints,  position Button left) NsCDE-Subpanel11 \
-   "Module FvwmButtons -g -30000-30000 -transientpanel NsCDE-Subpanel11")
- Test (EnvMatch infostore.FP.Launchers-Enabled *L11*, EnvMatch infostore.NsCDE-Subpanel11-Enabled 0) \
-  *FrontPanel: (1x1+5+0, Id NsCDE-Subpanel11, Frame 1, Padding 1 1, \
-@@ -133,7 +133,7 @@ Test (EnvMatch infostore.FP.Launchers-Enabled *L11*, E
- 
- Test (EnvMatch infostore.FP.Launchers-Enabled *L12*, EnvMatch infostore.NsCDE-Subpanel12-Enabled 1) \
-  *FrontPanel: (1x1+6+0, Id NsCDE-Subpanel12, Frame 1, PressColorset 27, \
--  Padding 1 1, Panel(up, smooth, steps 16, delay 2, Hints, indicator 12, position Button left) NsCDE-Subpanel12 \
-+  Padding 1 1, Panel(up, smooth, steps 16, delay 2, Hints,  position Button left) NsCDE-Subpanel12 \
-   "Module FvwmButtons -g -30000-30000 -transientpanel NsCDE-Subpanel12")
- Test (EnvMatch infostore.FP.Launchers-Enabled *L12*, EnvMatch infostore.NsCDE-Subpanel12-Enabled 0) \
-  *FrontPanel: (1x1+6+0, Id NsCDE-Subpanel12, Frame 1, Padding 1 1, \
-@@ -142,7 +142,7 @@ Test (EnvMatch infostore.FP.Launchers-Enabled *L12*, E
- 
- Test (EnvMatch infostore.FP.Launchers-Enabled *L13*, EnvMatch infostore.NsCDE-Subpanel13-Enabled 1) \
-  *FrontPanel: (1x1+7+0, Id NsCDE-Subpanel13, Frame 1, PressColorset 27, \
--  Padding 1 1, Panel(up, smooth, steps 16, delay 2, Hints, indicator 12, position Button left) NsCDE-Subpanel13 \
-+  Padding 1 1, Panel(up, smooth, steps 16, delay 2, Hints,  position Button left) NsCDE-Subpanel13 \
-   "Module FvwmButtons -g -30000-30000 -transientpanel NsCDE-Subpanel13")
- Test (EnvMatch infostore.FP.Launchers-Enabled *L13*, EnvMatch infostore.NsCDE-Subpanel13-Enabled 0) \
-  *FrontPanel: (1x1+7+0, Id NsCDE-Subpanel13, Frame 1, Padding 1 1, \
-@@ -151,7 +151,7 @@ Test (EnvMatch infostore.FP.Launchers-Enabled *L13*, E
- 
- Test (EnvMatch infostore.FP.Launchers-Enabled *L14*, EnvMatch infostore.NsCDE-Subpanel14-Enabled 1) \
-  *FrontPanel: (1x1+8+0, Id NsCDE-Subpanel14, Frame 1, PressColorset 27, \
--  Padding 1 1, Panel(up, smooth, steps 16, delay 2, Hints, indicator 12, position Button left) NsCDE-Subpanel14 \
-+  Padding 1 1, Panel(up, smooth, steps 16, delay 2, Hints,  position Button left) NsCDE-Subpanel14 \
-   "Module FvwmButtons -g -30000-30000 -transientpanel NsCDE-Subpanel14")
- Test (EnvMatch infostore.FP.Launchers-Enabled *L14*, EnvMatch infostore.NsCDE-Subpanel14-Enabled 0) \
-  *FrontPanel: (1x1+8+0, Id NsCDE-Subpanel14, Frame 1, Padding 1 1, \
-@@ -160,7 +160,7 @@ Test (EnvMatch infostore.FP.Launchers-Enabled *L14*, E
- 
- Test (EnvMatch infostore.FP.Launchers-Enabled *L15*, EnvMatch infostore.NsCDE-Subpanel15-Enabled 1) \
-  *FrontPanel: (1x1+9+0, Id NsCDE-Subpanel15, Frame 1, PressColorset 27, \
--  Padding 1 1, Panel(up, smooth, steps 16, delay 2, Hints, indicator 12, position Button left) NsCDE-Subpanel15 \
-+  Padding 1 1, Panel(up, smooth, steps 16, delay 2, Hints,  position Button left) NsCDE-Subpanel15 \
-   "Module FvwmButtons -g -30000-30000 -transientpanel NsCDE-Subpanel15")
- Test (EnvMatch infostore.FP.Launchers-Enabled *L15*, EnvMatch infostore.NsCDE-Subpanel15-Enabled 0) \
-  *FrontPanel: (1x1+9+0, Id NsCDE-Subpanel15, Frame 1, Padding 1 1, \
-@@ -328,7 +328,7 @@ Test (EnvMatch infostore.FP.Launchers-Enabled *R6*) \
- 
- Test (EnvMatch infostore.FP.Launchers-Enabled *R6*, EnvMatch infostore.NsCDE-Subpanel6-Enabled 1) \
-  *FrontPanel: (1x1+0+0, Id NsCDE-Subpanel6, Frame 1, PressColorset 27, \
--  Padding 1 1, Panel(up, smooth, steps 16, delay 2, Hints, indicator 12, position Button left) NsCDE-Subpanel6 \
-+  Padding 1 1, Panel(up, smooth, steps 16, delay 2, Hints,  position Button left) NsCDE-Subpanel6 \
-   "Module FvwmButtons -g -30000-30000 -transientpanel NsCDE-Subpanel6")
- Test (EnvMatch infostore.FP.Launchers-Enabled *R6*, EnvMatch infostore.NsCDE-Subpanel6-Enabled 0) \
-  *FrontPanel: (1x1+0+0, Id NsCDE-Subpanel6, Frame 1, Padding 1 1, \
-@@ -337,7 +337,7 @@ Test (EnvMatch infostore.FP.Launchers-Enabled *R6*, En
- 
- Test (EnvMatch infostore.FP.Launchers-Enabled *R7*, EnvMatch infostore.NsCDE-Subpanel7-Enabled 1) \
- *FrontPanel: (1x1+1+0, Id NsCDE-Subpanel7, Frame 1, PressColorset 27, \
-- Padding 1 1, Panel(up, smooth, steps 16, delay 2, Hints, indicator 12, position Button left) NsCDE-Subpanel7 \
-+ Padding 1 1, Panel(up, smooth, steps 16, delay 2, Hints,  position Button left) NsCDE-Subpanel7 \
-  "Module FvwmButtons -g -30000-30000 -transientpanel NsCDE-Subpanel7")
- Test (EnvMatch infostore.FP.Launchers-Enabled *R7*, EnvMatch infostore.NsCDE-Subpanel7-Enabled 0) \
-  *FrontPanel: (1x1+1+0, Id NsCDE-Subpanel7, Frame 1, Padding 1 1, \
-@@ -346,7 +346,7 @@ Test (EnvMatch infostore.FP.Launchers-Enabled *R7*, En
- 
- Test (EnvMatch infostore.FP.Launchers-Enabled *R8*, EnvMatch infostore.NsCDE-Subpanel8-Enabled 1) \
-  *FrontPanel: (1x1+2+0, Id NsCDE-Subpanel8, Frame 1, PressColorset 27, \
--  Padding 1 1, Panel(up, smooth, steps 16, delay 2, Hints, indicator 12, position Button left) NsCDE-Subpanel8 \
-+  Padding 1 1, Panel(up, smooth, steps 16, delay 2, Hints,  position Button left) NsCDE-Subpanel8 \
-   "Module FvwmButtons -g -30000-30000 -transientpanel NsCDE-Subpanel8")
- Test (EnvMatch infostore.FP.Launchers-Enabled *R8*, EnvMatch infostore.NsCDE-Subpanel8-Enabled 0) \
-  *FrontPanel: (1x1+2+0, Id NsCDE-Subpanel8, Frame 1, Padding 1 1, \
-@@ -355,7 +355,7 @@ Test (EnvMatch infostore.FP.Launchers-Enabled *R8*, En
- 
- Test (EnvMatch infostore.FP.Launchers-Enabled *R9*, EnvMatch infostore.NsCDE-Subpanel9-Enabled 1) \
-  *FrontPanel: (1x1+3+0, Id NsCDE-Subpanel9, Frame 1, PressColorset 27, \
--  Padding 1 1, Panel(up, smooth, steps 16, delay 2, Hints, indicator 12, position Button left) NsCDE-Subpanel9 \
-+  Padding 1 1, Panel(up, smooth, steps 16, delay 2, Hints,  position Button left) NsCDE-Subpanel9 \
-   "Module FvwmButtons -g -30000-30000 -transientpanel NsCDE-Subpanel9")
- Test (EnvMatch infostore.FP.Launchers-Enabled *R9*, EnvMatch infostore.NsCDE-Subpanel9-Enabled 0) \
-  *FrontPanel: (1x1+3+0, Id NsCDE-Subpanel9, Frame 1, Padding 1 1, \
-@@ -364,7 +364,7 @@ Test (EnvMatch infostore.FP.Launchers-Enabled *R9*, En
- 
- Test (EnvMatch infostore.FP.Launchers-Enabled *R10*, EnvMatch infostore.NsCDE-Subpanel10-Enabled 1) \
-  *FrontPanel: (1x1+4+0, Id NsCDE-Subpanel10, Frame 1, PressColorset 27, \
--  Padding 1 1, Panel(up, smooth, steps 16, delay 2, Hints, indicator 12, position Button left) NsCDE-Subpanel10 \
-+  Padding 1 1, Panel(up, smooth, steps 16, delay 2, Hints,  position Button left) NsCDE-Subpanel10 \
-   "Module FvwmButtons -g -30000-30000 -transientpanel NsCDE-Subpanel10")
- Test (EnvMatch infostore.FP.Launchers-Enabled *R10*, EnvMatch infostore.NsCDE-Subpanel10-Enabled 0) \
-  *FrontPanel: (1x1+4+0, Id NsCDE-Subpanel10, Frame 1, Padding 1 1, \
-@@ -373,7 +373,7 @@ Test (EnvMatch infostore.FP.Launchers-Enabled *R10*, E
- 
- Test (EnvMatch infostore.FP.Launchers-Enabled *R16*, EnvMatch infostore.NsCDE-Subpanel16-Enabled 1) \
-  *FrontPanel: (1x1+5+0, Id NsCDE-Subpanel16, Frame 1, PressColorset 27, \
--  Padding 1 1, Panel(up, smooth, steps 16, delay 2, Hints, indicator 12, position Button left) NsCDE-Subpanel16 \
-+  Padding 1 1, Panel(up, smooth, steps 16, delay 2, Hints,  position Button left) NsCDE-Subpanel16 \
-   "Module FvwmButtons -g -30000-30000 -transientpanel NsCDE-Subpanel16")
- Test (EnvMatch infostore.FP.Launchers-Enabled *R16*, EnvMatch infostore.NsCDE-Subpanel16-Enabled 0) \
-  *FrontPanel: (1x1+5+0, Id NsCDE-Subpanel16, Frame 1, Padding 1 1, \
-@@ -382,7 +382,7 @@ Test (EnvMatch infostore.FP.Launchers-Enabled *R16*, E
- 
- Test (EnvMatch infostore.FP.Launchers-Enabled *R17*, EnvMatch infostore.NsCDE-Subpanel17-Enabled 1) \
-  *FrontPanel: (1x1+6+0, Id NsCDE-Subpanel17, Frame 1, PressColorset 27, \
--  Padding 1 1, Panel(up, smooth, steps 17, delay 2, Hints, indicator 12, position Button left) NsCDE-Subpanel17 \
-+  Padding 1 1, Panel(up, smooth, steps 17, delay 2, Hints,  position Button left) NsCDE-Subpanel17 \
-   "Module FvwmButtons -g -30000-30000 -transientpanel NsCDE-Subpanel17")
- Test (EnvMatch infostore.FP.Launchers-Enabled *R17*, EnvMatch infostore.NsCDE-Subpanel17-Enabled 0) \
-  *FrontPanel: (1x1+6+0, Id NsCDE-Subpanel17, Frame 1, Padding 1 1, \
-@@ -391,7 +391,7 @@ Test (EnvMatch infostore.FP.Launchers-Enabled *R17*, E
- 
- Test (EnvMatch infostore.FP.Launchers-Enabled *R18*, EnvMatch infostore.NsCDE-Subpanel18-Enabled 1) \
-  *FrontPanel: (1x1+7+0, Id NsCDE-Subpanel18, Frame 1, PressColorset 27, \
--  Padding 1 1, Panel(up, smooth, steps 18, delay 2, Hints, indicator 12, position Button left) NsCDE-Subpanel18 \
-+  Padding 1 1, Panel(up, smooth, steps 18, delay 2, Hints,  position Button left) NsCDE-Subpanel18 \
-   "Module FvwmButtons -g -30000-30000 -transientpanel NsCDE-Subpanel18")
- Test (EnvMatch infostore.FP.Launchers-Enabled *R18*, EnvMatch infostore.NsCDE-Subpanel18-Enabled 0) \
-  *FrontPanel: (1x1+7+0, Id NsCDE-Subpanel18, Frame 1, Padding 1 1, \
-@@ -400,7 +400,7 @@ Test (EnvMatch infostore.FP.Launchers-Enabled *R18*, E
- 
- Test (EnvMatch infostore.FP.Launchers-Enabled *R19*, EnvMatch infostore.NsCDE-Subpanel19-Enabled 1) \
-  *FrontPanel: (1x1+8+0, Id NsCDE-Subpanel19, Frame 1, PressColorset 27, \
--  Padding 1 1, Panel(up, smooth, steps 19, delay 2, Hints, indicator 12, position Button left) NsCDE-Subpanel19 \
-+  Padding 1 1, Panel(up, smooth, steps 19, delay 2, Hints,  position Button left) NsCDE-Subpanel19 \
-   "Module FvwmButtons -g -30000-30000 -transientpanel NsCDE-Subpanel19")
- Test (EnvMatch infostore.FP.Launchers-Enabled *R19*, EnvMatch infostore.NsCDE-Subpanel19-Enabled 0) \
-  *FrontPanel: (1x1+8+0, Id NsCDE-Subpanel19, Frame 1, Padding 1 1, \
-@@ -409,7 +409,7 @@ Test (EnvMatch infostore.FP.Launchers-Enabled *R19*, E
- 
- Test (EnvMatch infostore.FP.Launchers-Enabled *R20*, EnvMatch infostore.NsCDE-Subpanel20-Enabled 1) \
-  *FrontPanel: (1x1+9+0, Id NsCDE-Subpanel20, Frame 1, PressColorset 27, \
--  Padding 1 1, Panel(up, smooth, steps 20, delay 2, Hints, indicator 12, position Button left) NsCDE-Subpanel20 \
-+  Padding 1 1, Panel(up, smooth, steps 20, delay 2, Hints,  position Button left) NsCDE-Subpanel20 \
-   "Module FvwmButtons -g -30000-30000 -transientpanel NsCDE-Subpanel20")
- Test (EnvMatch infostore.FP.Launchers-Enabled *R20*, EnvMatch infostore.NsCDE-Subpanel20-Enabled 0) \
-  *FrontPanel: (1x1+9+0, Id NsCDE-Subpanel20, Frame 1, Padding 1 1, \
diff --git a/x11-wm/nscde/files/patch-NsCDE_config_NsCDE-Main.conf b/x11-wm/nscde/files/patch-NsCDE_config_NsCDE-Main.conf
deleted file mode 100644
index 0ce811d34c54..000000000000
--- a/x11-wm/nscde/files/patch-NsCDE_config_NsCDE-Main.conf
+++ /dev/null
@@ -1,32 +0,0 @@
---- NsCDE/config/NsCDE-Main.conf.orig	2021-04-24 03:10:51 UTC
-+++ NsCDE/config/NsCDE-Main.conf
-@@ -12,11 +12,11 @@ Test (Restart) Echo NsCDE: Restarting
- Test (Init) Echo NsCDE: Starting initialization
- 
- # Core variables for diverting paths and setting early parameters
--SetEnv NSCDE_ROOT /opt/NsCDE
-+SetEnv NSCDE_ROOT ${PREFIX}
- SetEnv NSCDE_FVWM_VERSION_NUM $[version.num]
- SetEnv NSCDE_FVWM_VERSION_INFO $[version.info]
- SetEnv FVWM_USERDIR $[HOME]/.NsCDE
--SetEnv FVWM_DATADIR $[NSCDE_ROOT]/config
-+SetEnv FVWM_DATADIR ${PREFIX}/etc/nscde
- SetEnv FVWM_SCRIPTDIR $[NSCDE_ROOT]/lib/scripts
- SetEnv FVWM_FORMDIR $[NSCDE_ROOT]/lib/forms
- Test (EnvMatch FVWM_IS_FVWM3 1) SetEnv FVWM3_LOGFILE $[FVWM_USERDIR]/tmp/fvwm.log
-@@ -37,12 +37,12 @@ PipeRead $[NSCDE_ROOT]/libexec/nscde_get_logical_scree
- DestroyStyle *
- 
- # Core Options, if necessary, can be overriden later
--ExecUseShell __KSH93__
-+ExecUseShell ${PREFIX}/bin/ksh93
- Emulate Mwm
- IgnoreModifiers L25
--ImagePath $[FVWM_USERDIR]/icons:$[NSCDE_ROOT]/share/icons:$[HOME]/.icons:$[HOME]/.local/share/icons:/usr/share/icons:/usr/local/share/icons:$[NSCDE_ROOT]/share/fallback/icons
-+ImagePath $[FVWM_USERDIR]/icons:$[HOME]/.icons:$[HOME]/.local/share/icons:/usr/share/icons:${PREFIX}/share/icons:${PREFIX}/share/nscde/fallback/icons
- LocalePath $[NSCDE_ROOT]/share/locale;NsCDE:$[NSCDE_ROOT]/share/locale;NsCDE-Subpanels:+
--# ModulePath $[NSCDE_ROOT]/libexec/fvwm-modules:+
-+ModulePath ${PREFIX}/libexec/nscde/fvwm-modules:+
- InfoStoreAdd menudclicktm 750
- ClickTime $[infostore.menudclicktm]
- DefaultIcon NsCDE/Noicon.xpm
diff --git a/x11-wm/nscde/files/patch-NsCDE_libexec_Splash.sh b/x11-wm/nscde/files/patch-NsCDE_libexec_Splash.sh
deleted file mode 100644
index 23b71c5a566a..000000000000
--- a/x11-wm/nscde/files/patch-NsCDE_libexec_Splash.sh
+++ /dev/null
@@ -1,16 +0,0 @@
---- NsCDE/libexec/Splash.sh.orig	2021-05-02 08:29:06 UTC
-+++ NsCDE/libexec/Splash.sh
-@@ -64,11 +64,11 @@ Begin
-       Quit
-    End
- 
--   Do {Colorset 70 TiledPixmap \$[NSCDE_ROOT]/lib/progbits/$SplashBG}
-+   Do {Colorset 70 TiledPixmap ${PREFIX}/lib/nscde/progbits/$SplashBG}
-    Do {Test (!EnvMatch FVWM_IS_FVWM3 1) Schedule 120 All (NsCDE-Splash) Move screen g 50-50w 50-50w ewmhiwa}
-    Do {Test (EnvMatch FVWM_IS_FVWM3 1) Schedule 120 All (NsCDE-Splash) Move screen p +0p +0p}
- 
--   Set \$MainFontCmd = (GetOutput {\$NSCDE_ROOT/bin/getfont -v -t bold -s large} 1 -1)
-+   Set \$MainFontCmd = (GetOutput {${PREFIX}/sbin/getfont -v -t bold -s large} 1 -1)
-    Set \$MainFont = {Shadow=1 0 SE:} \$MainFontCmd
- 
-    ChangeFont 5 \$MainFont
diff --git a/x11-wm/nscde/files/patch-NsCDE_libexec_colormgr b/x11-wm/nscde/files/patch-NsCDE_libexec_colormgr
deleted file mode 100644
index e9315f6ee025..000000000000
--- a/x11-wm/nscde/files/patch-NsCDE_libexec_colormgr
+++ /dev/null
@@ -1,11 +0,0 @@
---- NsCDE/libexec/colormgr.orig	2021-05-02 08:31:09 UTC
-+++ NsCDE/libexec/colormgr
-@@ -357,7 +357,7 @@ function Backdrops
-       while (($DeskNo != 0))
-       do
-          egrep "^Colorset 3${DeskNo}" "${NSCDE_ROOT}/config/NsCDE-Backdrops.conf" | \
--         sed 's/\$\[NSCDE_ROOT\]\/share\/defaults\/backer/\$\[FVWM_USERDIR\]\/backer/g' \
-+         sed 's/\/usr\/local\/share\/nscde\/defaults\/backer/\$\[FVWM_USERDIR\]\/backer/g' \
-           >> "${FVWM_USERDIR}/NsCDE-Backdrops.conf"
-          cp -f ${NSCDE_ROOT}/share/defaults/backer/Desk${DeskNo}-*pm "${FVWM_USERDIR}/backer/"
-          ((DeskNo = DeskNo - 1))
diff --git a/x11-wm/nscde/files/patch-NsCDE_libexec_fontmgr b/x11-wm/nscde/files/patch-NsCDE_libexec_fontmgr
deleted file mode 100644
index 6491c414f6c4..000000000000
--- a/x11-wm/nscde/files/patch-NsCDE_libexec_fontmgr
+++ /dev/null
@@ -1,26 +0,0 @@
---- NsCDE/libexec/fontmgr.orig	2021-05-02 08:34:51 UTC
-+++ NsCDE/libexec/fontmgr
-@@ -6,11 +6,6 @@
- # Licence: GPLv3
- #
- 
--if [ -z $NSCDE_ROOT ]; then
--   echo "Error: NSCDE_ROOT is not set. Exiting."
--   exit 2
--fi
--
- type -p fc-list > /dev/null
- if (($? != 0)); then
-    echo "Error: fc-list command not found."
-@@ -25,11 +20,6 @@ FNUMS=$(echo "$FNAMES" | sort -u | grep -n '')
- 
- function findfontsets
- {
--   if [ -z $NSCDE_ROOT ]; then
--      echo "No NSCDE_ROOT defined. Exiting."
--      exit 2
--   fi
--
-    SysFontsetsOut=$(ls -1 ${NSCDE_ROOT}/share/fontsets/*.fontset)
-    SysFontsets=$(echo "$SysFontsetsOut" | awk -F "/" '{print $NF}' | sed 's/\.fontset$//g')
-    SysFontsetsCnt=$(echo "$SysFontsetsOut" | wc -l)
diff --git a/x11-wm/nscde/files/patch-NsCDE_libexec_fp__manage__subpanel b/x11-wm/nscde/files/patch-NsCDE_libexec_fp__manage__subpanel
deleted file mode 100644
index 12db4b66d5a2..000000000000
--- a/x11-wm/nscde/files/patch-NsCDE_libexec_fp__manage__subpanel
+++ /dev/null
@@ -1,28 +0,0 @@
---- NsCDE/libexec/fp_manage_subpanel.orig	2021-04-24 03:10:51 UTC
-+++ NsCDE/libexec/fp_manage_subpanel
-@@ -5,16 +5,6 @@ if [ -z $HOME ]; then
-    exit 3
- fi
- 
--if [ -z $NSCDE_ROOT ]; then
--   echo "Error: NSCDE_ROOT is not set cannot continue."
--   exit 4
--fi
--
--if [ ! -e "$NSCDE_ROOT" ]; then
--   echo "Error: NSCDE_ROOT does not exist. Cannot continue."
--   exit 5
--fi
--
- if [ -z $FVWM_USERDIR ]; then
-    echo "Error: FVWM_USERDIR is not set cannot continue."
-    exit 6
-@@ -113,7 +103,7 @@ function reset_this_button
-       fi
- 
-       if (($RestartFP == 0)); then
--         $NSCDE_ROOT/bin/nscde_fvwmclnt "PipeRead \"\$[NSCDE_ROOT]/libexec/fpseticon Btn${PanelNo}\""
-+         $NSCDE_ROOT/bin/nscde_fvwmclnt "PipeRead \"${PREFIX}/libexec/nscde/fpseticon Btn${PanelNo}\""
-       else
-          $NSCDE_ROOT/bin/nscde_fvwmclnt "InfoStoreRemove FP.Btn${PanelNo}.type"
-          $NSCDE_ROOT/bin/nscde_fvwmclnt "f_RestartFrontPanel"
diff --git a/x11-wm/nscde/files/patch-NsCDE_libexec_fvwm-modules_FvwmScript b/x11-wm/nscde/files/patch-NsCDE_libexec_fvwm-modules_FvwmScript
deleted file mode 100644
index 04f67a1b7ac9..000000000000
--- a/x11-wm/nscde/files/patch-NsCDE_libexec_fvwm-modules_FvwmScript
+++ /dev/null
@@ -1,43 +0,0 @@
---- NsCDE/libexec/fvwm-modules/FvwmScript.orig	2021-04-24 03:10:51 UTC
-+++ NsCDE/libexec/fvwm-modules/FvwmScript
-@@ -2,7 +2,7 @@
- 
- # Check if there is a XOverrideFontCursor.so for LD_PRELOAD and if LD_PRELOAD is already in
- # use so we can append to the variable, and be careful to use colon as library object separator
--if [ -x "$NSCDE_ROOT/lib/XOverrideFontCursor.so" ]; then
-+if [ -x "${PREFIX}/lib/nscde/XOverrideFontCursor.so" ]; then
-    if [ "x$LD_PRELOAD" != "x" ]; then
-       echo "$LD_PRELOAD" | egrep -q "XOverrideFontCursor\.so"
-       if (($? != 0)); then
-@@ -10,24 +10,25 @@ if [ -x "$NSCDE_ROOT/lib/XOverrideFontCursor.so" ]; th
-          ld_preload_lastchar=$(($ld_preload_wc - 1))
-          ld_preload_last_letter=$(echo "$LD_PRELOAD" | cut -b $ld_preload_lastchar)
-          if [ "$ld_preload_lastletter" == ":" ]; then
--            export LD_PRELOAD="$LD_PRELOAD:$NSCDE_ROOT/lib/XOverrideFontCursor.so"
-+            export LD_PRELOAD="$LD_PRELOAD:${PREFIX}/lib/nscde/XOverrideFontCursor.so"
*** 22485 LINES SKIPPED ***