Debian Codegraph @

PACKAGING

raw
1 libxkbcommon consists of three shared libraries, libxkbcommon (the main
2 library), libxkbcommon-x11 (an addon library for XCB clients) and libxkbregistry
3 (a library to list available RMLVO options).
4
5 The files for libxkbcommon-x11 are:
6 libxkbcommon-x11.a libxkbcommon-x11.so* xkbcommon/xkbcommon-x11.h
7 xkbcommon-x11.map xkbcommon-x11.pc
8
9 libxkbcommon-x11 can be disabled with -Denable-x11=false (see
10 `meson configure build` for other options/variables).
11
12 The files for libxkbregistry are:
13 libxkbregistry.a libxkbregistry.so* xkbcommon/xkbregistry.h
14 xkbregistry.map xkbregistry.pc
15
16 libxkbregistry can be disabled with -Denable-xkbregistry=false (see
17 `meson configure build` for other options/variables).
18
19 Dependencies for libxkbcommon:
20 - C compiler, meson, pkg-config, libc.
21
22 - (build) bison (preferred) or win_bison
23
24 - (build optional, runtime required) xkeyboard-config.
25 During build, for automatically detecting the value of
26 -Dxkb-config-root instead of guessing (/usr/share/X11/xkb).
27 During runtime, not strictly needed, but most users of the library
28 would need it.
29
30 - (runtime) libX11.
31 Contains the dataset for Compose support (/usr/share/X11/locale).
32 Please don't depend on it explicitly.
33
34 - (build optional) doxygen.
35 For generating the HTML documentation.
36 To disable, use -Denable-docs=false.
37
38 - (build optional) gperf.
39 Output included in git and tarball. To regenerate, use
40 `./scripts/update-keywords`.
41
42 Dependencies for xkbcli:
43 - libxkbcommon.
44
45 Dependencies for libxkbcommon-x11:
46 - libxkbcommon.
47
48 - libxcb>=1.10 with libxcb-xkb.
49
50 Dependencies for libxkbcommon-x11 tests:
51 - xkbcomp, Xvfb.
52 If they are not available, the relevant tests are skipped.
53
54 Dependencies for libxkbregistry:
55 - libxkbregistry is a sublibrary of libxkbcommon and cannot be built without
56 building libxbkcommon. The files produced are otherwise independent.
57
58 - libxml2
59
60 - (build optional, runtime requirement) xkeyboard-config
61 During build, for automatically detecting the value of
62 -Dxkb-config-root instead of guessing (/usr/share/X11/xkb).
63
64 Dependencies for Wayland tests:
65 - wayland-client>=1.2.0, wayland-scanner, wayland-protocols>=1.0.
66 To disable, use -Denable-wayland=false.
67
68 Unless libxcb is always available as part of the system, it is preferred
69 that libxkbcommon and libxkbcommon-x11 be split into separate packages,
70 such that the main library does not depend on libxcb. This avoids a
71 transitive dependency of Wayland clients on X libraries.
72
73 It is perferred that libxkbregistry be split into a separate packages as most
74 clients that require libxkbcommon do not require libxkbregistry and clients
75 requiring libxkbregistry may not need libxkbcommon.