From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Jun 9 07:20:28 2003 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8164737B405 for ; Mon, 9 Jun 2003 07:20:28 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id C5D4B43FF3 for ; Mon, 9 Jun 2003 07:20:20 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h59EKJUp070941 for ; Mon, 9 Jun 2003 07:20:19 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h59EKJbP070936; Mon, 9 Jun 2003 07:20:19 -0700 (PDT) Resent-Date: Mon, 9 Jun 2003 07:20:19 -0700 (PDT) Resent-Message-Id: <200306091420.h59EKJbP070936@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, KATO Tsuguru Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CFFBE37B401 for ; Mon, 9 Jun 2003 07:12:55 -0700 (PDT) Received: from hfep03.dion.ne.jp (hfep03.dion.ne.jp [203.181.105.69]) by mx1.FreeBSD.org (Postfix) with ESMTP id F3A2C43F3F for ; Mon, 9 Jun 2003 07:12:54 -0700 (PDT) (envelope-from tkato@prontomail.com) Received: from localhost ([61.198.222.68]) by hfep03.dion.ne.jp with SMTP id <20030609141250578.FQUP@hfep03.dion.ne.jp> for ; Mon, 9 Jun 2003 23:12:50 +0900 Message-Id: <20030609231058.62a15e47.tkato@prontomail.com> Date: Mon, 9 Jun 2003 23:10:58 +0900 From: KATO Tsuguru To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/53107: Update port: print/cups-pstoraster to 7.07 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Jun 2003 14:20:29 -0000 >Number: 53107 >Category: ports >Synopsis: Update port: print/cups-pstoraster to 7.07 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon Jun 09 07:20:18 PDT 2003 >Closed-Date: >Last-Modified: >Originator: KATO Tsuguru >Release: FreeBSD 4.8-RELEASE i386 >Organization: >Environment: >Description: - Update to version 7.07 New file: files/cups.contrib.mak files/patch-src:gxobj.h >How-To-Repeat: >Fix: diff -urN /usr/ports/print/cups-pstoraster/Makefile print/cups-pstoraster/Makefile --- /usr/ports/print/cups-pstoraster/Makefile Mon Jun 9 07:15:33 2003 +++ print/cups-pstoraster/Makefile Mon Jun 9 22:11:09 2003 @@ -6,13 +6,15 @@ # PORTNAME= cups-pstoraster -PORTVERSION= 7.05.6 +PORTVERSION= 7.07 PORTREVISION= 0 CATEGORIES= print MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \ ftp://ftp.easysw.com/pub/ghostscript/ -MASTER_SITE_SUBDIR= espgs -DISTNAME= espgs-${PORTVERSION}-source +MASTER_SITE_SUBDIR= ghostscript espgs +DISTFILES= ghostscript-${PORTVERSION}${EXTRACT_SUFX} \ + espgs-7.05.6-source${EXTRACT_SUFX} +DIST_SUBDIR= ghostscript MAINTAINER= ports@FreeBSD.org COMMENT= GNU Postscript interpreter for CUPS printing to non-PS printers @@ -20,20 +22,33 @@ LIB_DEPENDS+= cups.2:${PORTSDIR}/print/cups-base RUN_DEPENDS+= ${LOCALBASE}/share/ghostscript/fonts/fonts.scale:${PORTSDIR}/print/ghostscript-gnu -WRKSRC= ${WRKDIR}/espgs-${PORTVERSION} +WRKSRC= ${WRKDIR}/ghostscript-${PORTVERSION} USE_BZIP2= yes +USE_REINPLACE= yes USE_GMAKE= yes GNU_CONFIGURE= yes -CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL} +CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ LDFLAGS="-L${LOCALBASE}/lib" CONFIGURE_ARGS= --without-x --without-ijs --without-gimp-print \ - --with-drivers=cups --with-gs=espgs \ - --with-fontpath=${LOCALBASE}/share/ghostscript/fonts \ - --enable-compiled-inits --without-omni - -USE_REINPLACE= yes + --with-gs=espgs +MAKE_ARGS= CFLAGS_STANDARD="${CFLAGS} -DUPD_SIGNAL=0" \ + DEVICE_DEVS="\$$(DD)cups.dev" + +ESPGS_WRKSRC= ${WRKDIR}/espgs-7.05.6/pstoraster + +post-patch: + ${LN} -sf ${ESPGS_WRKSRC}/gdevcups.c ${WRKSRC}/src + ${CAT} ${FILESDIR}/cups.contrib.mak >> ${WRKSRC}/src/contrib.mak + ${SED} -e 's:@prefix@:${PREFIX}:g ; \ + s:@exec_prefix@:${PREFIX}:g ; \ + s:@bindir@:${PREFIX}/bin:g ; \ + s:@GS@:espgs:g' \ + ${ESPGS_WRKSRC}/pstoraster.in > ${ESPGS_WRKSRC}/pstoraster + ${REINPLACE_CMD} -e 's|^CFLAGS=|CFLAGS=@CPPFLAGS@ |g ; \ + s|^LDFLAGS=|LDFLAGS=@LDFLAGS@ |g ; \ + s|^DEVICE_DEVS|#DEVICE_DEVS|g' ${WRKSRC}/Makefile.in pre-build: ${MKDIR} ${WRKSRC}/bin @@ -41,9 +56,9 @@ do-install: ${INSTALL_PROGRAM} ${WRKSRC}/bin/espgs ${PREFIX}/bin - ${INSTALL_DATA} ${WRKSRC}/pstoraster/pstoraster.convs \ + ${INSTALL_DATA} ${ESPGS_WRKSRC}/pstoraster.convs \ ${PREFIX}/etc/cups - ${INSTALL_SCRIPT} ${WRKSRC}/pstoraster/pstoraster \ + ${INSTALL_SCRIPT} ${ESPGS_WRKSRC}/pstoraster \ ${PREFIX}/libexec/cups/filter ${CHOWN} -R ${CUPSOWN}:${CUPSGRP} \ ${PREFIX}/etc/cups ${PREFIX}/libexec/cups/filter diff -urN /usr/ports/print/cups-pstoraster/distinfo print/cups-pstoraster/distinfo --- /usr/ports/print/cups-pstoraster/distinfo Wed Feb 12 19:12:32 2003 +++ print/cups-pstoraster/distinfo Mon Jun 9 08:26:47 2003 @@ -1 +1,2 @@ -MD5 (espgs-7.05.6-source.tar.bz2) = 991cbd7bafc6917a19abf9df3ecad58e +MD5 (ghostscript/ghostscript-7.07.tar.bz2) = 85fd16cdc8232e5e3679a3a7e30a3359 +MD5 (ghostscript/espgs-7.05.6-source.tar.bz2) = 991cbd7bafc6917a19abf9df3ecad58e diff -urN /usr/ports/print/cups-pstoraster/files/cups.contrib.mak print/cups-pstoraster/files/cups.contrib.mak --- /usr/ports/print/cups-pstoraster/files/cups.contrib.mak Thu Jan 1 09:00:00 1970 +++ print/cups-pstoraster/files/cups.contrib.mak Mon Jun 9 10:31:01 2003 @@ -0,0 +1,11 @@ +### ----------------- CUPS Ghostscript Driver ---------------------- ### + +cups_= $(GLOBJ)gdevcups.$(OBJ) + +$(DD)cups.dev: $(cups_) $(DD)page.dev + $(SETPDEV2) $(DD)cups $(cups_) + $(ADDMOD) $(DD)cups -lib cupsimage -lib cups + +$(GLOBJ)gdevcups.$(OBJ): $(GLSRC)gdevcups.c $(PDEVH) + $(GLCC) $(GLO_)gdevcups.$(OBJ) $(C_) $(GLSRC)gdevcups.c + diff -urN /usr/ports/print/cups-pstoraster/files/patch-src:gxobj.h print/cups-pstoraster/files/patch-src:gxobj.h --- /usr/ports/print/cups-pstoraster/files/patch-src:gxobj.h Thu Jan 1 09:00:00 1970 +++ print/cups-pstoraster/files/patch-src:gxobj.h Mon Jun 9 10:41:29 2003 @@ -0,0 +1,17 @@ +--- src/gxobj.h.orig Fri Feb 22 19:45:59 2002 ++++ src/gxobj.h Thu Dec 19 00:16:57 2002 +@@ -99,10 +99,14 @@ + * The final | is because back pointer values are divided by obj_back_scale, + * so objects must be aligned at least 0 mod obj_back_scale. + */ ++#if !defined(__ia64__) + #define obj_align_mod\ + (((arch_align_long_mod - 1) | (arch_align_ptr_mod - 1) |\ + (arch_align_double_mod - 1) | (align_bitmap_mod - 1) |\ + (obj_back_scale - 1)) + 1) ++#else ++#define obj_align_mod 16 ++#endif + /* The only possible values for obj_align_mod are 4, 8, or 16.... */ + #if obj_align_mod == 4 + # define log2_obj_align_mod 2 >Release-Note: >Audit-Trail: >Unformatted: