From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Feb 8 16:20:01 2013 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 04245978 for ; Fri, 8 Feb 2013 16:20:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 60C55F09 for ; Fri, 8 Feb 2013 16:20:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.6/8.14.6) with ESMTP id r18GK0xw017125 for ; Fri, 8 Feb 2013 16:20:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.6/8.14.6/Submit) id r18GK0Zk017124; Fri, 8 Feb 2013 16:20:00 GMT (envelope-from gnats) Resent-Date: Fri, 8 Feb 2013 16:20:00 GMT Resent-Message-Id: <201302081620.r18GK0Zk017124@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, "b.f." Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 77D46963 for ; Fri, 8 Feb 2013 16:18:29 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id 697B2EFE for ; Fri, 8 Feb 2013 16:18:29 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.5/8.14.5) with ESMTP id r18GIRHI004863 for ; Fri, 8 Feb 2013 16:18:27 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.5/8.14.5/Submit) id r18GIR8A004862; Fri, 8 Feb 2013 16:18:27 GMT (envelope-from nobody) Message-Id: <201302081618.r18GIR8A004862@red.freebsd.org> Date: Fri, 8 Feb 2013 16:18:27 GMT From: "b.f." To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: ports/175960: [PATCH] graphics/leptonica: update to 1.69 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Feb 2013 16:20:01 -0000 >Number: 175960 >Category: ports >Synopsis: [PATCH] graphics/leptonica: update to 1.69 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Fri Feb 08 16:20:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: b.f. >Release: 10.0-CURRENT amd64 >Organization: - >Environment: >Description: update to 1.69; add a note about optional dependencies when using gplot; run non-interactive tests on tinderboxes and the build cluster; trim header. >How-To-Repeat: >Fix: Patch attached with submission follows: Index: Makefile =================================================================== --- Makefile (revision 311938) +++ Makefile (working copy) @@ -1,24 +1,19 @@ -# New ports collection makefile for: leptonlib -# Date created: 2009-05-20 -# Whom: Hiroto Kagotani -# +# Created by: Hiroto Kagotani # $FreeBSD$ -# PORTNAME= leptonica -PORTVERSION= 1.68 -PORTREVISION= 1 +PORTVERSION= 1.69 CATEGORIES= graphics MASTER_SITES= GOOGLE_CODE MAINTAINER= hiroto.kagotani@gmail.com COMMENT= C library for efficient image processing and image analysis operations -LIB_DEPENDS= gif.5:${PORTSDIR}/graphics/giflib \ - jpeg.11:${PORTSDIR}/graphics/jpeg \ +LIB_DEPENDS= gif:${PORTSDIR}/graphics/giflib \ + jpeg:${PORTSDIR}/graphics/jpeg \ png15:${PORTSDIR}/graphics/png \ - tiff.4:${PORTSDIR}/graphics/tiff \ - webp.2:${PORTSDIR}/graphics/webp + tiff:${PORTSDIR}/graphics/tiff \ + webp:${PORTSDIR}/graphics/webp CONFLICTS= leptonlib-[0-9]* @@ -28,15 +23,26 @@ CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib +.include + +TESTS?= generate compare +.if defined(MAINTAINER_MODE) || defined(PACKAGE_BUILDING) +BUILD_DEPENDS+= ${LOCALBASE}/bin/gnuplot:${PORTSDIR}/math/gnuplot +.endif +#the display portion of the regression tests is interactive, +#and requires the use of xv, xli or xzgv as an image viewer .if defined(MAINTAINER_MODE) && !defined(BATCH) +TESTS+= display +.endif + check regression-test test: build -#"display" requires the installation of graphics/xzgv -.for c in generate compare display - @${SETENV} \ +.for c in ${TESTS} + @cd ${WRKSRC}/prog; ${SETENV} \ LD_LIBRARY_PATH="${WRKSRC}/src/.libs:${LOCALBASE}/lib" \ - PATH="${PATH}:${WRKSRC}/prog" \ ${WRKSRC}/prog/alltests_reg ${c} .endfor -.endif -.include +post-install: + ${CAT} ${PKGMESSAGE} + +.include Index: distinfo =================================================================== --- distinfo (revision 311938) +++ distinfo (working copy) @@ -1,2 +1,2 @@ -SHA256 (leptonica-1.68.tar.gz) = acefb6c50db2913f117afdbb19a549f7409cf8fa5d9a435692cb10ff89a81f8f -SIZE (leptonica-1.68.tar.gz) = 6695020 +SHA256 (leptonica-1.69.tar.gz) = 178021f2bff504cc0e30bd91a0347a82bf726eca2778b68db4b44aaee3020b11 +SIZE (leptonica-1.69.tar.gz) = 7618131 Index: pkg-message =================================================================== --- pkg-message (revision 0) +++ pkg-message (working copy) @@ -0,0 +1,2 @@ +To use the optional gplot programmatic interface to gnuplot, +the math/gnuplot port must be installed. Index: pkg-plist =================================================================== --- pkg-plist (revision 311938) +++ pkg-plist (working copy) @@ -2,7 +2,7 @@ bin/adaptnorm_reg bin/affine_reg bin/alltests_reg -bin/alphaclean_reg +bin/alphaops_reg bin/alphaxform_reg bin/arithtest bin/barcodetest @@ -26,12 +26,14 @@ bin/ccthin1_reg bin/ccthin2_reg bin/cmapquant_reg +bin/coloring_reg bin/colormask_reg bin/colormorphtest bin/colorquant_reg bin/colorseg_reg bin/colorsegtest bin/colorspacetest +bin/compare_reg bin/comparepages bin/comparetest bin/compfilter_reg @@ -50,10 +52,13 @@ bin/cornertest bin/croptext bin/dewarp_reg -bin/dewarptest +bin/dewarptest1 +bin/dewarptest2 +bin/dewarptest3 bin/digitprep1 bin/distance_reg bin/dithertest +bin/dna_reg bin/dwalineargen bin/dwamorph1_reg bin/dwamorph2_reg @@ -76,6 +81,7 @@ bin/fmorphauto_reg bin/fmorphautogen bin/fpix_reg +bin/fpixcontours bin/gammatest bin/genfonts bin/gifio_reg @@ -163,7 +169,6 @@ bin/rotateorth_reg bin/rotateorthtest1 bin/rotatetest1 -bin/rotatetest2 bin/runlengthtest bin/scale_reg bin/scaleandtile @@ -218,7 +223,6 @@ include/leptonica/heap.h include/leptonica/imageio.h include/leptonica/jbclass.h -include/leptonica/leptprotos.h include/leptonica/leptwin.h include/leptonica/list.h include/leptonica/morph.h @@ -233,5 +237,5 @@ lib/liblept.a lib/liblept.la lib/liblept.so -lib/liblept.so.2 +lib/liblept.so.3 @dirrm include/leptonica >Release-Note: >Audit-Trail: >Unformatted: