tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: switching remaining platforms to modular X by default

On Tue, Jun 04, 2013 at 11:22:31PM +0100, Matthias Scheler wrote:
 > > I think Pkgsrc already makes some attempt to get this right what you're
 > > describing, in pkgsrc/fonts/Xft2/
 > > 
 > > .if defined(USE_BUILTIN.fontconfig) && !
 > > empty(USE_BUILTIN.fontconfig:M[nN][oO])
 > > USE_BUILTIN.Xft2=       no
 > > .endif
 > > 
 > > This code (or code like it) seems like it should resolve that problem -
 > > perhaps the check is incomplete or being subverted?
 > The code works fine as far as I can tell:
 > [snip]

no, no it doesn't. When you rebuilt cairo with the changes, did it
build you a pkgsrc Xft2/libXft to go along with the pkgsrc fontconfig
and freetype? It didn't for me.

Similarly, from cairo:

valkyrie% make show-var VARNAME=USE_BUILTIN.fontconfig PREFER.fontconfig=pkgsrc
valkyrie% make show-var VARNAME=USE_BUILTIN.Xft2 PREFER.fontconfig=pkgsrc

(note that cairo uses libXft by default; it's in

If you explicitly set USE_BUILTIN.fontconfig it's different:

valkyrie% make show-var VARNAME=USE_BUILTIN.Xft2 USE_BUILTIN.fontconfig=no

because the reason it doesn't work is, as I noted, that
files aren't included in tree order.

Also, even if it did work, you'd still get the ancient Xft2 package;
as best I recall it is in pkgsrc for use only with pre-modular X11, so
probably it wouldn't work and possibly it wouldn't even build.

David A. Holland

Home | Main Index | Thread Index | Old Index