Gentoo Archives: gentoo-dev

From: hasufell <hasufell@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] RFC: new eclass - pkgconfig.eclass
Date: Thu, 29 Nov 2012 16:24:21
Message-Id: 50B78C05.7060909@gentoo.org
In Reply to: Re: [gentoo-dev] RFC: new eclass - pkgconfig.eclass by justin
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA1
3
4 On 11/29/2012 03:56 PM, justin wrote:
5 > On 29/11/12 14:16, hasufell wrote:
6 >>
7 >> again, even if there are corner cases which cannot be dealt with
8 >> in a different way...
9 >>
10 >> having an eclass function like the mentioned one is bad, cause
11 >> it suggests that this is a way to fix things. It's not.
12 >> Application developers running gentoo might think "oh great,
13 >> there is a pkgconfig file for this, so I can use it in my
14 >> Makefile". Then a Fedora packager comes across this package and
15 >> realizes a compile failure until he notices the build system is
16 >> calling for a pkgconfig file that cannot be found anywhere. So he
17 >> contacts this developer and asks which distro he is using.
18 >
19 > So why not making our lives easier by having a pkg-config option?
20
21 Did you read what you quoted? Are you saying cross distro interfaces
22 for accessing libraries in build systems are ok to break?
23 Not only are people using foo.pc to compile a package on gentoo, but
24 also when writing a build system for "bar" which might link against "foo".
25
26 So having largely unused .pc files is the best case, the worst is
27 causing random breakage/annoyance for other distros without even
28 knowing, cause yeah... for us it works.
29 -----BEGIN PGP SIGNATURE-----
30 Version: GnuPG v2.0.19 (GNU/Linux)
31 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
32
33 iQEcBAEBAgAGBQJQt4wFAAoJEFpvPKfnPDWzVRYH/1GEU5z5wPiNbruYJYrRDFD5
34 ttjclvPYDsx+4XOjl7ppFS8LsnYr6GQu6qMFC33G6jQyj+lFR/OAzW35aAoa4PDc
35 IzduHa5auP853Kscj+Qx/HHTakm1CCLq8tTjFdiHjlh0khHrTqdH/EdLMqxL9fYq
36 l64wTmXMpwvg11jAd6mEV1kX8+LR1gV6ksE3FPNIuBiiVzYfiqYzsSJa5OuGSQ7X
37 US+krpAXpFb4bvaGRKuhBHa1SOWinUSIPmk6C01faLEbhI4g/DQp6G0NBQPpN4Nh
38 ivMQGo1qWJjUQvcS2BDApeA3R6LLyCczxsYkkXK3czneAMwbaUUoBZwczrRPcQQ=
39 =qZ9+
40 -----END PGP SIGNATURE-----

Replies

Subject Author
Re: [gentoo-dev] RFC: new eclass - pkgconfig.eclass justin <jlec@g.o>