ports/134287: Update port: graphics/qtpfsgui to 1.9.3

KATO Tsuguru tkato432 at yahoo.com
Wed May 6 18:10:05 UTC 2009


>Number:         134287
>Category:       ports
>Synopsis:       Update port: graphics/qtpfsgui to 1.9.3
>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 May 06 18:10:04 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 7.1-RELEASE-p5 i386
>Organization:
>Environment:
>Description:
- Update to version 1.9.3

Remove file:
files/patch-project.pro
files/patch-src__TM_operators__mantiuk06__contrast_domain.cpp

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/graphics/qtpfsgui/Makefile graphics/qtpfsgui/Makefile
--- /usr/ports/graphics/qtpfsgui/Makefile	2009-03-12 14:05:50.000000000 +0900
+++ graphics/qtpfsgui/Makefile	2009-05-06 06:06:29.000000000 +0900
@@ -6,8 +6,7 @@
 #
 
 PORTNAME=	qtpfsgui
-PORTVERSION=	1.9.2
-PORTREVISION=	2
+PORTVERSION=	1.9.3
 CATEGORIES=	graphics
 MASTER_SITES=	SF
 
@@ -15,16 +14,16 @@
 COMMENT=	A graphical user interface that provides a workflow for HDR imaging
 
 BUILD_DEPENDS=	${LOCALBASE}/include/fftw3.h:${PORTSDIR}/math/fftw3
-LIB_DEPENDS=	exiv2:${PORTSDIR}/graphics/exiv2 \
-		jpeg:${PORTSDIR}/graphics/jpeg \
-		IlmImf:${PORTSDIR}/graphics/OpenEXR \
-		tiff:${PORTSDIR}/graphics/tiff \
-		fftw3f:${PORTSDIR}/math/fftw3-float
+LIB_DEPENDS=	exiv2.7:${PORTSDIR}/graphics/exiv2 \
+		jpeg.9:${PORTSDIR}/graphics/jpeg \
+		IlmImf.6:${PORTSDIR}/graphics/OpenEXR \
+		tiff.4:${PORTSDIR}/graphics/tiff \
+		fftw3f.4:${PORTSDIR}/math/fftw3-float
 
 USE_QT_VER=	4
 QT_COMPONENTS=	corelib gui imageformats \
 		linguist_build moc_build qmake_build rcc_build uic_build
-ALL_TARGET=	-j`${SYSCTL} -n hw.ncpu`
+MAKE_JOBS_SAFE=	yes
 INSTALL_TARGET=	install_target install_menu install_icon install_i18n
 INSTALLS_ICONS=	yes
 
@@ -40,24 +39,33 @@
 .for file in src/MainWindow/mainWindow.cpp \
 	src/Preferences/preferencesDialog.cpp \
 	src/TransplantExif/transplant.cpp
-	@${REINPLACE_CMD} -e 's|/usr/local/share/qtpfsgui/|${DOCSDIR}/|g' \
-		${WRKSRC}/${file}
+	@${REINPLACE_CMD} -e 's|/usr/share/qtpfsgui|${DOCSDIR}|g ; \
+		 s|/usr/local/share/qtpfsgui|${DATADIR}|g' ${WRKSRC}/${file}
 .endfor
 
 do-configure:
 	@${LRELEASE} ${WRKSRC}/project.pro
 	@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${QMAKE} -spec ${QMAKESPEC}
 
-post-install:
-	@${STRIP_CMD} ${PREFIX}/bin/qtpfsgui
-	${INSTALL} -d ${PREFIX}/share/icons/hicolor/48x48/apps
-	@${LN} -sf ${PREFIX}/share/pixmaps/qtpfsgui.png \
-		${PREFIX}/share/icons/hicolor/48x48/apps/qtpfsgui.png
+do-install:
+	${INSTALL_PROGRAM} ${WRKSRC}/qtpfsgui ${PREFIX}/bin
+	@${MKDIR} ${PREFIX}/share/applications
+	${INSTALL_DATA} ${WRKSRC}/qtpfsgui.desktop ${PREFIX}/share/applications
+	@${MKDIR} ${PREFIX}/share/icons/hicolor/32x32/apps
+	${INSTALL_DATA} ${WRKSRC}/images/qtpfsgui.png \
+		${PREFIX}/share/icons/hicolor/32x32/apps
+	@${LN} -sf ${PREFIX}/share/icons/hicolor/32x32/apps/qtpfsgui.png \
+		${PREFIX}/share/pixmaps/qtpfsgui.png
+	@${MKDIR} ${DATADIR}
+	${INSTALL_DATA} ${WRKSRC}/LICENSE ${DATADIR}
+	@${MKDIR} ${DATADIR}/i18n
+	${INSTALL_DATA} ${WRKSRC}/i18n/*.qm ${DATADIR}/i18n
 .if !defined(NOPORTDOCS)
 	@${MKDIR} ${DOCSDIR}
 .for doc_file in AUTHORS Changelog README TODO
 	${INSTALL_DATA} ${WRKSRC}/${doc_file} ${DOCSDIR}
 .endfor
+	@(cd ${WRKSRC}; ${COPYTREE_SHARE} html ${DOCSDIR})
 .endif
 
 .include <bsd.port.mk>
diff -urN /usr/ports/graphics/qtpfsgui/distinfo graphics/qtpfsgui/distinfo
--- /usr/ports/graphics/qtpfsgui/distinfo	2008-07-05 04:25:00.000000000 +0900
+++ graphics/qtpfsgui/distinfo	2009-05-05 14:59:30.000000000 +0900
@@ -1,3 +1,3 @@
-MD5 (qtpfsgui-1.9.2.tar.gz) = 8a037c1dc75f04752dc36a59e7237fc4
-SHA256 (qtpfsgui-1.9.2.tar.gz) = 4462ec3ea8cf17db7b1ebe624d378bf4e239b80e0de2b2c6bbdf8c00cce16c8e
-SIZE (qtpfsgui-1.9.2.tar.gz) = 1181880
+MD5 (qtpfsgui-1.9.3.tar.gz) = 5a6421391e373c912e4a793e131151c8
+SHA256 (qtpfsgui-1.9.3.tar.gz) = 016aaa339ede405bfa55d531069bd64f45fd6139836b6ea9b4d655e2734b8fd6
+SIZE (qtpfsgui-1.9.3.tar.gz) = 1356731
diff -urN /usr/ports/graphics/qtpfsgui/files/patch-project.pro graphics/qtpfsgui/files/patch-project.pro
--- /usr/ports/graphics/qtpfsgui/files/patch-project.pro	2008-03-18 15:27:07.000000000 +0900
+++ graphics/qtpfsgui/files/patch-project.pro	1970-01-01 09:00:00.000000000 +0900
@@ -1,28 +0,0 @@
---- project.pro.orig	2008-02-16 11:43:24.000000000 +0100
-+++ project.pro	2008-03-17 17:18:14.000000000 +0100
-@@ -298,13 +298,13 @@
- menu.files       = qtpfsgui.desktop
- menu.path        = $${PREFIX}/share/applications
- icon.files       = images/qtpfsgui.png
--icon.path        = $${PREFIX}/share/icons/hicolor/48x48/apps
-+icon.path        = $${PREFIX}/share/pixmaps
- htmls.files      = html
--htmls.path       = $${PREFIX}/share/qtpfsgui
-+htmls.path       = $${PREFIX}/share/doc/qtpfsgui
- 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 i18n/lang_ru.qm i18n/lang_cs.qm
- i18n.path        = $$I18NDIR
- docs.files       = README LICENSE AUTHORS INSTALL Changelog
--docs.path        = $${PREFIX}/share/qtpfsgui
-+docs.path        = $${PREFIX}/share/doc/qtpfsgui
- 
- INSTALLS        += target menu icon htmls i18n docs
- message ( "" )
-@@ -320,7 +320,7 @@
- message ("qtpfsgui         ==> $$target.path")
- message ("qtpfsgui.desktop ==> $$menu.path")
- message ("qtpfsgui.png     ==> $$icon.path")
--message ("html and docs    ==> $$htmls.path")
-+message ("html             ==> $$docs.path")
- message ("i18n messages    ==> $$i18n.path")
- message ("********************************************************************")
- 
diff -urN /usr/ports/graphics/qtpfsgui/files/patch-src__TM_operators__mantiuk06__contrast_domain.cpp graphics/qtpfsgui/files/patch-src__TM_operators__mantiuk06__contrast_domain.cpp
--- /usr/ports/graphics/qtpfsgui/files/patch-src__TM_operators__mantiuk06__contrast_domain.cpp	2008-07-05 03:51:09.000000000 +0900
+++ graphics/qtpfsgui/files/patch-src__TM_operators__mantiuk06__contrast_domain.cpp	1970-01-01 09:00:00.000000000 +0900
@@ -1,13 +0,0 @@
---- src/TM_operators/mantiuk06/contrast_domain.cpp.orig	2008-04-28 18:15:22.000000000 +0200
-+++ src/TM_operators/mantiuk06/contrast_domain.cpp	2008-07-04 12:49:16.000000000 +0200
-@@ -41,8 +41,8 @@
- #include <string.h>
- #include <math.h>
- 
--#ifdef WIN32
--#define exp10f( x ) exp( x * log (10))
-+#if defined(WIN32) || defined(__FreeBSD__)
-+#define exp10f(x) exp( (x) * log (10))
- #endif
- 
- #include "contrast_domain.h"
diff -urN /usr/ports/graphics/qtpfsgui/pkg-plist graphics/qtpfsgui/pkg-plist
--- /usr/ports/graphics/qtpfsgui/pkg-plist	2008-07-05 15:20:06.000000000 +0900
+++ graphics/qtpfsgui/pkg-plist	2009-05-06 06:05:21.000000000 +0900
@@ -1,41 +1,44 @@
 bin/qtpfsgui
 share/applications/qtpfsgui.desktop
 share/pixmaps/qtpfsgui.png
-share/icons/hicolor/48x48/apps/qtpfsgui.png
+share/icons/hicolor/32x32/apps/qtpfsgui.png
 %%PORTDOCS%%%%DOCSDIR%%/AUTHORS
 %%PORTDOCS%%%%DOCSDIR%%/Changelog
 %%PORTDOCS%%%%DOCSDIR%%/README
 %%PORTDOCS%%%%DOCSDIR%%/TODO
-%%DOCSDIR%%/html/dcraw.html
-%%DOCSDIR%%/html/faq.html
-%%DOCSDIR%%/html/hints.html
-%%DOCSDIR%%/html/images/batch-1.jpg
-%%DOCSDIR%%/html/images/copy_exif.jpeg
-%%DOCSDIR%%/html/images/mainwin.jpeg
-%%DOCSDIR%%/html/images/projectiveTransformationDialog.jpeg
-%%DOCSDIR%%/html/images/raw_conversion.jpg
-%%DOCSDIR%%/html/images/resize.jpeg
-%%DOCSDIR%%/html/images/snap-qt4_4.jpeg
-%%DOCSDIR%%/html/images/snap-qt4_5.jpeg
-%%DOCSDIR%%/html/images/snap-qt4_6.jpeg
-%%DOCSDIR%%/html/images/tonemapdialog.jpeg
-%%DOCSDIR%%/html/index.html
-%%DOCSDIR%%/html/manual.html
+%%PORTDOCS%%%%DOCSDIR%%/html/dcraw.html
+%%PORTDOCS%%%%DOCSDIR%%/html/faq.html
+%%PORTDOCS%%%%DOCSDIR%%/html/hints.html
+%%PORTDOCS%%%%DOCSDIR%%/html/images/batch-1.jpg
+%%PORTDOCS%%%%DOCSDIR%%/html/images/copy_exif.jpeg
+%%PORTDOCS%%%%DOCSDIR%%/html/images/mainwin.jpeg
+%%PORTDOCS%%%%DOCSDIR%%/html/images/projectiveTransformationDialog.jpeg
+%%PORTDOCS%%%%DOCSDIR%%/html/images/raw_conversion.jpg
+%%PORTDOCS%%%%DOCSDIR%%/html/images/resize.jpeg
+%%PORTDOCS%%%%DOCSDIR%%/html/images/snap-qt4_4.jpeg
+%%PORTDOCS%%%%DOCSDIR%%/html/images/snap-qt4_5.jpeg
+%%PORTDOCS%%%%DOCSDIR%%/html/images/snap-qt4_6.jpeg
+%%PORTDOCS%%%%DOCSDIR%%/html/images/tonemapdialog.jpeg
+%%PORTDOCS%%%%DOCSDIR%%/html/index.html
+%%PORTDOCS%%%%DOCSDIR%%/html/manual.html
+%%DATADIR%%/LICENSE
 %%DATADIR%%/i18n/lang_cs.qm
 %%DATADIR%%/i18n/lang_de.qm
 %%DATADIR%%/i18n/lang_es.qm
 %%DATADIR%%/i18n/lang_fr.qm
+%%DATADIR%%/i18n/lang_hu.qm
+%%DATADIR%%/i18n/lang_id.qm
 %%DATADIR%%/i18n/lang_it.qm
 %%DATADIR%%/i18n/lang_pl.qm
 %%DATADIR%%/i18n/lang_ru.qm
 %%DATADIR%%/i18n/lang_tr.qm
 @dirrm %%DATADIR%%/i18n
 @dirrm %%DATADIR%%
- at dirrmtry share/icons/hicolor/48x48/apps
- at dirrmtry share/icons/hicolor/48x48
+ at dirrmtry share/icons/hicolor/32x32/apps
+ at dirrmtry share/icons/hicolor/32x32
 @dirrmtry share/icons/hicolor
 @dirrmtry share/icons
- at dirrm %%DOCSDIR%%/html/images
- at dirrm %%DOCSDIR%%/html
- at dirrm %%DOCSDIR%%
+%%PORTDOCS%%@dirrm %%DOCSDIR%%/html/images
+%%PORTDOCS%%@dirrm %%DOCSDIR%%/html
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
 @dirrmtry share/applications
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list