[INTERNALS-WIN] Re: New Windows/others dependencies for bundled GD in PHP 8.6?
[email protected] (Shivam Mathur) Fri, 3 Jul 2026 10:32:57 +0530
| Newsgroups | php.internals.win |
|---|---|
| Message-ID | <[email protected]> |
--Apple-Mail=_C9B1ED1E-86FD-4419-BE14-E18C852DC1DB Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Yes, currently the brotli builds do not have static libs.=20 We had existing brotli builds before I worked on it and they were used = for the brotli PECL extension. I have kept it that way, since some extensions have a preference for the = static brotli libs and having both in the build would lead to it being = linked differently for PHP and some of the PECL extensions. - Shivam > On 3 Jul 2026, at 10:05=E2=80=AFAM, Pierre Joye <[email protected]> = wrote: >=20 > On Fri, Jul 3, 2026 at 11:15=E2=80=AFAM Pierre Joye = <[email protected] <mailto:[email protected]>> wrote: >>=20 >> Hi Shivam, >>=20 >> On Fri, Jul 3, 2026 at 10:36=E2=80=AFAM Shivam Mathur = <[email protected]> wrote: >>>=20 >>> Hi Pierre, >>>=20 >>> Yes, I have uploaded the builds and added them to the manifests for = 8.6 and master. >>>=20 >>> I forgot to mention this earlier, we recently added support for zstd = and brotli encoding in curl, so we have brotli as a dependency in the = manifest. >>> So I removed the shared libs for brotli in the libjxl builds as they = were overwriting the ones we have. >>> I would like to clean up this in the future so that libjxl can use = the existing brotli builds as dependencies, but for now it should work. >>> Might be a good idea to add fallbacks in the GD PR to use the = existing shared brotli libraries. >>=20 >> Totally, I first got some build issues using it, so I moved to the >> third_party way. I will check that out and make sure we use the >> static brotli from the deps as well. That may also avoid conflicting >> versions, if any. >=20 > Looking at the brotli dep, any reason brotli does not use _a? >=20 > --=20 > Pierre >=20 > @pierrejoye --Apple-Mail=_C9B1ED1E-86FD-4419-BE14-E18C852DC1DB Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8 <html aria-label=3D"message body"><head><meta http-equiv=3D"content-type" = content=3D"text/html; charset=3Dutf-8"></head><body = style=3D"overflow-wrap: break-word; -webkit-nbsp-mode: space; = line-break: after-white-space;">Yes, currently the brotli builds do not = have static libs. <div>We had existing brotli builds before I = worked on it and they were used for the brotli PECL = extension.</div><div>I have kept it that way, since some extensions have = a preference for the static brotli libs and having both in the build = would lead to it being linked differently for PHP and some of the PECL = extensions.<br><div><div><br></div><div>- Shivam<br = id=3D"lineBreakAtBeginningOfMessage"><div><br><blockquote = type=3D"cite"><div>On 3 Jul 2026, at 10:05=E2=80=AFAM, Pierre Joye = <[email protected]> wrote:</div><br = class=3D"Apple-interchange-newline"><div><meta charset=3D"UTF-8"><span = style=3D"caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: = 12px; font-style: normal; font-variant-caps: normal; font-weight: 400; = letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; = text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; = -webkit-text-stroke-width: 0px; text-decoration: none; float: none; = display: inline !important;">On Fri, Jul 3, 2026 at 11:15=E2=80=AFAM = Pierre Joye <</span><a href=3D"mailto:[email protected]" = style=3D"font-family: Helvetica; font-size: 12px; font-style: normal; = font-variant-caps: normal; font-weight: 400; letter-spacing: normal; = orphans: 2; text-align: start; text-indent: 0px; text-transform: none; = white-space: normal; widows: 2; word-spacing: 0px; = -webkit-text-stroke-width: 0px;">[email protected]</a><span = style=3D"caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: = 12px; font-style: normal; font-variant-caps: normal; font-weight: 400; = letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; = text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; = -webkit-text-stroke-width: 0px; text-decoration: none; float: none; = display: inline !important;">> wrote:</span><br style=3D"caret-color: = rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: = normal; font-variant-caps: normal; font-weight: 400; letter-spacing: = normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: = none; white-space: normal; widows: 2; word-spacing: 0px; = -webkit-text-stroke-width: 0px; text-decoration: none;"><blockquote = type=3D"cite" style=3D"font-family: Helvetica; font-size: 12px; = font-style: normal; font-variant-caps: normal; font-weight: 400; = letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; = text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; = -webkit-text-stroke-width: 0px; text-decoration: none;"><br>Hi = Shivam,<br><br>On Fri, Jul 3, 2026 at 10:36=E2=80=AFAM Shivam Mathur = <[email protected]> wrote:<br><blockquote = type=3D"cite"><br>Hi Pierre,<br><br>Yes, I have uploaded the builds and = added them to the manifests for 8.6 and master.<br><br>I forgot to = mention this earlier, we recently added support for zstd and brotli = encoding in curl, so we have brotli as a dependency in the = manifest.<br>So I removed the shared libs for brotli in the libjxl = builds as they were overwriting the ones we have.<br>I would like to = clean up this in the future so that libjxl can use the existing brotli = builds as dependencies, but for now it should work.<br>Might be a good = idea to add fallbacks in the GD PR to use the existing shared brotli = libraries.<br></blockquote><br>Totally, I first got some build issues = using it, so I moved to the<br>third_party way. I will check that = out and make sure we use the<br>static brotli from the deps as well. = That may also avoid conflicting<br>versions, if = any.<br></blockquote><br style=3D"caret-color: rgb(0, 0, 0); = font-family: Helvetica; font-size: 12px; font-style: normal; = font-variant-caps: normal; font-weight: 400; letter-spacing: normal; = orphans: 2; text-align: start; text-indent: 0px; text-transform: none; = white-space: normal; widows: 2; word-spacing: 0px; = -webkit-text-stroke-width: 0px; text-decoration: none;"><span = style=3D"caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: = 12px; font-style: normal; font-variant-caps: normal; font-weight: 400; = letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; = text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; = -webkit-text-stroke-width: 0px; text-decoration: none; float: none; = display: inline !important;">Looking at the brotli dep, any reason = brotli does not use _a?</span><br style=3D"caret-color: rgb(0, 0, 0); = font-family: Helvetica; font-size: 12px; font-style: normal; = font-variant-caps: normal; font-weight: 400; letter-spacing: normal; = orphans: 2; text-align: start; text-indent: 0px; text-transform: none; = white-space: normal; widows: 2; word-spacing: 0px; = -webkit-text-stroke-width: 0px; text-decoration: none;"><br = style=3D"caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: = 12px; font-style: normal; font-variant-caps: normal; font-weight: 400; = letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; = text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; = -webkit-text-stroke-width: 0px; text-decoration: none;"><span = style=3D"caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: = 12px; font-style: normal; font-variant-caps: normal; font-weight: 400; = letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; = text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; = -webkit-text-stroke-width: 0px; text-decoration: none; float: none; = display: inline !important;">--<span = class=3D"Apple-converted-space"> </span></span><br = style=3D"caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: = 12px; font-style: normal; font-variant-caps: normal; font-weight: 400; = letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; = text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; = -webkit-text-stroke-width: 0px; text-decoration: none;"><span = style=3D"caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: = 12px; font-style: normal; font-variant-caps: normal; font-weight: 400; = letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; = text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; = -webkit-text-stroke-width: 0px; text-decoration: none; float: none; = display: inline !important;">Pierre</span><br style=3D"caret-color: = rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: = normal; font-variant-caps: normal; font-weight: 400; letter-spacing: = normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: = none; white-space: normal; widows: 2; word-spacing: 0px; = -webkit-text-stroke-width: 0px; text-decoration: none;"><br = style=3D"caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: = 12px; font-style: normal; font-variant-caps: normal; font-weight: 400; = letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; = text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; = -webkit-text-stroke-width: 0px; text-decoration: none;"><span = style=3D"caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: = 12px; font-style: normal; font-variant-caps: normal; font-weight: 400; = letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; = text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; = -webkit-text-stroke-width: 0px; text-decoration: none; float: none; = display: inline = !important;">@pierrejoye</span></div></blockquote></div><br></div></div></= div></body></html>= --Apple-Mail=_C9B1ED1E-86FD-4419-BE14-E18C852DC1DB--