[kde-freebsd] New port:graphics/qtpfsgui A graphical user interface that provides a workflow for HDR imaging

Yinghong.Liu relaxbsd at gmail.com
Sat Jul 28 07:57:32 CEST 2007


>Submitter-Id:	current-users
>Originator:	Yinghong.Liu
>Organization:	
>Confidential:	no 
>Synopsis:	New port:graphics/qtpfsgui A graphical user interface that provides a workflow for HDR imaging
>Severity:	non-critical
>Priority:	low
>Category:	ports
>Class:		change-request
>Release:	FreeBSD 7.0-CURRENT i386
>Environment:
System: FreeBSD relaxbsd.org 7.0-CURRENT FreeBSD 7.0-CURRENT #0: Sun Jun 3 12:43:41 CST 2007 root at 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 at gmail.com>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	qtpfsgui
XDISTVERSION=	1.8.10
XCATEGORIES=	graphics
XMASTER_SITES=	SF
X
XMAINTAINER=	relaxbsd at 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 at 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 ---




More information about the kde-freebsd mailing list