Re: No ftcache in freetype?

Matthieu Herrb <[email protected]>
Newsgroups gmane.os.openbsd.x11
Message-ID <[email protected]>
Owain Ainsworth wrote:
> Hi all,
> 
> I'm currently trying to port vtk (http://vtk.org) to OpenBSD, it works
> fine despite the lack of 3D acceleration (i've been using it for
> projects of mine for around a year). However, one thing that always
> annoyed me was that I could never get it to work with the system
> freetype library, it always failing on a link. Example at the end of the
> email. This is particularly annoying since the Qt bindings for VTK link
> with Qt, with does have freetype, so you always get a linker warning of
> a symbol size mismatch when you build a project using both Qt and VTK
> with VTK's built in freetype.
> 
> Having finally had the time to look into this. Although the headers are
> installed, building freetype doesn't appear to build freetype/src/cache/*. This
> is what's causing the linker errors. Since the symbols involved are
> defined in ftcache.c.
> 
> Since AFAIK this is an X11 problem, not a ports@ problem i've come here.
> 
> I suppose my question is this:
> Is there a reason why the cache subsystem isn't built? If not, would it
> be possible to build it.
> 

Which OpenBSD version are you using ? it that 4.1 (with X.Org 6.9 and
thus Freetype 2.1) or -current (with X.Org 7.2 and freetype 2.2.1)?

On those 2 versions the official freetype build system don't seem to
build this directory either. So I'm not sure if it's some "experimental"
feature not yet enabled or an obsolete one, supposed to be removed.
If someone has some information, I'd like to hear about it.
-- 
Matthieu Herrb
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.