{"action":"created","comment":{"url":"https://api.github.com/repos/Kitware/fletch/pulls/comments/70423644","id":70423644,"diff_hunk":"@@ -0,0 +1,128 @@\n+# ZLIB\n+add_package_dependency(\n+  PACKAGE VXL\n+  PACKAGE_DEPENDENCY ZLib\n+  PACKAGE_DEPENDENCY_ALIAS ZLIB\n+  )\n+\n+# JPEG\n+add_package_dependency(\n+  PACKAGE VXL\n+  PACKAGE_DEPENDENCY libjpeg-turbo\n+  PACKAGE_DEPENDENCY_ALIAS JPEG\n+  )\n+  \n+# libtiff\n+add_package_dependency(\n+  PACKAGE VXL\n+  PACKAGE_DEPENDENCY libtiff\n+  PACKAGE_DEPENDENCY_ALIAS TIFF\n+  )\n+\n+if (WIN32)\n+  set (jpeg_lib_name \"jpeg.lib\")\n+  set (zlib_library_name \"zlib.lib\")\n+elseif (APPLE)\n+  set (jpeg_lib_name \"libjpeg.dylib\")\n+  set (zlib_library_name \"libzlib.dylib\")\n+else()\n+  set (jpeg_lib_name \"libjpeg.so\")\n+  set (zlib_library_name \"libzlib.so\")\n+endif()\n+\n+if(NOT JPEG_FOUND)\n+  set(JPEG_INCLUDE_DIR ${fletch_BUILD_INSTALL_PREFIX}/include)\n+  set(JPEG_LIBRARY ${fletch_BUILD_INSTALL_PREFIX}/lib/${jpeg_lib_name})\n+endif()\n+\n+set(VXL_ARGS_CONTRIB\n+  -DBUILD_BRL:BOOL=OFF\n+  -DBUILD_MUL_TOOLS:BOOL=OFF\n+  -DBUILD_PRIP:BOOL=OFF\n+  )\n+\n+# Not using ffmpeg right now\n+#set(VXL_ARGS_VIDL\n+#  -DFFMPEG_CONFIG:FILEPATH=IGNORE\n+#  -DFFMPEG_INCLUDE1_DIR:PATH=IGNORE\n+#  -DFFMPEG_INCLUDE2_DIR:PATH=IGNORE\n+#  -DFFMPEG_avcodec_LIBRARY:PATH=IGNORE\n+#  -DFFMPEG_avformat_LIBRARY:PATH=IGNORE\n+#  -DFFMPEG_avutil_LIBRARY:PATH=IGNORE\n+#  -DFFMPEG_swscale_LIBRARY:PATH=IGNORE\n+#  )\n+\n+if(UNIX)\n+  set(VXL_ARGS_V3P\n+    -DVXL_USING_NATIVE_ZLIB:BOOL=TRUE\n+    -DVXL_USING_NATIVE_BZLIB2:BOOL=TRUE\n+    )\n+  set(VXL_EXTRA_CMAKE_CXX_FLAGS\n+    -DVXL_EXTRA_CMAKE_CXX_FLAGS:STRING=-D__STDC_CONSTANT_MACROS\n+    )\n+elseif(WIN32)\n+  set(VXL_ARGS_V3P\n+    # Geotiff\n+    )\n+endif()\n+\n+ExternalProject_Add(VXL\n+  DEPENDS ${VXL_DEPENDS}\n+  URL ${VXL_url}\n+  URL_MD5 ${VXL_md5}\n+  PREFIX ${fletch_BUILD_PREFIX}\n+  CMAKE_GENERATOR ${gen}\n+  CMAKE_ARGS\n+    ${KWIVER_ARGS_COMMON}\n+    ${VXL_ARGS_GUI}\n+    ${VXL_ARGS_CONTRIB}\n+#    ${VXL_ARGS_VIDL}\n+    ${VXL_ARGS_V3P}\n+    ${VXL_EXTRA_CMAKE_CXX_FLAGS}\n+\t-DCMAKE_CXX_STANDARD:STRING=11\n+    -DBUILD_EXAMPLES:BOOL=OFF\n+    -DBUILD_TESTING:BOOL=OFF\n+    -DBUILD_DOCUMENTATION:BOOL=OFF\n+\t-DBUILD_CORE_PROBABILITY:BOOL=ON\n+    -DBUILD_CORE_GEOMETRY:BOOL=ON\n+    -DBUILD_CORE_NUMERICS:BOOL=ON\n+    -DBUILD_CORE_IMAGING:BOOL=ON\n+    -DBUILD_CORE_SERIALISATION:BOOL=ON\n+    -DBUILD_GEL:BOOL=OFF\n+    -DBUILD_MUL:BOOL=OFF\n+    -DBUILD_MUL_TOOLS:BOOL=OFF\n+    -DBUILD_TBL:BOOL=OFF\n+    -DJPEG_LIBRARY:FILEPATH=${JPEG_LIBRARY}\n+    -DJPEG_INCLUDE_DIR:PATH=${JPEG_INCLUDE_DIR}\n+    -DCMAKE_INSTALL_PREFIX:PATH=${fletch_BUILD_INSTALL_PREFIX}\n+    -DCMAKE_BUILD_TYPE:STRING=${CMAKE_BUILD_TYPE}\n+    -DBUILD_SHARED_LIBS:BOOL=FALSE\n+    -DCMAKE_CXX_FLAGS=${CMAKE_CXX_FLAGS}\n+    -DCMAKE_C_FLAGS=${CMAKE_C_FLAGS}\n+    -DCMAKE_INSTALL_LIBDIR:PATH=${fletch_BUILD_INSTALL_PREFIX}/lib\n+  DOWNLOAD_DIR ${fletch_DOWNLOAD_DIR}\n+  INSTALL_DIR ${fletch_BUILD_INSTALL_PREFIX}\n+  )\n+\n+ExternalProject_Add_Step(VXL forcebuild\n+  COMMAND ${CMAKE_COMMAND}\n+    -E remove ${fletch_BUILD_PREFIX}/src/VXL-stamp/VXL-build\n+  COMMENT \"Removing build stamp file for build update (forcebuild).\"\n+  DEPENDEES configure\n+  DEPENDERS build\n+  ALWAYS 1\n+  )","path":"CMake/External_VXL.cmake","position":114,"original_position":114,"commit_id":"5b152e2f84671b8e9f86fa2e9b61ff23b8b65653","original_commit_id":"5b152e2f84671b8e9f86fa2e9b61ff23b8b65653","user":{"login":"dstoup","id":5521498,"avatar_url":"https://avatars.githubusercontent.com/u/5521498?v=3","gravatar_id":"","url":"https://api.github.com/users/dstoup","html_url":"https://github.com/dstoup","followers_url":"https://api.github.com/users/dstoup/followers","following_url":"https://api.github.com/users/dstoup/following{/other_user}","gists_url":"https://api.github.com/users/dstoup/gists{/gist_id}","starred_url":"https://api.github.com/users/dstoup/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dstoup/subscriptions","organizations_url":"https://api.github.com/users/dstoup/orgs","repos_url":"https://api.github.com/users/dstoup/repos","events_url":"https://api.github.com/users/dstoup/events{/privacy}","received_events_url":"https://api.github.com/users/dstoup/received_events","type":"User","site_admin":false},"body":"What are we doing here ( .. and why )?","created_at":"2016-07-12T11:53:44Z","updated_at":"2016-07-12T11:53:44Z","html_url":"https://github.com/Kitware/fletch/pull/48#discussion_r70423644","pull_request_url":"https://api.github.com/repos/Kitware/fletch/pulls/48","_links":{"self":{"href":"https://api.github.com/repos/Kitware/fletch/pulls/comments/70423644"},"html":{"href":"https://github.com/Kitware/fletch/pull/48#discussion_r70423644"},"pull_request":{"href":"https://api.github.com/repos/Kitware/fletch/pulls/48"}}},"pull_request":{"url":"https://api.github.com/repos/Kitware/fletch/pulls/48","id":77029877,"html_url":"https://github.com/Kitware/fletch/pull/48","diff_url":"https://github.com/Kitware/fletch/pull/48.diff","patch_url":"https://github.com/Kitware/fletch/pull/48.patch","issue_url":"https://api.github.com/repos/Kitware/fletch/issues/48","number":48,"state":"open","locked":false,"title":"VTK fix and VXL support","user":{"login":"hughed2","id":6194999,"avatar_url":"https://avatars.githubusercontent.com/u/6194999?v=3","gravatar_id":"","url":"https://api.github.com/users/hughed2","html_url":"https://github.com/hughed2","followers_url":"https://api.github.com/users/hughed2/followers","following_url":"https://api.github.com/users/hughed2/following{/other_user}","gists_url":"https://api.github.com/users/hughed2/gists{/gist_id}","starred_url":"https://api.github.com/users/hughed2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hughed2/subscriptions","organizations_url":"https://api.github.com/users/hughed2/orgs","repos_url":"https://api.github.com/users/hughed2/repos","events_url":"https://api.github.com/users/hughed2/events{/privacy}","received_events_url":"https://api.github.com/users/hughed2/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-07-11T21:54:22Z","updated_at":"2016-07-12T11:53:44Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0bfce8fc009d969749be029510e0ef2cca52596e","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/Kitware/fletch/pulls/48/commits","review_comments_url":"https://api.github.com/repos/Kitware/fletch/pulls/48/comments","review_comment_url":"https://api.github.com/repos/Kitware/fletch/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Kitware/fletch/issues/48/comments","statuses_url":"https://api.github.com/repos/Kitware/fletch/statuses/5b152e2f84671b8e9f86fa2e9b61ff23b8b65653","head":{"label":"hughed2:master","ref":"master","sha":"5b152e2f84671b8e9f86fa2e9b61ff23b8b65653","user":{"login":"hughed2","id":6194999,"avatar_url":"https://avatars.githubusercontent.com/u/6194999?v=3","gravatar_id":"","url":"https://api.github.com/users/hughed2","html_url":"https://github.com/hughed2","followers_url":"https://api.github.com/users/hughed2/followers","following_url":"https://api.github.com/users/hughed2/following{/other_user}","gists_url":"https://api.github.com/users/hughed2/gists{/gist_id}","starred_url":"https://api.github.com/users/hughed2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hughed2/subscriptions","organizations_url":"https://api.github.com/users/hughed2/orgs","repos_url":"https://api.github.com/users/hughed2/repos","events_url":"https://api.github.com/users/hughed2/events{/privacy}","received_events_url":"https://api.github.com/users/hughed2/received_events","type":"User","site_admin":false},"repo":{"id":62234494,"name":"fletch","full_name":"hughed2/fletch","owner":{"login":"hughed2","id":6194999,"avatar_url":"https://avatars.githubusercontent.com/u/6194999?v=3","gravatar_id":"","url":"https://api.github.com/users/hughed2","html_url":"https://github.com/hughed2","followers_url":"https://api.github.com/users/hughed2/followers","following_url":"https://api.github.com/users/hughed2/following{/other_user}","gists_url":"https://api.github.com/users/hughed2/gists{/gist_id}","starred_url":"https://api.github.com/users/hughed2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hughed2/subscriptions","organizations_url":"https://api.github.com/users/hughed2/orgs","repos_url":"https://api.github.com/users/hughed2/repos","events_url":"https://api.github.com/users/hughed2/events{/privacy}","received_events_url":"https://api.github.com/users/hughed2/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/hughed2/fletch","description":null,"fork":true,"url":"https://api.github.com/repos/hughed2/fletch","forks_url":"https://api.github.com/repos/hughed2/fletch/forks","keys_url":"https://api.github.com/repos/hughed2/fletch/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hughed2/fletch/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hughed2/fletch/teams","hooks_url":"https://api.github.com/repos/hughed2/fletch/hooks","issue_events_url":"https://api.github.com/repos/hughed2/fletch/issues/events{/number}","events_url":"https://api.github.com/repos/hughed2/fletch/events","assignees_url":"https://api.github.com/repos/hughed2/fletch/assignees{/user}","branches_url":"https://api.github.com/repos/hughed2/fletch/branches{/branch}","tags_url":"https://api.github.com/repos/hughed2/fletch/tags","blobs_url":"https://api.github.com/repos/hughed2/fletch/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hughed2/fletch/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hughed2/fletch/git/refs{/sha}","trees_url":"https://api.github.com/repos/hughed2/fletch/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hughed2/fletch/statuses/{sha}","languages_url":"https://api.github.com/repos/hughed2/fletch/languages","stargazers_url":"https://api.github.com/repos/hughed2/fletch/stargazers","contributors_url":"https://api.github.com/repos/hughed2/fletch/contributors","subscribers_url":"https://api.github.com/repos/hughed2/fletch/subscribers","subscription_url":"https://api.github.com/repos/hughed2/fletch/subscription","commits_url":"https://api.github.com/repos/hughed2/fletch/commits{/sha}","git_commits_url":"https://api.github.com/repos/hughed2/fletch/git/commits{/sha}","comments_url":"https://api.github.com/repos/hughed2/fletch/comments{/number}","issue_comment_url":"https://api.github.com/repos/hughed2/fletch/issues/comments{/number}","contents_url":"https://api.github.com/repos/hughed2/fletch/contents/{+path}","compare_url":"https://api.github.com/repos/hughed2/fletch/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hughed2/fletch/merges","archive_url":"https://api.github.com/repos/hughed2/fletch/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hughed2/fletch/downloads","issues_url":"https://api.github.com/repos/hughed2/fletch/issues{/number}","pulls_url":"https://api.github.com/repos/hughed2/fletch/pulls{/number}","milestones_url":"https://api.github.com/repos/hughed2/fletch/milestones{/number}","notifications_url":"https://api.github.com/repos/hughed2/fletch/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hughed2/fletch/labels{/name}","releases_url":"https://api.github.com/repos/hughed2/fletch/releases{/id}","deployments_url":"https://api.github.com/repos/hughed2/fletch/deployments","created_at":"2016-06-29T14:57:00Z","updated_at":"2016-06-29T14:57:02Z","pushed_at":"2016-07-11T21:53:01Z","git_url":"git://github.com/hughed2/fletch.git","ssh_url":"git@github.com:hughed2/fletch.git","clone_url":"https://github.com/hughed2/fletch.git","svn_url":"https://github.com/hughed2/fletch","homepage":null,"size":1384,"stargazers_count":0,"watchers_count":0,"language":"Objective-C++","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"Kitware:master","ref":"master","sha":"44eb4a2de67af9b2d8d113d0beb0f60a00faddde","user":{"login":"Kitware","id":87549,"avatar_url":"https://avatars.githubusercontent.com/u/87549?v=3","gravatar_id":"","url":"https://api.github.com/users/Kitware","html_url":"https://github.com/Kitware","followers_url":"https://api.github.com/users/Kitware/followers","following_url":"https://api.github.com/users/Kitware/following{/other_user}","gists_url":"https://api.github.com/users/Kitware/gists{/gist_id}","starred_url":"https://api.github.com/users/Kitware/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kitware/subscriptions","organizations_url":"https://api.github.com/users/Kitware/orgs","repos_url":"https://api.github.com/users/Kitware/repos","events_url":"https://api.github.com/users/Kitware/events{/privacy}","received_events_url":"https://api.github.com/users/Kitware/received_events","type":"Organization","site_admin":false},"repo":{"id":30549625,"name":"fletch","full_name":"Kitware/fletch","owner":{"login":"Kitware","id":87549,"avatar_url":"https://avatars.githubusercontent.com/u/87549?v=3","gravatar_id":"","url":"https://api.github.com/users/Kitware","html_url":"https://github.com/Kitware","followers_url":"https://api.github.com/users/Kitware/followers","following_url":"https://api.github.com/users/Kitware/following{/other_user}","gists_url":"https://api.github.com/users/Kitware/gists{/gist_id}","starred_url":"https://api.github.com/users/Kitware/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kitware/subscriptions","organizations_url":"https://api.github.com/users/Kitware/orgs","repos_url":"https://api.github.com/users/Kitware/repos","events_url":"https://api.github.com/users/Kitware/events{/privacy}","received_events_url":"https://api.github.com/users/Kitware/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Kitware/fletch","description":"","fork":false,"url":"https://api.github.com/repos/Kitware/fletch","forks_url":"https://api.github.com/repos/Kitware/fletch/forks","keys_url":"https://api.github.com/repos/Kitware/fletch/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Kitware/fletch/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Kitware/fletch/teams","hooks_url":"https://api.github.com/repos/Kitware/fletch/hooks","issue_events_url":"https://api.github.com/repos/Kitware/fletch/issues/events{/number}","events_url":"https://api.github.com/repos/Kitware/fletch/events","assignees_url":"https://api.github.com/repos/Kitware/fletch/assignees{/user}","branches_url":"https://api.github.com/repos/Kitware/fletch/branches{/branch}","tags_url":"https://api.github.com/repos/Kitware/fletch/tags","blobs_url":"https://api.github.com/repos/Kitware/fletch/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Kitware/fletch/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Kitware/fletch/git/refs{/sha}","trees_url":"https://api.github.com/repos/Kitware/fletch/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Kitware/fletch/statuses/{sha}","languages_url":"https://api.github.com/repos/Kitware/fletch/languages","stargazers_url":"https://api.github.com/repos/Kitware/fletch/stargazers","contributors_url":"https://api.github.com/repos/Kitware/fletch/contributors","subscribers_url":"https://api.github.com/repos/Kitware/fletch/subscribers","subscription_url":"https://api.github.com/repos/Kitware/fletch/subscription","commits_url":"https://api.github.com/repos/Kitware/fletch/commits{/sha}","git_commits_url":"https://api.github.com/repos/Kitware/fletch/git/commits{/sha}","comments_url":"https://api.github.com/repos/Kitware/fletch/comments{/number}","issue_comment_url":"https://api.github.com/repos/Kitware/fletch/issues/comments{/number}","contents_url":"https://api.github.com/repos/Kitware/fletch/contents/{+path}","compare_url":"https://api.github.com/repos/Kitware/fletch/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Kitware/fletch/merges","archive_url":"https://api.github.com/repos/Kitware/fletch/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Kitware/fletch/downloads","issues_url":"https://api.github.com/repos/Kitware/fletch/issues{/number}","pulls_url":"https://api.github.com/repos/Kitware/fletch/pulls{/number}","milestones_url":"https://api.github.com/repos/Kitware/fletch/milestones{/number}","notifications_url":"https://api.github.com/repos/Kitware/fletch/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Kitware/fletch/labels{/name}","releases_url":"https://api.github.com/repos/Kitware/fletch/releases{/id}","deployments_url":"https://api.github.com/repos/Kitware/fletch/deployments","created_at":"2015-02-09T17:54:44Z","updated_at":"2016-01-13T01:36:31Z","pushed_at":"2016-07-11T21:54:22Z","git_url":"git://github.com/Kitware/fletch.git","ssh_url":"git@github.com:Kitware/fletch.git","clone_url":"https://github.com/Kitware/fletch.git","svn_url":"https://github.com/Kitware/fletch","homepage":null,"size":1441,"stargazers_count":0,"watchers_count":0,"language":"Objective-C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":11,"mirror_url":null,"open_issues_count":13,"forks":11,"open_issues":13,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Kitware/fletch/pulls/48"},"html":{"href":"https://github.com/Kitware/fletch/pull/48"},"issue":{"href":"https://api.github.com/repos/Kitware/fletch/issues/48"},"comments":{"href":"https://api.github.com/repos/Kitware/fletch/issues/48/comments"},"review_comments":{"href":"https://api.github.com/repos/Kitware/fletch/pulls/48/comments"},"review_comment":{"href":"https://api.github.com/repos/Kitware/fletch/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Kitware/fletch/pulls/48/commits"},"statuses":{"href":"https://api.github.com/repos/Kitware/fletch/statuses/5b152e2f84671b8e9f86fa2e9b61ff23b8b65653"}}}}
{"actor":{"display_login":"dstoup"}}