Bug 18299 - gd built w/o ttf support but w/ttf dependancy
gd built w/o ttf support but w/ttf dependancy
Status: CLOSED RAWHIDE
Product: Red Hat Linux
Classification: Retired
Component: gd (Show other bugs)
7.0
All Linux
medium Severity medium
: ---
: ---
Assigned To: Nalin Dahyabhai
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2000-10-04 02:32 EDT by Larason, Todd
Modified: 2008-05-01 11:37 EDT (History)
1 user (show)

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


Attachments (Terms of Use)

  None (edit)
Description Larason, Todd 2000-10-04 02:32:33 EDT
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@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 15:17:00 EDT
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.