Subject: pkg/24012: new package x11/xnodecor
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <ishit@pluto.dti.ne.jp>
List: netbsd-bugs
Date: 01/07/2004 15:59:18
>Number:         24012
>Category:       pkg
>Synopsis:       new package x11/xnodecor
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Wed Jan 07 16:00:01 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     ISIHARA Takanori
>Release:        NetBSD/i386 1.6.2_RC3
>Organization:
Nagoya *BSD Users' Group :-)
>Environment:
NetBSD ishitPc2.home 1.6.2_RC3 NetBSD 1.6.2_RC3 (GENERIC_LAPTOP) #0: Fri Nov 28 12:26:46 UTC 2003     autobuild@tgm.netbsd.org:/autobuild/netbsd-1-6-PATCH002-RC3/i386/OBJ/autobuild/netbsd-1-6-PATCH002-RC3/src/sys/arch/i386/compile/GENERIC_LAPTOP i386

>Description:
I convert FreeBSD port x11/xnodecor to pkgsrc.
I submit it.

>How-To-Repeat:

>Fix:
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	.
#	./Makefile
#	./patches
#	./patches/patch-aa
#	./PLIST
#	./files
#	./files/Makefile
#	./DESCR
#	./distinfo
#
echo c - .
mkdir -p . > /dev/null 2>&1
echo x - ./Makefile
sed 's/^X//' >./Makefile << 'END-of-./Makefile'
X# $NetBSD$
X# FreeBSD Id: ports/x11/xnodecor/Makefile,v 1.2 2003/09/09 09:17:20 erwin Exp
X
XDISTNAME=	xnodecor-0.1
XCATEGORIES=	x11
XMASTER_SITES=	ftp://ftp.42.org/pub/wmx/contrib/
XDISTFILES=	xnodecor.c
X
XMAINTAINER=	packages@NetBSD.org
XCOMMENT=        Borderless or undecorated window support utilty
X
XUSE_X11BASE=   yes
XNO_CONFIGURE=   yes
X
Xdo-extract:
X	@${MKDIR} ${WRKSRC}
X	${CP} ${FILESDIR}/Makefile ${WRKSRC}
X	${CP} ${DISTDIR}/${DISTFILES} ${WRKSRC}
X
X.include "../../mk/bsd.pkg.mk"
END-of-./Makefile
echo c - ./patches
mkdir -p ./patches > /dev/null 2>&1
echo x - ./patches/patch-aa
sed 's/^X//' >./patches/patch-aa << 'END-of-./patches/patch-aa'
X$NetBSD$
X
X+++ xnodecor.c
X@@ -39,6 +39,7 @@
X #include <stdlib.h>
X #include <string.h>
X #include <stdio.h>
X+#include <unistd.h>
X  
X #define WAIT_DEFAULT	0
X #define WAIT_TIMEOUT	15
END-of-./patches/patch-aa
echo x - ./PLIST
sed 's/^X//' >./PLIST << 'END-of-./PLIST'
X@comment $NetBSD$
Xbin/xnodecor
END-of-./PLIST
echo c - ./files
mkdir -p ./files > /dev/null 2>&1
echo x - ./files/Makefile
sed 's/^X//' >./files/Makefile << 'END-of-./files/Makefile'
X# $FreeBSD: ports/x11/xnodecor/files/Makefile,v 1.1 2003/09/08 07:08:14 edwin Exp $
XCFLAGS=		-I${X11BASE}/include
XLDFLAGS=	-L${X11BASE}/lib
XLIBS=		-Wl,-R${X11BASE}/lib -lX11
X
Xall:	xnodecor
X
Xxnodecor:
X	$(CC) -o xnodecor xnodecor.c $(CFLAGS) $(LDFLAGS) $(LIBS)
X
Xinstall:
X	${BSD_INSTALL_PROGRAM} xnodecor ${PREFIX}/bin
X
Xclean:
X	rm -f *.rej a.out core xnodecor
END-of-./files/Makefile
echo x - ./DESCR
sed 's/^X//' >./DESCR << 'END-of-./DESCR'
XThis program sets attribute "override_redirect" to True for any window
Xyou've specified (using window name). Window Managers should ignore
Xsuch windows; it's useful, for example, if you're using wmx Window Manager,
Xand want to have a clock on every virtual screen and without any
Xborders. Just add the following string to your X-startfile (after
Xstarting watch app):
X
X  xnodecor -w watch
X
X(assuming that your watch application has a window named "watch")
END-of-./DESCR
echo x - ./distinfo
sed 's/^X//' >./distinfo << 'END-of-./distinfo'
X$NetBSD$
X
XSHA1 (xnodecor.c) = 612c75dfc5f2bf2b4fb245ae8f724c0c591ce469
XSize (xnodecor.c) = 3838 bytes
XSHA1 (patch-aa) = 8c8077214bae1a72db099cffdffc18c15d1c3390
END-of-./distinfo
exit

>Release-Note:
>Audit-Trail:
>Unformatted: