From gasp@ridcully.dnsalias.org  Sat Mar  1 09:28:30 2003
Return-Path: <gasp@ridcully.dnsalias.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id E127637B401
	for <FreeBSD-gnats-submit@freebsd.org>; Sat,  1 Mar 2003 09:28:29 -0800 (PST)
Received: from ridcully.dnsalias.org (arken-16-57-7.ip-pluggen.com [194.16.57.7])
	by mx1.FreeBSD.org (Postfix) with SMTP id BD4A443FB1
	for <FreeBSD-gnats-submit@freebsd.org>; Sat,  1 Mar 2003 09:28:28 -0800 (PST)
	(envelope-from gasp@ridcully.dnsalias.org)
Received: (qmail 83112 invoked from network); 1 Mar 2003 17:28:25 -0000
Received: from dibbler.discworld (172.16.127.10)
  by 0 with SMTP; 1 Mar 2003 17:28:25 -0000
Received: by dibbler.discworld (Postfix, from userid 1000)
	id E852E41E5; Sat,  1 Mar 2003 18:28:26 +0100 (CET)
Message-Id: <20030301172826.E852E41E5@dibbler.discworld>
Date: Sat,  1 Mar 2003 18:28:26 +0100 (CET)
From: Martin Ranne <gasp@ridcully.dnsalias.org>
Reply-To: Martin Ranne <gasp@ridcully.dnsalias.org>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: New port: print/foomatic-db-engine
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         48812
>Category:       ports
>Synopsis:       New port: print/foomatic-db-engine
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Mar 01 09:30:11 PST 2003
>Closed-Date:    Wed Oct 08 05:53:29 PDT 2003
>Last-Modified:  Wed Oct 08 05:53:29 PDT 2003
>Originator:     Martin Ranne
>Release:        FreeBSD 5.0-RELEASE-p1 i386
>Organization:
>Environment:
System: FreeBSD dibbler.discworld 5.0-RELEASE-p1 FreeBSD 5.0-RELEASE-p1 #0: Thu Feb 6 14:52:28 CET 2003 root@dibbler.discworld:/usr/obj/usr/src/sys/dibbler.04 i386


	
>Description:
db engine for foomatic (and gimp-print) printer drivers
	
>How-To-Repeat:
	
>Fix:

	

--- foomatic-db-engine.shar begins here ---
# 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:
#
#	foomatic-db-engine
#	foomatic-db-engine/Makefile
#	foomatic-db-engine/pkg-descr
#	foomatic-db-engine/pkg-comment
#	foomatic-db-engine/distinfo
#	foomatic-db-engine/pkg-plist
#
echo c - foomatic-db-engine
mkdir -p foomatic-db-engine > /dev/null 2>&1
echo x - foomatic-db-engine/Makefile
sed 's/^X//' >foomatic-db-engine/Makefile << 'END-of-foomatic-db-engine/Makefile'
X# New ports collection makefile for:   foomatic-db-engine
X# Date created:        23 Februari 2003
X# Whom:                gasp0de
X#
X# $FreeBSD$
X#
X
XPORTNAME=	foomatic-db-engine
XPORTVERSION=	3.0.0b1
XCATEGORIES=	print
XMASTER_SITES=	http://www.linuxprinting.org/download/foomatic/
XDISTNAME=	${PORTNAME}-3.0.0beta1
X
XMAINTAINER=	gasp@ridcully.dnsalias.org
XCOMMENT=	Foomatic database engine
X
XRUN_DEPENDS=	${LOCALBASE}/share/foomatic/db/source/printer/Xerox-DocuPrint_N4512PS.xml:${PORTSDIR}/print/foomatic-db \
X		${LOCALBASE}/bin/foomatic-rip:${PORTSDIR}/print/foomatic-filters
XLIB_DEPENDS=	xml2.5:${PORTSDIR}/textproc/libxml2 \
X		curl.2:${PORTSDIR}/ftp/curl \
X		cups.2:${PORTSDIR}/print/cups-base
X
XUSE_GMAKE=	yes
XUSE_PERL5=	yes
X
XMAN1=		foomatic-printjob.1 foomatic-ppdfile.1 foomatic-perl-data.1 \
X		foomatic-configure.1 foomatic-compiledb.1 foomatic-combo-xml.1
XMAN8=		foomatic-preferred-driver.8 foomatic-ppdload.8 \
X		foomatic-kitload.8 foomatic-getpjloptions.8 \
X		foomatic-addpjloptions.8
X
XMANCOMPRESSED=	no
XGNU_CONFIGURE=	yes
X
XLIBDIR=		${PREFIX}/share/foomatic/
X
X.include <bsd.port.mk>
END-of-foomatic-db-engine/Makefile
echo x - foomatic-db-engine/pkg-descr
sed 's/^X//' >foomatic-db-engine/pkg-descr << 'END-of-foomatic-db-engine/pkg-descr'
Xfoomatic is a collection of printer drivers that can be
Xused by gimp-print and cups among others.
X
XWWW: http://www.linuxprinting.org/foomatic.html
END-of-foomatic-db-engine/pkg-descr
echo x - foomatic-db-engine/pkg-comment
sed 's/^X//' >foomatic-db-engine/pkg-comment << 'END-of-foomatic-db-engine/pkg-comment'
Xfoomatic database engine
END-of-foomatic-db-engine/pkg-comment
echo x - foomatic-db-engine/distinfo
sed 's/^X//' >foomatic-db-engine/distinfo << 'END-of-foomatic-db-engine/distinfo'
XMD5 (foomatic-db-engine-3.0.0beta1.tar.gz) = f8617144db2a255bc9ae4b4d7efd8bda
END-of-foomatic-db-engine/distinfo
echo x - foomatic-db-engine/pkg-plist
sed 's/^X//' >foomatic-db-engine/pkg-plist << 'END-of-foomatic-db-engine/pkg-plist'
Xbin/foomatic-combo-xml
Xbin/foomatic-compiledb
Xbin/foomatic-configure
Xbin/foomatic-datafile
Xbin/foomatic-perl-data
Xbin/foomatic-ppdfile
Xbin/foomatic-printjob
Xlib/perl5/site_perl/%%PERL_VER%%/Foomatic/DB.pm
Xlib/perl5/site_perl/%%PERL_VER%%/Foomatic/Defaults.pm
Xlib/perl5/site_perl/%%PERL_VER%%/Foomatic/PPD.pm
Xlib/perl5/site_perl/%%PERL_VER%%/Foomatic/UIElem.pm
Xsbin/foomatic-addpjloptions
Xsbin/foomatic-fix-xml
Xsbin/foomatic-getpjloptions
Xsbin/foomatic-kitload
Xsbin/foomatic-ppdload
Xsbin/foomatic-preferred-driver
Xshare/foomatic/templates/pjl_enum_choice.xml
Xshare/foomatic/templates/pjl_enum_option.xml
Xshare/foomatic/templates/pjl_num_option.xml
X@dirrm etc/foomatic
X@dirrm lib/perl5/site_perl/%%PERL_VER%%/Foomatic
X@dirrm share/foomatic/templates
X@dirrm share/foomatic
END-of-foomatic-db-engine/pkg-plist
exit
--- foomatic-db-engine.shar ends here ---


>Release-Note:
>Audit-Trail:

From: "Simon 'corecode' Schubert" <corecode@corecode.ath.cx>
To: Martin Ranne <gasp@ridcully.dnsalias.org>
Cc: FreeBSD-gnats-submit@FreeBSD.org
Subject: Re: ports/48812: New port: print/foomatic-db-engine
Date: Mon, 3 Mar 2003 03:32:49 +0100

 --=.1jEfZwgtD3MO5n
 Content-Type: text/plain; charset=US-ASCII
 Content-Transfer-Encoding: 7bit
 
 Lately Martin Ranne told:
 
 > sed 's/^X//' >foomatic-db-engine/Makefile << 'END-of-foomatic-db-engine/Makefile'
 [...]
 > XPORTVERSION=	3.0.0b1
 
 i believe you want
 PORTVERSION=	3.0.0.b1
 % pkg_version -t 3.0.0b1 3.0.0
 >
 % pkg_version -t 3.0.0.b1 3.0.0
 <
 
 cheers
   simon
 
 -- 
 /"\   http://corecode.ath.cx/#donate
 \ /
  \     ASCII Ribbon Campaign
 / \  Against HTML Mail and News
 
 --=.1jEfZwgtD3MO5n
 Content-Type: application/pgp-signature
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.2.1 (FreeBSD)
 
 iD8DBQE+Yr7Vr5S+dk6z85oRAhBPAKDO1uRQZlk3KA9U7Fdhu0+Ae1p7lgCeONb6
 DLWqoktmltsBTa72LBF+/hg=
 =QXjY
 -----END PGP SIGNATURE-----
 
 --=.1jEfZwgtD3MO5n--

From: "Simon 'corecode' Schubert" <corecode@corecode.ath.cx>
To: Martin Ranne <gasp@ridcully.dnsalias.org>
Cc: FreeBSD-gnats-submit@FreeBSD.org
Subject: Re: ports/48812: New port: print/foomatic-db-engine
Date: Mon, 3 Mar 2003 03:52:02 +0100

 --PAo2A6B059b=.k4T
 Content-Type: text/plain; charset=US-ASCII
 Content-Transfer-Encoding: 7bit
 
 Lately Martin Ranne told:
 
 > sed 's/^X//' >foomatic-db-engine/Makefile << 'END-of-foomatic-db-engine/Makefile'
 [...]
 > XPORTVERSION=	3.0.0b1
 
 i believe you want
 PORTVERSION=	3.0.0.b1
 % pkg_version -t 3.0.0b1 3.0.0
 >
 % pkg_version -t 3.0.0.b1 3.0.0
 <
 
 cheers
   simon
 
 -- 
 /"\   http://corecode.ath.cx/#donate
 \ /
  \     ASCII Ribbon Campaign
 / \  Against HTML Mail and News
 
 
 --PAo2A6B059b=.k4T
 Content-Type: application/pgp-signature
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.2.1 (FreeBSD)
 
 iD8DBQE+YsNWr5S+dk6z85oRAhSSAJ4utpqfZxcQ3R06qVe54LwR3ZcRjgCdHssG
 RYuyf2q29p1xLBpfl3dOyQ0=
 =IJ0N
 -----END PGP SIGNATURE-----
 
 --PAo2A6B059b=.k4T--

From: Gasp0dE Z33k3r <gasp@ridcully.dnsalias.org>
To: freebsd-gnats-submit@FreeBSD.org, gasp@ridcully.dnsalias.org
Cc:  
Subject: Re: ports/48812: New port: print/foomatic-db-engine
Date: Mon, 03 Mar 2003 12:07:32 +0100

 Your right, It should be PORTVERSION= 3.0.0.b1.
 
 I have made a PORTREVISION of this port too, that I havn't sent yet. 
 This is because I found two variables that didn't read PREFIX, so I set 
 the variables in the Makefile instead. I would like for this port to be 
 available in the ports-tree and then send the update if its ok.
 
 As this together with 48813 (foomatic-db-engine that should have said 
 foomatic-filters as it does in the shar), 48814 foomatic-db and 48832 
 foomatic-db-hpijs, are my firsts ports, I am not fully aware of the 
 procedures for this yet. It will come as I intend to make more ports.
 

From: Antoine Jacoutot <ajacoutot@lphp.org>
To: freebsd-gnats-submit@FreeBSD.org, gasp@ridcully.dnsalias.org
Cc:  
Subject: Re: ports/48812: New port: print/foomatic-db-engine
Date: Sun, 11 May 2003 12:07:38 +0200

 Hey...
 
 I can't wait for this port to be included in the ports tree. Do you know when 
 this could happen ?
 Now, I have a question:
 - why is cups.2:${PORTSDIR}/print/cups-base needed ?
 Isn't foomatic supposed to work with LPD too ?
 I think you should make cups support an option (something like "if defined 
 WITH_CUPS=yes...").
 Thanks for porting this application.
 
 Antoine

From: Martin Ranne <gasp@ridcully.dnsalias.org>
To: FreeBSD-gnats-submit@freebsd.org
Cc:  
Subject: Re: ports/48812: New port: print/foomatic-db-engine
Date: Sat,  5 Jul 2003 19:57:33 +0200 (CEST)

 >Submitter-Id:	current-users
 >Originator:	Martin Ranne
 >Organization:	
 >Confidential:	no 
 >Synopsis:	Re: ports/48812: New port: print/foomatic-db-engine
 >Severity:	
 >Priority:	
 >Category:	ports 
 >Class:		update 
 >Release:	FreeBSD 5.1-RELEASE i386
 >Environment:
 System: FreeBSD dibbler.discworld 5.1-RELEASE FreeBSD 5.1-RELEASE #2: Sun Jun 29 17:46:25 CEST 2003 gasp@dibbler.discworld:/temp/.obj/temp/.src/sys/dibbler.07 i386
 
 
 	
 >Description: Update of foomatic-db-engine to use cvs as source. Using dates as PORTVERSION now.
 	
 >How-To-Repeat:
 	
 >Fix:
 
 	
 
 --- foomatic-db-engine.update begins here ---
 diff -ur foomatic-db-engine.org/Makefile foomatic-db-engine/Makefile
 --- foomatic-db-engine.org/Makefile	Sat Jul  5 19:42:34 2003
 +++ foomatic-db-engine/Makefile	Sat Jul  5 19:48:25 2003
 @@ -1,37 +1,76 @@
 -# New ports collection makefile for:   foomatic-db-engine
 -# Date created:        23 Februari 2003
 -# Whom:                gasp0de
 +# New ports collection makefile for:	foomatic-db-engine
 +# Date created:			07 July 2003
 +# Whom:				Martin Ranne <gasp@ridcully.dnsalias.org>
  #
  # $FreeBSD$
  #
  
 -PORTNAME=foomatic-db-engine
 -PORTVERSION=3.0.0b1
 -CATEGORIES=print
 -MASTER_SITES=http://www.linuxprinting.org/download/foomatic/
 -DISTNAME=${PORTNAME}-3.0.0beta1
 -
 -MAINTAINER=gasp@ridcully.dnsalias.org
 -COMMENT=Foomatic database engine
 -
 -RUN_DEPENDS=${LOCALBASE}/share/foomatic/db/source/printer/Xerox-DocuPrint_N4512PS.xml:${PORTSDIR}/print/foomatic-db \
 -${LOCALBASE}/bin/foomatic-rip:${PORTSDIR}/print/foomatic-filters
 -LIB_DEPENDS=xml2.5:${PORTSDIR}/textproc/libxml2 \
 -curl.2:${PORTSDIR}/ftp/curl \
 -cups.2:${PORTSDIR}/print/cups-base
 -
 -USE_GMAKE=yes
 -USE_PERL5=yes
 -
 -MAN1=foomatic-printjob.1 foomatic-ppdfile.1 foomatic-perl-data.1 \
 -foomatic-configure.1 foomatic-compiledb.1 foomatic-combo-xml.1
 -MAN8=foomatic-preferred-driver.8 foomatic-ppdload.8 \
 -foomatic-kitload.8 foomatic-getpjloptions.8 \
 -foomatic-addpjloptions.8
 +PORTNAME=	foomatic-db-engine
 +PORTVERSION=	20030704
 +CATEGORIES=	print
 +MASTER_SITES=	${MASTER_SITE_LOCAL}
 +
 +MAINTAINER=	gasp@ridcully.dnsalias.org
 +COMMENT=	Foomatic database engine
 +
 +LIB_DEPENDS=	xml2.5:${PORTSDIR}/textproc/libxml2 \
 +		curl.2:${PORTSDIR}/ftp/curl
 +
 +NO_CHECKSUM=	${DISTFILES}
 +
 +USE_GMAKE=	yes
 +USE_PERL5=	yes
 +USE_BZIP2=	yes
 +USE_AUTOCONF=	yes
 +
 +MANCOMPRESSED=	no
 +GNU_CONFIGURE=	yes
 +
 +LIBDIR=		${PREFIX}/share/foomatic/
 +
 +.include <bsd.port.pre.mk>
 +CVS_CMD?=	cvs -z3
 +CVS_DATE=	${PORTVERSION}
 +CVS_SITES?=	pserver:anonymous@cvs.linuxprinting.org:/usr/local/cvs
 +CVS_MODULE=	foomatic-db-engine
 +
 +MAN1=		foomatic-printjob.1 foomatic-ppdfile.1 foomatic-perl-data.1 \
 +		foomatic-configure.1 foomatic-compiledb.1 foomatic-combo-xml.1
 +MAN8=		foomatic-preferred-driver.8 foomatic-ppdload.8 \
 +		foomatic-kitload.8 foomatic-getpjloptions.8 \
 +		foomatic-addpjloptions.8
  
 -MANCOMPRESSED=no
 -GNU_CONFIGURE=yes
 +#
 +# CVS checkout stuff mostly stolen from security/openssh-askpass port by
 +# kris@freebsd.org
 +#
 +do-fetch:
 +	@if test ! -f ${DISTDIR}/${PKGNAME}${EXTRACT_SUFX} ; then \
 +		${MKDIR} ${DISTDIR}/${PKGNAME} && \
 +		cd ${DISTDIR}/${PKGNAME}; \
 +		for CVS_SITE in ${CVS_SITES}; do \
 +			${ECHO_MSG} ">> Attempting to check out from $${CVS_SITE}."; \
 +			if ${CVS_CMD} -d:$${CVS_SITE} co -D "${CVS_DATE}" ${CVS_MODULE}; \
 +			    then \
 +				cd ${DISTDIR}; \
 +				${ECHO_MSG} ">> Creating dist tarball in ${DISTDIR}"; \
 +				${ECHO_MSG} ">> \"${PKGNAME}${EXTRACT_SUFX}\"."; \
 +				${MV} ${PKGNAME}/${CVS_MODULE} \
 +					${PKGNAME}/${CVS_MODULE:H}/${PKGNAME}; \
 +				${TAR} -cj \
 +					-X ${FILESDIR}/tarignore \
 +					-f ${PKGNAME}${EXTRACT_SUFX} \
 +					-C ${PKGNAME}/${CVS_MODULE:H} \
 +					${PKGNAME}; \
 +				exit; \
 +			fi \
 +		done; \
 +		${RMDIR} ${DISTDIR}/${PKGNAME}; \
 +		${ECHO_MSG} ">> CVS checkout failed."; \
 +		exit 1; \
 +	fi
  
 -LIBDIR=${PREFIX}/share/foomatic/
 +pre-configure:
 +	@cd ${WRKSRC} && ./make_configure
  
 -.include <bsd.port.mk>
 +.include <bsd.port.post.mk>
 diff -ur foomatic-db-engine.org/distinfo foomatic-db-engine/distinfo
 --- foomatic-db-engine.org/distinfo	Sat Jul  5 19:14:05 2003
 +++ foomatic-db-engine/distinfo	Sat Jul  5 19:19:27 2003
 @@ -1 +1 @@
 -MD5 (foomatic-db-engine-3.0.0beta1.tar.gz) = f8617144db2a255bc9ae4b4d7efd8bda
 +MD5 (foomatic-db-engine-20030704.tar.bz2) = 4b9501c059986fd24ff228a2da52f874
 diff -ur foomatic-db-engine.org/pkg-plist foomatic-db-engine/pkg-plist
 --- foomatic-db-engine.org/pkg-plist	Sat Jul  5 19:16:18 2003
 +++ foomatic-db-engine/pkg-plist	Sat Jul  5 19:16:02 2003
 @@ -13,8 +13,10 @@
  sbin/foomatic-fix-xml
  sbin/foomatic-getpjloptions
  sbin/foomatic-kitload
 +sbin/foomatic-nonumericalids
  sbin/foomatic-ppdload
  sbin/foomatic-preferred-driver
 +sbin/foomatic-replaceoldprinterids
  share/foomatic/templates/pjl_enum_choice.xml
  share/foomatic/templates/pjl_enum_option.xml
  share/foomatic/templates/pjl_num_option.xml
 --- foomatic-db-engine.update ends here ---
 
 
State-Changed-From-To: open->closed 
State-Changed-By: edwin 
State-Changed-When: Wed Oct 8 05:53:09 PDT 2003 
State-Changed-Why:  
Commited, thanks! 
Needed to tweak it a little bit to make it LOCLABASE clean. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=48812 
>Unformatted:
