Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

We’re showing branches in this repository, but you can also compare across forks.

base fork: chambbj/homebrew
base: fa6128f173
...
head fork: chambbj/homebrew
compare: e1a045c0b7
  • 9 commits
  • 6 files changed
  • 0 commit comments
  • 1 contributor
Commits on Mar 31, 2012
chambbj Update to pdal v0.6
PDAL development continues to evolve. This is updates the formula
from v0.1 to v0.6. Adds many options and their associated dependencies,
e.g., GDAL.

Updated based on feedback from pull request.

Use or clause for dependencies triggered with multiple flags. Transitioned to
'mkdir' block. Temporarily removed support for GDAL and libgeotiff, which must
be built from trunk of their repos, and added a caveat to explain the situation
for users who require them.
94a60cd
chambbj Update to libLAS v1.7.0
This is an update to libLAS, from v1.6.1 to 1.7.0. The libLAS v1.7.0 release
notes can be found at
(http://lists.osgeo.org/pipermail/liblas-devel/2011-June/001409.html).
9dca607
chambbj Not sure why we need to check for Fortran a5ecc80
chambbj Adding formula for libusb-devel
This devel version of libusb is required by PCL for building on OS X
317d370
chambbj Adding formula for Loki 00ab97b
chambbj Formula for OpenNI
Patched for OS X, dependency of PCL
ff5da0d
chambbj Unofficial formula for PCL
The PCL maintainers developed this and published it, but are not yet ready to
commit. This is just a fork for local testing.
a01c8a1
chambbj Adding formula for tvmet 9373b70
chambbj Merge branch 'master' of github.com:chambbj/homebrew e1a045c
2  Library/Formula/eigen.rb
View
@@ -8,7 +8,7 @@ class Eigen < Formula
depends_on 'cmake' => :build
def install
- ENV.fortran
+# ENV.fortran
mkdir 'eigen-build' do
system "cmake #{std_cmake_parameters} -DCMAKE_BUILD_TYPE=Release -Dpkg_config_libdir=#{lib} .."
system "make install"
17 Library/Formula/libusb-devel.rb
View
@@ -0,0 +1,17 @@
+require 'formula'
+
+class LibusbDevel < Formula
+ url 'https://github.com/OpenNI/OpenNI/blob/4dbf64bc45b880bfda6aa6bb2a30d1ddd03a8c65/Platform/Linux/Build/Prerequisites/libusb-1.0.8-osx.tar.bz2?raw=true'
+ homepage 'http://www.libusb.org/'
+ md5 '8ad20ec24b7612caf75a059a03f21dd8'
+
+ depends_on "automake" => :build
+ depends_on "libtool" => :build
+
+ def install
+ system "./autogen.sh"
+ system "./configure", "--prefix=#{prefix}", "--disable-dependency-tracking", "LDFLAGS=-framework IOKit -framework CoreFoundation -arch x86_64", "CFLAGS=-arch x86_64"
+ system "make"
+ system "make install"
+ end
+end
13 Library/Formula/loki.rb
View
@@ -0,0 +1,13 @@
+require 'formula'
+
+class Loki < Formula
+ url 'http://downloads.sourceforge.net/project/loki-lib/Loki/Loki%200.1.7/loki-0.1.7.zip?r=http%3A%2F%2Fsourceforge.net%2Fprojects%2Floki-lib%2Ffiles%2FLoki%2FLoki%25200.1.7%2F&ts=1333050366&use_mirror=softlayer'
+ homepage 'http://loki-lib.sourceforge.net/index.php?n=Main.HomePage'
+ md5 '8261e83cf2c904fd915823336e7116bd'
+ version '0.1.7'
+
+ def install
+ system "make" # Separate steps or install fails
+ system "make install"
+ end
+end
21 Library/Formula/openni-osx.rb
View
@@ -0,0 +1,21 @@
+require 'formula'
+
+class OpenniOsx < Formula
+ url 'https://github.com/OpenNI/OpenNI/zipball/Stable-1.5.2.23'
+ homepage 'https://github.com/OpenNI/OpenNI'
+ md5 '74f1a05b41ee099df3c461baaeecb7da'
+
+ depends_on "libusb-devel"
+
+ def install
+# Dir.chdir 'Platform/Linux/CreateRedist' do
+# system "./RedistMaker"
+# Dir.chdir '../Redist' do
+# system "./install.sh"
+# end
+# end
+ Dir.chdir 'Platform/Linux/Build' do
+ system "make install"
+ end
+ end
+end
125 Library/Formula/pcl.rb
View
@@ -0,0 +1,125 @@
+require 'formula'
+
+class Pcl < Formula
+ url 'http://www.pointclouds.org/assets/files/1.4.0/PCL-1.4.0-Source.tar.bz2'
+ homepage 'http://www.pointclouds.org'
+ md5 '63fd633a6306ae9b334131b250a2f893'
+ version '1.4'
+ head 'svn+ssh://svn@svn.pointclouds.org/pcl/trunk'
+
+ depends_on 'cmake'
+ depends_on 'boost'
+ depends_on 'eigen'
+ depends_on 'flann'
+ depends_on 'cminpack'
+ depends_on 'vtk'
+ depends_on 'qhull'
+ depends_on 'libusb'
+
+ depends_on 'doxygen' if ARGV.include? '--doc'
+ depends_on 'sphinx' if ARGV.include? '--doc'
+
+ def options
+ [
+ ['--apps', "Build apps"],
+ ['--doc', "Build documentation"],
+ ['--nofeatures', "Disable features module"],
+ ['--nofilters', "Disable filters module"],
+ ['--noio', "Disable io module"],
+ ['--nokdtree', "Disable kdtree module"],
+ ['--nokeypoints', "Disable keypoints module"],
+ ['--nooctree', "Disable octree module"],
+ ['--noproctor', "Disable proctor module"],
+ ['--nopython', "Disable Python bindings"],
+ ['--norangeimage', "Disable range image module"],
+ ['--noregistration', "Disable registration module"],
+ ['--nosac', "Disable sample consensus module"],
+ ['--nosearch', "Disable search module"],
+ ['--nosegmentation', "Disable segmentation module"],
+ ['--nosurface', "Disable surface module"],
+ ['--notools', "Disable tools module"],
+ ['--notracking', "Disable tracking module"],
+ ['--novis', "Disable visualisation module"],
+ ]
+ end
+
+ def install
+ args = std_cmake_parameters.split
+
+ if ARGV.include? '--noapps'
+ args << "-DBUILD_apps:BOOL=OFF"
+ end
+ if ARGV.include? '--doc'
+ args << "-DBUILD_documentation:BOOL=ON"
+ else
+ args << "-DBUILD_documentation:BOOL=OFF"
+ end
+ if ARGV.include? '--nofeatures'
+ args << "-DBUILD_features:BOOL=OFF"
+ end
+ if ARGV.include? '--nofilters'
+ args << "-DBUILD_filters:BOOL=OFF"
+ end
+ if ARGV.include? '--noio'
+ args << "-DBUILD_io:BOOL=OFF"
+ end
+ if ARGV.include? '--nokdtree'
+ args << "-DBUILD_kdtree:BOOL=OFF"
+ end
+ if ARGV.include? '--nokeypoints'
+ args << "-DBUILD_keypoints:BOOL=OFF"
+ end
+ if ARGV.include? '--nooctree'
+ args << "-DBUILD_octree:BOOL=OFF"
+ end
+ if ARGV.include? '--noproctor'
+ args << "-DBUILD_proctor:BOOL=OFF"
+ end
+ if ARGV.include? '--nopython'
+ args << "-DBUILD_python:BOOL=OFF"
+ end
+ if ARGV.include? '--norangeimage'
+ args << "-DBUILD_rangeimage:BOOL=OFF"
+ end
+ if ARGV.include? '--noregistration'
+ args << "-DBUILD_registration:BOOL=OFF"
+ end
+ if ARGV.include? '--nosac'
+ args << "-DBUILD_sac:BOOL=OFF"
+ end
+ if ARGV.include? '--nosearch'
+ args << "-DBUILD_search:BOOL=OFF"
+ end
+ if ARGV.include? '--nosegmentation'
+ args << "-DBUILD_segmentation:BOOL=OFF"
+ end
+ if ARGV.include? '--nosurface'
+ args << "-DBUILD_surface:BOOL=OFF"
+ end
+ if ARGV.include? '--notools'
+ args << "-DBUILD_tools:BOOL=OFF"
+ end
+ if ARGV.include? '--notracking'
+ args << "-DBUILD_tracking:BOOL=OFF"
+ end
+ if ARGV.include? '--novis'
+ args << "-DBUILD_visualization:BOOL=OFF"
+ end
+
+ system "mkdir build"
+ args << ".."
+ Dir.chdir 'build' do
+ system "cmake", *args
+ system "make install"
+ end
+ end
+
+ def test
+ # This test will fail and we won't accept that! It's enough to just
+ # replace "false" with the main program this formula installs, but
+ # it'd be nice if you were more thorough. Test the test with
+ # `brew test pcl`. Remove this comment before submitting
+ # your pull request!
+ system "false"
+ end
+end
14 Library/Formula/tvmet.rb
View
@@ -0,0 +1,14 @@
+require 'formula'
+
+class Tvmet < Formula
+ url 'http://downloads.sourceforge.net/project/tvmet/Tar.Gz_Bz2%20Archive/1.7.2/tvmet-1.7.2.tar.bz2?r=http%3A%2F%2Fsourceforge.net%2Fprojects%2Ftvmet%2Ffiles%2F&ts=1333123044&use_mirror=softlayer'
+ homepage 'http://tvmet.sourceforge.net'
+ md5 '8e1b2ec67ebec65f680a8bd3ea38a656'
+ version '1.7.2'
+
+ def install
+ system "./configure", "--prefix=#{prefix}", "--disable-cppunit"
+ system "make" # Separate steps or install fails
+ system "make install"
+ end
+end

No commit comments for this range

Something went wrong with that request. Please try again.