From owner-freebsd-ports-bugs@FreeBSD.ORG Tue May 4 18:10:01 2010 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C96E91065675 for ; Tue, 4 May 2010 18:10:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id A84058FC1E for ; Tue, 4 May 2010 18:10:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o44IA1mD025503 for ; Tue, 4 May 2010 18:10:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o44IA1K3025502; Tue, 4 May 2010 18:10:01 GMT (envelope-from gnats) Resent-Date: Tue, 4 May 2010 18:10:01 GMT Resent-Message-Id: <201005041810.o44IA1K3025502@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 [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 604BA1065696 for ; Tue, 4 May 2010 18:00:56 +0000 (UTC) (envelope-from tkato432@yahoo.com) Received: from msa106lp.auone-net.jp (msa106lp.auone-net.jp [222.3.140.169]) by mx1.freebsd.org (Postfix) with ESMTP id 225DF8FC21 for ; Tue, 4 May 2010 18:00:56 +0000 (UTC) Received: from localhost.localdomain (ZT030180.ppp.dion.ne.jp [59.128.30.180]) by msa106lp.auone-net.jp (au one net msa) with ESMTP id CD08D23C031 for ; Wed, 5 May 2010 03:00:48 +0900 (JST) Message-Id: <20100505030011.1efa6e29.tkato432@yahoo.com> Date: Wed, 5 May 2010 03:00:11 +0900 From: KATO Tsuguru To: FreeBSD-gnats-submit@FreeBSD.org Cc: Subject: ports/146305: Update port: graphics/sam2p to 0.47 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 May 2010 18:10:01 -0000 >Number: 146305 >Category: ports >Synopsis: Update port: graphics/sam2p to 0.47 >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: Tue May 04 18:10:01 UTC 2010 >Closed-Date: >Last-Modified: >Originator: KATO Tsuguru >Release: FreeBSD 7.3-RELEASE i386 >Organization: >Environment: >Description: - Update to version 0.47 New file: files/patch-gensh.hpp files/patch-ps_tiny.c files/patch-pts_defl.c files/patch-pts_lzw.c >How-To-Repeat: >Fix: diff -urN /usr/ports/graphics/sam2p/Makefile graphics/sam2p/Makefile --- /usr/ports/graphics/sam2p/Makefile 2010-03-28 17:39:22.000000000 +0900 +++ graphics/sam2p/Makefile 2010-03-30 05:08:01.000000000 +0900 @@ -7,33 +7,40 @@ # PORTNAME= sam2p -PORTVERSION= 0.45 -PORTREVISION= 3 +PORTVERSION= 0.47 PORTEPOCH= 1 CATEGORIES= graphics -MASTER_SITES= http://www.inf.bme.hu/~pts/ -DISTNAME= ${PORTNAME}-latest +MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE} MAINTAINER= ports@FreeBSD.org COMMENT= Converts raster (bitmap) image formats into PS or PDF files -BUILD_DEPENDS= tif22pnm:${PORTSDIR}/graphics/tif22pnm \ - tifftopnm:${PORTSDIR}/graphics/netpbm \ - zip:${PORTSDIR}/archivers/zip \ - bash:${PORTSDIR}/shells/bash -LIB_DEPENDS= jpeg:${PORTSDIR}/graphics/jpeg +RUN_DEPENDS= zip:${PORTSDIR}/archivers/zip \ + cjpeg:${PORTSDIR}/graphics/jpeg \ + tif22pnm:${PORTSDIR}/graphics/tif22pnm -USE_GHOSTSCRIPT_RUN= yes - -WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} -PLIST_FILES= bin/sam2p USE_PERL5_BUILD= yes +USE_GHOSTSCRIPT_RUN= yes USE_GMAKE= yes GNU_CONFIGURE= yes +CONFIGURE_ENV= ac_cv_path_pts_bash="${SH}" +MAKE_ARGS= CXXX="${CXX}" LDALL="${CC}" CXXFLAGSB="${CXXFLAGS}" ALL_TARGET= ${PORTNAME} -MAKE_JOBS_UNSAFE= yes +MAKE_JOBS_SAFE= yes + +PORTDOCS= * +PORTEXAMPLES= * +PLIST_FILES= bin/${PORTNAME} do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/sam2p ${PREFIX}/bin + ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin +.if !defined(NOPORTDOCS) + ${MKDIR} ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR} +.endif +.if !defined(NOPORTEXAMPLES) + ${MKDIR} ${EXAMPLESDIR} + @(cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${EXAMPLESDIR}) +.endif .include diff -urN /usr/ports/graphics/sam2p/distinfo graphics/sam2p/distinfo --- /usr/ports/graphics/sam2p/distinfo 2008-04-27 21:12:45.000000000 +0900 +++ graphics/sam2p/distinfo 2010-03-19 02:35:14.000000000 +0900 @@ -1,3 +1,3 @@ -MD5 (sam2p-latest.tar.gz) = a4a02ab538485914327261ca4a7fb631 -SHA256 (sam2p-latest.tar.gz) = 2a26a9fedb40a20bb8ccfefd7fcd8552a259e8b333583a53ff70020d4364f292 -SIZE (sam2p-latest.tar.gz) = 548637 +MD5 (sam2p-0.47.tar.gz) = 2f1acc6bc1f24d51c2906ce080f20687 +SHA256 (sam2p-0.47.tar.gz) = 6e0cdab2b78124084a01cfb41fc5e42c0666c9103d7bf4f7c860f4406e051d23 +SIZE (sam2p-0.47.tar.gz) = 558936 diff -urN /usr/ports/graphics/sam2p/files/patch-gensh.hpp graphics/sam2p/files/patch-gensh.hpp --- /usr/ports/graphics/sam2p/files/patch-gensh.hpp 1970-01-01 09:00:00.000000000 +0900 +++ graphics/sam2p/files/patch-gensh.hpp 2010-03-19 05:53:25.000000000 +0900 @@ -0,0 +1,11 @@ +--- gensi.hpp.orig 2008-05-27 03:58:43.000000000 +0900 ++++ gensi.hpp 2010-03-19 05:53:15.000000000 +0900 +@@ -252,7 +252,7 @@ + if (len!=0) block(beg,len,data); + block(0,0,data); + } +- inline virtual void first_sub(Sub &sub) const { sub.beg=beg; sub.len=len; }; ++ inline virtual void first_sub(Sub &sub) const { sub.beg=beg; sub.len=len; } + inline virtual void next_sub(Sub &sub) const { sub.len=0; } + inline char const*getCString() const { return beg; } + inline char const*operator()() const { return beg; } diff -urN /usr/ports/graphics/sam2p/files/patch-ps_tiny.c graphics/sam2p/files/patch-ps_tiny.c --- /usr/ports/graphics/sam2p/files/patch-ps_tiny.c 1970-01-01 09:00:00.000000000 +0900 +++ graphics/sam2p/files/patch-ps_tiny.c 2010-03-19 05:54:29.000000000 +0900 @@ -0,0 +1,13 @@ +--- ps_tiny.c.orig 2005-02-22 08:22:22.000000000 +0900 ++++ ps_tiny.c 2010-03-19 05:54:19.000000000 +0900 +@@ -1,10 +1,3 @@ +-#define DUMMY \ +-set -ex; \ +-gcc -O3 -s -DNDEBUG=1 -DNO_CONFIG=1 -ansi -pedantic -Wunused \ +- -Wall -W -Wstrict-prototypes -Wtraditional -Wnested-externs -Winline \ +- -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wmissing-prototypes \ +- -Wmissing-declarations ps_tiny.c -o ps_tiny; \ +-exit + /* ps_tiny.c -- read .pin files, write short PostScript code + * by pts@fazekas.hu at Sat Aug 24 12:46:14 CEST 2002 + * -- Sat Aug 24 18:23:08 CEST 2002 diff -urN /usr/ports/graphics/sam2p/files/patch-pts_defl.c graphics/sam2p/files/patch-pts_defl.c --- /usr/ports/graphics/sam2p/files/patch-pts_defl.c 1970-01-01 09:00:00.000000000 +0900 +++ graphics/sam2p/files/patch-pts_defl.c 2010-03-19 05:55:04.000000000 +0900 @@ -0,0 +1,13 @@ +--- pts_defl.c.orig 2008-08-29 05:16:47.000000000 +0900 ++++ pts_defl.c 2010-03-19 05:54:55.000000000 +0900 +@@ -1,10 +1,3 @@ +-#define DUMMY \ +-set -ex; \ +-"${CC:-gcc}" -DNDEBUG=1 -DPTS_DEFL_MAIN -O3 -ansi \ +- -Wall -W -Wstrict-prototypes -Wtraditional -Wnested-externs -Winline \ +- -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wmissing-prototypes \ +- -Wmissing-declarations pts_defl.c -o flateenc; \ +-exit + /* + * pts_defl.c -- C source file ZIP compression ripped from linux-2.6.8.1 + * by pts@fazekas.hu at Tue Jan 18 15:19:06 CET 2005 diff -urN /usr/ports/graphics/sam2p/files/patch-pts_lzw.c graphics/sam2p/files/patch-pts_lzw.c --- /usr/ports/graphics/sam2p/files/patch-pts_lzw.c 1970-01-01 09:00:00.000000000 +0900 +++ graphics/sam2p/files/patch-pts_lzw.c 2010-03-19 05:56:33.000000000 +0900 @@ -0,0 +1,13 @@ +--- pts_lzw.c.orig 2002-12-12 01:43:08.000000000 +0900 ++++ pts_lzw.c 2010-03-19 05:56:24.000000000 +0900 +@@ -1,10 +1,3 @@ +-#define DUMMY \ +-set -ex; \ +-g++ -DNDEBUG=1 -O3 -ansi -pedantic \ +- -Wall -W -Wstrict-prototypes -Wtraditional -Wnested-externs -Winline \ +- -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wmissing-prototypes \ +- -Wmissing-declarations pts_lzw.c -c; \ +-exit + /* pts_lzw.c -- a real, effective implementation of PostScript + * LanguageLevel2 and PDF /LZWEncode and /LZWDecode filters (same as the LZW + * compression used in TIFF raster image files) diff -urN /usr/ports/graphics/sam2p/pkg-descr graphics/sam2p/pkg-descr --- /usr/ports/graphics/sam2p/pkg-descr 2003-02-07 03:33:13.000000000 +0900 +++ graphics/sam2p/pkg-descr 2010-03-19 02:30:45.000000000 +0900 @@ -6,4 +6,4 @@ of many other common image converters. sam2p provides ZIP, RLE and LZW (de)compression filters even on Level1 devices. -WWW: http://www.inf.bme.hu/~pts/sam2p/ +WWW: http://code.google.com/p/sam2p/ >Release-Note: >Audit-Trail: >Unformatted: