Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 8 May 2013 14:09:32 +0000 (UTC)
From:      Pietro Cerutti <gahr@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r317661 - in head/cad/meshlab: . files
Message-ID:  <201305081409.r48E9WMT032777@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: gahr
Date: Wed May  8 14:09:31 2013
New Revision: 317661
URL: http://svnweb.freebsd.org/changeset/ports/317661

Log:
  - Update to 1.3.2
    Release notes:
    http://sf.net/apps/mediawiki/meshlab/index.php?title=Release_Notes_1.3.2
  - Unbreak

Added:
  head/cad/meshlab/files/patch-common_common.pro   (contents, props changed)
Deleted:
  head/cad/meshlab/files/patch-fgt-filter_ssynth_ssynthres.qrc
  head/cad/meshlab/files/patch-meshlab_full.pro
  head/cad/meshlab/files/patch-meshlab_meshlab.qrc
  head/cad/meshlab/files/patch-meshlablugins-radianceScalingRenderer.qrc
Modified:
  head/cad/meshlab/Makefile
  head/cad/meshlab/distinfo   (contents, props changed)
  head/cad/meshlab/files/patch-common_pluginmanager.cpp   (contents, props changed)
  head/cad/meshlab/files/patch-glu   (contents, props changed)
  head/cad/meshlab/files/patch-meshlab_meshlab.pro   (contents, props changed)
  head/cad/meshlab/files/patch-meshlabserver_meshlabserver.pro   (contents, props changed)
  head/cad/meshlab/pkg-plist   (contents, props changed)

Modified: head/cad/meshlab/Makefile
==============================================================================
--- head/cad/meshlab/Makefile	Wed May  8 12:50:26 2013	(r317660)
+++ head/cad/meshlab/Makefile	Wed May  8 14:09:31 2013	(r317661)
@@ -1,47 +1,41 @@
-# ex: ts=8
-# New ports collection Makefile for:	meshlab
-# Date created:				26 October 2010
-# Whom:					gahr
-#
+# Created by: gahr
 # $FreeBSD$
-#
 
 PORTNAME=	meshlab
-DISTVERSION=	1.3.0
+DISTVERSION=	1.3.2
 CATEGORIES=	cad
-MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/MeshLab%20v${PORTVERSION}/
-DISTNAME=	MeshLabSrc_AllInc_v${PORTVERSION:S/.//g}
-EXTRACT_SUFX=	.tgz
+MASTER_SITES=	${MASTER_SITE_LOCAL}/gahr/ \
+		http://people.freebsd.org/~gahr/distfiles/
 
 MAINTAINER=	gahr@FreeBSD.org
-COMMENT=	A tool for processing and editing 3D triangular meshes
+COMMENT=	3D triangular meshes processing and editing tool
 
+EXTRACT_DEPENDS=7z:${PORTSDIR}/archivers/p7zip
 LIB_DEPENDS=	QtSolutions_SOAP-head:${PORTSDIR}/devel/qt4-qtsolutions-soap
 
-BROKEN=		does not build
-
 USE_GL=		glew glu
-USE_QT4=	qmake corelib gui xml opengl network moc uic rcc script
+USE_QT4=	qmake_build moc_build rcc_build uic_build corelib gui xml \
+		xmlpatterns opengl network script
+USE_DOS2UNIX=	external/structuresynth/ssynth/SyntopiaCore/GLEngine/Object3D.h
 
 USE_LDCONFIG=	yes
 
-WRKSRC=		${WRKDIR}/${PORTNAME}/src
+WRKSRC=		${WRKDIR}/${DISTNAME}/${PORTNAME}/src
 
 post-patch:
-	${FIND} ${WRKSRC} -name "*.pro" | ${XARGS} ${REINPLACE_CMD} -e 's|^linux-g++|freebsd-g++|'
 	${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|' \
 	   ${WRKSRC}/common/pluginmanager.cpp
 
 do-configure:
-	cd ${WRKSRC}/external && ${QMAKE} -recursive external.pro
-	cd ${WRKSRC} && ${QMAKE} -recursive meshlab_full.pro
+	cd ${WRKSRC}/external && ${QMAKE} -spec ${QMAKESPEC} -recursive external.pro
+	cd ${WRKSRC} && ${QMAKE} -spec ${QMAKESPEC} -recursive meshlab_full.pro
 
 do-build:
 	cd ${WRKSRC}/external && ${MAKE}
 	cd ${WRKSRC} && ${MAKE}
 
 do-install:
-	${INSTALL_DATA} ${WRKSRC}/distrib/libcommon.so.1.0.0 ${PREFIX}/lib
+	${INSTALL_DATA} ${WRKSRC}/common/libcommon.so.1.0.0 ${PREFIX}/lib
 	${LN} -sf ${PREFIX}/lib/libcommon.so.1.0.0 ${PREFIX}/lib/libcommon.so.1.0
 	${LN} -sf ${PREFIX}/lib/libcommon.so.1.0 ${PREFIX}/lib/libcommon.so.1
 	${LN} -sf ${PREFIX}/lib/libcommon.so.1 ${PREFIX}/lib/libcommon.so

Modified: head/cad/meshlab/distinfo
==============================================================================
--- head/cad/meshlab/distinfo	Wed May  8 12:50:26 2013	(r317660)
+++ head/cad/meshlab/distinfo	Wed May  8 14:09:31 2013	(r317661)
@@ -1,2 +1,2 @@
-SHA256 (MeshLabSrc_AllInc_v130.tgz) = a1692e52c8d6dbc3ead8b2bcb4585138b65e3f44d1ac97764034b3c4d225a7f9
-SIZE (MeshLabSrc_AllInc_v130.tgz) = 12087620
+SHA256 (meshlab-1.3.2.tar.gz) = 70b2bdcc8001346b5104e8614cefa9ed9cab055fb6adc04352a19b7f9b66bad6
+SIZE (meshlab-1.3.2.tar.gz) = 12774974

Added: head/cad/meshlab/files/patch-common_common.pro
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/cad/meshlab/files/patch-common_common.pro	Wed May  8 14:09:31 2013	(r317661)
@@ -0,0 +1,19 @@
+--- common/common.pro.orig	2013-05-07 10:06:45.000000000 +0200
++++ common/common.pro	2013-05-07 10:09:47.000000000 +0200
+@@ -62,6 +62,9 @@
+ linux-g++-64:CONFIG += dll
+ linux-g++-64:DESTDIR = ../distrib
+ 
++freebsd:CONFIG += dll
++freebsd:DESTDIR = ../distrib
++
+ win32-msvc2005:CONFIG += staticlib
+ win32-msvc2008:CONFIG += staticlib
+ win32-msvc2010:CONFIG += staticlib
+@@ -124,5 +127,6 @@
+ linux-g++:LIBS		+= -L../external/lib/linux-g++ -ljhead
+ linux-g++-32:LIBS		+= -L../external/lib/linux-g++-32 -ljhead
+ linux-g++-64:LIBS		+= -L../external/lib/linux-g++-64 -ljhead
++freebsd:LIBS		+= -L../external/lib/freebsd -ljhead
+ 	
+ #RESOURCES = common.qrc

Modified: head/cad/meshlab/files/patch-common_pluginmanager.cpp
==============================================================================
--- head/cad/meshlab/files/patch-common_pluginmanager.cpp	Wed May  8 12:50:26 2013	(r317660)
+++ head/cad/meshlab/files/patch-common_pluginmanager.cpp	Wed May  8 14:09:31 2013	(r317661)
@@ -1,14 +1,14 @@
---- common/pluginmanager.cpp.orig	2011-02-07 14:11:51.000000000 +0100
-+++ common/pluginmanager.cpp	2011-02-07 14:12:33.000000000 +0100
-@@ -98,7 +98,11 @@
+--- common/pluginmanager.cpp.orig	2012-11-07 11:15:44.000000000 +0100
++++ common/pluginmanager.cpp	2012-11-07 11:16:26.000000000 +0100
+@@ -230,7 +230,11 @@
  
  QString PluginManager::getPluginDirPath()
  {
 +#ifdef __FreeBSD__
-+	QDir pluginsDir("%%PREFIX%%/lib/meshlab/");
++  QDir pluginsDir("%%PREFIX%%/lib/meshlab/");
 +#else
- 	QDir pluginsDir(getBaseDirPath());
+   QDir pluginsDir(getBaseDirPath());
 +#endif
- 	if(!pluginsDir.exists("plugins"))
- 		//QMessageBox::warning(0,"Meshlab Initialization","Serious error. Unable to find the plugins directory.");
- 		qDebug("Meshlab Initialization: Serious error. Unable to find the plugins directory.");
+   if(!pluginsDir.exists("plugins"))
+     //QMessageBox::warning(0,"Meshlab Initialization","Serious error. Unable to find the plugins directory.");
+     qDebug("Meshlab Initialization: Serious error. Unable to find the plugins directory.");

Modified: head/cad/meshlab/files/patch-glu
==============================================================================
--- head/cad/meshlab/files/patch-glu	Wed May  8 12:50:26 2013	(r317660)
+++ head/cad/meshlab/files/patch-glu	Wed May  8 14:09:31 2013	(r317661)
@@ -1,10 +1,10 @@
 --- external/structuresynth/ssynth/SyntopiaCore/GLEngine/Object3D.h.orig	2012-06-20 18:04:43.000000000 +0200
 +++ external/structuresynth/ssynth/SyntopiaCore/GLEngine/Object3D.h	2012-06-20 18:05:23.000000000 +0200
 @@ -3,6 +3,7 @@
- #include "SyntopiaCore/Math/Vector3.h"
- #include <QGLWidget>
- #include <QtOpenGL>
-+#include <GL/glu.h>
- 
- namespace SyntopiaCore {
- 	namespace GLEngine {	
+ #include "SyntopiaCore/Math/Vector3.h"
+ #include <QGLWidget>
+ #include <QtOpenGL>
++#include <GL/glu.h>
+ 
+ namespace SyntopiaCore {
+ 	namespace GLEngine {	

Modified: head/cad/meshlab/files/patch-meshlab_meshlab.pro
==============================================================================
--- head/cad/meshlab/files/patch-meshlab_meshlab.pro	Wed May  8 12:50:26 2013	(r317660)
+++ head/cad/meshlab/files/patch-meshlab_meshlab.pro	Wed May  8 14:09:31 2013	(r317661)
@@ -1,28 +1,12 @@
---- meshlab/meshlab.pro.orig	2011-02-15 10:39:47.000000000 +0100
-+++ meshlab/meshlab.pro	2012-06-21 09:13:21.000000000 +0200
-@@ -1,3 +1,6 @@
-+# Qt 4.8 does not add -lGLU automatically with QT=opengl anymore
-+LIBS += -lGLU
-+
- VCGDIR = ../../../vcglib
- GLEWDIR = ../external/glew-1.5.1
- #CONFIG += debug_and_release
-@@ -128,12 +131,12 @@
- #	win32-g++:release:LIBS 			+= -L../common/release -lcommon
- #}
- 
--linux-g++:LIBS += -L../distrib -lcommon
--linux-g++:QMAKE_RPATHDIR += ../distrib
--linux-g++-32:LIBS += -L../distrib -lcommon
--linux-g++-32:QMAKE_RPATHDIR += ../distrib
--linux-g++-64:LIBS += -L../distrib -lcommon
--linux-g++-64:QMAKE_RPATHDIR += ../distrib
-+freebsd-g++:LIBS += $$PWD/../distrib/libcommon.so
-+freebsd-g++:QMAKE_RPATHDIR += ../distrib
-+freebsd-g++-32:LIBS += $PWD/../distrib/libcommon.so
-+freebsd-g++-32:QMAKE_RPATHDIR += ../distrib
-+freebsd-g++-64:LIBS += $PWD/../distrib/libcommon.so
-+freebsd-g++-64:QMAKE_RPATHDIR += ../distrib
- 
+--- meshlab/meshlab.pro.orig	2012-05-30 16:32:44.000000000 +0200
++++ meshlab/meshlab.pro	2013-05-08 10:34:55.000000000 +0200
+@@ -136,6 +136,9 @@
+ linux-g++-64:LIBS += -L../external/lib/linux-g++-64 -L../distrib -lcommon -lGLU
+ linux-g++-64:QMAKE_RPATHDIR += ../distrib
  
++LIBS += -L../external/jhead-2.95 -L../common -lcommon -lGLU -ljhead
++QMAKE_RPATHDIR += ../distrib
++
  # uncomment in your local copy only in emergency cases.
+ # We should never be too permissive
+ # win32-g++:QMAKE_CXXFLAGS += -fpermissive

Modified: head/cad/meshlab/files/patch-meshlabserver_meshlabserver.pro
==============================================================================
--- head/cad/meshlab/files/patch-meshlabserver_meshlabserver.pro	Wed May  8 12:50:26 2013	(r317660)
+++ head/cad/meshlab/files/patch-meshlabserver_meshlabserver.pro	Wed May  8 14:09:31 2013	(r317661)
@@ -1,21 +1,11 @@
---- meshlabserver/meshlabserver.pro.bak	2011-01-25 08:49:46.000000000 +0100
-+++ meshlabserver/meshlabserver.pro	2012-06-21 09:29:05.000000000 +0200
-@@ -25,12 +25,12 @@
- win32-msvc2008:  LIBS += -L../distrib -lcommon
- win32-msvc2010:  LIBS += -L../distrib -lcommon
- win32-g++:  LIBS += -L../distrib -lcommon
--linux-g++:  LIBS += -L../distrib -lcommon
--linux-g++:QMAKE_RPATHDIR += ../distrib
--linux-g++-32:  LIBS += -L../distrib -lcommon
--linux-g++-32:QMAKE_RPATHDIR += ../distrib
--linux-g++-64:  LIBS += -L../distrib -lcommon
--linux-g++-64:QMAKE_RPATHDIR += ../distrib
-+freebsd-g++:  LIBS += $$PWD/../distrib/libcommon.so
-+freebsd-g++:QMAKE_RPATHDIR += ../distrib
-+freebsd-g++-32:  LIBS += $$PWD/../distrib/libcommon.so
-+freebsd-g++-32:QMAKE_RPATHDIR += ../distrib
-+freebsd-g++-64:  LIBS += $$PWD/../distrib/libcommon.so
-+freebsd-g++-64:QMAKE_RPATHDIR += ../distrib
+--- meshlabserver/meshlabserver.pro.orig	2011-10-14 18:34:48.000000000 +0200
++++ meshlabserver/meshlabserver.pro	2013-05-08 10:36:08.000000000 +0200
+@@ -31,6 +31,8 @@
+ linux-g++-32:QMAKE_RPATHDIR += ../distrib
+ linux-g++-64:  LIBS += -L../distrib -lcommon
+ linux-g++-64:QMAKE_RPATHDIR += ../distrib
++LIBS += -L../common -lcommon -L../external/jhead-2.95 -ljhead
++QMAKE_RPATHDIR += ../distrib
  #CONFIG (release,debug | release) {
  #	win32-msvc2005:release:  LIBS += -L../common/release -lcommon
  #	win32-msvc2008:release:  LIBS += -L../common/release -lcommon

Modified: head/cad/meshlab/pkg-plist
==============================================================================
--- head/cad/meshlab/pkg-plist	Wed May  8 12:50:26 2013	(r317660)
+++ head/cad/meshlab/pkg-plist	Wed May  8 14:09:31 2013	(r317661)
@@ -6,38 +6,47 @@ lib/libcommon.so
 lib/meshlab/meshlab
 lib/meshlab/plugins/libdecorate_background.so
 lib/meshlab/plugins/libdecorate_base.so
+lib/meshlab/plugins/libdecorate_raster_proj.so
 lib/meshlab/plugins/libdecorate_shadow.so
+lib/meshlab/plugins/libedit_align.so
+lib/meshlab/plugins/libedit_arc3D.so
 lib/meshlab/plugins/libedit_hole.so
+lib/meshlab/plugins/libedit_manipulators.so
+lib/meshlab/plugins/libedit_measure.so
+lib/meshlab/plugins/libedit_paint.so
 lib/meshlab/plugins/libedit_pickpoints.so
+lib/meshlab/plugins/libedit_point.so
 lib/meshlab/plugins/libedit_quality.so
 lib/meshlab/plugins/libedit_select.so
 lib/meshlab/plugins/libedit_texture.so
-lib/meshlab/plugins/libeditalign.so
-lib/meshlab/plugins/libeditmeasure.so
-lib/meshlab/plugins/libeditpaint.so
 lib/meshlab/plugins/libfilter_aging.so
 lib/meshlab/plugins/libfilter_ao.so
 lib/meshlab/plugins/libfilter_autoalign.so
+lib/meshlab/plugins/libfilter_bnpts.so
 lib/meshlab/plugins/libfilter_camera.so
 lib/meshlab/plugins/libfilter_clean.so
+lib/meshlab/plugins/libfilter_color_projection.so
 lib/meshlab/plugins/libfilter_colorize.so
 lib/meshlab/plugins/libfilter_colorproc.so
 lib/meshlab/plugins/libfilter_create.so
+lib/meshlab/plugins/libfilter_dirt.so
 lib/meshlab/plugins/libfilter_fractal.so
 lib/meshlab/plugins/libfilter_func.so
+lib/meshlab/plugins/libfilter_img_patch_param.so
 lib/meshlab/plugins/libfilter_isoparametrization.so
 lib/meshlab/plugins/libfilter_layer.so
 lib/meshlab/plugins/libfilter_measure.so
 lib/meshlab/plugins/libfilter_meshing.so
 lib/meshlab/plugins/libfilter_mls.so
+lib/meshlab/plugins/libfilter_mutualinfo.so
 lib/meshlab/plugins/libfilter_photosynth.so
 lib/meshlab/plugins/libfilter_plymc.so
 lib/meshlab/plugins/libfilter_poisson.so
 lib/meshlab/plugins/libfilter_qhull.so
 lib/meshlab/plugins/libfilter_quality.so
 lib/meshlab/plugins/libfilter_sampling.so
+lib/meshlab/plugins/libfilter_sdfgpu.so
 lib/meshlab/plugins/libfilter_select.so
-lib/meshlab/plugins/libfilter_slice.so
 lib/meshlab/plugins/libfilter_ssynth.so
 lib/meshlab/plugins/libfilter_texture.so
 lib/meshlab/plugins/libfilter_trioptimize.so
@@ -49,7 +58,7 @@ lib/meshlab/plugins/libio_3ds.so
 lib/meshlab/plugins/libio_base.so
 lib/meshlab/plugins/libio_bre.so
 lib/meshlab/plugins/libio_collada.so
-lib/meshlab/plugins/libio_epoch.so
+lib/meshlab/plugins/libio_ctm.so
 lib/meshlab/plugins/libio_expe.so
 lib/meshlab/plugins/libio_gts.so
 lib/meshlab/plugins/libio_json.so



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201305081409.r48E9WMT032777>