Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 05 Oct 2012 00:56:17 +0200
From:      nemysis <nemysis@gmx.ch>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/172341: [PATCH] graphics/openexr_ctl: update to 1.0.1, take maintainership, Makefile changed, OptionsNG
Message-ID:  <20121004225621.E98901065670@hub.freebsd.org>
Resent-Message-ID: <201210042300.q94N0NhU030268@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         172341
>Category:       ports
>Synopsis:       [PATCH] graphics/openexr_ctl: update to 1.0.1, take maintainership, Makefile changed, OptionsNG
>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:   Thu Oct 04 23:00:23 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     nemysis
>Release:        FreeBSD 9.0-RELEASE amd64
>Organization:
>Environment:
System: FreeBSD FreeBSD_Ports 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Tue Jan  3 07:46:30 UTC
>Description:

- Update to 1.0.1
- Take maintainership

- Changed MASTER_SITES

+MASTER_SITES=	SF/ampasctl/${PORTNAME}/${PORTNAME}-${PORTVERSION}/

- Added LICENSE

+LICENSE=	BSD


- Changed LIB_DEPENDS

+LIB_DEPENDS=	IlmImf:${PORTSDIR}/graphics/OpenEXR \
+		IlmCtl:${PORTSDIR}/graphics/ampasCTL

- Added PORTDOCS:

+PORTDOCS=	AUTHORS ChangeLog README

- Added post-install for PORTDOCS

+post-install:

- Rework

pkg-descr and pkg-plist

Generated and tested manually, tested with port test and with RedPorts (all RELEASES, CLANG), sent with FreeBSD Port Tools 0.99_6 (mode: update, diff: ports)
>How-To-Repeat:

portlint -A
WARN: Makefile: for new port, make $FreeBSD$ tag in comment section empty, to make SVN happy.
0 fatal errors and 1 warning found.

port test: clean


Build log RedPorts

https://redports.org/buildarchive/20121004171826-39854/

>Fix:

--- openexr_ctl-1.0.1.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/graphics/openexr_ctl/Makefile ./Makefile
--- /usr/ports/graphics/openexr_ctl/Makefile	2012-08-15 21:26:13.000000000 +0200
+++ ./Makefile	2012-10-04 21:07:48.000000000 +0200
@@ -6,21 +6,27 @@
 #
 
 PORTNAME=	openexr_ctl
-PORTVERSION=	1.0.0
+PORTVERSION=	1.0.1
 CATEGORIES=	graphics devel
-MASTER_SITES=	${MASTER_SITE_SAVANNAH}
-MASTER_SITE_SUBDIR=	openexr
+MASTER_SITES=	SF/ampasctl/${PORTNAME}/${PORTNAME}-${PORTVERSION}/
 
-MAINTAINER=	ports@FreeBSD.org
+MAINTAINER=	nemysis@gmx.ch
 COMMENT=	Simplified OpenEXR interface to CTL
 
-LIB_DEPENDS+=	IlmImf.6:${PORTSDIR}/graphics/OpenEXR \
-		IlmCtl.2:${PORTSDIR}/graphics/ampasCTL
+LICENSE=	BSD
+
+LIB_DEPENDS=	IlmImf:${PORTSDIR}/graphics/OpenEXR \
+		IlmCtl:${PORTSDIR}/graphics/ampasCTL
 
 USE_GNOME=	pkgconfig
 USE_LDCONFIG=	yes
 GNU_CONFIGURE=	yes
 USE_AUTOTOOLS=	libtool
+USE_LDCONFIG=	yes
+
+PORTDOCS=	AUTHORS ChangeLog README
+
+.include <bsd.port.options.mk>
 
 test check:	build
 	@(cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} check)
@@ -29,4 +35,10 @@
 pre-install:	test
 .endif
 
+post-install:
+.if ${PORT_OPTIONS:MDOCS}
+	${MKDIR} ${DOCSDIR}
+	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
+.endif
+
 .include <bsd.port.mk>
diff -ruN --exclude=CVS /usr/ports/graphics/openexr_ctl/distinfo ./distinfo
--- /usr/ports/graphics/openexr_ctl/distinfo	2011-07-03 16:11:43.000000000 +0200
+++ ./distinfo	2012-10-04 19:10:15.000000000 +0200
@@ -1,2 +1,2 @@
-SHA256 (openexr_ctl-1.0.0.tar.gz) = bfa28d626201f6b29e794b9ab54a01ec4b1153ec99160b492adabf0ae082f304
-SIZE (openexr_ctl-1.0.0.tar.gz) = 367164
+SHA256 (openexr_ctl-1.0.1.tar.gz) = 2d88d624e24fce64ee8494d4dd46e33684f93941e1ca46024554d1ab6ed5e9c9
+SIZE (openexr_ctl-1.0.1.tar.gz) = 362864
diff -ruN --exclude=CVS /usr/ports/graphics/openexr_ctl/files/patch-Makefile.in ./files/patch-Makefile.in
--- /usr/ports/graphics/openexr_ctl/files/patch-Makefile.in	2007-10-08 18:37:46.000000000 +0200
+++ ./files/patch-Makefile.in	2012-10-04 18:04:50.000000000 +0200
@@ -1,5 +1,5 @@
---- Makefile.in.orig	2007-08-04 09:13:15.000000000 +0900
-+++ Makefile.in	2007-10-09 01:15:31.000000000 +0900
+--- Makefile.in.orig	2007-10-10 00:14:31.000000000 +0200
++++ Makefile.in	2012-10-04 18:02:34.000000000 +0200
 @@ -209,7 +209,7 @@
  	AUTHORS COPYING ChangeLog INSTALL LICENSE NEWS \
          README README.CVS README.OSX README.win32 bootstrap
diff -ruN --exclude=CVS /usr/ports/graphics/openexr_ctl/pkg-descr ./pkg-descr
--- /usr/ports/graphics/openexr_ctl/pkg-descr	2007-10-08 18:37:46.000000000 +0200
+++ ./pkg-descr	2012-10-04 19:16:05.000000000 +0200
@@ -17,3 +17,5 @@
 conversion.
 
 WWW:	http://www.openexr.com/
+WWW:	http://www.oscars.org/science-technology/council/projects/ctl.html
+WWW:	http://ampasctl.sourceforge.net/
diff -ruN --exclude=CVS /usr/ports/graphics/openexr_ctl/pkg-plist ./pkg-plist
--- /usr/ports/graphics/openexr_ctl/pkg-plist	2007-10-08 18:37:46.000000000 +0200
+++ ./pkg-plist	2012-10-04 19:12:49.000000000 +0200
@@ -1,15 +1,16 @@
 bin/exr_ctl_exr
 bin/exrdpx
-lib/libIlmImfCtl.a
-lib/libIlmImfCtl.la
-lib/libIlmImfCtl.so
-lib/libIlmImfCtl.so.2
+include/OpenEXR/ImfCtlApplyTransforms.h
 lib/CTL/change_saturation.ctl
 lib/CTL/transform_DPX_EXR.ctl
 lib/CTL/transform_EXR_DPX.ctl
 lib/CTL/transform_RRT.ctl
 lib/CTL/transform_display_video.ctl
 lib/CTL/utilities.ctl
+lib/libIlmImfCtl.a
+lib/libIlmImfCtl.la
+lib/libIlmImfCtl.so
+lib/libIlmImfCtl.so.2
 libdata/pkgconfig/OpenEXR_CTL.pc
-include/OpenEXR/ImfCtlApplyTransforms.h
 @dirrm lib/CTL
+@dirrmtry include/OpenEXR
--- openexr_ctl-1.0.1.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20121004225621.E98901065670>