From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Mar 15 09:00:11 2012 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 97553106564A for ; Thu, 15 Mar 2012 09:00:11 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 569EA8FC12 for ; Thu, 15 Mar 2012 09:00:11 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q2F90BNd027359 for ; Thu, 15 Mar 2012 09:00:11 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q2F90BHG027358; Thu, 15 Mar 2012 09:00:11 GMT (envelope-from gnats) Resent-Date: Thu, 15 Mar 2012 09:00:11 GMT Resent-Message-Id: <201203150900.q2F90BHG027358@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Denis E Podolskiy Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3935B1065670 for ; Thu, 15 Mar 2012 08:54:07 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id 1A2728FC16 for ; Thu, 15 Mar 2012 08:54:07 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.4/8.14.4) with ESMTP id q2F8s65U095260 for ; Thu, 15 Mar 2012 08:54:06 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.4/8.14.4/Submit) id q2F8s6ep095258; Thu, 15 Mar 2012 08:54:06 GMT (envelope-from nobody) Message-Id: <201203150854.q2F8s6ep095258@red.freebsd.org> Date: Thu, 15 Mar 2012 08:54:06 GMT From: Denis E Podolskiy To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/166137: [MAINTAINER] update graphics/libjpeg-trubo: update to 1.2.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Mar 2012 09:00:11 -0000 >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@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@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@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 X X.if defined(WITH_PIC) XCONFIGURE_ARGS+=--with-pic X.endif X X.include 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: