Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Oct 2016 18:52:43 +0000 (UTC)
From:      Antoine Brodin <antoine@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r423879 - in head: graphics/jpeg-turbo graphics/jpeg-turbo/files graphics/libgphoto2/files multimedia/libv4l/files
Message-ID:  <201610121852.u9CIqhFZ026781@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: antoine
Date: Wed Oct 12 18:52:43 2016
New Revision: 423879
URL: https://svnweb.freebsd.org/changeset/ports/423879

Log:
  - Update jpeg-turbo to 1.5.1
  - Add LICENSE
  - Use the framework for tests

Added:
  head/graphics/libgphoto2/files/patch-camlibs_ax203_jpeg__memsrcdest.h   (contents, props changed)
  head/graphics/libgphoto2/files/patch-camlibs_jl2005c_jpeg__memsrcdest.h   (contents, props changed)
  head/multimedia/libv4l/files/patch-lib_libv4lconvert_jpeg__memsrcdest.h   (contents, props changed)
Modified:
  head/graphics/jpeg-turbo/Makefile
  head/graphics/jpeg-turbo/distinfo
  head/graphics/jpeg-turbo/files/patch-md5_md5.c
  head/graphics/jpeg-turbo/pkg-plist

Modified: head/graphics/jpeg-turbo/Makefile
==============================================================================
--- head/graphics/jpeg-turbo/Makefile	Wed Oct 12 18:25:29 2016	(r423878)
+++ head/graphics/jpeg-turbo/Makefile	Wed Oct 12 18:52:43 2016	(r423879)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	jpeg-turbo
-PORTVERSION=	1.4.2
+PORTVERSION=	1.5.1
 PORTREVISION?=	0
 CATEGORIES=	graphics
 MASTER_SITES=	SF/lib${PORTNAME}/${PORTVERSION}
@@ -11,12 +11,21 @@ DISTNAME=	lib${PORTNAME}-${PORTVERSION}
 MAINTAINER=	portmgr@FreeBSD.org
 COMMENT?=	SIMD-accelerated JPEG codec which replaces libjpeg
 
-USES=		cpe libtool
+LICENSE=	BSD3CLAUSE IJG ZLIB 
+LICENSE_COMB=	multi
+LICENSE_GROUPS_IJG=	FSF GPL
+LICENSE_NAME_IJG=	Independent JPEG Group License
+LICENSE_FILE_BSD3CLAUSE=	${WRKSRC}/turbojpeg.c
+LICENSE_FILE_IJG=	${WRKSRC}/README.ijg
+LICENSE_FILE_ZLIB=	${WRKSRC}/simd/jsimdext.inc
+LICENSE_PERMS_IJG=	dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
+
+USES=		cpe libtool pathfix
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	--with-jpeg8
 USE_LDCONFIG=	yes
-ALL_TARGET=	test
 INSTALL_TARGET=	install-strip
+TEST_TARGET=	test
 CPE_VENDOR=	d.r.commander
 CPE_PRODUCT=	libjpeg-turbo
 

Modified: head/graphics/jpeg-turbo/distinfo
==============================================================================
--- head/graphics/jpeg-turbo/distinfo	Wed Oct 12 18:25:29 2016	(r423878)
+++ head/graphics/jpeg-turbo/distinfo	Wed Oct 12 18:52:43 2016	(r423879)
@@ -1,2 +1,3 @@
-SHA256 (libjpeg-turbo-1.4.2.tar.gz) = 521bb5d3043e7ac063ce3026d9a59cc2ab2e9636c655a2515af5f4706122233e
-SIZE (libjpeg-turbo-1.4.2.tar.gz) = 1569306
+TIMESTAMP = 1475991658
+SHA256 (libjpeg-turbo-1.5.1.tar.gz) = 41429d3d253017433f66e3d472b8c7d998491d2f41caa7306b8d9a6f2a2c666c
+SIZE (libjpeg-turbo-1.5.1.tar.gz) = 1650647

Modified: head/graphics/jpeg-turbo/files/patch-md5_md5.c
==============================================================================
--- head/graphics/jpeg-turbo/files/patch-md5_md5.c	Wed Oct 12 18:25:29 2016	(r423878)
+++ head/graphics/jpeg-turbo/files/patch-md5_md5.c	Wed Oct 12 18:52:43 2016	(r423879)
@@ -1,4 +1,4 @@
---- md5/md5.c.orig	2014-08-30 13:52:09 UTC
+--- md5/md5.c.orig	2016-09-20 23:36:59 UTC
 +++ md5/md5.c
 @@ -45,6 +45,8 @@ static void MD5Transform(unsigned int [4
  #include <libkern/OSByteOrder.h>

Modified: head/graphics/jpeg-turbo/pkg-plist
==============================================================================
--- head/graphics/jpeg-turbo/pkg-plist	Wed Oct 12 18:25:29 2016	(r423878)
+++ head/graphics/jpeg-turbo/pkg-plist	Wed Oct 12 18:52:43 2016	(r423879)
@@ -10,7 +10,8 @@
 %%JPEG%%lib/libjpeg.a
 %%JPEG%%lib/libjpeg.so
 %%JPEG%%lib/libjpeg.so.8
-%%JPEG%%lib/libjpeg.so.8.0.2
+%%JPEG%%lib/libjpeg.so.8.1.2
+%%JPEG%%libdata/pkgconfig/libjpeg.pc
 %%JPEG%%man/man1/cjpeg.1.gz
 %%JPEG%%man/man1/djpeg.1.gz
 %%JPEG%%man/man1/jpegtran.1.gz
@@ -22,3 +23,4 @@
 %%LIBTURBOJPEG%%lib/libturbojpeg.so
 %%LIBTURBOJPEG%%lib/libturbojpeg.so.0
 %%LIBTURBOJPEG%%lib/libturbojpeg.so.0.1.0
+%%LIBTURBOJPEG%%libdata/pkgconfig/libturbojpeg.pc

Added: head/graphics/libgphoto2/files/patch-camlibs_ax203_jpeg__memsrcdest.h
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/graphics/libgphoto2/files/patch-camlibs_ax203_jpeg__memsrcdest.h	Wed Oct 12 18:52:43 2016	(r423879)
@@ -0,0 +1,16 @@
+--- camlibs/ax203/jpeg_memsrcdest.h.orig	2015-08-08 15:57:29 UTC
++++ camlibs/ax203/jpeg_memsrcdest.h
+@@ -1,5 +1,7 @@
+ #include <jpeglib.h>
+ 
++#if JPEG_LIB_VERSION < 80
++
+ void
+ jpeg_mem_src (j_decompress_ptr cinfo, unsigned char * buffer,
+ 	unsigned long bufsize);
+@@ -7,3 +9,5 @@ jpeg_mem_src (j_decompress_ptr cinfo, un
+ void
+ jpeg_mem_dest (j_compress_ptr cinfo, unsigned char ** outbuffer,
+ 	unsigned long * outsize);
++
++#endif

Added: head/graphics/libgphoto2/files/patch-camlibs_jl2005c_jpeg__memsrcdest.h
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/graphics/libgphoto2/files/patch-camlibs_jl2005c_jpeg__memsrcdest.h	Wed Oct 12 18:52:43 2016	(r423879)
@@ -0,0 +1,16 @@
+--- camlibs/jl2005c/jpeg_memsrcdest.h.orig	2015-08-08 15:57:29 UTC
++++ camlibs/jl2005c/jpeg_memsrcdest.h
+@@ -1,5 +1,7 @@
+ #include <jpeglib.h>
+ 
++#if JPEG_LIB_VERSION < 80
++
+ void
+ jpeg_mem_src (j_decompress_ptr cinfo, unsigned char * buffer,
+ 	unsigned long bufsize);
+@@ -7,3 +9,5 @@ jpeg_mem_src (j_decompress_ptr cinfo, un
+ void
+ jpeg_mem_dest (j_compress_ptr cinfo, unsigned char ** outbuffer,
+ 	unsigned long * outsize);
++
++#endif

Added: head/multimedia/libv4l/files/patch-lib_libv4lconvert_jpeg__memsrcdest.h
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/multimedia/libv4l/files/patch-lib_libv4lconvert_jpeg__memsrcdest.h	Wed Oct 12 18:52:43 2016	(r423879)
@@ -0,0 +1,16 @@
+--- lib/libv4lconvert/jpeg_memsrcdest.h.orig	2012-05-10 18:10:34 UTC
++++ lib/libv4lconvert/jpeg_memsrcdest.h
+@@ -1,5 +1,7 @@
+ #include <jpeglib.h>
+ 
++#if JPEG_LIB_VERSION < 80
++
+ void
+ jpeg_mem_src (j_decompress_ptr cinfo, unsigned char * buffer,
+ 	unsigned long bufsize);
+@@ -7,3 +9,5 @@ jpeg_mem_src (j_decompress_ptr cinfo, un
+ void
+ jpeg_mem_dest (j_compress_ptr cinfo, unsigned char ** outbuffer,
+ 	unsigned long * outsize);
++
++#endif



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