On Mon, Jun 7, 2021 at 10:01 AM Remi Collet <r...@php.net> wrote: > Le 04/06/2021 à 16:36, Ben Morss via internals a écrit : > > > ... I created a PR to propagate libgd's AVIF > > support into PHP's bundled gd fork... > > Does it really make sense to keep maintaining this fork ? > > Having to maintain 2 (quite) different code and picking > piece from one to other seems a waste of energy. > > I really think that we'll need to re-sync bundled gd > with upstream and only keep it as an alternative for > people without system gd (and perhaps even drop it later) >
Once https://github.com/libgd/libgd/pull/692 lands, the goal would indeed be to switch away from using a gd fork to bundling an unpatched upstream gd (and maybe unbundling in the future). This is not entirely easy as the codebases have diverged, but custom allocators are the current technical blocker. Regards, Nikita