Skip to content

Commit 0374b3f

Browse files
authored
feat(xpkg): 0.0.54 — interposer farm-first RPATH and vendor closure assertion (#178)
openxlings/libxpkg#38. Two changes to host_link_interposer: * The subos lib directory -- the one name that does not move, a symlink farm the packages declare into -- goes FIRST in the RPATH, with the resolver's version-pinned payload directories after it as the fallback. Written into an ELF, the old order was a snapshot: upgrade libX11 and every entry still named 1.8.10. Every ecosystem that hands a foreign driver a search path converged on a stable indirection directory (/run/opengl-driver, /overrides, $SNAP/gpu-2404); we had one at the wrong end of the list. * The vendor's own DT_NEEDED closure is resolved against the final RPATH and the fraction reported. The three existing assertions check the shape of the object we made, and all three can hold while an RPATH naming the wrong directories sends the vendor's dependencies to the host -- which still renders, on llvmpipe, and prints nothing. Entry added to all three platform blocks. A bump landing in only one xpm.<platform> reads as "not found" on the others, which both index repos now enforce in CI. CN asset published with gtc and verified by GET (HEAD answers 401): byte-identical to the GitHub tag tarball, sha256 5fec15183be54a0a6d937da2289340da21fb42a023e68a975dfc43eb523391ef.
1 parent 0460ffd commit 0374b3f

1 file changed

Lines changed: 21 additions & 0 deletions

File tree

pkgs/x/xpkg.lua

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,13 @@ package = {
1212

1313
xpm = {
1414
linux = {
15+
["0.0.54"] = {
16+
url = {
17+
GLOBAL = "https://github.com/openxlings/libxpkg/archive/refs/tags/0.0.54.tar.gz",
18+
CN = "https://gitcode.com/mcpp-res/xpkg/releases/download/0.0.54/xpkg-0.0.54.tar.gz",
19+
},
20+
sha256 = "5fec15183be54a0a6d937da2289340da21fb42a023e68a975dfc43eb523391ef",
21+
},
1522
["0.0.53"] = {
1623
url = {
1724
GLOBAL = "https://github.com/openxlings/libxpkg/archive/refs/tags/0.0.53.tar.gz",
@@ -112,6 +119,13 @@ package = {
112119
},
113120
},
114121
macosx = {
122+
["0.0.54"] = {
123+
url = {
124+
GLOBAL = "https://github.com/openxlings/libxpkg/archive/refs/tags/0.0.54.tar.gz",
125+
CN = "https://gitcode.com/mcpp-res/xpkg/releases/download/0.0.54/xpkg-0.0.54.tar.gz",
126+
},
127+
sha256 = "5fec15183be54a0a6d937da2289340da21fb42a023e68a975dfc43eb523391ef",
128+
},
115129
["0.0.53"] = {
116130
url = {
117131
GLOBAL = "https://github.com/openxlings/libxpkg/archive/refs/tags/0.0.53.tar.gz",
@@ -212,6 +226,13 @@ package = {
212226
},
213227
},
214228
windows = {
229+
["0.0.54"] = {
230+
url = {
231+
GLOBAL = "https://github.com/openxlings/libxpkg/archive/refs/tags/0.0.54.tar.gz",
232+
CN = "https://gitcode.com/mcpp-res/xpkg/releases/download/0.0.54/xpkg-0.0.54.tar.gz",
233+
},
234+
sha256 = "5fec15183be54a0a6d937da2289340da21fb42a023e68a975dfc43eb523391ef",
235+
},
215236
["0.0.53"] = {
216237
url = {
217238
GLOBAL = "https://github.com/openxlings/libxpkg/archive/refs/tags/0.0.53.tar.gz",

0 commit comments

Comments
 (0)