1
0
Fork 0
mirror of synced 2024-06-15 08:54:47 +12:00
This commit is contained in:
Rafał Mikrut 2023-02-25 21:13:46 +01:00
parent b13f2ad23c
commit e994baf543
3 changed files with 8 additions and 12 deletions

View file

@ -60,7 +60,7 @@ jobs:
find package -iname "*.dll" -or -iname "*.exe" -type f -exec mingw-strip {} +
cd package/share
wget2 https://github.com/qarmin/czkawka/files/8880216/gtk4_theme.zip
wget2 https://github.com/qarmin/czkawka/files/10832192/gtk4_theme.zip
unzip gtk4_theme.zip
rm gtk4_theme.zip
cd ../..
@ -76,7 +76,7 @@ jobs:
container_cli:
runs-on: ubuntu-22.04
container:
image: ghcr.io/piegamesde/gtk4-cross:gtk-4.6
image: ghcr.io/piegamesde/gtk4-cross:gtk-4.8
steps:
- uses: actions/checkout@v1
- name: Install additional dependencies
@ -126,7 +126,7 @@ jobs:
find package -iname "*.dll" -or -iname "*.exe" -type f -exec mingw-strip {} +
cd package/share
wget2 https://github.com/qarmin/czkawka/files/8880216/gtk4_theme.zip
wget2 https://github.com/qarmin/czkawka/files/10832192/gtk4_theme.zip
unzip gtk4_theme.zip
rm gtk4_theme.zip
cd ../..

View file

@ -48,7 +48,7 @@ pub fn connect_selection_of_directories(gui_data: &GuiData) {
file_dialog_include_exclude_folder_selection.set_title(&flg!("exclude_folders_dialog_title"));
});
}
// Conect
// Connect
{
let notebook_upper = gui_data.upper_notebook.notebook_upper.clone();
let tree_view_included_directories = gui_data.upper_notebook.tree_view_included_directories.clone();

View file

@ -8,6 +8,7 @@ FFmpeg is not included here because it is not needed to build - it is dynamicall
Support for heif images is optional and require to install libheif library.
New versions of GTK fixes some bugs, so e.g. middle button selection will work only with GTK >=4.8.
| Program | Min | What for |
|---------|--------|--------------------------------------------------------------------------------------|
@ -33,19 +34,14 @@ You need to install Rust via Homebrew, GTK Libraries and optionally heif library
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
brew install rustup
rustup-init
brew install gtk4 adwaita-icon-theme librsvg libheif
brew install gtk4 adwaita-icon-theme librsvg libheif webp-pixbuf-loader
```
### Windows
*Will be available in the future*
Compiling Czkawka on Windows is possible, but due using GTK is very hard.
For Linux-to-Windows cross-building instruction look at the CI.
<!-- First you need to install Visual C++ components from Visual Studio installer - https://visualstudio.microsoft.com/downloads/
Next install Rust from site https://rustup.rs/
After that the latest GTK 4 runtime must be installed from(not available yet for GTK 4) https://github.com/tschoonj/GTK-for-Windows-Runtime-Environment-Installer/releases
-->
In CI we use cross compilation which simplify a lot of things, so for now there is no instruction how to compile native binaries on Windows.
### Docker