{"action":"opened","number":2,"pull_request":{"url":"https://api.github.com/repos/pieper/CommonGL/pulls/2","id":55510003,"html_url":"https://github.com/pieper/CommonGL/pull/2","diff_url":"https://github.com/pieper/CommonGL/pull/2.diff","patch_url":"https://github.com/pieper/CommonGL/pull/2.patch","issue_url":"https://api.github.com/repos/pieper/CommonGL/issues/2","number":2,"state":"open","locked":false,"title":"Fix VTK GL error build error.","user":{"login":"jcfr","id":219043,"avatar_url":"https://avatars.githubusercontent.com/u/219043?v=3","gravatar_id":"","url":"https://api.github.com/users/jcfr","html_url":"https://github.com/jcfr","followers_url":"https://api.github.com/users/jcfr/followers","following_url":"https://api.github.com/users/jcfr/following{/other_user}","gists_url":"https://api.github.com/users/jcfr/gists{/gist_id}","starred_url":"https://api.github.com/users/jcfr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jcfr/subscriptions","organizations_url":"https://api.github.com/users/jcfr/orgs","repos_url":"https://api.github.com/users/jcfr/repos","events_url":"https://api.github.com/users/jcfr/events{/privacy}","received_events_url":"https://api.github.com/users/jcfr/received_events","type":"User","site_admin":false},"body":"Errors like the following\n\nCommonGL/ShadedActor/Logic/vtkOpenGLShaderComputation.cxx:147:42: error: ‘GL_FRAGMENT_SHADER’ was not declared in this scope\n   fragmentShader = CompileShader ( this, GL_FRAGMENT_SHADER, this->FragmentShaderSource );\n\n\nhave been fixed with these mystical one liners:\n\nfile=/home/jcfr/Projects/sandbox/CommonGL/ShadedActor/Logic/vtkOpenGLShaderComputation.cxx\n\nfor i in $(make 2>&1  | ack \"error\\: \\‘gl\" | cut -d\":\" -f5 | sed -e \"s/’ / /g\" | sed -e \"s/ ‘//g\" | sed -e \"s/ was not declared in this scope//g\"); do   func=$(echo $i | sed -e \"s/gl//g\");   echo \"Replacing 'gl$func' with 'vtkgl::$func'\"; cat $file | sed -e \"s/gl$func/vtkgl::$func/g\" > $file.tmp; mv $file.tmp $file; done\n\nfor i in $(make 2>&1  | ack \"error\\: \\‘GL_\" | cut -d\":\" -f5 | sed -e \"s/’ / /g\" | sed -e \"s/ ‘//g\" | sed -e \"s/ was not declared in this scope//g\"); do   func=$(echo $i | sed -e \"s/GL_//g\");   echo \"Replacing 'GL_$func' with 'vtkgl::$func'\"; cat $file | sed -e \"s/GL_$func/vtkgl::$func/g\" > $file.tmp; mv $file.tmp $file; done\n\nCo-authored-by: Steve Pieper <pieper@bwh.harvard.edu>","created_at":"2016-01-08T21:01:23Z","updated_at":"2016-01-08T21:01:23Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/pieper/CommonGL/pulls/2/commits","review_comments_url":"https://api.github.com/repos/pieper/CommonGL/pulls/2/comments","review_comment_url":"https://api.github.com/repos/pieper/CommonGL/pulls/comments{/number}","comments_url":"https://api.github.com/repos/pieper/CommonGL/issues/2/comments","statuses_url":"https://api.github.com/repos/pieper/CommonGL/statuses/20bcd5c1f3b161e87e92b9afde468020ba053cba","head":{"label":"jcfr:fix-vtk-gl-build-errors","ref":"fix-vtk-gl-build-errors","sha":"20bcd5c1f3b161e87e92b9afde468020ba053cba","user":{"login":"jcfr","id":219043,"avatar_url":"https://avatars.githubusercontent.com/u/219043?v=3","gravatar_id":"","url":"https://api.github.com/users/jcfr","html_url":"https://github.com/jcfr","followers_url":"https://api.github.com/users/jcfr/followers","following_url":"https://api.github.com/users/jcfr/following{/other_user}","gists_url":"https://api.github.com/users/jcfr/gists{/gist_id}","starred_url":"https://api.github.com/users/jcfr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jcfr/subscriptions","organizations_url":"https://api.github.com/users/jcfr/orgs","repos_url":"https://api.github.com/users/jcfr/repos","events_url":"https://api.github.com/users/jcfr/events{/privacy}","received_events_url":"https://api.github.com/users/jcfr/received_events","type":"User","site_admin":false},"repo":{"id":49295996,"name":"CommonGL","full_name":"jcfr/CommonGL","owner":{"login":"jcfr","id":219043,"avatar_url":"https://avatars.githubusercontent.com/u/219043?v=3","gravatar_id":"","url":"https://api.github.com/users/jcfr","html_url":"https://github.com/jcfr","followers_url":"https://api.github.com/users/jcfr/followers","following_url":"https://api.github.com/users/jcfr/following{/other_user}","gists_url":"https://api.github.com/users/jcfr/gists{/gist_id}","starred_url":"https://api.github.com/users/jcfr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jcfr/subscriptions","organizations_url":"https://api.github.com/users/jcfr/orgs","repos_url":"https://api.github.com/users/jcfr/repos","events_url":"https://api.github.com/users/jcfr/events{/privacy}","received_events_url":"https://api.github.com/users/jcfr/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jcfr/CommonGL","description":"Experiments in GLSL shading for Slicer and other environments","fork":true,"url":"https://api.github.com/repos/jcfr/CommonGL","forks_url":"https://api.github.com/repos/jcfr/CommonGL/forks","keys_url":"https://api.github.com/repos/jcfr/CommonGL/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jcfr/CommonGL/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jcfr/CommonGL/teams","hooks_url":"https://api.github.com/repos/jcfr/CommonGL/hooks","issue_events_url":"https://api.github.com/repos/jcfr/CommonGL/issues/events{/number}","events_url":"https://api.github.com/repos/jcfr/CommonGL/events","assignees_url":"https://api.github.com/repos/jcfr/CommonGL/assignees{/user}","branches_url":"https://api.github.com/repos/jcfr/CommonGL/branches{/branch}","tags_url":"https://api.github.com/repos/jcfr/CommonGL/tags","blobs_url":"https://api.github.com/repos/jcfr/CommonGL/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jcfr/CommonGL/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jcfr/CommonGL/git/refs{/sha}","trees_url":"https://api.github.com/repos/jcfr/CommonGL/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jcfr/CommonGL/statuses/{sha}","languages_url":"https://api.github.com/repos/jcfr/CommonGL/languages","stargazers_url":"https://api.github.com/repos/jcfr/CommonGL/stargazers","contributors_url":"https://api.github.com/repos/jcfr/CommonGL/contributors","subscribers_url":"https://api.github.com/repos/jcfr/CommonGL/subscribers","subscription_url":"https://api.github.com/repos/jcfr/CommonGL/subscription","commits_url":"https://api.github.com/repos/jcfr/CommonGL/commits{/sha}","git_commits_url":"https://api.github.com/repos/jcfr/CommonGL/git/commits{/sha}","comments_url":"https://api.github.com/repos/jcfr/CommonGL/comments{/number}","issue_comment_url":"https://api.github.com/repos/jcfr/CommonGL/issues/comments{/number}","contents_url":"https://api.github.com/repos/jcfr/CommonGL/contents/{+path}","compare_url":"https://api.github.com/repos/jcfr/CommonGL/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jcfr/CommonGL/merges","archive_url":"https://api.github.com/repos/jcfr/CommonGL/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jcfr/CommonGL/downloads","issues_url":"https://api.github.com/repos/jcfr/CommonGL/issues{/number}","pulls_url":"https://api.github.com/repos/jcfr/CommonGL/pulls{/number}","milestones_url":"https://api.github.com/repos/jcfr/CommonGL/milestones{/number}","notifications_url":"https://api.github.com/repos/jcfr/CommonGL/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jcfr/CommonGL/labels{/name}","releases_url":"https://api.github.com/repos/jcfr/CommonGL/releases{/id}","created_at":"2016-01-08T21:01:13Z","updated_at":"2016-01-08T21:01:14Z","pushed_at":"2016-01-08T21:01:20Z","git_url":"git://github.com/jcfr/CommonGL.git","ssh_url":"git@github.com:jcfr/CommonGL.git","clone_url":"https://github.com/jcfr/CommonGL.git","svn_url":"https://github.com/jcfr/CommonGL","homepage":null,"size":836,"stargazers_count":0,"watchers_count":0,"language":"Python","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":"pieper:master","ref":"master","sha":"6d0f07a53d4ffc7ed358dac6d6b880b8143a008e","user":{"login":"pieper","id":126077,"avatar_url":"https://avatars.githubusercontent.com/u/126077?v=3","gravatar_id":"","url":"https://api.github.com/users/pieper","html_url":"https://github.com/pieper","followers_url":"https://api.github.com/users/pieper/followers","following_url":"https://api.github.com/users/pieper/following{/other_user}","gists_url":"https://api.github.com/users/pieper/gists{/gist_id}","starred_url":"https://api.github.com/users/pieper/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pieper/subscriptions","organizations_url":"https://api.github.com/users/pieper/orgs","repos_url":"https://api.github.com/users/pieper/repos","events_url":"https://api.github.com/users/pieper/events{/privacy}","received_events_url":"https://api.github.com/users/pieper/received_events","type":"User","site_admin":false},"repo":{"id":40736880,"name":"CommonGL","full_name":"pieper/CommonGL","owner":{"login":"pieper","id":126077,"avatar_url":"https://avatars.githubusercontent.com/u/126077?v=3","gravatar_id":"","url":"https://api.github.com/users/pieper","html_url":"https://github.com/pieper","followers_url":"https://api.github.com/users/pieper/followers","following_url":"https://api.github.com/users/pieper/following{/other_user}","gists_url":"https://api.github.com/users/pieper/gists{/gist_id}","starred_url":"https://api.github.com/users/pieper/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pieper/subscriptions","organizations_url":"https://api.github.com/users/pieper/orgs","repos_url":"https://api.github.com/users/pieper/repos","events_url":"https://api.github.com/users/pieper/events{/privacy}","received_events_url":"https://api.github.com/users/pieper/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/pieper/CommonGL","description":"Experiments in GLSL shading for Slicer and other environments","fork":false,"url":"https://api.github.com/repos/pieper/CommonGL","forks_url":"https://api.github.com/repos/pieper/CommonGL/forks","keys_url":"https://api.github.com/repos/pieper/CommonGL/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pieper/CommonGL/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pieper/CommonGL/teams","hooks_url":"https://api.github.com/repos/pieper/CommonGL/hooks","issue_events_url":"https://api.github.com/repos/pieper/CommonGL/issues/events{/number}","events_url":"https://api.github.com/repos/pieper/CommonGL/events","assignees_url":"https://api.github.com/repos/pieper/CommonGL/assignees{/user}","branches_url":"https://api.github.com/repos/pieper/CommonGL/branches{/branch}","tags_url":"https://api.github.com/repos/pieper/CommonGL/tags","blobs_url":"https://api.github.com/repos/pieper/CommonGL/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pieper/CommonGL/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pieper/CommonGL/git/refs{/sha}","trees_url":"https://api.github.com/repos/pieper/CommonGL/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pieper/CommonGL/statuses/{sha}","languages_url":"https://api.github.com/repos/pieper/CommonGL/languages","stargazers_url":"https://api.github.com/repos/pieper/CommonGL/stargazers","contributors_url":"https://api.github.com/repos/pieper/CommonGL/contributors","subscribers_url":"https://api.github.com/repos/pieper/CommonGL/subscribers","subscription_url":"https://api.github.com/repos/pieper/CommonGL/subscription","commits_url":"https://api.github.com/repos/pieper/CommonGL/commits{/sha}","git_commits_url":"https://api.github.com/repos/pieper/CommonGL/git/commits{/sha}","comments_url":"https://api.github.com/repos/pieper/CommonGL/comments{/number}","issue_comment_url":"https://api.github.com/repos/pieper/CommonGL/issues/comments{/number}","contents_url":"https://api.github.com/repos/pieper/CommonGL/contents/{+path}","compare_url":"https://api.github.com/repos/pieper/CommonGL/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pieper/CommonGL/merges","archive_url":"https://api.github.com/repos/pieper/CommonGL/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pieper/CommonGL/downloads","issues_url":"https://api.github.com/repos/pieper/CommonGL/issues{/number}","pulls_url":"https://api.github.com/repos/pieper/CommonGL/pulls{/number}","milestones_url":"https://api.github.com/repos/pieper/CommonGL/milestones{/number}","notifications_url":"https://api.github.com/repos/pieper/CommonGL/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pieper/CommonGL/labels{/name}","releases_url":"https://api.github.com/repos/pieper/CommonGL/releases{/id}","created_at":"2015-08-14T21:31:13Z","updated_at":"2015-12-09T23:02:47Z","pushed_at":"2015-12-23T23:28:34Z","git_url":"git://github.com/pieper/CommonGL.git","ssh_url":"git@github.com:pieper/CommonGL.git","clone_url":"https://github.com/pieper/CommonGL.git","svn_url":"https://github.com/pieper/CommonGL","homepage":null,"size":834,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":1,"forks":2,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/pieper/CommonGL/pulls/2"},"html":{"href":"https://github.com/pieper/CommonGL/pull/2"},"issue":{"href":"https://api.github.com/repos/pieper/CommonGL/issues/2"},"comments":{"href":"https://api.github.com/repos/pieper/CommonGL/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/pieper/CommonGL/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/pieper/CommonGL/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/pieper/CommonGL/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/pieper/CommonGL/statuses/20bcd5c1f3b161e87e92b9afde468020ba053cba"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":71,"deletions":71,"changed_files":3}}