Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 539376 - dev-libs/tinyxml-2.6.2-r2: missing tinyxml.pc
Summary: dev-libs/tinyxml-2.6.2-r2: missing tinyxml.pc
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Bernard Cafarelli
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-02-08 20:22 UTC by hal
Modified: 2015-10-16 11:02 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
tinyxml.pc from Arch Linux (tinyxml.pc,214 bytes, text/plain)
2015-02-08 20:36 UTC, hal
Details

Note You need to log in before you can comment on or make changes to this bug.
Description hal 2015-02-08 20:22:35 UTC
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?
Comment 1 hal 2015-02-08 20:36:20 UTC
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
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2015-02-10 08:05:35 UTC
(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?
Comment 3 hal 2015-02-10 12:36:16 UTC
(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.
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2015-02-10 16:44:42 UTC
(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. :)
Comment 5 hal 2015-02-10 20:31:11 UTC
> It's like with Debian and Red Hat we didn't have enough benevolent dictators already. :)

True, true. ^^
Comment 6 Bernard Cafarelli gentoo-dev 2015-10-16 11:02:27 UTC
Indeed, also adding it upstream does not seem likely now that they focus on tinyxml2 (which has a pkgconfig file)