Skip to content

Commit cf77e09

Browse files
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

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 numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
/* Generated by wayland-scanner 1.26.0 */
2+
3+
#ifndef ALPHA_MODIFIER_V1_ENUM_PROTOCOL_H
4+
#define ALPHA_MODIFIER_V1_ENUM_PROTOCOL_H
5+
6+
#ifdef __cplusplus
7+
extern "C" {
8+
#endif
9+
10+
#ifndef WP_ALPHA_MODIFIER_V1_ERROR_ENUM
11+
#define WP_ALPHA_MODIFIER_V1_ERROR_ENUM
12+
enum wp_alpha_modifier_v1_error {
13+
/**
14+
* wl_surface already has a alpha modifier object
15+
*/
16+
WP_ALPHA_MODIFIER_V1_ERROR_ALREADY_CONSTRUCTED = 0,
17+
};
18+
#endif /* WP_ALPHA_MODIFIER_V1_ERROR_ENUM */
19+
20+
#ifndef WP_ALPHA_MODIFIER_SURFACE_V1_ERROR_ENUM
21+
#define WP_ALPHA_MODIFIER_SURFACE_V1_ERROR_ENUM
22+
enum wp_alpha_modifier_surface_v1_error {
23+
/**
24+
* wl_surface was destroyed
25+
*/
26+
WP_ALPHA_MODIFIER_SURFACE_V1_ERROR_NO_SURFACE = 0,
27+
};
28+
#endif /* WP_ALPHA_MODIFIER_SURFACE_V1_ERROR_ENUM */
29+
30+
#ifdef __cplusplus
31+
}
32+
#endif
33+
34+
#endif

0 commit comments

Comments
 (0)