From 4bcc729e4b651dbb53a414cbeb1f8ba827945c38 Mon Sep 17 00:00:00 2001 From: sunrisepeak Date: Mon, 10 Aug 2026 18:38:06 +0800 Subject: [PATCH] chore(xpkg): 0.0.57 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit elfpatch now stamps DT_RPATH on executables instead of DT_RUNPATH. DT_RUNPATH is consulted only for the object carrying it; DT_RPATH is consulted for every dlopen anywhere in the process. The graphics stack's load chain is three to four dlopens deep, so only the transitive tag reaches the bottom — measured, the same path content stamped DT_RPATH puts GLX, EGL, GLESv2 and headless surfaceless EGL all on the GPU, and stamped DT_RUNPATH renders on llvmpipe. Executables only. Forcing DT_RPATH on a library is measured harmful (xim-pkgindex#593) because transitivity runs downward too. All THREE platform sections, verified by PARSING the recipe rather than reading the diff — a regex edit to a .lua applies cleanly and can mean something else: linux 0.0.57=yes sha=7b24c2f156ce versions=18 macosx 0.0.57=yes sha=7b24c2f156ce versions=18 windows 0.0.57=yes sha=7b24c2f156ce versions=18 CN mirror uploaded and verified by SIZE (gitcode returns 200 with an HTML landing page for an asset that is not there, so the status code proves nothing): 147212 bytes, matching the GitHub archive. Upstream: openxlings/libxpkg#41 --- pkgs/x/xpkg.lua | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/pkgs/x/xpkg.lua b/pkgs/x/xpkg.lua index 3857e44..c1cb064 100644 --- a/pkgs/x/xpkg.lua +++ b/pkgs/x/xpkg.lua @@ -12,6 +12,13 @@ package = { xpm = { linux = { + ["0.0.57"] = { + url = { + GLOBAL = "https://github.com/openxlings/libxpkg/archive/refs/tags/0.0.57.tar.gz", + CN = "https://gitcode.com/mcpp-res/xpkg/releases/download/0.0.57/xpkg-0.0.57.tar.gz", + }, + sha256 = "7b24c2f156ceac9167edc452fcdac415e0f06616d0513bb0fe83526acee7a20b", + }, ["0.0.56"] = { url = { GLOBAL = "https://github.com/openxlings/libxpkg/archive/refs/tags/0.0.56.tar.gz", @@ -133,6 +140,13 @@ package = { }, }, macosx = { + ["0.0.57"] = { + url = { + GLOBAL = "https://github.com/openxlings/libxpkg/archive/refs/tags/0.0.57.tar.gz", + CN = "https://gitcode.com/mcpp-res/xpkg/releases/download/0.0.57/xpkg-0.0.57.tar.gz", + }, + sha256 = "7b24c2f156ceac9167edc452fcdac415e0f06616d0513bb0fe83526acee7a20b", + }, ["0.0.56"] = { url = { GLOBAL = "https://github.com/openxlings/libxpkg/archive/refs/tags/0.0.56.tar.gz", @@ -254,6 +268,13 @@ package = { }, }, windows = { + ["0.0.57"] = { + url = { + GLOBAL = "https://github.com/openxlings/libxpkg/archive/refs/tags/0.0.57.tar.gz", + CN = "https://gitcode.com/mcpp-res/xpkg/releases/download/0.0.57/xpkg-0.0.57.tar.gz", + }, + sha256 = "7b24c2f156ceac9167edc452fcdac415e0f06616d0513bb0fe83526acee7a20b", + }, ["0.0.56"] = { url = { GLOBAL = "https://github.com/openxlings/libxpkg/archive/refs/tags/0.0.56.tar.gz",