Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 34 additions & 2 deletions pkgs/e/compat.eui-neo.lua
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
-- genuinely vendored single-file headers live at its root (stb_image,
-- nanosvg, nanosvgrast) and the sources include them as `"3rd/stb_image.h"`.
--
-- The build recipe below tracks upstream `CMakeLists.txt` (v0.5.6): CORE_SOURCES
-- The build recipe below tracks upstream `CMakeLists.txt` (v0.5.7): CORE_SOURCES
-- plus the OpenGL backend and, for the glfw window backend, `ime_bridge.c`.
-- 0.5.5 grew a Shadertoy subsystem: render_backend.h and include/eui/types.h now
-- include core/render/shadertoy.h unconditionally, and opengl_backend.cpp calls
Expand All @@ -26,8 +26,19 @@
-- the ONLY lib source-list change between the two versions; everything else the
-- descriptor names is byte-identical in upstream's CORE_SOURCES.
--
-- 0.5.7: CORE_SOURCES is byte-identical to 0.5.6, so the lib's shape does not
-- change; the version's real moves are the linux tray default (SNI over GDBus
-- via glib/gio, replacing the dead GTK3+libappindicator path — tray_bridge.c
-- now speaks freedesktop SNI when EUI_TRAY_SNI is set, which `compat.tray`
-- never feeds) and SDL2-only input fixes (SDL_GetMouseFocus, pointer/button
-- mapping) plus X11 resource handling in the SDL2 window backend. None of that
-- touches the sources this descriptor compiles: `compat.tray` does not provide
-- GDBus, so the linux leg still builds the EUI_TRAY_HAS_BACKEND=0 stub exactly
-- as before, and the x11_*.cpp / tray-gio pieces are not in CORE_SOURCES.
-- The new `EUI_ENABLE_TRAY` option does not affect this package either.
--
-- All `mcpp` paths are GLOBS relative to the verdir; the leading `*/` absorbs
-- the GitHub tarball's `EUI-NEO-0.5.6/` wrap layer.
-- the GitHub tarball's `EUI-NEO-0.5.7/` wrap layer.
package = {
spec = "1",
namespace = "compat",
Expand Down Expand Up @@ -57,6 +68,13 @@ package = {
CN = "https://gitcode.com/mcpp-res/eui-neo/releases/download/0.5.6/eui-neo-0.5.6.tar.gz" },
sha256 = "0df8d79897a480566b0989060f206431d12c4a83eb7aef50b8e5d21f1676abf8",
},
-- 0.5.7 has no CN mirror yet (never published to mcpp-res); same
-- plain-string fallback as 0.5.5. Flip to { GLOBAL, CN } if it gets
-- mirrored — sha256 stays the same.
["0.5.7"] = {
url = "https://github.com/sudoevolve/EUI-NEO/archive/refs/tags/v0.5.7.tar.gz",
sha256 = "2d3ec0a36e34b98d13dbdaf67afa4fe178cb4b52841eb17529517cb48be43551",
},
},
macosx = {
["0.5.3"] = {
Expand All @@ -73,6 +91,13 @@ package = {
CN = "https://gitcode.com/mcpp-res/eui-neo/releases/download/0.5.6/eui-neo-0.5.6.tar.gz" },
sha256 = "0df8d79897a480566b0989060f206431d12c4a83eb7aef50b8e5d21f1676abf8",
},
-- 0.5.7 has no CN mirror yet (never published to mcpp-res); same
-- plain-string fallback as 0.5.5. Flip to { GLOBAL, CN } if it gets
-- mirrored — sha256 stays the same.
["0.5.7"] = {
url = "https://github.com/sudoevolve/EUI-NEO/archive/refs/tags/v0.5.7.tar.gz",
sha256 = "2d3ec0a36e34b98d13dbdaf67afa4fe178cb4b52841eb17529517cb48be43551",
},
},
windows = {
["0.5.3"] = {
Expand All @@ -89,6 +114,13 @@ package = {
CN = "https://gitcode.com/mcpp-res/eui-neo/releases/download/0.5.6/eui-neo-0.5.6.tar.gz" },
sha256 = "0df8d79897a480566b0989060f206431d12c4a83eb7aef50b8e5d21f1676abf8",
},
-- 0.5.7 has no CN mirror yet (never published to mcpp-res); same
-- plain-string fallback as 0.5.5. Flip to { GLOBAL, CN } if it gets
-- mirrored — sha256 stays the same.
["0.5.7"] = {
url = "https://github.com/sudoevolve/EUI-NEO/archive/refs/tags/v0.5.7.tar.gz",
sha256 = "2d3ec0a36e34b98d13dbdaf67afa4fe178cb4b52841eb17529517cb48be43551",
},
},
},

Expand Down
2 changes: 1 addition & 1 deletion tests/examples/eui-neo-app-main/mcpp.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,4 @@ name = "eui-neo-app-main-tests"
version = "0.1.0"

[dependencies.compat]
eui-neo = { version = "0.5.6", features = ["app-main"] }
eui-neo = { version = "0.5.7", features = ["app-main"] }
2 changes: 1 addition & 1 deletion tests/examples/eui-neo-markdown/mcpp.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ version = "0.1.0"
# what switches components/markdown.h from its fallback to the real parser.

[dependencies.compat]
eui-neo = { version = "0.5.6", features = ["markdown"] }
eui-neo = { version = "0.5.7", features = ["markdown"] }
2 changes: 1 addition & 1 deletion tests/examples/eui-neo-sdl2/mcpp.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ version = "0.1.0"
# into a real libcurl-backed implementation. The render backend stays OpenGL,
# unnamed — naming a feature no longer costs you the defaults.
[dependencies.compat]
eui-neo = { version = "0.5.6", features = ["sdl2", "network"] }
eui-neo = { version = "0.5.7", features = ["sdl2", "network"] }
2 changes: 1 addition & 1 deletion tests/examples/eui-neo-vulkan/mcpp.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ version = "0.1.0"
# package resolves the exclusive choice in its own preprocessor from the
# MCPP_FEATURE_* flags. The window backend stays GLFW, unnamed.
[dependencies.compat]
eui-neo = { version = "0.5.6", features = ["vulkan"] }
eui-neo = { version = "0.5.7", features = ["vulkan"] }

[build]
cxxflags = ["-DHAVE_EUI_VULKAN=1"]
2 changes: 1 addition & 1 deletion tests/examples/eui-neo-window/mcpp.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,4 @@ name = "eui-neo-window-tests"
version = "0.1.0"

[dependencies.compat]
eui-neo = "0.5.6"
eui-neo = "0.5.7"
2 changes: 1 addition & 1 deletion tests/examples/eui-neo/mcpp.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ name = "eui-neo-tests"
version = "0.1.0"

[dependencies.compat]
eui-neo = "0.5.6"
eui-neo = "0.5.7"
Loading