From bb8db7aad40bb3f7bba3e6980501668edca32040 Mon Sep 17 00:00:00 2001 From: FarnaHerry Date: Tue, 24 Nov 2026 16:43:48 +0800 Subject: [PATCH] huxerui.huxerui 0.5.5 --- pkgs/h/huxerui.huxerui.lua | 19 +++++++++++++++++++ tests/examples/huxerui-module/mcpp.toml | 20 +++++--------------- 2 files changed, 24 insertions(+), 15 deletions(-) diff --git a/pkgs/h/huxerui.huxerui.lua b/pkgs/h/huxerui.huxerui.lua index ad313fd3..77f1005b 100644 --- a/pkgs/h/huxerui.huxerui.lua +++ b/pkgs/h/huxerui.huxerui.lua @@ -3,6 +3,10 @@ local versions = { url = "https://github.com/HuxerUI/HuxerUI/archive/refs/tags/v0.4.0.tar.gz", sha256 = "46631651105b4da2fa6651c842ce4d276334b3e06b27f93bb9c26167ec16fc38", }, + ["0.5.5"] = { + url = "https://github.com/HuxerUI/HuxerUI/archive/refs/tags/v0.5.5.tar.gz", + sha256 = "a968ab1756dc4dda56cd39495706b2e60eca333104d05b7a8e133b45285a768e", + }, } -- huxerui.huxerui — the HuxerUI SDK as a native mcpp module package. @@ -30,6 +34,18 @@ local versions = { -- release directly when the mcpp-res upload is not available; the mirror can -- be filled in later without touching the version block. -- +-- ── 0.5.5 ───────────────────────────────────────────────────────────────── +-- +-- Upstream moves `standard` to `c++23` (matching `mcpp:plugins` C++23 modules +-- and Clang's `import std;` requirement on Windows), relocates its rule +-- package to `buildtools/mcpp/huxerui-build-rules`, adds the opt-in +-- `profiling` feature (`HUXERUI_ENABLE_PROFILING=1` + `src/runtime/profiling.cpp`), +-- and adds `cpp_modules_gen` support for headers libraries. Form A requires no +-- build recipe changes here, and Linux `xpm.linux.deps` is unchanged from +-- v0.4.0 (the four direct GTK4/epoxy/glib/libsoup pins match v0.5.5's +-- `xlings.workspace`). Like 0.4.0, 0.5.5 uses the plain GitHub URL without a +-- CN mirror yet. +-- -- ── Two fields deliberately DISAGREE with `mcpp emit xpkg` ──────────────── -- -- Running `mcpp emit xpkg` against the v0.4.0 tag still emits `Apache-2.0` @@ -137,6 +153,7 @@ package = { sha256 = "8b326d95015e92925229fdc1ababe4fdf32515e75764472591645622c1cfbb08", }, ["0.4.0"] = versions["0.4.0"], + ["0.5.5"] = versions["0.5.5"], }, macosx = { ["0.3.0"] = { @@ -147,6 +164,7 @@ package = { sha256 = "8b326d95015e92925229fdc1ababe4fdf32515e75764472591645622c1cfbb08", }, ["0.4.0"] = versions["0.4.0"], + ["0.5.5"] = versions["0.5.5"], }, windows = { -- NO `xim:wix`, and that is not an oversight. @@ -187,6 +205,7 @@ package = { sha256 = "8b326d95015e92925229fdc1ababe4fdf32515e75764472591645622c1cfbb08", }, ["0.4.0"] = versions["0.4.0"], + ["0.5.5"] = versions["0.5.5"], }, }, diff --git a/tests/examples/huxerui-module/mcpp.toml b/tests/examples/huxerui-module/mcpp.toml index 7b6db825..8a1bfdf1 100644 --- a/tests/examples/huxerui-module/mcpp.toml +++ b/tests/examples/huxerui-module/mcpp.toml @@ -6,20 +6,10 @@ huxerui = { path = "../../.." } [package] name = "huxerui-module-tests" version = "0.1.0" -# C++20, because the DEPENDENCY says so and mcpp applies the ROOT's standard to -# the whole module graph -- upstream's mcpp.toml spells that out: -# -# standard = "c++20" -# # The SDK ABI baseline. Do not raise it: mcpp applies the root standard -# # to the whole module graph, so this is imposed on every consumer too. -# -# Leaving this unset defaulted the member to c++23 and compiled huxerui's own -# sources at c++23, above the baseline it declares. On windows that is not -# academic: clang 20.1.7 against MSVC STL 14.51 then instantiates -# `std::_Find_vectorized` and dies on `static_assert(false, "unexpected size")` -# in . `import std;` still works here -- huxerui is -# `language = "c++20", import_std = true`. -standard = "c++20" +# C++23, matching upstream v0.5.5's `standard = "c++23"` (`huxerui.rules` +# imports C++23 `mcpp:plugins` modules, and Clang requires C++23 for +# `import std;` on Windows). mcpp applies the root's standard to the module graph. +standard = "c++23" [dependencies.huxerui] -huxerui = "0.4.0" +huxerui = "0.5.5"