db engine for foomatic (and gimp-print) printer drivers
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
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.
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
>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 Commited, thanks! Needed to tweak it a little bit to make it LOCLABASE clean.