{"action":"opened","number":571,"pull_request":{"url":"https://api.github.com/repos/Automattic/node-canvas/pulls/571","id":38731235,"html_url":"https://github.com/Automattic/node-canvas/pull/571","diff_url":"https://github.com/Automattic/node-canvas/pull/571.diff","patch_url":"https://github.com/Automattic/node-canvas/pull/571.patch","issue_url":"https://api.github.com/repos/Automattic/node-canvas/issues/571","number":571,"state":"open","locked":false,"title":"Support for FBDev, statically linked library and musl","user":{"login":"piranna","id":532414,"avatar_url":"https://avatars.githubusercontent.com/u/532414?v=3","gravatar_id":"","url":"https://api.github.com/users/piranna","html_url":"https://github.com/piranna","followers_url":"https://api.github.com/users/piranna/followers","following_url":"https://api.github.com/users/piranna/following{/other_user}","gists_url":"https://api.github.com/users/piranna/gists{/gist_id}","starred_url":"https://api.github.com/users/piranna/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/piranna/subscriptions","organizations_url":"https://api.github.com/users/piranna/orgs","repos_url":"https://api.github.com/users/piranna/repos","events_url":"https://api.github.com/users/piranna/events{/privacy}","received_events_url":"https://api.github.com/users/piranna/received_events","type":"User","site_admin":false},"body":"This pull-request is work in progress, but it works :-) I've open early to discuss about how to integrate it. It has the next features:\r\n\r\n* updated dependencies, both npm and libraries. This last ones are only done on their current version branch to prevent incompatibilies on newer ones that would require modify the code.\r\n* allow to use FBDev as backend, so node-canvas can be used to draw on the console. This is done thanks to the work of @ReneHollander at https://github.com/ReneHollander/node-canvas, that also added some basic support for a selectable backend support.\r\n* compile it as a statically linked library without dependencies on any external dynamic library. This is based on the work of @magicode at https://github.com/magicode/node-canvas, although I needed to do some fix-ups due to undefined references.\r\n* musl support as C lib instead of glibc, that since don't support lazy linking is the reason why I need to fix the undefined references.\r\n\r\nAll of this makes it possible to use node-canvas to draw on the console on [NodeOS](https://github.com/NodeOS/NodeOS).\r\n\r\nFirst step will to update the code with current master, and later improve the FbDev support and the alternatives backends, probably making them selectable at compile time.","created_at":"2015-06-28T20:21:10Z","updated_at":"2015-06-28T20:21:10Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Automattic/node-canvas/pulls/571/commits","review_comments_url":"https://api.github.com/repos/Automattic/node-canvas/pulls/571/comments","review_comment_url":"https://api.github.com/repos/Automattic/node-canvas/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Automattic/node-canvas/issues/571/comments","statuses_url":"https://api.github.com/repos/Automattic/node-canvas/statuses/e8de74d74e12af3293ecfe3fe64bc4b45955737f","head":{"label":"NodeOS:master","ref":"master","sha":"e8de74d74e12af3293ecfe3fe64bc4b45955737f","user":{"login":"NodeOS","id":5056162,"avatar_url":"https://avatars.githubusercontent.com/u/5056162?v=3","gravatar_id":"","url":"https://api.github.com/users/NodeOS","html_url":"https://github.com/NodeOS","followers_url":"https://api.github.com/users/NodeOS/followers","following_url":"https://api.github.com/users/NodeOS/following{/other_user}","gists_url":"https://api.github.com/users/NodeOS/gists{/gist_id}","starred_url":"https://api.github.com/users/NodeOS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NodeOS/subscriptions","organizations_url":"https://api.github.com/users/NodeOS/orgs","repos_url":"https://api.github.com/users/NodeOS/repos","events_url":"https://api.github.com/users/NodeOS/events{/privacy}","received_events_url":"https://api.github.com/users/NodeOS/received_events","type":"Organization","site_admin":false},"repo":{"id":34947014,"name":"node-canvas","full_name":"NodeOS/node-canvas","owner":{"login":"NodeOS","id":5056162,"avatar_url":"https://avatars.githubusercontent.com/u/5056162?v=3","gravatar_id":"","url":"https://api.github.com/users/NodeOS","html_url":"https://github.com/NodeOS","followers_url":"https://api.github.com/users/NodeOS/followers","following_url":"https://api.github.com/users/NodeOS/following{/other_user}","gists_url":"https://api.github.com/users/NodeOS/gists{/gist_id}","starred_url":"https://api.github.com/users/NodeOS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NodeOS/subscriptions","organizations_url":"https://api.github.com/users/NodeOS/orgs","repos_url":"https://api.github.com/users/NodeOS/repos","events_url":"https://api.github.com/users/NodeOS/events{/privacy}","received_events_url":"https://api.github.com/users/NodeOS/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/NodeOS/node-canvas","description":"Node canvas is a Cairo backed Canvas implementation for NodeJS.","fork":true,"url":"https://api.github.com/repos/NodeOS/node-canvas","forks_url":"https://api.github.com/repos/NodeOS/node-canvas/forks","keys_url":"https://api.github.com/repos/NodeOS/node-canvas/keys{/key_id}","collaborators_url":"https://api.github.com/repos/NodeOS/node-canvas/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/NodeOS/node-canvas/teams","hooks_url":"https://api.github.com/repos/NodeOS/node-canvas/hooks","issue_events_url":"https://api.github.com/repos/NodeOS/node-canvas/issues/events{/number}","events_url":"https://api.github.com/repos/NodeOS/node-canvas/events","assignees_url":"https://api.github.com/repos/NodeOS/node-canvas/assignees{/user}","branches_url":"https://api.github.com/repos/NodeOS/node-canvas/branches{/branch}","tags_url":"https://api.github.com/repos/NodeOS/node-canvas/tags","blobs_url":"https://api.github.com/repos/NodeOS/node-canvas/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/NodeOS/node-canvas/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/NodeOS/node-canvas/git/refs{/sha}","trees_url":"https://api.github.com/repos/NodeOS/node-canvas/git/trees{/sha}","statuses_url":"https://api.github.com/repos/NodeOS/node-canvas/statuses/{sha}","languages_url":"https://api.github.com/repos/NodeOS/node-canvas/languages","stargazers_url":"https://api.github.com/repos/NodeOS/node-canvas/stargazers","contributors_url":"https://api.github.com/repos/NodeOS/node-canvas/contributors","subscribers_url":"https://api.github.com/repos/NodeOS/node-canvas/subscribers","subscription_url":"https://api.github.com/repos/NodeOS/node-canvas/subscription","commits_url":"https://api.github.com/repos/NodeOS/node-canvas/commits{/sha}","git_commits_url":"https://api.github.com/repos/NodeOS/node-canvas/git/commits{/sha}","comments_url":"https://api.github.com/repos/NodeOS/node-canvas/comments{/number}","issue_comment_url":"https://api.github.com/repos/NodeOS/node-canvas/issues/comments{/number}","contents_url":"https://api.github.com/repos/NodeOS/node-canvas/contents/{+path}","compare_url":"https://api.github.com/repos/NodeOS/node-canvas/compare/{base}...{head}","merges_url":"https://api.github.com/repos/NodeOS/node-canvas/merges","archive_url":"https://api.github.com/repos/NodeOS/node-canvas/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/NodeOS/node-canvas/downloads","issues_url":"https://api.github.com/repos/NodeOS/node-canvas/issues{/number}","pulls_url":"https://api.github.com/repos/NodeOS/node-canvas/pulls{/number}","milestones_url":"https://api.github.com/repos/NodeOS/node-canvas/milestones{/number}","notifications_url":"https://api.github.com/repos/NodeOS/node-canvas/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/NodeOS/node-canvas/labels{/name}","releases_url":"https://api.github.com/repos/NodeOS/node-canvas/releases{/id}","created_at":"2015-05-02T12:30:40Z","updated_at":"2015-05-02T23:44:32Z","pushed_at":"2015-06-28T17:54:03Z","git_url":"git://github.com/NodeOS/node-canvas.git","ssh_url":"git@github.com:NodeOS/node-canvas.git","clone_url":"https://github.com/NodeOS/node-canvas.git","svn_url":"https://github.com/NodeOS/node-canvas","homepage":"www.automattic.com","size":2736,"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":"Automattic:master","ref":"master","sha":"a7c9c0ddb556d8a5c5f683e9f41075ad9cda94e8","user":{"login":"Automattic","id":887802,"avatar_url":"https://avatars.githubusercontent.com/u/887802?v=3","gravatar_id":"","url":"https://api.github.com/users/Automattic","html_url":"https://github.com/Automattic","followers_url":"https://api.github.com/users/Automattic/followers","following_url":"https://api.github.com/users/Automattic/following{/other_user}","gists_url":"https://api.github.com/users/Automattic/gists{/gist_id}","starred_url":"https://api.github.com/users/Automattic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Automattic/subscriptions","organizations_url":"https://api.github.com/users/Automattic/orgs","repos_url":"https://api.github.com/users/Automattic/repos","events_url":"https://api.github.com/users/Automattic/events{/privacy}","received_events_url":"https://api.github.com/users/Automattic/received_events","type":"Organization","site_admin":false},"repo":{"id":948957,"name":"node-canvas","full_name":"Automattic/node-canvas","owner":{"login":"Automattic","id":887802,"avatar_url":"https://avatars.githubusercontent.com/u/887802?v=3","gravatar_id":"","url":"https://api.github.com/users/Automattic","html_url":"https://github.com/Automattic","followers_url":"https://api.github.com/users/Automattic/followers","following_url":"https://api.github.com/users/Automattic/following{/other_user}","gists_url":"https://api.github.com/users/Automattic/gists{/gist_id}","starred_url":"https://api.github.com/users/Automattic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Automattic/subscriptions","organizations_url":"https://api.github.com/users/Automattic/orgs","repos_url":"https://api.github.com/users/Automattic/repos","events_url":"https://api.github.com/users/Automattic/events{/privacy}","received_events_url":"https://api.github.com/users/Automattic/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Automattic/node-canvas","description":"Node canvas is a Cairo backed Canvas implementation for NodeJS.","fork":false,"url":"https://api.github.com/repos/Automattic/node-canvas","forks_url":"https://api.github.com/repos/Automattic/node-canvas/forks","keys_url":"https://api.github.com/repos/Automattic/node-canvas/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Automattic/node-canvas/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Automattic/node-canvas/teams","hooks_url":"https://api.github.com/repos/Automattic/node-canvas/hooks","issue_events_url":"https://api.github.com/repos/Automattic/node-canvas/issues/events{/number}","events_url":"https://api.github.com/repos/Automattic/node-canvas/events","assignees_url":"https://api.github.com/repos/Automattic/node-canvas/assignees{/user}","branches_url":"https://api.github.com/repos/Automattic/node-canvas/branches{/branch}","tags_url":"https://api.github.com/repos/Automattic/node-canvas/tags","blobs_url":"https://api.github.com/repos/Automattic/node-canvas/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Automattic/node-canvas/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Automattic/node-canvas/git/refs{/sha}","trees_url":"https://api.github.com/repos/Automattic/node-canvas/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Automattic/node-canvas/statuses/{sha}","languages_url":"https://api.github.com/repos/Automattic/node-canvas/languages","stargazers_url":"https://api.github.com/repos/Automattic/node-canvas/stargazers","contributors_url":"https://api.github.com/repos/Automattic/node-canvas/contributors","subscribers_url":"https://api.github.com/repos/Automattic/node-canvas/subscribers","subscription_url":"https://api.github.com/repos/Automattic/node-canvas/subscription","commits_url":"https://api.github.com/repos/Automattic/node-canvas/commits{/sha}","git_commits_url":"https://api.github.com/repos/Automattic/node-canvas/git/commits{/sha}","comments_url":"https://api.github.com/repos/Automattic/node-canvas/comments{/number}","issue_comment_url":"https://api.github.com/repos/Automattic/node-canvas/issues/comments{/number}","contents_url":"https://api.github.com/repos/Automattic/node-canvas/contents/{+path}","compare_url":"https://api.github.com/repos/Automattic/node-canvas/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Automattic/node-canvas/merges","archive_url":"https://api.github.com/repos/Automattic/node-canvas/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Automattic/node-canvas/downloads","issues_url":"https://api.github.com/repos/Automattic/node-canvas/issues{/number}","pulls_url":"https://api.github.com/repos/Automattic/node-canvas/pulls{/number}","milestones_url":"https://api.github.com/repos/Automattic/node-canvas/milestones{/number}","notifications_url":"https://api.github.com/repos/Automattic/node-canvas/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Automattic/node-canvas/labels{/name}","releases_url":"https://api.github.com/repos/Automattic/node-canvas/releases{/id}","created_at":"2010-09-29T17:31:21Z","updated_at":"2015-06-27T10:08:14Z","pushed_at":"2015-06-23T12:43:29Z","git_url":"git://github.com/Automattic/node-canvas.git","ssh_url":"git@github.com:Automattic/node-canvas.git","clone_url":"https://github.com/Automattic/node-canvas.git","svn_url":"https://github.com/Automattic/node-canvas","homepage":"www.automattic.com","size":4052,"stargazers_count":2387,"watchers_count":2387,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":355,"mirror_url":null,"open_issues_count":245,"forks":355,"open_issues":245,"watchers":2387,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Automattic/node-canvas/pulls/571"},"html":{"href":"https://github.com/Automattic/node-canvas/pull/571"},"issue":{"href":"https://api.github.com/repos/Automattic/node-canvas/issues/571"},"comments":{"href":"https://api.github.com/repos/Automattic/node-canvas/issues/571/comments"},"review_comments":{"href":"https://api.github.com/repos/Automattic/node-canvas/pulls/571/comments"},"review_comment":{"href":"https://api.github.com/repos/Automattic/node-canvas/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Automattic/node-canvas/pulls/571/commits"},"statuses":{"href":"https://api.github.com/repos/Automattic/node-canvas/statuses/e8de74d74e12af3293ecfe3fe64bc4b45955737f"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":32,"additions":2730,"deletions":427,"changed_files":63}}