Skip to content

Commit fc8acf6

Browse files
authored
mcpp.plugins 0.23.0: dist-deb and dist-rpm, the staged tree as a Debian or RPM package (#819)
1 parent e36f102 commit fc8acf6

2 files changed

Lines changed: 34 additions & 4 deletions

File tree

‎CHANGELOG.md‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@
99

1010
### Added
1111

12+
- **mcpp.plugins 0.23.0。** 新增 `dist-deb` 与 `dist-rpm`:`mcpp pack --pkg-format deb|rpm` 把暂存树装到 `/opt/<name>`,并加上
13+
`/usr/bin` 启动器、桌面项与图标;由 `xim:nfpm` 写出,仅在打包时按需安装,主机无需 `dpkg-deb` 或 `rpmbuild`;未变的树重新打包得到
14+
相同字节。包的下限仍为 mcpp 2026.10.30.1;`latest` 指向 0.23.0(mcpp-community/mcpp-plugins#56)。
1215
- **openlifa.openas 0.2.1、openlifa.openmui 0.4.1。** openas 的包自 0.2.1 起以 `src/sdk.cppm` 为库的根,归档与源码给出同样的
1316
三个模块(`openas`、`openas.conformance`、`openas.sdk`);规范仍是 0.2。openmui 0.4.1 是规范 0.4:人的直接操作与接管
1417
(S-14、S-15)、主题范围(ST-4)、动效槽与内置配方(M-7 至 M-10)、TypeScript 的规范声明、核心组件的视图 schema、

‎pkgs/m/mcpp.plugins.lua‎

Lines changed: 31 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,18 @@
22
-- each member selected by a feature.
33
--
44
-- [dependencies.mcpp]
5-
-- plugins = { version = "0.22.1", features = ["rules-spirv"], host-module = true }
5+
-- plugins = { version = "0.23.0", features = ["rules-spirv"], host-module = true }
66
--
77
-- // build.mcpp
88
-- import mcpp;
99
-- import mcpp.rules.spirv;
1010
--
11+
-- 0.23.0 (package floor mcpp 2026.10.30.1): dist-deb and dist-rpm --
12+
-- `mcpp pack --pkg-format deb|rpm` installs the staged tree under
13+
-- /opt/<name> with a launcher, a desktop entry and an icon, written by nfpm
14+
-- from `xim:nfpm` asked for only when a pack needs it, so no host needs
15+
-- dpkg-deb or rpmbuild; repacking an unchanged tree gives the same bytes.
16+
--
1117
-- 0.22.1 (package floor mcpp 2026.10.30.1): the members reach the system
1218
-- through mcpplibs.os 0.4.4, so a graph whose openkal is 0.25 (openkal-platform
1319
-- 0.29) holds the plugins; 0.4.0 pinned openkal 0.24.0.
@@ -675,6 +681,13 @@ package = {
675681

676682
xpm = {
677683
linux = {
684+
["0.23.0"] = {
685+
url = {
686+
GLOBAL = "https://github.com/mcpp-community/mcpp-plugins/archive/refs/tags/v0.23.0.tar.gz",
687+
CN = "https://gitcode.com/mcpp-res/mcpp-plugins/releases/download/0.23.0/mcpp-plugins-0.23.0.tar.gz",
688+
},
689+
sha256 = "1a5ba80d6ef3dc279385e119ba5ab4659ef65c28b8cbbe3ecc77b1697f08a8ec",
690+
},
678691
["0.22.1"] = {
679692
url = {
680693
GLOBAL = "https://github.com/mcpp-community/mcpp-plugins/archive/refs/tags/v0.22.1.tar.gz",
@@ -976,9 +989,16 @@ package = {
976989
},
977990
sha256 = "adf1f9d6691a5d05a8a4a94e83c733ea39caee1510ce2c9af4cb23bebabea9f5",
978991
},
979-
["latest"] = { ref = "0.22.1" },
992+
["latest"] = { ref = "0.23.0" },
980993
},
981994
macosx = {
995+
["0.23.0"] = {
996+
url = {
997+
GLOBAL = "https://github.com/mcpp-community/mcpp-plugins/archive/refs/tags/v0.23.0.tar.gz",
998+
CN = "https://gitcode.com/mcpp-res/mcpp-plugins/releases/download/0.23.0/mcpp-plugins-0.23.0.tar.gz",
999+
},
1000+
sha256 = "1a5ba80d6ef3dc279385e119ba5ab4659ef65c28b8cbbe3ecc77b1697f08a8ec",
1001+
},
9821002
["0.22.1"] = {
9831003
url = {
9841004
GLOBAL = "https://github.com/mcpp-community/mcpp-plugins/archive/refs/tags/v0.22.1.tar.gz",
@@ -1280,9 +1300,16 @@ package = {
12801300
},
12811301
sha256 = "adf1f9d6691a5d05a8a4a94e83c733ea39caee1510ce2c9af4cb23bebabea9f5",
12821302
},
1283-
["latest"] = { ref = "0.22.1" },
1303+
["latest"] = { ref = "0.23.0" },
12841304
},
12851305
windows = {
1306+
["0.23.0"] = {
1307+
url = {
1308+
GLOBAL = "https://github.com/mcpp-community/mcpp-plugins/archive/refs/tags/v0.23.0.tar.gz",
1309+
CN = "https://gitcode.com/mcpp-res/mcpp-plugins/releases/download/0.23.0/mcpp-plugins-0.23.0.tar.gz",
1310+
},
1311+
sha256 = "1a5ba80d6ef3dc279385e119ba5ab4659ef65c28b8cbbe3ecc77b1697f08a8ec",
1312+
},
12861313
["0.22.1"] = {
12871314
url = {
12881315
GLOBAL = "https://github.com/mcpp-community/mcpp-plugins/archive/refs/tags/v0.22.1.tar.gz",
@@ -1584,7 +1611,7 @@ package = {
15841611
},
15851612
sha256 = "adf1f9d6691a5d05a8a4a94e83c733ea39caee1510ce2c9af4cb23bebabea9f5",
15861613
},
1587-
["latest"] = { ref = "0.22.1" },
1614+
["latest"] = { ref = "0.23.0" },
15881615
},
15891616
},
15901617

0 commit comments

Comments
 (0)