From:  cmbecker69@gmx.de ("Christoph M. Becker")
Date:  25 Jan 2017 07:11:18 Hong Kong Time
Newsgroup:  news.php.net/php.internals.win
Subject:  

Re: [INTERNALS-WIN] FR: add libtiff to winlibs and php-sdk/deps

NNTP-Posting-Host:  null

Hi Anatol!

On 24.01.2017 at 20:08, Anatol Belski wrote:

>> -----Original Message-----
>> From: Christoph M. Becker [mailto:cmbecker69@gmx.de]
>> Sent: Tuesday, January 24, 2017 7:24 PM
>> To: internals-win@lists.php.net
>> Subject: [INTERNALS-WIN] FR: add libtiff to winlibs and php-sdk/deps
>>
>> So would it be possible to add libtiff to , and to
>> make a binary distribution available as part of the php-sdk?
>> Note that TIFF support is not planned for PHP's GD binding for now[5], but as
>> soon as TIFF support has improved, that is likely to change.
>>
> That's the exact reason libtiff  is not in the core deps, as it's not used anywhere in the core, or would be picked up otherwise where it's not expected. Instead, it's provided for PECL and is picked up when some ext or it's dependency requires it. You can find the current builds here http://windows.php.net/downloads/pecl/deps/ . 

Thanks!  I wasn't aware of the PECL deps, but after a quick check, the
available libtiff seems to be fine to build libgd with TIFF support for
Windows.  (Also there is fontconfig, what is more than I had hoped for. :))

BTW, is there some publicly available repo for the sources of pecl/deps?

> For now AFAIR, it's only used as a dependency in some of the Gnome libs. The latest ones also use libjpeg-turbo,

libgd is supposed to support the classic libjpeg as well as
libjpeg-turbo, so the one in php-sdk/deps appears to be fine.  I don't
know (yet) whether libjpeg-turbo would be an improvement, so at the
moment I'm fine to stick with the classic libjpeg. :)

Cheers,
Christoph