From relaxbsd@gmail.com  Sat Jul 28 05:59:58 2007
Return-Path: <relaxbsd@gmail.com>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 9D59916A417
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 28 Jul 2007 05:59:58 +0000 (UTC)
	(envelope-from relaxbsd@gmail.com)
Received: from rv-out-0910.google.com (rv-out-0910.google.com [209.85.198.189])
	by mx1.freebsd.org (Postfix) with ESMTP id 81C2A13C494
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 28 Jul 2007 05:59:58 +0000 (UTC)
	(envelope-from relaxbsd@gmail.com)
Received: by rv-out-0910.google.com with SMTP id f1so135722rvb
        for <FreeBSD-gnats-submit@freebsd.org>; Fri, 27 Jul 2007 22:59:57 -0700 (PDT)
Received: by 10.141.27.18 with SMTP id e18mr1158471rvj.1185602397707;
        Fri, 27 Jul 2007 22:59:57 -0700 (PDT)
Received: from relaxbsd@gmail.com ( [222.242.92.56])
        by mx.google.com with ESMTPS id 3sm834146rvi.2007.07.27.22.59.53
        (version=SSLv3 cipher=OTHER);
        Fri, 27 Jul 2007 22:59:57 -0700 (PDT)
Received: by relaxbsd@gmail.com (sSMTP sendmail emulation); Sat, 28 Jul 2007 13:57:32 +0800
Message-Id: <46aadb5d.03098c0a.0750.ffff95fd@mx.google.com>
Date: Sat, 28 Jul 2007 13:57:32 +0800
From: Yinghong.Liu <relaxbsd@gmail.com>
Reply-To: relaxbsd@gmail.com
To: FreeBSD-gnats-submit@freebsd.org
Cc: kde@freebsd.org
Subject: New port:graphics/qtpfsgui A graphical user interface that provides a workflow for HDR imaging
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         114984
>Category:       ports
>Synopsis:       New port:graphics/qtpfsgui A graphical user interface that provides a workflow for HDR imaging
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    edwin
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jul 28 06:00:06 GMT 2007
>Closed-Date:    Sun Sep 09 12:15:37 GMT 2007
>Last-Modified:  Sun Sep  9 12:20:01 GMT 2007
>Originator:     Yinghong.Liu
>Release:        FreeBSD 7.0-CURRENT i386
>Organization:
>Environment:
System: FreeBSD relaxbsd.org 7.0-CURRENT FreeBSD 7.0-CURRENT #0: Sun Jun 3 12:43:41 CST 2007 root@relaxbsd.org:/usr/src/sys/i386/compile/RELAXBSD i386


	
>Description:
Qtpfsgui is a graphical user interface (based on trolltech's Qt4)
that provides a workflow for HDR imaging.

WWW: http://qtpfsgui.sourceforge.net/
	
>How-To-Repeat:
The "qmake,uic,rcc,moc,linguist" of QT4 in this ports are only BUILD_DEPENDS but not RUN_DEPEND. If I define they with QT_COMPONENTS that'll both BUILD_DEPENDS and RUN_DEPEND(see ${PORTSDIR}/Mk/bsd.qt.mk). How should I do to be better? Thanks!
	
>Fix:

	

--- qtpfsgui.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:
#
#	qtpfsgui/
#	qtpfsgui/Makefile
#	qtpfsgui/distinfo
#	qtpfsgui/files
#	qtpfsgui/pkg-descr
#	qtpfsgui/pkg-plist
#	qtpfsgui/files/patch-project.pro
#
echo c - qtpfsgui/
mkdir -p qtpfsgui/ > /dev/null 2>&1
echo x - qtpfsgui/Makefile
sed 's/^X//' >qtpfsgui/Makefile << 'END-of-qtpfsgui/Makefile'
X# New ports collection makefile for:	qtpfsgui
X# Date created:		28 Jul 2007
X# Whom:                	Yinghong.Liu <relaxbsd@gmail.com>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	qtpfsgui
XDISTVERSION=	1.8.10
XCATEGORIES=	graphics
XMASTER_SITES=	SF
X
XMAINTAINER=	relaxbsd@gmail.com
XCOMMENT=	A graphical user interface that provides a workflow for HDR imaging
X
XLIB_DEPENDS=	exiv2.0:${PORTSDIR}/graphics/exiv2 \
X		fftw3f.4:${PORTSDIR}/math/fftw3-float \
X		IlmImf.4:${PORTSDIR}/graphics/OpenEXR \
X		tiff.4:${PORTSDIR}/graphics/tiff \
X		jpeg.9:${PORTSDIR}/graphics/jpeg
XBUILD_DEPENDS=	qmake-qt4:${PORTSDIR}/devel/qmake4 \
X		uic-qt4:${PORTSDIR}/devel/qt4-uic \
X		rcc:${PORTSDIR}/devel/qt4-rcc \
X		moc-qt4:${PORTSDIR}/devel/qt4-moc \
X		lrelease-qt4:${PORTSDIR}/devel/qt4-linguist
X
XUSE_QT_VER=	4
XQT_COMPONENTS=	corelib gui
X
XLRELEASE=	${QT_PREFIX}/bin/lrelease-qt4
X
XINSTALL_TARGET=	install_target install_menu install_icon
X.if !defined(WITHOUT_NLS)
XPLIST_SUB+=	NLS=""
XINSTALL_TARGET+=install_i18n
X.else
XPLIST_SUB+=	NLS="@comment "
X.endif
X.if !defined(NOPORTDOCS)
XINSTALL_TARGET+=install_docs
X.endif
X
Xpre-build:
X	@${LRELEASE} ${BUILD_WRKSRC}/project.pro
X	@cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV} ${QMAKE} -spec ${QMAKESPEC}
X
X.include <bsd.port.mk>
END-of-qtpfsgui/Makefile
echo x - qtpfsgui/distinfo
sed 's/^X//' >qtpfsgui/distinfo << 'END-of-qtpfsgui/distinfo'
XMD5 (qtpfsgui-1.8.10.tar.gz) = 909cf32d90f2c7561d92877575742bd8
XSHA256 (qtpfsgui-1.8.10.tar.gz) = 0cb2f9186dd1f32ca1d64340055fb9d71da786a9a5cb3ebe346251d551200e95
XSIZE (qtpfsgui-1.8.10.tar.gz) = 1080221
END-of-qtpfsgui/distinfo
echo c - qtpfsgui/files
mkdir -p qtpfsgui/files > /dev/null 2>&1
echo x - qtpfsgui/pkg-descr
sed 's/^X//' >qtpfsgui/pkg-descr << 'END-of-qtpfsgui/pkg-descr'
XQtpfsgui is a graphical user interface (based on trolltech's Qt4)
Xthat provides a workflow for HDR imaging.
X
XWWW: http://qtpfsgui.sourceforge.net/
END-of-qtpfsgui/pkg-descr
echo x - qtpfsgui/pkg-plist
sed 's/^X//' >qtpfsgui/pkg-plist << 'END-of-qtpfsgui/pkg-plist'
Xbin/qtpfsgui
Xshare/applications/qtpfsgui.desktop
Xshare/pixmaps/qtpfsgui.png
X%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
X%%PORTDOCS%%%%DOCSDIR%%/COPYING
X%%PORTDOCS%%%%DOCSDIR%%/Changelog
X%%PORTDOCS%%%%DOCSDIR%%/INSTALL
X%%PORTDOCS%%%%DOCSDIR%%/NEWS
X%%PORTDOCS%%%%DOCSDIR%%/README
X%%PORTDOCS%%%%DOCSDIR%%/TODO
X%%PORTDOCS%%%%DOCSDIR%%/html/faq.html
X%%PORTDOCS%%%%DOCSDIR%%/html/hints.html
X%%PORTDOCS%%%%DOCSDIR%%/html/images/batch-1.jpg
X%%PORTDOCS%%%%DOCSDIR%%/html/images/copy_exif.jpeg
X%%PORTDOCS%%%%DOCSDIR%%/html/images/mainwin.jpeg
X%%PORTDOCS%%%%DOCSDIR%%/html/images/resize.jpeg
X%%PORTDOCS%%%%DOCSDIR%%/html/images/snap-qt4_3.jpeg
X%%PORTDOCS%%%%DOCSDIR%%/html/images/snap-qt4_4.jpeg
X%%PORTDOCS%%%%DOCSDIR%%/html/images/snap-qt4_5.jpeg
X%%PORTDOCS%%%%DOCSDIR%%/html/images/snap-qt4_6.jpeg
X%%PORTDOCS%%%%DOCSDIR%%/html/images/tonemapdialog.jpeg
X%%PORTDOCS%%%%DOCSDIR%%/html/index.html
X%%PORTDOCS%%%%DOCSDIR%%/html/manual.html
X%%NLS%%%%DATADIR%%/i18n/lang_de.qm
X%%NLS%%%%DATADIR%%/i18n/lang_es.qm
X%%NLS%%%%DATADIR%%/i18n/lang_fr.qm
X%%NLS%%%%DATADIR%%/i18n/lang_it.qm
X%%NLS%%%%DATADIR%%/i18n/lang_pl.qm
X%%NLS%%%%DATADIR%%/i18n/lang_tr.qm
X%%NLS%%@dirrm %%DATADIR%%/i18n
X%%NLS%%@dirrm %%DATADIR%%
X%%PORTDOCS%%@dirrm %%DOCSDIR%%/html/images
X%%PORTDOCS%%@dirrm %%DOCSDIR%%/html
X%%PORTDOCS%%@dirrm %%DOCSDIR%%
X@dirrmtry share/applications
END-of-qtpfsgui/pkg-plist
echo x - qtpfsgui/files/patch-project.pro
sed 's/^X//' >qtpfsgui/files/patch-project.pro << 'END-of-qtpfsgui/files/patch-project.pro'
X--- project.pro.orig	2007-07-14 19:44:28.000000000 +0800
X+++ project.pro	2007-07-28 13:21:36.000000000 +0800
X@@ -171,13 +171,13 @@
X menu.files       = qtpfsgui.desktop

X menu.path        = $${PREFIX}/share/applications

X icon.files       = images/qtpfsgui.png

X-icon.path        = $${PREFIX}/share/icons/hicolor/48x48/apps

X-htmls.files      = html

X-htmls.path       = $${PREFIX}/share/qtpfsgui

X+icon.path        = $${PREFIX}/share/pixmaps

X+docs.files      = AUTHORS COPYING Changelog INSTALL NEWS README TODO html

X+docs.path       = $${PREFIX}/share/doc/qtpfsgui

X i18n.files       = i18n/lang_de.qm i18n/lang_es.qm i18n/lang_it.qm i18n/lang_fr.qm i18n/lang_pl.qm i18n/lang_tr.qm

X i18n.path        = $$I18NDIR

X 

X-INSTALLS        += target menu icon htmls i18n

X+INSTALLS        += target menu icon docs i18n

X message ( "" )

X message ("********************************************************************")

X message ("Installation PREFIX=$$PREFIX")

X@@ -191,7 +191,7 @@
X message ("qtpfsgui ==> $$target.path")

X message ("qtpfsgui.desktop ==> $$menu.path")

X message ("qtpfsgui.png ==> $$icon.path")

X-message ("html directory ==> $$htmls.path")

X+message ("doc directory ==> $$docss.path")

X message ("i18n messages ==> $$i18n.path")

X message ("********************************************************************")

X 

END-of-qtpfsgui/files/patch-project.pro
exit
--- qtpfsgui.shar ends here ---


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->suspended 
State-Changed-By: linimon 
State-Changed-When: Sat Jul 28 08:32:27 UTC 2007 
State-Changed-Why:  
From misfiled PR ports/114985: 

Date: Sat, 28 Jul 2007 10:04:00 +0200 
From: Michael Nottebrock <lofi@freebsd.org> 

Yinghong.Liu schrieb: 

> The "qmake,uic,rcc,moc,linguist" of QT4 in this ports are only BUILD_DEPENDS 
> but not RUN_DEPEND. If I define they with QT_COMPONENTS that'll both 
> BUILD_DEPENDS and RUN_DEPEND(see ${PORTSDIR}/Mk/bsd.qt.mk). How should 
> I do to be better? Thanks! 

Wait a few more days - I have an update to bsd.qt.mk in the pipeline 
that will let you specify QT_COMPONENTS as "component", "component_run" 
or "component_build". 

[BUGMEISTER NOTE: there is already a PR for this port in ports/114566.] 

http://www.freebsd.org/cgi/query-pr.cgi?pr=114984 
State-Changed-From-To: suspended->open 
State-Changed-By: miwi 
State-Changed-When: Tue Aug 21 11:19:59 UTC 2007 
State-Changed-Why:  
bsd.qt.mk is already fixed. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=114984 
State-Changed-From-To: open->feedback 
State-Changed-By: edwin 
State-Changed-When: Sun Sep 9 12:03:18 UTC 2007 
State-Changed-Why:  
This port requires fftw3f.4:${PORTSDIR}/math/fftw3-float 
but fftw3-float doesn't provide the necessary include files: 

Project MESSAGE: Detecting fftw3: 
Project MESSAGE: fftw3 devel package not found 

They are installed by math/fftw3. 

Using math/fftw3 compiles fine, so is that change okay? 



Responsible-Changed-From-To: freebsd-ports-bugs->edwin 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Sun Sep 9 12:03:18 UTC 2007 
Responsible-Changed-Why:  
I'll track with submitter. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=114984 
State-Changed-From-To: feedback->open 
State-Changed-By: edwin 
State-Changed-When: Sun Sep 9 12:11:05 UTC 2007 
State-Changed-Why:  


http://www.freebsd.org/cgi/query-pr.cgi?pr=114984 
State-Changed-From-To: open->feedback 
State-Changed-By: edwin 
State-Changed-When: Sun Sep 9 12:11:27 UTC 2007 
State-Changed-Why:  
So it really needs the -float version: 

/usr/bin/ld: cannot find -lfftw3f 
*** Error code 1 

Stop in /var/ports/usr/ports/NEW/qtpfsgui/work/qtpfsgui-1.8.10. 


Installing both of them seems to work, and even might be working 
at runtime... 


http://www.freebsd.org/cgi/query-pr.cgi?pr=114984 
State-Changed-From-To: feedback->closed 
State-Changed-By: edwin 
State-Changed-When: Sun Sep 9 12:13:50 UTC 2007 
State-Changed-Why:  
Committed, thanks! 

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

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/114984: commit references a PR
Date: Sun,  9 Sep 2007 12:15:48 +0000 (UTC)

 edwin       2007-09-09 12:15:35 UTC
 
   FreeBSD ports repository
 
   Modified files:
     graphics             Makefile 
   Added files:
     graphics/qtpfsgui    Makefile distinfo pkg-descr pkg-plist 
     graphics/qtpfsgui/files patch-project.pro 
   Log:
   New port:graphics/qtpfsgui A graphical user interface that provides a workflow for HDR imaging
   
           Qtpfsgui is a graphical user interface (based on trolltech's Qt4)
           that provides a workflow for HDR imaging.
   
           WWW: http://qtpfsgui.sourceforge.net/
   
   PR:             ports/114984
   Submitted by:   Yinghong.Liu <relaxbsd@gmail.com>
   
   Revision  Changes    Path
   1.1099    +1 -0      ports/graphics/Makefile
   1.1       +48 -0     ports/graphics/qtpfsgui/Makefile (new)
   1.1       +3 -0      ports/graphics/qtpfsgui/distinfo (new)
   1.1       +29 -0     ports/graphics/qtpfsgui/files/patch-project.pro (new)
   1.1       +4 -0      ports/graphics/qtpfsgui/pkg-descr (new)
   1.1       +35 -0     ports/graphics/qtpfsgui/pkg-plist (new)
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
