From owner-freebsd-ports-bugs@FreeBSD.ORG Mon May 7 04:30:12 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 1C10E106564A for ; Mon, 7 May 2012 04:30:12 +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 EA32F8FC15 for ; Mon, 7 May 2012 04:30: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 q474UBFv067757 for ; Mon, 7 May 2012 04:30:11 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q474UBEw067752; Mon, 7 May 2012 04:30:11 GMT (envelope-from gnats) Resent-Date: Mon, 7 May 2012 04:30:11 GMT Resent-Message-Id: <201205070430.q474UBEw067752@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, poyopoyo@puripuri.plala.or.jp Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CF8EA106564A for ; Mon, 7 May 2012 04:24:26 +0000 (UTC) (envelope-from poyopoyo@puripuri.plala.or.jp) Received: from msa04a.plala.or.jp (msa04.plala.or.jp [IPv6:2400:7800:0:5010::4]) by mx1.freebsd.org (Postfix) with ESMTP id 306248FC08 for ; Mon, 7 May 2012 04:24:25 +0000 (UTC) Received: from i220-220-100-187.s02.a026.ap.plala.or.jp ([220.220.100.187]) by msa02b.plala.or.jp with ESMTP id <20120507040954.ZKGB11812.msa02b.plala.or.jp@i220-220-100-187.s02.a026.ap.plala.or.jp> for ; Mon, 7 May 2012 13:09:54 +0900 Message-Id: <86vck8zl65.wl%poyopoyo@puripuri.plala.or.jp> Date: Mon, 07 May 2012 13:09:54 +0900 From: poyopoyo@puripuri.plala.or.jp To: FreeBSD-gnats-submit@FreeBSD.org X-Mailman-Approved-At: Mon, 07 May 2012 11:04:28 +0000 Cc: Subject: ports/167669: [PATCH] graphics/libjpeg-turbo: 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: Mon, 07 May 2012 04:30:12 -0000 >Number: 167669 >Category: ports >Synopsis: [PATCH] graphics/libjpeg-turbo: update to 1.2.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: Mon May 07 04:30:10 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Sato Kuro >Release: FreeBSD 10.0-CURRENT amd64 >Organization: personal >Environment: >Description: update to 1.2.0. - modify Makefile.in to install docs/examples into standard place. Without this they will go directly under share/doc/. I understand these paths are hard-coded so I have to surgerize Makefile.in. - builds and runs on not-so-CURRENT amd64. >How-To-Repeat: >Fix: diff -ur /usr/ports/graphics/libjpeg-turbo/Makefile ./Makefile --- /usr/ports/graphics/libjpeg-turbo/Makefile 2012-03-15 03:18:40.000000000 +0900 +++ ./Makefile 2012-05-06 08:41:12.783945936 +0900 @@ -7,8 +7,7 @@ # PORTNAME= libjpeg-turbo -PORTVERSION= 1.1.1 -PORTREVISION= 3 +PORTVERSION= 1.2.0 CATEGORIES= graphics MASTER_SITES= SF/${PORTNAME}/${PORTVERSION} @@ -40,4 +39,16 @@ CONFIGURE_ARGS+=--with-pic .endif +MODARGS= -e 's,^(docdir = ).*,\1${DOCSDIR},' \ + -e 's,^(exampledir = ).*,\1${EXAMPLESDIR},' +.if defined(NOPORTDOCS) +MODARGS+= -e '/^install-data-am:/s/install-dist_docDATA //' +.endif +.if defined(NOPORTEXAMPLES) +MODARGS+= -e '/^install-data-am:/s/install-dist_exampleDATA //' +.endif + +post-patch: + ${REINPLACE_CMD} -E ${MODARGS} ${WRKSRC}/Makefile.in + .include diff -ur /usr/ports/graphics/libjpeg-turbo/distinfo ./distinfo --- /usr/ports/graphics/libjpeg-turbo/distinfo 2011-06-22 02:11:59.000000000 +0900 +++ ./distinfo 2012-05-06 00:57:19.873947676 +0900 @@ -1,2 +1,2 @@ -SHA256 (libjpeg-turbo-1.1.1.tar.gz) = 553b1f5a968fb9efc089623ed99be2aa6bc21586be92eb04848489c91a63f1e2 -SIZE (libjpeg-turbo-1.1.1.tar.gz) = 1444529 +SHA256 (libjpeg-turbo-1.2.0.tar.gz) = 629db2a9b1295a1b0e5fa8dddda36c5da61a90536bef8295e0b209cbcd50f98e +SIZE (libjpeg-turbo-1.2.0.tar.gz) = 1752925 diff -ur /usr/ports/graphics/libjpeg-turbo/pkg-plist ./pkg-plist --- /usr/ports/graphics/libjpeg-turbo/pkg-plist 2011-07-10 19:35:10.000000000 +0900 +++ ./pkg-plist 2012-05-06 08:47:11.633946425 +0900 @@ -1,8 +1,8 @@ bin/cjpeg bin/djpeg bin/jpegtran -bin/jpgtest bin/rdjpgcom +bin/tjbench bin/wrjpgcom include/jconfig.h include/jerror.h @@ -16,3 +16,12 @@ lib/libturbojpeg.a lib/libturbojpeg.la lib/libturbojpeg.so +%%PORTDOCS%%%%DOCSDIR%%/README +%%PORTDOCS%%%%DOCSDIR%%/README-turbo.txt +%%PORTDOCS%%%%DOCSDIR%%/libjpeg.txt +%%PORTDOCS%%%%DOCSDIR%%/structure.txt +%%PORTDOCS%%%%DOCSDIR%%/usage.txt +%%PORTDOCS%%%%DOCSDIR%%/wizard.txt +%%PORTDOCS%%@dirrm %%DOCSDIR%% +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example.c +%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%% >Release-Note: >Audit-Trail: >Unformatted: