Blob Blame History Raw
commit 0f0eef8ec3ce746a79b4687074bebc1666289269
Author: Tom Hughes <tom@compton.nu>
Date:   Mon Nov 23 00:12:59 2015 +0000

    Patch out attempts to clone various dependencies

diff --git a/Makefile b/Makefile
index 9e47cc0..2a46161 100755
--- a/Makefile
+++ b/Makefile
@@ -1,23 +1,10 @@
 MAPNIK_PLUGINDIR := $(shell mapnik-config --input-plugins)
 BUILDTYPE ?= Release
 
-CLIPPER_REVISION=7484da1
-PROTOZERO_REVISION=v1.0.0
-GYP_REVISION=3464008
-
 all: libvtile
 
-./deps/gyp:
-	git clone https://chromium.googlesource.com/external/gyp.git ./deps/gyp && cd ./deps/gyp && git checkout $(GYP_REVISION)
-
-./deps/protozero:
-	git clone https://github.com/mapbox/protozero.git ./deps/protozero && cd ./deps/protozero && git checkout $(PROTOZERO_REVISION)
-
-./deps/clipper:
-	git clone https://github.com/mapnik/clipper.git -b r496-mapnik ./deps/clipper && cd ./deps/clipper && git checkout $(CLIPPER_REVISION) && ./cpp/fix_members.sh
-
-build/Makefile: ./deps/gyp ./deps/clipper ./deps/protozero gyp/build.gyp test/*cpp
-	deps/gyp/gyp gyp/build.gyp --depth=. -DMAPNIK_PLUGINDIR=\"$(MAPNIK_PLUGINDIR)\" -Goutput_dir=. --generator-output=./build -f make
+build/Makefile: gyp/build.gyp test/*cpp
+	gyp gyp/build.gyp --depth=. -DMAPNIK_PLUGINDIR=\"$(MAPNIK_PLUGINDIR)\" -Goutput_dir=. --generator-output=./build -f make
 
 libvtile: build/Makefile Makefile
 	@$(MAKE) -C build/ BUILDTYPE=$(BUILDTYPE) V=$(V)
diff --git a/gyp/build.gyp b/gyp/build.gyp
index 1bfccf6..beb9a94 100644
--- a/gyp/build.gyp
+++ b/gyp/build.gyp
@@ -42,7 +42,7 @@
       ],
       'include_dirs': [
         '<(SHARED_INTERMEDIATE_DIR)/',
-        '../deps/protozero/include'
+        '/usr/include/protozero'
       ],
       'cflags_cc' : [
           '-D_THREAD_SAFE',
@@ -61,7 +61,7 @@
       'direct_dependent_settings': {
         'include_dirs': [
           '<(SHARED_INTERMEDIATE_DIR)/',
-          '../deps/protozero/include'
+          '/usr/include/protozero'
         ],
         'libraries':[
           '-lprotobuf-lite'
@@ -92,7 +92,7 @@
           '<!@(mapnik-config --cflags)'
       ],
       'include_dirs': [
-        '../deps/protozero/include',
+        '/usr/include/protozero',
         '../deps/clipper/cpp'
       ],
       'xcode_settings': {
@@ -103,7 +103,7 @@
       'direct_dependent_settings': {
         'include_dirs': [
           '<(SHARED_INTERMEDIATE_DIR)/',
-          '../deps/protozero/include',
+          '/usr/include/protozero',
           '../deps/clipper/cpp'
         ],
         'defines' : [
@@ -141,7 +141,7 @@
       ],
       "include_dirs": [
         "../src",
-        '../deps/protozero/include'
+        '/usr/include/protozero'
       ]
     },
     {
@@ -157,7 +157,7 @@
       ],
       "include_dirs": [
         "../src",
-        '../deps/protozero/include'
+        '/usr/include/protozero'
       ]
     },
     {
@@ -173,7 +173,7 @@
       ],
       "include_dirs": [
         "../src",
-        '../deps/protozero/include'
+        '/usr/include/protozero'
       ]
     },
     {