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
19 changes: 19 additions & 0 deletions pkgs/h/huxerui.huxerui.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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`
Expand Down Expand Up @@ -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"] = {
Expand All @@ -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.
Expand Down Expand Up @@ -187,6 +205,7 @@ package = {
sha256 = "8b326d95015e92925229fdc1ababe4fdf32515e75764472591645622c1cfbb08",
},
["0.4.0"] = versions["0.4.0"],
["0.5.5"] = versions["0.5.5"],
},
},

Expand Down
20 changes: 5 additions & 15 deletions tests/examples/huxerui-module/mcpp.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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 <xutility>. `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"
Loading