Re: [vdr] [PATCH] Use pkg-config to find freetype/fontconfig flags

2008-03-11 Thread clemens kirchgatterer
On Mon, Mar 10, 2008 at 7:31 PM, Udo Richter [EMAIL PROTECTED] wrote: clemens kirchgatterer wrote: structure bin, lib, include, share, ... if i want to compile software using the libs (and headers) of opt1 i only have to do PKG_CONFIG_PATH=/opt1 make and to start that program

Re: [vdr] [PATCH] Use pkg-config to find freetype/fontconfig flags

2008-03-10 Thread Andreas Brachold
Hi, Am Montag, den 10.03.2008, 11:39 +0100 schrieb clemens kirchgatterer: there is another argument for pkg-config we havent talked about yet. the link dependencies. type 'freetype-config --libs' and it will most likly print '-lfreetype -lz' but only if you have compiled freetype with zlib

Re: [vdr] [PATCH] Use pkg-config to find freetype/fontconfig flags

2008-03-10 Thread Ville Skyttä
On Monday 10 March 2008, Udo Richter wrote: clemens kirchgatterer wrote: structure bin, lib, include, share, ... if i want to compile software using the libs (and headers) of opt1 i only have to do PKG_CONFIG_PATH=/opt1 make and to start that program LD_LIBRARY_PATH=/opt1 prog. given the

Re: [vdr] [PATCH] Use pkg-config to find freetype/fontconfig flags

2008-03-09 Thread Udo Richter
Clemens Kirchgatterer wrote: But would it kill anybody to simply have all header files at a standard place (/usr/include and /usr/local/include)? yes it would. how would you install different versions of the same libraries (with their headers) if it wasn't in different paths? and what about

Re: [vdr] [PATCH] Use pkg-config to find freetype/fontconfig flags

2008-03-09 Thread Malcolm Caldwell
On Sat, 2008-03-08 at 19:12 +0100, Clemens Kirchgatterer wrote: Klaus Schmidinger [EMAIL PROTECTED] wrote: I still believe, though, that freetype2's include files are broken. A simple '#include freetype2.h' should be enough. If their header file(s) would behave like the rest, we wouldn't

Re: [vdr] [PATCH] Use pkg-config to find freetype/fontconfig flags

2008-03-08 Thread Clemens Kirchgatterer
Ville Skyttä [EMAIL PROTECTED] wrote: FWIW, I think providing a pkgconfig file is very much a root solution (ditto $foo-config scripts, but *.pc are much simpler to write and read and have a unified interface). Lots of library packages (and also some others) provide them nowadays which is

Re: [vdr] [PATCH] Use pkg-config to find freetype/fontconfig flags

2008-03-08 Thread Joerg Pulz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Sat, 8 Mar 2008, Clemens Kirchgatterer wrote: Ville Skyttä [EMAIL PROTECTED] wrote: FWIW, I think providing a pkgconfig file is very much a root solution (ditto $foo-config scripts, but *.pc are much simpler to write and read and have a

Re: [vdr] [PATCH] Use pkg-config to find freetype/fontconfig flags

2008-03-08 Thread Klaus Schmidinger
On 03/08/08 11:54, Clemens Kirchgatterer wrote: Ville Skyttä [EMAIL PROTECTED] wrote: FWIW, I think providing a pkgconfig file is very much a root solution (ditto $foo-config scripts, but *.pc are much simpler to write and read and have a unified interface). Lots of library packages (and

Re: [vdr] [PATCH] Use pkg-config to find freetype/fontconfig flags

2008-03-08 Thread Clemens Kirchgatterer
Udo Richter [EMAIL PROTECTED] wrote: #pkg-config --libs freetype2 fontconfig -bash: pkg-config: command not found - no comment - i could as easily argue with: make bash: make: command not found pkg-config is no exotic dependency that we have good reason to avoid. clemens

Re: [vdr] [PATCH] Use pkg-config to find freetype/fontconfig flags

2008-03-08 Thread Clemens Kirchgatterer
Klaus Schmidinger [EMAIL PROTECTED] wrote: I still believe, though, that freetype2's include files are broken. A simple '#include freetype2.h' should be enough. If their header file(s) would behave like the rest, we wouldn't have this discussion. no. pkg-config and freetype-config have

Re: [vdr] [PATCH] Use pkg-config to find freetype/fontconfig flags

2008-03-08 Thread Klaus Schmidinger
On 03/08/08 19:12, Clemens Kirchgatterer wrote: Klaus Schmidinger [EMAIL PROTECTED] wrote: I still believe, though, that freetype2's include files are broken. A simple '#include freetype2.h' should be enough. If their header file(s) would behave like the rest, we wouldn't have this

Re: [vdr] [PATCH] Use pkg-config to find freetype/fontconfig flags

2008-03-08 Thread Clemens Kirchgatterer
Klaus Schmidinger [EMAIL PROTECTED] wrote: On 03/08/08 19:12, Clemens Kirchgatterer wrote: Klaus Schmidinger [EMAIL PROTECTED] wrote: I still believe, though, that freetype2's include files are broken. A simple '#include freetype2.h' should be enough. If their header file(s) would

Re: [vdr] [PATCH] Use pkg-config to find freetype/fontconfig flags

2008-03-07 Thread Luca Olivetti
En/na Klaus Schmidinger ha escrit: On 03/06/08 20:37, Ville Skyttä wrote: Hello, The attached patch makes VDR's Makefile use pkgconfig for finding libs and include dirs of freetype and fontconfig instead of making assumptions. How about putting that stuff at the same place everywhere?

Re: [vdr] [PATCH] Use pkg-config to find freetype/fontconfig flags

2008-03-07 Thread Joerg Pulz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Content-ID: [EMAIL PROTECTED] On Thu, 6 Mar 2008, Klaus Schmidinger wrote: On 03/06/08 20:37, Ville Skyttä wrote: Hello, The attached patch makes VDR's Makefile use pkgconfig for finding libs and include dirs of freetype and fontconfig instead

Re: [vdr] [PATCH] Use pkg-config to find freetype/fontconfig flags

2008-03-07 Thread Klaus Schmidinger
On 03/07/08 08:44, Luca Olivetti wrote: En/na Klaus Schmidinger ha escrit: On 03/06/08 20:37, Ville Skyttä wrote: Hello, The attached patch makes VDR's Makefile use pkgconfig for finding libs and include dirs of freetype and fontconfig instead of making assumptions. How about putting that

Re: [vdr] [PATCH] Use pkg-config to find freetype/fontconfig flags

2008-03-07 Thread Klaus Schmidinger
On 03/07/08 13:17, Joerg Pulz wrote: Content-ID: [EMAIL PROTECTED] On Thu, 6 Mar 2008, Klaus Schmidinger wrote: On 03/06/08 20:37, Ville Skyttä wrote: Hello, The attached patch makes VDR's Makefile use pkgconfig for finding libs and include dirs of freetype and fontconfig instead of

Re: [vdr] [PATCH] Use pkg-config to find freetype/fontconfig flags

2008-03-07 Thread Ville Skyttä
On Friday 07 March 2008, Klaus Schmidinger wrote: Instead of having all applications work around freetyp2's weird include macro stuff, why not complain to the freetype2 people and have them provide just a plain old freetype2.h that can be included like any other header file? Sorry for being

Re: [vdr] [PATCH] Use pkg-config to find freetype/fontconfig flags

2008-03-07 Thread Klaus Schmidinger
On 03/07/08 18:48, Ville Skyttä wrote: On Friday 07 March 2008, Klaus Schmidinger wrote: Instead of having all applications work around freetyp2's weird include macro stuff, why not complain to the freetype2 people and have them provide just a plain old freetype2.h that can be included like