diff --git a/.github/workflows/linux_cli.yml b/.github/workflows/linux_cli.yml index 8c8dfeab6..dc2473ce5 100644 --- a/.github/workflows/linux_cli.yml +++ b/.github/workflows/linux_cli.yml @@ -19,7 +19,7 @@ jobs: - uses: actions/checkout@v4 - name: Install basic libraries - run: sudo apt update || true; sudo apt install libheif-de libraw-dev libavif-dev ffmpeg -y + run: sudo apt update || true; sudo apt install libheif-de libraw-dev libavif-dev libdav1d-dev ffmpeg -y - name: Setup rust version run: rustup default ${{ matrix.toolchain }} diff --git a/.github/workflows/linux_gui.yml b/.github/workflows/linux_gui.yml index 5f426cb94..3869ce78d 100644 --- a/.github/workflows/linux_gui.yml +++ b/.github/workflows/linux_gui.yml @@ -46,7 +46,7 @@ jobs: - uses: actions/checkout@v4 - name: Install basic libraries - run: sudo apt update || true; sudo apt install libheif-dev libraw-dev libavif-dev -y + run: sudo apt update || true; sudo apt install libheif-dev libraw-dev libavif-dev libdav1d-dev -y - name: Setup rust version run: rustup default ${{ matrix.toolchain }} @@ -76,7 +76,7 @@ jobs: - uses: actions/checkout@v4 - name: Install basic libraries - run: sudo apt update || true; sudo apt install libgtk-4-dev libheif-dev libraw-dev libavif-dev -y + run: sudo apt update || true; sudo apt install libgtk-4-dev libheif-dev libraw-dev libavif-dev libdav1d-dev -y - name: Setup rust version run: rustup default ${{ matrix.toolchain }} @@ -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 libraw-dev libavif-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 libavif-dev libdav1d-dev librsvg2-dev wget fuse libfuse2 desktop-file-utils -y - name: Setup rust version run: rustup default ${{ matrix.toolchain }} @@ -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 libraw-dev libavif-dev librsvg2-dev wget fuse libfuse2 -y xvfb + run: sudo apt update || true; sudo apt install libgtk-4-dev libheif-dev libraw-dev libavif-dev libdav1d-dev librsvg2-dev wget fuse libfuse2 -y xvfb - name: Setup rust version run: rustup default ${{ matrix.toolchain }} diff --git a/.github/workflows/mac.yml b/.github/workflows/mac.yml index 90093c435..ed9300287 100644 --- a/.github/workflows/mac.yml +++ b/.github/workflows/mac.yml @@ -59,28 +59,28 @@ jobs: path: target/release/krokiet if: ${{ matrix.type == 'release' }} -# TODO - compilation is broken, not sure why -# - name: Build Release Heif -# run: cargo build --release --features heif -# if: ${{ matrix.type == 'release'}} -# -# - name: Store MacOS CLI Heif -# uses: actions/upload-artifact@v4 -# with: -# name: czkawka_cli-${{ runner.os }}-${{ matrix.toolchain }}-heif -# path: target/release/czkawka_cli -# if: ${{ matrix.type == 'release' }} -# -# - name: Store MacOS GUI Heif -# uses: actions/upload-artifact@v4 -# with: -# name: czkawka_gui-${{ runner.os }}-${{ matrix.toolchain }}-heif -# path: target/release/czkawka_gui -# if: ${{ matrix.type == 'release' }} -# -# - name: Store MacOS Krokiet Heif -# uses: actions/upload-artifact@v4 -# with: -# name: krokiet-${{ runner.os }}-${{ matrix.toolchain }}-heif -# path: target/release/krokiet -# if: ${{ matrix.type == 'release' }} \ No newline at end of file + # TODO - compilation is broken, not sure why + - name: Build Release Heif + run: cargo build --release --features heif + if: ${{ matrix.type == 'release'}} + + - name: Store MacOS CLI Heif + uses: actions/upload-artifact@v4 + with: + name: czkawka_cli-${{ runner.os }}-${{ matrix.toolchain }}-heif + path: target/release/czkawka_cli + if: ${{ matrix.type == 'release' }} + + - name: Store MacOS GUI Heif + uses: actions/upload-artifact@v4 + with: + name: czkawka_gui-${{ runner.os }}-${{ matrix.toolchain }}-heif + path: target/release/czkawka_gui + if: ${{ matrix.type == 'release' }} + + - name: Store MacOS Krokiet Heif + uses: actions/upload-artifact@v4 + with: + name: krokiet-${{ runner.os }}-${{ matrix.toolchain }}-heif + path: target/release/krokiet + if: ${{ matrix.type == 'release' }} \ No newline at end of file diff --git a/.github/workflows/quality.yml b/.github/workflows/quality.yml index 8cb3bebb2..fd8413b7a 100644 --- a/.github/workflows/quality.yml +++ b/.github/workflows/quality.yml @@ -15,7 +15,7 @@ jobs: - uses: actions/checkout@v4 - name: Install Gtk 4 - run: sudo apt update || true; sudo apt install -y libgtk-4-dev libraw-dev libheif-dev libavif-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 diff --git a/Changelog.md b/Changelog.md index e5b3a737e..07c4b0a1d 100644 --- a/Changelog.md +++ b/Changelog.md @@ -1,5 +1,10 @@ ## Version 8.0.0 - ? +### Breaking changes + +- Due removing image_type from image struct, old cache files are incompatible with new version and should be regenerated + from scratch + ### Core - Removed some unnecessary panics - [#1354](https://github.com/qarmin/czkawka/pull/1354) diff --git a/czkawka_cli/README.md b/czkawka_cli/README.md index bec96e6c7..09ad843c2 100644 --- a/czkawka_cli/README.md +++ b/czkawka_cli/README.md @@ -16,7 +16,7 @@ If you want to use similar videos tool, you need to install ffmpeg(runtime depen If you want to use heif/libraw(build/runtime dependency) you need to install required packages. - mac - `brew install ffmpeg libraw libheif libavif` - https://formulae.brew.sh/formula/ffmpeg -- linux - `sudo apt install ffmpeg libraw-dev libheif-dev libavif-dev` +- linux - `sudo apt install ffmpeg libraw-dev libheif-dev libavif-dev libdav1d-dev` - windows - `choco install ffmpeg` - or if not working, download from https://ffmpeg.org/download.html#build-windows and unpack to location with `czkawka_cli.exe`, heif and libraw are not supported on windows diff --git a/czkawka_gui/README.md b/czkawka_gui/README.md index b2b3d7fc2..836367609 100644 --- a/czkawka_gui/README.md +++ b/czkawka_gui/README.md @@ -75,7 +75,7 @@ lot build and runtime dependencies. ### Linux (Ubuntu, but on other OS should work similar) ```shell -sudo apt install libgtk-4-dev libheif-dev libraw-dev libavif-dev -y +sudo apt install libgtk-4-dev libheif-dev libraw-dev libavif-dev libdav1d-dev -y cargo run --release --bin czkawka_gui # Or with support for heif, libraw, libavif(this are c libraries) cargo run --release --bin czkawka_gui --features "heif,libraw,libavif"