diff options
author | bf <bf@FreeBSD.org> | 2013-03-06 08:30:39 +0800 |
---|---|---|
committer | bf <bf@FreeBSD.org> | 2013-03-06 08:30:39 +0800 |
commit | 80eacd88f53f25540f1b0bcba1454fdbbaa5b838 (patch) | |
tree | ea3a753458c9bcf3a631942bd069a8111f7004a3 /graphics | |
parent | 71b21069f319e69e8ce7a901e600b80854ec3a56 (diff) | |
download | freebsd-ports-gnome-80eacd88f53f25540f1b0bcba1454fdbbaa5b838.tar.gz freebsd-ports-gnome-80eacd88f53f25540f1b0bcba1454fdbbaa5b838.tar.zst freebsd-ports-gnome-80eacd88f53f25540f1b0bcba1454fdbbaa5b838.zip |
update to 1.69 and adjust dependent ports
PR: 175960
Approved by: maintainer timeout (25 days)
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/leptonica/Makefile | 40 | ||||
-rw-r--r-- | graphics/leptonica/distinfo | 4 | ||||
-rw-r--r-- | graphics/leptonica/pkg-message | 2 | ||||
-rw-r--r-- | graphics/leptonica/pkg-plist | 14 | ||||
-rw-r--r-- | graphics/tesseract/Makefile | 7 |
5 files changed, 38 insertions, 29 deletions
diff --git a/graphics/leptonica/Makefile b/graphics/leptonica/Makefile index 3c479b51dcae..bed642186f04 100644 --- a/graphics/leptonica/Makefile +++ b/graphics/leptonica/Makefile @@ -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 @@ USE_LDCONFIG= yes 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> diff --git a/graphics/leptonica/distinfo b/graphics/leptonica/distinfo index ecd341a3e334..8cbb0506e599 100644 --- a/graphics/leptonica/distinfo +++ b/graphics/leptonica/distinfo @@ -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 diff --git a/graphics/leptonica/pkg-message b/graphics/leptonica/pkg-message new file mode 100644 index 000000000000..6fbb780c16ff --- /dev/null +++ b/graphics/leptonica/pkg-message @@ -0,0 +1,2 @@ +To use gplot (the optional programmatic interface to gnuplot), +the math/gnuplot port must be installed. diff --git a/graphics/leptonica/pkg-plist b/graphics/leptonica/pkg-plist index 7f443b4542e9..e5ed48613ba0 100644 --- a/graphics/leptonica/pkg-plist +++ b/graphics/leptonica/pkg-plist @@ -2,7 +2,7 @@ bin/adaptmaptest 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/cctest1 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/convolvetest 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/flipselgen bin/fmorphauto_reg bin/fmorphautogen bin/fpix_reg +bin/fpixcontours bin/gammatest bin/genfonts bin/gifio_reg @@ -163,7 +169,6 @@ bin/rotatefastalt bin/rotateorth_reg bin/rotateorthtest1 bin/rotatetest1 -bin/rotatetest2 bin/runlengthtest bin/scale_reg bin/scaleandtile @@ -218,7 +223,6 @@ include/leptonica/gplot.h 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 @@ include/leptonica/watershed.h lib/liblept.a lib/liblept.la lib/liblept.so -lib/liblept.so.2 +lib/liblept.so.3 @dirrm include/leptonica diff --git a/graphics/tesseract/Makefile b/graphics/tesseract/Makefile index bd7c56631ea4..b0b0835c5339 100644 --- a/graphics/tesseract/Makefile +++ b/graphics/tesseract/Makefile @@ -1,12 +1,9 @@ -# New ports collection makefile for: tesseract -# Date created: 18 July 2007 -# Whom: Andrew Pantyukhin <infofarmer@FreeBSD.org> -# +# Created by: Andrew Pantyukhin <infofarmer@FreeBSD.org> # $FreeBSD$ -# PORTNAME= tesseract PORTVERSION= 3.02.02 +PORTREVISION= 1 CATEGORIES= graphics MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE} DISTFILES= tesseract-ocr-${PORTVERSION}${EXTRACT_SUFX} |