{"action":"created","comment":{"url":"https://api.github.com/repos/kripken/emscripten/pulls/comments/30091772","id":30091772,"diff_hunk":"@@ -116,6 +117,14 @@ def build(src, result_libs, args=[]):\n       build('''\n         int main() {}\n       ''', [os.path.join('ports-builds', 'zlib', 'libz.a')], ['-s', 'USE_ZLIB=1'])\n+    elif what == 'libpng':\n+      build('''\n+        int main() {}\n+      ''', [os.path.join('ports-builds', 'libpng', 'libpng.bc')], ['-s', 'USE_ZLIB=1', '-s', 'USE_LIBPNG=1'])","path":"embuilder.py","position":15,"original_position":15,"commit_id":"5ef4ca09642eeb04112b4c61dce869276135f538","original_commit_id":"5ef4ca09642eeb04112b4c61dce869276135f538","user":{"login":"kripken","id":173661,"avatar_url":"https://avatars.githubusercontent.com/u/173661?v=3","gravatar_id":"","url":"https://api.github.com/users/kripken","html_url":"https://github.com/kripken","followers_url":"https://api.github.com/users/kripken/followers","following_url":"https://api.github.com/users/kripken/following{/other_user}","gists_url":"https://api.github.com/users/kripken/gists{/gist_id}","starred_url":"https://api.github.com/users/kripken/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kripken/subscriptions","organizations_url":"https://api.github.com/users/kripken/orgs","repos_url":"https://api.github.com/users/kripken/repos","events_url":"https://api.github.com/users/kripken/events{/privacy}","received_events_url":"https://api.github.com/users/kripken/received_events","type":"User","site_admin":false},"body":"why is zlib here too?","created_at":"2015-05-11T23:11:11Z","updated_at":"2015-05-11T23:11:11Z","html_url":"https://github.com/kripken/emscripten/pull/3441#discussion_r30091772","pull_request_url":"https://api.github.com/repos/kripken/emscripten/pulls/3441","_links":{"self":{"href":"https://api.github.com/repos/kripken/emscripten/pulls/comments/30091772"},"html":{"href":"https://github.com/kripken/emscripten/pull/3441#discussion_r30091772"},"pull_request":{"href":"https://api.github.com/repos/kripken/emscripten/pulls/3441"}}},"pull_request":{"url":"https://api.github.com/repos/kripken/emscripten/pulls/3441","id":34998131,"html_url":"https://github.com/kripken/emscripten/pull/3441","diff_url":"https://github.com/kripken/emscripten/pull/3441.diff","patch_url":"https://github.com/kripken/emscripten/pull/3441.patch","issue_url":"https://api.github.com/repos/kripken/emscripten/issues/3441","number":3441,"state":"open","locked":false,"title":"add libpng to ports","user":{"login":"nadult","id":3227675,"avatar_url":"https://avatars.githubusercontent.com/u/3227675?v=3","gravatar_id":"","url":"https://api.github.com/users/nadult","html_url":"https://github.com/nadult","followers_url":"https://api.github.com/users/nadult/followers","following_url":"https://api.github.com/users/nadult/following{/other_user}","gists_url":"https://api.github.com/users/nadult/gists{/gist_id}","starred_url":"https://api.github.com/users/nadult/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nadult/subscriptions","organizations_url":"https://api.github.com/users/nadult/orgs","repos_url":"https://api.github.com/users/nadult/repos","events_url":"https://api.github.com/users/nadult/events{/privacy}","received_events_url":"https://api.github.com/users/nadult/received_events","type":"User","site_admin":false},"body":"Hi, I've added libpng to ports. The python script is downloading libpng from sourforge, maybe this should be changed to github/enscriten-ports?","created_at":"2015-05-08T10:44:01Z","updated_at":"2015-05-11T23:11:11Z","closed_at":null,"merged_at":null,"merge_commit_sha":"067ef246a9b66fb3f8d61f6bb610c15acd5f6d18","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/kripken/emscripten/pulls/3441/commits","review_comments_url":"https://api.github.com/repos/kripken/emscripten/pulls/3441/comments","review_comment_url":"https://api.github.com/repos/kripken/emscripten/pulls/comments{/number}","comments_url":"https://api.github.com/repos/kripken/emscripten/issues/3441/comments","statuses_url":"https://api.github.com/repos/kripken/emscripten/statuses/5ef4ca09642eeb04112b4c61dce869276135f538","head":{"label":"nadult:master","ref":"master","sha":"5ef4ca09642eeb04112b4c61dce869276135f538","user":{"login":"nadult","id":3227675,"avatar_url":"https://avatars.githubusercontent.com/u/3227675?v=3","gravatar_id":"","url":"https://api.github.com/users/nadult","html_url":"https://github.com/nadult","followers_url":"https://api.github.com/users/nadult/followers","following_url":"https://api.github.com/users/nadult/following{/other_user}","gists_url":"https://api.github.com/users/nadult/gists{/gist_id}","starred_url":"https://api.github.com/users/nadult/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nadult/subscriptions","organizations_url":"https://api.github.com/users/nadult/orgs","repos_url":"https://api.github.com/users/nadult/repos","events_url":"https://api.github.com/users/nadult/events{/privacy}","received_events_url":"https://api.github.com/users/nadult/received_events","type":"User","site_admin":false},"repo":{"id":35271520,"name":"emscripten","full_name":"nadult/emscripten","owner":{"login":"nadult","id":3227675,"avatar_url":"https://avatars.githubusercontent.com/u/3227675?v=3","gravatar_id":"","url":"https://api.github.com/users/nadult","html_url":"https://github.com/nadult","followers_url":"https://api.github.com/users/nadult/followers","following_url":"https://api.github.com/users/nadult/following{/other_user}","gists_url":"https://api.github.com/users/nadult/gists{/gist_id}","starred_url":"https://api.github.com/users/nadult/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nadult/subscriptions","organizations_url":"https://api.github.com/users/nadult/orgs","repos_url":"https://api.github.com/users/nadult/repos","events_url":"https://api.github.com/users/nadult/events{/privacy}","received_events_url":"https://api.github.com/users/nadult/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/nadult/emscripten","description":"Emscripten: An LLVM-to-JavaScript Compiler","fork":true,"url":"https://api.github.com/repos/nadult/emscripten","forks_url":"https://api.github.com/repos/nadult/emscripten/forks","keys_url":"https://api.github.com/repos/nadult/emscripten/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nadult/emscripten/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nadult/emscripten/teams","hooks_url":"https://api.github.com/repos/nadult/emscripten/hooks","issue_events_url":"https://api.github.com/repos/nadult/emscripten/issues/events{/number}","events_url":"https://api.github.com/repos/nadult/emscripten/events","assignees_url":"https://api.github.com/repos/nadult/emscripten/assignees{/user}","branches_url":"https://api.github.com/repos/nadult/emscripten/branches{/branch}","tags_url":"https://api.github.com/repos/nadult/emscripten/tags","blobs_url":"https://api.github.com/repos/nadult/emscripten/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nadult/emscripten/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nadult/emscripten/git/refs{/sha}","trees_url":"https://api.github.com/repos/nadult/emscripten/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nadult/emscripten/statuses/{sha}","languages_url":"https://api.github.com/repos/nadult/emscripten/languages","stargazers_url":"https://api.github.com/repos/nadult/emscripten/stargazers","contributors_url":"https://api.github.com/repos/nadult/emscripten/contributors","subscribers_url":"https://api.github.com/repos/nadult/emscripten/subscribers","subscription_url":"https://api.github.com/repos/nadult/emscripten/subscription","commits_url":"https://api.github.com/repos/nadult/emscripten/commits{/sha}","git_commits_url":"https://api.github.com/repos/nadult/emscripten/git/commits{/sha}","comments_url":"https://api.github.com/repos/nadult/emscripten/comments{/number}","issue_comment_url":"https://api.github.com/repos/nadult/emscripten/issues/comments{/number}","contents_url":"https://api.github.com/repos/nadult/emscripten/contents/{+path}","compare_url":"https://api.github.com/repos/nadult/emscripten/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nadult/emscripten/merges","archive_url":"https://api.github.com/repos/nadult/emscripten/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nadult/emscripten/downloads","issues_url":"https://api.github.com/repos/nadult/emscripten/issues{/number}","pulls_url":"https://api.github.com/repos/nadult/emscripten/pulls{/number}","milestones_url":"https://api.github.com/repos/nadult/emscripten/milestones{/number}","notifications_url":"https://api.github.com/repos/nadult/emscripten/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nadult/emscripten/labels{/name}","releases_url":"https://api.github.com/repos/nadult/emscripten/releases{/id}","created_at":"2015-05-08T09:45:50Z","updated_at":"2015-05-08T10:36:53Z","pushed_at":"2015-05-08T21:23:29Z","git_url":"git://github.com/nadult/emscripten.git","ssh_url":"git@github.com:nadult/emscripten.git","clone_url":"https://github.com/nadult/emscripten.git","svn_url":"https://github.com/nadult/emscripten","homepage":"","size":127723,"stargazers_count":0,"watchers_count":0,"language":"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":"kripken:incoming","ref":"incoming","sha":"a06d3f1722da94158fe22168d196c44330643e87","user":{"login":"kripken","id":173661,"avatar_url":"https://avatars.githubusercontent.com/u/173661?v=3","gravatar_id":"","url":"https://api.github.com/users/kripken","html_url":"https://github.com/kripken","followers_url":"https://api.github.com/users/kripken/followers","following_url":"https://api.github.com/users/kripken/following{/other_user}","gists_url":"https://api.github.com/users/kripken/gists{/gist_id}","starred_url":"https://api.github.com/users/kripken/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kripken/subscriptions","organizations_url":"https://api.github.com/users/kripken/orgs","repos_url":"https://api.github.com/users/kripken/repos","events_url":"https://api.github.com/users/kripken/events{/privacy}","received_events_url":"https://api.github.com/users/kripken/received_events","type":"User","site_admin":false},"repo":{"id":1357796,"name":"emscripten","full_name":"kripken/emscripten","owner":{"login":"kripken","id":173661,"avatar_url":"https://avatars.githubusercontent.com/u/173661?v=3","gravatar_id":"","url":"https://api.github.com/users/kripken","html_url":"https://github.com/kripken","followers_url":"https://api.github.com/users/kripken/followers","following_url":"https://api.github.com/users/kripken/following{/other_user}","gists_url":"https://api.github.com/users/kripken/gists{/gist_id}","starred_url":"https://api.github.com/users/kripken/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kripken/subscriptions","organizations_url":"https://api.github.com/users/kripken/orgs","repos_url":"https://api.github.com/users/kripken/repos","events_url":"https://api.github.com/users/kripken/events{/privacy}","received_events_url":"https://api.github.com/users/kripken/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kripken/emscripten","description":"Emscripten: An LLVM-to-JavaScript Compiler","fork":false,"url":"https://api.github.com/repos/kripken/emscripten","forks_url":"https://api.github.com/repos/kripken/emscripten/forks","keys_url":"https://api.github.com/repos/kripken/emscripten/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kripken/emscripten/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kripken/emscripten/teams","hooks_url":"https://api.github.com/repos/kripken/emscripten/hooks","issue_events_url":"https://api.github.com/repos/kripken/emscripten/issues/events{/number}","events_url":"https://api.github.com/repos/kripken/emscripten/events","assignees_url":"https://api.github.com/repos/kripken/emscripten/assignees{/user}","branches_url":"https://api.github.com/repos/kripken/emscripten/branches{/branch}","tags_url":"https://api.github.com/repos/kripken/emscripten/tags","blobs_url":"https://api.github.com/repos/kripken/emscripten/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kripken/emscripten/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kripken/emscripten/git/refs{/sha}","trees_url":"https://api.github.com/repos/kripken/emscripten/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kripken/emscripten/statuses/{sha}","languages_url":"https://api.github.com/repos/kripken/emscripten/languages","stargazers_url":"https://api.github.com/repos/kripken/emscripten/stargazers","contributors_url":"https://api.github.com/repos/kripken/emscripten/contributors","subscribers_url":"https://api.github.com/repos/kripken/emscripten/subscribers","subscription_url":"https://api.github.com/repos/kripken/emscripten/subscription","commits_url":"https://api.github.com/repos/kripken/emscripten/commits{/sha}","git_commits_url":"https://api.github.com/repos/kripken/emscripten/git/commits{/sha}","comments_url":"https://api.github.com/repos/kripken/emscripten/comments{/number}","issue_comment_url":"https://api.github.com/repos/kripken/emscripten/issues/comments{/number}","contents_url":"https://api.github.com/repos/kripken/emscripten/contents/{+path}","compare_url":"https://api.github.com/repos/kripken/emscripten/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kripken/emscripten/merges","archive_url":"https://api.github.com/repos/kripken/emscripten/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kripken/emscripten/downloads","issues_url":"https://api.github.com/repos/kripken/emscripten/issues{/number}","pulls_url":"https://api.github.com/repos/kripken/emscripten/pulls{/number}","milestones_url":"https://api.github.com/repos/kripken/emscripten/milestones{/number}","notifications_url":"https://api.github.com/repos/kripken/emscripten/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kripken/emscripten/labels{/name}","releases_url":"https://api.github.com/repos/kripken/emscripten/releases{/id}","created_at":"2011-02-12T05:23:30Z","updated_at":"2015-05-11T22:23:26Z","pushed_at":"2015-05-11T05:14:13Z","git_url":"git://github.com/kripken/emscripten.git","ssh_url":"git@github.com:kripken/emscripten.git","clone_url":"https://github.com/kripken/emscripten.git","svn_url":"https://github.com/kripken/emscripten","homepage":"","size":225194,"stargazers_count":8285,"watchers_count":8285,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":951,"mirror_url":null,"open_issues_count":575,"forks":951,"open_issues":575,"watchers":8285,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/kripken/emscripten/pulls/3441"},"html":{"href":"https://github.com/kripken/emscripten/pull/3441"},"issue":{"href":"https://api.github.com/repos/kripken/emscripten/issues/3441"},"comments":{"href":"https://api.github.com/repos/kripken/emscripten/issues/3441/comments"},"review_comments":{"href":"https://api.github.com/repos/kripken/emscripten/pulls/3441/comments"},"review_comment":{"href":"https://api.github.com/repos/kripken/emscripten/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/kripken/emscripten/pulls/3441/commits"},"statuses":{"href":"https://api.github.com/repos/kripken/emscripten/statuses/5ef4ca09642eeb04112b4c61dce869276135f538"}}}}