From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Sep 23 16:40:19 2004 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 387F816A4CF for ; Thu, 23 Sep 2004 16:40:19 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1A48443D39 for ; Thu, 23 Sep 2004 16:40:19 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i8NGeIil019070 for ; Thu, 23 Sep 2004 16:40:18 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i8NGeIAX019069; Thu, 23 Sep 2004 16:40:18 GMT (envelope-from gnats) Resent-Date: Thu, 23 Sep 2004 16:40:18 GMT Resent-Message-Id: <200409231640.i8NGeIAX019069@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, Michael Johnson Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7EE2916A4CE; Thu, 23 Sep 2004 16:34:46 +0000 (GMT) Received: from imf24aec.mail.bellsouth.net (imf24aec.mail.bellsouth.net [205.152.59.72]) by mx1.FreeBSD.org (Postfix) with ESMTP id BFC2D43D45; Thu, 23 Sep 2004 16:34:45 +0000 (GMT) (envelope-from ahze@blueheron.ahze.net) Received: from blueheron.ahze.net ([68.209.163.3]) by imf24aec.mail.bellsouth.netESMTP <20040923163440.SBOU18351.imf24aec.mail.bellsouth.net@blueheron.ahze.net>; Thu, 23 Sep 2004 12:34:40 -0400 Received: (from root@localhost) by blueheron.ahze.net (8.13.1/8.13.1/Submit) id i8NGYdLa025153; Thu, 23 Sep 2004 12:34:39 -0400 (EDT) (envelope-from ahze) Message-Id: <200409231634.i8NGYdLa025153@blueheron.ahze.net> Date: Thu, 23 Sep 2004 12:34:39 -0400 (EDT) From: Michael Johnson To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 cc: dinoex@FreeBSD.org Subject: ports/72039: [PATCH] graphics/tiff: [Add LZW-kit] 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: Thu, 23 Sep 2004 16:40:19 -0000 >Number: 72039 >Category: ports >Synopsis: [PATCH] graphics/tiff: [Add LZW-kit] >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: Thu Sep 23 16:40:18 GMT 2004 >Closed-Date: >Last-Modified: >Originator: Michael Johnson >Release: FreeBSD 5.3-BETA3 i386 >Organization: >Environment: System: FreeBSD blueheron.ahze.net 5.3-BETA3 FreeBSD 5.3-BETA3 #66: Tue Sep 7 12:56:04 EDT >Description: - Enable LZW compression kit for users who are able to use LZW Port maintainer (dinoex@FreeBSD.org) is cc'd. Generated with FreeBSD Port Tools 0.63 >How-To-Repeat: >Fix: --- tiff-3.6.1_2.patch begins here --- Index: Makefile =================================================================== RCS file: /home/ncvs/ports/graphics/tiff/Makefile,v retrieving revision 1.44 diff -u -r1.44 Makefile --- Makefile 22 Sep 2004 02:49:17 -0000 1.44 +++ Makefile 23 Sep 2004 16:30:10 -0000 @@ -13,13 +13,22 @@ CATEGORIES= graphics MASTER_SITES= ftp://ftp.remotesensing.org/pub/libtiff/ \ http://libtiff.maptools.org/dl/ -DISTNAME= ${PORTNAME}-v${PORTVERSION} +DISTFILES= ${PORTNAME}-v${PORTVERSION}.tar.gz +.if defined(WITH_TIFF_LZW_KIT) +DISTFILES+= ${LZW_DIST} +.endif MAINTAINER= dinoex@FreeBSD.org COMMENT= Tools and library routines for working with TIFF images LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg +LZKIT= libtiff-lzw-compression-kit +LZKIT_VER= 1.5 +LZW_DIST= ${LZKIT}-${LZKIT_VER}.tar.gz + +WRKSRC= ${WRKDIR}/${PORTNAME}-v${PORTVERSION} + INSTALLS_SHLIB= yes HAS_CONFIGURE= yes CONFIGURE_ARGS= --with-ZIP --with-JPEG \ @@ -113,4 +122,30 @@ TIFFtile.3t TIFFTileRowSize.3t \ TIFFtile.3t TIFFVTileSize.3t -.include +.include + +.if defined(WITH_TIFF_LZW_KIT) +RESTRICTED= "Redistribution not allowed" + +.if !exists(${DISTDIR}/${LZW_DIST}) +IGNORE= Due to patent enforcement from Unisys you must manually\ + fetch ${LZW_DIST} from ftp://ftp.remotesensing.org/libtiff\ + To use this patch legally you must live in a country where the patent\ + does not apply or you must obtain a license from Unisys +.endif +.endif + +pre-everything:: +.if !defined(WITH_TIFF_LZW_KIT) + @${ECHO_MSG} "===>" + @${ECHO_MSG} "===> Enable LZW Compression by defining" + @${ECHO_MSG} "===> WITH_TIFF_LZW_KIT" + @${ECHO_MSG} "===>" +.endif + +post-patch: +.if defined(WITH_TIFF_LZW_KIT) + @${CP} -f ${WRKDIR}/${LZKIT}-${LZKIT_VER}/tif_lzw.c ${WRKSRC}/libtiff +.endif + +.include Index: distinfo =================================================================== RCS file: /home/ncvs/ports/graphics/tiff/distinfo,v retrieving revision 1.15 diff -u -r1.15 distinfo --- distinfo 26 Feb 2004 05:22:28 -0000 1.15 +++ distinfo 23 Sep 2004 16:20:03 -0000 @@ -1,2 +1,4 @@ MD5 (tiff-v3.6.1.tar.gz) = b3f0ee7617593c2703755672fb1bfed3 SIZE (tiff-v3.6.1.tar.gz) = 1072165 +MD5 (libtiff-lzw-compression-kit-1.5.tar.gz) = 2cd1c94d237d47104106de3bf4f08baa +SIZE (libtiff-lzw-compression-kit-1.5.tar.gz) = 9646 --- tiff-3.6.1_2.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted: