summaryrefslogtreecommitdiffstats
path: root/extra/vigra
diff options
context:
space:
mode:
Diffstat (limited to 'extra/vigra')
-rw-r--r--extra/vigra/.footprint142
-rw-r--r--extra/vigra/.md5sum2
-rw-r--r--extra/vigra/Pkgfile25
-rw-r--r--extra/vigra/libpng-1.4.patch14
4 files changed, 183 insertions, 0 deletions
diff --git a/extra/vigra/.footprint b/extra/vigra/.footprint
new file mode 100644
index 000000000..c7e0efd12
--- /dev/null
+++ b/extra/vigra/.footprint
@@ -0,0 +1,142 @@
+drwxr-xr-x root/root usr/
+drwxr-xr-x root/root usr/include/
+drwxr-xr-x root/root usr/include/vigra/
+-rw-r--r-- root/root usr/include/vigra/accessor.hxx
+-rw-r--r-- root/root usr/include/vigra/affine_registration.hxx
+-rw-r--r-- root/root usr/include/vigra/affinegeometry.hxx
+-rw-r--r-- root/root usr/include/vigra/array_vector.hxx
+-rw-r--r-- root/root usr/include/vigra/basicgeometry.hxx
+-rw-r--r-- root/root usr/include/vigra/basicimage.hxx
+-rw-r--r-- root/root usr/include/vigra/basicimageview.hxx
+-rw-r--r-- root/root usr/include/vigra/bordertreatment.hxx
+-rw-r--r-- root/root usr/include/vigra/boundarytensor.hxx
+-rw-r--r-- root/root usr/include/vigra/cellconfigurations.hxx
+-rw-r--r-- root/root usr/include/vigra/cellimage.hxx
+-rw-r--r-- root/root usr/include/vigra/codec.hxx
+-rw-r--r-- root/root usr/include/vigra/colorconversions.hxx
+-rw-r--r-- root/root usr/include/vigra/combineimages.hxx
+-rw-r--r-- root/root usr/include/vigra/config.hxx
+-rw-r--r-- root/root usr/include/vigra/configVersion.hxx
+-rw-r--r-- root/root usr/include/vigra/contourcirculator.hxx
+-rw-r--r-- root/root usr/include/vigra/convolution.hxx
+-rw-r--r-- root/root usr/include/vigra/copyimage.hxx
+-rw-r--r-- root/root usr/include/vigra/cornerdetection.hxx
+-rw-r--r-- root/root usr/include/vigra/diff2d.hxx
+-rw-r--r-- root/root usr/include/vigra/distancetransform.hxx
+-rw-r--r-- root/root usr/include/vigra/edgedetection.hxx
+-rw-r--r-- root/root usr/include/vigra/eigensystem.hxx
+-rw-r--r-- root/root usr/include/vigra/error.hxx
+-rw-r--r-- root/root usr/include/vigra/fftw.hxx
+-rw-r--r-- root/root usr/include/vigra/fftw3.hxx
+-rw-r--r-- root/root usr/include/vigra/fixedpoint.hxx
+-rw-r--r-- root/root usr/include/vigra/flatmorphology.hxx
+-rw-r--r-- root/root usr/include/vigra/functorexpression.hxx
+-rw-r--r-- root/root usr/include/vigra/functortraits.hxx
+-rw-r--r-- root/root usr/include/vigra/gaborfilter.hxx
+-rw-r--r-- root/root usr/include/vigra/gaussians.hxx
+-rw-r--r-- root/root usr/include/vigra/gradient_energy_tensor.hxx
+-rw-r--r-- root/root usr/include/vigra/hdf5impex.hxx
+-rw-r--r-- root/root usr/include/vigra/imagecontainer.hxx
+-rw-r--r-- root/root usr/include/vigra/imageinfo.hxx
+-rw-r--r-- root/root usr/include/vigra/imageiterator.hxx
+-rw-r--r-- root/root usr/include/vigra/imageiteratoradapter.hxx
+-rw-r--r-- root/root usr/include/vigra/impex.hxx
+-rw-r--r-- root/root usr/include/vigra/initimage.hxx
+-rw-r--r-- root/root usr/include/vigra/inspectimage.hxx
+-rw-r--r-- root/root usr/include/vigra/interpolating_accessor.hxx
+-rw-r--r-- root/root usr/include/vigra/iteratoradapter.hxx
+-rw-r--r-- root/root usr/include/vigra/iteratortags.hxx
+-rw-r--r-- root/root usr/include/vigra/iteratortraits.hxx
+-rw-r--r-- root/root usr/include/vigra/labelimage.hxx
+-rw-r--r-- root/root usr/include/vigra/labelvolume.hxx
+-rw-r--r-- root/root usr/include/vigra/linear_algebra.hxx
+-rw-r--r-- root/root usr/include/vigra/linear_solve.hxx
+-rw-r--r-- root/root usr/include/vigra/localminmax.hxx
+-rw-r--r-- root/root usr/include/vigra/mathutil.hxx
+-rw-r--r-- root/root usr/include/vigra/matlab.hxx
+-rw-r--r-- root/root usr/include/vigra/matlab_FLEXTYPE.hxx
+-rw-r--r-- root/root usr/include/vigra/matrix.hxx
+-rw-r--r-- root/root usr/include/vigra/memory.hxx
+-rw-r--r-- root/root usr/include/vigra/meshgrid.hxx
+-rw-r--r-- root/root usr/include/vigra/metaprogramming.hxx
+-rw-r--r-- root/root usr/include/vigra/multi_array.hxx
+-rw-r--r-- root/root usr/include/vigra/multi_convolution.hxx
+-rw-r--r-- root/root usr/include/vigra/multi_distance.hxx
+-rw-r--r-- root/root usr/include/vigra/multi_impex.hxx
+-rw-r--r-- root/root usr/include/vigra/multi_iterator.hxx
+-rw-r--r-- root/root usr/include/vigra/multi_morphology.hxx
+-rw-r--r-- root/root usr/include/vigra/multi_pointoperators.hxx
+-rw-r--r-- root/root usr/include/vigra/multi_resize.hxx
+-rw-r--r-- root/root usr/include/vigra/multi_tensorutilities.hxx
+-rw-r--r-- root/root usr/include/vigra/navigator.hxx
+-rw-r--r-- root/root usr/include/vigra/noise_normalization.hxx
+-rw-r--r-- root/root usr/include/vigra/nonlineardiffusion.hxx
+-rw-r--r-- root/root usr/include/vigra/numerictraits.hxx
+-rw-r--r-- root/root usr/include/vigra/numpy_array.hxx
+-rw-r--r-- root/root usr/include/vigra/numpy_array_converters.hxx
+-rw-r--r-- root/root usr/include/vigra/orientedtensorfilters.hxx
+-rw-r--r-- root/root usr/include/vigra/pixelneighborhood.hxx
+-rw-r--r-- root/root usr/include/vigra/polynomial.hxx
+-rw-r--r-- root/root usr/include/vigra/promote_traits.hxx
+-rw-r--r-- root/root usr/include/vigra/promote_traits.hxx.py
+-rw-r--r-- root/root usr/include/vigra/python_utility.hxx
+-rw-r--r-- root/root usr/include/vigra/quadprog.hxx
+-rw-r--r-- root/root usr/include/vigra/random.hxx
+-rw-r--r-- root/root usr/include/vigra/random_forest.hxx
+drwxr-xr-x root/root usr/include/vigra/random_forest/
+-rw-r--r-- root/root usr/include/vigra/random_forest/rf_common.hxx
+-rw-r--r-- root/root usr/include/vigra/random_forest/rf_decisionTree.hxx
+-rw-r--r-- root/root usr/include/vigra/random_forest/rf_earlystopping.hxx
+-rw-r--r-- root/root usr/include/vigra/random_forest/rf_nodeproxy.hxx
+-rw-r--r-- root/root usr/include/vigra/random_forest/rf_online_prediction_set.hxx
+-rw-r--r-- root/root usr/include/vigra/random_forest/rf_preprocessing.hxx
+-rw-r--r-- root/root usr/include/vigra/random_forest/rf_region.hxx
+-rw-r--r-- root/root usr/include/vigra/random_forest/rf_sampling.hxx
+-rw-r--r-- root/root usr/include/vigra/random_forest/rf_split.hxx
+-rw-r--r-- root/root usr/include/vigra/random_forest/rf_visitors.hxx
+-rw-r--r-- root/root usr/include/vigra/random_forest_deprec.hxx
+-rw-r--r-- root/root usr/include/vigra/random_forest_hdf5_impex.hxx
+-rw-r--r-- root/root usr/include/vigra/rational.hxx
+-rw-r--r-- root/root usr/include/vigra/recursiveconvolution.hxx
+-rw-r--r-- root/root usr/include/vigra/regression.hxx
+-rw-r--r-- root/root usr/include/vigra/resampling_convolution.hxx
+-rw-r--r-- root/root usr/include/vigra/resizeimage.hxx
+-rw-r--r-- root/root usr/include/vigra/rfftw.hxx
+-rw-r--r-- root/root usr/include/vigra/rgbvalue.hxx
+-rw-r--r-- root/root usr/include/vigra/seededregiongrowing.hxx
+-rw-r--r-- root/root usr/include/vigra/seededregiongrowing3d.hxx
+-rw-r--r-- root/root usr/include/vigra/separableconvolution.hxx
+-rw-r--r-- root/root usr/include/vigra/singular_value_decomposition.hxx
+-rw-r--r-- root/root usr/include/vigra/sized_int.hxx
+-rw-r--r-- root/root usr/include/vigra/slanted_edge_mtf.hxx
+-rw-r--r-- root/root usr/include/vigra/splineimageview.hxx
+-rw-r--r-- root/root usr/include/vigra/splines.hxx
+-rw-r--r-- root/root usr/include/vigra/static_assert.hxx
+-rw-r--r-- root/root usr/include/vigra/stdconvolution.hxx
+-rw-r--r-- root/root usr/include/vigra/stdimage.hxx
+-rw-r--r-- root/root usr/include/vigra/stdimagefunctions.hxx
+-rw-r--r-- root/root usr/include/vigra/symmetry.hxx
+-rw-r--r-- root/root usr/include/vigra/tensorutilities.hxx
+-rw-r--r-- root/root usr/include/vigra/tiff.hxx
+-rw-r--r-- root/root usr/include/vigra/timing.hxx
+-rw-r--r-- root/root usr/include/vigra/tinyvector.hxx
+-rw-r--r-- root/root usr/include/vigra/transformimage.hxx
+-rw-r--r-- root/root usr/include/vigra/tuple.hxx
+-rw-r--r-- root/root usr/include/vigra/union_find.hxx
+-rw-r--r-- root/root usr/include/vigra/utilities.hxx
+-rw-r--r-- root/root usr/include/vigra/voxelneighborhood.hxx
+-rw-r--r-- root/root usr/include/vigra/watersheds.hxx
+-rw-r--r-- root/root usr/include/vigra/watersheds3d.hxx
+-rw-r--r-- root/root usr/include/vigra/windows.h
+drwxr-xr-x root/root usr/lib/
+lrwxrwxrwx root/root usr/lib/libvigraimpex.so -> libvigraimpex.so.2
+lrwxrwxrwx root/root usr/lib/libvigraimpex.so.2 -> libvigraimpex.so.2.170
+-rwxr-xr-x root/root usr/lib/libvigraimpex.so.2.170
+drwxr-xr-x root/root usr/lib/vigra/
+-rw-r--r-- root/root usr/lib/vigra/VigraConfig.cmake
+-rw-r--r-- root/root usr/lib/vigra/vigra-targets-release.cmake
+-rw-r--r-- root/root usr/lib/vigra/vigra-targets.cmake
+drwxr-xr-x root/root usr/share/
+drwxr-xr-x root/root usr/share/licenses/
+drwxr-xr-x root/root usr/share/licenses/vigra/
+-rw-r--r-- root/root usr/share/licenses/vigra/LICENSE
diff --git a/extra/vigra/.md5sum b/extra/vigra/.md5sum
new file mode 100644
index 000000000..74f0773ab
--- /dev/null
+++ b/extra/vigra/.md5sum
@@ -0,0 +1,2 @@
+db610e48558eb323490ad21d636bac76 libpng-1.4.patch
+a40b3b013653f75dc84ba55b2df1fae2 vigra-1.7.0-src.tar.gz
diff --git a/extra/vigra/Pkgfile b/extra/vigra/Pkgfile
new file mode 100644
index 000000000..aa2fd743e
--- /dev/null
+++ b/extra/vigra/Pkgfile
@@ -0,0 +1,25 @@
+# Description: Computer vision library
+# URL: http://kogs-www.informatik.uni-hamburg.de/~koethe/vigra/
+# Maintainer: NuTyX core team
+# Packager: lesibel at free dot fr
+# Depends on: libpng, libtiff, gcc-libs, sh
+
+name=vigra
+version=1.7.0
+release=1
+source=(http://hci.iwr.uni-heidelberg.de/$name/$name-$version-src.tar.gz
+ libpng-1.4.patch)
+
+
+build() {
+ cd $name-$version-src
+ patch -p1 < $SRC/libpng-1.4.patch
+
+ cmake -DCMAKE_INSTALL_PREFIX=/usr \
+ -DWITH_VIGRANUMPY=1 \
+ -DDOCINSTALL=share/doc
+ make
+ make DESTDIR=$PKG install
+ install -D -m644 LICENSE.txt $PKG/usr/share/licenses/$name/LICENSE
+}
+
diff --git a/extra/vigra/libpng-1.4.patch b/extra/vigra/libpng-1.4.patch
new file mode 100644
index 000000000..3c69e8eb8
--- /dev/null
+++ b/extra/vigra/libpng-1.4.patch
@@ -0,0 +1,14 @@
+diff -Naur vigra1.6.0-orig/src/impex/png.cxx vigra1.6.0/src/impex/png.cxx
+--- vigra1.6.0-orig/src/impex/png.cxx 2010-01-20 19:46:57.000000000 -0500
++++ vigra1.6.0/src/impex/png.cxx 2010-01-20 19:47:55.000000000 -0500
+@@ -270,8 +270,8 @@
+ // expand gray values to at least one byte size
+ if ( color_type == PNG_COLOR_TYPE_GRAY && bit_depth < 8 ) {
+ if (setjmp(png->jmpbuf))
+- vigra_postcondition( false,png_error_message.insert(0, "error in png_set_gray_1_2_4_to_8(): ").c_str());
+- png_set_gray_1_2_4_to_8(png);
++ vigra_postcondition( false,png_error_message.insert(0, "error in png_set_expand_gray_1_2_4_to_8(): ").c_str());
++ png_set_expand_gray_1_2_4_to_8(png);
+ bit_depth = 8;
+ }
+