Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 1411 - abiword depends on ancient version of freetype
Summary: abiword depends on ancient version of freetype
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Seemant Kulleen (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-03-30 07:51 UTC by Jon Nelson (RETIRED)
Modified: 2003-02-04 19:42 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jon Nelson (RETIRED) 2002-03-30 07:51:27 UTC
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+?
Comment 1 Seemant Kulleen (RETIRED) gentoo-dev 2002-03-30 09:10:15 UTC
You're helping me debug this one too y'know :P
Comment 2 Martin Schlemmer (RETIRED) gentoo-dev 2002-04-04 14:23:06 UTC
Is this a bug ?
Comment 3 Martin Schlemmer (RETIRED) gentoo-dev 2002-04-04 14:39:39 UTC
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.
Comment 4 Martin Schlemmer (RETIRED) gentoo-dev 2002-04-04 14:48:51 UTC
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.
Comment 5 Jon Nelson (RETIRED) 2002-04-04 15:03:42 UTC
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.
Comment 6 Jon Nelson (RETIRED) 2002-04-07 12:22:20 UTC
I ran abiword through ldd, and nothing as far as I can tell depends on FreeType.
Comment 7 Seemant Kulleen (RETIRED) gentoo-dev 2002-04-14 00:05:28 UTC
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,.