Date: Wed, 7 Sep 2005 20:40:31 +0400 (MSD) From: Igor Pokrovsky <ip@doom.homeunix.org> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/85840: New port: graphics/fv A viewer of hdr/pfm images Message-ID: <200509071640.j87GeVSO012100@doom.homeunix.org> Resent-Message-ID: <200509071650.j87GoHqw016830@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 85840 >Category: ports >Synopsis: New port: graphics/fv A viewer of hdr/pfm images >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Wed Sep 07 16:50:16 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Igor Pokrovsky >Release: FreeBSD 4.11-STABLE i386 >Organization: >Environment: System: FreeBSD doom.homeunix.org 4.11-STABLE FreeBSD 4.11-STABLE #0: Wed Sep 7 09:26:18 MSD 2005 root@doom.homeunix.org:/usr/obj/usr/src/sys/KERNEL-p3 i386 >Description: fv is an HDRI viewer. Currently supported formats are the followings: * Greg Ward's HDR (also known as Radiance/PIC/RGBE). See http://www.graphics.cornell.edu/~bjw/rgbe.html for details. * Paul Debevec's PFM (Portable Float Map). See http://netpbm.sourceforge.net/doc/pfm.html for details. fv reads data from the standard input or files specified as arguments. In the latter case, each file may be compressed one with gzip or bzip2. The file may also change after fv is invoked, except its header part. fv checks whether the file changes and updates the display if necessary. This feature is useful for checking intermediate outputs from renderers. WWW: http://www.eaflux.com/fv/ >How-To-Repeat: >Fix: --- fv.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: # # fv # fv/pkg-descr # fv/distinfo # fv/Makefile # fv/files # fv/files/patch-common.h # echo c - fv mkdir -p fv > /dev/null 2>&1 echo x - fv/pkg-descr sed 's/^X//' >fv/pkg-descr << 'END-of-fv/pkg-descr' Xfv is an HDRI viewer. Currently supported formats are the followings: X* Greg Ward's HDR (also known as Radiance/PIC/RGBE). See X http://www.graphics.cornell.edu/~bjw/rgbe.html for details. X* Paul Debevec's PFM (Portable Float Map). See X http://netpbm.sourceforge.net/doc/pfm.html for details. X Xfv reads data from the standard input or files specified as Xarguments. In the latter case, each file may be compressed one with Xgzip or bzip2. The file may also change after fv is invoked, except Xits header part. fv checks whether the file changes and updates the Xdisplay if necessary. This feature is useful for checking intermediate Xoutputs from renderers. X XWWW: http://www.eaflux.com/fv/ X X-Igor Pokrovsky Xip@doom.homeunix.org END-of-fv/pkg-descr echo x - fv/distinfo sed 's/^X//' >fv/distinfo << 'END-of-fv/distinfo' XMD5 (fv-src-1.01.zip) = 0ad6b8fda55f22dc1d0dc21c8fe6ae57 XSIZE (fv-src-1.01.zip) = 41089 END-of-fv/distinfo echo x - fv/Makefile sed 's/^X//' >fv/Makefile << 'END-of-fv/Makefile' X# New ports collection makefile for: fv X# Date created: 07 Sep 2005 X# Whom: Igor Pokrovsky <ip@doom.homeunix.org> X# X# $FreeBSD$ X# X XPORTNAME= fv XPORTVERSION= 1.01 XCATEGORIES= graphics XMASTER_SITES= http://www.eaflux.com/fv/sources/ XDISTNAME= ${PORTNAME}-src-${PORTVERSION} X XMAINTAINER= ip@doom.homeunix.org XCOMMENT= A viewer of hdr/pfm images X XLIB_DEPENDS= glut.3:${PORTSDIR}/graphics/libglut \ X png.5:${PORTSDIR}/graphics/png X XUSE_ZIP= yes XUSE_GCC= 3.3+ XUSE_GETOPT_LONG=yes XUSE_GL= yes XUSE_X_PREFIX= yes X XPLIST_FILES= bin/${PORTNAME} XPORTDOCS= README X Xdo-build: X ${CXX} ${CXXFLAGS} -Wall -O3 -fomit-frame-pointer -finline-functions \ X -fstrength-reduce -falign-loops=2 -falign-jumps=2 \ X -falign-functions=2 -DNDEBUG -DHAVE_DECL_GETOPT \ X -I${X11BASE}/include -I${LOCALBASE}/include -I${WRKSRC} \ X ${LDFLAGS} -L${X11BASE}/lib -L${LOCALBASE}/lib -lpng -lz \ X -lbz2 -lglut -lGLU -lGL -lXi -lXmu -lX11 -lXext -lSM -lm \ X ${PTHREAD_LIBS} -o ${WRKSRC}/${PORTNAME} ${WRKSRC}/*.c X Xdo-install: X ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin X X.ifndef (NOPORTDOCS) X @${MKDIR} ${DOCSDIR} X ${INSTALL_MAN} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR} X.endif X X.include <bsd.port.mk> END-of-fv/Makefile echo c - fv/files mkdir -p fv/files > /dev/null 2>&1 echo x - fv/files/patch-common.h sed 's/^X//' >fv/files/patch-common.h << 'END-of-fv/files/patch-common.h' X--- common.h.orig X+++ common.h X@@ -38,7 +38,12 @@ X #include <fcntl.h> X #include <map> X #include <pthread.h> X+#if (defined(__unix__) || defined(unix)) && !defined(USG) X+#include <sys/param.h> X+#endif X+#ifndef BSD X #include <stdint.h> X+#endif X #include <string> X #include <sys/stat.h> X #include <sys/time.h> END-of-fv/files/patch-common.h exit --- fv.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?200509071640.j87GeVSO012100>