[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, 2013-06-04 at 00:23 +0000, David Holland wrote:
> Since apparently this isn't clear to some people: the problem arises
> because libXft is linked to fontconfig and freetype, so anything that
> links with native libXft will end up linked to both versions of
> fontconfig and freetype and will blow up if you try to run it in a way
> that actually exercises that functionality.
> Furthermore, the X infrastructure in pkgsrc has no way to exclude
> builtin libXft based on the fact that it depends on builtin things
> that pkgsrc is trying to override. (Doing it based on version won't
> work, because it's not the version that matters.)
> (It might be that using an explicit PREFER to also build libXft from
> pkgsrc will fix the overt problems. But that might also just make
> things worse, depending on what else libXft links to and what else is
> linked to it.)
I think Pkgsrc already makes some attempt to get this right what you're
describing, in pkgsrc/fonts/Xft2/builtin.mk:
.if defined(USE_BUILTIN.fontconfig) && !
This code (or code like it) seems like it should resolve that problem -
perhaps the check is incomplete or being subverted?
Main Index |
Thread Index |