Skip to content

Commit ce28f5b

Browse files
committed
fix(wlroots): re-cut 0.20.2 with the layer-shell shim fix
CI on this PR failed with wlr_layer_shell_v1.h:73: use of enum 'zwlr_layer_surface_v1_keyboard_interactivity' without previous declaration from a build that passed locally. The shim that renames the `namespace` argument — layer-shell is the only one of 133 generated protocol headers that is not valid C++ — reached the scanner's real output with `#include_next`, and that is an include which can SUCCEED and deliver the wrong file. A missing file would have said so. The fork now names the file by absolute path (mcpplibs/wlroots, CI green on both toolchains) and 0.20.2 is re-cut. Safe here and only here: the descriptor had never been published, so nothing in the world had extracted it. CN URL moves to the `0.20.2-1` container: gitcode refuses to replace an asset of the same name in an existing release, so the corrected bytes needed a new one. Verified — its sha256 equals the GLOBAL tarball's.
1 parent 1f3a223 commit ce28f5b

1 file changed

Lines changed: 11 additions & 2 deletions

File tree

‎pkgs/w/wlroots.wlroots.lua‎

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,9 +113,18 @@ package = {
113113
["0.20.2"] = {
114114
url = {
115115
GLOBAL = "https://github.com/mcpplibs/wlroots/archive/refs/tags/0.20.2.tar.gz",
116-
CN = "https://gitcode.com/mcpp-res/wlroots/releases/download/0.20.2/wlroots-0.20.2.tar.gz",
116+
-- ⚠️ `0.20.2-1`, not `0.20.2`. The fork's tag was re-cut once
117+
-- before this descriptor was ever published — nothing
118+
-- depended on it yet, so re-cutting was safe — and gitcode
119+
-- refuses to REPLACE an asset of the same name in an
120+
-- existing release. The container holding the correct bytes
121+
-- is therefore a new one; the `0.20.2` container still holds
122+
-- the superseded asset and is not referenced.
123+
--
124+
-- Verified: this URL's sha256 equals the GLOBAL one's below.
125+
CN = "https://gitcode.com/mcpp-res/wlroots/releases/download/0.20.2-1/wlroots-0.20.2.tar.gz",
117126
},
118-
sha256 = "40c321b79c087d104f9f2b01a61724e0c3a29608a6ff05dda05abd4c73ab929a",
127+
sha256 = "97d9e014c9b633946f24396630e9e317e385160396e474c883903cc92c4a8299",
119128
},
120129
},
121130
},

0 commit comments

Comments
 (0)