From owner-freebsd-ports Fri Nov 15 23:50: 7 2002 Delivered-To: freebsd-ports@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D852C37B401 for ; Fri, 15 Nov 2002 23:50:02 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1765D43E88 for ; Fri, 15 Nov 2002 23:50:02 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id gAG7o1x3079733 for ; Fri, 15 Nov 2002 23:50:01 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id gAG7o195079732; Fri, 15 Nov 2002 23:50:01 -0800 (PST) Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 83DCB37B401 for ; Fri, 15 Nov 2002 23:42:42 -0800 (PST) Received: from chaos.chem.okayama-u.ac.jp (chaos.chem.okayama-u.ac.jp [150.46.100.83]) by mx1.FreeBSD.org (Postfix) with ESMTP id D33E243E3B for ; Fri, 15 Nov 2002 23:42:41 -0800 (PST) (envelope-from katsura@chaos.chem.okayama-u.ac.jp) Received: by chaos.chem.okayama-u.ac.jp (Postfix, from userid 235) id F3AD0562F; Sat, 16 Nov 2002 16:42:35 +0900 (JST) Message-Id: <20021116074235.F3AD0562F@chaos.chem.okayama-u.ac.jp> Date: Sat, 16 Nov 2002 16:42:35 +0900 (JST) From: Katsura Matsumoto Reply-To: Katsura Matsumoto To: FreeBSD-gnats-submit@FreeBSD.org Cc: katsura@cc.okayama-u.ac.jp X-Send-Pr-Version: 3.113 Subject: ports/45329: New port: xnodecor (x11 utility on OverrideRedirect attribute) Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >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 X #include X #include X- X+#include 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 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 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