diff options
-rw-r--r-- | x11/Makefile | 1 | ||||
-rw-r--r-- | x11/xnodecor/Makefile | 25 | ||||
-rw-r--r-- | x11/xnodecor/distinfo | 1 | ||||
-rw-r--r-- | x11/xnodecor/files/Makefile | 15 | ||||
-rw-r--r-- | x11/xnodecor/files/patch-xnodecor.c | 12 | ||||
-rw-r--r-- | x11/xnodecor/pkg-descr | 12 | ||||
-rw-r--r-- | x11/xnodecor/pkg-plist | 1 |
7 files changed, 67 insertions, 0 deletions
diff --git a/x11/Makefile b/x11/Makefile index 7569b9f90a4e..98d2b9b37ba6 100644 --- a/x11/Makefile +++ b/x11/Makefile @@ -161,6 +161,7 @@ SUBDIR += xmsg SUBDIR += xmx SUBDIR += xnee + SUBDIR += xnodecor SUBDIR += xprompt SUBDIR += xrootconsole SUBDIR += xscreensaver diff --git a/x11/xnodecor/Makefile b/x11/xnodecor/Makefile new file mode 100644 index 000000000000..f5694c3447c8 --- /dev/null +++ b/x11/xnodecor/Makefile @@ -0,0 +1,25 @@ +# New ports collection makefile for: xnodecor +# Date created: 15 November 2002 +# Whom: Katsura Matsumoto <katsura@cc.okayama-u.ac.jp> +# +# $FreeBSD$ +# + +PORTNAME= xnodecor +PORTVERSION= 0.1 +CATEGORIES= x11 +MASTER_SITES= ftp://ftp.42.org/pub/wmx/contrib/ +DISTFILES= xnodecor.c + +MAINTAINER= katsura@cc.okayama-u.ac.jp +COMMENT= Utility to set override_redirect in XWindowAttributes to True + +NO_WRKSUBDIR= yes +USE_X_PREFIX= yes + +do-extract: + @${MKDIR} ${WRKDIR} + @${CP} ${FILESDIR}/Makefile ${WRKDIR} + @${CP} ${DISTDIR}/${DISTFILES} ${WRKDIR} + +.include <bsd.port.mk> diff --git a/x11/xnodecor/distinfo b/x11/xnodecor/distinfo new file mode 100644 index 000000000000..72c3216bea7a --- /dev/null +++ b/x11/xnodecor/distinfo @@ -0,0 +1 @@ +MD5 (xnodecor.c) = 0ad4261c221a221afc173f264b979ea1 diff --git a/x11/xnodecor/files/Makefile b/x11/xnodecor/files/Makefile new file mode 100644 index 000000000000..36716bb8b1c8 --- /dev/null +++ b/x11/xnodecor/files/Makefile @@ -0,0 +1,15 @@ +# $FreeBSD$ +CFLAGS= -I${X11BASE}/include +LDFLAGS= -L${X11BASE}/lib +LIBS= -lX11 + +all: xnodecor + +xnodecor: + $(CC) -o xnodecor xnodecor.c $(CFLAGS) $(LDFLAGS) $(LIBS) + +install: + ${BSD_INSTALL_PROGRAM} xnodecor ${X11BASE}/bin + +clean: + rm -f *.rej a.out core xnodecor diff --git a/x11/xnodecor/files/patch-xnodecor.c b/x11/xnodecor/files/patch-xnodecor.c new file mode 100644 index 000000000000..162e3b4e3b1b --- /dev/null +++ b/x11/xnodecor/files/patch-xnodecor.c @@ -0,0 +1,12 @@ +--- xnodecor.c.orig Wed Jan 13 01:55:20 1999 ++++ xnodecor.c Mon Nov 11 23:15:42 2002 +@@ -39,7 +39,8 @@ + #include <stdlib.h> + #include <string.h> + #include <stdio.h> +- ++#include <unistd.h> ++ + #define WAIT_DEFAULT 0 + #define WAIT_TIMEOUT 15 + #define VERBOSE_DEFAULT 0 diff --git a/x11/xnodecor/pkg-descr b/x11/xnodecor/pkg-descr new file mode 100644 index 000000000000..0aca645c81cf --- /dev/null +++ b/x11/xnodecor/pkg-descr @@ -0,0 +1,12 @@ +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") + +WWW: http://sb.123.org/xnodecor.html diff --git a/x11/xnodecor/pkg-plist b/x11/xnodecor/pkg-plist new file mode 100644 index 000000000000..4f5f18e94dbe --- /dev/null +++ b/x11/xnodecor/pkg-plist @@ -0,0 +1 @@ +bin/xnodecor |