[FFmpeg-devel] [PATCH] Use pkgconfig for dirac libs

Michael Niedermayer michaelni
Wed Oct 22 09:41:45 CEST 2008


On Wed, Oct 22, 2008 at 08:34:11AM +0300, Uoti Urpala wrote:
> On Wed, 2008-10-22 at 07:29 +0200, Diego Biurrun wrote:
> > On Wed, Oct 22, 2008 at 01:13:51AM +0200, Chris Hills wrote:
> > > Since pkgconfig is used for dirac cflags, it makes sense to also use it  
> > > for libs, in-line with libschroedinger.
> > 
> > Absolutely not, using pkg-config at all is a workaround for libdirac's
> > horrid include path design.  They have 3 directories for 5 header files.
> > Unfortunately the fact that nobody else does this did not tell them
> > anything...
> 
> Whatever the include path design is, using pkg-config is a positive
> thing and using it more would be an improvement. The hostile attitude
> some people here have against it is misguided.

One can agree on a standard place where to find headers, or
One can agree on a standard identifer by which to find a variable place where to find headers, or
One can agree on a standard identifer by which to find a variable identifer by which one can find a variable place where to find headers, or
...

Now IMHO if one cant decide on a standard place for headers, its funny that
person succeeded on deciding for a standard argument to pkgconfig.
But maybe thats just because of a lack of tools that reinvented all aspects
of symbolic links.

And iam not hostile to pkgconfig at all, nor am i trying to insult anyone,
iam just trying to show the stupidity of pkgconfig in general and
i feel that its the wrong solution to the problem. symbolic links and
keeping lib dependancies in the libs where they belong would have made more
sense.

pkgconfig is a little like a hypothetical headerconfig that listed for each
C header in a seperate file which other headers need to be included.


-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

> ... defining _GNU_SOURCE...
For the love of all that is holy, and some that is not, don't do that.
-- Luca & Mans
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20081022/6406e3dc/attachment.pgp>



More information about the ffmpeg-devel mailing list