Commit cf77e09
authored
1.49.1: the enum headers upstream installs and this fork did not (#1)
wlroots 0.20 has `#include <wayland-protocols/xdg-shell-enum.h>` in ten of its
PUBLIC headers. Upstream wayland-protocols installs those — include/wayland-
protocols/meson.build runs `wayland-scanner enum-header` over every XML — and
genproto.sh here generated only client-header, server-header and public-code.
So a consumer of wlroots writing the ordinary `#include <wlr/...>` had nothing
to resolve them against.
The enum header carries only the protocol's enums: no interface symbols, no
libwayland dependency. That is why it is installed separately — a header that
wants to name `enum xdg_toplevel_state` gets it without pulling in a
marshalling table it would then have to link.
⭐ WHY CHECKED IN RATHER THAN GENERATED BY build.mcpp
§14 of the graphics-stack design doc says generation belongs in build.mcpp, not
in checked-in artifacts. It cannot apply here, and the reason is measured
(2026-08-31, two-package probe):
mcpp::include_dir() from a build program → PACKAGE-PRIVATE, consumer
gets 'No such file or directory'
[build] include_dirs in the manifest → propagates to consumers
A package whose PRODUCT is headers therefore cannot produce them at build
time. That is a real limit of the mechanism, not a legacy shortcut in this
fork, and it is written into each member's manifest so the next person does
not spend the afternoon I would have.
VERSION: 1.49.1, third component = this fork's revision (upstream ships
two-component versions; 1.49 is newest). Not a re-cut of 1.49, because the
store is keyed by (name, version) and would not re-extract it — additive
content, additive version.
65 protocols × 1 new header. No existing generated file changes; the CI's
regenerate-and-diff step passes unmodified.1 parent 9065bf8 commit cf77e09
69 files changed
Lines changed: 5645 additions & 4 deletions
File tree
- mcpp
- generated/wayland-protocols
- stable
- staging
- tools
- unstable
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 34 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
0 commit comments