libgd is built without the HAVE_LIBTTF symbol defined, so truetype support isn't included. It is, however, linked against -lttf, so the package is dependant on freetype being installed. Surely one part of this or the other is a bug; I'd prefer it built with truetype support, msyelf. --- SOURCES/gd-1.8.2-redhat.patch.~1~ Mon May 22 12:12:34 2000 +++ SOURCES/gd-1.8.2-redhat.patch Tue Oct 3 23:27:02 2000 @@ -9,7 +9,7 @@ #If you do have FreeType, libjpeg and/or Xpm fully installed, uncomment a #variation of this and comment out the line above. See also LIBS below. #CFLAGS=-O -DHAVE_XPM -DHAVE_JPEG -DHAVE_LIBTTF -+CFLAGS=$(RPM_OPT_FLAGS) -fPIC -DHAVE_JPEG ++CFLAGS=$(RPM_OPT_FLAGS) -fPIC -DHAVE_JPEG -DHAVE_LIBTTF #If you don't have FreeType and/or Xpm fully installed, uncomment this #(default). @@ -26,7 +26,7 @@ #on the right order, either. #LIBS=-lm -lgd -lpng -lz -ljpeg -lttf -lXpm -lX11 -+LIBS=-lgd -lpng -lz -ljpeg -lm ++LIBS=-lgd -lpng -lz -lttf -ljpeg -lm #Typical install locations for freetype, zlib, xpm, libjpeg and libpng header files. #If yours are somewhere else, change this. @@ -34,7 +34,7 @@ #is used, and not an older release in your directory tree somewhere. -INCLUDEDIRS=-I. -I/usr/local/include -I/usr/include/X11 -I/usr/X11R6/include/X 11 -+INCLUDEDIRS=-I. ++INCLUDEDIRS=-I. -I/usr/include/freetype #Typical install locations for freetype, zlib, xpm and libpng libraries. #If yours are somewhere else, other than a standard location --- SPECS/gd.spec.~1~ Wed Aug 2 13:08:17 2000 +++ SPECS/gd.spec Tue Oct 3 23:28:04 2000 @@ -1,15 +1,15 @@ Summary: A graphics library for drawing .gif files. Name: gd Version: 1.8.3 -Release: 4 +Release: 4jtl1 Source0: http://www.boutell.com/gd/http/gd-%{version}.tar.gz Patch0: gd-1.8.2-redhat.patch Copyright: BSD-style Group: System Environment/Libraries BuildRoot: %{_tmppath}/%{name}-root Prereq: /sbin/ldconfig -BuildPrereq: libjpeg-devel, libpng-devel, zlib-devel -Requires: libjpeg, libpng, zlib +BuildPrereq: libjpeg-devel, libpng-devel, zlib-devel, freetype-devel +Requires: libjpeg, libpng, zlib, freetype %define shlibver %(echo %{version} | cut -f-2 -d.) %description @@ -86,6 +86,9 @@ %{_libdir}/*.a %changelog +* Tue Oct 3 2000 Todd Larason <jtl> +- try building with TTF support (it was already linking against it) + * Wed Aug 2 2000 Matt Wilson <msw> - rebuilt against new libpng
This will be fixed in 1.8.3-5. Thanks!