debian/0000755000000000000000000000000012251016550007163 5ustar debian/rules0000755000000000000000000000152412251016245010246 0ustar #!/usr/bin/make -f #export DH_VERBOSE=1 export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH) CMAKE_FLAGS = \ -DCMAKE_BUILD_TYPE:STRING=None \ -DBUILD_MATLAB_BINDINGS:BOOL=OFF \ -DBUILD_PYTHON_BINDINGS:BOOL=OFF \ -DUSE_MPI:BOOL=ON \ -DUSE_OPENMP:BOOL=ON \ -DFLANN_LIB_INSTALL_DIR:STRING="lib/$(DEB_HOST_MULTIARCH)" \ -DBUILD_CUDA_LIB:BOOL=OFF %: dh $@ --parallel override_dh_auto_configure: dh_auto_configure -- $(CMAKE_FLAGS) override_dh_auto_test: # test download material from the net. Removing them. override_dh_compress: dh_compress --exclude=.pdf # Let's be smart with building doc override_dh_auto_build-indep: $(MAKE) -C obj-* doc # No tests needed for docs override_dh_auto_test-indep: get-orig-source: uscan --verbose --force-download --repack --rename debian/flann-doc.doc-base0000644000000000000000000000037412076562225012441 0ustar Document: flann-doc Title: FLANN - Fast Library for Approximate Nearest Neighbors Author: Marius Muja, mariusm@cs.ubc.ca, David Lowe, lowe@cs.ubc.ca Abstract: User Manual Section: Programming/C++ Format: PDF Files: /usr/share/doc/flann-doc/manual.pdf debian/watch0000644000000000000000000000012312076562225010222 0ustar version=3 http://www.cs.ubc.ca/~mariusm/index.php/FLANN/FLANN .*flann-(.*)-src.zip debian/changelog0000644000000000000000000000566212251016224011044 0ustar flann (1.8.4-3) unstable; urgency=low * Do not use CMAKE_BUILD_TYPE. Closes: #731514 -- Mathieu Malaterre Sun, 08 Dec 2013 08:15:11 +0100 flann (1.8.4-2) unstable; urgency=low * Upload to sid. Closes: #707702 -- Mathieu Malaterre Tue, 14 May 2013 14:23:17 +0200 flann (1.8.4-1) experimental; urgency=low * New upstream. Fix memleak -- Mathieu Malaterre Sat, 19 Jan 2013 21:17:48 +0100 flann (1.8.3-1) experimental; urgency=low * New upstream * Switch from tbb to OpenMP * Remove hack to get Changelog from web, use upstream instead * Remove Breaks/Replace, not needed anymore * Bump Std-Vers to 3.9.4, no changes needed * remove patch not needed anymore: - debian/patches/remove_lib64.patch * Remove obsolete DMUA flag * Use multiarch lib path -- Mathieu Malaterre Thu, 03 Jan 2013 13:51:42 +0100 flann (1.7.1-4) unstable; urgency=low * enable the libhdf5-mpi-dev build dependency on hurd. Closes: #673513 * Fix hardening switch to compat 9 -- Mathieu Malaterre Sun, 03 Jun 2012 18:55:10 +0200 flann (1.7.1-3) unstable; urgency=medium * Add Breaks/Replaces for libflann1. Closes: #672443 -- Mathieu Malaterre Mon, 14 May 2012 12:47:24 +0200 flann (1.7.1-2) unstable; urgency=low * Use my @d.o alias * Bump to Std-Vers to 3.9.3, no changes needed * Switch to default boost instead of old 1.48 (boost transition) * Use proper SONAME in package naming -- Mathieu Malaterre Mon, 07 May 2012 11:17:04 +0200 flann (1.7.1-1) unstable; urgency=low * New upstream - Fix clashes with other libraries * Remove doc install patch (applied upstream) -- Mathieu Malaterre Wed, 28 Dec 2011 16:44:49 +0100 flann (1.7.0-4) unstable; urgency=low * Rebuild flann using boost 1.48. * Set minimum cmake version. -- Mathieu Malaterre Mon, 26 Dec 2011 14:27:11 +0100 flann (1.7.0-3) unstable; urgency=low * Remove cmake install rule for manual.pdf. -- Mathieu Malaterre Wed, 21 Dec 2011 19:46:50 +0100 flann (1.7.0-2) unstable; urgency=low * Remove TBB for non-intel arch * Move indep dependencies to B-D-I * Build doc in indep target -- Mathieu Malaterre Wed, 21 Dec 2011 18:14:28 +0100 flann (1.7.0-1) unstable; urgency=low * New upstream. Fix MPI binding * Fix doc installation * Install upstream changelog -- Mathieu Malaterre Tue, 20 Dec 2011 17:13:24 +0100 flann (1.6.11-2) unstable; urgency=low * Remove hardcoded version number for boost librairies -- Mathieu Malaterre Thu, 25 Aug 2011 14:05:36 +0200 flann (1.6.11-1) unstable; urgency=low * Initial release (Closes: #581903) -- Mathieu Malaterre Tue, 23 Aug 2011 16:55:38 +0200 debian/control0000644000000000000000000000444312076562225010605 0ustar Source: flann Section: libs Priority: optional Maintainer: Debian Science Team Uploaders: Mathieu Malaterre , Michael Kleiber Build-Depends: debhelper (>= 9), cmake (>= 2.6.0), libgtest-dev, python, python-numpy, libboost-all-dev, mpi-default-dev, libhdf5-mpi-dev Build-Depends-Indep: texlive-latex-base, texlive-binaries, latex2html Standards-Version: 3.9.4 Homepage: http://www.cs.ubc.ca/~mariusm/index.php/FLANN/FLANN Vcs-Browser: http://anonscm.debian.org/viewvc/debian-science/packages/flann/trunk/ Vcs-Svn: svn://svn.debian.org/debian-science/packages/flann/trunk/ Package: libflann-dev Section: libdevel Architecture: any Depends: libflann1.8 (= ${binary:Version}), ${misc:Depends} Description: Fast Library for Approximate Nearest Neighbors - development FLANN is a library for performing fast approximate nearest neighbor searches in high dimensional spaces. It contains a collection of algorithms found to work best for nearest neighbor search and a system for automatically choosing the best algorithm and optimum parameters depending on the dataset. . This package contains development files needed to build FLANN applications. Package: libflann1.8 Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Pre-Depends: ${misc:Pre-Depends} Multi-Arch: same Description: Fast Library for Approximate Nearest Neighbors - runtime FLANN is a library for performing fast approximate nearest neighbor searches in high dimensional spaces. It contains a collection of algorithms found to work best for nearest neighbor search and a system for automatically choosing the best algorithm and optimum parameters depending on the dataset. . This package contains the libraries needed to run FLANN applications. Package: flann-doc Architecture: all Section: doc Depends: ${misc:Depends}, doc-base Description: Fast Library for Approximate Nearest Neighbors - documentation FLANN is a library for performing fast approximate nearest neighbor searches in high dimensional spaces. It contains a collection of algorithms found to work best for nearest neighbor search and a system for automatically choosing the best algorithm and optimum parameters depending on the dataset. . This package contains the documentation for FLANN. debian/libflann1.8.install0000644000000000000000000000007012076562225012576 0ustar usr/lib/*/libflann_cpp.so.1.* usr/lib/*/libflann.so.1.* debian/libflann-dev.install0000644000000000000000000000022312076562225013123 0ustar usr/include/flann/* usr/lib/*/pkgconfig/flann.pc usr/lib/*/libflann.so usr/lib/*/libflann_s.a usr/lib/*/libflann_cpp.so usr/lib/*/libflann_cpp_s.a debian/copyright0000644000000000000000000000315612076562225011135 0ustar Format: http://dep.debian.net/deps/dep5/ Upstream-Name: flann Upstream-Contact: Marius Muja Source: http://www.cs.ubc.ca/~mariusm/index.php/FLANN/FLANN Files: * Copyright: © 2008-2009 Marius Muja (mariusm@cs.ubc.ca). All rights reserved. © 2008-2009 David G. Lowe (lowe@cs.ubc.ca). All rights reserved. License: BSD Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: . 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. . THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. Files: debian/* Copyright: 2011; Mathieu Malaterre License: BSD Same as above debian/source/0000755000000000000000000000000012251016550010463 5ustar debian/source/format0000644000000000000000000000001412076562224011702 0ustar 3.0 (quilt) debian/docs0000644000000000000000000000001212076562225010041 0ustar README.md debian/flann-doc.docs0000644000000000000000000000005212076562225011705 0ustar debian/tmp/usr/share/doc/flann/manual.pdf debian/compat0000644000000000000000000000000212076562225010373 0ustar 9 debian/patches/0000755000000000000000000000000012251016550010612 5ustar debian/patches/fixmultiarchlibinstall.patch0000644000000000000000000000107612076562225016426 0ustar Description: Allow multi-arch lib installation Author: Mathieu Malaterre Forwarded: no --- flann-1.8.3.orig/cmake/flann_utils.cmake +++ flann-1.8.3/cmake/flann_utils.cmake @@ -1,6 +1,8 @@ macro(GET_OS_INFO) string(REGEX MATCH "Linux" OS_IS_LINUX ${CMAKE_SYSTEM_NAME}) - set(FLANN_LIB_INSTALL_DIR "lib") + if(NOT DEFINED FLANN_LIB_INSTALL_DIR) + set(FLANN_LIB_INSTALL_DIR "lib") + endif() set(FLANN_INCLUDE_INSTALL_DIR "include/${PROJECT_NAME_LOWER}-${FLANN_MAJOR_VERSION}.${FLANN_MINOR_VERSION}") endmacro(GET_OS_INFO) debian/patches/remove_tests.patch0000644000000000000000000000066512076562225014373 0ustar Index: flann-1.8.3-src/CMakeLists.txt =================================================================== --- flann-1.8.3-src.orig/CMakeLists.txt 2013-01-03 13:01:02.619952920 +0100 +++ flann-1.8.3-src/CMakeLists.txt 2013-01-03 13:01:05.755952938 +0100 @@ -156,7 +156,7 @@ add_subdirectory( cmake ) add_subdirectory( src ) add_subdirectory( examples ) -add_subdirectory( test ) +#add_subdirectory( test ) add_subdirectory( doc ) debian/patches/series0000644000000000000000000000006012076562225012035 0ustar remove_tests.patch fixmultiarchlibinstall.patch