From 20736540e1dbdd60e91f51b8dd1b72a406cb7a2b Mon Sep 17 00:00:00 2001 From: Sunrisepeak Date: Wed, 18 Nov 2026 11:07:18 +0900 Subject: [PATCH 1/2] mcpp.plugins 0.23.1: dist-apk takes a generated Java root as an action input --- CHANGELOG.md | 6 ++++++ pkgs/m/mcpp.plugins.lua | 34 ++++++++++++++++++++++++++++++---- 2 files changed, 36 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 45d99cb3..9e443029 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,12 @@ ## [Unreleased] +### Fixed + +- **mcpp.plugins 0.23.1。** `dist-apk` 把构建程序在输出目录(`mcpp::out_dir()`、`target/`)中生成的 Java 或 Kotlin 根只作为 + `javac` 动作的输入,不再为其声明永远无法命中的重跑 glob,消除每次构建的警告。`latest` 指向 0.23.1 + (mcpp-community/mcpp-plugins#57)。 + ### Added - **mcpp.plugins 0.23.0。** 新增 `dist-deb` 与 `dist-rpm`:`mcpp pack --pkg-format deb|rpm` 把暂存树装到 `/opt/`,并加上 diff --git a/pkgs/m/mcpp.plugins.lua b/pkgs/m/mcpp.plugins.lua index 2449c8f6..b136f7e9 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.23.0", features = ["rules-spirv"], host-module = true } +-- plugins = { version = "0.23.1", features = ["rules-spirv"], host-module = true } -- -- // build.mcpp -- import mcpp; -- import mcpp.rules.spirv; -- +-- 0.23.1 (package floor mcpp 2026.10.30.1): dist-apk takes a Java or +-- Kotlin root a build program generated inside its output directory as an +-- input of the javac action, and declares no re-run glob there, which never +-- matched and warned on every build. +-- -- 0.23.0 (package floor mcpp 2026.10.30.1): dist-deb and dist-rpm -- -- `mcpp pack --pkg-format deb|rpm` installs the staged tree under -- /opt/ with a launcher, a desktop entry and an icon, written by nfpm @@ -681,6 +686,13 @@ package = { xpm = { linux = { + ["0.23.1"] = { + url = { + GLOBAL = "https://github.com/mcpp-community/mcpp-plugins/archive/refs/tags/v0.23.1.tar.gz", + CN = "https://gitcode.com/mcpp-res/mcpp-plugins/releases/download/0.23.1/mcpp-plugins-0.23.1.tar.gz", + }, + sha256 = "3f8e0e9838ed3ad4fb5edb8ccbe3abfbfa42b236f409be2f64bf7f66f8006e50", + }, ["0.23.0"] = { url = { GLOBAL = "https://github.com/mcpp-community/mcpp-plugins/archive/refs/tags/v0.23.0.tar.gz", @@ -989,9 +1001,16 @@ package = { }, sha256 = "adf1f9d6691a5d05a8a4a94e83c733ea39caee1510ce2c9af4cb23bebabea9f5", }, - ["latest"] = { ref = "0.23.0" }, + ["latest"] = { ref = "0.23.1" }, }, macosx = { + ["0.23.1"] = { + url = { + GLOBAL = "https://github.com/mcpp-community/mcpp-plugins/archive/refs/tags/v0.23.1.tar.gz", + CN = "https://gitcode.com/mcpp-res/mcpp-plugins/releases/download/0.23.1/mcpp-plugins-0.23.1.tar.gz", + }, + sha256 = "3f8e0e9838ed3ad4fb5edb8ccbe3abfbfa42b236f409be2f64bf7f66f8006e50", + }, ["0.23.0"] = { url = { GLOBAL = "https://github.com/mcpp-community/mcpp-plugins/archive/refs/tags/v0.23.0.tar.gz", @@ -1300,9 +1319,16 @@ package = { }, sha256 = "adf1f9d6691a5d05a8a4a94e83c733ea39caee1510ce2c9af4cb23bebabea9f5", }, - ["latest"] = { ref = "0.23.0" }, + ["latest"] = { ref = "0.23.1" }, }, windows = { + ["0.23.1"] = { + url = { + GLOBAL = "https://github.com/mcpp-community/mcpp-plugins/archive/refs/tags/v0.23.1.tar.gz", + CN = "https://gitcode.com/mcpp-res/mcpp-plugins/releases/download/0.23.1/mcpp-plugins-0.23.1.tar.gz", + }, + sha256 = "3f8e0e9838ed3ad4fb5edb8ccbe3abfbfa42b236f409be2f64bf7f66f8006e50", + }, ["0.23.0"] = { url = { GLOBAL = "https://github.com/mcpp-community/mcpp-plugins/archive/refs/tags/v0.23.0.tar.gz", @@ -1611,7 +1637,7 @@ package = { }, sha256 = "adf1f9d6691a5d05a8a4a94e83c733ea39caee1510ce2c9af4cb23bebabea9f5", }, - ["latest"] = { ref = "0.23.0" }, + ["latest"] = { ref = "0.23.1" }, }, }, From a5553e7938cabc86751ad9b806243c8b1ba055f3 Mon Sep 17 00:00:00 2001 From: Sunrisepeak Date: Wed, 18 Nov 2026 11:07:54 +0900 Subject: [PATCH 2/2] mcpp.plugins 0.23.1: the changelog entry under the existing Fixed section --- CHANGELOG.md | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9e443029..97cdaa98 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,12 +7,6 @@ ## [Unreleased] -### Fixed - -- **mcpp.plugins 0.23.1。** `dist-apk` 把构建程序在输出目录(`mcpp::out_dir()`、`target/`)中生成的 Java 或 Kotlin 根只作为 - `javac` 动作的输入,不再为其声明永远无法命中的重跑 glob,消除每次构建的警告。`latest` 指向 0.23.1 - (mcpp-community/mcpp-plugins#57)。 - ### Added - **mcpp.plugins 0.23.0。** 新增 `dist-deb` 与 `dist-rpm`:`mcpp pack --pkg-format deb|rpm` 把暂存树装到 `/opt/`,并加上 @@ -70,6 +64,9 @@ ### Fixed +- **mcpp.plugins 0.23.1。** `dist-apk` 把构建程序在输出目录(`mcpp::out_dir()`、`target/`)中生成的 Java 或 Kotlin 根只作为 + `javac` 动作的输入,不再为其声明永远无法命中的重跑 glob,消除每次构建的警告。`latest` 指向 0.23.1 + (mcpp-community/mcpp-plugins#57)。 - **openkal-platform 0.28.1(版本组补丁)。** okrun、okld 与工具取 openkal-run/openkal-ld/openkal-tools 0.6.4(okrun 以 uname 指名目标), C 库取 openkal-musl 0.29.7,openkal-macos 0.23.4;行与键不变(mcpplibs/openkal-platform#32)。 - **openkal-musl 0.29.7。** 在 hosted 安排中,`uname` 的 `sysname` 报程序所运行的系统(Linux、FreeBSD、Darwin、Windows_NT、UEFI、MS-DOS);ok 映像仍报 `openkal`(mcpplibs/openkal-musl#96)。