Skip to content

Commit

Permalink
Tet
Browse files Browse the repository at this point in the history
  • Loading branch information
qarmin committed Oct 4, 2024
1 parent 495dd5f commit 02ef2df
Show file tree
Hide file tree
Showing 7 changed files with 38 additions and 33 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-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 }}
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/linux_gui.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down Expand Up @@ -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 }}
Expand Down 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 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 }}
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 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 }}
Expand Down
50 changes: 25 additions & 25 deletions .github/workflows/mac.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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' }}
# 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' }}
2 changes: 1 addition & 1 deletion .github/workflows/quality.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 5 additions & 0 deletions Changelog.md
Original file line number Diff line number Diff line change
@@ -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)
Expand Down
2 changes: 1 addition & 1 deletion czkawka_cli/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion czkawka_gui/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 02ef2df

Please sign in to comment.