Date: Sat, 16 Nov 2002 16:42:35 +0900 (JST) From: Katsura Matsumoto <katsura@cc.okayama-u.ac.jp> To: FreeBSD-gnats-submit@FreeBSD.org Cc: katsura@cc.okayama-u.ac.jp Subject: ports/45329: New port: xnodecor (x11 utility on OverrideRedirect attribute) Message-ID: <20021116074235.F3AD0562F@chaos.chem.okayama-u.ac.jp>
next in thread | raw e-mail | index | archive | help
>Number: 45329 >Category: ports >Synopsis: New port: xnodecor (x11 utility on OverrideRedirect attribute) >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Fri Nov 15 23:50:01 PST 2002 >Closed-Date: >Last-Modified: >Originator: Katsura Matsumoto >Release: FreeBSD 4.7-RELEASE-p1 i386 >Organization: Okayama Univ., Japan >Environment: System: FreeBSD chaos.chem.okayama-u.ac.jp 4.7-RELEASE-p1 FreeBSD 4.7-RELEASE-p1 #0: Fri Nov 1 19:04:46 JST 2002 root@chaos.chem.okayama-u.ac.jp:/usr/obj/usr/src/sys/TOWER i386 >Description: Xnodecor is an x11 utility by which a user can make an window manager ignores his/her specified applications. Such applications (e.g. clocks) appear without their border and title bar, are skipped in keyboard focus-circulation, and are sticky for flippng over multiple virtual screens. This may be convenient for a user using a simple window manager such as wmx. >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: # # xnodecor # xnodecor/files # xnodecor/files/patch-aa # xnodecor/files/Makefile # xnodecor/Makefile # xnodecor/distinfo # xnodecor/pkg-plist # xnodecor/pkg-comment # xnodecor/pkg-descr # echo c - xnodecor mkdir -p xnodecor > /dev/null 2>&1 echo c - xnodecor/files mkdir -p xnodecor/files > /dev/null 2>&1 echo x - xnodecor/files/patch-aa sed 's/^X//' >xnodecor/files/patch-aa << 'END-of-xnodecor/files/patch-aa' X--- xnodecor.c.orig Wed Jan 13 01:55:20 1999 X+++ xnodecor.c Mon Nov 11 23:15:42 2002 X@@ -39,7 +39,8 @@ X #include <stdlib.h> X #include <string.h> X #include <stdio.h> X- X+#include <unistd.h> X+ X #define WAIT_DEFAULT 0 X #define WAIT_TIMEOUT 15 X #define VERBOSE_DEFAULT 0 END-of-xnodecor/files/patch-aa echo x - xnodecor/files/Makefile sed 's/^X//' >xnodecor/files/Makefile << 'END-of-xnodecor/files/Makefile' XCFLAGS= -I${X11BASE}/include XLDFLAGS= -L${X11BASE}/lib XLIBS= -lX11 X Xall: xnodecor X Xxnodecor: X $(CC) -o xnodecor xnodecor.c $(CFLAGS) $(LDFLAGS) $(LIBS) X Xinstall: X ${INSTALL_PROGRAM} xnodecor ${X11BASE}/bin X Xclean: X rm -f *.rej a.out core xnodecor END-of-xnodecor/files/Makefile echo x - xnodecor/Makefile sed 's/^X//' >xnodecor/Makefile << 'END-of-xnodecor/Makefile' X# New ports collection makefile for: xnodecor X# Date created: 15 November 2002 X# Whom: Katsura Matsumoto <katsura@cc.okayama-u.ac.jp> X# X# $FreeBSD$ X# X XPORTNAME= xnodecor XPORTVERSION= 0.1 XCATEGORIES= x11 XMASTER_SITES= ftp://ftp.42.org/pub/wmx/contrib/ XDISTFILES= xnodecor.c X XMAINTAINER= katsura@cc.okayama-u.ac.jp X XNO_WRKSUBDIR= yes XUSE_X_PREFIX= yes X Xdo-extract: X @${MKDIR} ${WRKDIR} X @${CP} ${FILESDIR}/Makefile ${WRKDIR} X @${CP} ${DISTDIR}/${DISTFILES} ${WRKDIR} X X.include <bsd.port.mk> END-of-xnodecor/Makefile echo x - xnodecor/distinfo sed 's/^X//' >xnodecor/distinfo << 'END-of-xnodecor/distinfo' XMD5 (xnodecor.c) = 0ad4261c221a221afc173f264b979ea1 END-of-xnodecor/distinfo echo x - xnodecor/pkg-plist sed 's/^X//' >xnodecor/pkg-plist << 'END-of-xnodecor/pkg-plist' Xbin/xnodecor END-of-xnodecor/pkg-plist echo x - xnodecor/pkg-comment sed 's/^X//' >xnodecor/pkg-comment << 'END-of-xnodecor/pkg-comment' XUtility to set override_redirect in XWindowAttributes to True END-of-xnodecor/pkg-comment echo x - xnodecor/pkg-descr sed 's/^X//' >xnodecor/pkg-descr << 'END-of-xnodecor/pkg-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") X XWWW: http://sb.123.org/xnodecor.html END-of-xnodecor/pkg-descr exit >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021116074235.F3AD0562F>