ports/148348: [patch] graphics/libjpeg-turbo: update to 1.0.0

Anonymous swell.k at gmail.com
Sat Jul 3 18:30:01 UTC 2010


>Number:         148348
>Category:       ports
>Synopsis:       [patch] graphics/libjpeg-turbo: update to 1.0.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:   Sat Jul 03 18:30:01 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Anonymous
>Release:        FreeBSD 9.0-CURRENT amd64
>Organization:
>Environment:
>Description:
- update
- use SF macro, don't limit only to `mesh'
- silence portlint(1) - pull BUILD_DEPENDS a bit up; respect PATH when
  searching for nasm(1), configure script doesn't search only under
  LOCALBASE, anyway
- dispose of pre-configure target in favor of USE_AUTOTOOLS
- sort plist
- remove no longer needed ARCH hack
>How-To-Repeat:
>Fix:
--- a.diff begins here ---
Index: graphics/libjpeg-turbo/Makefile
===================================================================
RCS file: /a/.cvsup/ports/graphics/libjpeg-turbo/Makefile,v
retrieving revision 1.6
diff -u -p -r1.6 Makefile
--- graphics/libjpeg-turbo/Makefile	19 Jun 2010 07:18:45 -0000	1.6
+++ graphics/libjpeg-turbo/Makefile	3 Jul 2010 18:23:25 -0000
@@ -7,33 +7,23 @@
 #
 
 PORTNAME=	libjpeg-turbo
-PORTVERSION=	0.0.93
+PORTVERSION=	1.0.0
 CATEGORIES=	graphics
 MASTER_SITES=	http://openmoko.spb.ru/repository/ \
-		http://mesh.dl.sourceforge.net/project/libjpeg-turbo/${PORTVERSION}/ \
+		SF/${PORTNAME}/${PORTVERSION} \
 		${MASTER_SITE_XCONTRIB}
 
 MAINTAINER=	bytestore at yandex.ru
 COMMENT=	SIMD-accelerated JPEG codec which provides both the libjpeg,TurboJPEG
 
+BUILD_DEPENDS=	nasm:${PORTSDIR}/devel/nasm
+
 CONFLICTS=	jpeg-[0-9]*
 ONLY_FOR_ARCHS=	amd64 i386
-USE_AUTOTOOLS=	autoconf:262 automake:110 libtool:22
-GNU_CONFIGURE=	yes
+USE_AUTOTOOLS=	autoconf:262 autoheader:262 aclocal:110 automake:110 libtool:22
+ACLOCAL_ARGS=	-I.
 USE_LDCONFIG=	yes
 
-BUILD_DEPENDS+=	${LOCALBASE}/bin/nasm:${PORTSDIR}/devel/nasm:install
-
-.include <bsd.port.pre.mk>
-
-.if ${ARCH} == amd64
-CONFIGURE_ARGS=	--host x86_64-unknown-freebsd
-.else
-CONFIGURE_ARGS=	--host ${ARCH}-unknown-freebsd
-.endif
-
-pre-configure:
-	@${ECHO_CMD} configure jpeg-turbo library
-	@cd ${WRKDIR}/libjpeg-turbo-${PORTVERSION} && ${AUTORECONF} -fiv && ${LIBTOOLIZE} --force
+MAN1=		cjpeg.1 djpeg.1 jpegtran.1 rdjpgcom.1 wrjpgcom.1
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
Index: graphics/libjpeg-turbo/distinfo
===================================================================
RCS file: /a/.cvsup/ports/graphics/libjpeg-turbo/distinfo,v
retrieving revision 1.2
diff -u -p -r1.2 distinfo
--- graphics/libjpeg-turbo/distinfo	23 May 2010 21:00:44 -0000	1.2
+++ graphics/libjpeg-turbo/distinfo	3 Jul 2010 17:38:35 -0000
@@ -1,3 +1,3 @@
-MD5 (libjpeg-turbo-0.0.93.tar.gz) = ac8bb8b00558b077c159a2f35dc196a0
-SHA256 (libjpeg-turbo-0.0.93.tar.gz) = edc0b678310986251fe074567e6f72eddd8004132af9a2a868a9cc28491904b3
-SIZE (libjpeg-turbo-0.0.93.tar.gz) = 1204734
+MD5 (libjpeg-turbo-1.0.0.tar.gz) = 51270417c3465e5ab5558c1219328609
+SHA256 (libjpeg-turbo-1.0.0.tar.gz) = d2cdbabbfc90e8d3e7842365e26a55050393c0336f908856ca99e92527f3fb9f
+SIZE (libjpeg-turbo-1.0.0.tar.gz) = 1414759
Index: graphics/libjpeg-turbo/pkg-plist
===================================================================
RCS file: /a/.cvsup/ports/graphics/libjpeg-turbo/pkg-plist,v
retrieving revision 1.1
diff -u -p -r1.1 pkg-plist
--- graphics/libjpeg-turbo/pkg-plist	26 Apr 2010 19:27:02 -0000	1.1
+++ graphics/libjpeg-turbo/pkg-plist	3 Jul 2010 17:55:54 -0000
@@ -1,3 +1,13 @@
+bin/cjpeg
+bin/djpeg
+bin/jpegtran
+bin/rdjpgcom
+bin/wrjpgcom
+include/jconfig.h
+include/jerror.h
+include/jmorecfg.h
+include/jpeglib.h
+include/turbojpeg.h
 lib/libjpeg.a
 lib/libjpeg.la
 lib/libjpeg.so
@@ -5,8 +15,3 @@ lib/libjpeg.so.62
 lib/libturbojpeg.a
 lib/libturbojpeg.la
 lib/libturbojpeg.so
-include/jerror.h
-include/jmorecfg.h
-include/jpeglib.h
-include/turbojpeg.h
-include/jconfig.h
--- a.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list