From d8b2b50780dde4ead0f40a94c763f0f2726db429 Mon Sep 17 00:00:00 2001 From: Emil Ernerfeldt Date: Tue, 6 Jul 2021 19:33:37 +0200 Subject: [PATCH] Add libxkbcommon-dev to list of linux deps (#549) Closes https://github.com/emilk/egui/issues/545 --- .github/workflows/rust.yml | 2 +- README.md | 2 +- eframe/README.md | 2 +- egui_glium/README.md | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index d1589477..812d6000 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -82,7 +82,7 @@ jobs: profile: minimal toolchain: 1.51.0 override: true - - run: sudo apt-get install libxcb-render0-dev libxcb-shape0-dev libxcb-xfixes0-dev libspeechd-dev + - run: sudo apt-get install libxcb-render0-dev libxcb-shape0-dev libxcb-xfixes0-dev libspeechd-dev libxkbcommon-dev - uses: actions-rs/cargo@v1 with: command: test diff --git a/README.md b/README.md index 75faf746..6f069287 100644 --- a/README.md +++ b/README.md @@ -43,7 +43,7 @@ To test the demo app locally, run `cargo run --release -p egui_demo_app`. The native backend is currently using [`glium`](https://github.com/glium/glium) ([though there are plans to change that](https://github.com/emilk/egui/issues/93)) and should work out-of-the-box on Mac and Windows, but on Linux you need to first run: -`sudo apt-get install libxcb-render0-dev libxcb-shape0-dev libxcb-xfixes0-dev libspeechd-dev` +`sudo apt-get install libxcb-render0-dev libxcb-shape0-dev libxcb-xfixes0-dev libspeechd-dev libxkbcommon-dev` On Fedora Rawhide you need to run `dnf install clang clang-devel clang-tools-extra speech-dispatcher-devel` diff --git a/eframe/README.md b/eframe/README.md index 5a816d99..4610ff1d 100644 --- a/eframe/README.md +++ b/eframe/README.md @@ -6,7 +6,7 @@ This aims to be the entry-level crate if you want to write an egui app. `eframe` is a very thin crate that re-exports [`egui`](https://crates.io/crates/egui), [`epi`](https://crates.io/crates/epi) and thin wrappers over the backends. -On Linux you need to first run `sudo apt-get install libxcb-render0-dev libxcb-shape0-dev libxcb-xfixes0-dev` to compile `eframe` natively. +On Linux you need to first run `sudo apt-get install libxcb-render0-dev libxcb-shape0-dev libxcb-xfixes0-dev libspeechd-dev libxkbcommon-dev` to compile `eframe` natively. ## Name diff --git a/egui_glium/README.md b/egui_glium/README.md index f2a29bfc..8e09ef69 100644 --- a/egui_glium/README.md +++ b/egui_glium/README.md @@ -7,4 +7,4 @@ This crates provides bindings between [egui](https://crates.io/crates/egui) and [glium](https://crates.io/crates/glium) which allows you to write GUI code using egui and compile it and run it natively, cross platform. -For linux you need to `sudo apt-get install libxcb-render0-dev libxcb-shape0-dev libxcb-xfixes0-dev` to use `egui_glium`. +For linux you need to `sudo apt-get install libxcb-render0-dev libxcb-shape0-dev libxcb-xfixes0-dev libspeechd-dev libxkbcommon-dev` to use `egui_glium`.