Bug 18299 - gd built w/o ttf support but w/ttf dependancy
Summary: gd built w/o ttf support but w/ttf dependancy
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: gd   
(Show other bugs)
Version: 7.0
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Nalin Dahyabhai
QA Contact:
Depends On:
TreeView+ depends on / blocked
Reported: 2000-10-04 06:32 UTC by Larason, Todd
Modified: 2008-05-01 15:37 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2000-10-04 06:56:02 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

Description Larason, Todd 2000-10-04 06:32:33 UTC
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.
  #If you don't have FreeType and/or Xpm fully installed, uncomment this
@@ -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
  #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
++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.)
@@ -86,6 +86,9 @@
+* Tue Oct  3 2000 Todd Larason <jtl@molehill.org>
+- try building with TTF support (it was already linking against it)
 * Wed Aug  2 2000 Matt Wilson <msw@redhat.com>
 - rebuilt against new libpng

Comment 1 Nalin Dahyabhai 2000-10-04 19:17:00 UTC
This will be fixed in 1.8.3-5.  Thanks!

Note You need to log in before you can comment on or make changes to this bug.