{"action":"created","comment":{"url":"https://api.github.com/repos/HOST-Oman/scribus/pulls/comments/63803193","id":63803193,"diff_hunk":"@@ -1,86 +1,115 @@\n #!/bin/bash\n+\n ########################################################################\n # Package the binaries built on Travis-CI as an AppImage\n # By Simon Peter 2016\n # For more information, see http://appimage.org/\n ########################################################################\n+\n sudo apt-get -y install coreutils binutils python-tk\n+\n export ARCH=$(arch)\n+\n APP=Scribus\n-LOWERAPP=${APP,,}\n+LOWERAPP=${APP,,} \n+\n GIT_REV=$(git rev-parse --short HEAD)\n echo $GIT_REV\n-sudo make install DESTDIR=/$APP/$APP.AppDir\n-sudo chown -R $USER /$APP\n-cd /$APP/\n+make install DESTDIR=/home/travis/$APP/$APP.AppDir\n+\n+cd /home/travis/$APP/","path":"AppImage-package/bundle.sh","position":null,"original_position":24,"commit_id":"1ef3d4051773adcc4935069d18c93b0160955eca","original_commit_id":"1ef3d4051773adcc4935069d18c93b0160955eca","user":{"login":"khaledhosny","id":93914,"avatar_url":"https://avatars.githubusercontent.com/u/93914?v=3","gravatar_id":"","url":"https://api.github.com/users/khaledhosny","html_url":"https://github.com/khaledhosny","followers_url":"https://api.github.com/users/khaledhosny/followers","following_url":"https://api.github.com/users/khaledhosny/following{/other_user}","gists_url":"https://api.github.com/users/khaledhosny/gists{/gist_id}","starred_url":"https://api.github.com/users/khaledhosny/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/khaledhosny/subscriptions","organizations_url":"https://api.github.com/users/khaledhosny/orgs","repos_url":"https://api.github.com/users/khaledhosny/repos","events_url":"https://api.github.com/users/khaledhosny/events{/privacy}","received_events_url":"https://api.github.com/users/khaledhosny/received_events","type":"User","site_admin":false},"body":"Ditto.","created_at":"2016-05-18T23:53:18Z","updated_at":"2016-05-18T23:53:18Z","html_url":"https://github.com/HOST-Oman/scribus/pull/194#discussion_r63803193","pull_request_url":"https://api.github.com/repos/HOST-Oman/scribus/pulls/194","_links":{"self":{"href":"https://api.github.com/repos/HOST-Oman/scribus/pulls/comments/63803193"},"html":{"href":"https://github.com/HOST-Oman/scribus/pull/194#discussion_r63803193"},"pull_request":{"href":"https://api.github.com/repos/HOST-Oman/scribus/pulls/194"}}},"pull_request":{"url":"https://api.github.com/repos/HOST-Oman/scribus/pulls/194","id":70192982,"html_url":"https://github.com/HOST-Oman/scribus/pull/194","diff_url":"https://github.com/HOST-Oman/scribus/pull/194.diff","patch_url":"https://github.com/HOST-Oman/scribus/pull/194.patch","issue_url":"https://api.github.com/repos/HOST-Oman/scribus/issues/194","number":194,"state":"open","locked":false,"title":"Create and upload AppImage of travis build","user":{"login":"probonopd","id":2480569,"avatar_url":"https://avatars.githubusercontent.com/u/2480569?v=3","gravatar_id":"","url":"https://api.github.com/users/probonopd","html_url":"https://github.com/probonopd","followers_url":"https://api.github.com/users/probonopd/followers","following_url":"https://api.github.com/users/probonopd/following{/other_user}","gists_url":"https://api.github.com/users/probonopd/gists{/gist_id}","starred_url":"https://api.github.com/users/probonopd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/probonopd/subscriptions","organizations_url":"https://api.github.com/users/probonopd/orgs","repos_url":"https://api.github.com/users/probonopd/repos","events_url":"https://api.github.com/users/probonopd/events{/privacy}","received_events_url":"https://api.github.com/users/probonopd/received_events","type":"User","site_admin":false},"body":"Bundle the Linux build artifacts on [Travis CI](https://travis-ci.org/) as an [AppImage](http://appimage.org/) and upload it to [transfer.sh](https://transfer.sh/).\r\n\r\nCheck the last lines of each Travis CI build log for a transfer.sh URL from which the AppImage can be downloaded.\r\n\r\nTo run the AppImage, download it, `chmod a+x ./theAppImage` and run. Should work on most not-too-outdated 64-bit Linux distributions (approximately 2014 and later).\r\n\r\nIf it doesn't, then either the script needs to be fine-tuned (e.g., bundle additional or less files) and/or an older build system should be used on Travis CI (so that the resulting binaries become compatible with older target systems).\r\n\r\nFor more information, see https://github.com/probonopd/AppImageKit/blob/master/README.md","created_at":"2016-05-16T13:00:08Z","updated_at":"2016-05-18T23:53:18Z","closed_at":null,"merged_at":null,"merge_commit_sha":"00725357ba3671ca834483362861236817608fc8","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/HOST-Oman/scribus/pulls/194/commits","review_comments_url":"https://api.github.com/repos/HOST-Oman/scribus/pulls/194/comments","review_comment_url":"https://api.github.com/repos/HOST-Oman/scribus/pulls/comments{/number}","comments_url":"https://api.github.com/repos/HOST-Oman/scribus/issues/194/comments","statuses_url":"https://api.github.com/repos/HOST-Oman/scribus/statuses/1ef3d4051773adcc4935069d18c93b0160955eca","head":{"label":"probonopd:patch-1","ref":"patch-1","sha":"1ef3d4051773adcc4935069d18c93b0160955eca","user":{"login":"probonopd","id":2480569,"avatar_url":"https://avatars.githubusercontent.com/u/2480569?v=3","gravatar_id":"","url":"https://api.github.com/users/probonopd","html_url":"https://github.com/probonopd","followers_url":"https://api.github.com/users/probonopd/followers","following_url":"https://api.github.com/users/probonopd/following{/other_user}","gists_url":"https://api.github.com/users/probonopd/gists{/gist_id}","starred_url":"https://api.github.com/users/probonopd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/probonopd/subscriptions","organizations_url":"https://api.github.com/users/probonopd/orgs","repos_url":"https://api.github.com/users/probonopd/repos","events_url":"https://api.github.com/users/probonopd/events{/privacy}","received_events_url":"https://api.github.com/users/probonopd/received_events","type":"User","site_admin":false},"repo":{"id":58877269,"name":"scribus","full_name":"probonopd/scribus","owner":{"login":"probonopd","id":2480569,"avatar_url":"https://avatars.githubusercontent.com/u/2480569?v=3","gravatar_id":"","url":"https://api.github.com/users/probonopd","html_url":"https://github.com/probonopd","followers_url":"https://api.github.com/users/probonopd/followers","following_url":"https://api.github.com/users/probonopd/following{/other_user}","gists_url":"https://api.github.com/users/probonopd/gists{/gist_id}","starred_url":"https://api.github.com/users/probonopd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/probonopd/subscriptions","organizations_url":"https://api.github.com/users/probonopd/orgs","repos_url":"https://api.github.com/users/probonopd/repos","events_url":"https://api.github.com/users/probonopd/events{/privacy}","received_events_url":"https://api.github.com/users/probonopd/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/probonopd/scribus","description":"Project for adding complex text layout to Scribus DTP program","fork":true,"url":"https://api.github.com/repos/probonopd/scribus","forks_url":"https://api.github.com/repos/probonopd/scribus/forks","keys_url":"https://api.github.com/repos/probonopd/scribus/keys{/key_id}","collaborators_url":"https://api.github.com/repos/probonopd/scribus/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/probonopd/scribus/teams","hooks_url":"https://api.github.com/repos/probonopd/scribus/hooks","issue_events_url":"https://api.github.com/repos/probonopd/scribus/issues/events{/number}","events_url":"https://api.github.com/repos/probonopd/scribus/events","assignees_url":"https://api.github.com/repos/probonopd/scribus/assignees{/user}","branches_url":"https://api.github.com/repos/probonopd/scribus/branches{/branch}","tags_url":"https://api.github.com/repos/probonopd/scribus/tags","blobs_url":"https://api.github.com/repos/probonopd/scribus/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/probonopd/scribus/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/probonopd/scribus/git/refs{/sha}","trees_url":"https://api.github.com/repos/probonopd/scribus/git/trees{/sha}","statuses_url":"https://api.github.com/repos/probonopd/scribus/statuses/{sha}","languages_url":"https://api.github.com/repos/probonopd/scribus/languages","stargazers_url":"https://api.github.com/repos/probonopd/scribus/stargazers","contributors_url":"https://api.github.com/repos/probonopd/scribus/contributors","subscribers_url":"https://api.github.com/repos/probonopd/scribus/subscribers","subscription_url":"https://api.github.com/repos/probonopd/scribus/subscription","commits_url":"https://api.github.com/repos/probonopd/scribus/commits{/sha}","git_commits_url":"https://api.github.com/repos/probonopd/scribus/git/commits{/sha}","comments_url":"https://api.github.com/repos/probonopd/scribus/comments{/number}","issue_comment_url":"https://api.github.com/repos/probonopd/scribus/issues/comments{/number}","contents_url":"https://api.github.com/repos/probonopd/scribus/contents/{+path}","compare_url":"https://api.github.com/repos/probonopd/scribus/compare/{base}...{head}","merges_url":"https://api.github.com/repos/probonopd/scribus/merges","archive_url":"https://api.github.com/repos/probonopd/scribus/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/probonopd/scribus/downloads","issues_url":"https://api.github.com/repos/probonopd/scribus/issues{/number}","pulls_url":"https://api.github.com/repos/probonopd/scribus/pulls{/number}","milestones_url":"https://api.github.com/repos/probonopd/scribus/milestones{/number}","notifications_url":"https://api.github.com/repos/probonopd/scribus/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/probonopd/scribus/labels{/name}","releases_url":"https://api.github.com/repos/probonopd/scribus/releases{/id}","deployments_url":"https://api.github.com/repos/probonopd/scribus/deployments","created_at":"2016-05-15T18:25:08Z","updated_at":"2016-05-15T18:25:23Z","pushed_at":"2016-05-18T19:35:46Z","git_url":"git://github.com/probonopd/scribus.git","ssh_url":"git@github.com:probonopd/scribus.git","clone_url":"https://github.com/probonopd/scribus.git","svn_url":"https://github.com/probonopd/scribus","homepage":"","size":455953,"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":"ctl"}},"base":{"label":"HOST-Oman:ctl","ref":"ctl","sha":"551200dafd76495c4bd60b78c3d2ae70413c8a94","user":{"login":"HOST-Oman","id":16079338,"avatar_url":"https://avatars.githubusercontent.com/u/16079338?v=3","gravatar_id":"","url":"https://api.github.com/users/HOST-Oman","html_url":"https://github.com/HOST-Oman","followers_url":"https://api.github.com/users/HOST-Oman/followers","following_url":"https://api.github.com/users/HOST-Oman/following{/other_user}","gists_url":"https://api.github.com/users/HOST-Oman/gists{/gist_id}","starred_url":"https://api.github.com/users/HOST-Oman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HOST-Oman/subscriptions","organizations_url":"https://api.github.com/users/HOST-Oman/orgs","repos_url":"https://api.github.com/users/HOST-Oman/repos","events_url":"https://api.github.com/users/HOST-Oman/events{/privacy}","received_events_url":"https://api.github.com/users/HOST-Oman/received_events","type":"Organization","site_admin":false},"repo":{"id":52158961,"name":"scribus","full_name":"HOST-Oman/scribus","owner":{"login":"HOST-Oman","id":16079338,"avatar_url":"https://avatars.githubusercontent.com/u/16079338?v=3","gravatar_id":"","url":"https://api.github.com/users/HOST-Oman","html_url":"https://github.com/HOST-Oman","followers_url":"https://api.github.com/users/HOST-Oman/followers","following_url":"https://api.github.com/users/HOST-Oman/following{/other_user}","gists_url":"https://api.github.com/users/HOST-Oman/gists{/gist_id}","starred_url":"https://api.github.com/users/HOST-Oman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HOST-Oman/subscriptions","organizations_url":"https://api.github.com/users/HOST-Oman/orgs","repos_url":"https://api.github.com/users/HOST-Oman/repos","events_url":"https://api.github.com/users/HOST-Oman/events{/privacy}","received_events_url":"https://api.github.com/users/HOST-Oman/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/HOST-Oman/scribus","description":"Project for adding complex text layout to Scribus DTP program","fork":false,"url":"https://api.github.com/repos/HOST-Oman/scribus","forks_url":"https://api.github.com/repos/HOST-Oman/scribus/forks","keys_url":"https://api.github.com/repos/HOST-Oman/scribus/keys{/key_id}","collaborators_url":"https://api.github.com/repos/HOST-Oman/scribus/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/HOST-Oman/scribus/teams","hooks_url":"https://api.github.com/repos/HOST-Oman/scribus/hooks","issue_events_url":"https://api.github.com/repos/HOST-Oman/scribus/issues/events{/number}","events_url":"https://api.github.com/repos/HOST-Oman/scribus/events","assignees_url":"https://api.github.com/repos/HOST-Oman/scribus/assignees{/user}","branches_url":"https://api.github.com/repos/HOST-Oman/scribus/branches{/branch}","tags_url":"https://api.github.com/repos/HOST-Oman/scribus/tags","blobs_url":"https://api.github.com/repos/HOST-Oman/scribus/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/HOST-Oman/scribus/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/HOST-Oman/scribus/git/refs{/sha}","trees_url":"https://api.github.com/repos/HOST-Oman/scribus/git/trees{/sha}","statuses_url":"https://api.github.com/repos/HOST-Oman/scribus/statuses/{sha}","languages_url":"https://api.github.com/repos/HOST-Oman/scribus/languages","stargazers_url":"https://api.github.com/repos/HOST-Oman/scribus/stargazers","contributors_url":"https://api.github.com/repos/HOST-Oman/scribus/contributors","subscribers_url":"https://api.github.com/repos/HOST-Oman/scribus/subscribers","subscription_url":"https://api.github.com/repos/HOST-Oman/scribus/subscription","commits_url":"https://api.github.com/repos/HOST-Oman/scribus/commits{/sha}","git_commits_url":"https://api.github.com/repos/HOST-Oman/scribus/git/commits{/sha}","comments_url":"https://api.github.com/repos/HOST-Oman/scribus/comments{/number}","issue_comment_url":"https://api.github.com/repos/HOST-Oman/scribus/issues/comments{/number}","contents_url":"https://api.github.com/repos/HOST-Oman/scribus/contents/{+path}","compare_url":"https://api.github.com/repos/HOST-Oman/scribus/compare/{base}...{head}","merges_url":"https://api.github.com/repos/HOST-Oman/scribus/merges","archive_url":"https://api.github.com/repos/HOST-Oman/scribus/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/HOST-Oman/scribus/downloads","issues_url":"https://api.github.com/repos/HOST-Oman/scribus/issues{/number}","pulls_url":"https://api.github.com/repos/HOST-Oman/scribus/pulls{/number}","milestones_url":"https://api.github.com/repos/HOST-Oman/scribus/milestones{/number}","notifications_url":"https://api.github.com/repos/HOST-Oman/scribus/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/HOST-Oman/scribus/labels{/name}","releases_url":"https://api.github.com/repos/HOST-Oman/scribus/releases{/id}","deployments_url":"https://api.github.com/repos/HOST-Oman/scribus/deployments","created_at":"2016-02-20T15:05:04Z","updated_at":"2016-05-16T13:37:43Z","pushed_at":"2016-05-18T19:35:47Z","git_url":"git://github.com/HOST-Oman/scribus.git","ssh_url":"git@github.com:HOST-Oman/scribus.git","clone_url":"https://github.com/HOST-Oman/scribus.git","svn_url":"https://github.com/HOST-Oman/scribus","homepage":"","size":456830,"stargazers_count":10,"watchers_count":10,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":13,"mirror_url":null,"open_issues_count":21,"forks":13,"open_issues":21,"watchers":10,"default_branch":"ctl"}},"_links":{"self":{"href":"https://api.github.com/repos/HOST-Oman/scribus/pulls/194"},"html":{"href":"https://github.com/HOST-Oman/scribus/pull/194"},"issue":{"href":"https://api.github.com/repos/HOST-Oman/scribus/issues/194"},"comments":{"href":"https://api.github.com/repos/HOST-Oman/scribus/issues/194/comments"},"review_comments":{"href":"https://api.github.com/repos/HOST-Oman/scribus/pulls/194/comments"},"review_comment":{"href":"https://api.github.com/repos/HOST-Oman/scribus/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/HOST-Oman/scribus/pulls/194/commits"},"statuses":{"href":"https://api.github.com/repos/HOST-Oman/scribus/statuses/1ef3d4051773adcc4935069d18c93b0160955eca"}}}}