On Mon, Jan 31, 2011 at 01:21:36AM +0100, Enrico Weigelt wrote:
* Joerg Sonnenberger <joerg.sonnenberger@web.de> schrieb:
On Sun, Jan 30, 2011 at 09:47:05PM +0100, Enrico Weigelt wrote:
* Joerg Sonnenberger <joerg.sonnenberger@web.de> schrieb:
Pretty much. If you don't have it, you can still override the automatic detection via PNG_CFLAGS / PNG_LIBS or so.
Which requires another special tweak in the distro's package build rules/descriptors - exactly what packagers do not like.
Packagers should provide pkg-config.
No, upstream should do that (packagers should not have to touch any area of the sourcecode). And importing packages should _use_ it. (instead of old legacy cruft like the -config scripts or esoteric autofool macros).
You are misunderstanding what I say. Packagers should depend on pkg-config. If they don't, they are responsible for doing it by hand.
The only situation in which the manual override is needed if you want to build it on a system that doesn't have pkg-config and where you don't want to install it.
Why should some refuse to install such an fundamental tool ?
Have you ever looked at the pkg-config source? For something as fundamental as pkg-config, the source code is a mess. It has a local copy of at least half of glib1 for example... Joerg