feat(pangocairo): 删掉 cairo.h 变通 —— cairo 的修复已经发布 - #329
Merged
Conversation
freedesktop.cairo 1.18.2-mcpp3 已在 main:697 个名字,cairo_t 与 192 个枚举量 都在。普通的 export import cairo; 就够了 —— 本来就该够 —— 而且模块名现在是 cairo。⚠️ 难的是次序不是代码。这个包从**已发布的**索引解析 cairo,而一个索引 PR 没法 同时验证两边:一个成员只能声明一个项目级 index repo(xlings#374 / mcpp#238), 所以 tests/examples/pangocairo 不能同时用本地的 gnome.* 和本地的 freedesktop.* 描述符。在 cairo 发布之前删这个变通,会让两边都红,而每一行代码都是对的。 tarball 重切:sha256 → e6664cfe…,CN 容器 tag → 1.56.1-7。 五个示例 × 两条工具链全绿。
删掉 cairo.h 变通后 pangocairo 正确地从 284 个导出降到 32(它不再自己转出 cairo 的名字,而是转出 cairo 模块)—— 32 对上游 33 个 pango_cairo_* 函数是对的。 下限留在 200 会把一次**正确的收缩**判成红,这和下限存在的目的正相反:它们是用来 抓**塌陷**的,而这次没有塌陷。 sha256 → e9a1c28d…,CN 容器 tag → 1.56.1-8。
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
#328 的收尾。
freedesktop.cairo 1.18.2-mcpp3已在 main(697 个名字,cairo_t与 192 个枚举量都在),所以gnome.pangocairo里那个自己扫cairo.h的变通可以删了,改成普通的export import cairo;。这个变通不能和修 cairo 放在同一个改动里:
gnome.pangocairo从已发布的索引解析 cairo,而一个索引 PR 没法同时验证两边 —— 一个成员只能声明一个项目级 index repo:所以
tests/examples/pangocairo不可能同时用本地的gnome.*描述符和本地的freedesktop.*描述符。改了什么
gnome.pangocairocairo.h;export import cairo;e6664cfe…,CN 容器 tag1.56.1-7验证
五个示例(cairo、libdisplay-info、pango、pangoft2、pangocairo)× 两条工具链全绿;pango fork 本地六个测试双绿。