Created attachment 145625 [details] This is the SHAR archive of the port. libjpeg-turbo is a necessary prerequisite of VirtualGL, which in port form I shall be submitting after this. The existing libjpeg-turbo port is old and conflicts with graphics/jpeg. This port is designed for consumption only by VirtualGL. Build logs shall be forthcoming,
Comment on attachment 145625 [details] This is the SHAR archive of the port. # 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: # # vgl-libjpeg-turbo/Makefile # vgl-libjpeg-turbo/distinfo # vgl-libjpeg-turbo/pkg-descr # vgl-libjpeg-turbo/pkg-plist # echo x - vgl-libjpeg-turbo/Makefile sed 's/^X//' >vgl-libjpeg-turbo/Makefile << '7bad30cf402ea2b4c69c19caa4bb1e0f' X# Created by: David Mackay <davidjx8p@gmail.com> X# $FreeBSD$ X XPORTNAME= vgl-libjpeg-turbo XPORTVERSION= 1.3.1 XCATEGORIES= misc XMASTER_SITES= SF/libjpeg-turbo/${PORTVERSION} XDISTNAME= libjpeg-turbo-${PORTVERSION} XMAINTAINER= davidjx8p@gmail.com X XBUILD_DEPENDS= nasm:${PORTSDIR}/devel/nasm X XONLY_FOR_ARCHS= amd64 i386 XUSES= libtool X XGNU_CONFIGURE= yes XCONFIGURE_ARGS+=--with-pic X XGNU_CONFIGURE_PREFIX=${PREFIX}/VirtualGL XGNU_CONFIGURE_MANPREFIX=${PREFIX}/VirtualGL XGNU_CONFIGURE= yes X X.include <bsd.port.mk> 7bad30cf402ea2b4c69c19caa4bb1e0f echo x - vgl-libjpeg-turbo/distinfo sed 's/^X//' >vgl-libjpeg-turbo/distinfo << '3be0292f7e2f100fd9eb7d7d583625f8' XSHA256 (libjpeg-turbo-1.3.1.tar.gz) = c132907417ddc40ed552fe53d6b91d5fecbb14a356a60ddc7ea50d6be9666fb9 XSIZE (libjpeg-turbo-1.3.1.tar.gz) = 1390282 3be0292f7e2f100fd9eb7d7d583625f8 echo x - vgl-libjpeg-turbo/pkg-descr sed 's/^X//' >vgl-libjpeg-turbo/pkg-descr << 'b6bc23e07421e098faee458c2e80ecf7' 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 XThis port installs libjpeg-turbo into a non-conflicting directory for use with XVirtualGL. X XWWW: http://libjpeg-turbo.virtualgl.org/ b6bc23e07421e098faee458c2e80ecf7 echo x - vgl-libjpeg-turbo/pkg-plist sed 's/^X//' >vgl-libjpeg-turbo/pkg-plist << '781ffd5bdd6f286dc9d45b3f9cca8e11' X XVirtualGL/bin/cjpeg XVirtualGL/bin/djpeg XVirtualGL/bin/jpegtran XVirtualGL/bin/rdjpgcom XVirtualGL/bin/tjbench XVirtualGL/bin/wrjpgcom XVirtualGL/include/jconfig.h XVirtualGL/include/jerror.h XVirtualGL/include/jmorecfg.h XVirtualGL/include/jpeglib.h XVirtualGL/include/turbojpeg.h XVirtualGL/lib/libjpeg.a XVirtualGL/lib/libjpeg.so XVirtualGL/lib/libjpeg.so.62 XVirtualGL/lib/libjpeg.so.62.1.0 XVirtualGL/lib/libturbojpeg.a XVirtualGL/lib/libturbojpeg.so XVirtualGL/lib/libturbojpeg.so.0 XVirtualGL/lib/libturbojpeg.so.0.0.0 XVirtualGL/man/man1/cjpeg.1 XVirtualGL/man/man1/djpeg.1 XVirtualGL/man/man1/jpegtran.1 XVirtualGL/man/man1/rdjpgcom.1 XVirtualGL/man/man1/wrjpgcom.1 XVirtualGL/share/doc/README XVirtualGL/share/doc/README-turbo.txt XVirtualGL/share/doc/example.c XVirtualGL/share/doc/libjpeg.txt XVirtualGL/share/doc/structure.txt XVirtualGL/share/doc/usage.txt XVirtualGL/share/doc/wizard.txt 781ffd5bdd6f286dc9d45b3f9cca8e11 exit
Created attachment 145635 [details] SHAR Archive of port Updated vgl-libjpeg-turbo to incorporate some more fixes.
Created attachment 145637 [details] SHAR Archive of port Another update, this eliminates all PORTLINT complaints.
I'll also move this one to patch-ready, but it would be nice to see those promised build logs if you can manage that.
(In reply to John Marino from comment #4) > I'll also move this one to patch-ready, but it would be nice to see those > promised build logs if you can manage that. Please find build logs at: https://people.freebsd.org/~nox/tmp/logs/
Creating another port just because the existing one is old isn't a good idea. I've emailed the maintainer of graphics/libjpeg-turbo to ask about splitting the library off from the rest of the stuff. Until then I recommend against committing this new port, for now.
I've split apart libjpeg-turbo and defaulted the PIC option to on, just for you David :-) I'm closing this PR. Let me know if the new libjpeg-turbo doesn't do the right thing.