[Midnightbsd-cvs] mports [20505] trunk/graphics: add vigra
laffer1 at midnightbsd.org
laffer1 at midnightbsd.org
Sat Oct 10 16:08:45 EDT 2015
Revision: 20505
http://svnweb.midnightbsd.org/mports/?rev=20505
Author: laffer1
Date: 2015-10-10 16:08:45 -0400 (Sat, 10 Oct 2015)
Log Message:
-----------
add vigra
Modified Paths:
--------------
trunk/graphics/Makefile
Added Paths:
-----------
trunk/graphics/vigra/
trunk/graphics/vigra/Makefile
trunk/graphics/vigra/distinfo
trunk/graphics/vigra/files/
trunk/graphics/vigra/files/patch-include__vigra__mathutil.hxx
trunk/graphics/vigra/pkg-descr
trunk/graphics/vigra/pkg-plist
Modified: trunk/graphics/Makefile
===================================================================
--- trunk/graphics/Makefile 2015-10-10 20:01:31 UTC (rev 20504)
+++ trunk/graphics/Makefile 2015-10-10 20:08:45 UTC (rev 20505)
@@ -179,6 +179,7 @@
SUBDIR += svgalib
SUBDIR += svgviewer
SUBDIR += tiff
+SUBDIR += vigra
SUBDIR += vindaloo
SUBDIR += webp
SUBDIR += wmicons
Added: trunk/graphics/vigra/Makefile
===================================================================
--- trunk/graphics/vigra/Makefile (rev 0)
+++ trunk/graphics/vigra/Makefile 2015-10-10 20:08:45 UTC (rev 20505)
@@ -0,0 +1,102 @@
+# Created by: cartola (Carlos E. G. Carvalho)
+# $FreeBSD: head/graphics/vigra/Makefile 390310 2015-06-22 18:33:20Z antoine $
+# $MidnightBSD$
+
+PORTNAME= vigra
+DISTVERSION= 1.10.0
+CATEGORIES= graphics
+
+MAINTAINER= ports at MidnightBSD.org
+COMMENT= VIGRA stands for "Vision with Generic Algorithms"
+
+LICENSE= mit
+
+USE_GITHUB=
+GH_ACCOUNT= ukoethe
+GH_TAGNAME= e6c21f3
+WRKSRC= ${WRKDIR}/${PORTNAME}-${GH_TAGNAME}
+
+USES= cmake
+CMAKE_ARGS= -DDEPENDENCY_SEARCH_PREFIX:PATH=${LOCALBASE} \
+ -DDOCINSTALL:PATH=${DOCSDIR_REL}
+
+USE_LDCONFIG= yes
+
+OPTIONS_DEFINE= HDF5 OPENEXR NUMPY DOCS
+OPTIONS_DEFAULT= HDF5 OPENEXR
+NUMPY_DESC= NumPy mathematical computing (USE Fortran/GCC47+)
+
+.include <bsd.mport.options.mk>
+
+.if ${PORT_OPTIONS:MHDF5}
+CMAKE_ARGS+= -DWITH_HDF5=1
+LIB_DEPENDS+= libhdf5.so:${PORTSDIR}/science/hdf5
+.else
+CMAKE_ARGS+= -DWITH_HDF5=0
+.endif
+
+.if ${PORT_OPTIONS:MOPENEXR}
+CMAKE_ARGS+= -DWITH_OPENEXR=1
+LIB_DEPENDS+= libIlmImf.so:${PORTSDIR}/graphics/OpenEXR
+.else
+CMAKE_ARGS+= -DWITH_OPENEXR=0
+.endif
+
+.if ${PORT_OPTIONS:MNUMPY}
+# Should ignore Python3 since commit f51b0b5
+#CONFLICTS_BUILD= python3*
+CMAKE_ARGS+= -DWITH_VIGRANUMPY=1
+USES+= compiler:gcc-c++11-lib python:2
+BUILD_DEPENDS+= nosetests:${PORTSDIR}/devel/py-nose
+BUILD_DEPENDS+= ${PYTHON_SITELIBDIR}/numpy/core/numeric.py:${PORTSDIR}/math/py-numpy
+#BUILD_DEPENDS+= sphinx-build:${PORTSDIR}/textproc/py-sphinx
+LIB_DEPENDS+= libboost_python.so:${PORTSDIR}/devel/boost-python-libs
+RUN_DEPENDS:= ${BUILD_DEPENDS}
+PLIST_SUB+= PYTHON=""
+.else
+CMAKE_ARGS+= -DWITH_VIGRANUMPY=0
+PLIST_SUB+= PYTHON="@comment "
+.endif
+
+# Vigra's CMakeLists.txt does not support disabling those so we hook them
+# as dependencies here unconditionally (without OPTIONS=) even though if
+# they are not present then Vigra/CMake will do without them (they are not
+# mandatory).
+#
+# Notice that if you define e.g. WITHOUT_VIGRA_TIFF and graphics/tiff is
+# installed on your system, then the lib will be picked up by Vigra, the
+# dependency will not be recorded by the ports system and later deletion
+# of graphics/tiff will break Vigra. Only define WITHOUT_VIGRA_TIFF if you
+# do not have graphics/tiff installed and do not want TIFF support in Vigra.
+
+.if !defined(WITHOUT_VIGRA_TIFF)
+LIB_DEPENDS+= libtiff.so:${PORTSDIR}/graphics/tiff
+.endif
+
+.if !defined(WITHOUT_VIGRA_JPEG)
+USES+= jpeg
+.endif
+
+.if !defined(WITHOUT_VIGRA_PNG)
+LIB_DEPENDS+= libpng.so:${PORTSDIR}/graphics/png
+.endif
+
+.if !defined(WITHOUT_VIGRA_FFTW)
+LIB_DEPENDS+= libfftw3.so:${PORTSDIR}/math/fftw3
+LIB_DEPENDS+= libfftw3f.so:${PORTSDIR}/math/fftw3-float
+.endif
+
+pre-everything::
+.if ${PORT_OPTIONS:MNUMPY}
+ @${ECHO} ""
+ @${ECHO} "* BEWARE!"
+ @${ECHO} "* Using py-NumPY implies Fortran and GCC 4.7+ as hard dependencies"
+ @${ECHO} "* and require all ports, depending on vigra, to set USE_GCC=yes"
+ @${ECHO} ""
+.endif
+
+post-patch:
+# FIXME: This is ugly
+ @${RM} ${WRKSRC}/include/vigra/*.orig
+
+.include <bsd.port.mk>
Property changes on: trunk/graphics/vigra/Makefile
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/graphics/vigra/distinfo
===================================================================
--- trunk/graphics/vigra/distinfo (rev 0)
+++ trunk/graphics/vigra/distinfo 2015-10-10 20:08:45 UTC (rev 20505)
@@ -0,0 +1,2 @@
+SHA256 (vigra-1.10.0_GH0.tar.gz) = 654074d08e46630a05084098779358baf3e4c0ab018ad6f02093823f1395b348
+SIZE (vigra-1.10.0_GH0.tar.gz) = 29184342
Property changes on: trunk/graphics/vigra/distinfo
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/graphics/vigra/files/patch-include__vigra__mathutil.hxx
===================================================================
--- trunk/graphics/vigra/files/patch-include__vigra__mathutil.hxx (rev 0)
+++ trunk/graphics/vigra/files/patch-include__vigra__mathutil.hxx 2015-10-10 20:08:45 UTC (rev 20505)
@@ -0,0 +1,15 @@
+--- include/vigra/mathutil.hxx.orig 2011-09-20 18:38:36.000000000 +0000
++++ include/vigra/mathutil.hxx
+@@ -553,7 +553,12 @@ VIGRA_DEFINE_NORM(int)
+ VIGRA_DEFINE_NORM(unsigned int)
+ VIGRA_DEFINE_NORM(long)
+ VIGRA_DEFINE_NORM(unsigned long)
++#if defined(__FreeBSD__) || defined(__DragonFly__)
++inline NormTraits<long long>::SquaredNormType squaredNorm(long long t) { return sq((long int) t); }
++inline NormTraits<long long>::NormType norm(long long t) { return abs((long int) t); }
++#else
+ VIGRA_DEFINE_NORM(long long)
++#endif
+ VIGRA_DEFINE_NORM(unsigned long long)
+ VIGRA_DEFINE_NORM(float)
+ VIGRA_DEFINE_NORM(double)
Property changes on: trunk/graphics/vigra/files/patch-include__vigra__mathutil.hxx
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/graphics/vigra/pkg-descr
===================================================================
--- trunk/graphics/vigra/pkg-descr (rev 0)
+++ trunk/graphics/vigra/pkg-descr 2015-10-10 20:08:45 UTC (rev 20505)
@@ -0,0 +1,8 @@
+VIGRA stands for "Vision with Generic Algorithms". It's a novel computer
+vision library that puts its main emphasize on customizable algorithms
+and data structures. By using template techniques similar to those in
+the C++ Standard Template Library, you can easily adapt any VIGRA
+component to the needs of your application, without thereby giving up
+execution speed.
+
+WWW: http://hci.iwr.uni-heidelberg.de/vigra/
Property changes on: trunk/graphics/vigra/pkg-descr
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/graphics/vigra/pkg-plist
===================================================================
--- trunk/graphics/vigra/pkg-plist (rev 0)
+++ trunk/graphics/vigra/pkg-plist 2015-10-10 20:08:45 UTC (rev 20505)
@@ -0,0 +1,201 @@
+bin/vigra-config
+include/vigra/accessor.hxx
+include/vigra/accumulator-grammar.hxx
+include/vigra/accumulator.hxx
+include/vigra/affine_registration.hxx
+include/vigra/affinegeometry.hxx
+include/vigra/algorithm.hxx
+include/vigra/array_vector.hxx
+include/vigra/autodiff.hxx
+include/vigra/axistags.hxx
+include/vigra/basicgeometry.hxx
+include/vigra/basicimage.hxx
+include/vigra/basicimageview.hxx
+include/vigra/bessel.hxx
+include/vigra/bit_array.hxx
+include/vigra/bordertreatment.hxx
+include/vigra/boundarytensor.hxx
+include/vigra/box.hxx
+include/vigra/bucket_queue.hxx
+include/vigra/cellconfigurations.hxx
+include/vigra/cellimage.hxx
+include/vigra/clebsch-gordan.hxx
+include/vigra/codec.hxx
+include/vigra/colorconversions.hxx
+include/vigra/combineimages.hxx
+include/vigra/config.hxx
+include/vigra/configVersion.hxx
+include/vigra/contourcirculator.hxx
+include/vigra/convolution.hxx
+include/vigra/coordinate_iterator.hxx
+include/vigra/copyimage.hxx
+include/vigra/cornerdetection.hxx
+include/vigra/diff2d.hxx
+include/vigra/distancetransform.hxx
+include/vigra/edgedetection.hxx
+include/vigra/eigensystem.hxx
+include/vigra/error.hxx
+include/vigra/fftw.hxx
+include/vigra/fftw3.hxx
+include/vigra/fixedpoint.hxx
+include/vigra/flatmorphology.hxx
+include/vigra/functorexpression.hxx
+include/vigra/functortraits.hxx
+include/vigra/gaborfilter.hxx
+include/vigra/gaussians.hxx
+include/vigra/gradient_energy_tensor.hxx
+include/vigra/graphs.hxx
+include/vigra/hdf5impex.hxx
+include/vigra/histogram.hxx
+include/vigra/imagecontainer.hxx
+include/vigra/imageinfo.hxx
+include/vigra/imageiterator.hxx
+include/vigra/imageiteratoradapter.hxx
+include/vigra/impex.hxx
+include/vigra/impexalpha.hxx
+include/vigra/impexbase.hxx
+include/vigra/initimage.hxx
+include/vigra/inspectimage.hxx
+include/vigra/inspector_passes.hxx
+include/vigra/interpolating_accessor.hxx
+include/vigra/invariant_features3D.hxx
+include/vigra/iteratoradapter.hxx
+include/vigra/iteratortags.hxx
+include/vigra/iteratortraits.hxx
+include/vigra/labelimage.hxx
+include/vigra/labelvolume.hxx
+include/vigra/linear_algebra.hxx
+include/vigra/linear_solve.hxx
+include/vigra/localminmax.hxx
+include/vigra/mathutil.hxx
+include/vigra/matlab.hxx
+include/vigra/matlab_FLEXTYPE.hxx
+include/vigra/matrix.hxx
+include/vigra/memory.hxx
+include/vigra/meshgrid.hxx
+include/vigra/metaprogramming.hxx
+include/vigra/multi_array.hxx
+include/vigra/multi_convolution.hxx
+include/vigra/multi_distance.hxx
+include/vigra/multi_fft.hxx
+include/vigra/multi_gridgraph.hxx
+include/vigra/multi_impex.hxx
+include/vigra/multi_iterator.hxx
+include/vigra/multi_iterator_coupled.hxx
+include/vigra/multi_labeling.hxx
+include/vigra/multi_localminmax.hxx
+include/vigra/multi_math.hxx
+include/vigra/multi_morphology.hxx
+include/vigra/multi_opencl.hxx
+include/vigra/multi_pointoperators.hxx
+include/vigra/multi_resize.hxx
+include/vigra/multi_shape.hxx
+include/vigra/multi_tensorutilities.hxx
+include/vigra/multi_watersheds.hxx
+include/vigra/navigator.hxx
+include/vigra/noise_normalization.hxx
+include/vigra/nonlineardiffusion.hxx
+include/vigra/numerictraits.hxx
+include/vigra/numpy_array.hxx
+include/vigra/numpy_array_converters.hxx
+include/vigra/numpy_array_taggedshape.hxx
+include/vigra/numpy_array_traits.hxx
+include/vigra/orientedtensorfilters.hxx
+include/vigra/pixelneighborhood.hxx
+include/vigra/polygon.hxx
+include/vigra/polynomial.hxx
+include/vigra/project2ellipse.hxx
+include/vigra/promote_traits.hxx
+include/vigra/promote_traits.hxx.py
+include/vigra/python_utility.hxx
+include/vigra/quadprog.hxx
+include/vigra/quaternion.hxx
+include/vigra/random.hxx
+include/vigra/random_forest.hxx
+include/vigra/random_forest/features.hxx
+include/vigra/random_forest/rf_algorithm.hxx
+include/vigra/random_forest/rf_common.hxx
+include/vigra/random_forest/rf_decisionTree.hxx
+include/vigra/random_forest/rf_earlystopping.hxx
+include/vigra/random_forest/rf_nodeproxy.hxx
+include/vigra/random_forest/rf_online_prediction_set.hxx
+include/vigra/random_forest/rf_preprocessing.hxx
+include/vigra/random_forest/rf_region.hxx
+include/vigra/random_forest/rf_ridge_split.hxx
+include/vigra/random_forest/rf_split.hxx
+include/vigra/random_forest/rf_visitors.hxx
+include/vigra/random_forest/splices.hxx
+include/vigra/random_forest_deprec.hxx
+include/vigra/random_forest_hdf5_impex.hxx
+include/vigra/rational.hxx
+include/vigra/recursiveconvolution.hxx
+include/vigra/regression.hxx
+include/vigra/resampling_convolution.hxx
+include/vigra/resizeimage.hxx
+include/vigra/rfftw.hxx
+include/vigra/rgbvalue.hxx
+include/vigra/sampling.hxx
+include/vigra/seededregiongrowing.hxx
+include/vigra/seededregiongrowing3d.hxx
+include/vigra/separableconvolution.hxx
+include/vigra/sifImport.hxx
+include/vigra/singular_value_decomposition.hxx
+include/vigra/sized_int.hxx
+include/vigra/slanted_edge_mtf.hxx
+include/vigra/slic.hxx
+include/vigra/splineimageview.hxx
+include/vigra/splines.hxx
+include/vigra/static_assert.hxx
+include/vigra/stdconvolution.hxx
+include/vigra/stdimage.hxx
+include/vigra/stdimagefunctions.hxx
+include/vigra/symmetry.hxx
+include/vigra/tensorutilities.hxx
+include/vigra/tiff.hxx
+include/vigra/timing.hxx
+include/vigra/tinyvector.hxx
+include/vigra/transformimage.hxx
+include/vigra/tuple.hxx
+include/vigra/tv_filter.hxx
+include/vigra/type_lists.hxx
+include/vigra/union_find.hxx
+include/vigra/unittest.hxx
+include/vigra/unsupervised_decomposition.hxx
+include/vigra/utilities.hxx
+include/vigra/voxelneighborhood.hxx
+include/vigra/watersheds.hxx
+include/vigra/watersheds3d.hxx
+include/vigra/wigner-matrix.hxx
+include/vigra/windows.h
+lib/libvigraimpex.so
+lib/libvigraimpex.so.5
+lib/libvigraimpex.so.5.1.10.0
+%%PYTHON%%%%PYTHON_SITELIBDIR%%/vigra/__init__.py
+%%PYTHON%%%%PYTHON_SITELIBDIR%%/vigra/__version__.py
+%%PYTHON%%%%PYTHON_SITELIBDIR%%/vigra/analysis.so
+%%PYTHON%%%%PYTHON_SITELIBDIR%%/vigra/arraytypes.py
+%%PYTHON%%%%PYTHON_SITELIBDIR%%/vigra/colors.so
+%%PYTHON%%%%PYTHON_SITELIBDIR%%/vigra/filters.so
+%%PYTHON%%%%PYTHON_SITELIBDIR%%/vigra/fourier.so
+%%PYTHON%%%%PYTHON_SITELIBDIR%%/vigra/geometry.so
+%%PYTHON%%%%PYTHON_SITELIBDIR%%/vigra/impex.so
+%%PYTHON%%%%PYTHON_SITELIBDIR%%/vigra/learning.so
+%%PYTHON%%%%PYTHON_SITELIBDIR%%/vigra/noise.so
+%%PYTHON%%%%PYTHON_SITELIBDIR%%/vigra/optimization.so
+%%PYTHON%%%%PYTHON_SITELIBDIR%%/vigra/pyqt/__init__.py
+%%PYTHON%%%%PYTHON_SITELIBDIR%%/vigra/pyqt/imagewindow.py
+%%PYTHON%%%%PYTHON_SITELIBDIR%%/vigra/pyqt/overlays.py
+%%PYTHON%%%%PYTHON_SITELIBDIR%%/vigra/pyqt/quickdialog.py
+%%PYTHON%%%%PYTHON_SITELIBDIR%%/vigra/pyqt/viewer2svg.py
+%%PYTHON%%%%PYTHON_SITELIBDIR%%/vigra/sampling.so
+%%PYTHON%%%%PYTHON_SITELIBDIR%%/vigra/tagged_array.py
+%%PYTHON%%%%PYTHON_SITELIBDIR%%/vigra/ufunc.py
+%%PYTHON%%%%PYTHON_SITELIBDIR%%/vigra/vigranumpycore.so
+lib/vigra/VigraConfig.cmake
+lib/vigra/VigraConfigVersion.cmake
+lib/vigra/vigra-targets-%%CMAKE_BUILD_TYPE%%.cmake
+lib/vigra/vigra-targets.cmake
+%%PYTHON%%lib/vigranumpy/VigranumpyConfig.cmake
+%%PORTDOCS%%%%DOCSDIR%%/vigra/index.html
+%%PORTDOCS%%%%DOCSDIR%%/vigra/vigra-icon.ico
+%%PORTDOCS%%%%DOCSDIR%%/vigra/vigra.css
Property changes on: trunk/graphics/vigra/pkg-plist
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
More information about the Midnightbsd-cvs
mailing list