{"action":"created","issue":{"url":"https://api.github.com/repos/machinekit/machinetalk-protobuf/issues/24","labels_url":"https://api.github.com/repos/machinekit/machinetalk-protobuf/issues/24/labels{/name}","comments_url":"https://api.github.com/repos/machinekit/machinetalk-protobuf/issues/24/comments","events_url":"https://api.github.com/repos/machinekit/machinetalk-protobuf/issues/24/events","html_url":"https://github.com/machinekit/machinetalk-protobuf/issues/24","id":106159188,"number":24,"title":"Cannot use machinetalk-protobuf without resorting to git subtree","user":{"login":"bobvanderlinden","id":6375609,"avatar_url":"https://avatars.githubusercontent.com/u/6375609?v=3","gravatar_id":"","url":"https://api.github.com/users/bobvanderlinden","html_url":"https://github.com/bobvanderlinden","followers_url":"https://api.github.com/users/bobvanderlinden/followers","following_url":"https://api.github.com/users/bobvanderlinden/following{/other_user}","gists_url":"https://api.github.com/users/bobvanderlinden/gists{/gist_id}","starred_url":"https://api.github.com/users/bobvanderlinden/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bobvanderlinden/subscriptions","organizations_url":"https://api.github.com/users/bobvanderlinden/orgs","repos_url":"https://api.github.com/users/bobvanderlinden/repos","events_url":"https://api.github.com/users/bobvanderlinden/events{/privacy}","received_events_url":"https://api.github.com/users/bobvanderlinden/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-09-12T13:15:50Z","updated_at":"2015-09-13T14:37:39Z","closed_at":null,"body":"To make use of .proto files it would be nice to have them in a standard location, so that other projects can more easily depend on them. From what I gathered .proto files should go in `/usr/include/{namespace}/*.proto`.\r\n\r\nIt would also be nice to install the .h files in `/usr/include` (or whatever includedir is set) as well and compile a .so and/or .a and place those `/usr/lib`.\r\n\r\nInstalling a pkgconfig file would allow other C/C++ projects to depend on the protobuf files without resorting to git subtree."},"comment":{"url":"https://api.github.com/repos/machinekit/machinetalk-protobuf/issues/comments/139882320","html_url":"https://github.com/machinekit/machinetalk-protobuf/issues/24#issuecomment-139882320","issue_url":"https://api.github.com/repos/machinekit/machinetalk-protobuf/issues/24","id":139882320,"user":{"login":"bobvanderlinden","id":6375609,"avatar_url":"https://avatars.githubusercontent.com/u/6375609?v=3","gravatar_id":"","url":"https://api.github.com/users/bobvanderlinden","html_url":"https://github.com/bobvanderlinden","followers_url":"https://api.github.com/users/bobvanderlinden/followers","following_url":"https://api.github.com/users/bobvanderlinden/following{/other_user}","gists_url":"https://api.github.com/users/bobvanderlinden/gists{/gist_id}","starred_url":"https://api.github.com/users/bobvanderlinden/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bobvanderlinden/subscriptions","organizations_url":"https://api.github.com/users/bobvanderlinden/orgs","repos_url":"https://api.github.com/users/bobvanderlinden/repos","events_url":"https://api.github.com/users/bobvanderlinden/events{/privacy}","received_events_url":"https://api.github.com/users/bobvanderlinden/received_events","type":"User","site_admin":false},"created_at":"2015-09-13T14:37:39Z","updated_at":"2015-09-13T14:37:39Z","body":"Yes, if the namespace is `machinetalk`, then yes, it would go there.\r\n\r\nFor the .proto files, I've used `pkg-config --variable=includedir protobuf` for instance in node-machinetalk before. It results in `/usr/include` on my system."}}