summaryrefslogtreecommitdiff
path: root/x11/xnodecor
diff options
context:
space:
mode:
authorkristerw <kristerw@pkgsrc.org>2004-01-21 21:04:43 +0000
committerkristerw <kristerw@pkgsrc.org>2004-01-21 21:04:43 +0000
commite6ffe88928ddf10b4216fe3b597ba981ce178730 (patch)
tree0c2eaa0f2cc56fd6ade21e00a4b7c72a2d2d4993 /x11/xnodecor
parent15352b25c711d4439490b56e9c055a7394d34b27 (diff)
downloadpkgsrc-e6ffe88928ddf10b4216fe3b597ba981ce178730.tar.gz
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.
Diffstat (limited to 'x11/xnodecor')
-rw-r--r--x11/xnodecor/DESCR10
-rw-r--r--x11/xnodecor/Makefile22
-rw-r--r--x11/xnodecor/PLIST2
-rw-r--r--x11/xnodecor/distinfo5
-rw-r--r--x11/xnodecor/files/Makefile13
-rw-r--r--x11/xnodecor/patches/patch-aa12
6 files changed, 64 insertions, 0 deletions
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 <stdlib.h>
+ #include <string.h>
+ #include <stdio.h>
++#include <unistd.h>
+
+ #define WAIT_DEFAULT 0
+ #define WAIT_TIMEOUT 15