From ee9a56d56d638c9a20e7f97830dc5c30d2e37ea2 Mon Sep 17 00:00:00 2001 From: Sunrisepeak Date: Mon, 16 Nov 2026 04:08:03 +0900 Subject: [PATCH] mcpp.plugins 0.22.0: dist-web's page is the one distributable, a runner named web serves it --- CHANGELOG.md | 3 +++ pkgs/m/mcpp.plugins.lua | 34 ++++++++++++++++++++++++++++++---- 2 files changed, 33 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 745814d8..218cce68 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,9 @@ ### Added +- **mcpp.plugins 0.22.0。** dist-web 的页面是该格式唯一的可分发物,长期运行的 `web` 运行器(emrun)提供该目录并打开页面; + 被拒绝的请求以警告陈述;mcpp 2026.11.16.1 起 dist-web 向引擎陈述它包装的程序(`mcpp::pack_program`,协议 19), + 多程序的包无需指名即打包该程序。包的下限仍为 mcpp 2026.10.30.1;`latest` 指向 0.22.0(mcpp-community/mcpp-plugins#54)。 - **openkal-platform 0.28.0。** 增加四行:`i686-linux-musl`(Linux 的 32 位行)、`x86_64-uefi`(openkal-uefi 0.10.0 之上的 UEFI 应用, OVMF 下由 dirun 运行;ok 映像也可作为被承载程序打包为 UEFI)、`i686-openkal`(i386 的 ok 映像)与 `i686-dos-musl`(openkal-dos 之上的 DOS 程序, 仅为技术实验)。版本组随 openkal 0.25.3、openkal-macos 0.23.3、openkal-musl 0.29.6、openkal-llvm-runtime 0.20.3 与 openkal-image 0.6.3; diff --git a/pkgs/m/mcpp.plugins.lua b/pkgs/m/mcpp.plugins.lua index b5b924e4..1d4a560f 100644 --- a/pkgs/m/mcpp.plugins.lua +++ b/pkgs/m/mcpp.plugins.lua @@ -2,12 +2,17 @@ -- each member selected by a feature. -- -- [dependencies.mcpp] --- plugins = { version = "0.21.0", features = ["rules-spirv"], host-module = true } +-- plugins = { version = "0.22.0", features = ["rules-spirv"], host-module = true } -- -- // build.mcpp -- import mcpp; -- import mcpp.rules.spirv; -- +-- 0.22.0 (package floor mcpp 2026.10.30.1): dist-web's page is the format's +-- one distributable and a long-lived runner named `web` serves it (emrun); a +-- declined request is a warning; with mcpp 2026.11.16.1 dist-web states the +-- program it wraps (`mcpp::pack_program`, protocol 19). +-- -- 0.21.0 (package floor mcpp 2026.10.30.1): a CMake cross build consumes the -- engine's compiler, flags, archiver and target contract when the action -- runs (a cross subproject that links an executable or a shared library @@ -666,6 +671,13 @@ package = { xpm = { linux = { + ["0.22.0"] = { + url = { + GLOBAL = "https://github.com/mcpp-community/mcpp-plugins/archive/refs/tags/v0.22.0.tar.gz", + CN = "https://gitcode.com/mcpp-res/mcpp-plugins/releases/download/0.22.0/mcpp-plugins-0.22.0.tar.gz", + }, + sha256 = "8be3110297733869081d85fc5d0da54b30a3fbc01daf3a6e4c2dcca658c424b0", + }, ["0.21.0"] = { url = { GLOBAL = "https://github.com/mcpp-community/mcpp-plugins/archive/refs/tags/v0.21.0.tar.gz", @@ -953,9 +965,16 @@ package = { }, sha256 = "adf1f9d6691a5d05a8a4a94e83c733ea39caee1510ce2c9af4cb23bebabea9f5", }, - ["latest"] = { ref = "0.21.0" }, + ["latest"] = { ref = "0.22.0" }, }, macosx = { + ["0.22.0"] = { + url = { + GLOBAL = "https://github.com/mcpp-community/mcpp-plugins/archive/refs/tags/v0.22.0.tar.gz", + CN = "https://gitcode.com/mcpp-res/mcpp-plugins/releases/download/0.22.0/mcpp-plugins-0.22.0.tar.gz", + }, + sha256 = "8be3110297733869081d85fc5d0da54b30a3fbc01daf3a6e4c2dcca658c424b0", + }, ["0.21.0"] = { url = { GLOBAL = "https://github.com/mcpp-community/mcpp-plugins/archive/refs/tags/v0.21.0.tar.gz", @@ -1243,9 +1262,16 @@ package = { }, sha256 = "adf1f9d6691a5d05a8a4a94e83c733ea39caee1510ce2c9af4cb23bebabea9f5", }, - ["latest"] = { ref = "0.21.0" }, + ["latest"] = { ref = "0.22.0" }, }, windows = { + ["0.22.0"] = { + url = { + GLOBAL = "https://github.com/mcpp-community/mcpp-plugins/archive/refs/tags/v0.22.0.tar.gz", + CN = "https://gitcode.com/mcpp-res/mcpp-plugins/releases/download/0.22.0/mcpp-plugins-0.22.0.tar.gz", + }, + sha256 = "8be3110297733869081d85fc5d0da54b30a3fbc01daf3a6e4c2dcca658c424b0", + }, ["0.21.0"] = { url = { GLOBAL = "https://github.com/mcpp-community/mcpp-plugins/archive/refs/tags/v0.21.0.tar.gz", @@ -1533,7 +1559,7 @@ package = { }, sha256 = "adf1f9d6691a5d05a8a4a94e83c733ea39caee1510ce2c9af4cb23bebabea9f5", }, - ["latest"] = { ref = "0.21.0" }, + ["latest"] = { ref = "0.22.0" }, }, },