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 Mon, Jun 03, 2013 at 11:18:41PM +0000, David Holland wrote:
 >  > The latest pango version needs a thread-safe fontconfig, i.e. version
 >  > 2.10.91 or newer.
 > 
 > It is becoming clear that this update needs to be backed out until we
 > fix our X11 infrastructure to be able to support the consequences.
 > 
 > In the meantime, please also back out the PR 47882 commit as it breaks
 > the world.

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.)

So there's currently no way to fix the problem that the PR 47882
commit introduces. Wedging a hack into x11-links for this specific
case is only going to make things worse in the long run; this problem
exists because x11-links is already a pile of hacks.

(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.)

-- 
David A. Holland
dholland%netbsd.org@localhost


Home | Main Index | Thread Index | Old Index