Nromally, freetype2 library installs freetype2.pc along with freetype-config. So that cflags for example can be determined by either freetype-config --cflags or pkg-config --cflags freetype2 However, X.Org installs only freetype-config and not freetype2.pc I have used the X.Org's builtin freetype2 library during X.Org's compilation and not the external one.
We don't really recommend using X.org as the source of freetype, but instead getting it yourself from freetype.org, but since we already have it in the monolith and it's an easy fix, I've fixed this in CVS head - should be included in Xorg 6.9 RC1: CVSROOT: /cvs/xorg Module name: xc Changes by: alanc@gabe.freedesktop.org 05/10/09 18:25:40 Log message: 2005-10-09 Alan Coopersmith <alan.coopersmith@sun.com> * lib/freetype2/freetype/config/Imakefile: Bug #2287 <https://bugs.freedesktop.org/show_bug.cgi?id=2287> freetype2.pc not installed (Reported by Karel Clock Kulhavy) Modified files: ./: ChangeLog xc/lib/freetype2/freetype/config/: Imakefile Revision Changes Path 1.1415 +6 -0 xc/ChangeLog http://cvs.freedesktop.org/xorg/xc/ChangeLog 1.4 +14 -5 xc/lib/freetype2/freetype/config/Imakefile http://cvs.freedesktop.org/xorg/xc/lib/freetype2/freetype/config/Imakefile
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.