ports/166137: [MAINTAINER] update graphics/libjpeg-trubo: update to 1.2.0
Denis E Podolskiy
bytestore at yandex.ru
Thu Mar 15 09:00:11 UTC 2012
>Number: 166137
>Category: ports
>Synopsis: [MAINTAINER] update graphics/libjpeg-trubo: update to 1.2.0
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Thu Mar 15 09:00:10 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator: Denis E Podolskiy
>Release: 9.0-RELEASE
>Organization:
>Environment:
FreeBSD test.sys-media.ru 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Tue Jan 3 07:46:30 UTC 2012 root at farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64
>Description:
Significant changes since 1.2 beta1
===================================
[1] Fixed build issue with YASM on Unix systems (the libjpeg-turbo build system
was not adding the current directory to the assembler include path, so YASM
was not able to find jsimdcfg.inc.)
[2] Fixed out-of-bounds read in SSE2 SIMD code that occurred when decompressing
a JPEG image to a bitmap buffer whose size was not a multiple of 16 bytes.
This was more of an annoyance than an actual bug, since it did not cause any
actual run-time problems, but the issue showed up when running libjpeg-turbo in
valgrind. See http://crbug.com/72399 for more information.
[3] Added a compile-time macro (LIBJPEG_TURBO_VERSION) that can be used to
check the version of libjpeg-turbo against which an application was compiled.
[4] Added new RGBA/BGRA/ABGR/ARGB colorspace extension constants (libjpeg API)
and pixel formats (TurboJPEG API), which allow applications to specify that,
when decompressing to a 4-component RGB buffer, the unused byte should be set
to 0xFF so that it can be interpreted as an opaque alpha channel.
[5] Fixed regression issue whereby DevIL failed to build against libjpeg-turbo
because libjpeg-turbo's distributed version of jconfig.h contained an INLINE
macro, which conflicted with a similar macro in DevIL. This macro is used only
internally when building libjpeg-turbo, so it was moved into config.h.
[6] libjpeg-turbo will now correctly decompress erroneous CMYK/YCCK JPEGs whose
K component is assigned a component ID of 1 instead of 4. Although these files
are in violation of the spec, other JPEG implementations handle them
correctly.
[7] Added ARM v6 and ARM v7 architectures to libjpeg.a and libturbojpeg.a in
the official OS X distribution package, so that those libraries can be used to
build both OS X and iOS applications.
>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:
#
# libjpeg-turbo
# libjpeg-turbo/Makefile
# libjpeg-turbo/distinfo
# libjpeg-turbo/pkg-descr
# libjpeg-turbo/pkg-plist
#
echo c - libjpeg-turbo
mkdir -p libjpeg-turbo > /dev/null 2>&1
echo x - libjpeg-turbo/Makefile
sed 's/^X//' >libjpeg-turbo/Makefile << 'e12a1452e4a58750a00086f686f3b862'
X# New ports collection makefile for: libjpeg-turbo
X# Date created: 2010-04-09
X# Date modified: 2012-03-15
X# Whom: Denis Podolskiy bytestore at yandex.ru (based on D. R. Commander)
X#
X# $FreeBSD: ports/graphics/libjpeg-turbo/Makefile,v 1.19 2012/03/14 18:18:40 crees Exp $
X#
X
XPORTNAME= libjpeg-turbo
XPORTVERSION= 1.2.0
XPORTREVISION= 3
XCATEGORIES= graphics
XMASTER_SITES= SF/${PORTNAME}/${PORTVERSION}
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
XCONFLICTS_INSTALL= jpeg-[0-9]*
XONLY_FOR_ARCHS= amd64 i386
XUSE_AUTOTOOLS= libtool
XCONFIGURE_ENV= SO_MAJOR_VERSION=${SOVERSION}
XCONFIGURE_ARGS= --with-jpeg8
XUSE_LDCONFIG= yes
XMAKE_JOBS_SAFE= yes
XALL_TARGET= test
X
XMAN1= cjpeg.1 djpeg.1 jpegtran.1 rdjpgcom.1 wrjpgcom.1
XPLIST_SUB= SOVERSION=${SOVERSION}
X
X# chase graphics/jpeg
XSOVERSION= 11
X
XOPTIONS+= PIC "Static library with PIC (required for VirtualGL)" off
X
X.include <bsd.port.options.mk>
X
X.if defined(WITH_PIC)
XCONFIGURE_ARGS+=--with-pic
X.endif
X
X.include <bsd.port.mk>
e12a1452e4a58750a00086f686f3b862
echo x - libjpeg-turbo/distinfo
sed 's/^X//' >libjpeg-turbo/distinfo << '8988da261f5bef635a703bb13f796a32'
XSHA256 (libjpeg-turbo-1.2.0.tar.gz) = 629db2a9b1295a1b0e5fa8dddda36c5da61a90536bef8295e0b209cbcd50f98e
XSIZE (libjpeg-turbo-1.2.0.tar.gz) = 1752925
8988da261f5bef635a703bb13f796a32
echo x - libjpeg-turbo/pkg-descr
sed 's/^X//' >libjpeg-turbo/pkg-descr << 'ca492b7cdc31357baa0115634908bf32'
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/
ca492b7cdc31357baa0115634908bf32
echo x - libjpeg-turbo/pkg-plist
sed 's/^X//' >libjpeg-turbo/pkg-plist << '02b7243ac98637bafc168d21310c4333'
Xbin/cjpeg
Xbin/djpeg
Xbin/jpegtran
Xbin/rdjpgcom
Xbin/wrjpgcom
Xbin/tjbench
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.%%SOVERSION%%
Xlib/libturbojpeg.a
Xlib/libturbojpeg.la
Xlib/libturbojpeg.so
Xshare/doc/structure.txt
Xshare/doc/usage.txt
Xshare/doc/wizard.txt
Xshare/doc/libjpeg.txt
Xshare/doc/README-turbo.txt
Xshare/doc/README
02b7243ac98637bafc168d21310c4333
exit
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list