Bug 60391 - [SW-BUG] Fix hpijs to work with CUPS
Summary: [SW-BUG] Fix hpijs to work with CUPS
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Doug Barton
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-12-19 07:10 UTC by John Merryweather Cooper
Modified: 2004-10-18 09:22 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description John Merryweather Cooper 2003-12-19 07:10:16 UTC
	print/hpijs currently is useless for CUPS.  This is too bad because
	it has some great drivers for HP printers.  Rather than always
	disabling a CUPS compatible build, provide for the option of building
	a CUPS build if WITH_CUPS is specified or if print/cups-base has
	already been built.

Fix: # This is a patch for hpijs to update it to hpijs-1.5_1
# 
# To apply this patch:
# STEP 1: Chdir to the source directory.
# STEP 2: Run the 'applypatch' program with this patch file as input.
#
# If you do not have 'applypatch', it is part of the 'makepatch' package
# that you can fetch from the Comprehensive Perl Archive Network:
# http://www.perl.com/CPAN/authors/Johan_Vromans/makepatch-x.y.tar.gz
# In the above URL, 'x' should be 2 or higher.
#
# To apply this patch without the use of 'applypatch':
# STEP 1: Chdir to the source directory.
# STEP 2: Run the 'patch' program with this file as input.
#
#### End of Preamble ####

#### Patch data follows ####


#### ApplyPatch data follows ####
# Data version        : 1.0
# Date generated      : Thu Dec 18 22:12:29 2003
# Generated by        : makepatch 2.00
# Recurse directories : Yes
# p 'Makefile' 1167 1071745624 0100644
# p 'pkg-plist' 124 1071745751 0100644
#### End of ApplyPatch data ####

#### End of Patch kit [created: Thu Dec 18 22:12:29 2003] ####
#### Checksum: 391 18238 18803 ####

--------------040004040709040904020708----Q6aV3bRDk47se8m3q7S5rXs4eaAdI3NwYqg0A9t9GsD8R6zV
Content-Type: text/plain; name="file.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="file.diff"

diff -u 'hpijs/Makefile' 'hpijs-1.5_1/Makefile'
Index: ./Makefile
--- ./Makefile	Sun Nov 30 02:42:28 2003
+++ ./Makefile	Thu Dec 18 03:07:04 2003
@@ -7,6 +7,7 @@
 
 PORTNAME=	hpijs
 PORTVERSION=	1.5
+PORTREVISION=	1
 CATEGORIES=	print
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
 MASTER_SITE_SUBDIR=	hpinkjet
@@ -17,26 +18,47 @@
 USE_REINPLACE=	yes
 GNU_CONFIGURE=	yes
 CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
-CONFIGURE_ARGS=	--disable-foomatic-install
+
+.include <bsd.port.pre.mk>
+
+.if exists(${LOCALBASE}/bin/cups-config)
+WITH_CUPS=	yes
+RUN_DEPENDS+=	cups-config:${PORTSDIR}/print/cups-base
+PLIST_SUB+=	CUPS=""
+.else
+CONFIGURE_ARGS=--without-foomatic
+PLIST_SUB+=	CUPS="@comment "
+.endif
 
 post-patch:
 	@${REINPLACE_CMD} -e 's|CFLAGS="-O2 -Wall"|CFLAGS="\$$CFLAGS"|g ; \
 		 s|CXXFLAGS="-O2 -Wall"|CXXFLAGS="\$$CXXFLAGS"|g ; \
-		 s|<malloc\.h>|<stdlib.h>|g' ${WRKSRC}/configure
-	@${REINPLACE_CMD} -e 's| ijs.[cho]||g ; \
-		 s| ijs_client.h||g ; \
-		 s| ijs_server.[cho]||g ; \
-		 s| ijs_exec_unix.[co]||g' ${WRKSRC}/Makefile.in
+		 s|<malloc\.h>|<stdlib.h>|g ; \
+	         s|/usr/lib/cups/filter|${LOCALBASE}/libexec/cups/filter|g' \
+	         ${WRKSRC}/configure
+	@${REINPLACE_CMD} -e 's|cp -ax|${INSTALL_DATA}|g' \
+	         ${WRKSRC}/Makefile.in
 
 do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/hpijs ${PREFIX}/bin
+	@${MKDIR} ${PREFIX}/bin
+	@${INSTALL_PROGRAM} ${WRKSRC}/hpijs ${PREFIX}/bin
+.if defined(WITH_CUPS)
+	@${INSTALL_SCRIPT} ${WRKSRC}/foomatic-rip ${PREFIX}/bin
+	@${MKDIR} ${PREFIX}/share/ppd/HP
+	@${INSTALL_DATA} ${WRKSRC}/ppd/* ${PREFIX}/share/ppd/HP
+	@/usr/bin/gzip -f ${PREFIX}/share/ppd/HP/*
+	@${MKDIR} ${PREFIX}/share/cups/model
+	@${LN} -sf ${PREFIX}/share/ppd ${PREFIX}/share/cups/model/foomatic-ppds
+	@${MKDIR} ${PREFIX}/libexec/cups/filter
+	@${LN} -sf ${PREFIX}/bin/foomatic-rip ${PREFIX}/libexec/cups/filter/foomatic-rip
+.endif
 .if !defined(NOPORTDOCS)
 	@${MKDIR} ${DOCSDIR}
-	${INSTALL_DATA} ${WRKSRC}/gs_hpijs.png ${DOCSDIR}
-	${INSTALL_DATA} ${WRKSRC}/hpijs_readme.html ${DOCSDIR}
+	@${INSTALL_DATA} ${WRKSRC}/gs_hpijs.png ${DOCSDIR}
+	@${INSTALL_DATA} ${WRKSRC}/hpijs_readme.html ${DOCSDIR}
 .endif
 
 post-install:
 	@${CAT} ${PKGMESSAGE}
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff -u 'hpijs/pkg-plist' 'hpijs-1.5_1/pkg-plist'
Index: ./pkg-plist
--- ./pkg-plist	Sun Nov 30 02:42:28 2003
+++ ./pkg-plist	Thu Dec 18 03:09:11 2003
@@ -1,4 +1,286 @@
+%%CUPS%%bin/foomatic-rip
 bin/hpijs
 %%PORTDOCS%%%%DOCSDIR%%/gs_hpijs.png
 %%PORTDOCS%%%%DOCSDIR%%/hpijs_readme.html
+%%CUPS%%share/ppd/HP/HP-2000C-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-2500C-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-2500CM-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-Business_Inkjet_1100-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-Business_Inkjet_2200-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-Business_Inkjet_2230-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-Business_Inkjet_2250-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-Business_Inkjet_2250TN-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-Business_Inkjet_2280-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-Business_Inkjet_2600-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-Business_Inkjet_3000-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-Color_Inkjet_Printer_CP1160-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-Color_Inkjet_Printer_CP1700-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-Color_LaserJet_2500-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-Color_LaserJet_4500-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-Color_LaserJet_4550-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-Color_LaserJet_4600-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-Color_LaserJet_5-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-Color_LaserJet_5000-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-Color_LaserJet_5500-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-Color_LaserJet_8550GN-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-DesignJet_ColorPro_CAD-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-DeskJet_1100C-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-DeskJet_1120C-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-DeskJet_1125C-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-DeskJet_1200C-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-DeskJet_1220C-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-DeskJet_1600C-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-DeskJet_3320-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-DeskJet_3325-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-DeskJet_3420-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-DeskJet_3425-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-DeskJet_350C-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-DeskJet_3520-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-DeskJet_3528-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-DeskJet_3550-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-DeskJet_3558-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-DeskJet_3650-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-DeskJet_3658-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-DeskJet_3668-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-DeskJet_3810-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-DeskJet_3816-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-DeskJet_3820-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-DeskJet_3822-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-DeskJet_400-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-DeskJet_420C-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-DeskJet_450-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-DeskJet_500-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-DeskJet_500C-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-DeskJet_505J_Plus-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-DeskJet_510-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-DeskJet_5150-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-DeskJet_5158-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-DeskJet_5160-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-DeskJet_520-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-DeskJet_540C-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-DeskJet_5550-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-DeskJet_5551-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-DeskJet_5650-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-DeskJet_5652-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-DeskJet_5670-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-DeskJet_5850-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-DeskJet_600-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-DeskJet_610C-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-DeskJet_610CL-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-DeskJet_6122-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-DeskJet_6127-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-DeskJet_612C-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-DeskJet_630C-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-DeskJet_632C-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-DeskJet_640C-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-DeskJet_648C-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-DeskJet_656C-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-DeskJet_660C-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-DeskJet_670C-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-DeskJet_670TV-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-DeskJet_672C-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-DeskJet_680C-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-DeskJet_682C-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-DeskJet_690C-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-DeskJet_692C-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-DeskJet_693C-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-DeskJet_694C-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-DeskJet_695C-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-DeskJet_697C-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-DeskJet_810C-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-DeskJet_812C-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-DeskJet_815C-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-DeskJet_816C-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-DeskJet_825C-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-DeskJet_830C-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-DeskJet_832C-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-DeskJet_840C-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-DeskJet_841C-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-DeskJet_842C-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-DeskJet_843C-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-DeskJet_845C-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-DeskJet_850C-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-DeskJet_855C-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-DeskJet_870C-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-DeskJet_880C-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-DeskJet_882C-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-DeskJet_890C-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-DeskJet_895C-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-DeskJet_916C-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-DeskJet_920C-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-DeskJet_9300-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-DeskJet_930C-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-DeskJet_932C-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-DeskJet_933C-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-DeskJet_934C-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-DeskJet_935C-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-DeskJet_940C-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-DeskJet_948C-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-DeskJet_950C-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-DeskJet_952C-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-DeskJet_955C-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-DeskJet_957C-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-DeskJet_959C-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-DeskJet_9600-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-DeskJet_960C-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-DeskJet_970C-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-DeskJet_975C-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-DeskJet_980C-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-DeskJet_990C-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-DeskJet_995C-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-LaserJet_1010-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-LaserJet_1012-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-LaserJet_1015-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-LaserJet_1100-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-LaserJet_1100A-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-LaserJet_1150-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-LaserJet_1200-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-LaserJet_1220-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-LaserJet_1300-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-LaserJet_2100-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-LaserJet_2100M-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-LaserJet_2200-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-LaserJet_2300-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-LaserJet_3200-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-LaserJet_3200m-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-LaserJet_3200se-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-LaserJet_3300_MFP-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-LaserJet_3310_MFP-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-LaserJet_3320N_MFP-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-LaserJet_3320_MFP-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-LaserJet_3330_MFP-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-LaserJet_3P_w_PCL5-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-LaserJet_4-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-LaserJet_4000-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-LaserJet_4050-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-LaserJet_4100-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-LaserJet_4200-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-LaserJet_4300-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-LaserJet_4L-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-LaserJet_4M-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-LaserJet_4ML-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-LaserJet_4P-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-LaserJet_4Si-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-LaserJet_4V-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-LaserJet_4V_4LJ_Pro-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-LaserJet_4_Plus-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-LaserJet_5-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-LaserJet_5000-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-LaserJet_5100-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-LaserJet_5L-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-LaserJet_5M-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-LaserJet_5MP-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-LaserJet_5P-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-LaserJet_5Si-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-LaserJet_6-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-LaserJet_6L-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-LaserJet_6MP-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-LaserJet_6P-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-LaserJet_8000-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-LaserJet_8100-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-LaserJet_8150-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-LaserJet_9000-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-Mopier_240-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-Mopier_320-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-OfficeJet-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-OfficeJet_300-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-OfficeJet_330-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-OfficeJet_350-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-OfficeJet_4100-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-OfficeJet_4105-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-OfficeJet_4110-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-OfficeJet_4115-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-OfficeJet_500-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-OfficeJet_5105-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-OfficeJet_5110-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-OfficeJet_5110xi-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-OfficeJet_520-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-OfficeJet_5500-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-OfficeJet_570-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-OfficeJet_580-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-OfficeJet_590-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-OfficeJet_600-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-OfficeJet_610-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-OfficeJet_6100-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-OfficeJet_6105-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-OfficeJet_6110-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-OfficeJet_6150-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-OfficeJet_625-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-OfficeJet_630-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-OfficeJet_635-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-OfficeJet_700-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-OfficeJet_710-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-OfficeJet_7100-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-OfficeJet_7110-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-OfficeJet_7130-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-OfficeJet_7140-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-OfficeJet_720-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-OfficeJet_725-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-OfficeJet_D125-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-OfficeJet_D135-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-OfficeJet_D145-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-OfficeJet_D155-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-OfficeJet_G55-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-OfficeJet_G85-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-OfficeJet_G95-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-OfficeJet_K60-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-OfficeJet_K60xi-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-OfficeJet_K80-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-OfficeJet_K80xi-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-OfficeJet_LX-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-OfficeJet_Pro_1150C-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-OfficeJet_Pro_1170C-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-OfficeJet_Pro_1175C-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-OfficeJet_R40-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-OfficeJet_R45-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-OfficeJet_R60-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-OfficeJet_R65-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-OfficeJet_R80-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-OfficeJet_T45-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-OfficeJet_T65-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-OfficeJet_V40-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-OfficeJet_V40xi-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-PSC_1100-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-PSC_1110-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-PSC_1200-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-PSC_1205-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-PSC_1210-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-PSC_1300-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-PSC_2110-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-PSC_2150-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-PSC_2170-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-PSC_2175-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-PSC_2210-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-PSC_2300-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-PSC_2400-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-PSC_2500-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-PSC_370-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-PSC_380-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-PSC_500-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-PSC_750-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-PSC_750xi-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-PSC_950-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-PSC_950xi-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-PhotoSmart_140-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-PhotoSmart_240-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-PhotoSmart_7150-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-PhotoSmart_7260-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-PhotoSmart_7268-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-PhotoSmart_7345-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-PhotoSmart_7350-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-PhotoSmart_7550-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-PhotoSmart_7660-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-PhotoSmart_7760-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-PhotoSmart_7960-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-PhotoSmart_P100-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-PhotoSmart_P1000-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-PhotoSmart_P1100-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-PhotoSmart_P1115-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-PhotoSmart_P1215-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-PhotoSmart_P1218-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-PhotoSmart_P130-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-PhotoSmart_P1315-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-PhotoSmart_P230-hpijs.ppd.gz
+%%CUPS%%share/ppd/HP/HP-e-printer_e20-hpijs.ppd.gz
+%%CUPS%%@dirrm share/ppd/HP
 %%PORTDOCS%%@dirrm share/doc/hpijs
#### End of Patch data ####
How-To-Repeat: 	hpijs drivers are currently unavailable because the port doesn't
	install foomatic-rip or the *.ppd files.

	NOTE:  I also hacked print/cups-pstoraster so that X11, hpijs, and
	gimp-print were NOT disabled.  This maybe necessary for full function.

	NOTE2:  It occurs to me just now that @exec commands need to be added
	to the pkg-plist so that the symlinks will be properly made for a
	package install.
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2003-12-19 17:53:48 UTC
Responsible Changed
From-To: freebsd-ports-bugs->DougB

Over to maintainer.
Comment 2 johnmcooper 2004-01-07 03:30:43 UTC
I think this is a worthwhile modification to the port that makes it 
useful for cups users.  How is reviewing this patch going?

jmc
Comment 3 John Merryweather Cooper 2004-01-27 19:59:29 UTC
Is there any interest in committing/approving this patch?  With it, I 
have driver support under CUPS for my HP DeskJet 5550.  Without it, 
print/hpijs is useless with CUPS installed.

If print/hpijs must be kept "pure" from CUPS/X11, I'd be happy to 
creat/maintain a print/hpijs-cups port.

jmc
Comment 4 John Merryweather Cooper 2004-02-08 02:24:23 UTC
As there appears to be a de facto desire to keep this port "CUPS-free", 
this PR is superceded by PR ports/62497.

jmc
Comment 5 Doug Barton freebsd_committer freebsd_triage 2004-10-18 09:20:58 UTC
State Changed
From-To: open->closed


I just committed CUPS support for this port, using 
some of the work here. Please take a look at it, and 
tell me what you think.  

Thanks for your assistance with this, and thanks for 
your patience.
Comment 6 Doug Barton freebsd_committer freebsd_triage 2004-10-18 09:20:58 UTC
Responsible Changed
From-To: DougB->dougb


Fix capitalization of my uid.