Skip to content

[babl] Update to 0.1.126, add native msvc support#50922

Merged
BillyONeal merged 1 commit into
microsoft:masterfrom
talregev:TalR/babl/msvc
Apr 15, 2026
Merged

[babl] Update to 0.1.126, add native msvc support#50922
BillyONeal merged 1 commit into
microsoft:masterfrom
talregev:TalR/babl/msvc

Conversation

@talregev
Copy link
Copy Markdown
Contributor

@talregev talregev commented Apr 2, 2026

  • Changes comply with the maintainer guide.
  • SHA512s are updated for each updated download.
  • The "supports" clause reflects platforms that may be fixed by this new version, or no changes were necessary.
  • Any fixed CI baseline and CI feature baseline entries are removed from that file, or no entries needed to be changed.
  • All patch files in the port are applied and succeed.
  • The version database is fixed by rerunning ./vcpkg x-add-version --all and committing the result.
  • Exactly one version is added in each modified versions file.

@talregev talregev force-pushed the TalR/babl/msvc branch 7 times, most recently from 606ba5b to c72a6a0 Compare April 3, 2026 01:10
@talregev
Copy link
Copy Markdown
Contributor Author

talregev commented Apr 3, 2026

@talregev talregev force-pushed the TalR/babl/msvc branch 4 times, most recently from 67556d9 to 9d23657 Compare April 4, 2026 12:49
@talregev talregev changed the title [babl] Add msvc support [babl] Add native msvc support Apr 4, 2026
@talregev talregev marked this pull request as ready for review April 4, 2026 14:06
@talregev
Copy link
Copy Markdown
Contributor Author

talregev commented Apr 4, 2026

Upstream approve and merge my patch 🥳

@dg0yt
Copy link
Copy Markdown
Contributor

dg0yt commented Apr 5, 2026

Yeah, more mallocs for free!

@talregev
Copy link
Copy Markdown
Contributor Author

talregev commented Apr 5, 2026

Yeah, more mallocs for free!

I know you can do it better!

@talregev
Copy link
Copy Markdown
Contributor Author

talregev commented Apr 8, 2026

@vicroms
My PR is ready for review

@vicroms
Copy link
Copy Markdown
Member

vicroms commented Apr 8, 2026

These are too many product code patches, now that they have been merged upstream, perhaps we should wait for an upstream release with them included.

@vicroms vicroms added the requires:vcpkg-team-review This PR or issue requires someone on the vcpkg team to take a further look. label Apr 8, 2026
@vicroms vicroms marked this pull request as draft April 8, 2026 07:37
@talregev
Copy link
Copy Markdown
Contributor Author

talregev commented Apr 8, 2026

@brunvonlope FYI
Can you release a new version of babl, that I will update and create a msvc support?

@brunvonlope
Copy link
Copy Markdown
Contributor

Can you release a new version of babl, that I will update and create a msvc support?

@talregev I can't tag a commit on babl/gegl repos because I'm not the maintainer. I will ask to the maintainer anyway since we are close to release gimp 3.2.4 but no promises 😅

@talregev
Copy link
Copy Markdown
Contributor Author

talregev commented Apr 8, 2026

I will ask to the maintainer anyway since we are close to release gimp 3.2.4 but no promises

The same also for gegl 🙈

@brunvonlope
Copy link
Copy Markdown
Contributor

Done: https://gitlab.gnome.org/GNOME/gimp/-/issues/16193#note_2728943

From my experience observing babl/gegl releases, I suggest to not hold your breath and merge this as it is for now, them the patches can be removed when the new versions came out

@talregev
Copy link
Copy Markdown
Contributor Author

talregev commented Apr 8, 2026

Done: https://gitlab.gnome.org/GNOME/gimp/-/issues/16193#note_2728943

From my experience observing babl/gegl releases, I suggest to not hold your breath and merge this as it is for now, them the patches can be removed when the new versions came out

It not depend on me. The official vcpkg respond for this PR (babl) is wait for babl release.

@talregev
Copy link
Copy Markdown
Contributor Author

talregev commented Apr 8, 2026

@talregev talregev marked this pull request as ready for review April 10, 2026 07:02
@talregev
Copy link
Copy Markdown
Contributor Author

@vicroms I update to next version of babl that include the msvc support.
Can you review my PR?

@talregev talregev changed the title [babl] Add native msvc support [babl] Update to 0.1.126, add native msvc support Apr 10, 2026
@BillyONeal BillyONeal removed the requires:vcpkg-team-review This PR or issue requires someone on the vcpkg team to take a further look. label Apr 11, 2026
@BillyONeal
Copy link
Copy Markdown
Member

This was "requires:vcpkg-team-review" due to number / size of patches, which no longer applies.


/* If the DLL file name is of the format
- * <foobar>\bin\*.dll, use <foobar>\lib\{BABL_LIBRARY}.
+ * <foobar>\bin\*.dll, use <foobar>\plugins\{BABL_LIBRARY}.
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  1. I'm a bit nervous that this won't get correctly picked up by applocal.ps1 et al. since these are not going to be static dependencies. What happens to an end user's program if these plugins aren't present? Is this a change that comes from this update specifically or are you just trying to fix something that has always been toast?
  2. I'm a bit nervous that this accidentally makes every DLL in here not get checked by post build lint.
babl:x64-windows:/bin/babl-0.1-0.dll
babl:x64-windows:/bin/babl-0.1-0.pdb
babl:x64-windows:/debug/bin/babl-0.1-0.dll
babl:x64-windows:/debug/bin/babl-0.1-0.pdb
babl:x64-windows:/debug/lib/babl-0.1.lib
babl:x64-windows:/debug/lib/pkgconfig/babl-0.1.pc
babl:x64-windows:/debug/plugins/babl-0.1/avx2-int8.dll
babl:x64-windows:/debug/plugins/babl-0.1/avx2-int8.lib
babl:x64-windows:/debug/plugins/babl-0.1/avx2-int8.pdb

Should it be bin/plugins ?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@BillyONeal This is not a specific issue for babl but has been an unresolved topic for years: applocal.ps1 is uninformed about plugins (except for hacks for qt and magnum). All we got is the recommendation of using plugins/<group>.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In gazebo we put the plugins in plugins folder. The same pattern here.

Let me know your decision

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@BillyONeal This is not a specific issue for babl but has been an unresolved topic for years: applocal.ps1 is uninformed about plugins (except for hacks for qt and magnum). All we got is the recommendation of using plugins/<group>.

I understand that it's a general problem but it's a problem that as far as I understand it didn't apply to this port before?

Copy link
Copy Markdown
Contributor Author

@talregev talregev Apr 13, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This port didn't compile on windows before. If I don't mistake, there was a share libs on lib folder on linux, but your scripts doesn't detect it.

@BillyONeal BillyONeal added the requires:vcpkg-team-review This PR or issue requires someone on the vcpkg team to take a further look. label Apr 11, 2026
@BillyONeal
Copy link
Copy Markdown
Member

(And now I'm adding requires:vcpkg-team-review again due to the "plugins" question)

Copy link
Copy Markdown
Member

@BillyONeal BillyONeal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks and sorry for the delay while Bill confirmed 😅

@BillyONeal BillyONeal merged commit d034cf1 into microsoft:master Apr 15, 2026
16 checks passed
@BillyONeal
Copy link
Copy Markdown
Member

(To be clear, applocal.ps1 remains a big problem but as you mentioned before, this problem was already here, we just didn't detect it on Linux before)

@talregev talregev deleted the TalR/babl/msvc branch April 15, 2026 21:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

requires:vcpkg-team-review This PR or issue requires someone on the vcpkg team to take a further look.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants