From nobody@FreeBSD.org  Tue Apr 13 11:55:32 2010
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 8704D106564A
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 13 Apr 2010 11:55:32 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id 763798FC15
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 13 Apr 2010 11:55:32 +0000 (UTC)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.3/8.14.3) with ESMTP id o3DBtVFV052883
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 13 Apr 2010 11:55:31 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.3/8.14.3/Submit) id o3DBtVMZ052882;
	Tue, 13 Apr 2010 11:55:31 GMT
	(envelope-from nobody)
Message-Id: <201004131155.o3DBtVMZ052882@www.freebsd.org>
Date: Tue, 13 Apr 2010 11:55:31 GMT
From: Denis E Podolskiy <bytestore@yandex.ru>
To: freebsd-gnats-submit@FreeBSD.org
Subject: change-request
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         145670
>Category:       ports
>Synopsis:       New port: graphics/libjpeg-turbo, a version of libjpeg which uses MMX, SSE, and SSE2 SIMD instructions
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    rene
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Apr 13 12:00:11 UTC 2010
>Closed-Date:    Mon Apr 26 19:34:19 UTC 2010
>Last-Modified:  Mon Apr 26 19:34:19 UTC 2010
>Originator:     Denis E Podolskiy
>Release:        8.0-RELEASE
>Organization:
>Environment:
FreeBSD test.chtp.net 8.0-RELEASE FreeBSD 8.0-RELEASE #0: Sat Nov 21 15:02:08 UTC 2009     root@mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  amd64
>Description:
libjpeg-turbo is a high-speed version of libjpeg for x86 and x86-64 processors
which uses SIMD instructions (MMX, SSE2, etc.) to accelerate baseline JPEG
compression and decompression.
libjpeg-turbo is generally 2-4x as fast as the unmodified version
of libjpeg, all else being equal.

libjpeg-turbo was originally based on libjpeg/SIMD by Miyasaka Masaru,
but the TigerVNC and VirtualGL projects made numerous enhancements to the codec,
including improved support for Mac OS X, 64-bit support,
support for 32-bit and big endian pixel formats (RGBA, ABGR, etc.),
accelerated Huffman encoding/decoding, and various bug fixes.
The goal was to produce a fully open source codec that could replace
the partially closed source TurboJPEG/IPP codec used by VirtualGL and TurboVNC.
libjpeg-turbo generally achieves 80-120% of the performance of TurboJPEG/IPP.
It is faster in some areas but slower in others.
>How-To-Repeat:

>Fix:
New port: graphics/libjpeg-turbo
a version of libjpeg which uses MMX, SSE, and SSE2 SIMD instructions to accelerate baseline JPEG compression/decompression by about 2-4x on x86 and x86-64 platforms. It is based on libjpeg/SIMD but has numerous enhancements

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/pkg-descr
#       /usr/ports/graphics/libjpeg-turbo/pkg-plist
#       /usr/ports/graphics/libjpeg-turbo/distinfo
#
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@yandex.ru (based on D. R. Commander )
X#
X# $FreeBSD$
X#
X
XPORTNAME=      libjpeg-turbo
XPORTVERSION=   0.0.92
XCATEGORIES=    graphics
XMASTER_SITES=  http://openmoko.spb.ru/repository/ \
X               http://mesh.dl.sourceforge.net/project/libjpeg-turbo/${PORTVERSION}/ \
X               ${MASTER_SITE_XCONTRIB}
X
XMAINTAINER=    ports@FreeBSD.org
XCOMMENT=       A libjpeg-turbo is a version which uses MMX, SSE, and SSE2 SIMD instructions to accelerate baseline JPEG compression/decompression.
X
XUSE_AUTOTOOLS= autoconf:262 automake:19 libtool:22
XGNU_CONFIGURE= yes
X
XBUILD_DEPENDS+=>${LOCALBASE}/bin/nasm:${PORTSDIR}/devel/nasm:install
X
X.include <bsd.port.pre.mk>
X
X.if ${ARCH} == i386 || ${ARCH} == amd64
XCONFIGURE_ARGS= --host x86_64-unknown-freebsd
X.else
XCONFIGURE_ARGS= --host i386-unknown-freebsd
X.endif
X
Xpre-configure:
X       @${ECHO_CMD} configure jpeg-turbo library
X       @cd ${WRKDIR}/libjpeg-turbo-${PORTVERSION} && ${AUTORECONF} -fiv && ${LIBTOOLIZE} --force
X# && ./configure --host x86_64-unknown-freebsd CFLAGS='-O3' CXXFLAGS='-O3' --enable-static=yes --enable-shared=no
X
X.include <bsd.port.post.mk>
569bee74fddac5ca2d1151353817f529
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@virtualgl.org
ac6fbcf711837d224454645446ee5cad
echo x - /usr/ports/graphics/libjpeg-turbo/pkg-plist
sed 's/^X//' >/usr/ports/graphics/libjpeg-turbo/pkg-plist << '8a2957b419a5659c89a6d2ffa8d8c10c'
Xlib/libjpeg.a
Xlib/libjpeg.la
Xlib/libjpeg.so
Xlib/libjpeg.so.62
Xlib/libturbojpeg.a
Xlib/libturbojpeg.la
Xlib/libturbojpeg.so
Xinclude/jerror.h
Xinclude/jmorecfg.h
Xinclude/jpeglib.h
Xinclude/turbojpeg.h
Xinclude/jconfig.h
8a2957b419a5659c89a6d2ffa8d8c10c
echo x - /usr/ports/graphics/libjpeg-turbo/distinfo
sed 's/^X//' >/usr/ports/graphics/libjpeg-turbo/distinfo << 'fb9b25df47db3bbe37b70a56c3106388'
XMD5 (libjpeg-turbo-0.0.92.tar.gz) = 4eca10a2fbb0fe141a9b81186df6e15e
XSHA256 (libjpeg-turbo-0.0.92.tar.gz) = de56ae022f78f128ce542c016c528acfac8fa22ec41e650972657e1d30731123
XSIZE (libjpeg-turbo-0.0.92.tar.gz) = 1819003
fb9b25df47db3bbe37b70a56c3106388
exit

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->rene 
Responsible-Changed-By: rene 
Responsible-Changed-When: Sun Apr 18 16:22:13 UTC 2010 
Responsible-Changed-Why:  
Grab 

http://www.freebsd.org/cgi/query-pr.cgi?pr=145670 

From: Rene Ladan <rene@freebsd.org>
To: bug-followup@FreeBSD.org, bytestore@yandex.ru
Cc:  
Subject: Re: ports/145670: New port: graphics/libjpeg-turbo, a version of 
	libjpeg which uses MMX, SSE, and SSE2 SIMD instructions
Date: Sun, 18 Apr 2010 18:48:51 +0200

 New ports with ports@freebsd.org as maintainer are not accepted for
 quality reasons (because nobody will be responsible for them).
 Do you volunteer to be the maintainer with the above email address as
 contact point?

From: Rene Ladan <rene@freebsd.org>
To: bug-followup@FreeBSD.org, bytestore@yandex.ru
Cc:  
Subject: Re: ports/145670: New port: graphics/libjpeg-turbo, a version of 
	libjpeg which uses MMX, SSE, and SSE2 SIMD instructions
Date: Tue, 20 Apr 2010 11:24:10 +0200

 The distribution files for libjpeg-turbo couldn't be found, see these
 logs for details:
 http://rene-ladan.nl/tb/errors/6-FreeBSD/libjpeg-turbo-0.0.92.log
 (6-STABLE/i386 tinderbox)
 http://rene-ladan.nl/tb/errors/7-FreeBSD/libjpeg-turbo-0.0.92.log
 (7-STABLE/i386 tinderbox)

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/145670: commit references a PR
Date: Mon, 26 Apr 2010 19:28:56 +0000 (UTC)

 rene        2010-04-26 19:27:02 UTC
 
   FreeBSD ports repository
 
   Modified files:
     graphics             Makefile 
   Added files:
     graphics/libjpeg-turbo Makefile distinfo pkg-descr pkg-plist 
   Log:
   libjpeg-turbo is a high-speed version of libjpeg for x86 and x86-64 processors
   which uses SIMD instructions (MMX, SSE2, etc.) to accelerate baseline JPEG
   compression and decompression.
   libjpeg-turbo is generally 2-4x as fast as the unmodified version
   of libjpeg, all else being equal.
   
   libjpeg-turbo was originally based on libjpeg/SIMD by Miyasaka Masaru,
   but the TigerVNC and VirtualGL projects made numerous enhancements to the codec,
   including improved support for Mac OS X, 64-bit support,
   support for 32-bit and big endian pixel formats (RGBA, ABGR, etc.),
   accelerated Huffman encoding/decoding, and various bug fixes.
   The goal was to produce a fully open source codec that could replace
   the partially closed source TurboJPEG/IPP codec used by VirtualGL and TurboVNC.
   libjpeg-turbo generally achieves 80-120% of the performance of TurboJPEG/IPP.
   It is faster in some areas but slower in others.
   
   WWW: http://libjpeg-turbo.virtualgl.org/
   
   - D. R. Commander
   information@virtualgl.org
   
   PR:             ports/145670
   Submitted by:   Denis E Podolskiy [bytestore yandex.ru]
   Approved by:    tabthorpe (mentor)
   
   Revision  Changes    Path
   1.1322    +1 -0      ports/graphics/Makefile
   1.1       +38 -0     ports/graphics/libjpeg-turbo/Makefile (new)
   1.1       +3 -0      ports/graphics/libjpeg-turbo/distinfo (new)
   1.1       +20 -0     ports/graphics/libjpeg-turbo/pkg-descr (new)
   1.1       +12 -0     ports/graphics/libjpeg-turbo/pkg-plist (new)
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
State-Changed-From-To: open->closed 
State-Changed-By: rene 
State-Changed-When: Mon Apr 26 19:34:05 UTC 2010 
State-Changed-Why:  
Committed, thanks 

http://www.freebsd.org/cgi/query-pr.cgi?pr=145670 
>Unformatted:
