From nobody@FreeBSD.org  Thu Jan  2 18:23:57 2014
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1])
	(using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by hub.freebsd.org (Postfix) with ESMTPS id BFF38A17
	for <freebsd-gnats-submit@FreeBSD.org>; Thu,  2 Jan 2014 18:23:57 +0000 (UTC)
Received: from oldred.freebsd.org (oldred.freebsd.org [IPv6:2001:1900:2254:206a::50:4])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by mx1.freebsd.org (Postfix) with ESMTPS id 91DB81381
	for <freebsd-gnats-submit@FreeBSD.org>; Thu,  2 Jan 2014 18:23:57 +0000 (UTC)
Received: from oldred.freebsd.org ([127.0.1.6])
	by oldred.freebsd.org (8.14.5/8.14.7) with ESMTP id s02INu6X021008
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 2 Jan 2014 18:23:56 GMT
	(envelope-from nobody@oldred.freebsd.org)
Received: (from nobody@localhost)
	by oldred.freebsd.org (8.14.5/8.14.5/Submit) id s02INukV020993;
	Thu, 2 Jan 2014 18:23:56 GMT
	(envelope-from nobody)
Message-Id: <201401021823.s02INukV020993@oldred.freebsd.org>
Date: Thu, 2 Jan 2014 18:23:56 GMT
From: Matthieu Volat <mazhe@alkumuna.eu>
To: freebsd-gnats-submit@FreeBSD.org
Subject: [patch] graphic/lensfun upgrade & stagedir support
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         185424
>Category:       ports
>Synopsis:       [patch] graphics/lensfun upgrade & stagedir support
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    danfe
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jan 02 18:30:00 UTC 2014
>Closed-Date:    Wed Jan 15 05:39:23 UTC 2014
>Last-Modified:  Wed Jan 15 05:40:00 UTC 2014
>Originator:     Matthieu Volat
>Release:        10.0-RC4
>Organization:
>Environment:
FreeBSD freedom.alkumuna.eu 10.0-RC4 FreeBSD 10.0-RC4 #0 r260130: Tue Dec 31 17:10:01 UTC 2013     root@snap.freebsd.org:/usr/obj/usr/src/sys/GENERIC  amd64
>Description:
lensfun 0.2.8 was released last october, while a minor update regarding code, it add many entries in the lenses db and so would be very appreciated in the ports tree.
>How-To-Repeat:
-
>Fix:
here is a patch to update the version, the main changes are PORTVERSION and using BERLIOS as MASTERSITE with fetch(1) options that allows redirection, the means of retrieving sources having changed a bit. it also add stagedir support.

Patch attached with submission follows:

diff -ru lensfun.orig/Makefile lensfun/Makefile
--- lensfun.orig/Makefile	2013-12-14 11:51:26.000000000 +0100
+++ lensfun/Makefile	2014-01-02 19:17:27.000000000 +0100
@@ -2,9 +2,9 @@
 # $FreeBSD: graphics/lensfun/Makefile 336435 2013-12-14 10:51:26Z mva $
 
 PORTNAME=	lensfun
-PORTVERSION=	0.2.7
+PORTVERSION=	0.2.8
 CATEGORIES=	graphics
-MASTER_SITES=	SF/lensfun.berlios
+MASTER_SITES=	BERLIOS
 
 MAINTAINER=	danfe@FreeBSD.org
 COMMENT=	Library for fixing lens geometry distortions
@@ -13,6 +13,7 @@
 
 LIB_DEPENDS=	png15:${PORTSDIR}/graphics/png
 
+FETCH_ARGS=	-Fpr
 USES=		pkgconfig
 USE_BZIP2=	yes
 USE_GMAKE=	yes
@@ -40,9 +41,8 @@
 		${WRKSRC}/build/tibs/compiler/gcc.mak
 	${REINPLACE_CMD} -e '/GROUPS/s| DOCS||' ${WRKSRC}/build/tibs/rules.mak
 
-NO_STAGE=	yes
 post-install:
 	${LN} -sf lib${PORTNAME}.so \
-		${PREFIX}/lib/lib${PORTNAME}.so.${LIBVERSION}
+		${STAGEDIR}${PREFIX}/lib/lib${PORTNAME}.so.${LIBVERSION}
 
 .include <bsd.port.mk>
diff -ru lensfun.orig/distinfo lensfun/distinfo
--- lensfun.orig/distinfo	2013-03-05 08:57:10.000000000 +0100
+++ lensfun/distinfo	2014-01-02 19:12:36.000000000 +0100
@@ -1,2 +1,2 @@
-SHA256 (lensfun-0.2.7.tar.bz2) = 3ddf0747bd6af1ec7d722f8c45dafdd8adfb96c081492b216c14d89f82806477
-SIZE (lensfun-0.2.7.tar.bz2) = 552960
+SHA256 (lensfun-0.2.8.tar.bz2) = f88f97fbc78259a2b2edddef295caf50770901107c8469e54bb5e9699faa1a48
+SIZE (lensfun-0.2.8.tar.bz2) = 628913


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->danfe 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Sat Jan 4 05:44:04 UTC 2014 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=185424 
State-Changed-From-To: open->closed 
State-Changed-By: danfe 
State-Changed-When: Wed Jan 15 05:38:31 UTC 2014 
State-Changed-Why:  
Port was updated (r339754), thanks for your submission! 

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

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/185424: commit references a PR
Date: Wed, 15 Jan 2014 05:36:25 +0000 (UTC)

 Author: danfe
 Date: Wed Jan 15 05:36:17 2014
 New Revision: 339754
 URL: http://svnweb.freebsd.org/changeset/ports/339754
 QAT: https://qat.redports.org/buildarchive/r339754/
 
 Log:
   - Update to version 0.2.8, another minor maintenance release, which brings
     build system fixes and includes many new lens profiles (as always)
   - Set MASTER_SITES back to BERLIOS; SF/lensfun.berlios does not provide
     distfile for v0.2.8 (carries 13 distfiles; 0.2.2b -> 0.2.7)
   - Convert USE_GMAKE, modernize LIB_DEPENDS, sort knobs, stagify while here
   
   PR:		ports/185424
   Submitted by:	Matthieu Volat
 
 Modified:
   head/graphics/lensfun/Makefile
   head/graphics/lensfun/distinfo
   head/graphics/lensfun/pkg-plist
 
 Modified: head/graphics/lensfun/Makefile
 ==============================================================================
 --- head/graphics/lensfun/Makefile	Wed Jan 15 05:31:35 2014	(r339753)
 +++ head/graphics/lensfun/Makefile	Wed Jan 15 05:36:17 2014	(r339754)
 @@ -2,31 +2,29 @@
  # $FreeBSD$
  
  PORTNAME=	lensfun
 -PORTVERSION=	0.2.7
 +PORTVERSION=	0.2.8
  CATEGORIES=	graphics
 -MASTER_SITES=	SF/lensfun.berlios
 +MASTER_SITES=	BERLIOS
  
  MAINTAINER=	danfe@FreeBSD.org
  COMMENT=	Library for fixing lens geometry distortions
  
  LICENSE=	LGPL3
  
 -LIB_DEPENDS=	png15:${PORTSDIR}/graphics/png
 +LIB_DEPENDS=	libpng15.so:${PORTSDIR}/graphics/png
  
 -USES=		pkgconfig
 +USES=		gmake pkgconfig
  USE_BZIP2=	yes
 -USE_GMAKE=	yes
  USE_GNOME=	glib20
  USE_LDCONFIG=	yes
  USE_PYTHON_BUILD=	yes
  
 -MAKEFILE=	GNUmakefile
 -LIBVERSION=	2
 -
  HAS_CONFIGURE=	yes
  CONFIGURE_ENV=	LD="${CXX}" AR="${AR}"
  CONFIGURE_ARGS=	--prefix=${PREFIX} --target=${TARGET} --vectorization=SSE
  MAKE_ARGS=	V=1	# we want to know what's going on during the build
 +MAKEFILE=	GNUmakefile
 +LIBVERSION=	2
  
  PLIST_SUB+=	LIBVERSION=${LIBVERSION}
  
 @@ -36,13 +34,12 @@ post-patch: .SILENT
  	${REINPLACE_CMD} -e \
  		's|CONF_LIBDIR)pkgconfig|CONF_LIBDIR)../libdata/pkgconfig|' \
  			${WRKSRC}/build/tibs/compiler/pkgconfig.mak
 -	${REINPLACE_CMD} -e '/-s -O3/d' -e '/LDFLAGS\.r/s|-s|${STRIP}|' \
 +	${REINPLACE_CMD} -e '/-s -O3/d' \
  		${WRKSRC}/build/tibs/compiler/gcc.mak
  	${REINPLACE_CMD} -e '/GROUPS/s| DOCS||' ${WRKSRC}/build/tibs/rules.mak
  
 -NO_STAGE=	yes
  post-install:
  	${LN} -sf lib${PORTNAME}.so \
 -		${PREFIX}/lib/lib${PORTNAME}.so.${LIBVERSION}
 +		${STAGEDIR}${PREFIX}/lib/lib${PORTNAME}.so.${LIBVERSION}
  
  .include <bsd.port.mk>
 
 Modified: head/graphics/lensfun/distinfo
 ==============================================================================
 --- head/graphics/lensfun/distinfo	Wed Jan 15 05:31:35 2014	(r339753)
 +++ head/graphics/lensfun/distinfo	Wed Jan 15 05:36:17 2014	(r339754)
 @@ -1,2 +1,2 @@
 -SHA256 (lensfun-0.2.7.tar.bz2) = 3ddf0747bd6af1ec7d722f8c45dafdd8adfb96c081492b216c14d89f82806477
 -SIZE (lensfun-0.2.7.tar.bz2) = 552960
 +SHA256 (lensfun-0.2.8.tar.bz2) = f88f97fbc78259a2b2edddef295caf50770901107c8469e54bb5e9699faa1a48
 +SIZE (lensfun-0.2.8.tar.bz2) = 628913
 
 Modified: head/graphics/lensfun/pkg-plist
 ==============================================================================
 --- head/graphics/lensfun/pkg-plist	Wed Jan 15 05:31:35 2014	(r339753)
 +++ head/graphics/lensfun/pkg-plist	Wed Jan 15 05:36:17 2014	(r339754)
 @@ -14,14 +14,18 @@ libdata/pkgconfig/lensfun.pc
  %%DATADIR%%/compact-panasonic.xml
  %%DATADIR%%/compact-pentax.xml
  %%DATADIR%%/compact-ricoh.xml
 +%%DATADIR%%/compact-samsung.xml
  %%DATADIR%%/compact-sigma.xml
  %%DATADIR%%/compact-sony.xml
  %%DATADIR%%/generic.xml
  %%DATADIR%%/mil-canon.xml
 +%%DATADIR%%/mil-fujifilm.xml
  %%DATADIR%%/mil-nikon.xml
  %%DATADIR%%/mil-olympus.xml
  %%DATADIR%%/mil-panasonic.xml
  %%DATADIR%%/mil-samsung.xml
 +%%DATADIR%%/mil-samyang.xml
 +%%DATADIR%%/mil-sigma.xml
  %%DATADIR%%/mil-sony.xml
  %%DATADIR%%/rf-leica.xml
  %%DATADIR%%/slr-canon.xml
 @@ -34,8 +38,10 @@ libdata/pkgconfig/lensfun.pc
  %%DATADIR%%/slr-panasonic.xml
  %%DATADIR%%/slr-pentax.xml
  %%DATADIR%%/slr-samsung.xml
 +%%DATADIR%%/slr-samyang.xml
  %%DATADIR%%/slr-schneider.xml
  %%DATADIR%%/slr-sigma.xml
 +%%DATADIR%%/slr-soligor.xml
  %%DATADIR%%/slr-sony.xml
  %%DATADIR%%/slr-tamron.xml
  %%DATADIR%%/slr-tokina.xml
 _______________________________________________
 svn-ports-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-ports-all
 To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
 
>Unformatted:
