pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/x11/xnodecor Initial import of xnodecor-0.1
details: https://anonhg.NetBSD.org/pkgsrc/rev/14612513ac0b
branches: trunk
changeset: 466641:14612513ac0b
user: kristerw <kristerw%pkgsrc.org@localhost>
date: Wed Jan 21 21:04:43 2004 +0000
description:
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:
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(+), 0 deletions(-)
diffs (88 lines):
diff -r bdba03855dc6 -r 14612513ac0b x11/xnodecor/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/xnodecor/DESCR Wed Jan 21 21:04:43 2004 +0000
@@ -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 -r bdba03855dc6 -r 14612513ac0b x11/xnodecor/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/xnodecor/Makefile Wed Jan 21 21:04:43 2004 +0000
@@ -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@localhost
+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 -r bdba03855dc6 -r 14612513ac0b x11/xnodecor/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/xnodecor/PLIST Wed Jan 21 21:04:43 2004 +0000
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2004/01/21 21:04:43 kristerw Exp $
+bin/xnodecor
diff -r bdba03855dc6 -r 14612513ac0b x11/xnodecor/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/xnodecor/distinfo Wed Jan 21 21:04:43 2004 +0000
@@ -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 -r bdba03855dc6 -r 14612513ac0b x11/xnodecor/files/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/xnodecor/files/Makefile Wed Jan 21 21:04:43 2004 +0000
@@ -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 -r bdba03855dc6 -r 14612513ac0b x11/xnodecor/patches/patch-aa
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/xnodecor/patches/patch-aa Wed Jan 21 21:04:43 2004 +0000
@@ -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
Home |
Main Index |
Thread Index |
Old Index