75 Commits

Author SHA1 Message Date
Alex Shvartzkop 3fa40e05dc Use GLAD for OpenGL loading instead of GLEW.
This allows us to pick GLX on X11 and EGL on Wayland
at runtime when building with wxWidgets 3.3.2+

GLEW only allowed to choose between GLX/EGL at compile time.

This also removes KICAD_USE_EGL option, KiCad will use
whatever wxWidgets was built with.

Fixes https://gitlab.com/kicad/code/kicad/-/issues/20647
2026-02-22 14:56:40 +03:00
Mark Roszko a1ba0b4c16 Bump wx3.3 packs 2026-02-18 22:36:46 -05:00
Mark Roszko c6a6ffb016 Bump wx to latest master for windows 2026-01-27 19:38:11 -05:00
Mark Roszko bb3003aff7 Bump wxpython-33 port version 2026-01-22 23:15:03 -05:00
Mark Roszko e091065edc Try to update vcpkg baseline again 2026-01-21 18:46:08 -05:00
Mark Roszko 8a40c4df36 Revert "Bump vcpkg baseline"
This reverts commit bf1f0f565f
2026-01-17 21:50:11 +00:00
Mark Roszko bf1f0f565f Bump vcpkg baseline 2026-01-17 14:24:43 -05:00
Mark Roszko 466e24e288 vcpkg bump for wx 3.3.1#2 2025-11-30 20:19:38 -05:00
Mark Roszko d717718fa6 Bump vcpkg to fix wxpython 2025-11-22 12:44:44 -05:00
Mark Roszko 5b8307e89e update to kicad-vcpkg wx 3.3.1 2025-11-20 21:46:29 -05:00
Mark Roszko 95bd48b17e vcpkg dependency bump 2025-11-05 20:42:48 -05:00
Mark Roszko 922699f388 Update ngspice to 45.2 2025-09-06 13:35:28 -04:00
Mark Roszko 264029c8e9 Update kicad-vcpkg and ngspice 2025-09-06 08:46:34 -04:00
Mark Roszko c6cd592bb1 Bump vcpkg for newer opencascade port 2025-07-07 20:44:29 -04:00
Mark Roszko 9dd1ba7f9f Update wxwidgets-33 port to fix arm64 build 2025-07-02 20:14:26 -04:00
Mark Roszko 23d64221e3 Bump wxwidgets-33 port being used 2025-06-19 20:22:20 -04:00
Mark Roszko 95235dc8ad Minor port updates 2025-06-16 21:03:44 -04:00
Mark Roszko 2440cf4892 Update vcpkg for wx3.3 trial in windows nightlies 2025-06-14 15:10:50 -04:00
Marek Roszko ab75263b91 Bump kicad-vcpkg to fix occt debug 2025-06-02 21:02:08 -04:00
Marek Roszko e32b3c4f61 Move kicad-vcpkg forwards for occt 7.9.1 2025-05-22 00:12:12 -04:00
Marek Roszko f06216a64a Bump wxwidgets in vcpkg 2025-05-21 23:05:21 -04:00
Marek Roszko 99762565bd Update vcpkg baseline 2025-05-21 19:53:02 -04:00
Seth Hillbrand e75076ab41 Revert "Replace glew with epoxy"
This reverts merge request !2217
2025-04-22 15:16:58 -07:00
Michal Suchánek 0c36e16292 Replace glew with epoxy
Glew has the problem that it has to be selected at build time if GLX or
EGL is supported by the library, and this in not encoded in the library
name, nor ABI, nor anything.

Then it's easy to get into the situation that a binary is built but
cannot run because glew supports an API different from the one used by
wxWidgets, or the binary fails to link in the end after all objects are
compiled.

epoxy can support both with the same library avoiding this problem.

epoxy is not initialized explicitly, replaced initialization with
version check where one was not done already.

It seems to be available as vcpkg https://vcpkg.link/ports/libepoxy

There are problems related to GL context switching on Windows which does
not seem to be used in kicad
https://github.com/anholt/libepoxy#known-issues-when-running-on-windows
There is also a problem related to multithreaded rendering on Windows
https://github.com/anholt/libepoxy/pull/265 It's harder to tell if
threading is used for rendering but it does not look like kicad is doing
anything complex enough to warrant using multiple rendering threads.

Fixes https://gitlab.com/kicad/code/kicad/-/issues/20630
Fixes https://gitlab.com/kicad/code/kicad/-/issues/12543
2025-04-22 12:54:39 -07:00
Marek Roszko 68b3f66cd3 Bump vcpkg mainline 2025-01-26 20:55:46 -05:00
Marek Roszko 76728ab748 Bump vcpkg for wxpython ducktape 2025-01-26 20:55:46 -05:00
Marek Roszko 92c804b1f3 Bump wxwidgets for trace patch 2025-01-11 11:22:44 -05:00
Marek Roszko d03a59de4c Use newer ngspice port to fix arm64 build 2025-01-05 09:53:40 -05:00
Marek Roszko ee7323dc42 Update vcpkg for ngspice 44 2025-01-04 14:45:17 -05:00
Marek Roszko dee5595bb9 Bump vcpkg and wxwidget port for aui hotfix 2024-11-02 15:02:13 -04:00
Marek Roszko 04cc05645f Bump kicad-vcpkg for wx 2024-10-05 07:38:36 -04:00
Marek Roszko 34b4621cd6 Update our vcpkg ports 2024-10-02 06:50:44 -04:00
Mark Roszko 4448c98918 Update 2 files
- /vcpkg.json
- /vcpkg-configuration.json
2024-07-21 01:18:43 +00:00
Marek Roszko c1315b164e Bump vcpkg for patched wx 3.2.5 for gdi leak 2024-07-15 20:04:02 -04:00
Mark Roszko fb0d927022 Move vcpkg baseline forwards 2024-07-11 23:37:44 +00:00
Marek Roszko ba65231f6b Move vcpkg to wx 3.2.5 2024-05-25 10:29:02 -04:00
Mark Roszko 695493fc3d Remove the kicad-vcpkg xz override 2024-05-10 01:42:24 +00:00
Marek Roszko 1a1be2d542 Update vcpkg wxpython 2024-05-02 18:31:33 -04:00
Marek Roszko 02325169d0 Bump vcpkg for occt 7.8.1 2024-04-02 21:06:47 -04:00
Marek Roszko 6ac1f39e62 Use kicad-vcpkg fork of liblzma to fix builds 2024-04-02 18:04:51 -04:00
Marek Roszko 77a87101ef Bump vcpkg baseline 2024-02-27 07:48:21 -05:00
Mark Roszko 4e81f48b3e Update vcpkg baseline 2024-01-18 15:12:34 +00:00
Marek Roszko 88dc531d91 Update vcpkg to get locale installing wxwidgets 2024-01-15 21:11:19 -05:00
Marek Roszko d2c3d38729 Update the vcpkg main baseline 2023-12-30 20:08:13 -05:00
Mark Roszko e8cd5f938d update vcpkg for ngspice 42 2023-12-30 04:07:10 +00:00
Marek Roszko beb917e572 Bump kicad-vcpkg repo for wx 3.2.4 2023-11-09 22:44:24 -05:00
Marek Roszko 5a8f38952b Move vcpkg forwards 2023-10-12 18:32:58 -04:00
Marek Roszko 37bdba80ab Pull in ngspice 41 for vcpkg 2023-09-04 15:34:56 -04:00
Marek Roszko a1f1e4c371 update vcpkg baseline 2023-08-08 22:22:48 -04:00
Marek Roszko 1ed4cd3644 Bump vcpkg for opencascade 2023-06-05 21:10:39 -04:00