{"action":"created","issue":{"url":"https://api.github.com/repos/jpakkane/meson/issues/106","labels_url":"https://api.github.com/repos/jpakkane/meson/issues/106/labels{/name}","comments_url":"https://api.github.com/repos/jpakkane/meson/issues/106/comments","events_url":"https://api.github.com/repos/jpakkane/meson/issues/106/events","html_url":"https://github.com/jpakkane/meson/issues/106","id":73391821,"number":106,"title":"Distinguish between \"public\" and \"private\" dependencies","user":{"login":"johan-boule","id":1184680,"avatar_url":"https://avatars.githubusercontent.com/u/1184680?v=3","gravatar_id":"","url":"https://api.github.com/users/johan-boule","html_url":"https://github.com/johan-boule","followers_url":"https://api.github.com/users/johan-boule/followers","following_url":"https://api.github.com/users/johan-boule/following{/other_user}","gists_url":"https://api.github.com/users/johan-boule/gists{/gist_id}","starred_url":"https://api.github.com/users/johan-boule/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johan-boule/subscriptions","organizations_url":"https://api.github.com/users/johan-boule/orgs","repos_url":"https://api.github.com/users/johan-boule/repos","events_url":"https://api.github.com/users/johan-boule/events{/privacy}","received_events_url":"https://api.github.com/users/johan-boule/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-05-05T18:29:08Z","updated_at":"2015-05-05T18:32:07Z","closed_at":null,"body":"The dependency system in meson should make it possible to specify if a dependency is used only as an implementation detail (say, a \"private\" dep), or if it's exposed transitively to clients with #include in public headers (say a \"public\" dep).\r\nThe auto-generated pkg-config file should reflect that using appropriate Requires and Requires.private.\r\nNote: I however think it would add unnecessary complexity to include a third kind of dependency like CMake does. Also, pkg-config choosed a middle-ground where CFlags are always transitive (i.e. Requires.private does expose CFlags transitively; only Libs and Libs.private are not exposed through Requires.private), so it would be a bit pointless to go beyond these two types of dependencies provided by pkg-config.\r\n"},"comment":{"url":"https://api.github.com/repos/jpakkane/meson/issues/comments/99170951","html_url":"https://github.com/jpakkane/meson/issues/106#issuecomment-99170951","issue_url":"https://api.github.com/repos/jpakkane/meson/issues/106","id":99170951,"user":{"login":"johan-boule","id":1184680,"avatar_url":"https://avatars.githubusercontent.com/u/1184680?v=3","gravatar_id":"","url":"https://api.github.com/users/johan-boule","html_url":"https://github.com/johan-boule","followers_url":"https://api.github.com/users/johan-boule/followers","following_url":"https://api.github.com/users/johan-boule/following{/other_user}","gists_url":"https://api.github.com/users/johan-boule/gists{/gist_id}","starred_url":"https://api.github.com/users/johan-boule/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johan-boule/subscriptions","organizations_url":"https://api.github.com/users/johan-boule/orgs","repos_url":"https://api.github.com/users/johan-boule/repos","events_url":"https://api.github.com/users/johan-boule/events{/privacy}","received_events_url":"https://api.github.com/users/johan-boule/received_events","type":"User","site_admin":false},"created_at":"2015-05-05T18:32:07Z","updated_at":"2015-05-05T18:32:07Z","body":"\"only Libs and Libs.private are not exposed through Requires.private\"\r\nIIRC this is true unless one passes the --static option to pkg-config, but that's only used when linking static programs."}}