mcpp index

wlroots.wlroots

import

wlroots 0.20.2 — modular Wayland compositor library, with DRM/libinput/session/GLES2/pixman/GBM built and X11 left out

import wlroots;

Module name taken from this index's own test project for the package.

mcpp add wlroots.wlroots@0.20.2

Usage

From this repository's own test project — built and run by CI, not written for the website.

// wlroots — what can be asserted without a seat, a GPU or a compositor.
//
// WHAT THIS TEST IS FOR
//
// A compositor library is mostly untestable in CI: creating a backend wants a
// DRM master, a libseat session and an input device, and none of a runner's
// three exist. So the temptation is to assert that it linked, which is worth
// almost nothing — a package can link and still have compiled none of the
// files a consumer needs (this index has measured exactly that).
//
// Everything below is chosen to be an INTERMEDIATE QUANTITY: a value the
// library computes on its own, from data it carries, with no device involved.
// Each one names a specific generator in build.mcpp, so a failure says which
// one broke rather than "wlroots is broken":
//
//   version           → include/wlr/version.h
//   WLR_HAS_*         → include/wlr/config.h, and the feature set behind it
//   the PNP table     → pnpids.c, from the pinned hwdata
//   the box maths     → util/box.c, i.e. that ordinary sources compiled
//   the module itself → 986 `using ::` declarations that must all resolve
//   `namespace_`      → the C++ keyword-member rewrite
//
// …

tests/examples/wlroots/tests/wlroots.cpp · project tests/examples/wlroots

Build · upstream manifest

targets
wlroots (lib)
language
c++23
manifest version
0.20.2
dependencies
freedesktop, compat
source
https://raw.githubusercontent.com/mcpplibs/wlroots/0.20.2/mcpp/wlroots/mcpp.toml

Versions

VersionPlatforms Mirrorssha256
0.20.2 latest Linux GLOBAL CN a9a9c2d86044…