abiword currently depends on an ancient version of freetype. Is this an oversight in the ebuild or does it really not work with freetype 2+?
You're helping me debug this one too y'know :P
Is this a bug ?
Might be ;-) Anyhow, since we do not just change DEPEND if we think a lib is too old, a little investigation should work ;) -------------------- from compile -------------------- g++ -DPACKAGE=\"AbiSuite\" -DVERSION=\"0.99.3\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_LIMITS_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_UNISTD_H=1 -DHAVE_MALLOC_H=1 -DHAVE_LIBXML2=1 -DHAVE_PSICONV=1 -DHAVE_WV=1 -DHAVE_ALLOCA_H=1 -DHAVE_ALLOCA=1 -DRETSIGTYPE=void -DHAVE_RE_COMP=1 -DHAVE_REGCOMP=1 -DHAVE_STRDUP=1 -DHAVE_STRSTR=1 -I. -I. -I'../../../../src/text/ptbl/xp' -I'../../../../src/text/fmt/xp' -I'../../../../src/wp/ap/xp' -I'../../../../src/wp/impexp/xp' -I'../../../../src/wp/ap/unix' -I'../../../../src/wp/ap/xp/ToolbarIcons' -I'../../../../src/wp/ap/unix/gnome' -I'../../../../src/af/util/xp' -I'../../../../src/af/ev/xp' -I'../../../../src/af/ev/xp' -I'../../../../src/af/gr/xp' -I'../../../../src/af/xap/xp' -I'../../../../src/af/util/unix' -I'../../../../src/af/ev/unix' -I'../../../../src/af/gr/unix' -I'../../../../src/af/xap/unix' -I'../../../../src/af/xap/unix/gnome' -I'../../../../src/af/ev/unix/gnome' -I'../../../../src/other/spell/xp' -I'../../../../src/other/fribidi/xp' -I../../../../../libiconv/include -Wall -pedantic -ansi -D_POSIX_SOURCE -D_BSD_SOURCE -pipe -O3 -I/usr/include/libxml2 -DHAVE_LIBXML2 -DABI_OPT_PERL -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/perl5/5.6.1/i686-linux/CORE -Ubool -I/var/tmp/portage/abiword-0.99.3/work/abiword-0.99.3/psiconv/ -I/var/tmp/portage/abiword-0.99.3/work/abiword-0.99.3/wv -DHAVE_LIBJPEG -I/usr/include/gnome-1.0 -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/gdk-pixbuf-1.0 -I/usr/include/gnome-xml -I/usr/include/gnome-vfs-1.0 -I/usr/lib/gnome-vfs-1.0/include -I/usr/include -I/usr/include/orbit-1.0 -I/usr/include/gconf/1 -D_REENTRANT -DHAVE_GNOME -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -DSUPPORTS_UT_IDLE=1 -DABI_BUILD_VERSION=\"0.99.3\" -c -o fv_View.o `test -f fv_View.cpp || echo './'`fv_View.cpp ------------------------------------------------------------------------------ Out of above, it seems to need freetype2 (-I/usr/include/freetype2). If you however grep for freetype.h, there is no match whatso ever. Also, if you look at ${S}/abi/src/pkg/linux/rpm/abiword.spec-template, there is no trace of freetype what so ever. The whole freetype DEPEND is thus invalid. I think it could have been added to fix some other problem .. not sure.
A quick and dirty way to see if it "really" depends on freetype[1,2] is to use ldd on all of the bits that contain object code. I'll do that when I get home and get back to you.
I ran abiword through ldd, and nothing as far as I can tell depends on FreeType.
You are right, coz AbiSuite apps install their own Type 1 Unix fonts into /usr/share/AbiSuite anyway, and do not require freetype fonts. thanks,.