MapServer / MapServer-import

3 stars 2 forks source link

[Configure] gdFontCacheSetup requires gd 2.0.16 #1225

Open tbonfort opened 12 years ago

tbonfort commented 12 years ago

Reporter: jlacroix Date: 2005/02/08 - 23:20

In bug 1223, a call to gdFontCacheSetup have been added. This Function seems to
be added only in GD 2.0.16
http://www.boutell.com/gd/manual2.0.16.html#whatsnew2.0.16

MapServer currently require GD 2.0.12.

We need to update the configure and help or to make the code accept 2.0.12.
Any opinion?

Sean, Is this function is really needed when not using thread?
tbonfort commented 12 years ago

Author: sgillies@frii.com Date: 2005/02/09 - 00:02

It is only needed for multi-threaded use.  This might mean mod_php, might not.
Definitely affects Java mapscript.

I'll make the changes so that gdFontCacheSetup is only included for GD 2.0.16+.
tbonfort commented 12 years ago

Author: sdlime Date: 2005/02/09 - 00:28

For 4.5+ we might as well just require 2.0.16 and higher rather than introducing
unnecessary complexity into the build process and the code. I would pull the
modification from 4.4 then, if it was made there. My 2 cents...

Steve
tbonfort commented 12 years ago

Author: sgillies@frii.com Date: 2005/03/29 - 16:42

Let's try to resolve this one soon, yes?
tbonfort commented 12 years ago

Author: jlacroix Date: 2005/03/29 - 18:30

After thinking about it for a bit, I agree with Steve. We may just require the
2.0.16 version for 4.5 if there's no other way to do it. However, we should not
require it for 4.4.

Sean, will you update the configure of 4.5? If not, please reassign the bug to
mapserver-bugs@dmsolutions dot ca. We will take care of it before 4.6.
tbonfort commented 12 years ago

Author: dmorissette Date: 2005/04/13 - 18:31

Fixing this now.
tbonfort commented 12 years ago

Author: dmorissette Date: 2005/04/13 - 18:41

Fixed.

1- Nothing to do for MapServer 4.4 since hte gdFontCacheSetup() call was never
added there.

2- I modified the configure script to require GD 2.0.16 (used to be 2.0.12).
Specifically, I replaced the test that was looking for gdImageSetAntiAliased
(2.0.12) by a test to look for gdFontCacheSetup (2.0.16) in configure.in.

This means that it won't be possible to build with older version of GD, but
forcing people to upgrade may just be a good thing anyway since GD 2.0.29
contains a fix for a security vulnerability.