Skip to content

feat(eui-neo): 0.5.7 - #243

Merged
Sunrisepeak merged 1 commit into
mcpplibs:mainfrom
FarnaHerry:feat/eui-neo-0.5.7
Aug 23, 2026
Merged

feat(eui-neo): 0.5.7#243
Sunrisepeak merged 1 commit into
mcpplibs:mainfrom
FarnaHerry:feat/eui-neo-0.5.7

Conversation

@FarnaHerry

Copy link
Copy Markdown
Collaborator

内容

EUI-NEO 0.5.7(2026-08-22 发布)。compat.eui-neo 新增 linux/macosx/windows 三平台 0.5.7 入口,六个 workspace 成员(eui-neo / -window / -app-main / -markdown / -vulkan / -sdl2)统一升到 0.5.7。

为什么源码列表不需要动

对比 0.5.6 与 0.5.7 的 CMakeLists.txt:

  • CORE_SOURCES 逐字节一致(0.5.7 第 211-231 行),本描述符编译的源列表(含 shadertoy 系列、window_input_backend.cpp、OpenGL 后端)不变;
  • 本版本的实质改动都在描述符不编译的路径上:
    • linux 托盘默认换成 SNI:tray_bridge.c 新增 EUI_TRAY_SNI 分支,用 glib/gio 的 GDBus 直接讲 freedesktop StatusNotifierItem + DBusMenu 协议,弃用已死的 GTK3+libappindicator 链路。compat.tray 不提供 GDBus,所以 linux 腿仍然编进 EUI_TRAY_HAS_BACKEND=0 空桩,行为与 0.5.6 一致;
    • SDL2 专属输入修复:window_input_backend.cpp/window_backend.cpp 的 0.5.7 改动(SDL_GetMouseFocus、指针/按键映射、X11 resources)都在 EUI_WINDOW_BACKEND_SDL2 门后,GLFW 默认路径不受影响;
    • 新增的 EUI_ENABLE_TRAY option 不影响本包(其源码不在 CORE_SOURCES 内)。
  • opengl/vulkan 后端头文件的差异属后端选择宏层面,mcpp_eui_backends.h 强制头已覆盖。

验证

本地(最新 mcpp 2026.8.15.1,冷构建,无宿主路径注入)六个成员全部 test result ok. 1 passed:

成员 结果
eui-neo
eui-neo-window
eui-neo-app-main
eui-neo-markdown
eui-neo-vulkan
eui-neo-sdl2 ✅(后台跑完)

lint(check_mirror_urls / check_package_name)与钉住版 xpkg parse 均通过;sha256 双次下载复核一致(2d3ec0a3…)。

CN 镜像

0.5.7 尚未发布到 mcpp-res,沿用 0.5.5 的纯字符串 GLOBAL 回退;发布后 flip 成 { GLOBAL, CN }、sha256 不变。

CORE_SOURCES is byte-identical to 0.5.6, so the lib shape does not
change. The version's real moves are outside this package: the linux
tray default now speaks freedesktop SNI over glib/gio GDBus (replacing
the dead GTK3+libappindicator path — compat.tray never feeds that, so
the linux leg still builds the EUI_TRAY_HAS_BACKEND=0 stub), and the
SDL2-only input fixes (SDL_GetMouseFocus, pointer/button mapping) plus
X11 resource handling in the SDL2 window backend. None of the changed
sources are in CORE_SOURCES, and EUI_ENABLE_TRAY does not affect the
descriptor's source list either — bumps to the shadertoy/opengl TUs are
header-level (backend selection) only.

No CN mirror yet (never published to mcpp-res); plain-string GLOBAL
fallback, same as 0.5.5. sha256 double-checked.

All six workspace members bumped to 0.5.7 and verified: eui-neo,
eui-neo-window, eui-neo-app-main, eui-neo-markdown, eui-neo-vulkan and
eui-neo-sdl2 all pass (the sdl2 leg finished in a background run).
@Sunrisepeak
Sunrisepeak merged commit 01d4254 into mcpplibs:main Aug 23, 2026
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants