From f4236e36a3b70e96cc24450d1bb54ef6ace40fdb Mon Sep 17 00:00:00 2001 From: kristerw Date: Wed, 21 Jan 2004 21:04:43 +0000 Subject: Initial import of xnodecor-0.1 This program sets attribute "override_redirect" to True for any window you've specified (using window name). Window Managers should ignore such windows; it's useful, for example, if you're using wmx Window Manager, and want to have a clock on every virtual screen and without any borders. From FreeBSD ports via ISIHARA Takanori in PR pkg/24012. --- x11/xnodecor/DESCR | 10 ++++++++++ x11/xnodecor/Makefile | 22 ++++++++++++++++++++++ x11/xnodecor/PLIST | 2 ++ x11/xnodecor/distinfo | 5 +++++ x11/xnodecor/files/Makefile | 13 +++++++++++++ x11/xnodecor/patches/patch-aa | 12 ++++++++++++ 6 files changed, 64 insertions(+) create mode 100644 x11/xnodecor/DESCR create mode 100644 x11/xnodecor/Makefile create mode 100644 x11/xnodecor/PLIST create mode 100644 x11/xnodecor/distinfo create mode 100644 x11/xnodecor/files/Makefile create mode 100644 x11/xnodecor/patches/patch-aa (limited to 'x11/xnodecor') diff --git a/x11/xnodecor/DESCR b/x11/xnodecor/DESCR new file mode 100644 index 00000000000..1b7a60974e5 --- /dev/null +++ b/x11/xnodecor/DESCR @@ -0,0 +1,10 @@ +This program sets attribute "override_redirect" to True for any window +you've specified (using window name). Window Managers should ignore +such windows; it's useful, for example, if you're using wmx Window Manager, +and want to have a clock on every virtual screen and without any +borders. Just add the following string to your X-startfile (after +starting watch app): + + xnodecor -w watch + +(assuming that your watch application has a window named "watch") diff --git a/x11/xnodecor/Makefile b/x11/xnodecor/Makefile new file mode 100644 index 00000000000..a7bcbc2a02d --- /dev/null +++ b/x11/xnodecor/Makefile @@ -0,0 +1,22 @@ +# $NetBSD: Makefile,v 1.1.1.1 2004/01/21 21:04:43 kristerw Exp $ +# FreeBSD Id: ports/x11/xnodecor/Makefile,v 1.2 2003/09/09 09:17:20 erwin Exp + +DISTNAME= xnodecor-0.1 +CATEGORIES= x11 +MASTER_SITES= ftp://ftp.42.org/pub/wmx/contrib/ +DISTFILES= xnodecor.c + +MAINTAINER= tech-pkg@NetBSD.org +HOMEPAGE= # none +COMMENT= Borderless or undecorated window support utilty + +USE_BUILDLINK2= yes +USE_X11BASE= yes +NO_CONFIGURE= yes + +do-extract: + @${MKDIR} ${WRKSRC} + ${CP} ${FILESDIR}/Makefile ${WRKSRC} + ${CP} ${DISTDIR}/${DISTFILES} ${WRKSRC} + +.include "../../mk/bsd.pkg.mk" diff --git a/x11/xnodecor/PLIST b/x11/xnodecor/PLIST new file mode 100644 index 00000000000..783a80f50db --- /dev/null +++ b/x11/xnodecor/PLIST @@ -0,0 +1,2 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2004/01/21 21:04:43 kristerw Exp $ +bin/xnodecor diff --git a/x11/xnodecor/distinfo b/x11/xnodecor/distinfo new file mode 100644 index 00000000000..e89d81b5509 --- /dev/null +++ b/x11/xnodecor/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1.1.1 2004/01/21 21:04:43 kristerw Exp $ + +SHA1 (xnodecor.c) = 612c75dfc5f2bf2b4fb245ae8f724c0c591ce469 +Size (xnodecor.c) = 3838 bytes +SHA1 (patch-aa) = 8c8077214bae1a72db099cffdffc18c15d1c3390 diff --git a/x11/xnodecor/files/Makefile b/x11/xnodecor/files/Makefile new file mode 100644 index 00000000000..59fa340a9bb --- /dev/null +++ b/x11/xnodecor/files/Makefile @@ -0,0 +1,13 @@ +# $NetBSD: Makefile,v 1.1.1.1 2004/01/21 21:04:43 kristerw Exp $ +# $FreeBSD: ports/x11/xnodecor/files/Makefile,v 1.1 2003/09/08 07:08:14 edwin Exp $ + +all: xnodecor + +xnodecor: + $(CC) -o xnodecor xnodecor.c $(CFLAGS) $(LDFLAGS) $(LIBS) -lX11 + +install: + ${BSD_INSTALL_PROGRAM} xnodecor ${PREFIX}/bin + +clean: + rm -f *.rej a.out core xnodecor diff --git a/x11/xnodecor/patches/patch-aa b/x11/xnodecor/patches/patch-aa new file mode 100644 index 00000000000..f0075df5520 --- /dev/null +++ b/x11/xnodecor/patches/patch-aa @@ -0,0 +1,12 @@ +$NetBSD: patch-aa,v 1.1.1.1 2004/01/21 21:04:43 kristerw Exp $ + +--- xnodecor.c.orig Wed Jan 7 00:44:25 2004 ++++ xnodecor.c +@@ -39,6 +39,7 @@ + #include + #include + #include ++#include + + #define WAIT_DEFAULT 0 + #define WAIT_TIMEOUT 15 -- cgit v1.2.3