{"action":"created","issue":{"url":"https://api.github.com/repos/mesonbuild/meson/issues/4131","repository_url":"https://api.github.com/repos/mesonbuild/meson","labels_url":"https://api.github.com/repos/mesonbuild/meson/issues/4131/labels{/name}","comments_url":"https://api.github.com/repos/mesonbuild/meson/issues/4131/comments","events_url":"https://api.github.com/repos/mesonbuild/meson/issues/4131/events","html_url":"https://github.com/mesonbuild/meson/issues/4131","id":357111015,"node_id":"MDU6SXNzdWUzNTcxMTEwMTU=","number":4131,"title":"Dependency for generators","user":{"login":"nacho","id":18858,"node_id":"MDQ6VXNlcjE4ODU4","avatar_url":"https://avatars1.githubusercontent.com/u/18858?v=4","gravatar_id":"","url":"https://api.github.com/users/nacho","html_url":"https://github.com/nacho","followers_url":"https://api.github.com/users/nacho/followers","following_url":"https://api.github.com/users/nacho/following{/other_user}","gists_url":"https://api.github.com/users/nacho/gists{/gist_id}","starred_url":"https://api.github.com/users/nacho/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nacho/subscriptions","organizations_url":"https://api.github.com/users/nacho/orgs","repos_url":"https://api.github.com/users/nacho/repos","events_url":"https://api.github.com/users/nacho/events{/privacy}","received_events_url":"https://api.github.com/users/nacho/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-09-05T08:04:38Z","updated_at":"2018-09-05T08:07:43Z","closed_at":null,"author_association":"NONE","body":"I was having a look at the port of protobuf-c to meson and one issue they build an executable that is passed as a command line param to the generator in this format:\r\n\r\n```\r\ngen_protobuf_c = generator(protoc,\r\n    output    : ['@BASENAME@.pb-c.c', '@BASENAME@.pb-c.h'],\r\n    arguments : ['--proto_path=@CURRENT_SOURCE_DIR@', '--plugin=protoc-gen-c=@0@'.format(protoc_gen_c.full_path()), '--cpp_out=@BUILD_DIR@',  @INPUT@'])\r\n```\r\nWhen I try to use the generator it does not find the protoc_gen_c yet, I think we need a way to tell the generator that the executable has to be ready before calling it."},"comment":{"url":"https://api.github.com/repos/mesonbuild/meson/issues/comments/418638794","html_url":"https://github.com/mesonbuild/meson/issues/4131#issuecomment-418638794","issue_url":"https://api.github.com/repos/mesonbuild/meson/issues/4131","id":418638794,"node_id":"MDEyOklzc3VlQ29tbWVudDQxODYzODc5NA==","user":{"login":"ignatenkobrain","id":2866862,"node_id":"MDQ6VXNlcjI4NjY4NjI=","avatar_url":"https://avatars1.githubusercontent.com/u/2866862?v=4","gravatar_id":"","url":"https://api.github.com/users/ignatenkobrain","html_url":"https://github.com/ignatenkobrain","followers_url":"https://api.github.com/users/ignatenkobrain/followers","following_url":"https://api.github.com/users/ignatenkobrain/following{/other_user}","gists_url":"https://api.github.com/users/ignatenkobrain/gists{/gist_id}","starred_url":"https://api.github.com/users/ignatenkobrain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ignatenkobrain/subscriptions","organizations_url":"https://api.github.com/users/ignatenkobrain/orgs","repos_url":"https://api.github.com/users/ignatenkobrain/repos","events_url":"https://api.github.com/users/ignatenkobrain/events{/privacy}","received_events_url":"https://api.github.com/users/ignatenkobrain/received_events","type":"User","site_admin":false},"created_at":"2018-09-05T08:07:43Z","updated_at":"2018-09-05T08:07:43Z","author_association":"MEMBER","body":"Isn't there a 'dependencies' keyword for generator?"}}
{"actor":{"display_login":"ignatenkobrain"}}