--atleast-pkgconfig-version widely misused

Dan Nicholson dbn.lists at gmail.com
Sun May 9 11:03:11 PDT 2010


On Sat, May 8, 2010 at 1:39 PM, Tollef Fog Heen <tfheen at err.no> wrote:
> ]] Dan Nicholson
>
> | Wow, that's too bad. Two things should get fixed here:
> |
> | 1. Change pkg.m4 to use the "correct" syntax with = separating the
> | long option from it's value. That won't help much immediately since
> | this has already been distributed into many releases.
>
> I don't really think the version with = is more correct than the other.
> popt is buggy and should accept both.

Right, probably I should have said "expected" if you look at it in the
sense of what people expect from getopt_long (used a lot more
frequently than popt). However, if you make the change in pkg.m4, the
fix will get to more people sooner. When I distribute a package, I
shouldn't force people to update pkg-config just for this little fix.
But I can at least work around this bug for them.

But, yeah, popt has to be fixed. The problem is, I don't think we have
any popt experts around here. If you want to try to look at the
history, it's here:

http://rpm5.org/cvs/dir?d=popt

I see you merged the "external popt" patches. Now that popt is in a
separate directory, you could more easily update to a more recent
release. But, moving to glib might be easier like you say.

--
Dan


More information about the pkg-config mailing list