pkgsrc-WIP-changes archive

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

Add (non-working) package for IceWM 1.4.2.



Module Name:	pkgsrc-wip
Committed By:	Benny Siegert <bsiegert%gmail.com@localhost>
Pushed By:	bsiegert
Date:		Tue Oct 30 14:26:47 2018 +0100
Changeset:	67c86adbb82dd2005b3a02c02c7286ae300d876e

Added Files:
	icewm14/DESCR
	icewm14/Makefile
	icewm14/PLIST
	icewm14/distinfo
	icewm14/patches/patch-src_base.h
	icewm14/patches/patch-src_wmapp.cc
	icewm14/patches/patch-src_wpixres.cc
	icewm14/patches/patch-src_yapp.cc
	icewm14/patches/patch-src_ylocale.cc

Log Message:
Add (non-working) package for IceWM 1.4.2.

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

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

diffstat:
 icewm14/DESCR                        |  13 ++
 icewm14/Makefile                     |  31 ++++
 icewm14/PLIST                        | 305 +++++++++++++++++++++++++++++++++++
 icewm14/distinfo                     |  11 ++
 icewm14/patches/patch-src_base.h     |  24 +++
 icewm14/patches/patch-src_wmapp.cc   |  13 ++
 icewm14/patches/patch-src_wpixres.cc |  18 +++
 icewm14/patches/patch-src_yapp.cc    |  13 ++
 icewm14/patches/patch-src_ylocale.cc |  25 +++
 9 files changed, 453 insertions(+)

diffs:
diff --git a/icewm14/DESCR b/icewm14/DESCR
new file mode 100644
index 0000000000..42be45eea0
--- /dev/null
+++ b/icewm14/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.3 branch release.
diff --git a/icewm14/Makefile b/icewm14/Makefile
new file mode 100644
index 0000000000..67d8e02e1a
--- /dev/null
+++ b/icewm14/Makefile
@@ -0,0 +1,31 @@
+# $NetBSD: Makefile,v 1.6 2018/07/18 00:06:24 joerg Exp $
+
+DISTNAME=	icewm-1.4.2
+CATEGORIES=	wm
+MASTER_SITES=	${MASTER_SITE_GITHUB:=bbidulock/}
+GITHUB_RELEASE=	${PKGVERSION_NOREV}
+EXTRACT_SUFX=	.tar.bz2
+
+MAINTAINER=	ryoon%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
+
+GNU_CONFIGURE=	yes
+#USE_CMAKE=	yes
+USE_LANGUAGES=	c c++03
+USE_TOOLS+=	msgfmt pkg-config
+
+post-extract:
+	cp ${FILESDIR}/bsd-daemon.xpm ${WRKSRC}/lib/taskbar
+
+.include "../../converters/libiconv/buildlink3.mk"
+.include "../../graphics/gdk-pixbuf2-xlib/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/icewm14/PLIST b/icewm14/PLIST
new file mode 100644
index 0000000000..5c9818d566
--- /dev/null
+++ b/icewm14/PLIST
@@ -0,0 +1,305 @@
+@comment $NetBSD: PLIST,v 1.1 2014/01/05 12:33:26 ryoon Exp $
+bin/icehelp
+bin/icesh
+bin/icewm
+bin/icewm-session
+bin/icewm-set-gnomewm
+bin/icewmbg
+bin/icewmhint
+bin/icewmtray
+share/icewm/icons/app_16x16.xpm
+share/icewm/icons/app_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/folder_16x16.xpm
+share/icewm/icons/folder_32x32.xpm
+share/icewm/icons/fte_16x16.xpm
+share/icewm/icons/fte_32x32.xpm
+share/icewm/icons/java_16x16.xpm
+share/icewm/icons/java_32x32.xpm
+share/icewm/icons/vim_16x16.xpm
+share/icewm/icons/vim_32x32.xpm
+share/icewm/icons/vim_48x48.xpm
+share/icewm/icons/xterm_16x16.xpm
+share/icewm/icons/xterm_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/taskbar/bsd-daemon.xpm
+share/icewm/taskbar/collapse.xpm
+share/icewm/taskbar/desktop.xpm
+share/icewm/taskbar/expand.xpm
+share/icewm/taskbar/start.xpm
+share/icewm/taskbar/windows.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
+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/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/gtk2/closeA.xpm
+share/icewm/themes/gtk2/closeI.xpm
+share/icewm/themes/gtk2/default.theme
+share/icewm/themes/gtk2/maximizeA.xpm
+share/icewm/themes/gtk2/maximizeI.xpm
+share/icewm/themes/gtk2/menuButtonA.xpm
+share/icewm/themes/gtk2/menuButtonI.xpm
+share/icewm/themes/gtk2/minimizeA.xpm
+share/icewm/themes/gtk2/minimizeI.xpm
+share/icewm/themes/gtk2/restoreA.xpm
+share/icewm/themes/gtk2/restoreI.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/nice/blue.theme
+share/icewm/themes/nice/close.xpm
+share/icewm/themes/nice/default.theme
+share/icewm/themes/nice/hide.xpm
+share/icewm/themes/nice/maximize.xpm
+share/icewm/themes/nice/minimize.xpm
+share/icewm/themes/nice/restore.xpm
+share/icewm/themes/nice/rolldown.xpm
+share/icewm/themes/nice/rollup.xpm
+share/icewm/themes/nice2/closeA.xpm
+share/icewm/themes/nice2/closeI.xpm
+share/icewm/themes/nice2/default.theme
+share/icewm/themes/nice2/maximizeA.xpm
+share/icewm/themes/nice2/maximizeI.xpm
+share/icewm/themes/nice2/menuButtonA.xpm
+share/icewm/themes/nice2/menuButtonI.xpm
+share/icewm/themes/nice2/minimizeA.xpm
+share/icewm/themes/nice2/minimizeI.xpm
+share/icewm/themes/nice2/restoreA.xpm
+share/icewm/themes/nice2/restoreI.xpm
+share/icewm/themes/nice2/titleAB.xpm
+share/icewm/themes/nice2/titleAT.xpm
+share/icewm/themes/nice2/titleIB.xpm
+share/icewm/themes/nice2/titleIT.xpm
+share/icewm/themes/warp3/close.xpm
+share/icewm/themes/warp3/default.theme
+share/icewm/themes/warp3/hide.xpm
+share/icewm/themes/warp3/maximize.xpm
+share/icewm/themes/warp3/minimize.xpm
+share/icewm/themes/warp3/restore.xpm
+share/icewm/themes/warp3/rolldown.xpm
+share/icewm/themes/warp3/rollup.xpm
+share/icewm/themes/warp4/close.xpm
+share/icewm/themes/warp4/default.theme
+share/icewm/themes/warp4/hide.xpm
+share/icewm/themes/warp4/maximize.xpm
+share/icewm/themes/warp4/minimize.xpm
+share/icewm/themes/warp4/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/themes/yellowmotif/close.xpm
+share/icewm/themes/yellowmotif/default.theme
+share/icewm/themes/yellowmotif/maximize.xpm
+share/icewm/themes/yellowmotif/menu.xpm
+share/icewm/themes/yellowmotif/minimize.xpm
+share/icewm/themes/yellowmotif/restore.xpm
+share/icewm/toolbar
+share/icewm/winoptions
+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/es/LC_MESSAGES/icewm.mo
+share/locale/fi/LC_MESSAGES/icewm.mo
+share/locale/fr/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/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
diff --git a/icewm14/distinfo b/icewm14/distinfo
new file mode 100644
index 0000000000..a08ce7b78e
--- /dev/null
+++ b/icewm14/distinfo
@@ -0,0 +1,11 @@
+$NetBSD: distinfo,v 1.2 2015/11/02 23:42:52 agc 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_base.h) = 5321f1f1f8fd1ced2c5f38a7e5e614deee4703df
+SHA1 (patch-src_wmapp.cc) = fdabb4348c1dc55d390c942f34aa0fb597f49fc0
+SHA1 (patch-src_wpixres.cc) = aeb0b6423a48e0f3b4074baa2a0a0c9e52e9d8ed
+SHA1 (patch-src_yapp.cc) = f3c8e1d6d0830d4b95d131af37a1f394737a3c48
+SHA1 (patch-src_ylocale.cc) = 72f29d57d3f238c41fa93997724cc7cc8fd5f6f6
diff --git a/icewm14/patches/patch-src_base.h b/icewm14/patches/patch-src_base.h
new file mode 100644
index 0000000000..8303ff99d1
--- /dev/null
+++ b/icewm14/patches/patch-src_base.h
@@ -0,0 +1,24 @@
+$NetBSD$
+
+--- 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/icewm14/patches/patch-src_wmapp.cc b/icewm14/patches/patch-src_wmapp.cc
new file mode 100644
index 0000000000..9dae83738f
--- /dev/null
+++ b/icewm14/patches/patch-src_wmapp.cc
@@ -0,0 +1,13 @@
+$NetBSD$
+
+--- 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/icewm14/patches/patch-src_wpixres.cc b/icewm14/patches/patch-src_wpixres.cc
new file mode 100644
index 0000000000..31daaa036f
--- /dev/null
+++ b/icewm14/patches/patch-src_wpixres.cc
@@ -0,0 +1,18 @@
+$NetBSD$
+
+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/icewm14/patches/patch-src_yapp.cc b/icewm14/patches/patch-src_yapp.cc
new file mode 100644
index 0000000000..1fb394666a
--- /dev/null
+++ b/icewm14/patches/patch-src_yapp.cc
@@ -0,0 +1,13 @@
+$NetBSD$
+
+--- 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/icewm14/patches/patch-src_ylocale.cc b/icewm14/patches/patch-src_ylocale.cc
new file mode 100644
index 0000000000..007f37babc
--- /dev/null
+++ b/icewm14/patches/patch-src_ylocale.cc
@@ -0,0 +1,25 @@
+$NetBSD: patch-src_ylocale.cc,v 1.1 2014/01/05 12:33:26 ryoon Exp $
+
+--- src/ylocale.cc.orig	2017-07-30 08:53:35.000000000 +0000
++++ src/ylocale.cc
+@@ -55,6 +55,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 +161,11 @@ YUChar *YLocale::unicodeString(const YLC
+     char * inbuf((char *) lStr), * outbuf((char *) uStr);
+     size_t inlen(lLen), outlen(4 * lLen);
+ 
++#if defined(__NetBSD__) || 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