dev-libs/tinyxml does not provide a tinyxml.pc in /usr/lib/pkgconfig/. Could we provide one even if it does not seem to exist upstream?
Created attachment 395936 [details] tinyxml.pc from Arch Linux Attached is a tinyxml.pc taken from Arch Linux: https://projects.archlinux.org/svntogit/community.git/plain/trunk/tinyxml.pc?h=packages/tinyxml
(In reply to hal from comment #0) > dev-libs/tinyxml does not provide a tinyxml.pc in /usr/lib/pkgconfig/. > Could we provide one even if it does not seem to exist upstream? No, that would defeat the purpose of a pkg-config file. If distros start adding it while upstream does not, people incorrectly start depending on it. Which is why you filed this bug report. What do you need it for?
(In reply to Jeroen Roovers from comment #2) > (In reply to hal from comment #0) > > dev-libs/tinyxml does not provide a tinyxml.pc in /usr/lib/pkgconfig/. > > Could we provide one even if it does not seem to exist upstream? > > No, that would defeat the purpose of a pkg-config file. If distros start > adding it while upstream does not, people incorrectly start depending on it. > Which is why you filed this bug report. I'm of the same opinion but wasn't quite sure what the policy of Gentoo Linux is in such cases. Another tool depends on it, but I reported upstream to not rely on a .pc file exclusively because distros follow different policies. As an example Debian, Ubuntu, Arch, Fedora et al. do "patch" the source to contain a .pc file. I'm fine with closing this report as invalid/won't fix.
(In reply to hal from comment #3) > I'm of the same opinion but wasn't quite sure what the policy of Gentoo > Linux is in such cases. Stick to upstream. When distros start adding pkg-config files on their own, people start expecting that those are somehow distributed universally. I think Arch and Ubuntu have started doing this. It's like with Debian and Red Hat we didn't have enough benevolent dictators already. :)
> It's like with Debian and Red Hat we didn't have enough benevolent dictators already. :) True, true. ^^
Indeed, also adding it upstream does not seem likely now that they focus on tinyxml2 (which has a pkgconfig file)