Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Jul 2002 21:46:05 -0500 (EST)
From:      "incabulos@mac.com &" <root@muddy.ath.cx>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/40513: New port: xrootconsole, live log(s) printed onto background
Message-ID:  <200207130246.g6D2k5w2041453@muddy.ath.cx>

next in thread | raw e-mail | index | archive | help

>Number:         40513
>Category:       ports
>Synopsis:       New port: xrootconsole, live log(s) printed onto background
>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 Jul 12 18:50:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     incabulos@mac.com &
>Release:        FreeBSD 4.6-RELEASE i386
>Organization:
The Ohio State University
>Environment:
System: FreeBSD mud.muddy.ath.cx 4.6-RELEASE FreeBSD 4.6-RELEASE #0: Tue Jun 11 06:14:12 GMT 2002 murray@builder.freebsdmall.com:/usr/src/sys/compile/GENERIC i386


	
>Description:
It writes any text (or stdin) to the background of X with options for
placement, colors, and what to take its input from.

For instance, I use:
xrootconsole -geometry 132x55+40+30 -fg cyan --wrap /var/log/messages

Enjoy.
	
>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:
#
#	xrootconsole
#	xrootconsole/files
#	xrootconsole/files/patch-a
#	xrootconsole/distinfo
#	xrootconsole/pkg-descr
#	xrootconsole/Makefile
#	xrootconsole/pkg-plist
#	xrootconsole/pkg-comment
#
echo c - xrootconsole
mkdir -p xrootconsole > /dev/null 2>&1
echo c - xrootconsole/files
mkdir -p xrootconsole/files > /dev/null 2>&1
echo x - xrootconsole/files/patch-a
sed 's/^X//' >xrootconsole/files/patch-a << 'END-of-xrootconsole/files/patch-a'
Xdiff -c xrootconsole-0.5.orig/Makefile xrootconsole-0.5/Makefile
X*** xrootconsole-0.5.orig/Makefile	Wed Dec 19 04:48:51 2001
X--- xrootconsole-0.5/Makefile	Fri Jul 12 16:48:47 2002
X***************
X*** 33,39 ****
X--- 33,41 ----
X  ###########################################################################
X  
X  EXEC = xrootconsole
X+ MANFILE = xrootconsole.1
X  BINDIR = /usr/local/bin
X+ MANDIR = /usr/local/share/man/man1
X  
X  VERSION = $(shell tag=$$(echo '$$Name: RELEASE-0_5 $$' | sed -e 's/\$$//g' -e 's/Name://g'); \
X          if [ $$tag ]; \
X***************
X*** 45,51 ****
X  CPPFLAGS =
X  
X  # for production
X! CFLAGS = -O2 -DNDEBUG -Wall "-DXROOTCONSOLE_VERSION=\"$(VERSION)\""
X  LDFLAGS = -s
X  
X  # for testing
X--- 47,54 ----
X  CPPFLAGS =
X  
X  # for production
X! CFLAGS = -O2 -DNDEBUG -Wall "-DXROOTCONSOLE_VERSION=\"$(VERSION)\"" \
X! 	-I/usr/X11R6/include
X  LDFLAGS = -s
X  
X  # for testing
X***************
X*** 73,75 ****
X--- 76,79 ----
X  
X  install: $(EXEC)
X  	cp $(EXEC) $(BINDIR)
X+ 	cp $(MANFILE) $(MANDIR)
Xdiff -c xrootconsole-0.5.orig/main.c xrootconsole-0.5/main.c
X*** xrootconsole-0.5.orig/main.c	Mon Jul  1 01:24:02 2002
X--- xrootconsole-0.5/main.c	Fri Jul 12 14:23:01 2002
X***************
X*** 40,45 ****
X--- 40,46 ----
X  #include "util.h"
X  #include <X11/Xlib.h>
X  #include <X11/Xutil.h>
X+ #include <X11/Xos.h>
X  #include <assert.h>
X  #include <errno.h>
X  #include <stdio.h>
END-of-xrootconsole/files/patch-a
echo x - xrootconsole/distinfo
sed 's/^X//' >xrootconsole/distinfo << 'END-of-xrootconsole/distinfo'
XMD5 (xrootconsole-0.5.tar.gz) = 187efc4496ff337711bb020ef0c4fb74
END-of-xrootconsole/distinfo
echo x - xrootconsole/pkg-descr
sed 's/^X//' >xrootconsole/pkg-descr << 'END-of-xrootconsole/pkg-descr'
Xxrootconsole is a small utility to write any log file of your choice live
Xto anywhere on your root window with options for color and placement all
Xdocumented in the man file or with the --help option.
X
XThe official homepage is:
XWWW: http://de-fac.to/bob/xrootconsole/
X
XThe sourceforge page is:
Xhttp://sourceforge.net/projects/xrootconsole/
X
XEnjoy!
X
XCheers,
XJoe Gorse
Xincabulos@mac.com
END-of-xrootconsole/pkg-descr
echo x - xrootconsole/Makefile
sed 's/^X//' >xrootconsole/Makefile << 'END-of-xrootconsole/Makefile'
X# New ports collection makefile for:   xrootconsole
X# Date created:        12 July 2002
X# Whom:                incabulos@mac.com
X#
X# $FreeBSD$
X#
X
XPORTNAME=      xrootconsole
XPORTVERSION=   0.5
XPORTREVISION=  0
XCATEGORIES=    x11
XMASTER_SITES=  http://de-fac.to/bob/xrootconsole/ \
X	       http://telia.dl.sourceforge.net/sourceforge/xrootconsole/ \
X	       http://unc.dl.sourceforge.net/sourceforge/xrootconsole/ \
X	       http://belnet.dl.sourceforge.net/sourceforge/xrootconsole/
X
XMAINTAINER=    incabulos@mac.com
X
XNO_INSTALL_MANPAGES= yes
X#MAN1=          xrootconsole.1
X#MANCOMPRESSED= no
XUSE_XLIB=      yes
XUSE_GMAKE=     yes
X#NO_WRKSUBDIR=  yes
XPREFIX=	       /usr/local
X
Xpost-install:
X	strip ${PREFIX}/bin/xrootconsole
X
X.include <bsd.port.mk>
END-of-xrootconsole/Makefile
echo x - xrootconsole/pkg-plist
sed 's/^X//' >xrootconsole/pkg-plist << 'END-of-xrootconsole/pkg-plist'
Xbin/xrootconsole
Xshare/man/man1/xrootconsole.1
END-of-xrootconsole/pkg-plist
echo x - xrootconsole/pkg-comment
sed 's/^X//' >xrootconsole/pkg-comment << 'END-of-xrootconsole/pkg-comment'
XWrites any log live onto the background.
END-of-xrootconsole/pkg-comment
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?200207130246.g6D2k5w2041453>