Gentoo Archives: gentoo-dev

From: Alexandre Rostovtsev <tetromino@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Re: Banning modification of pkg-config files
Date: Sat, 10 May 2014 06:33:02
Message-Id: 1399703518.1994.32.camel@rook
In Reply to: Re: [gentoo-dev] Re: Banning modification of pkg-config files by Ben de Groot
1 On Sat, 2014-05-10 at 13:50 +0800, Ben de Groot wrote:
2 > On 10 May 2014 04:34, Markos Chandras <hwoarang@g.o> wrote:
3 > > On 05/09/2014 09:32 PM, Tom Wijsman wrote:
4 > >> On Fri, 9 May 2014 16:15:58 -0400
5 > >> Rich Freeman <rich0@g.o> wrote:
6 > >>
7 > >>> I think fixing upstream is a no-brainer.
8 > >>
9 > >> It indeed is, this is the goal; you can force them in multiple ways,
10 > >> some of which can be found on the Lua bug and previous discussion(s).
11 > >>
12 > >>> The controversy only exists when upstream refuses to cooperate (which
13 > >>> seems to be the case when we're one of six distros patching it). If
14 > >>> there are other situations where we supply our own files please speak
15 > >>> up.
16 > >>
17 > >> Not that I know of; the refusal to cooperate is what this is all about,
18 > >> see my last response to hwoarang before this mail for a short summary.
19 > >> Though, I think that the Lua maintainers can explain all the details...
20 > >>
21 > >>> When the only issue is maintainer laziness I could see fixing that in
22 > >>> a different way...
23 > >>
24 > >> It has always been an issue; we could always use more manpower, ...
25 > >>
26 > >> https://wiki.gentoo.org/wiki/Contributing_to_Gentoo
27 > >>
28 > >
29 > > Well to me it feels that gentoo specific .pc files is a similar problem
30 > > to any other patch that affects upstream code in order to make the
31 > > package compatible with gentoo. Some people may consider downstream pc
32 > > files more dangerous because reverse deps are affected. But really, if
33 > > there is no other alternative, we shouldn't be treating this as a
34 > > special case. We patch upstream packages all the time after all
35 >
36 > Exactly. I don't understand why this is an issue at all. Obviously,
37 > if upstream does not ship a .pc file or ships a broken one, we try
38 > to work with upstream to get it fixed on their end. If they are
39 > uncooperative, we fix it on our end.
40
41 Adding a pkgconfig file is a bit of a special case. Some distros have a
42 habit of renaming and creating .pc files for various libraries. But in
43 Gentoo, almost all pkgconfig files come from upstream with minimal
44 modification. So a .pc file that is specific to Gentoo is a rare
45 exception, and it could cause confusion for users who installed Gentoo
46 on their development machine and who wish to develop new portable
47 software.
48
49 Of course, in the case of Lua, it seems that all other distros are
50 already providing .pc files, so joining them would seem to be the
51 correct thing to do (we would simply be recognizing a de facto
52 standard).

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-dev] Re: Banning modification of pkg-config files Markos Chandras <hwoarang@g.o>