Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Sep 2018 22:24:02 +0000 (UTC)
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r479173 - in head/graphics: . vv vv/files
Message-ID:  <201809062224.w86MO2t2067981@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: yuri
Date: Thu Sep  6 22:24:02 2018
New Revision: 479173
URL: https://svnweb.freebsd.org/changeset/ports/479173

Log:
  New port: graphics/vv: Fast and simple 4D image viewer

Added:
  head/graphics/vv/
  head/graphics/vv/Makefile   (contents, props changed)
  head/graphics/vv/distinfo   (contents, props changed)
  head/graphics/vv/files/
  head/graphics/vv/files/patch-registration_CMakeLists.txt   (contents, props changed)
  head/graphics/vv/pkg-descr   (contents, props changed)
Modified:
  head/graphics/Makefile

Modified: head/graphics/Makefile
==============================================================================
--- head/graphics/Makefile	Thu Sep  6 22:18:27 2018	(r479172)
+++ head/graphics/Makefile	Thu Sep  6 22:24:02 2018	(r479173)
@@ -1126,6 +1126,7 @@
     SUBDIR += volpack
     SUBDIR += vp
     SUBDIR += vulkan-loader
+    SUBDIR += vv
     SUBDIR += waffle
     SUBDIR += waifu2x-converter-cpp
     SUBDIR += wayland

Added: head/graphics/vv/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/graphics/vv/Makefile	Thu Sep  6 22:24:02 2018	(r479173)
@@ -0,0 +1,37 @@
+# $FreeBSD$
+
+PORTNAME=	vv
+DISTVERSIONPREFIX=	v
+DISTVERSION=	1.4.0-271
+DISTVERSIONSUFFIX=	-g24b75af3
+CATEGORIES=	graphics
+
+MAINTAINER=	yuri@FreeBSD.org
+COMMENT=	Fast and simple 4D image viewer
+
+LICENSE=	BSD3CLAUSE
+LICENSE_FILE=	${WRKSRC}/LICENSE.txt
+
+LIB_DEPENDS=	libexpat.so:textproc/expat2 \
+		libfreetype.so:print/freetype2 \
+		libgdcmCommon.so:devel/gdcm \
+		libhdf5_cpp.so:science/hdf5 \
+		libITKLabelMap-4.13.so:science/InsightToolkit \
+		libpng16.so:graphics/png \
+		libsz.so:science/szip \
+		libtiff.so:graphics/tiff \
+		libvtkIOSQL-8.1.so:math/vtk8
+
+USES=		cmake:outsource compiler:c++11-lang jpeg qt:5
+USE_GITHUB=	yes
+GH_ACCOUNT=	open-vv
+USE_QT=		core designer gui network sql widgets xml buildtools_build qmake_build
+USE_XORG=	ice sm x11 xext xt
+USE_CXXSTD=	c++11
+
+PLIST_FILES=	bin/vv
+
+post-configure: # need to investigate where these strings come from
+	@${REINPLACE_CMD} 's| -lGTest::GTest -lGTest::Main | |' ${BUILD_WRKSRC}/build.ninja
+
+.include <bsd.port.mk>

Added: head/graphics/vv/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/graphics/vv/distinfo	Thu Sep  6 22:24:02 2018	(r479173)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1536257892
+SHA256 (open-vv-vv-v1.4.0-271-g24b75af3_GH0.tar.gz) = 8f5b3ab357870a4c14913ef45cc318a776865b75dd18627468ba36986793d9e8
+SIZE (open-vv-vv-v1.4.0-271-g24b75af3_GH0.tar.gz) = 4837976

Added: head/graphics/vv/files/patch-registration_CMakeLists.txt
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/graphics/vv/files/patch-registration_CMakeLists.txt	Thu Sep  6 22:24:02 2018	(r479173)
@@ -0,0 +1,19 @@
+workaround for https://github.com/open-vv/vv/issues/65
+
+--- registration/CMakeLists.txt.orig	2018-09-06 21:47:05 UTC
++++ registration/CMakeLists.txt
+@@ -1,5 +1,6 @@
+ #=========================================================
+ 
++if(CLITK_BUILD_REGISTRATION)
+ # Add Libraries used in vv and clitk to avoid recompilation
+ WRAP_GGO(clitkAffineRegistration_GGO_C clitkAffineRegistration.ggo)
+ add_library(clitkAffineRegistrationLib
+@@ -10,7 +11,6 @@ add_library(clitkAffineRegistrationLib
+ 
+ #=========================================================
+ 
+-if(CLITK_BUILD_REGISTRATION)
+     ############################## registration algorithms
+     add_executable(clitkAffineRegistration clitkAffineRegistration.cxx)
+     target_link_libraries(clitkAffineRegistration  clitkAffineRegistrationLib clitkCommon)

Added: head/graphics/vv/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/graphics/vv/pkg-descr	Thu Sep  6 22:24:02 2018	(r479173)
@@ -0,0 +1,9 @@
+Open-source and cross platform image viewer, designed for fast and simple
+visualization of spatio-temporal images: 2D, 2D+t, 3D and 3D+t (or 4D) images.
+
+VV is designed for qualitative evaluation of image registration and deformation
+field visualization. It contains several tools for superimposing images using
+complementary colors or transparency, visualizing vector fields and defining
+landmarks.
+
+WWW: https://www.creatis.insa-lyon.fr/rio/vv/



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