Date: Sun, 7 May 2017 21:26:23 +0000 (UTC) From: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r440370 - in head/graphics/mozjpeg: . files Message-ID: <201705072126.v47LQNMr051274@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: sunpoet Date: Sun May 7 21:26:23 2017 New Revision: 440370 URL: https://svnweb.freebsd.org/changeset/ports/440370 Log: Update to 3.2 - Build and install static libraries - Update BROKEN: use lowercase for leading character - Remove PLIST_SUB - Convert to options target helper - Cosmetic change - Update pkg-descr - Update WWW - Take maintainership Changes: https://github.com/mozilla/mozjpeg/releases Deleted: head/graphics/mozjpeg/files/ Modified: head/graphics/mozjpeg/Makefile head/graphics/mozjpeg/distinfo head/graphics/mozjpeg/pkg-descr (contents, props changed) head/graphics/mozjpeg/pkg-plist Modified: head/graphics/mozjpeg/Makefile ============================================================================== --- head/graphics/mozjpeg/Makefile Sun May 7 21:26:18 2017 (r440369) +++ head/graphics/mozjpeg/Makefile Sun May 7 21:26:23 2017 (r440370) @@ -2,57 +2,51 @@ # $FreeBSD$ PORTNAME= mozjpeg -PORTVERSION= 3.1 +PORTVERSION= 3.2 DISTVERSIONPREFIX= v -PORTREVISION= 1 CATEGORIES= graphics -MAINTAINER= ports@FreeBSD.org -COMMENT= Advanced JPEG encoder for the Web +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Improved JPEG encoder by Mozilla LICENSE= BSD3CLAUSE -LICENSE_FILE= ${WRKSRC}/LICENSE.txt -USE_GITHUB= yes -GH_ACCOUNT= mozilla +LIB_DEPENDS= libpng.so:graphics/png -USES= autoreconf libtool pkgconfig -USE_LDCONFIG= ${PREFIX}/lib/${PORTNAME} -GNU_CONFIGURE= yes -CONFIGURE_ARGS= --docdir=${PREFIX}/share/doc/${PORTNAME} \ +BROKEN_aarch64= does not configure: error: SIMD support cannot be enabled +BROKEN_mips64= does not configure: error: SIMD support cannot be enabled +BROKEN_powerpc64= does not build: undefined reference to htole32 +BROKEN_sparc64= does not configure: error: SIMD support cannot be enabled + +OPTIONS_DEFINE= DOCS EXAMPLES SIMD TURBOJPEG +OPTIONS_DEFAULT=SIMD TURBOJPEG +OPTIONS_SUB= yes +SIMD_DESC= Include SIMD extensions +TURBOJPEG_DESC= Include the TurboJPEG wrapper library and associated tests + +CONFIGURE_ARGS= --docdir=${DOCSDIR} \ --includedir=${PREFIX}/include/${PORTNAME} \ --libdir=${PREFIX}/lib/${PORTNAME} \ - --with-jpeg8 \ - --disable-static + --with-jpeg8 +GNU_CONFIGURE= yes INSTALL_TARGET= install-strip - -PLIST_SUB= PORTNAME=${PORTNAME} +USE_LDCONFIG= ${PREFIX}/lib/${PORTNAME} +USES= autoreconf libtool pkgconfig PORTDOCS= * PORTEXAMPLES= * -OPTIONS_DEFINE= DOCS EXAMPLES SIMD TURBOJPEG -OPTIONS_DEFAULT=SIMD TURBOJPEG -OPTIONS_SUB= yes - -SIMD_DESC= Include SIMD extensions -TURBOJPEG_DESC= Include the TurboJPEG wrapper library and associated tests +GH_ACCOUNT= mozilla +USE_GITHUB= yes -SIMD_CONFIGURE_WITH= simd -SIMD_BUILD_DEPENDS= yasm:devel/yasm +SIMD_BUILD_DEPENDS= yasm:devel/yasm +SIMD_CONFIGURE_WITH= simd TURBOJPEG_CONFIGURE_WITH= turbojpeg -BROKEN_aarch64= Does not configure: error: SIMD support cannot be enabled -BROKEN_mips64= Does not configure: error: SIMD support cannot be enabled -BROKEN_powerpc64= Does not build: undefined reference to htole32 -BROKEN_sparc64= Does not configure: error: SIMD support cannot be enabled - post-patch: - @${REINPLACE_CMD} -e '/^docdir/s|=.*|= ${DOCSDIR}|; \ - /^exampledir/s|=.*|= ${EXAMPLESDIR}|' \ - ${WRKSRC}/Makefile.am + @${REINPLACE_CMD} -e '/pkgconfig/d; /^exampledir = / s| =.*| = ${EXAMPLESDIR}|' ${WRKSRC}/Makefile.am -post-install: - (cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}) +post-install-DOCS-on: + cd ${WRKSRC}/doc/ && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}/ .include <bsd.port.mk> Modified: head/graphics/mozjpeg/distinfo ============================================================================== --- head/graphics/mozjpeg/distinfo Sun May 7 21:26:18 2017 (r440369) +++ head/graphics/mozjpeg/distinfo Sun May 7 21:26:23 2017 (r440370) @@ -1,2 +1,3 @@ -SHA256 (mozilla-mozjpeg-v3.1_GH0.tar.gz) = 11823198f3c677b1832fa2dcf702e458f70c959661c4bec9c8922b7c36e94739 -SIZE (mozilla-mozjpeg-v3.1_GH0.tar.gz) = 1180063 +TIMESTAMP = 1494045680 +SHA256 (mozilla-mozjpeg-v3.2_GH0.tar.gz) = 21fa401adfb9052bc65563bc51ce8a1f18f4adc2dc68e5611f042bb3b24e48be +SIZE (mozilla-mozjpeg-v3.2_GH0.tar.gz) = 1243935 Modified: head/graphics/mozjpeg/pkg-descr ============================================================================== --- head/graphics/mozjpeg/pkg-descr Sun May 7 21:26:18 2017 (r440369) +++ head/graphics/mozjpeg/pkg-descr Sun May 7 21:26:23 2017 (r440370) @@ -1,15 +1,16 @@ -MozJPEG is a fork of libjpeg-turbo with 'jpgcrush' functionality built in. +Mozilla JPEG Encoder Project -This project's goal is to reduce the size of JPEG files without reducing quality -or compatibility with the vast majority of the world's deployed decoders. +MozJPEG reduces file sizes of JPEG images while retaining quality and +compatibility with the vast majority of the world's deployed decoders. -The idea is to reduce transfer times for JPEGs on the Web, thus reducing page -load times. +MozJPEG is based on libjpeg-turbo. It's compatible with libjpeg API and ABI, and +can be used as a drop-in replacement for libjpeg. MozJPEG makes tradeoffs that +are intended to benefit Web use cases and focuses solely on improving encoding, +so it's best used as part of a Web encoding workflow. -'mozjpeg' is not intended to be a general JPEG library replacement. It makes -tradeoffs that are intended to benefit Web use cases and focuses solely on -improving encoding. It is best used as part of a Web encoding workflow. For a -general JPEG library (e.g. your system libjpeg), especially if you care about -decoding, we recommend graphics/libjpeg-turbo port. +MozJPEG is meant to be used as a library in graphics programs and image +processing tools. We include a demo cjpeg tool, but it's not intended for +serious use. We encourage authors of graphics programs to use MozJPEG's C API +instead. -WWW: https://github.com/mozilla/mozjpeg/ +WWW: https://github.com/mozilla/mozjpeg Modified: head/graphics/mozjpeg/pkg-plist ============================================================================== --- head/graphics/mozjpeg/pkg-plist Sun May 7 21:26:18 2017 (r440369) +++ head/graphics/mozjpeg/pkg-plist Sun May 7 21:26:23 2017 (r440370) @@ -4,17 +4,19 @@ bin/jpegtran bin/rdjpgcom %%TURBOJPEG%%bin/tjbench bin/wrjpgcom -include/%%PORTNAME%%/jconfig.h -include/%%PORTNAME%%/jerror.h -include/%%PORTNAME%%/jmorecfg.h -include/%%PORTNAME%%/jpeglib.h -%%TURBOJPEG%%include/%%PORTNAME%%/turbojpeg.h -lib/%%PORTNAME%%/libjpeg.so -lib/%%PORTNAME%%/libjpeg.so.8 -lib/%%PORTNAME%%/libjpeg.so.8.1.2 -%%TURBOJPEG%%lib/%%PORTNAME%%/libturbojpeg.so -%%TURBOJPEG%%lib/%%PORTNAME%%/libturbojpeg.so.0 -%%TURBOJPEG%%lib/%%PORTNAME%%/libturbojpeg.so.0.1.0 +include/mozjpeg/jconfig.h +include/mozjpeg/jerror.h +include/mozjpeg/jmorecfg.h +include/mozjpeg/jpeglib.h +%%TURBOJPEG%%include/mozjpeg/turbojpeg.h +lib/mozjpeg/libjpeg.a +lib/mozjpeg/libjpeg.so +lib/mozjpeg/libjpeg.so.8 +lib/mozjpeg/libjpeg.so.8.1.2 +%%TURBOJPEG%%lib/mozjpeg/libturbojpeg.a +%%TURBOJPEG%%lib/mozjpeg/libturbojpeg.so +%%TURBOJPEG%%lib/mozjpeg/libturbojpeg.so.0 +%%TURBOJPEG%%lib/mozjpeg/libturbojpeg.so.0.1.0 man/man1/cjpeg.1.gz man/man1/djpeg.1.gz man/man1/jpegtran.1.gz
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201705072126.v47LQNMr051274>