Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 6 Oct 2018 17:57:01 +0000 (UTC)
From:      Steve Wills <swills@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r481381 - in head/textproc/libextractor: . files
Message-ID:  <201810061757.w96Hv1Ao089148@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: swills
Date: Sat Oct  6 17:57:01 2018
New Revision: 481381
URL: https://svnweb.freebsd.org/changeset/ports/481381

Log:
  textproc/libextractor: Update to 1.7
  
  PR:		231695
  Submitted by:	Nathan <ndowens@yahoo.com>

Deleted:
  head/textproc/libextractor/files/
Modified:
  head/textproc/libextractor/Makefile   (contents, props changed)
  head/textproc/libextractor/distinfo   (contents, props changed)
  head/textproc/libextractor/pkg-plist   (contents, props changed)

Modified: head/textproc/libextractor/Makefile
==============================================================================
--- head/textproc/libextractor/Makefile	Sat Oct  6 17:55:35 2018	(r481380)
+++ head/textproc/libextractor/Makefile	Sat Oct  6 17:57:01 2018	(r481381)
@@ -2,26 +2,30 @@
 # $FreeBSD$
 
 PORTNAME=	libextractor
-PORTVERSION=	1.3
-PORTREVISION=	11
+PORTVERSION=	1.7
 CATEGORIES=	textproc
 MASTER_SITES=	GNU
 
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Library for keyword extraction
 
-LICENSE=	GPLv3+
+LICENSE=	GPLv3
+LICENSE_FILE=	${WRKSRC}/COPYING
 
-LIB_DEPENDS=	libltdl.so:devel/libltdl
+BUILD_DEPENDS=	tidy-html5>0:www/tidy-html5
+LIB_DEPENDS=	libltdl.so:devel/libltdl libogg.so:audio/libogg \
+		libtiff.so:graphics/tiff
 
-USES=		iconv gettext libtool makeinfo pathfix pkgconfig python
-USE_GNOME=	gtk20
+USES=		gnome iconv jpeg libarchive libtool \
+		makeinfo pathfix pkgconfig python
+
+USE_GNOME=	gtk20 gdkpixbuf2
+USE_LDCONFIG=	yes
+
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	--with-gtk-version=2 \
 		--with-ltdl=${LOCALBASE}
 INSTALL_TARGET=	install-strip
-USE_LDCONFIG=	yes
-MAKE_JOBS_UNSAFE=	yes
 
 CPPFLAGS+=	$$(pkg-config --cflags gtk+-2.0) \
 		-I${LOCALBASE}/include
@@ -30,7 +34,7 @@ LDFLAGS+=	-L${LOCALBASE}/lib ${ICONV_LIB}
 INFO=		libextractor
 
 OPTIONS_DEFINE=		EXIV2 FFMPEG FLAC GIF GSF GSTREAMER MPEG2 MP4 \
-			RPM SMF TIDY VORBIS
+			NLS RPM SMF TIDY VORBIS
 OPTIONS_DEFAULT=	EXIV2 FFMPEG FLAC GIF GSF GSTREAMER MPEG2 MP4 \
 			RPM SMF TIDY VORBIS
 OPTIONS_SUB=		yes
@@ -39,7 +43,7 @@ EXIV2_LIB_DEPENDS=	libexiv2.so:graphics/exiv2
 EXIV2_CONFIGURE_ENV=	EXIV2_H="<exiv2/image.hpp>"
 EXIV2_CONFIGURE_ENV_OFF=	EXIV2_H=""
 FLAC_LIB_DEPENDS=	libFLAC.so:audio/flac
-FLAC_CONFIGURE_ENV_OFF= ac_cv_lib_FLAC_FLAC__stream_decoder_init_stream=no
+FLAC_CONFIGURE_ENV_OFF=ac_cv_lib_FLAC_FLAC__stream_decoder_init_stream=no
 FFMPEG_LIB_DEPENDS=	libavcodec.so:multimedia/ffmpeg
 FFMPEG_CONFIGURE_ENABLE=	ffmpeg
 GIF_LIB_DEPENDS=	libgif.so:graphics/giflib
@@ -53,6 +57,8 @@ MPEG2_LIB_DEPENDS=	libmpeg2.so:multimedia/libmpeg2
 MPEG2_CONFIGURE_ENV_OFF=	ac_cv_lib_mpeg2_mpeg2_init=no
 MP4_LIB_DEPENDS=	libmp4v2.so:multimedia/mp4v2
 MP4_CONFIGURE_ENV_OFF=	ac_cv_lib_mp4v2_MP4ReadProvider=no
+NLS_USES=		gettext-runtime
+NLS_CONFIGURE_ENABLE=	nls
 RPM_DESC=		RPM support
 RPM_LIB_DEPENDS=	librpm.so:archivers/rpm4
 RPM_CONFIGURE_ENV=	ac_cv_lib_rpm_rpmReadPackageFile=yes
@@ -74,5 +80,6 @@ post-patch:
 		 s|<tidy/tidy.h>|$${TIDY_H}|' ${WRKSRC}/configure
 	@${REINPLACE_CMD} -e \
 		's|-lpthread|-pthread|' ${WRKSRC}/src/plugins/Makefile.in
+	${REINPLACE_CMD} -e 's|tidy/tidybuffio.h|tidybuffio.h|' ${WRKSRC}/src/plugins/html_extractor.c
 
 .include <bsd.port.mk>

Modified: head/textproc/libextractor/distinfo
==============================================================================
--- head/textproc/libextractor/distinfo	Sat Oct  6 17:55:35 2018	(r481380)
+++ head/textproc/libextractor/distinfo	Sat Oct  6 17:57:01 2018	(r481381)
@@ -1,2 +1,3 @@
-SHA256 (libextractor-1.3.tar.gz) = 868ad64c9a056d6b923d451d746935bffb1ddf5d89c3eb4f67d786001a3f7b7f
-SIZE (libextractor-1.3.tar.gz) = 7942021
+TIMESTAMP = 1537748923
+SHA256 (libextractor-1.7.tar.gz) = e0a6fde824cf2212c4f217a5e0fc03391251cfb46ca000117f66cf7ae4368e8f
+SIZE (libextractor-1.7.tar.gz) = 8075299

Modified: head/textproc/libextractor/pkg-plist
==============================================================================
--- head/textproc/libextractor/pkg-plist	Sat Oct  6 17:55:35 2018	(r481380)
+++ head/textproc/libextractor/pkg-plist	Sat Oct  6 17:57:01 2018	(r481381)
@@ -3,11 +3,7 @@ include/extractor.h
 lib/libextractor.a
 lib/libextractor.so
 lib/libextractor.so.3
-lib/libextractor.so.3.1.3
-lib/libextractor_common.a
-lib/libextractor_common.so
-lib/libextractor_common.so.1
-lib/libextractor_common.so.1.0.0
+lib/libextractor.so.3.1.6
 lib/libextractor/libextractor_archive.a
 lib/libextractor/libextractor_archive.so
 lib/libextractor/libextractor_deb.a
@@ -46,6 +42,8 @@ lib/libextractor/libextractor_odf.so
 %%VORBIS%%lib/libextractor/libextractor_ogg.so
 %%GSF%%lib/libextractor/libextractor_ole2.a
 %%GSF%%lib/libextractor/libextractor_ole2.so
+lib/libextractor/libextractor_pdf.a
+lib/libextractor/libextractor_pdf.so
 lib/libextractor/libextractor_png.a
 lib/libextractor/libextractor_png.so
 %%FFMPEG%%lib/libextractor/libextractor_previewopus.a
@@ -72,17 +70,23 @@ lib/libextractor/libextractor_xm.a
 lib/libextractor/libextractor_xm.so
 lib/libextractor/libextractor_zip.a
 lib/libextractor/libextractor_zip.so
+lib/libextractor_common.a
+lib/libextractor_common.so
+lib/libextractor_common.so.1
+lib/libextractor_common.so.1.0.0
 libdata/pkgconfig/libextractor.pc
 man/man1/extract.1.gz
 man/man3/libextractor.3.gz
-share/locale/de/LC_MESSAGES/libextractor.mo
-share/locale/fr/LC_MESSAGES/libextractor.mo
-share/locale/ga/LC_MESSAGES/libextractor.mo
-share/locale/it/LC_MESSAGES/libextractor.mo
-share/locale/nl/LC_MESSAGES/libextractor.mo
-share/locale/pl/LC_MESSAGES/libextractor.mo
-share/locale/ro/LC_MESSAGES/libextractor.mo
-share/locale/rw/LC_MESSAGES/libextractor.mo
-share/locale/sv/LC_MESSAGES/libextractor.mo
-share/locale/uk/LC_MESSAGES/libextractor.mo
-share/locale/vi/LC_MESSAGES/libextractor.mo
+%%NLS%%share/locale/de/LC_MESSAGES/libextractor.mo
+%%NLS%%share/locale/es/LC_MESSAGES/libextractor.mo
+%%NLS%%share/locale/fr/LC_MESSAGES/libextractor.mo
+%%NLS%%share/locale/ga/LC_MESSAGES/libextractor.mo
+%%NLS%%share/locale/it/LC_MESSAGES/libextractor.mo
+%%NLS%%share/locale/nl/LC_MESSAGES/libextractor.mo
+%%NLS%%share/locale/pl/LC_MESSAGES/libextractor.mo
+%%NLS%%share/locale/ro/LC_MESSAGES/libextractor.mo
+%%NLS%%share/locale/rw/LC_MESSAGES/libextractor.mo
+%%NLS%%share/locale/sr/LC_MESSAGES/libextractor.mo
+%%NLS%%share/locale/sv/LC_MESSAGES/libextractor.mo
+%%NLS%%share/locale/uk/LC_MESSAGES/libextractor.mo
+%%NLS%%share/locale/vi/LC_MESSAGES/libextractor.mo



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