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

This commit is contained in:
Yuri Victorovich 2018-09-06 22:24:02 +00:00
parent fc2206a61e
commit cd27d6a4a4
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=479173
5 changed files with 69 additions and 0 deletions

View file

@ -1126,6 +1126,7 @@
SUBDIR += volpack
SUBDIR += vp
SUBDIR += vulkan-loader
SUBDIR += vv
SUBDIR += waffle
SUBDIR += waifu2x-converter-cpp
SUBDIR += wayland

37
graphics/vv/Makefile Normal file
View file

@ -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>

3
graphics/vv/distinfo Normal file
View file

@ -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

View file

@ -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)

9
graphics/vv/pkg-descr Normal file
View file

@ -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/