graphics/leptonica: update to 1.76.0

* switch to github
* remove unnecessary patch file

Committing after maintainer timeout (2 weeks)

PR:	228278
Submitted by:	freebsd@dhke.de
Approved by:	tcberner (mentor)
Differential Revision:	https://reviews.freebsd.org/D15478
This commit is contained in:
Fernando Apesteguía 2018-06-01 15:30:57 +00:00
parent a0a674773b
commit d50a3768f8
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=471263
4 changed files with 14 additions and 24 deletions

View File

@ -2,10 +2,8 @@
# $FreeBSD$
PORTNAME= leptonica
PORTVERSION= 1.74.1
PORTREVISION= 1
PORTVERSION= 1.76.0
CATEGORIES= graphics
MASTER_SITES= http://www.leptonica.com/source/
MAINTAINER= hiroto.kagotani@gmail.com
COMMENT= C library for efficient image processing and image analysis operations
@ -16,9 +14,16 @@ LIB_DEPENDS= libgif.so:graphics/giflib \
libtiff.so:graphics/tiff \
libwebp.so:graphics/webp
CONFLICTS= leptonlib-[0-9]*
LICENSE_FILE= leptonica-license.txt
CONFLICTS= leptonlib-[0-9]*
CONFLICTS_BUILD= openjpeg15
USES= autoreconf jpeg libtool pathfix pkgconfig
USE_GITHUB= yes
GH_ACCOUNT= DanBloomberg
USES= jpeg libtool pathfix
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
CPPFLAGS+= -I${LOCALBASE}/include

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1487336576
SHA256 (leptonica-1.74.1.tar.gz) = 746a517a47a3bd2a90bc8d581ca6464c10f30e91a60209735efe45b3778bec62
SIZE (leptonica-1.74.1.tar.gz) = 11707064
TIMESTAMP = 1526412216
SHA256 (DanBloomberg-leptonica-1.76.0_GH0.tar.gz) = ff98ffef6103cda0e400676f81113a8157569ac0f453c6e03a1a27b305ba25a7
SIZE (DanBloomberg-leptonica-1.76.0_GH0.tar.gz) = 11557709

View File

@ -1,11 +0,0 @@
--- configure.orig 2017-01-02 21:49:40 UTC
+++ configure
@@ -12929,7 +12929,7 @@ if test "x$ac_cv_lib_openjp2_opj_create_
$as_echo "#define HAVE_LIBJP2K 1" >>confdefs.h
LIBJP2K_LIBS=-lopenjp2
- for ac_header in openjpeg-2.2/openjpeg.h openjpeg-2.1/openjpeg.h openjpeg-2.0/openjpeg.h
+ for ac_header in openjpeg-2.3/openjpeg.h openjpeg-2.2/openjpeg.h openjpeg-2.1/openjpeg.h openjpeg-2.0/openjpeg.h
do :
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"

View File

@ -6,10 +6,6 @@ bin/convertsegfilestops
bin/converttopdf
bin/converttops
bin/fileinfo
bin/printimage
bin/printsplitimage
bin/printtiff
bin/splitimage2pdf
bin/xtractprotos
include/leptonica/allheaders.h
include/leptonica/alltypes.h
@ -45,5 +41,5 @@ include/leptonica/watershed.h
lib/liblept.a
lib/liblept.so
lib/liblept.so.5
lib/liblept.so.5.0.1
lib/liblept.so.5.0.3
libdata/pkgconfig/lept.pc