# ext/gd, cleanup, iirc

- Thread: https://externals.io/message/18210
- Original archive: https://news-web.php.net/php.internals/18210
- Started by Pierre-Alain Joye on 2005-08-18T13:28:46+00:00
- Messages: 5
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #18210 — Pierre-Alain Joye — 2005-08-18T13:28:46+00:00

URL: https://externals.io/message/18210#18210

Hello,

This is a last warning before I cleanup the GD in HEAD.

The cleanup consists of:

* Drop Freetype 1 support

* Drop GD1 support

* Remove functions getting deprecated by the precendent 2 points

* bump the minimum version of the required libs (I left zlib to the
  base dependency as it is used anywhere).
  
  - libpng, 1.2.8
  - libjpeg 6b3x
  - freetype 2.1.10

These versions match the last releases of each lib. As far as I
can see they are available for various distributions as well.
Obviously, we will use any critical releases which can raise from
now and the "hypothetic" php 6.0 first RC.

Once the cleanup is done, a sync with the official GD can be
commited.

If someone has any objection to a cleanup or comments, please do it
quickly :)


Regards,

--Pierre

---

## #18211 — Edin Kadribasic — 2005-08-18T13:36:55+00:00

URL: https://externals.io/message/18210#18211 · In reply to: #18210

Pierre-Alain Joye wrote:
> Hello,
> 
> This is a last warning before I cleanup the GD in HEAD.
> 
> The cleanup consists of:
> 
> * Drop Freetype 1 support
> 
> * Drop GD1 support
> 
> * Remove functions getting deprecated by the precendent 2 points

This sounds fine.

> * bump the minimum version of the required libs (I left zlib to the
>   base dependency as it is used anywhere).
>   
>   - libpng, 1.2.8
>   - libjpeg 6b3x
>   - freetype 2.1.10

I say we do not have to require the latest and the greatest libs. Just
require the latest known working.

I'm using freetype-2.0.9 and libpng-1.0.14 and see no reason why we
should artificially increase the requirements.

Edin

---

## #18212 — Pierre-Alain Joye — 2005-08-18T13:39:39+00:00

URL: https://externals.io/message/18210#18212 · In reply to: #18211

On Thu, 18 Aug 2005 15:36:55 +0200
Edin Kadribasic <edink@emini.dk> wrote:


> I say we do not have to require the latest and the greatest libs.
> Just require the latest known working.
> 
> I'm using freetype-2.0.9 and libpng-1.0.14 and see no reason why
> we should artificially increase the requirements.

For libpng there is a security reason. For freetype there is a
quality reason.

As argument, we are talking about versions that will be required
_when_ php 6.0 will get out. Meaning they will not be the latest
and greates versions.

Regards,

--Pierre

---

## #18213 — Edin Kadribasic — 2005-08-18T13:40:55+00:00

URL: https://externals.io/message/18210#18213 · In reply to: #18212

Pierre-Alain Joye wrote:
> On Thu, 18 Aug 2005 15:36:55 +0200
> Edin Kadribasic <edink@emini.dk> wrote:
> 
> 
> 
> > […]
> 
> 
> For libpng there is a security reason. For freetype there is a
> quality reason.

Distros upgrade security issues without upgrading the whole libraries.

> As argument, we are talking about versions that will be required
> _when_ php 6.0 will get out. Meaning they will not be the latest
> and greates versions.

Just don't make any hard dependancies please.

Edin

---

## #18214 — Jani Taskinen — 2005-08-18T13:50:13+00:00

URL: https://externals.io/message/18210#18214 · In reply to: #18210

> * bump the minimum version of the required libs (I left zlib to the
>  base dependency as it is used anywhere).
>
>  - libpng, 1.2.8
>  - libjpeg 6b3x
>  - freetype 2.1.10

     As long as these are only preferred not required, they're fine.
     RHEL4 for example has libpng 1.2.7 and freetype 2.1.9.

     --Jani
