From 9868a0715b3e47ab5fafa0f0f25f07f55302e0b1 Mon Sep 17 00:00:00 2001 From: speak-agent Date: Thu, 20 Aug 2026 05:18:27 +0800 Subject: [PATCH] feat: openkal 0.4.0, with the two rules a portable program found MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The specification states two rules it previously did not, and both were found by writing one program against it and running it rather than by reading it. An implementation passes the argument vector unaltered, so the started program observes the name the caller chose. Both implementations prepended the path; they agreed only because they shared an author. Enquiry about a name that does not exist succeeds and reports absence, while opening the same name reports that it was not found — enquiry and access are different operations. Neither rule changes a declaration, so the exported surface is unchanged and an implementation conforming to 0.3 exports exactly what 0.4 requires. What changed is behaviour the earlier version left open, which is why each package takes a minor revision. Earlier versions are replaced rather than retained, on the same reasoning as before: an implementation that conformed to the earlier specification may fail to conform to this one, and two incompatible specifications under one name would be worse than the absence of the earlier. openkal-libc reaches 0.2.0 for a different reason. Every test in it failed to link, because the package declares against the interface and links against no implementation — correct for the package, wrong for its own tests, which run. The diagnostic was the one clause 4.2 describes, and this is the first occasion on which that claim was tested by something other than a demonstration built to test it. --- pkgs/o/openkal-libc.lua | 24 ++++++++++++------------ pkgs/o/openkal-linux.lua | 24 ++++++++++++------------ pkgs/o/openkal-macos.lua | 24 ++++++++++++------------ pkgs/o/openkal.lua | 24 ++++++++++++------------ 4 files changed, 48 insertions(+), 48 deletions(-) diff --git a/pkgs/o/openkal-libc.lua b/pkgs/o/openkal-libc.lua index e484ee1..130621d 100644 --- a/pkgs/o/openkal-libc.lua +++ b/pkgs/o/openkal-libc.lua @@ -14,30 +14,30 @@ package = { xpm = { linux = { - ["0.1.0"] = { + ["0.2.0"] = { url = { - GLOBAL = "https://github.com/mcpplibs/openkal-libc/archive/refs/tags/0.1.0.tar.gz", - CN = "https://gitcode.com/mcpp-res/openkal-libc/releases/download/0.1.0/openkal-libc-0.1.0.tar.gz", + GLOBAL = "https://github.com/mcpplibs/openkal-libc/archive/refs/tags/0.2.0.tar.gz", + CN = "https://gitcode.com/mcpp-res/openkal-libc/releases/download/0.2.0/openkal-libc-0.2.0.tar.gz", }, - sha256 = "721bfa8ef8bbacadb2a17991a14cd6fd1248f8b20b30ab782dafd23f966a2084", + sha256 = "8521c5eeba5b73cdc9bd0c4113f5112632e7f262485223f6d709bdb27d7d06ef", }, }, macosx = { - ["0.1.0"] = { + ["0.2.0"] = { url = { - GLOBAL = "https://github.com/mcpplibs/openkal-libc/archive/refs/tags/0.1.0.tar.gz", - CN = "https://gitcode.com/mcpp-res/openkal-libc/releases/download/0.1.0/openkal-libc-0.1.0.tar.gz", + GLOBAL = "https://github.com/mcpplibs/openkal-libc/archive/refs/tags/0.2.0.tar.gz", + CN = "https://gitcode.com/mcpp-res/openkal-libc/releases/download/0.2.0/openkal-libc-0.2.0.tar.gz", }, - sha256 = "721bfa8ef8bbacadb2a17991a14cd6fd1248f8b20b30ab782dafd23f966a2084", + sha256 = "8521c5eeba5b73cdc9bd0c4113f5112632e7f262485223f6d709bdb27d7d06ef", }, }, windows = { - ["0.1.0"] = { + ["0.2.0"] = { url = { - GLOBAL = "https://github.com/mcpplibs/openkal-libc/archive/refs/tags/0.1.0.tar.gz", - CN = "https://gitcode.com/mcpp-res/openkal-libc/releases/download/0.1.0/openkal-libc-0.1.0.tar.gz", + GLOBAL = "https://github.com/mcpplibs/openkal-libc/archive/refs/tags/0.2.0.tar.gz", + CN = "https://gitcode.com/mcpp-res/openkal-libc/releases/download/0.2.0/openkal-libc-0.2.0.tar.gz", }, - sha256 = "721bfa8ef8bbacadb2a17991a14cd6fd1248f8b20b30ab782dafd23f966a2084", + sha256 = "8521c5eeba5b73cdc9bd0c4113f5112632e7f262485223f6d709bdb27d7d06ef", }, }, }, diff --git a/pkgs/o/openkal-linux.lua b/pkgs/o/openkal-linux.lua index 86b412f..b301c19 100644 --- a/pkgs/o/openkal-linux.lua +++ b/pkgs/o/openkal-linux.lua @@ -19,30 +19,30 @@ package = { xpm = { linux = { - ["0.3.0"] = { + ["0.4.0"] = { url = { - GLOBAL = "https://github.com/mcpplibs/openkal-linux/archive/refs/tags/0.3.0.tar.gz", - CN = "https://gitcode.com/mcpp-res/openkal-linux/releases/download/0.3.0/openkal-linux-0.3.0.tar.gz", + GLOBAL = "https://github.com/mcpplibs/openkal-linux/archive/refs/tags/0.4.0.tar.gz", + CN = "https://gitcode.com/mcpp-res/openkal-linux/releases/download/0.4.0/openkal-linux-0.4.0.tar.gz", }, - sha256 = "a88f7c60330dd8f6b6778e478574a022a744893db1a2e338e0a42fb4eb949679", + sha256 = "6477c9b52931e0f14d243467ed5dcc0cece8095d0dbdd2bc8591a63e4025290e", }, }, macosx = { - ["0.3.0"] = { + ["0.4.0"] = { url = { - GLOBAL = "https://github.com/mcpplibs/openkal-linux/archive/refs/tags/0.3.0.tar.gz", - CN = "https://gitcode.com/mcpp-res/openkal-linux/releases/download/0.3.0/openkal-linux-0.3.0.tar.gz", + GLOBAL = "https://github.com/mcpplibs/openkal-linux/archive/refs/tags/0.4.0.tar.gz", + CN = "https://gitcode.com/mcpp-res/openkal-linux/releases/download/0.4.0/openkal-linux-0.4.0.tar.gz", }, - sha256 = "a88f7c60330dd8f6b6778e478574a022a744893db1a2e338e0a42fb4eb949679", + sha256 = "6477c9b52931e0f14d243467ed5dcc0cece8095d0dbdd2bc8591a63e4025290e", }, }, windows = { - ["0.3.0"] = { + ["0.4.0"] = { url = { - GLOBAL = "https://github.com/mcpplibs/openkal-linux/archive/refs/tags/0.3.0.tar.gz", - CN = "https://gitcode.com/mcpp-res/openkal-linux/releases/download/0.3.0/openkal-linux-0.3.0.tar.gz", + GLOBAL = "https://github.com/mcpplibs/openkal-linux/archive/refs/tags/0.4.0.tar.gz", + CN = "https://gitcode.com/mcpp-res/openkal-linux/releases/download/0.4.0/openkal-linux-0.4.0.tar.gz", }, - sha256 = "a88f7c60330dd8f6b6778e478574a022a744893db1a2e338e0a42fb4eb949679", + sha256 = "6477c9b52931e0f14d243467ed5dcc0cece8095d0dbdd2bc8591a63e4025290e", }, }, }, diff --git a/pkgs/o/openkal-macos.lua b/pkgs/o/openkal-macos.lua index 87c662f..c866a7b 100644 --- a/pkgs/o/openkal-macos.lua +++ b/pkgs/o/openkal-macos.lua @@ -19,30 +19,30 @@ package = { xpm = { linux = { - ["0.1.0"] = { + ["0.2.0"] = { url = { - GLOBAL = "https://github.com/mcpplibs/openkal-macos/archive/refs/tags/0.1.0.tar.gz", - CN = "https://gitcode.com/mcpp-res/openkal-macos/releases/download/0.1.0/openkal-macos-0.1.0.tar.gz", + GLOBAL = "https://github.com/mcpplibs/openkal-macos/archive/refs/tags/0.2.0.tar.gz", + CN = "https://gitcode.com/mcpp-res/openkal-macos/releases/download/0.2.0/openkal-macos-0.2.0.tar.gz", }, - sha256 = "b546fd73c074abfb8a55c06c34e8e2184d6ba5bc953ef60e3bd50d08f1b79c1e", + sha256 = "459f9b11b4af0e06f8d49848389263ef6bfc542cc97491e130d3e13c53e99ab6", }, }, macosx = { - ["0.1.0"] = { + ["0.2.0"] = { url = { - GLOBAL = "https://github.com/mcpplibs/openkal-macos/archive/refs/tags/0.1.0.tar.gz", - CN = "https://gitcode.com/mcpp-res/openkal-macos/releases/download/0.1.0/openkal-macos-0.1.0.tar.gz", + GLOBAL = "https://github.com/mcpplibs/openkal-macos/archive/refs/tags/0.2.0.tar.gz", + CN = "https://gitcode.com/mcpp-res/openkal-macos/releases/download/0.2.0/openkal-macos-0.2.0.tar.gz", }, - sha256 = "b546fd73c074abfb8a55c06c34e8e2184d6ba5bc953ef60e3bd50d08f1b79c1e", + sha256 = "459f9b11b4af0e06f8d49848389263ef6bfc542cc97491e130d3e13c53e99ab6", }, }, windows = { - ["0.1.0"] = { + ["0.2.0"] = { url = { - GLOBAL = "https://github.com/mcpplibs/openkal-macos/archive/refs/tags/0.1.0.tar.gz", - CN = "https://gitcode.com/mcpp-res/openkal-macos/releases/download/0.1.0/openkal-macos-0.1.0.tar.gz", + GLOBAL = "https://github.com/mcpplibs/openkal-macos/archive/refs/tags/0.2.0.tar.gz", + CN = "https://gitcode.com/mcpp-res/openkal-macos/releases/download/0.2.0/openkal-macos-0.2.0.tar.gz", }, - sha256 = "b546fd73c074abfb8a55c06c34e8e2184d6ba5bc953ef60e3bd50d08f1b79c1e", + sha256 = "459f9b11b4af0e06f8d49848389263ef6bfc542cc97491e130d3e13c53e99ab6", }, }, }, diff --git a/pkgs/o/openkal.lua b/pkgs/o/openkal.lua index 32ffe6a..344ed04 100644 --- a/pkgs/o/openkal.lua +++ b/pkgs/o/openkal.lua @@ -22,30 +22,30 @@ package = { xpm = { linux = { - ["0.3.0"] = { + ["0.4.0"] = { url = { - GLOBAL = "https://github.com/mcpplibs/openkal/archive/refs/tags/0.3.0.tar.gz", - CN = "https://gitcode.com/mcpp-res/openkal/releases/download/0.3.0/openkal-0.3.0.tar.gz", + GLOBAL = "https://github.com/mcpplibs/openkal/archive/refs/tags/0.4.0.tar.gz", + CN = "https://gitcode.com/mcpp-res/openkal/releases/download/0.4.0/openkal-0.4.0.tar.gz", }, - sha256 = "919a13bb2a012f268c09591586e0c622f7ccab51bfa46cd36206576851d8945f", + sha256 = "e0fe3da54c73a237fad8461268a536b498d2366d9f512c888234eddfc7a9142d", }, }, macosx = { - ["0.3.0"] = { + ["0.4.0"] = { url = { - GLOBAL = "https://github.com/mcpplibs/openkal/archive/refs/tags/0.3.0.tar.gz", - CN = "https://gitcode.com/mcpp-res/openkal/releases/download/0.3.0/openkal-0.3.0.tar.gz", + GLOBAL = "https://github.com/mcpplibs/openkal/archive/refs/tags/0.4.0.tar.gz", + CN = "https://gitcode.com/mcpp-res/openkal/releases/download/0.4.0/openkal-0.4.0.tar.gz", }, - sha256 = "919a13bb2a012f268c09591586e0c622f7ccab51bfa46cd36206576851d8945f", + sha256 = "e0fe3da54c73a237fad8461268a536b498d2366d9f512c888234eddfc7a9142d", }, }, windows = { - ["0.3.0"] = { + ["0.4.0"] = { url = { - GLOBAL = "https://github.com/mcpplibs/openkal/archive/refs/tags/0.3.0.tar.gz", - CN = "https://gitcode.com/mcpp-res/openkal/releases/download/0.3.0/openkal-0.3.0.tar.gz", + GLOBAL = "https://github.com/mcpplibs/openkal/archive/refs/tags/0.4.0.tar.gz", + CN = "https://gitcode.com/mcpp-res/openkal/releases/download/0.4.0/openkal-0.4.0.tar.gz", }, - sha256 = "919a13bb2a012f268c09591586e0c622f7ccab51bfa46cd36206576851d8945f", + sha256 = "e0fe3da54c73a237fad8461268a536b498d2366d9f512c888234eddfc7a9142d", }, }, },