Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 Feb 2013 16:18:27 GMT
From:      "b.f." <bf@FreeBSD.org>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/175960: [PATCH] graphics/leptonica: update to 1.69
Message-ID:  <201302081618.r18GIR8A004862@red.freebsd.org>
Resent-Message-ID: <201302081620.r18GK0Zk017124@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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 <hiroto.kagotani@gmail.com>
-#
+# Created by: Hiroto Kagotani <hiroto.kagotani@gmail.com>
 # $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 <bsd.port.pre.mk>
+
+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 <bsd.port.mk>
+post-install:
+	${CAT} ${PKGMESSAGE}
+
+.include <bsd.port.post.mk>
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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201302081618.r18GIR8A004862>