Codebase list rust-stfu8 / 26438c9
xkbcommon: manual feature collapsing Henry-Nicolas Tourneur 3 years ago
3 changed file(s) with 35 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
0 rust-xkbcommon (0.4.0-1) UNRELEASED-FIXME-AUTOGENERATED-DEBCARGO; urgency=medium
0 rust-xkbcommon (0.4.0-2) UNRELEASED-FIXME-AUTOGENERATED-DEBCARGO; urgency=medium
11
2 [ Arnaud Ferraris ]
23 * Package xkbcommon 0.4.0 from crates.io using debcargo 2.4.2
34
4 -- Arnaud Ferraris <arnaud.ferraris@collabora.com> Fri, 10 Apr 2020 14:05:38 +0000
5 [ Henry-Nicolas Tourneur ]
6 * d/patches/001_collapse-features.patch: update Cargo.toml to manually
7 collapse un-needed features - avoids creating empty bin package.
8
9 -- Arnaud Ferraris <arnaud.ferraris@collabora.com> Fri, 25 Sept 2020 18:28:38 +0000
0 Author: Henry-Nicolas Tourneur <debian@nilux.be>
1 Last-Update: 2020-09-25
2 Description: We are patching the Cargo.toml file to manually collapse features.
3 The rationale is that this crate is aimed at supporting the squeekboard binary
4 crate which only requires the wayland feature.
5 This is done to reduce empty binary packages generated by debcargo which are
6 considered problematic to this date.
7 Forwarded: not-needed
8 ---
9 This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
10 --- a/Cargo.toml
11 +++ b/Cargo.toml
12 @@ -25,13 +25,6 @@ version = "0.2"
13
14 [dependencies.memmap]
15 version = "0.7"
16 -optional = true
17 -
18 -[dependencies.xcb]
19 -version = "0.8"
20 -features = ["xkb"]
21 -optional = true
22
23 [features]
24 -wayland = ["memmap"]
25 -x11 = ["xcb"]
26 +wayland = []
0 001_collapse-features.patch