Skip to content

Commit 96d9359

Browse files
committed
feat(eui-neo): add 0.5.8
CORE_SOURCES gains exactly one TU — core/render/image_stream.cpp, the new dynamic-texture surface (CPU-side pixel upload, e.g. decoded video frames). It is self-contained (its own header plus the STL), so the descriptor's sources go 25 → 26 and nothing else moves: 3rd/ is byte-identical, the tray bridge and window/input backends are unchanged, and deps/features/flags all carry over. The remaining upstream changes are backend internals for the new surface (opengl and vulkan image/upload paths, both shader sets), an off-by-default EUI_APP_RUNNER umbrella-main variant aimed at xmake-repo packaging, and an FFmpeg example behind EUI_BUILD_FFMPEG_VIDEO_EXAMPLE — all outside this package's source list. -fno-char8_t is still required: platform.cpp/shadertoy_json.cpp/ image_source.cpp still return path::u8string() as std::string. No CN mirror yet (never published to mcpp-res); same GLOBAL+CN entry shape as 0.5.7. sha256 derived from the tag tarball. All seven workspace members bumped to 0.5.8 and verified locally with mcpp 2026.9.4.1 (parse OK, lint green; eui-neo, eui-neo-window, eui-neo-app-main, eui-neo-markdown, eui-neo-vulkan, eui-neo-sdl2 and eui-neo-tray all pass — 549s total).
1 parent 60fca19 commit 96d9359

8 files changed

Lines changed: 43 additions & 9 deletions

File tree

pkgs/e/compat.eui-neo.lua

Lines changed: 36 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
-- genuinely vendored single-file headers live at its root (stb_image,
1616
-- nanosvg, nanosvgrast) and the sources include them as `"3rd/stb_image.h"`.
1717
--
18-
-- The build recipe below tracks upstream `CMakeLists.txt` (v0.5.7): CORE_SOURCES
18+
-- The build recipe below tracks upstream `CMakeLists.txt` (v0.5.8): CORE_SOURCES
1919
-- plus the OpenGL backend and, for the glfw window backend, `ime_bridge.c`.
2020
-- 0.5.5 grew a Shadertoy subsystem: render_backend.h and include/eui/types.h now
2121
-- include core/render/shadertoy.h unconditionally, and opengl_backend.cpp calls
@@ -37,8 +37,19 @@
3737
-- as before, and the x11_*.cpp / tray-gio pieces are not in CORE_SOURCES.
3838
-- The new `EUI_ENABLE_TRAY` option does not affect this package either.
3939
--
40+
-- 0.5.8: CORE_SOURCES gains exactly one TU — `core/render/image_stream.cpp`,
41+
-- the new dynamic-texture (CPU-side pixel upload, e.g. decoded video frames)
42+
-- surface. It is self-contained (its own header plus the STL), and the rest of
43+
-- the release is backend internals for it (opengl/vulkan image/upload paths,
44+
-- both backends' shaders), a new `EUI_APP_RUNNER` umbrella-main variant aimed
45+
-- at the xmake-repo packaging (off by default, irrelevant here), and an
46+
-- FFmpeg-based EXAMPLE behind `EUI_BUILD_FFMPEG_VIDEO_EXAMPLE` — app-level,
47+
-- not part of the lib. `3rd/`, the tray bridge, the window/input backends and
48+
-- both app-main TUs' source lists are unchanged, so deps/features/flags all
49+
-- carry over.
50+
--
4051
-- All `mcpp` paths are GLOBS relative to the verdir; the leading `*/` absorbs
41-
-- the GitHub tarball's `EUI-NEO-0.5.7/` wrap layer.
52+
-- the GitHub tarball's `EUI-NEO-0.5.8/` wrap layer.
4253
package = {
4354
spec = "1",
4455
namespace = "compat",
@@ -113,6 +124,14 @@ package = {
113124
CN = "https://gitcode.com/mcpp-res/eui-neo/releases/download/0.5.7/eui-neo-0.5.7.tar.gz" },
114125
sha256 = "2d3ec0a36e34b98d13dbdaf67afa4fe178cb4b52841eb17529517cb48be43551",
115126
},
127+
-- 0.5.8 has no CN mirror yet either (never published to mcpp-res);
128+
-- same fallback as 0.5.7. Flip to a real mirror if it gets one —
129+
-- sha256 stays the same.
130+
["0.5.8"] = {
131+
url = { GLOBAL = "https://github.com/sudoevolve/EUI-NEO/archive/refs/tags/v0.5.8.tar.gz",
132+
CN = "https://gitcode.com/mcpp-res/eui-neo/releases/download/0.5.8/eui-neo-0.5.8.tar.gz" },
133+
sha256 = "004d46f34d986030b1351080b381bcc48053eb24ebbdf52602b78364f285cd38",
134+
},
116135
},
117136
macosx = {
118137
["0.5.3"] = {
@@ -138,6 +157,12 @@ package = {
138157
CN = "https://gitcode.com/mcpp-res/eui-neo/releases/download/0.5.7/eui-neo-0.5.7.tar.gz" },
139158
sha256 = "2d3ec0a36e34b98d13dbdaf67afa4fe178cb4b52841eb17529517cb48be43551",
140159
},
160+
-- 0.5.8: see the linux block — no CN mirror yet, same fallback.
161+
["0.5.8"] = {
162+
url = { GLOBAL = "https://github.com/sudoevolve/EUI-NEO/archive/refs/tags/v0.5.8.tar.gz",
163+
CN = "https://gitcode.com/mcpp-res/eui-neo/releases/download/0.5.8/eui-neo-0.5.8.tar.gz" },
164+
sha256 = "004d46f34d986030b1351080b381bcc48053eb24ebbdf52602b78364f285cd38",
165+
},
141166
},
142167
windows = {
143168
["0.5.3"] = {
@@ -163,6 +188,12 @@ package = {
163188
CN = "https://gitcode.com/mcpp-res/eui-neo/releases/download/0.5.7/eui-neo-0.5.7.tar.gz" },
164189
sha256 = "2d3ec0a36e34b98d13dbdaf67afa4fe178cb4b52841eb17529517cb48be43551",
165190
},
191+
-- 0.5.8: see the linux block — no CN mirror yet, same fallback.
192+
["0.5.8"] = {
193+
url = { GLOBAL = "https://github.com/sudoevolve/EUI-NEO/archive/refs/tags/v0.5.8.tar.gz",
194+
CN = "https://gitcode.com/mcpp-res/eui-neo/releases/download/0.5.8/eui-neo-0.5.8.tar.gz" },
195+
sha256 = "004d46f34d986030b1351080b381bcc48053eb24ebbdf52602b78364f285cd38",
196+
},
166197
},
167198
},
168199

@@ -229,6 +260,9 @@ package = {
229260
"*/core/platform/tray_bridge.c",
230261
-- Render layer (backend-agnostic)
231262
"*/core/render/image.cpp",
263+
-- 0.5.8: the dynamic-texture surface (CPU-side pixel upload). Self-
264+
-- contained — its own header plus the STL; no new dep.
265+
"*/core/render/image_stream.cpp",
232266
"*/core/render/image_facade.cpp",
233267
"*/core/render/image_source.cpp",
234268
"*/core/render/primitive.cpp",

tests/examples/eui-neo-app-main/mcpp.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,4 +30,4 @@ name = "eui-neo-app-main-tests"
3030
version = "0.1.0"
3131

3232
[dependencies.compat]
33-
eui-neo = { version = "0.5.7", features = ["app-main"] }
33+
eui-neo = { version = "0.5.8", features = ["app-main"] }

tests/examples/eui-neo-markdown/mcpp.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ version = "0.1.0"
77
# what switches components/markdown.h from its fallback to the real parser.
88

99
[dependencies.compat]
10-
eui-neo = { version = "0.5.7", features = ["markdown"] }
10+
eui-neo = { version = "0.5.8", features = ["markdown"] }

tests/examples/eui-neo-sdl2/mcpp.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ version = "0.1.0"
77
# into a real libcurl-backed implementation. The render backend stays OpenGL,
88
# unnamed — naming a feature no longer costs you the defaults.
99
[dependencies.compat]
10-
eui-neo = { version = "0.5.7", features = ["sdl2", "network"] }
10+
eui-neo = { version = "0.5.8", features = ["sdl2", "network"] }

tests/examples/eui-neo-tray/mcpp.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,4 @@ name = "eui-neo-tray-tests"
2525
version = "0.1.0"
2626

2727
[dependencies.compat]
28-
eui-neo = "0.5.7"
28+
eui-neo = "0.5.8"

tests/examples/eui-neo-vulkan/mcpp.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ version = "0.1.0"
66
# package resolves the exclusive choice in its own preprocessor from the
77
# MCPP_FEATURE_* flags. The window backend stays GLFW, unnamed.
88
[dependencies.compat]
9-
eui-neo = { version = "0.5.7", features = ["vulkan"] }
9+
eui-neo = { version = "0.5.8", features = ["vulkan"] }
1010

1111
[build]
1212
cxxflags = ["-DHAVE_EUI_VULKAN=1"]

tests/examples/eui-neo-window/mcpp.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,4 +34,4 @@ name = "eui-neo-window-tests"
3434
version = "0.1.0"
3535

3636
[dependencies.compat]
37-
eui-neo = "0.5.7"
37+
eui-neo = "0.5.8"

tests/examples/eui-neo/mcpp.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ name = "eui-neo-tests"
33
version = "0.1.0"
44

55
[dependencies.compat]
6-
eui-neo = "0.5.7"
6+
eui-neo = "0.5.8"

0 commit comments

Comments
 (0)