{"action":"created","comment":{"url":"https://api.github.com/repos/Keruspe/GPaste/pulls/comments/233657028","pull_request_review_id":175124407,"id":233657028,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIzMzY1NzAyOA==","diff_hunk":"@@ -0,0 +1,13 @@\n+if get_option('bash_completion')\n+  install_data(\n+    'gpaste-client',\n+    install_dir: join_paths(get_option('datadir'), 'bash-completion', 'completions'),\n+  )\n+endif\n+\n+if get_option('zsh_completion')\n+  install_data(\n+    '_gpaste-client',\n+    install_dir: join_paths(get_option('datadir'), 'zsh', 'site-functions'),","path":"data/completions/meson.build","position":11,"original_position":11,"commit_id":"3abf73d13850e8441cc958566fd965af1362b238","original_commit_id":"3abf73d13850e8441cc958566fd965af1362b238","user":{"login":"Cogitri","id":8766773,"node_id":"MDQ6VXNlcjg3NjY3NzM=","avatar_url":"https://avatars0.githubusercontent.com/u/8766773?v=4","gravatar_id":"","url":"https://api.github.com/users/Cogitri","html_url":"https://github.com/Cogitri","followers_url":"https://api.github.com/users/Cogitri/followers","following_url":"https://api.github.com/users/Cogitri/following{/other_user}","gists_url":"https://api.github.com/users/Cogitri/gists{/gist_id}","starred_url":"https://api.github.com/users/Cogitri/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Cogitri/subscriptions","organizations_url":"https://api.github.com/users/Cogitri/orgs","repos_url":"https://api.github.com/users/Cogitri/repos","events_url":"https://api.github.com/users/Cogitri/events{/privacy}","received_events_url":"https://api.github.com/users/Cogitri/received_events","type":"User","site_admin":false},"body":"Sure, but I'd rather not touch the internals of meson, I don't like messing with Python.","created_at":"2018-11-14T23:10:17Z","updated_at":"2018-11-14T23:10:17Z","html_url":"https://github.com/Keruspe/GPaste/pull/256#discussion_r233657028","pull_request_url":"https://api.github.com/repos/Keruspe/GPaste/pulls/256","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/Keruspe/GPaste/pulls/comments/233657028"},"html":{"href":"https://github.com/Keruspe/GPaste/pull/256#discussion_r233657028"},"pull_request":{"href":"https://api.github.com/repos/Keruspe/GPaste/pulls/256"}},"in_reply_to_id":233645431},"pull_request":{"url":"https://api.github.com/repos/Keruspe/GPaste/pulls/256","id":220923853,"node_id":"MDExOlB1bGxSZXF1ZXN0MjIwOTIzODUz","html_url":"https://github.com/Keruspe/GPaste/pull/256","diff_url":"https://github.com/Keruspe/GPaste/pull/256.diff","patch_url":"https://github.com/Keruspe/GPaste/pull/256.patch","issue_url":"https://api.github.com/repos/Keruspe/GPaste/issues/256","number":256,"state":"open","locked":false,"title":"build: port to meson","user":{"login":"Cogitri","id":8766773,"node_id":"MDQ6VXNlcjg3NjY3NzM=","avatar_url":"https://avatars0.githubusercontent.com/u/8766773?v=4","gravatar_id":"","url":"https://api.github.com/users/Cogitri","html_url":"https://github.com/Cogitri","followers_url":"https://api.github.com/users/Cogitri/followers","following_url":"https://api.github.com/users/Cogitri/following{/other_user}","gists_url":"https://api.github.com/users/Cogitri/gists{/gist_id}","starred_url":"https://api.github.com/users/Cogitri/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Cogitri/subscriptions","organizations_url":"https://api.github.com/users/Cogitri/orgs","repos_url":"https://api.github.com/users/Cogitri/repos","events_url":"https://api.github.com/users/Cogitri/events{/privacy}","received_events_url":"https://api.github.com/users/Cogitri/received_events","type":"User","site_admin":false},"body":"resolves https://github.com/Keruspe/GPaste/issues/255\r\n\r\nAs far as I can see everything works and is similar to autotools - but it certainly needs some testing. The only notable difference is the pkg-config file:\r\n\r\nWith autotools:\r\n\r\n```\r\nlibdir=/usr/lib\r\nincludedir=/usr/include\r\n\r\nName: libgpaste\r\nDescription: Library to handle and communicate with GPaste\r\nVersion: 3.30.1\r\nRequires: gdk-pixbuf-2.0 gio-2.0 glib-2.0 gobject-2.0 gtk+-3.0\r\nCflags: -I${includedir}/gpaste\r\nLibs: -L${libdir} -lgpaste\r\n```\r\n\r\nWith meson:\r\n```\r\nprefix=/usr\r\nlibdir=${prefix}/lib\r\nincludedir=${prefix}/include\r\n\r\nName: libgpaste\r\nDescription: Library to handle and communicate with GPaste\r\nVersion: 3.30.1\r\nRequires: gdk-pixbuf-2.0 >= 2.38.0, gio-2.0 >= 2.58.0, glib-2.0 >= 2.58.0, gobject-2.0 >= 2.58.0, gtk+-3.0 >= 3.24.0\r\nRequires.private: gdk-3.0 >= 3.24.0, x11\r\nLibs: -L${prefix}/lib  -lgpaste\r\nCflags: -I${includedir}/gpaste\r\n```\r\n","created_at":"2018-10-07T02:59:04Z","updated_at":"2018-11-14T23:10:17Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2959729563d7b9693ff3aa76051fd0c3ab2213a2","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/Keruspe/GPaste/pulls/256/commits","review_comments_url":"https://api.github.com/repos/Keruspe/GPaste/pulls/256/comments","review_comment_url":"https://api.github.com/repos/Keruspe/GPaste/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Keruspe/GPaste/issues/256/comments","statuses_url":"https://api.github.com/repos/Keruspe/GPaste/statuses/3abf73d13850e8441cc958566fd965af1362b238","head":{"label":"Cogitri:meson","ref":"meson","sha":"3abf73d13850e8441cc958566fd965af1362b238","user":{"login":"Cogitri","id":8766773,"node_id":"MDQ6VXNlcjg3NjY3NzM=","avatar_url":"https://avatars0.githubusercontent.com/u/8766773?v=4","gravatar_id":"","url":"https://api.github.com/users/Cogitri","html_url":"https://github.com/Cogitri","followers_url":"https://api.github.com/users/Cogitri/followers","following_url":"https://api.github.com/users/Cogitri/following{/other_user}","gists_url":"https://api.github.com/users/Cogitri/gists{/gist_id}","starred_url":"https://api.github.com/users/Cogitri/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Cogitri/subscriptions","organizations_url":"https://api.github.com/users/Cogitri/orgs","repos_url":"https://api.github.com/users/Cogitri/repos","events_url":"https://api.github.com/users/Cogitri/events{/privacy}","received_events_url":"https://api.github.com/users/Cogitri/received_events","type":"User","site_admin":false},"repo":{"id":151900864,"node_id":"MDEwOlJlcG9zaXRvcnkxNTE5MDA4NjQ=","name":"GPaste","full_name":"Cogitri/GPaste","private":false,"owner":{"login":"Cogitri","id":8766773,"node_id":"MDQ6VXNlcjg3NjY3NzM=","avatar_url":"https://avatars0.githubusercontent.com/u/8766773?v=4","gravatar_id":"","url":"https://api.github.com/users/Cogitri","html_url":"https://github.com/Cogitri","followers_url":"https://api.github.com/users/Cogitri/followers","following_url":"https://api.github.com/users/Cogitri/following{/other_user}","gists_url":"https://api.github.com/users/Cogitri/gists{/gist_id}","starred_url":"https://api.github.com/users/Cogitri/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Cogitri/subscriptions","organizations_url":"https://api.github.com/users/Cogitri/orgs","repos_url":"https://api.github.com/users/Cogitri/repos","events_url":"https://api.github.com/users/Cogitri/events{/privacy}","received_events_url":"https://api.github.com/users/Cogitri/received_events","type":"User","site_admin":false},"html_url":"https://github.com/Cogitri/GPaste","description":"Clipboard management system","fork":true,"url":"https://api.github.com/repos/Cogitri/GPaste","forks_url":"https://api.github.com/repos/Cogitri/GPaste/forks","keys_url":"https://api.github.com/repos/Cogitri/GPaste/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Cogitri/GPaste/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Cogitri/GPaste/teams","hooks_url":"https://api.github.com/repos/Cogitri/GPaste/hooks","issue_events_url":"https://api.github.com/repos/Cogitri/GPaste/issues/events{/number}","events_url":"https://api.github.com/repos/Cogitri/GPaste/events","assignees_url":"https://api.github.com/repos/Cogitri/GPaste/assignees{/user}","branches_url":"https://api.github.com/repos/Cogitri/GPaste/branches{/branch}","tags_url":"https://api.github.com/repos/Cogitri/GPaste/tags","blobs_url":"https://api.github.com/repos/Cogitri/GPaste/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Cogitri/GPaste/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Cogitri/GPaste/git/refs{/sha}","trees_url":"https://api.github.com/repos/Cogitri/GPaste/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Cogitri/GPaste/statuses/{sha}","languages_url":"https://api.github.com/repos/Cogitri/GPaste/languages","stargazers_url":"https://api.github.com/repos/Cogitri/GPaste/stargazers","contributors_url":"https://api.github.com/repos/Cogitri/GPaste/contributors","subscribers_url":"https://api.github.com/repos/Cogitri/GPaste/subscribers","subscription_url":"https://api.github.com/repos/Cogitri/GPaste/subscription","commits_url":"https://api.github.com/repos/Cogitri/GPaste/commits{/sha}","git_commits_url":"https://api.github.com/repos/Cogitri/GPaste/git/commits{/sha}","comments_url":"https://api.github.com/repos/Cogitri/GPaste/comments{/number}","issue_comment_url":"https://api.github.com/repos/Cogitri/GPaste/issues/comments{/number}","contents_url":"https://api.github.com/repos/Cogitri/GPaste/contents/{+path}","compare_url":"https://api.github.com/repos/Cogitri/GPaste/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Cogitri/GPaste/merges","archive_url":"https://api.github.com/repos/Cogitri/GPaste/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Cogitri/GPaste/downloads","issues_url":"https://api.github.com/repos/Cogitri/GPaste/issues{/number}","pulls_url":"https://api.github.com/repos/Cogitri/GPaste/pulls{/number}","milestones_url":"https://api.github.com/repos/Cogitri/GPaste/milestones{/number}","notifications_url":"https://api.github.com/repos/Cogitri/GPaste/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Cogitri/GPaste/labels{/name}","releases_url":"https://api.github.com/repos/Cogitri/GPaste/releases{/id}","deployments_url":"https://api.github.com/repos/Cogitri/GPaste/deployments","created_at":"2018-10-07T02:55:37Z","updated_at":"2018-10-07T02:55:40Z","pushed_at":"2018-10-09T13:54:00Z","git_url":"git://github.com/Cogitri/GPaste.git","ssh_url":"git@github.com:Cogitri/GPaste.git","clone_url":"https://github.com/Cogitri/GPaste.git","svn_url":"https://github.com/Cogitri/GPaste","homepage":"","size":6400,"stargazers_count":0,"watchers_count":0,"language":"C","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"bsd-2-clause","name":"BSD 2-Clause \"Simplified\" License","spdx_id":"BSD-2-Clause","url":"https://api.github.com/licenses/bsd-2-clause","node_id":"MDc6TGljZW5zZTQ="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"Keruspe:master","ref":"master","sha":"8eac3cf81709aeb8f0490b471961755f782f470e","user":{"login":"Keruspe","id":222942,"node_id":"MDQ6VXNlcjIyMjk0Mg==","avatar_url":"https://avatars0.githubusercontent.com/u/222942?v=4","gravatar_id":"","url":"https://api.github.com/users/Keruspe","html_url":"https://github.com/Keruspe","followers_url":"https://api.github.com/users/Keruspe/followers","following_url":"https://api.github.com/users/Keruspe/following{/other_user}","gists_url":"https://api.github.com/users/Keruspe/gists{/gist_id}","starred_url":"https://api.github.com/users/Keruspe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Keruspe/subscriptions","organizations_url":"https://api.github.com/users/Keruspe/orgs","repos_url":"https://api.github.com/users/Keruspe/repos","events_url":"https://api.github.com/users/Keruspe/events{/privacy}","received_events_url":"https://api.github.com/users/Keruspe/received_events","type":"User","site_admin":false},"repo":{"id":1268515,"node_id":"MDEwOlJlcG9zaXRvcnkxMjY4NTE1","name":"GPaste","full_name":"Keruspe/GPaste","private":false,"owner":{"login":"Keruspe","id":222942,"node_id":"MDQ6VXNlcjIyMjk0Mg==","avatar_url":"https://avatars0.githubusercontent.com/u/222942?v=4","gravatar_id":"","url":"https://api.github.com/users/Keruspe","html_url":"https://github.com/Keruspe","followers_url":"https://api.github.com/users/Keruspe/followers","following_url":"https://api.github.com/users/Keruspe/following{/other_user}","gists_url":"https://api.github.com/users/Keruspe/gists{/gist_id}","starred_url":"https://api.github.com/users/Keruspe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Keruspe/subscriptions","organizations_url":"https://api.github.com/users/Keruspe/orgs","repos_url":"https://api.github.com/users/Keruspe/repos","events_url":"https://api.github.com/users/Keruspe/events{/privacy}","received_events_url":"https://api.github.com/users/Keruspe/received_events","type":"User","site_admin":false},"html_url":"https://github.com/Keruspe/GPaste","description":"Clipboard management system","fork":false,"url":"https://api.github.com/repos/Keruspe/GPaste","forks_url":"https://api.github.com/repos/Keruspe/GPaste/forks","keys_url":"https://api.github.com/repos/Keruspe/GPaste/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Keruspe/GPaste/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Keruspe/GPaste/teams","hooks_url":"https://api.github.com/repos/Keruspe/GPaste/hooks","issue_events_url":"https://api.github.com/repos/Keruspe/GPaste/issues/events{/number}","events_url":"https://api.github.com/repos/Keruspe/GPaste/events","assignees_url":"https://api.github.com/repos/Keruspe/GPaste/assignees{/user}","branches_url":"https://api.github.com/repos/Keruspe/GPaste/branches{/branch}","tags_url":"https://api.github.com/repos/Keruspe/GPaste/tags","blobs_url":"https://api.github.com/repos/Keruspe/GPaste/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Keruspe/GPaste/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Keruspe/GPaste/git/refs{/sha}","trees_url":"https://api.github.com/repos/Keruspe/GPaste/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Keruspe/GPaste/statuses/{sha}","languages_url":"https://api.github.com/repos/Keruspe/GPaste/languages","stargazers_url":"https://api.github.com/repos/Keruspe/GPaste/stargazers","contributors_url":"https://api.github.com/repos/Keruspe/GPaste/contributors","subscribers_url":"https://api.github.com/repos/Keruspe/GPaste/subscribers","subscription_url":"https://api.github.com/repos/Keruspe/GPaste/subscription","commits_url":"https://api.github.com/repos/Keruspe/GPaste/commits{/sha}","git_commits_url":"https://api.github.com/repos/Keruspe/GPaste/git/commits{/sha}","comments_url":"https://api.github.com/repos/Keruspe/GPaste/comments{/number}","issue_comment_url":"https://api.github.com/repos/Keruspe/GPaste/issues/comments{/number}","contents_url":"https://api.github.com/repos/Keruspe/GPaste/contents/{+path}","compare_url":"https://api.github.com/repos/Keruspe/GPaste/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Keruspe/GPaste/merges","archive_url":"https://api.github.com/repos/Keruspe/GPaste/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Keruspe/GPaste/downloads","issues_url":"https://api.github.com/repos/Keruspe/GPaste/issues{/number}","pulls_url":"https://api.github.com/repos/Keruspe/GPaste/pulls{/number}","milestones_url":"https://api.github.com/repos/Keruspe/GPaste/milestones{/number}","notifications_url":"https://api.github.com/repos/Keruspe/GPaste/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Keruspe/GPaste/labels{/name}","releases_url":"https://api.github.com/repos/Keruspe/GPaste/releases{/id}","deployments_url":"https://api.github.com/repos/Keruspe/GPaste/deployments","created_at":"2011-01-18T20:42:57Z","updated_at":"2018-11-14T22:15:43Z","pushed_at":"2018-11-14T22:16:42Z","git_url":"git://github.com/Keruspe/GPaste.git","ssh_url":"git@github.com:Keruspe/GPaste.git","clone_url":"https://github.com/Keruspe/GPaste.git","svn_url":"https://github.com/Keruspe/GPaste","homepage":"","size":6430,"stargazers_count":285,"watchers_count":285,"language":"C","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":36,"mirror_url":null,"archived":false,"open_issues_count":28,"license":{"key":"bsd-2-clause","name":"BSD 2-Clause \"Simplified\" License","spdx_id":"BSD-2-Clause","url":"https://api.github.com/licenses/bsd-2-clause","node_id":"MDc6TGljZW5zZTQ="},"forks":36,"open_issues":28,"watchers":285,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Keruspe/GPaste/pulls/256"},"html":{"href":"https://github.com/Keruspe/GPaste/pull/256"},"issue":{"href":"https://api.github.com/repos/Keruspe/GPaste/issues/256"},"comments":{"href":"https://api.github.com/repos/Keruspe/GPaste/issues/256/comments"},"review_comments":{"href":"https://api.github.com/repos/Keruspe/GPaste/pulls/256/comments"},"review_comment":{"href":"https://api.github.com/repos/Keruspe/GPaste/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Keruspe/GPaste/pulls/256/commits"},"statuses":{"href":"https://api.github.com/repos/Keruspe/GPaste/statuses/3abf73d13850e8441cc958566fd965af1362b238"}},"author_association":"NONE"}}
{"actor":{"display_login":"Cogitri"}}