Skip to content

Commit

Permalink
Avif + Jxl support, using native pixbuf loader vs rust to load gui pr…
Browse files Browse the repository at this point in the history
…eview, fast exit (#1358)
  • Loading branch information
qarmin authored Oct 5, 2024
1 parent 12ab601 commit 3925f03
Show file tree
Hide file tree
Showing 72 changed files with 1,169 additions and 793 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/linux_cli.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- uses: actions/checkout@v4

- name: Install basic libraries
run: sudo apt update || true; sudo apt install libheif-dev ffmpeg -y
run: sudo apt update || true; sudo apt install libheif-dev libraw-dev ffmpeg -y

- name: Setup rust version
run: rustup default ${{ matrix.toolchain }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/linux_gui.yml
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ jobs:
- uses: actions/checkout@v4

- name: Install Dependencies
run: sudo apt update || true; sudo apt install libgtk-4-dev libheif-dev librsvg2-dev wget fuse libfuse2 desktop-file-utils -y
run: sudo apt update || true; sudo apt install libgtk-4-dev libheif-dev libraw-dev librsvg2-dev wget fuse libfuse2 desktop-file-utils -y

- name: Setup rust version
run: rustup default ${{ matrix.toolchain }}
Expand Down Expand Up @@ -186,7 +186,7 @@ jobs:
- uses: actions/checkout@v4

- name: Install Dependencies
run: sudo apt update || true; sudo apt install libgtk-4-dev libheif-dev librsvg2-dev wget fuse libfuse2 -y xvfb
run: sudo apt update || true; sudo apt install libgtk-4-dev libheif-dev libraw-dev librsvg2-dev wget fuse libfuse2 -y xvfb

- name: Setup rust version
run: rustup default ${{ matrix.toolchain }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/mac.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ jobs:
path: target/release/krokiet
if: ${{ matrix.type == 'release' }}

# TODO - compilation is broken, not sure why
# # TODO - compilation is broken, not sure why
# - name: Build Release Heif
# run: cargo build --release --features heif
# if: ${{ matrix.type == 'release'}}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/quality.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ env:

jobs:
quality:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4

- name: Install Gtk 4
run: sudo apt update || true; sudo apt install -y libgtk-4-dev libraw-dev libheif-dev -y
run: sudo apt update || true; sudo apt install -y libgtk-4-dev libraw-dev libheif-dev libavif-dev libdav1d-dev -y

- name: Check the format
run: cargo fmt --all -- --check
Expand Down
3 changes: 2 additions & 1 deletion .rustfmt.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@ max_width = 180
remove_nested_parens = true

# Enable only with nightly channel via - cargo +nightly fmt
imports_granularity = "Module"
imports_granularity = "Module"
group_imports = "StdExternalCrate"
Loading

0 comments on commit 3925f03

Please sign in to comment.