pkgsrc-WIP-changes archive

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

Copy over wm/icewm14 to wip/icewm17



Module Name:	pkgsrc-wip
Committed By:	Benny Siegert <bsiegert%gmail.com@localhost>
Pushed By:	bsiegert
Date:		Tue Jul 28 18:22:20 2020 +0000
Changeset:	95e7c71ab85b9158469bef9e671e3412013d37e3

Added Files:
	icewm17/DESCR
	icewm17/Makefile
	icewm17/PLIST
	icewm17/distinfo
	icewm17/patches/patch-src_CMakeLists.txt
	icewm17/patches/patch-src_acpustatus.cc
	icewm17/patches/patch-src_base.h
	icewm17/patches/patch-src_icesm.cc
	icewm17/patches/patch-src_icetray.cc
	icewm17/patches/patch-src_wmapp.cc
	icewm17/patches/patch-src_wpixres.cc
	icewm17/patches/patch-src_yapp.cc
	icewm17/patches/patch-src_ylocale.cc

Log Message:
Copy over wm/icewm14 to wip/icewm17

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

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

diffstat:
 icewm17/DESCR                            |  13 +
 icewm17/Makefile                         |  38 +++
 icewm17/PLIST                            | 559 +++++++++++++++++++++++++++++++
 icewm17/distinfo                         |  15 +
 icewm17/patches/patch-src_CMakeLists.txt |  30 ++
 icewm17/patches/patch-src_acpustatus.cc  |  58 ++++
 icewm17/patches/patch-src_base.h         |  24 ++
 icewm17/patches/patch-src_icesm.cc       |  13 +
 icewm17/patches/patch-src_icetray.cc     |  13 +
 icewm17/patches/patch-src_wmapp.cc       |  13 +
 icewm17/patches/patch-src_wpixres.cc     |  18 +
 icewm17/patches/patch-src_yapp.cc        |  13 +
 icewm17/patches/patch-src_ylocale.cc     |  40 +++
 13 files changed, 847 insertions(+)

diffs:
diff --git a/icewm17/DESCR b/icewm17/DESCR
new file mode 100644
index 0000000000..e02bba8343
--- /dev/null
+++ b/icewm17/DESCR
@@ -0,0 +1,13 @@
+IceWM provides a small, fast and familiar window manager for the X11 window
+system.  Compatibility with the mwm window manager is desired and will be
+implemented where appropriate.
+
+IceWM is designed to emulate the look of Motif, OS/2 Warp 4, OS/2 Warp 3 and
+Windows 95.  It also tries to combine the feel of these systems whenever it
+is compatible.  Others might added in the future in the core distribution,
+though many themes are available through the network.
+
+Generally, it tries to make all functions available both by keyboard and by
+mouse (this is not currently possible when using mouse focus).
+
+This package provides IceWM 1.4 branch release.
diff --git a/icewm17/Makefile b/icewm17/Makefile
new file mode 100644
index 0000000000..d638fa9bb3
--- /dev/null
+++ b/icewm17/Makefile
@@ -0,0 +1,38 @@
+# $NetBSD: Makefile,v 1.5 2020/03/08 16:51:33 wiz Exp $
+
+DISTNAME=	icewm-1.4.2
+PKGREVISION=	3
+CATEGORIES=	wm
+MASTER_SITES=	${MASTER_SITE_GITHUB:=bbidulock/}
+GITHUB_RELEASE=	${PKGVERSION_NOREV}
+EXTRACT_SUFX=	.tar.bz2
+EXTRACT_USING=	gtar
+
+MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=	http://www.icewm.org/
+COMMENT=	Small, fast and light-weight window manager
+LICENSE=	gnu-gpl-v2
+
+CONFLICTS+=	icewm-imlib-[0-9]*
+
+FILESDIR=	${.CURDIR}/../../wm/icewm/files
+
+USE_CMAKE=	yes
+USE_LANGUAGES=	c c++03
+USE_TOOLS+=	msgfmt pkg-config
+
+LDFLAGS.SunOS+=	-lsocket -lnsl
+
+CMAKE_ARGS.NetBSD+=	-DCMAKE_CXX_FLAGS="-DHAVE_SYSCTL_CP_TIME"
+
+post-extract:
+	cp ${FILESDIR}/bsd-daemon.xpm ${WRKSRC}/lib/taskbar
+
+#.include "../../devel/gettext-lib/buildlink3.mk"
+.include "../../converters/libiconv/buildlink3.mk"
+.include "../../graphics/gdk-pixbuf2-xlib/buildlink3.mk"
+.include "../../x11/libSM/buildlink3.mk"
+.include "../../x11/libXft/buildlink3.mk"
+.include "../../x11/libXinerama/buildlink3.mk"
+.include "../../x11/libXrandr/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/icewm17/PLIST b/icewm17/PLIST
new file mode 100644
index 0000000000..bb32e9e1f5
--- /dev/null
+++ b/icewm17/PLIST
@@ -0,0 +1,559 @@
+@comment $NetBSD: PLIST,v 1.1 2018/11/01 09:25:29 bsiegert Exp $
+bin/icehelp
+bin/icesh
+bin/icewm
+bin/icewm-menu-fdo
+bin/icewm-session
+bin/icewm-set-gnomewm
+bin/icewmbg
+bin/icewmhint
+bin/icewmtray
+share/doc/icewm/icewm.html
+share/icewm/icons/about_16x16.xpm
+share/icewm/icons/about_32x32.xpm
+share/icewm/icons/app_16x16.xpm
+share/icewm/icons/app_32x32.xpm
+share/icewm/icons/bomb_16x16.xpm
+share/icewm/icons/bomb_32x32.xpm
+share/icewm/icons/communicator-abook_16x16.xpm
+share/icewm/icons/communicator-abook_32x32.xpm
+share/icewm/icons/communicator-browser_16x16.xpm
+share/icewm/icons/communicator-browser_32x32.xpm
+share/icewm/icons/communicator-composer_16x16.xpm
+share/icewm/icons/communicator-composer_32x32.xpm
+share/icewm/icons/communicator-discussion_16x16.xpm
+share/icewm/icons/communicator-discussion_32x32.xpm
+share/icewm/icons/communicator-mail_16x16.xpm
+share/icewm/icons/communicator-mail_32x32.xpm
+share/icewm/icons/emacs_16x16.xpm
+share/icewm/icons/emacs_32x32.xpm
+share/icewm/icons/file_16x16.xpm
+share/icewm/icons/file_32x32.xpm
+share/icewm/icons/focus_16x16.xpm
+share/icewm/icons/focus_32x32.xpm
+share/icewm/icons/folder_16x16.xpm
+share/icewm/icons/folder_32x32.xpm
+share/icewm/icons/fte_16x16.xpm
+share/icewm/icons/fte_32x32.xpm
+share/icewm/icons/gimp_16x16.xpm
+share/icewm/icons/gimp_32x32.xpm
+share/icewm/icons/gnome_16x16.xpm
+share/icewm/icons/help_16x16.xpm
+share/icewm/icons/help_32x32.xpm
+share/icewm/icons/java_16x16.xpm
+share/icewm/icons/java_32x32.xpm
+share/icewm/icons/kde_16x16.xpm
+share/icewm/icons/koules_16x16.xpm
+share/icewm/icons/koules_32x32.xpm
+share/icewm/icons/lock_16x16.xpm
+share/icewm/icons/lock_32x32.xpm
+share/icewm/icons/lock_48x48.xpm
+share/icewm/icons/logout_16x16.xpm
+share/icewm/icons/logout_32x32.xpm
+share/icewm/icons/navigator_16x16.xpm
+share/icewm/icons/navigator_32x32.xpm
+share/icewm/icons/netscape_16x16.xpm
+share/icewm/icons/netscape_32x32.xpm
+share/icewm/icons/pdf_16x16.xpm
+share/icewm/icons/pdf_32x32.xpm
+share/icewm/icons/programs_16x16.xpm
+share/icewm/icons/programs_32x32.xpm
+share/icewm/icons/reboot_16x16.xpm
+share/icewm/icons/reboot_32x32.xpm
+share/icewm/icons/restart_16x16.xpm
+share/icewm/icons/restart_32x32.xpm
+share/icewm/icons/run_16x16.xpm
+share/icewm/icons/run_32x32.xpm
+share/icewm/icons/settings_16x16.xpm
+share/icewm/icons/settings_32x32.xpm
+share/icewm/icons/shutdown_16x16.xpm
+share/icewm/icons/shutdown_32x32.xpm
+share/icewm/icons/themes_16x16.xpm
+share/icewm/icons/themes_32x32.xpm
+share/icewm/icons/vim_16x16.xpm
+share/icewm/icons/vim_32x32.xpm
+share/icewm/icons/vim_48x48.xpm
+share/icewm/icons/windows_16x16.xpm
+share/icewm/icons/windows_32x32.xpm
+share/icewm/icons/xisp_16x16.xpm
+share/icewm/icons/xisp_32x32.xpm
+share/icewm/icons/xload_16x16.xpm
+share/icewm/icons/xload_32x32.xpm
+share/icewm/icons/xterm_16x16.xpm
+share/icewm/icons/xterm_32x32.xpm
+share/icewm/icons/xv_16x16.xpm
+share/icewm/icons/xv_32x32.xpm
+share/icewm/keys
+share/icewm/ledclock/a.xpm
+share/icewm/ledclock/colon.xpm
+share/icewm/ledclock/dot.xpm
+share/icewm/ledclock/m.xpm
+share/icewm/ledclock/n0.xpm
+share/icewm/ledclock/n1.xpm
+share/icewm/ledclock/n2.xpm
+share/icewm/ledclock/n3.xpm
+share/icewm/ledclock/n4.xpm
+share/icewm/ledclock/n5.xpm
+share/icewm/ledclock/n6.xpm
+share/icewm/ledclock/n7.xpm
+share/icewm/ledclock/n8.xpm
+share/icewm/ledclock/n9.xpm
+share/icewm/ledclock/p.xpm
+share/icewm/ledclock/percent.xpm
+share/icewm/ledclock/slash.xpm
+share/icewm/ledclock/space.xpm
+share/icewm/mailbox/errmail.xpm
+share/icewm/mailbox/mail.xpm
+share/icewm/mailbox/newmail.xpm
+share/icewm/mailbox/nomail.xpm
+share/icewm/mailbox/unreadmail.xpm
+share/icewm/menu
+share/icewm/preferences
+share/icewm/programs
+share/icewm/taskbar/bsd-daemon.xpm
+share/icewm/taskbar/collapse.xpm
+share/icewm/taskbar/debian.xpm
+share/icewm/taskbar/desktop.xpm
+share/icewm/taskbar/expand.xpm
+share/icewm/taskbar/icewm.xpm
+share/icewm/taskbar/linux.xpm
+share/icewm/taskbar/linux1.xpm
+share/icewm/taskbar/linux2.xpm
+share/icewm/taskbar/linux20.xpm
+share/icewm/taskbar/start.xpm
+share/icewm/taskbar/windows.xpm
+share/icewm/taskbar/xfreeos2.xpm
+share/icewm/themes/CrystalBlue/close.xpm
+share/icewm/themes/CrystalBlue/closeA.xpm
+share/icewm/themes/CrystalBlue/closeO.xpm
+share/icewm/themes/CrystalBlue/default.theme
+share/icewm/themes/CrystalBlue/dframeAB.xpm
+share/icewm/themes/CrystalBlue/dframeABL.xpm
+share/icewm/themes/CrystalBlue/dframeABR.xpm
+share/icewm/themes/CrystalBlue/dframeAL.xpm
+share/icewm/themes/CrystalBlue/dframeAR.xpm
+share/icewm/themes/CrystalBlue/dframeAT.xpm
+share/icewm/themes/CrystalBlue/dframeATL.xpm
+share/icewm/themes/CrystalBlue/dframeATR.xpm
+share/icewm/themes/CrystalBlue/dframeIB.xpm
+share/icewm/themes/CrystalBlue/dframeIBL.xpm
+share/icewm/themes/CrystalBlue/dframeIBR.xpm
+share/icewm/themes/CrystalBlue/dframeIL.xpm
+share/icewm/themes/CrystalBlue/dframeIR.xpm
+share/icewm/themes/CrystalBlue/dframeIT.xpm
+share/icewm/themes/CrystalBlue/dframeITL.xpm
+share/icewm/themes/CrystalBlue/dframeITR.xpm
+share/icewm/themes/CrystalBlue/frameAB.xpm
+share/icewm/themes/CrystalBlue/frameABL.xpm
+share/icewm/themes/CrystalBlue/frameABR.xpm
+share/icewm/themes/CrystalBlue/frameAL.xpm
+share/icewm/themes/CrystalBlue/frameAR.xpm
+share/icewm/themes/CrystalBlue/frameAT.xpm
+share/icewm/themes/CrystalBlue/frameATL.xpm
+share/icewm/themes/CrystalBlue/frameATR.xpm
+share/icewm/themes/CrystalBlue/frameIB.xpm
+share/icewm/themes/CrystalBlue/frameIBL.xpm
+share/icewm/themes/CrystalBlue/frameIBR.xpm
+share/icewm/themes/CrystalBlue/frameIL.xpm
+share/icewm/themes/CrystalBlue/frameIR.xpm
+share/icewm/themes/CrystalBlue/frameIT.xpm
+share/icewm/themes/CrystalBlue/frameITL.xpm
+share/icewm/themes/CrystalBlue/frameITR.xpm
+share/icewm/themes/CrystalBlue/ledclock/a.xpm
+share/icewm/themes/CrystalBlue/ledclock/colon.xpm
+share/icewm/themes/CrystalBlue/ledclock/dot.xpm
+share/icewm/themes/CrystalBlue/ledclock/m.xpm
+share/icewm/themes/CrystalBlue/ledclock/n0.xpm
+share/icewm/themes/CrystalBlue/ledclock/n1.xpm
+share/icewm/themes/CrystalBlue/ledclock/n2.xpm
+share/icewm/themes/CrystalBlue/ledclock/n3.xpm
+share/icewm/themes/CrystalBlue/ledclock/n4.xpm
+share/icewm/themes/CrystalBlue/ledclock/n5.xpm
+share/icewm/themes/CrystalBlue/ledclock/n6.xpm
+share/icewm/themes/CrystalBlue/ledclock/n7.xpm
+share/icewm/themes/CrystalBlue/ledclock/n8.xpm
+share/icewm/themes/CrystalBlue/ledclock/n9.xpm
+share/icewm/themes/CrystalBlue/ledclock/p.xpm
+share/icewm/themes/CrystalBlue/ledclock/slash.xpm
+share/icewm/themes/CrystalBlue/ledclock/space.xpm
+share/icewm/themes/CrystalBlue/maximize.xpm
+share/icewm/themes/CrystalBlue/maximizeA.xpm
+share/icewm/themes/CrystalBlue/maximizeO.xpm
+share/icewm/themes/CrystalBlue/menuButtonA.xpm
+share/icewm/themes/CrystalBlue/menuButtonI.xpm
+share/icewm/themes/CrystalBlue/menubg.xpm
+share/icewm/themes/CrystalBlue/menusel.xpm
+share/icewm/themes/CrystalBlue/minimize.xpm
+share/icewm/themes/CrystalBlue/minimizeA.xpm
+share/icewm/themes/CrystalBlue/minimizeO.xpm
+share/icewm/themes/CrystalBlue/restore.xpm
+share/icewm/themes/CrystalBlue/restoreA.xpm
+share/icewm/themes/CrystalBlue/restoreO.xpm
+share/icewm/themes/CrystalBlue/rolldown.xpm
+share/icewm/themes/CrystalBlue/rolldownA.xpm
+share/icewm/themes/CrystalBlue/rolldownO.xpm
+share/icewm/themes/CrystalBlue/rollup.xpm
+share/icewm/themes/CrystalBlue/rollupA.xpm
+share/icewm/themes/CrystalBlue/rollupO.xpm
+share/icewm/themes/CrystalBlue/taskbar/collapse.xpm
+share/icewm/themes/CrystalBlue/taskbar/desktop.xpm
+share/icewm/themes/CrystalBlue/taskbar/expand.xpm
+share/icewm/themes/CrystalBlue/taskbar/icewm.xpm
+share/icewm/themes/CrystalBlue/taskbar/taskbarbg.xpm
+share/icewm/themes/CrystalBlue/taskbar/taskbuttonactive.xpm
+share/icewm/themes/CrystalBlue/taskbar/taskbuttonbg.xpm
+share/icewm/themes/CrystalBlue/taskbar/taskbuttonminimized.xpm
+share/icewm/themes/CrystalBlue/taskbar/toolbuttonbg.xpm
+share/icewm/themes/CrystalBlue/taskbar/windows.xpm
+share/icewm/themes/CrystalBlue/titleAB.xpm
+share/icewm/themes/CrystalBlue/titleAJ.xpm
+share/icewm/themes/CrystalBlue/titleAM.xpm
+share/icewm/themes/CrystalBlue/titleAP.xpm
+share/icewm/themes/CrystalBlue/titleAQ.xpm
+share/icewm/themes/CrystalBlue/titleAS.xpm
+share/icewm/themes/CrystalBlue/titleAT.xpm
+share/icewm/themes/CrystalBlue/titleIB.xpm
+share/icewm/themes/CrystalBlue/titleIJ.xpm
+share/icewm/themes/CrystalBlue/titleIM.xpm
+share/icewm/themes/CrystalBlue/titleIP.xpm
+share/icewm/themes/CrystalBlue/titleIQ.xpm
+share/icewm/themes/CrystalBlue/titleIS.xpm
+share/icewm/themes/CrystalBlue/titleIT.xpm
+share/icewm/themes/Helix/closeA.xpm
+share/icewm/themes/Helix/closeI.xpm
+share/icewm/themes/Helix/default.theme
+share/icewm/themes/Helix/maximizeA.xpm
+share/icewm/themes/Helix/maximizeI.xpm
+share/icewm/themes/Helix/menuButtonA.xpm
+share/icewm/themes/Helix/menuButtonI.xpm
+share/icewm/themes/Helix/minimizeA.xpm
+share/icewm/themes/Helix/minimizeI.xpm
+share/icewm/themes/Helix/restoreA.xpm
+share/icewm/themes/Helix/restoreI.xpm
+share/icewm/themes/Helix/titleAB.xpm
+share/icewm/themes/Helix/titleAM.xpm
+share/icewm/themes/Helix/titleAP.xpm
+share/icewm/themes/Helix/titleAS.xpm
+share/icewm/themes/Helix/titleAT.xpm
+share/icewm/themes/Helix/titleIB.xpm
+share/icewm/themes/Helix/titleIP.xpm
+share/icewm/themes/Helix/titleIS.xpm
+share/icewm/themes/Helix/titleIT.xpm
+share/icewm/themes/Infadel2/Ergonomic.theme
+share/icewm/themes/Infadel2/Overloaded.theme
+share/icewm/themes/Infadel2/closeA.xpm
+share/icewm/themes/Infadel2/closeI.xpm
+share/icewm/themes/Infadel2/cursors/left.xpm
+share/icewm/themes/Infadel2/cursors/move.xpm
+share/icewm/themes/Infadel2/cursors/right.xpm
+share/icewm/themes/Infadel2/cursors/sizeB.xpm
+share/icewm/themes/Infadel2/cursors/sizeBL.xpm
+share/icewm/themes/Infadel2/cursors/sizeBR.xpm
+share/icewm/themes/Infadel2/cursors/sizeL.xpm
+share/icewm/themes/Infadel2/cursors/sizeR.xpm
+share/icewm/themes/Infadel2/cursors/sizeT.xpm
+share/icewm/themes/Infadel2/cursors/sizeTL.xpm
+share/icewm/themes/Infadel2/cursors/sizeTR.xpm
+share/icewm/themes/Infadel2/default.theme
+share/icewm/themes/Infadel2/depthA.xpm
+share/icewm/themes/Infadel2/depthI.xpm
+share/icewm/themes/Infadel2/fonts.dir.default
+share/icewm/themes/Infadel2/hideA.xpm
+share/icewm/themes/Infadel2/hideI.xpm
+share/icewm/themes/Infadel2/icons/app_16x16.xpm
+share/icewm/themes/Infadel2/icons/folder_16x16.xpm
+share/icewm/themes/Infadel2/icons/folder_32x32.xpm
+share/icewm/themes/Infadel2/mailbox/errmail.xpm
+share/icewm/themes/Infadel2/mailbox/mail.xpm
+share/icewm/themes/Infadel2/mailbox/newmail.xpm
+share/icewm/themes/Infadel2/mailbox/nomail.xpm
+share/icewm/themes/Infadel2/mailbox/unreadmail.xpm
+share/icewm/themes/Infadel2/maximizeA.xpm
+share/icewm/themes/Infadel2/maximizeI.xpm
+share/icewm/themes/Infadel2/menuButtonA.xpm
+share/icewm/themes/Infadel2/menuButtonI.xpm
+share/icewm/themes/Infadel2/minimizeA.xpm
+share/icewm/themes/Infadel2/minimizeI.xpm
+share/icewm/themes/Infadel2/restoreA.xpm
+share/icewm/themes/Infadel2/restoreI.xpm
+share/icewm/themes/Infadel2/rolldownA.xpm
+share/icewm/themes/Infadel2/rolldownI.xpm
+share/icewm/themes/Infadel2/rollupA.xpm
+share/icewm/themes/Infadel2/rollupI.xpm
+share/icewm/themes/Infadel2/snap.pcf
+share/icewm/themes/Infadel2/taskbar/linux.xpm
+share/icewm/themes/Infadel2/taskbar/start.xpm
+share/icewm/themes/Infadel2/taskbar/windows.xpm
+share/icewm/themes/Infadel2/titleAB.xpm
+share/icewm/themes/Infadel2/titleAJ.xpm
+share/icewm/themes/Infadel2/titleAM.xpm
+share/icewm/themes/Infadel2/titleAP.xpm
+share/icewm/themes/Infadel2/titleAQ.xpm
+share/icewm/themes/Infadel2/titleAR.xpm
+share/icewm/themes/Infadel2/titleAS.xpm
+share/icewm/themes/Infadel2/titleAT.xpm
+share/icewm/themes/Infadel2/titleIB.xpm
+share/icewm/themes/Infadel2/titleIJ.xpm
+share/icewm/themes/Infadel2/titleIM.xpm
+share/icewm/themes/Infadel2/titleIP.xpm
+share/icewm/themes/Infadel2/titleIQ.xpm
+share/icewm/themes/Infadel2/titleIR.xpm
+share/icewm/themes/Infadel2/titleIS.xpm
+share/icewm/themes/Infadel2/titleIT.xpm
+share/icewm/themes/NanoBlue/closeA.xpm
+share/icewm/themes/NanoBlue/closeI.xpm
+share/icewm/themes/NanoBlue/closeO.xpm
+share/icewm/themes/NanoBlue/default.theme
+share/icewm/themes/NanoBlue/dframeAB.xpm
+share/icewm/themes/NanoBlue/dframeABL.xpm
+share/icewm/themes/NanoBlue/dframeABR.xpm
+share/icewm/themes/NanoBlue/dframeAL.xpm
+share/icewm/themes/NanoBlue/dframeAR.xpm
+share/icewm/themes/NanoBlue/dframeAT.xpm
+share/icewm/themes/NanoBlue/dframeATL.xpm
+share/icewm/themes/NanoBlue/dframeATR.xpm
+share/icewm/themes/NanoBlue/dframeIB.xpm
+share/icewm/themes/NanoBlue/dframeIBL.xpm
+share/icewm/themes/NanoBlue/dframeIBR.xpm
+share/icewm/themes/NanoBlue/dframeIL.xpm
+share/icewm/themes/NanoBlue/dframeIR.xpm
+share/icewm/themes/NanoBlue/dframeIT.xpm
+share/icewm/themes/NanoBlue/dframeITL.xpm
+share/icewm/themes/NanoBlue/dframeITR.xpm
+share/icewm/themes/NanoBlue/drameAB.xpm
+share/icewm/themes/NanoBlue/drameATR.xpm
+share/icewm/themes/NanoBlue/eos.jpg
+share/icewm/themes/NanoBlue/expandA.xpm
+share/icewm/themes/NanoBlue/expandI.xpm
+share/icewm/themes/NanoBlue/expandO.xpm
+share/icewm/themes/NanoBlue/frameAB.xpm
+share/icewm/themes/NanoBlue/frameABL.xpm
+share/icewm/themes/NanoBlue/frameABR.xpm
+share/icewm/themes/NanoBlue/frameAL.xpm
+share/icewm/themes/NanoBlue/frameAR.xpm
+share/icewm/themes/NanoBlue/frameAT.xpm
+share/icewm/themes/NanoBlue/frameATL.xpm
+share/icewm/themes/NanoBlue/frameATR.xpm
+share/icewm/themes/NanoBlue/frameIB.xpm
+share/icewm/themes/NanoBlue/frameIBL.xpm
+share/icewm/themes/NanoBlue/frameIBR.xpm
+share/icewm/themes/NanoBlue/frameIL.xpm
+share/icewm/themes/NanoBlue/frameIR.xpm
+share/icewm/themes/NanoBlue/frameIT.xpm
+share/icewm/themes/NanoBlue/frameITL.xpm
+share/icewm/themes/NanoBlue/frameITR.xpm
+share/icewm/themes/NanoBlue/icons/IceWM_16x16.xpm
+share/icewm/themes/NanoBlue/icons/IceWM_32x32.xpm
+share/icewm/themes/NanoBlue/icons/app_16x16.xpm
+share/icewm/themes/NanoBlue/icons/firefox_16x16.xpm
+share/icewm/themes/NanoBlue/icons/firefox_32x32.xpm
+share/icewm/themes/NanoBlue/icons/folder_16x16.xpm
+share/icewm/themes/NanoBlue/icons/folder_32x32.xpm
+share/icewm/themes/NanoBlue/icons/gimp_16x16.xpm
+share/icewm/themes/NanoBlue/icons/gimp_32x32.xpm
+share/icewm/themes/NanoBlue/icons/mplayer_16x16.xpm
+share/icewm/themes/NanoBlue/icons/mplayer_32x32.xpm
+share/icewm/themes/NanoBlue/icons/thunderbird_16x16.xpm
+share/icewm/themes/NanoBlue/icons/thunderbird_32x32.xpm
+share/icewm/themes/NanoBlue/icons/xterm_16x16.xpm
+share/icewm/themes/NanoBlue/icons/xterm_32x32.xpm
+share/icewm/themes/NanoBlue/maximizeA.xpm
+share/icewm/themes/NanoBlue/maximizeI.xpm
+share/icewm/themes/NanoBlue/maximizeO.xpm
+share/icewm/themes/NanoBlue/menuButtonA.xpm
+share/icewm/themes/NanoBlue/menuButtonI.xpm
+share/icewm/themes/NanoBlue/menuButtonO.xpm
+share/icewm/themes/NanoBlue/menusel.xpm
+share/icewm/themes/NanoBlue/menusep.xpm
+share/icewm/themes/NanoBlue/minimizeA.xpm
+share/icewm/themes/NanoBlue/minimizeI.xpm
+share/icewm/themes/NanoBlue/minimizeO.xpm
+share/icewm/themes/NanoBlue/restoreA.xpm
+share/icewm/themes/NanoBlue/restoreI.xpm
+share/icewm/themes/NanoBlue/restoreO.xpm
+share/icewm/themes/NanoBlue/taskbar/desktop.xpm
+share/icewm/themes/NanoBlue/taskbar/icewm.xpm
+share/icewm/themes/NanoBlue/taskbar/taskbarbg.xpm
+share/icewm/themes/NanoBlue/taskbar/taskbuttonactive.xpm
+share/icewm/themes/NanoBlue/taskbar/taskbuttonbg.xpm
+share/icewm/themes/NanoBlue/taskbar/taskbuttonminimized.xpm
+share/icewm/themes/NanoBlue/taskbar/toolbuttonbg.xpm
+share/icewm/themes/NanoBlue/taskbar/windows.xpm
+share/icewm/themes/NanoBlue/taskbar/workspacebuttonactive.xpm
+share/icewm/themes/NanoBlue/taskbar/workspacebuttonbg.xpm
+share/icewm/themes/NanoBlue/titleAB.xpm
+share/icewm/themes/NanoBlue/titleAL.xpm
+share/icewm/themes/NanoBlue/titleAM.xpm
+share/icewm/themes/NanoBlue/titleAP.xpm
+share/icewm/themes/NanoBlue/titleAR.xpm
+share/icewm/themes/NanoBlue/titleAS.xpm
+share/icewm/themes/NanoBlue/titleAT.xpm
+share/icewm/themes/NanoBlue/titleIB.xpm
+share/icewm/themes/NanoBlue/titleIL.xpm
+share/icewm/themes/NanoBlue/titleIM.xpm
+share/icewm/themes/NanoBlue/titleIP.xpm
+share/icewm/themes/NanoBlue/titleIR.xpm
+share/icewm/themes/NanoBlue/titleIS.xpm
+share/icewm/themes/NanoBlue/titleIT.xpm
+share/icewm/themes/default/closeA.xpm
+share/icewm/themes/default/closeI.xpm
+share/icewm/themes/default/default.png
+share/icewm/themes/default/default.theme
+share/icewm/themes/default/depthA.xpm
+share/icewm/themes/default/depthI.xpm
+share/icewm/themes/default/hideA.xpm
+share/icewm/themes/default/hideI.xpm
+share/icewm/themes/default/maximizeA.xpm
+share/icewm/themes/default/maximizeI.xpm
+share/icewm/themes/default/menuButtonA.xpm
+share/icewm/themes/default/menuButtonI.xpm
+share/icewm/themes/default/minimizeA.xpm
+share/icewm/themes/default/minimizeI.xpm
+share/icewm/themes/default/restoreA.xpm
+share/icewm/themes/default/restoreI.xpm
+share/icewm/themes/default/rolldownA.xpm
+share/icewm/themes/default/rolldownI.xpm
+share/icewm/themes/default/rollupA.xpm
+share/icewm/themes/default/rollupI.xpm
+share/icewm/themes/icedesert/closeA.xpm
+share/icewm/themes/icedesert/closeI.xpm
+share/icewm/themes/icedesert/closeO.xpm
+share/icewm/themes/icedesert/default.theme
+share/icewm/themes/icedesert/maximizeA.xpm
+share/icewm/themes/icedesert/maximizeI.xpm
+share/icewm/themes/icedesert/maximizeO.xpm
+share/icewm/themes/icedesert/menuButtonA.xpm
+share/icewm/themes/icedesert/menuButtonI.xpm
+share/icewm/themes/icedesert/menuButtonO.xpm
+share/icewm/themes/icedesert/minimizeA.xpm
+share/icewm/themes/icedesert/minimizeI.xpm
+share/icewm/themes/icedesert/minimizeO.xpm
+share/icewm/themes/icedesert/restoreA.xpm
+share/icewm/themes/icedesert/restoreI.xpm
+share/icewm/themes/icedesert/restoreO.xpm
+share/icewm/themes/icedesert/titleAB.xpm
+share/icewm/themes/icedesert/titleAT.xpm
+share/icewm/themes/icedesert/titleIB.xpm
+share/icewm/themes/icedesert/titleIT.xpm
+share/icewm/themes/metal2/closeA.xpm
+share/icewm/themes/metal2/closeI.xpm
+share/icewm/themes/metal2/default.theme
+share/icewm/themes/metal2/depthA.xpm
+share/icewm/themes/metal2/depthI.xpm
+share/icewm/themes/metal2/dframeAB.xpm
+share/icewm/themes/metal2/dframeABL.xpm
+share/icewm/themes/metal2/dframeABR.xpm
+share/icewm/themes/metal2/dframeAL.xpm
+share/icewm/themes/metal2/dframeAR.xpm
+share/icewm/themes/metal2/dframeAT.xpm
+share/icewm/themes/metal2/dframeATL.xpm
+share/icewm/themes/metal2/dframeATR.xpm
+share/icewm/themes/metal2/dframeIB.xpm
+share/icewm/themes/metal2/dframeIBL.xpm
+share/icewm/themes/metal2/dframeIBR.xpm
+share/icewm/themes/metal2/dframeIL.xpm
+share/icewm/themes/metal2/dframeIR.xpm
+share/icewm/themes/metal2/dframeIT.xpm
+share/icewm/themes/metal2/dframeITL.xpm
+share/icewm/themes/metal2/dframeITR.xpm
+share/icewm/themes/metal2/frameAB.xpm
+share/icewm/themes/metal2/frameABL.xpm
+share/icewm/themes/metal2/frameABR.xpm
+share/icewm/themes/metal2/frameAL.xpm
+share/icewm/themes/metal2/frameAR.xpm
+share/icewm/themes/metal2/frameAT.xpm
+share/icewm/themes/metal2/frameATL.xpm
+share/icewm/themes/metal2/frameATR.xpm
+share/icewm/themes/metal2/frameIB.xpm
+share/icewm/themes/metal2/frameIBL.xpm
+share/icewm/themes/metal2/frameIBR.xpm
+share/icewm/themes/metal2/frameIL.xpm
+share/icewm/themes/metal2/frameIR.xpm
+share/icewm/themes/metal2/frameIT.xpm
+share/icewm/themes/metal2/frameITL.xpm
+share/icewm/themes/metal2/frameITR.xpm
+share/icewm/themes/metal2/hideA.xpm
+share/icewm/themes/metal2/hideI.xpm
+share/icewm/themes/metal2/maximizeA.xpm
+share/icewm/themes/metal2/maximizeI.xpm
+share/icewm/themes/metal2/menuButtonA.xpm
+share/icewm/themes/metal2/menuButtonI.xpm
+share/icewm/themes/metal2/minimizeA.xpm
+share/icewm/themes/metal2/minimizeI.xpm
+share/icewm/themes/metal2/restoreA.xpm
+share/icewm/themes/metal2/restoreI.xpm
+share/icewm/themes/metal2/rolldownA.xpm
+share/icewm/themes/metal2/rolldownI.xpm
+share/icewm/themes/metal2/rollupA.xpm
+share/icewm/themes/metal2/rollupI.xpm
+share/icewm/themes/metal2/titleAB.xpm
+share/icewm/themes/metal2/titleAL.xpm
+share/icewm/themes/metal2/titleAM.xpm
+share/icewm/themes/metal2/titleAP.xpm
+share/icewm/themes/metal2/titleAR.xpm
+share/icewm/themes/metal2/titleAS.xpm
+share/icewm/themes/metal2/titleAT.xpm
+share/icewm/themes/metal2/titleIB.xpm
+share/icewm/themes/metal2/titleIL.xpm
+share/icewm/themes/metal2/titleIM.xpm
+share/icewm/themes/metal2/titleIP.xpm
+share/icewm/themes/metal2/titleIR.xpm
+share/icewm/themes/metal2/titleIS.xpm
+share/icewm/themes/metal2/titleIT.xpm
+share/icewm/themes/motif/close.xpm
+share/icewm/themes/motif/default.theme
+share/icewm/themes/motif/maximize.xpm
+share/icewm/themes/motif/menu.xpm
+share/icewm/themes/motif/minimize.xpm
+share/icewm/themes/motif/restore.xpm
+share/icewm/themes/win95/close.xpm
+share/icewm/themes/win95/default.theme
+share/icewm/themes/win95/maximize.xpm
+share/icewm/themes/win95/minimize.xpm
+share/icewm/themes/win95/restore.xpm
+share/icewm/toolbar
+share/icewm/winoptions
+share/locale/ar/LC_MESSAGES/icewm.mo
+share/locale/ast/LC_MESSAGES/icewm.mo
+share/locale/be/LC_MESSAGES/icewm.mo
+share/locale/bg/LC_MESSAGES/icewm.mo
+share/locale/ca/LC_MESSAGES/icewm.mo
+share/locale/cs/LC_MESSAGES/icewm.mo
+share/locale/da/LC_MESSAGES/icewm.mo
+share/locale/de/LC_MESSAGES/icewm.mo
+share/locale/el/LC_MESSAGES/icewm.mo
+share/locale/en/LC_MESSAGES/icewm.mo
+share/locale/eo/LC_MESSAGES/icewm.mo
+share/locale/es/LC_MESSAGES/icewm.mo
+share/locale/fa/LC_MESSAGES/icewm.mo
+share/locale/fi/LC_MESSAGES/icewm.mo
+share/locale/fr/LC_MESSAGES/icewm.mo
+share/locale/he/LC_MESSAGES/icewm.mo
+share/locale/hr/LC_MESSAGES/icewm.mo
+share/locale/hu/LC_MESSAGES/icewm.mo
+share/locale/id/LC_MESSAGES/icewm.mo
+share/locale/it/LC_MESSAGES/icewm.mo
+share/locale/ja/LC_MESSAGES/icewm.mo
+share/locale/ko/LC_MESSAGES/icewm.mo
+share/locale/lt/LC_MESSAGES/icewm.mo
+share/locale/lv/LC_MESSAGES/icewm.mo
+share/locale/mk/LC_MESSAGES/icewm.mo
+share/locale/nb/LC_MESSAGES/icewm.mo
+share/locale/nl/LC_MESSAGES/icewm.mo
+share/locale/nn/LC_MESSAGES/icewm.mo
+share/locale/no/LC_MESSAGES/icewm.mo
+share/locale/pl/LC_MESSAGES/icewm.mo
+share/locale/pt_BR/LC_MESSAGES/icewm.mo
+share/locale/ro/LC_MESSAGES/icewm.mo
+share/locale/ru/LC_MESSAGES/icewm.mo
+share/locale/sk/LC_MESSAGES/icewm.mo
+share/locale/sl/LC_MESSAGES/icewm.mo
+share/locale/sv/LC_MESSAGES/icewm.mo
+share/locale/tr/LC_MESSAGES/icewm.mo
+share/locale/uk/LC_MESSAGES/icewm.mo
+share/locale/vi/LC_MESSAGES/icewm.mo
+share/locale/zh_CN/LC_MESSAGES/icewm.mo
+share/locale/zh_TW/LC_MESSAGES/icewm.mo
+share/man/man1/icewm.1
+share/xsessions/icewm-session.desktop
+share/xsessions/icewm.desktop
diff --git a/icewm17/distinfo b/icewm17/distinfo
new file mode 100644
index 0000000000..318aae25a9
--- /dev/null
+++ b/icewm17/distinfo
@@ -0,0 +1,15 @@
+$NetBSD: distinfo,v 1.4 2019/12/10 19:22:36 plunky Exp $
+
+SHA1 (icewm-1.4.2.tar.bz2) = d1f9af531fec7beaa334db9c0e4764b9e40bbacd
+RMD160 (icewm-1.4.2.tar.bz2) = 6aaabad0c235901556951c9d88178adf15e29f51
+SHA512 (icewm-1.4.2.tar.bz2) = 0d227d75d2e3e6e5314eb0990375b85a34496e61e8b504ee023decb52b0c3a20bfd65c0d491b738d3742ddf3f21acfabfc8e4d43df51d137f568580b6c5ed0cd
+Size (icewm-1.4.2.tar.bz2) = 1731772 bytes
+SHA1 (patch-src_CMakeLists.txt) = 87a236a6d53937921ffca0044b1497124f8a9d83
+SHA1 (patch-src_acpustatus.cc) = 7c47b9e7690db4f011c2cfee3c7d5e36080b4b6a
+SHA1 (patch-src_base.h) = 5321f1f1f8fd1ced2c5f38a7e5e614deee4703df
+SHA1 (patch-src_icesm.cc) = c7fa247c395bb36307b7757a8c2698b62b7d0a6e
+SHA1 (patch-src_icetray.cc) = a8e70da376e13be187037f190c672b8b75fd287b
+SHA1 (patch-src_wmapp.cc) = fdabb4348c1dc55d390c942f34aa0fb597f49fc0
+SHA1 (patch-src_wpixres.cc) = aeb0b6423a48e0f3b4074baa2a0a0c9e52e9d8ed
+SHA1 (patch-src_yapp.cc) = f3c8e1d6d0830d4b95d131af37a1f394737a3c48
+SHA1 (patch-src_ylocale.cc) = 099296135053df781bd3755f9947d34d52fd3020
diff --git a/icewm17/patches/patch-src_CMakeLists.txt b/icewm17/patches/patch-src_CMakeLists.txt
new file mode 100644
index 0000000000..98641378a8
--- /dev/null
+++ b/icewm17/patches/patch-src_CMakeLists.txt
@@ -0,0 +1,30 @@
+$NetBSD: patch-src_CMakeLists.txt,v 1.2 2018/11/28 16:24:54 jperkin Exp $
+
+--- src/CMakeLists.txt.orig	2017-07-30 08:53:35.524267864 +0000
++++ src/CMakeLists.txt
+@@ -47,6 +47,7 @@ ENDIF()
+ if(ENABLE_NLS OR CONFIG_I18N)
+ 	find_library(CONFIG_LIBICONV iconv)
+ 	if(CONFIG_LIBICONV)
++        	SET(CXXFLAGS_COMMON "${CXXFLAGS_COMMON} -DCONFIG_LIBICONV")
+ 		LIST(APPEND nls_LIBS iconv)
+ 	endif()
+ 	find_library(CONFIG_LIBINTL intl)
+@@ -338,7 +339,7 @@ set(icewm_libs ${sm_LIBS} ${nls_LIBS} ${
+ TARGET_LINK_LIBRARIES(icewm${EXEEXT} ${icewm_libs})
+ 
+ ADD_EXECUTABLE(genpref${EXEEXT} genpref.cc misc.cc)
+-TARGET_LINK_LIBRARIES(genpref${EXEEXT} ${EXTRA_LIBS})
++TARGET_LINK_LIBRARIES(genpref${EXEEXT} ${nls_LIBS} ${EXTRA_LIBS})
+ 
+ IF(CONFIG_FDO_MENUS)
+ ADD_EXECUTABLE(icewm-menu-fdo${EXEEXT} fdomenu.cc misc.cc)
+@@ -387,7 +388,7 @@ if(NOT CMAKE_CROSSCOMPILING)
+    ADD_CUSTOM_COMMAND(TARGET genpref${EXEEXT}
+       POST_BUILD
+       COMMAND ${CMAKE_COMMAND} -E make_directory ${CMAKE_BINARY_DIR}/lib
+-      COMMAND genpref${EXEEXT} > lib/preferences
++      COMMAND genpref${EXEEXT} > ${CMAKE_BINARY_DIR}/lib/preferences
+       WORKING_DIRECTORY ${CMAKE_BINARY_DIR})
+    INSTALL(FILES ${CMAKE_BINARY_DIR}/lib/preferences DESTINATION ${LIBDIR})
+ endif()
diff --git a/icewm17/patches/patch-src_acpustatus.cc b/icewm17/patches/patch-src_acpustatus.cc
new file mode 100644
index 0000000000..609077a2d3
--- /dev/null
+++ b/icewm17/patches/patch-src_acpustatus.cc
@@ -0,0 +1,58 @@
+$NetBSD: patch-src_acpustatus.cc,v 1.1 2019/12/10 19:22:36 plunky Exp $
+
+fix CPU Status applet
+
+--- src/acpustatus.cc.orig	2017-07-30 08:53:35.524267864 +0000
++++ src/acpustatus.cc
+@@ -305,20 +305,15 @@ void CPUStatus::updateToolTip() {
+         }
+         setToolTip(ustring(fmt));
+     }
+-#elif defined HAVE_GETLOADAVG2
+-    char load[sizeof("999.99 999.99 999.99")];
++#elif defined HAVE_GETLOADAVG
++    char fmt[255];
+     double loadavg[3];
+     if (getloadavg(loadavg, 3) < 0)
+         return;
+-    snprintf(load, sizeof(load), "%3.2g %3.2g %3.2g",
+-            loadavg[0], loadavg[1], loadavg[2]);
+-    {
+-        char id[10];
+-        snprintf(id, sizeof[id], " %d ", cpuid);
+-        char *loadmsg = cstrJoin(_("CPU"), id ,_("Load: "), load, NULL);
+-        setToolTip(ustring(loadmsg));
+-        delete [] loadmsg;
+-    }
++    snprintf(fmt, sizeof(fmt), "%s %s %s: %3.2g %3.2g %3.2g",
++	    _("CPU"), cpuid,
++            _("Load"), loadavg[0], loadavg[1], loadavg[2]);
++    setToolTip(ustring(fmt));
+ #endif
+ }
+ 
+@@ -634,6 +629,7 @@ void CPUStatus::getStatus() {
+ #else
+     typedef long cp_time_t;
+ #endif
++#ifndef HAVE_SYSCTLBYNAME
+ #if defined KERN_CPTIME
+     static int mib[] = { CTL_KERN, KERN_CPTIME };
+ #elif defined KERN_CP_TIME
+@@ -641,6 +637,7 @@ void CPUStatus::getStatus() {
+ #else
+     static int mib[] = { 0, 0 };
+ #endif
++#endif
+ 
+     cp_time_t cp_time[CPUSTATES];
+     size_t len = sizeof( cp_time );
+@@ -713,7 +710,7 @@ void CPUStatus::GetCPUStatus(YSMListener
+         CPUStatus::getCPUStatusCombined(aParent, fCPUStatus);
+     }
+ #elif defined(HAVE_SYSCTL_CP_TIME)
+-    CPUStatus::getCPUStatusCombined(aParent, fCPUStatus);
++    CPUStatus::getCPUStatusCombined(smActionListener, aParent, fCPUStatus);
+ #endif
+ }
+ void CPUStatus::getCPUStatusCombined(YSMListener *smActionListener, YWindow *aParent, CPUStatus **&fCPUStatus) {
diff --git a/icewm17/patches/patch-src_base.h b/icewm17/patches/patch-src_base.h
new file mode 100644
index 0000000000..e3d71bc748
--- /dev/null
+++ b/icewm17/patches/patch-src_base.h
@@ -0,0 +1,24 @@
+$NetBSD: patch-src_base.h,v 1.1 2018/11/01 09:25:29 bsiegert Exp $
+
+--- src/base.h.orig	2017-07-30 08:53:35.000000000 +0000
++++ src/base.h
+@@ -2,6 +2,7 @@
+ #define __BASE_H
+ 
+ #include <stddef.h>
++#include <string.h>
+ 
+ #ifndef __GNUC__
+ #define __attribute__(a)
+@@ -43,11 +44,6 @@ inline T abs(T v) {
+ 
+ /*** String Functions *********************************************************/
+ 
+-/* Prefer this as a safer alternative over strcpy. Return strlen(from). */
+-size_t strlcpy(char *dest, const char *from, size_t dest_size);
+-/* Prefer this over strcat. Return strlen(dest) + strlen(from). */
+-size_t strlcat(char *dest, const char *from, size_t dest_size);
+-
+ char *newstr(char const *str);
+ char *newstr(char const *str, int len);
+ char *newstr(char const *str, char const *delim);
diff --git a/icewm17/patches/patch-src_icesm.cc b/icewm17/patches/patch-src_icesm.cc
new file mode 100644
index 0000000000..856d7fb698
--- /dev/null
+++ b/icewm17/patches/patch-src_icesm.cc
@@ -0,0 +1,13 @@
+$NetBSD: patch-src_icesm.cc,v 1.1 2018/11/01 09:25:29 bsiegert Exp $
+
+--- src/icesm.cc.orig	2017-07-30 08:53:35.000000000 +0000
++++ src/icesm.cc
+@@ -9,6 +9,8 @@
+ #include <wordexp.h>
+ #endif
+ 
++#include <signal.h>
++
+ char const *ApplicationName = ICESMEXE;
+ 
+ class SessionManager: public YApplication {
diff --git a/icewm17/patches/patch-src_icetray.cc b/icewm17/patches/patch-src_icetray.cc
new file mode 100644
index 0000000000..3db2803e76
--- /dev/null
+++ b/icewm17/patches/patch-src_icetray.cc
@@ -0,0 +1,13 @@
+$NetBSD: patch-src_icetray.cc,v 1.1 2018/11/01 09:25:29 bsiegert Exp $
+
+--- src/icetray.cc.orig	2017-07-30 08:53:35.000000000 +0000
++++ src/icetray.cc
+@@ -10,6 +10,8 @@
+ #include "yprefs.h"
+ #include "yconfig.h"
+ 
++#include <signal.h>
++
+ char const *ApplicationName = "icewmtray";
+ 
+ #ifdef CONFIG_TASKBAR
diff --git a/icewm17/patches/patch-src_wmapp.cc b/icewm17/patches/patch-src_wmapp.cc
new file mode 100644
index 0000000000..29ba372337
--- /dev/null
+++ b/icewm17/patches/patch-src_wmapp.cc
@@ -0,0 +1,13 @@
+$NetBSD: patch-src_wmapp.cc,v 1.1 2018/11/01 09:25:29 bsiegert Exp $
+
+--- src/wmapp.cc.orig	2017-07-30 08:53:35.000000000 +0000
++++ src/wmapp.cc
+@@ -43,6 +43,8 @@
+ #include "ypointer.h"
+ #include "intl.h"
+ 
++#include <signal.h>
++
+ char const *ApplicationName("IceWM");
+ int rebootOrShutdown = 0;
+ static bool initializing(true);
diff --git a/icewm17/patches/patch-src_wpixres.cc b/icewm17/patches/patch-src_wpixres.cc
new file mode 100644
index 0000000000..81976facfc
--- /dev/null
+++ b/icewm17/patches/patch-src_wpixres.cc
@@ -0,0 +1,18 @@
+$NetBSD: patch-src_wpixres.cc,v 1.1 2018/11/01 09:25:29 bsiegert Exp $
+
+Use The BSD Daemon instead of Tux on *BSD.
+
+--- src/wpixres.cc.orig	2017-07-30 08:53:35.000000000 +0000
++++ src/wpixres.cc
+@@ -294,7 +294,11 @@ static const PixmapResource taskbar2PixR
+ #endif
+ 
+     PixmapResource(taskbarStartImage, "start.xpm", "icewm.xpm"),
++#if defined(__NetBSD__) || defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__DragonFly__)
++    PixmapResource(taskbarLinuxImage, "bsd-daemon.xpm"),
++#else
+     PixmapResource(taskbarLinuxImage, "linux.xpm"),     // deprecated
++#endif
+     PixmapResource(taskbarWindowsImage, "windows.xpm"),
+     PixmapResource(taskbarShowDesktopImage, "desktop.xpm"),
+     PixmapResource(taskbarCollapseImage, "collapse.xpm"),
diff --git a/icewm17/patches/patch-src_yapp.cc b/icewm17/patches/patch-src_yapp.cc
new file mode 100644
index 0000000000..ce8be88caf
--- /dev/null
+++ b/icewm17/patches/patch-src_yapp.cc
@@ -0,0 +1,13 @@
+$NetBSD: patch-src_yapp.cc,v 1.1 2018/11/01 09:25:29 bsiegert Exp $
+
+--- src/yapp.cc.orig	2017-07-30 08:53:35.000000000 +0000
++++ src/yapp.cc
+@@ -20,6 +20,8 @@
+ #include <sys/signalfd.h>
+ #endif
+ 
++#include <signal.h>
++
+ // FIXME: get rid of this global
+ extern char const *ApplicationName;
+ char const *&YApplication::Name = ApplicationName;
diff --git a/icewm17/patches/patch-src_ylocale.cc b/icewm17/patches/patch-src_ylocale.cc
new file mode 100644
index 0000000000..e42d9f9bc5
--- /dev/null
+++ b/icewm17/patches/patch-src_ylocale.cc
@@ -0,0 +1,40 @@
+$NetBSD: patch-src_ylocale.cc,v 1.2 2019/10/25 10:21:32 kamil Exp $
+
+--- src/ylocale.cc.orig	2017-07-30 08:53:35.524267864 +0000
++++ src/ylocale.cc
+@@ -28,6 +28,14 @@
+ #include "ylib.h"
+ #include "yprefs.h"
+ 
++#if defined(__NetBSD__)
++#include <sys/param.h>
++#if __NetBSD_Prereq__(9,99,17)
++#define NETBSD_POSIX_ICONV 1
++#else
++#define NETBSD_POSIX_ICONV 0
++#endif
++#endif
+ 
+ #ifdef CONFIG_I18N
+ YLocale * YLocale::instance(NULL);
+@@ -55,6 +63,8 @@ YLocale::YLocale(char const * localeName
+     int const codesetItems[] = {
+ #ifdef CONFIG_NL_CODESETS
+ 	CONFIG_NL_CODESETS
++#elif !defined(__GLIBC__)
++	CODESET, 0
+ #else
+ 	CODESET, _NL_CTYPE_CODESET_NAME, 0
+ #endif
+@@ -159,7 +169,11 @@ YUChar *YLocale::unicodeString(const YLC
+     char * inbuf((char *) lStr), * outbuf((char *) uStr);
+     size_t inlen(lLen), outlen(4 * lLen);
+ 
++#if (defined(__NetBSD__) && !NETBSD_POSIX_ICONV) || defined(__sun)
++    if (0 > (int) iconv(instance->toUnicode, const_cast<const char **>(&inbuf), &inlen, &outbuf, &outlen))
++#else
+     if (0 > (int) iconv(instance->toUnicode, &inbuf, &inlen, &outbuf, &outlen))
++#endif
+         warn(_("Invalid multibyte string \"%s\": %s"), lStr, strerror(errno));
+ 
+     *((YUChar *) outbuf) = 0;


Home | Main Index | Thread Index | Old Index