Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Aug 1998 14:17:16 -0400 (EDT)
From:      geoff@sirius.trassociates.com
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   ports/7634: New port: PPA filter for HP "Windows-only" printers
Message-ID:  <199808161817.OAA13171@sirius.trassociates.com>

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

>Number:         7634
>Category:       ports
>Synopsis:       New port: PPA filter for HP "Windows-only" printers
>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:   Sun Aug 16 11:20:00 PDT 1998
>Last-Modified:
>Originator:     Geoffrey C. Speicher
>Organization:
None
>Release:        FreeBSD 3.0-CURRENT i386
>Environment:

	

>Description:


# 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:
#
#	ppa
#	ppa/Makefile
#	ppa/pkg
#	ppa/pkg/COMMENT
#	ppa/pkg/DESCR
#	ppa/pkg/PLIST
#	ppa/patches
#	ppa/patches/patch-aa
#	ppa/patches/patch-ab
#	ppa/files
#	ppa/files/md5
#	ppa/files/compile
#
echo c - ppa
mkdir -p ppa > /dev/null 2>&1
echo x - ppa/Makefile
sed 's/^X//' >ppa/Makefile << 'END-of-ppa/Makefile'
X# New ports collection makefile for:   ppa
X# Version required:    0.8.4
X# Date created:        14 August 1998
X# Whom:                Geoff Speicher <geoff@sirius.trassociates.com>
X#
X# $Id$
X#
X
XDISTNAME=      ppa-0.8.4
XCATEGORIES=    print
XMASTER_SITES=  http://www.rpi.edu/~normat/technical/ppa/files/
X
XMAINTAINER=    geoff@sirius.trassociates.com
X
XIS_INTERACTIVE=	yes
X
Xdo-build:
X	@(cd ${WRKSRC}; sh build)
X
Xdo-install:
X	@(cd ${WRKSRC} ; \
X	${INSTALL_PROGRAM} ${WRKSRC}/pbm2ppa ${PREFIX}/bin ; \
X	${INSTALL_PROGRAM} ${WRKSRC}/pbmtpg ${PREFIX}/bin)
X
X.include <bsd.port.mk>
END-of-ppa/Makefile
echo c - ppa/pkg
mkdir -p ppa/pkg > /dev/null 2>&1
echo x - ppa/pkg/COMMENT
sed 's/^X//' >ppa/pkg/COMMENT << 'END-of-ppa/pkg/COMMENT'
XPrinter Performance Architecture (HP) utilities.
END-of-ppa/pkg/COMMENT
echo x - ppa/pkg/DESCR
sed 's/^X//' >ppa/pkg/DESCR << 'END-of-ppa/pkg/DESCR'
XPPA is Hewlett Packard's proprietary protocol for their newer line of
X"Windows only" printers.  Tim Norman <normat@rpi.edu> was clever enough to
Xhack the protocol and write these utilities to convert Ghostscript
Xpbm/pbmraw output to PPA format (pbm2ppa) and calibrate the printer with a
Xtest pattern generator (pbmtpg).
X
XVersion 0.8.4 supports HP720-, 820-, and 1000-series printers in B&W mode.
XColor support is anticipated in a future release.
X
XTim's PPA homepage:
Xhttp://www.rpi.edu/~normat/technical/ppa/index.html
X
X- Geoff Speicher
Xgeoff@sirius.trassociates.com
END-of-ppa/pkg/DESCR
echo x - ppa/pkg/PLIST
sed 's/^X//' >ppa/pkg/PLIST << 'END-of-ppa/pkg/PLIST'
Xbin/pbm2ppa
Xbin/pbmtpg
END-of-ppa/pkg/PLIST
echo c - ppa/patches
mkdir -p ppa/patches > /dev/null 2>&1
echo x - ppa/patches/patch-aa
sed 's/^X//' >ppa/patches/patch-aa << 'END-of-ppa/patches/patch-aa'
X--- Makefile.orig	Mon Apr  6 23:31:43 1998
X+++ Makefile	Fri Aug 14 13:12:31 1998
X@@ -33,10 +33,10 @@
X 	rm -f *.o *~ pbmtpg pbm2ppa defaults.h
X 
X pbm2ppa: pbm2ppa.o ppa.o pbm.o cutswath.o
X-	$(CC) $(LDFLAGS) -o $@ $^
X+	$(CC) $(LDFLAGS) -o $(.TARGET) $(.ALLSRC)
X 
X pbmtpg: pbmtpg.o
X-	$(CC) $(CFLAGS) -o $@ $^ -lm
X+	$(CC) $(CFLAGS) -o $(.TARGET) $(.ALLSRC) -lm
X 
X .c.o: $*.c ppa.h pbm.h
X 	$(CC) $(CFLAGS) -c $*.c
END-of-ppa/patches/patch-aa
echo x - ppa/patches/patch-ab
sed 's/^X//' >ppa/patches/patch-ab << 'END-of-ppa/patches/patch-ab'
X--- build.orig	Wed Dec 31 19:00:00 1969
X+++ build	Fri Aug 14 13:11:11 1998
X@@ -0,0 +1,4 @@
X+#!/bin/sh
X+
X+read -p "Enter HP printer type [720,820,1000]: " printer
X+make $printer
END-of-ppa/patches/patch-ab
echo c - ppa/files
mkdir -p ppa/files > /dev/null 2>&1
echo x - ppa/files/md5
sed 's/^X//' >ppa/files/md5 << 'END-of-ppa/files/md5'
XMD5 (ppa-0.8.4.tar.gz) = 8ae6013f0de7ec9c077947bd0bf1c471
END-of-ppa/files/md5
echo x - ppa/files/compile
sed 's/^X//' >ppa/files/compile << 'END-of-ppa/files/compile'
X#!/bin/sh
X
Xread -p "Enter HP printer type [720,820,1000]: " printer
Xmake $printer
END-of-ppa/files/compile
exit

>How-To-Repeat:

	

>Fix:
	
	

>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?199808161817.OAA13171>