Re: [LAD] ?==?utf-8?q? Updates

2018-08-26 Thread Ralf Mattes
 
Am Sonntag, 26. August 2018 13:07 CEST, Fons Adriaensen  
schrieb: 
 
> On Sun, Aug 26, 2018 at 12:21:53PM +0200, Ralf Mattes wrote:
> 
> > Am Sonntag, 26. August 2018 11:24 CEST, Fons Adriaensen 
> >  schrieb:
> > 
> > 
> > > That is what pkgconf --cflags freetype2 is supposed to do.
> > > Could you be using an older version of freetype ? It used to have its
> > > own config command which was removed and replaced by using pkgconf
> > > in recent releases. This was one of the reasons to review all of
> > > the Makefiles.
> > 
> > Hmm - are you shure that program is called 'pkgconf'? If we are talking 
> > about that freedesktop.org
> > program (https://www.freedesktop.org/wiki/Software/pkg-config/) that tends 
> > to be called 'pkg-config' ...
> 
> For more info on pkgconf, see .
> 
> I seem to have both pkgconf and pkg-config, and on Archlinux both
> are even provided by the same package.
> 
> I used pkgconf as suggested by an Archlinux packager. Don't know 
> if this is the best choice to support other distros.

No, it's not. At least the Debian/Ubuntu/Mint-ish distros depend on pkg-config. 
I'm pretty shure the
same is true for Redhat/Fedora/Centos do so as well, and, at least according to 
the SuSE RPM guide they
expect pkg-config as well (after all, it is the standard established 
byfreedesktop.org).
As far as I remember the pkgconf developers suggest to create a symlink linking 
pkgconf to pkg-config
(IMHO a replacement tool shoud do this as a default).
 
> Anyway, all that is required is -I/usr/include/freetype2 and maybe
> that is what I should use. Comments invited.

Please don't. IIRC correctly there was a time when I needed to compile aoelus 
et al. with a self-compiled/installed
freetype (living under /usr/local). With that pkg-config invocation everything 
works as expected (as long
as I keep my  PKG_CONFIG_PATH correct). With your hard-coded values I'd need to 
patch the Makefiles.

 Cheers, RalfD

> The whole issue in the case of freetype is rather strange anyway.
> None of my application explicitly link with the freetype library.
> The -I is necessary only to satisify a nested #include in
> /usr/include/X11/Xft/Xft.h required by clxlient.h.
> 
> 
> -- 
> FA
> 
> 
 
 
 
 
___
Linux-audio-dev mailing list
Linux-audio-dev@lists.linuxaudio.org
https://lists.linuxaudio.org/listinfo/linux-audio-dev


Re: [LAD] Updates

2018-08-26 Thread Fons Adriaensen
On Sun, Aug 26, 2018 at 12:21:53PM +0200, Ralf Mattes wrote:

> Am Sonntag, 26. August 2018 11:24 CEST, Fons Adriaensen  
> schrieb:
> 
> 
> > That is what pkgconf --cflags freetype2 is supposed to do.
> > Could you be using an older version of freetype ? It used to have its
> > own config command which was removed and replaced by using pkgconf
> > in recent releases. This was one of the reasons to review all of
> > the Makefiles.
> 
> Hmm - are you shure that program is called 'pkgconf'? If we are talking about 
> that freedesktop.org
> program (https://www.freedesktop.org/wiki/Software/pkg-config/) that tends to 
> be called 'pkg-config' ...

For more info on pkgconf, see .

I seem to have both pkgconf and pkg-config, and on Archlinux both
are even provided by the same package.

I used pkgconf as suggested by an Archlinux packager. Don't know 
if this is the best choice to support other distros.

Anyway, all that is required is -I/usr/include/freetype2 and maybe
that is what I should use. Comments invited.

The whole issue in the case of freetype is rather strange anyway.
None of my application explicitly link with the freetype library.
The -I is necessary only to satisify a nested #include in
/usr/include/X11/Xft/Xft.h required by clxlient.h.


-- 
FA


___
Linux-audio-dev mailing list
Linux-audio-dev@lists.linuxaudio.org
https://lists.linuxaudio.org/listinfo/linux-audio-dev


Re: [LAD] ?==?utf-8?q? Updates

2018-08-26 Thread Ralf Mattes
 
Am Sonntag, 26. August 2018 11:24 CEST, Fons Adriaensen  
schrieb: 
 
 
> That is what pkgconf --cflags freetype2 is supposed to do. 
> Could you be using an older version of freetype ? It used to have its
> own config command which was removed and replaced by using pkgconf 
> in recent releases. This was one of the reasons to review all of
> the Makefiles.

Hmm - are you shure that program is called 'pkgconf'? If we are talking about 
that freedesktop.org
program (https://www.freedesktop.org/wiki/Software/pkg-config/) that tends to 
be called 'pkg-config' ...

Cheers, RalfD


 
 
 
___
Linux-audio-dev mailing list
Linux-audio-dev@lists.linuxaudio.org
https://lists.linuxaudio.org/listinfo/linux-audio-dev


Re: [LAD] Updates

2018-08-26 Thread Fons Adriaensen
On Sat, Aug 25, 2018 at 09:04:21PM +0200, Ralf Mattes wrote:
> 
> Just ashort feedback:
> on my Debian (Testing) I needed to add '-I/usr/include/freetype2' to the 
> Makefile of both
> clxclient and aeolus.

That is what pkgconf --cflags freetype2 is supposed to do. 
Could you be using an older version of freetype ? It used to have its
own config command which was removed and replaced by using pkgconf 
in recent releases. This was one of the reasons to review all of
the Makefiles.

Ciao,

-- 
FA
 
___
Linux-audio-dev mailing list
Linux-audio-dev@lists.linuxaudio.org
https://lists.linuxaudio.org/listinfo/linux-audio-dev