qarmin / czkawka

Multi functional app to find duplicates, empty folders, similar images etc.
Other
20.47k stars 666 forks source link

Unable to ompile in Debian 12 #1180

Open Lew-Rockwell-Fan opened 10 months ago

Lew-Rockwell-Fan commented 10 months ago

Feature Description Was trying to compile because snap was such a nightmarish persistent resource hog in Ubuntu 18.04 that I've so far avoided it in Debian Bookworm (12, the current "stable"). FYI, on these instructions:

sudo apt install libgtk-4-dev libheif-dev libraw-dev -y Runs fine.

cargo run --release --bin czkawka_gui -or- cargo run --release --bin czkawka_gui --features "heif,libraw" Have to install cargo first. Then either one fails with: error: could not find Cargo.toml in /home/me or any parent directory

Also, libgtk-4, libheif, libraw do not appear to be available in Bookworm. Is it worth a try to get them to see if that solves the cargo problem?

I'm calling this a feature req becauseI don't know if it's really a bug or I'm just bering retarded. Man, I sure would like a deb. Or a ppa repo. Looks nice. I'll try to figure out flatpak now.

qarmin commented 10 months ago

Error error: could not find Cargo.toml in /home/me or any parent directory is visible, because you are running cargo command outside of czkawka folder. Compilation should be done in this way

git clone https://github.com/qarmin/czkawka.git
git checkout 6.1.0
cd czkawka
cargo run --release --bin czkawka_gui --features "heif,libraw" # or cargo run --release --bin czkawka_gui

or

git clone https://github.com/qarmin/czkawka.git
git checkout 6.1.0
cd czkawka/czkawka_gui
cargo run --release --features "heif,libraw" # or cargo run --release

https://packages.debian.org/bookworm/libgtk-4-dev https://tracker.debian.org/pkg/libraw https://tracker.debian.org/pkg/libheif

all this packages should be available in Debian 12, because are available on Ubuntu 23.10.