From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Sep 7 16:50:18 2005 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A1C2D16A41F for ; Wed, 7 Sep 2005 16:50:18 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 49AFC43D49 for ; Wed, 7 Sep 2005 16:50:17 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j87GoH4D016834 for ; Wed, 7 Sep 2005 16:50:17 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j87GoHqw016830; Wed, 7 Sep 2005 16:50:17 GMT (envelope-from gnats) Resent-Date: Wed, 7 Sep 2005 16:50:17 GMT Resent-Message-Id: <200509071650.j87GoHqw016830@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, Igor Pokrovsky Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2D5F116A41F for ; Wed, 7 Sep 2005 16:40:44 +0000 (GMT) (envelope-from igor@doom.homeunix.org) Received: from voodoo.oberon.net (voodoo.oberon.net [212.118.165.100]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8273743D4C for ; Wed, 7 Sep 2005 16:40:43 +0000 (GMT) (envelope-from igor@doom.homeunix.org) Received: from dialup84107-218.ip.peterstar.net ([84.204.107.218] helo=doom.homeunix.org) by voodoo.oberon.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.52 (FreeBSD)) id 1ED2yL-000ClX-69 for FreeBSD-gnats-submit@freebsd.org; Wed, 07 Sep 2005 18:40:33 +0200 Received: from doom.homeunix.org (localhost [127.0.0.1]) by doom.homeunix.org (8.13.4/8.13.4) with ESMTP id j87GeV7J012101 for ; Wed, 7 Sep 2005 20:40:31 +0400 (MSD) (envelope-from igor@doom.homeunix.org) Received: (from igor@localhost) by doom.homeunix.org (8.13.4/8.13.3/Submit) id j87GeVSO012100; Wed, 7 Sep 2005 20:40:31 +0400 (MSD) (envelope-from igor) Message-Id: <200509071640.j87GeVSO012100@doom.homeunix.org> Date: Wed, 7 Sep 2005 20:40:31 +0400 (MSD) From: Igor Pokrovsky To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/85840: New port: graphics/fv A viewer of hdr/pfm images X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Igor Pokrovsky List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Sep 2005 16:50:18 -0000 >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 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 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 X #include X #include X+#if (defined(__unix__) || defined(unix)) && !defined(USG) X+#include X+#endif X+#ifndef BSD X #include X+#endif X #include X #include X #include END-of-fv/files/patch-common.h exit --- fv.shar ends here --- >Release-Note: >Audit-Trail: >Unformatted: