Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 5 Jul 2001 21:08:57 -0400 (EDT)
From:      pat@databits.net
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/28750: New port print/wmlpq
Message-ID:  <200107060108.f6618vs58389@wlgrv1.pa.home.com>

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

>Number:         28750
>Category:       ports
>Synopsis:       New port print/wmlpq
>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:   Thu Jul 05 18:10:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Patrick Li
>Release:        FreeBSD 4.3-STABLE i386
>Organization:
N/A
>Environment:

System: FreeBSD bottlenek 4.3-STABLE FreeBSD 4.3-STABLE #0: Wed Jul 4 05:55:31 EDT 2001 pat@bottlenek:/usr/src/sys/compile/BOTTLENEK i386

>Description:

o New port print/wmlpq: a print queue monitoring dockapp for Window Maker

>How-To-Repeat:

N/A

>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:
#
#	wmlpq
#	wmlpq/Makefile
#	wmlpq/distinfo
#	wmlpq/pkg-comment
#	wmlpq/pkg-descr
#	wmlpq/pkg-plist
#	wmlpq/files
#	wmlpq/files/patch-Makefile
#	wmlpq/files/patch-sample.wmlpqrc
#	wmlpq/pkg-message
#
echo c - wmlpq
mkdir -p wmlpq > /dev/null 2>&1
echo x - wmlpq/Makefile
sed 's/^X//' >wmlpq/Makefile << 'END-of-wmlpq/Makefile'
X# New ports collection makefile for:	wmlpq
X# Date created:				Thu Jul  5 14:43:55 EDT 2001
X# Whom:					Patrick Li <pat@databits.net>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	wmlpq
XPORTVERSION=	0.2.1
XCATEGORIES=	print windowmaker
XMASTER_SITES=	http://www.ur.uklinux.net/wmlpq/dl/
XDISTNAME=	${PORTNAME}_${PORTVERSION}
X
XMAINTAINER=	pat@databits.net
X
XLIB_DEPENDS=	dockapp.1:${PORTSDIR}/x11-wm/libdockapp
X
XWRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
XUSE_X_PREFIX=	yes
XUSE_XPM=	yes
X
XMAN1=		${PORTNAME}.1x
X
Xdo-install:
X	@${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
X	@${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1x ${PREFIX}/man/man1
X.ifndef(NOPORTDOCS)
X	@${MKDIR} ${PREFIX}/share/doc/${PORTNAME}
X	@${MKDIR} ${PREFIX}/share/examples/${PORTNAME}
X	@${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/${PORTNAME}
X	@${INSTALL_DATA} ${WRKSRC}/sample.wmlpqrc ${PREFIX}/share/examples/${PORTNAME}
X	@${INSTALL_DATA} ${WRKSRC}/wmlpqrc ${PREFIX}/share/examples/${PORTNAME}
X.endif #NOPORTDOCS
X	@${SED} -e "s|/usr/X11R6|${PREFIX}|" ${PKGMESSAGE}
X
X.include <bsd.port.mk>
END-of-wmlpq/Makefile
echo x - wmlpq/distinfo
sed 's/^X//' >wmlpq/distinfo << 'END-of-wmlpq/distinfo'
XMD5 (wmlpq_0.2.1.tar.gz) = 9ac9b52ea1394ab39b1b3320ce726b75
END-of-wmlpq/distinfo
echo x - wmlpq/pkg-comment
sed 's/^X//' >wmlpq/pkg-comment << 'END-of-wmlpq/pkg-comment'
XPrint queue monitoring dockapp for Window Maker
END-of-wmlpq/pkg-comment
echo x - wmlpq/pkg-descr
sed 's/^X//' >wmlpq/pkg-descr << 'END-of-wmlpq/pkg-descr'
Xwmlpq is a Windowmaker dockapp which monitors up to 5 printqueues,
Xallowing you to see when your print job has finally been printed.
XThis is useful when you work in a networked environment with several
Xprinters available, which are not in the same room; or (in some
Xcases) the same country, and is easier than typing lpq every 30
Xseconds.
X
XCurrently it requires that you are running a print server that can
Xemulate either BSD lpd or SysV lpsched. Experimental support for
Xcups and pdq is now included. It will display 8 LEDs for each of
Xup to 5 different printqueues; jobs are shown as green LEDs if
Xowned by you, red if owned by somebody else, and they move to the
Xleft as they move up the queue.
X
XWWW: http://www.ur.uklinux.net/wmlpq/
XAuthor: Toby White <tow@theor.ch.cam.ac.uk>
X
X- Patrick Li <pat@databits.net>
END-of-wmlpq/pkg-descr
echo x - wmlpq/pkg-plist
sed 's/^X//' >wmlpq/pkg-plist << 'END-of-wmlpq/pkg-plist'
Xbin/wmlpq
X%%PORTDOCS%%share/doc/wmlpq/README
X%%PORTDOCS%%share/examples/wmlpq/sample.wmlpqrc
X%%PORTDOCS%%share/examples/wmlpq/wmlpqrc
X%%PORTDOCS%%@dirrm share/examples/wmlpq
X%%PORTDOCS%%@dirrm share/doc/wmlpq
END-of-wmlpq/pkg-plist
echo c - wmlpq/files
mkdir -p wmlpq/files > /dev/null 2>&1
echo x - wmlpq/files/patch-Makefile
sed 's/^X//' >wmlpq/files/patch-Makefile << 'END-of-wmlpq/files/patch-Makefile'
X--- Makefile.orig	Thu Jul  5 20:09:50 2001
X+++ Makefile	Thu Jul  5 20:10:23 2001
X@@ -1,13 +1,11 @@
X-prefix=
X CPPFLAGS = -I/usr/X11R6/include -I/usr/local/include
X LIBS = -lXpm -lX11 -ldockapp  
X LDFLAGS = -L/usr/X11R6/lib -L/usr/local/lib
X-CFLAGS = -O2 -Wall
X+CFLAGS += -Wall
X DFLAGS = -ggdb3 -Wall
X 
X wmlpq: wmlpq.c wmlpq-master.xpm
X 	cc $(CFLAGS) $(LDFLAGS) $(CPPFLAGS) -o wmlpq $(LIBS) wmlpq.c
X-	strip wmlpq
X 
X debug: wmlpq.c wmlpq-master.xpm
X 	cc $(DFLAGS) $(LDFLAGS) $(CPPFLAGS) -o wmlpq $(LIBS) wmlpq.c
END-of-wmlpq/files/patch-Makefile
echo x - wmlpq/files/patch-sample.wmlpqrc
sed 's/^X//' >wmlpq/files/patch-sample.wmlpqrc << 'END-of-wmlpq/files/patch-sample.wmlpqrc'
X--- sample.wmlpqrc.orig	Thu Jul  5 20:49:27 2001
X+++ sample.wmlpqrc	Thu Jul  5 20:51:29 2001
X@@ -1,20 +1,19 @@
X-
X-lptype		lpd                # Can be lpd or lpsched as appropriate.
X-queuecmd	/usr/local/bin/lpq # Only necessary if your queuecommand is
X-                                   # in a non-standard place, or if it needs
X-                                   # some funny options.
X+lptype lpd			# Can be lpd or lpsched as appropriate.
X+queuecmd /usr/bin/lpq		# Only necessary if your queuecommand is
X+				# in a non-standard place, or if it needs
X+				# some funny options.
X # The above two options can also be specified on a per-queue basis if necessary.
X 
X-label.0 	HP137              # The label which will appear in the dockapp.
X-queuename.0 	HP137              # The name of the printqueue. (May be of the
X-                                   # form queue@host if you're using pdq or
X-                                   # rlpr.)
X-interval.0	30                 # The checking interval in seconds.
X+label.0 HP137			# The label which will appear in the dockapp.
X+queuename.0 HP137		# The name of the printqueue. (May be of the
X+				# form queue@host if you're using pdq or
X+				# rlpr.)
X+interval.0 30			# The checking interval in seconds.
X 
X-label.1 	dj248
X-queuename.1 	hp2000
X-interval.1 	30
X+label.1 dj248
X+queuename.1 hp2000
X+interval.1 30
X 
X-label.2		roma
X-queuename.2	hproma
X-interval.2	30
X+label.2 roma
X+queuename.2 hproma
X+interval.2 30
END-of-wmlpq/files/patch-sample.wmlpqrc
echo x - wmlpq/pkg-message
sed 's/^X//' >wmlpq/pkg-message << 'END-of-wmlpq/pkg-message'
XThe wmlpq example configuration file has been installed to:
X
X	(/usr/X11R6/share/examples/wmlpq/sample.wmlpqrc)
X
XDefault configuration file that wmlpq looks for is ${HOME}/.wmlpqrc
XFollow the example configuration file and also dont forget to read
Xthe README file located at:
X
X	(/usr/X11R6/share/doc/wmlpq/README)
X
X
END-of-wmlpq/pkg-message
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?200107060108.f6618vs58389>