From owner-freebsd-ports Thu Jul 5 18:10:14 2001 Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 7564137B405 for ; Thu, 5 Jul 2001 18:10:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.3/8.11.3) id f661A1m73123; Thu, 5 Jul 2001 18:10:01 -0700 (PDT) (envelope-from gnats) Received: from wlgrv1.pa.home.com (cc92687-a.wlgrv1.pa.home.com [24.5.63.190]) by hub.freebsd.org (Postfix) with ESMTP id 6287837B405 for ; Thu, 5 Jul 2001 18:08:58 -0700 (PDT) (envelope-from pat@wlgrv1.pa.home.com) Received: (from root@localhost) by wlgrv1.pa.home.com (8.11.4/8.11.4) id f6618vs58389; Thu, 5 Jul 2001 21:08:57 -0400 (EDT) (envelope-from pat) Message-Id: <200107060108.f6618vs58389@wlgrv1.pa.home.com> Date: Thu, 5 Jul 2001 21:08:57 -0400 (EDT) From: pat@databits.net Reply-To: pat@databits.net To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.113 Subject: ports/28750: New port print/wmlpq 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: 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 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 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 X X- Patrick Li 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