pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Fontconfig confusion
I was playing around with fontconfig settings while trying out the
results with editors/vim (with gtk2 gui). I came to the confusing
conclusion that the fontconfig package installs its config files in
/usr/pkg/etc/fontconfig, but the files that are actually read are in
/etc/fonts. And what's worse, when copying the files from the former to
the latter location, it doesn't even understand everything that's in
them.
Some more pondering later it dawned on me that the base system (native
X11) also has a fontconfig! And indeed, vim (self-compiled from its cvs
repository) was linked (indirectly) with 2 fontconfigs and 2 freetypes.
That cannot be good...
Then I thought "of course, in pkgsrc they would prevent such a thing"
and I built vim-gtk2 from pkgsrc (still 2007-Q4). However, it showed the
same problem!
/usr/pkg/bin/vim:
...
-lfreetype.6 => /usr/pkg/lib/libfreetype.so.6
-lfontconfig.1 => /usr/pkg/lib/libfontconfig.so.1
...
-lfreetype.9 => /usr/X11R6/lib/libfreetype.so.9
-lfontconfig.1 => /usr/X11R6/lib/libfontconfig.so.1
this looks like a mess... will Vim use the one set of libraries for one
thing and the other for some random other thing?
-Olaf.
--
___ Olaf 'Rhialto' Seibert -- You author it, and I'll reader it.
\X/ rhialto/at/xs4all.nl -- Cetero censeo "authored" delendum esse.
Home |
Main Index |
Thread Index |
Old Index