Skip to content

Commit

Permalink
fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
joseluis committed Jan 30, 2025
1 parent 82c4a35 commit 50b251c
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 3 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,10 @@ jobs:
- name: "Install libraries via APT"
run: |
sudo apt update
# for alsa-sys, gilrs:
# for alsa-sys, gilrs, fltk:
sudo apt install -y libasound2-dev libudev-dev
# for fltk:
sudo apt install -y libxft-dev libpango1.0-dev
# for sdl2:
sudo apt install -y libsdl2-dev libsdl2-gfx-dev libsdl2-image-dev \
libsdl2-mixer-dev libsdl2-ttf-dev
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/test-arches-miri.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,10 @@ jobs:
- name: "Install libraries via APT"
run: |
sudo apt update
# for alsa-sys, gilrs:
# for alsa-sys, gilrs, fltk:
sudo apt install -y libasound2-dev libudev-dev
# for fltk:
sudo apt install -y libxft-dev libpango1.0-dev
# for sdl2:
sudo apt install -y libsdl2-dev libsdl2-gfx-dev libsdl2-image-dev \
libsdl2-mixer-dev libsdl2-ttf-dev
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,10 @@ jobs:
- name: "Install libraries via APT"
run: |
sudo apt update
# for alsa-sys, gilrs:
# for alsa-sys, gilrs.
sudo apt install -y libasound2-dev libudev-dev
# for fltk:
sudo apt install -y libxft-dev libpango1.0-dev
# for sdl2:
sudo apt install -y libsdl2-dev libsdl2-gfx-dev libsdl2-image-dev \
libsdl2-mixer-dev libsdl2-ttf-dev
Expand Down
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -643,6 +643,7 @@ features = ["bracketed-paste", "events"]
version = "1.5" # ✓ https://github.com/fltk-rs/fltk-rs/blob/master/CHANGELOG.md
optional = true # unsafe
default-features = false # 23 https://docs.rs/crate/fltk/latest/features
# INSTALL: libxft-dev

[dependencies.gilrs] # https://crates.io/crates/gilrs
version = "0.11" # ✗ https://gitlab.com/gilrs-project/gilrs/-/commits/master?ref_type=HEADS
Expand Down
3 changes: 3 additions & 0 deletions src/ui/service/cap/definitions.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
//!
//

#[cfg(feature = "alloc")]
use crate::String;

/// The capabilities supported by a [`UiService`][crate::UiService].
#[derive(Clone, Debug, Default, PartialEq, Eq)]
pub struct UiCap {
Expand Down

0 comments on commit 50b251c

Please sign in to comment.