Skip site navigation (1)Skip section navigation (2)
Date:      15 Aug 2005 10:05:49 -0000
From:      Emanuel Haupt <ehaupt@critical.ch>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/84945: new port: graphics/exrtools - Utilities for manipulating with HDR images in OpenEXR format 
Message-ID:  <20050815100549.40574.qmail@mx.critical.ch>
Resent-Message-ID: <200508151010.j7FAALNe098924@freefall.freebsd.org>

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

>Number:         84945
>Category:       ports
>Synopsis:       new port: graphics/exrtools - Utilities for manipulating with HDR images in OpenEXR format
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Aug 15 10:10:21 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Emanuel Haupt
>Release:        FreeBSD 4.11-RELEASE-p11 i386
>Organization:
>Environment:
System: FreeBSD admin.critical.ch 4.11-RELEASE-p11 FreeBSD 4.11-RELEASE-p11 #0: Thu Jun 30 09:36:40 CEST 2005 root@admin.critical.ch:/usr/obj/usr/src-release/src/sys/GENERIC i386


	
>Description:
new port: graphics/exrtools - Utilities for manipulating with HDR images in OpenEXR format

exrtools is a set of simple command-line utilities for manipulating with high
dynamic range images in OpenEXR format. OpenEXR is a high dynamic-range (HDR)
image file format developed by Industrial Light & Magic for use in computer
imaging applications.

exrtools was developed to help experiment with batch processing of HDR images
for tone mapping. Each application is small and reasonably self-contained such
that the source code may be of most value to others.

exrtools currently only works with RGBA OpenEXR files. As well, the code assumes
that the EXR files and PNG files all use sRGB primaries and gamma function.


>How-To-Repeat:
	
>Fix:

	



--- exrtools.shar begins here ---
# 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:
#
#	exrtools
#	exrtools/Makefile
#	exrtools/pkg-descr
#	exrtools/distinfo
#
echo c - exrtools
mkdir -p exrtools > /dev/null 2>&1
echo x - exrtools/Makefile
sed 's/^X//' >exrtools/Makefile << 'END-of-exrtools/Makefile'
X# New ports collection makefile for:	exrtools
X# Date created:				15 Aug 2005
X# Whom:					Emanuel Haupt <ehaupt@critical.ch>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	exrtools
XPORTVERSION=	0.4
XCATEGORIES=	graphics
XMASTER_SITES=	http://scanline.ca/exrtools/
X
XMAINTAINER=	ehaupt@critical.ch
XCOMMENT=	Utilities for manipulating with HDR images in OpenEXR format
X
XLIB_DEPENDS=	Half:${PORTSDIR}/graphics/OpenEXR \
X		png:${PORTSDIR}/graphics/png \
X		jpeg:${PORTSDIR}/graphics/jpeg
X
XUSE_LIBTOOL_VER=13
XUSE_GMAKE=	yes
XUSE_REINPLACE=	yes
X
XCPPFLAGS+=	-I${LOCALBASE}/include
XLDFLAGS+=	-L${LOCALBASE}/lib
X
XCONFIGURE_ENV+=	CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
X
XPLIST_FILES=	bin/exrblur bin/exrchr bin/exricamtm bin/exrnlm \
X		bin/exrnormalize bin/exrpptm bin/exrstats \
X		bin/exrtopng bin/jpegtoexr bin/pngtoexr bin/ppmtoexr
X
XMAN1=		exrblur.1 exrchr.1 exricamtm.1 exrnlm.1 exrnormalize.1 \
X		exrpptm.1 exrstats.1 exrtools.1 exrtopng.1 jpegtoexr.1 \
X		pngtoexr.1 ppmtoexr.1
X
X.include <bsd.port.pre.mk>
X
Xpost-patch:
X	@${REINPLACE_CMD} -e 's|<values\.h>|<float.h>|' \
X		${WRKSRC}/src/exrnormalize.c \
X		${WRKSRC}/src/exrpptm.c \
X		${WRKSRC}/src/exrstats.c
X.if ${OSVERSION} < 500000
X	@${REINPLACE_CMD} -e 's|stdint\.h|inttypes.h|' \
X		${WRKSRC}/src/exrblur.c \
X		${WRKSRC}/src/exrchr.c \
X		${WRKSRC}/src/exrnlm.c \
X		${WRKSRC}/src/exrnormalize.c \
X		${WRKSRC}/src/exrpptm.c \
X		${WRKSRC}/src/ppmtoexr.c \
X		${WRKSRC}/src/exricamtm.c \
X		${WRKSRC}/src/jpeginput.h \
X		${WRKSRC}/src/pngoutput.h \
X		${WRKSRC}/src/pnginput.h
X	@${REINPLACE_CMD} -e 's|inttypes\.h|sys/types.h|' \
X		${WRKSRC}/src/ppmtoexr.c
X.endif
X
X.include <bsd.port.post.mk>
END-of-exrtools/Makefile
echo x - exrtools/pkg-descr
sed 's/^X//' >exrtools/pkg-descr << 'END-of-exrtools/pkg-descr'
Xexrtools is a set of simple command-line utilities for manipulating with high
Xdynamic range images in OpenEXR format. OpenEXR is a high dynamic-range (HDR)
Ximage file format developed by Industrial Light & Magic for use in computer
Ximaging applications.
X
Xexrtools was developed to help experiment with batch processing of HDR images
Xfor tone mapping. Each application is small and reasonably self-contained such
Xthat the source code may be of most value to others.
X
Xexrtools currently only works with RGBA OpenEXR files. As well, the code assumes
Xthat the EXR files and PNG files all use sRGB primaries and gamma function.
X
XWWW: http://scanline.ca/exrtools/
X
X- ehaupt
Xehaupt@critical.ch
END-of-exrtools/pkg-descr
echo x - exrtools/distinfo
sed 's/^X//' >exrtools/distinfo << 'END-of-exrtools/distinfo'
XMD5 (exrtools-0.4.tar.gz) = 8533e98f78f70d8180fe6865bc383f06
XSIZE (exrtools-0.4.tar.gz) = 300197
END-of-exrtools/distinfo
exit
--- exrtools.shar ends here ---

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



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