{"action":"created","comment":{"url":"https://api.github.com/repos/dropbox/djinni/pulls/comments/155157841","pull_request_review_id":81428845,"id":155157841,"diff_hunk":"@@ -0,0 +1,66 @@\n+#!/bin/sh\n+\n+# This script helps you to build apple fat binaries.\n+# This uses the excellent https://github.com/leetal/ios-cmake cmake platform file.","path":"mac-build-support-lib.sh","position":4,"original_position":4,"commit_id":"327677154be9707c3b05d2173a3914bdb422affb","original_commit_id":"327677154be9707c3b05d2173a3914bdb422affb","user":{"login":"yageek","id":170917,"avatar_url":"https://avatars2.githubusercontent.com/u/170917?v=4","gravatar_id":"","url":"https://api.github.com/users/yageek","html_url":"https://github.com/yageek","followers_url":"https://api.github.com/users/yageek/followers","following_url":"https://api.github.com/users/yageek/following{/other_user}","gists_url":"https://api.github.com/users/yageek/gists{/gist_id}","starred_url":"https://api.github.com/users/yageek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yageek/subscriptions","organizations_url":"https://api.github.com/users/yageek/orgs","repos_url":"https://api.github.com/users/yageek/repos","events_url":"https://api.github.com/users/yageek/events{/privacy}","received_events_url":"https://api.github.com/users/yageek/received_events","type":"User","site_admin":false},"body":"I'll add the sha-1 of the file inside the script.","created_at":"2017-12-06T06:51:42Z","updated_at":"2017-12-06T06:51:42Z","html_url":"https://github.com/dropbox/djinni/pull/341#discussion_r155157841","pull_request_url":"https://api.github.com/repos/dropbox/djinni/pulls/341","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/dropbox/djinni/pulls/comments/155157841"},"html":{"href":"https://github.com/dropbox/djinni/pull/341#discussion_r155157841"},"pull_request":{"href":"https://api.github.com/repos/dropbox/djinni/pulls/341"}},"in_reply_to_id":155129840},"pull_request":{"url":"https://api.github.com/repos/dropbox/djinni/pulls/341","id":156430516,"html_url":"https://github.com/dropbox/djinni/pull/341","diff_url":"https://github.com/dropbox/djinni/pull/341.diff","patch_url":"https://github.com/dropbox/djinni/pull/341.patch","issue_url":"https://api.github.com/repos/dropbox/djinni/issues/341","number":341,"state":"open","locked":false,"title":"Add a script to build static fat binary lib.","user":{"login":"yageek","id":170917,"avatar_url":"https://avatars2.githubusercontent.com/u/170917?v=4","gravatar_id":"","url":"https://api.github.com/users/yageek","html_url":"https://github.com/yageek","followers_url":"https://api.github.com/users/yageek/followers","following_url":"https://api.github.com/users/yageek/following{/other_user}","gists_url":"https://api.github.com/users/yageek/gists{/gist_id}","starred_url":"https://api.github.com/users/yageek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yageek/subscriptions","organizations_url":"https://api.github.com/users/yageek/orgs","repos_url":"https://api.github.com/users/yageek/repos","events_url":"https://api.github.com/users/yageek/events{/privacy}","received_events_url":"https://api.github.com/users/yageek/received_events","type":"User","site_admin":false},"body":"Based on the platform file provided by the [ios-cmake](https://github.com/leetal/ios-cmake) repository, I added a script helping to generate a fat static library for apple platforms.\r\nThis only builds the OBJC part of the support-lib for now.\r\n\r\nIt basically loops over an array of valid platforms and uses `lipo` to merge all the different generated `.a` files. \r\n\r\nThose files are generated inside the `out` directory. \r\nThe generated universal library is located at `out/libdjinni_support_lib_UNIVERSAL.a`\r\n","created_at":"2017-12-05T10:55:43Z","updated_at":"2017-12-06T06:51:42Z","closed_at":null,"merged_at":null,"merge_commit_sha":"601e374972b5bf63d994fab95f582a8d04cf3618","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/dropbox/djinni/pulls/341/commits","review_comments_url":"https://api.github.com/repos/dropbox/djinni/pulls/341/comments","review_comment_url":"https://api.github.com/repos/dropbox/djinni/pulls/comments{/number}","comments_url":"https://api.github.com/repos/dropbox/djinni/issues/341/comments","statuses_url":"https://api.github.com/repos/dropbox/djinni/statuses/327677154be9707c3b05d2173a3914bdb422affb","head":{"label":"yageek:feature/multiple_architecture","ref":"feature/multiple_architecture","sha":"327677154be9707c3b05d2173a3914bdb422affb","user":{"login":"yageek","id":170917,"avatar_url":"https://avatars2.githubusercontent.com/u/170917?v=4","gravatar_id":"","url":"https://api.github.com/users/yageek","html_url":"https://github.com/yageek","followers_url":"https://api.github.com/users/yageek/followers","following_url":"https://api.github.com/users/yageek/following{/other_user}","gists_url":"https://api.github.com/users/yageek/gists{/gist_id}","starred_url":"https://api.github.com/users/yageek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yageek/subscriptions","organizations_url":"https://api.github.com/users/yageek/orgs","repos_url":"https://api.github.com/users/yageek/repos","events_url":"https://api.github.com/users/yageek/events{/privacy}","received_events_url":"https://api.github.com/users/yageek/received_events","type":"User","site_admin":false},"repo":{"id":102489356,"name":"djinni","full_name":"yageek/djinni","owner":{"login":"yageek","id":170917,"avatar_url":"https://avatars2.githubusercontent.com/u/170917?v=4","gravatar_id":"","url":"https://api.github.com/users/yageek","html_url":"https://github.com/yageek","followers_url":"https://api.github.com/users/yageek/followers","following_url":"https://api.github.com/users/yageek/following{/other_user}","gists_url":"https://api.github.com/users/yageek/gists{/gist_id}","starred_url":"https://api.github.com/users/yageek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yageek/subscriptions","organizations_url":"https://api.github.com/users/yageek/orgs","repos_url":"https://api.github.com/users/yageek/repos","events_url":"https://api.github.com/users/yageek/events{/privacy}","received_events_url":"https://api.github.com/users/yageek/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/yageek/djinni","description":"A tool for generating cross-language type declarations and interface bindings.","fork":true,"url":"https://api.github.com/repos/yageek/djinni","forks_url":"https://api.github.com/repos/yageek/djinni/forks","keys_url":"https://api.github.com/repos/yageek/djinni/keys{/key_id}","collaborators_url":"https://api.github.com/repos/yageek/djinni/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/yageek/djinni/teams","hooks_url":"https://api.github.com/repos/yageek/djinni/hooks","issue_events_url":"https://api.github.com/repos/yageek/djinni/issues/events{/number}","events_url":"https://api.github.com/repos/yageek/djinni/events","assignees_url":"https://api.github.com/repos/yageek/djinni/assignees{/user}","branches_url":"https://api.github.com/repos/yageek/djinni/branches{/branch}","tags_url":"https://api.github.com/repos/yageek/djinni/tags","blobs_url":"https://api.github.com/repos/yageek/djinni/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/yageek/djinni/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/yageek/djinni/git/refs{/sha}","trees_url":"https://api.github.com/repos/yageek/djinni/git/trees{/sha}","statuses_url":"https://api.github.com/repos/yageek/djinni/statuses/{sha}","languages_url":"https://api.github.com/repos/yageek/djinni/languages","stargazers_url":"https://api.github.com/repos/yageek/djinni/stargazers","contributors_url":"https://api.github.com/repos/yageek/djinni/contributors","subscribers_url":"https://api.github.com/repos/yageek/djinni/subscribers","subscription_url":"https://api.github.com/repos/yageek/djinni/subscription","commits_url":"https://api.github.com/repos/yageek/djinni/commits{/sha}","git_commits_url":"https://api.github.com/repos/yageek/djinni/git/commits{/sha}","comments_url":"https://api.github.com/repos/yageek/djinni/comments{/number}","issue_comment_url":"https://api.github.com/repos/yageek/djinni/issues/comments{/number}","contents_url":"https://api.github.com/repos/yageek/djinni/contents/{+path}","compare_url":"https://api.github.com/repos/yageek/djinni/compare/{base}...{head}","merges_url":"https://api.github.com/repos/yageek/djinni/merges","archive_url":"https://api.github.com/repos/yageek/djinni/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/yageek/djinni/downloads","issues_url":"https://api.github.com/repos/yageek/djinni/issues{/number}","pulls_url":"https://api.github.com/repos/yageek/djinni/pulls{/number}","milestones_url":"https://api.github.com/repos/yageek/djinni/milestones{/number}","notifications_url":"https://api.github.com/repos/yageek/djinni/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/yageek/djinni/labels{/name}","releases_url":"https://api.github.com/repos/yageek/djinni/releases{/id}","deployments_url":"https://api.github.com/repos/yageek/djinni/deployments","created_at":"2017-09-05T14:09:41Z","updated_at":"2017-09-05T14:09:44Z","pushed_at":"2017-12-05T10:56:24Z","git_url":"git://github.com/yageek/djinni.git","ssh_url":"git@github.com:yageek/djinni.git","clone_url":"https://github.com/yageek/djinni.git","svn_url":"https://github.com/yageek/djinni","homepage":"","size":3451,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"dropbox:master","ref":"master","sha":"e675e31975a1d2246eb1a25e93017d241c4976b7","user":{"login":"dropbox","id":559357,"avatar_url":"https://avatars1.githubusercontent.com/u/559357?v=4","gravatar_id":"","url":"https://api.github.com/users/dropbox","html_url":"https://github.com/dropbox","followers_url":"https://api.github.com/users/dropbox/followers","following_url":"https://api.github.com/users/dropbox/following{/other_user}","gists_url":"https://api.github.com/users/dropbox/gists{/gist_id}","starred_url":"https://api.github.com/users/dropbox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dropbox/subscriptions","organizations_url":"https://api.github.com/users/dropbox/orgs","repos_url":"https://api.github.com/users/dropbox/repos","events_url":"https://api.github.com/users/dropbox/events{/privacy}","received_events_url":"https://api.github.com/users/dropbox/received_events","type":"Organization","site_admin":false},"repo":{"id":23806326,"name":"djinni","full_name":"dropbox/djinni","owner":{"login":"dropbox","id":559357,"avatar_url":"https://avatars1.githubusercontent.com/u/559357?v=4","gravatar_id":"","url":"https://api.github.com/users/dropbox","html_url":"https://github.com/dropbox","followers_url":"https://api.github.com/users/dropbox/followers","following_url":"https://api.github.com/users/dropbox/following{/other_user}","gists_url":"https://api.github.com/users/dropbox/gists{/gist_id}","starred_url":"https://api.github.com/users/dropbox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dropbox/subscriptions","organizations_url":"https://api.github.com/users/dropbox/orgs","repos_url":"https://api.github.com/users/dropbox/repos","events_url":"https://api.github.com/users/dropbox/events{/privacy}","received_events_url":"https://api.github.com/users/dropbox/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/dropbox/djinni","description":"A tool for generating cross-language type declarations and interface bindings.","fork":false,"url":"https://api.github.com/repos/dropbox/djinni","forks_url":"https://api.github.com/repos/dropbox/djinni/forks","keys_url":"https://api.github.com/repos/dropbox/djinni/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dropbox/djinni/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dropbox/djinni/teams","hooks_url":"https://api.github.com/repos/dropbox/djinni/hooks","issue_events_url":"https://api.github.com/repos/dropbox/djinni/issues/events{/number}","events_url":"https://api.github.com/repos/dropbox/djinni/events","assignees_url":"https://api.github.com/repos/dropbox/djinni/assignees{/user}","branches_url":"https://api.github.com/repos/dropbox/djinni/branches{/branch}","tags_url":"https://api.github.com/repos/dropbox/djinni/tags","blobs_url":"https://api.github.com/repos/dropbox/djinni/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dropbox/djinni/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dropbox/djinni/git/refs{/sha}","trees_url":"https://api.github.com/repos/dropbox/djinni/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dropbox/djinni/statuses/{sha}","languages_url":"https://api.github.com/repos/dropbox/djinni/languages","stargazers_url":"https://api.github.com/repos/dropbox/djinni/stargazers","contributors_url":"https://api.github.com/repos/dropbox/djinni/contributors","subscribers_url":"https://api.github.com/repos/dropbox/djinni/subscribers","subscription_url":"https://api.github.com/repos/dropbox/djinni/subscription","commits_url":"https://api.github.com/repos/dropbox/djinni/commits{/sha}","git_commits_url":"https://api.github.com/repos/dropbox/djinni/git/commits{/sha}","comments_url":"https://api.github.com/repos/dropbox/djinni/comments{/number}","issue_comment_url":"https://api.github.com/repos/dropbox/djinni/issues/comments{/number}","contents_url":"https://api.github.com/repos/dropbox/djinni/contents/{+path}","compare_url":"https://api.github.com/repos/dropbox/djinni/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dropbox/djinni/merges","archive_url":"https://api.github.com/repos/dropbox/djinni/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dropbox/djinni/downloads","issues_url":"https://api.github.com/repos/dropbox/djinni/issues{/number}","pulls_url":"https://api.github.com/repos/dropbox/djinni/pulls{/number}","milestones_url":"https://api.github.com/repos/dropbox/djinni/milestones{/number}","notifications_url":"https://api.github.com/repos/dropbox/djinni/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dropbox/djinni/labels{/name}","releases_url":"https://api.github.com/repos/dropbox/djinni/releases{/id}","deployments_url":"https://api.github.com/repos/dropbox/djinni/deployments","created_at":"2014-09-08T20:09:32Z","updated_at":"2017-12-05T01:55:37Z","pushed_at":"2017-12-05T10:56:25Z","git_url":"git://github.com/dropbox/djinni.git","ssh_url":"git@github.com:dropbox/djinni.git","clone_url":"https://github.com/dropbox/djinni.git","svn_url":"https://github.com/dropbox/djinni","homepage":"","size":3477,"stargazers_count":1734,"watchers_count":1734,"language":"C++","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":265,"mirror_url":null,"archived":false,"open_issues_count":50,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0"},"forks":265,"open_issues":50,"watchers":1734,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/dropbox/djinni/pulls/341"},"html":{"href":"https://github.com/dropbox/djinni/pull/341"},"issue":{"href":"https://api.github.com/repos/dropbox/djinni/issues/341"},"comments":{"href":"https://api.github.com/repos/dropbox/djinni/issues/341/comments"},"review_comments":{"href":"https://api.github.com/repos/dropbox/djinni/pulls/341/comments"},"review_comment":{"href":"https://api.github.com/repos/dropbox/djinni/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/dropbox/djinni/pulls/341/commits"},"statuses":{"href":"https://api.github.com/repos/dropbox/djinni/statuses/327677154be9707c3b05d2173a3914bdb422affb"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"yageek"}}