ports/155430: [MAINTAINER] UPDATE graphics/libjpeg-turbo: update to 1.1.0
Denis Podolskiy
bytestore at yandex.ru
Thu Mar 10 12:20:12 UTC 2011
>Number: 155430
>Category: ports
>Synopsis: [MAINTAINER] UPDATE graphics/libjpeg-turbo: update to 1.1.0
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Thu Mar 10 12:20:12 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator: Denis Podolskiy
>Release: FreeBSD 8.0-RELEASE amd64
>Organization:
>Environment:
>Description:
Significant changes since 1.0.90 (1.1 beta1)
============================================
[1] The algorithm used by the SIMD quantization function cannot produce correct
results when the JPEG quality is >= 98 and the fast integer forward DCT is
used. Thus, the non-SIMD quantization function is now used for those cases,
and libjpeg-turbo should now produce identical output to libjpeg v6b in all
cases.
[2] Despite the above, the fast integer forward DCT still degrades somewhat for
JPEG qualities greater than 95, so TurboJPEG/OSS will now automatically use the
slow integer forward DCT when generating JPEG images of quality 96 or greater.
This reduces compression performance by as much as 15% for these high-quality
images but is necessary to ensure that the images are perceptually lossless.
It also ensures that the library can avoid the performance pitfall created by
[1].
[3] Ported jpgtest.cxx to pure C to avoid the need for a C++ compiler.
[4] Fixed visual artifacts in grayscale JPEG compression caused by a typo in
the RGB-to-chrominance lookup tables.
[5] The Windows distribution packages now include the libjpeg run-time programs
(cjpeg, etc.)
[6] ALl Packages now include jpgtest.
[7] The TurboJPEG dynamic library now uses versioned symbols.
[8] Added two new TurboJPEG API functions, tjEncodeYUV() and
tjDecompressToYUV(), to replace the somewhat hackish TJ_YUV flag.
>How-To-Repeat:
>Fix:
Patch attached with submission follows:
# This is a shell archive. Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file". Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
# /usr/ports/graphics/libjpeg-turbo
# /usr/ports/graphics/libjpeg-turbo/Makefile
# /usr/ports/graphics/libjpeg-turbo/distinfo
# /usr/ports/graphics/libjpeg-turbo/pkg-descr
# /usr/ports/graphics/libjpeg-turbo/pkg-plist
#
echo c - /usr/ports/graphics/libjpeg-turbo
mkdir -p /usr/ports/graphics/libjpeg-turbo > /dev/null 2>&1
echo x - /usr/ports/graphics/libjpeg-turbo/Makefile
sed 's/^X//' >/usr/ports/graphics/libjpeg-turbo/Makefile << '569bee74fddac5ca2d1151353817f529'
X# New ports collection makefile for: libjpeg-turbo
X# Date created: 2010-04-09
X# Date modified: 2010-04-12
X# Whom: Denis Podolskiy bytestore at yandex.ru (based on D. R. Commander)
X#
X# $FreeBSD: ports/graphics/libjpeg-turbo/Makefile,v 1.12 2010/12/04 07:32:04 ade Exp $
X#
X
XPORTNAME= libjpeg-turbo
XPORTVERSION= 1.1.0
XCATEGORIES= graphics
XMASTER_SITES= http://openmoko.spb.ru/repository/ \
X SF/${PORTNAME}/${PORTVERSION} \
X ${MASTER_SITE_XCONTRIB}
X
XMAINTAINER= bytestore at yandex.ru
XCOMMENT= SIMD-accelerated JPEG codec which provides both the libjpeg,TurboJPEG
X
XBUILD_DEPENDS= nasm:${PORTSDIR}/devel/nasm
X
X#CONFLICTS= jpeg-[0-9]*
XONLY_FOR_ARCHS= amd64 i386
XUSE_AUTOTOOLS= autoconf autoheader aclocal automake libtool
XACLOCAL_ARGS= -I.
XUSE_LDCONFIG= yes
X
XMAN1= cjpeg.1 djpeg.1 jpegtran.1 rdjpgcom.1 wrjpgcom.1
X
X.include <bsd.port.mk>
569bee74fddac5ca2d1151353817f529
echo x - /usr/ports/graphics/libjpeg-turbo/distinfo
sed 's/^X//' >/usr/ports/graphics/libjpeg-turbo/distinfo << 'fb9b25df47db3bbe37b70a56c3106388'
XSHA256 (libjpeg-turbo-1.1.0.tar.gz) = 1e24fd7c58b64f4c0f5f559d88d43bbe40e47000a573ad215e47f75da88ac244
XSIZE (libjpeg-turbo-1.1.0.tar.gz) = 1448466
fb9b25df47db3bbe37b70a56c3106388
echo x - /usr/ports/graphics/libjpeg-turbo/pkg-descr
sed 's/^X//' >/usr/ports/graphics/libjpeg-turbo/pkg-descr << 'ac6fbcf711837d224454645446ee5cad'
Xlibjpeg-turbo is a high-speed version of libjpeg for x86 and x86-64 processors
Xwhich uses SIMD instructions (MMX, SSE2, etc.) to accelerate baseline JPEG
Xcompression and decompression.
Xlibjpeg-turbo is generally 2-4x as fast as the unmodified version
Xof libjpeg, all else being equal.
X
Xlibjpeg-turbo was originally based on libjpeg/SIMD by Miyasaka Masaru,
Xbut the TigerVNC and VirtualGL projects made numerous enhancements to the codec,
Xincluding improved support for Mac OS X, 64-bit support,
Xsupport for 32-bit and big endian pixel formats (RGBA, ABGR, etc.),
Xaccelerated Huffman encoding/decoding, and various bug fixes.
XThe goal was to produce a fully open source codec that could replace
Xthe partially closed source TurboJPEG/IPP codec used by VirtualGL and TurboVNC.
Xlibjpeg-turbo generally achieves 80-120% of the performance of TurboJPEG/IPP.
XIt is faster in some areas but slower in others.
X
XWWW: http://libjpeg-turbo.virtualgl.org/
X
X- D. R. Commander
Xinformation at virtualgl.org
ac6fbcf711837d224454645446ee5cad
echo x - /usr/ports/graphics/libjpeg-turbo/pkg-plist
sed 's/^X//' >/usr/ports/graphics/libjpeg-turbo/pkg-plist << '8a2957b419a5659c89a6d2ffa8d8c10c'
Xbin/cjpeg
Xbin/djpeg
Xbin/jpegtran
Xbin/rdjpgcom
Xbin/wrjpgcom
Xinclude/jconfig.h
Xinclude/jerror.h
Xinclude/jmorecfg.h
Xinclude/jpeglib.h
Xinclude/turbojpeg.h
Xlib/libjpeg.a
Xlib/libjpeg.la
Xlib/libjpeg.so
Xlib/libjpeg.so.62
Xlib/libturbojpeg.a
Xlib/libturbojpeg.la
Xlib/libturbojpeg.so
8a2957b419a5659c89a6d2ffa8d8c10c
exit
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list