Skip to content

Commit 20b238f

Browse files
committed
License
1 parent 7f57a0e commit 20b238f

19 files changed

Lines changed: 695 additions & 185 deletions

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ assignees: ''
1212
**Steps to reproduce:**
1313
<!-- Please describe what you expected to see and what you saw instead. Also include screenshots or screencasts if needed. -->
1414

15-
1615
**Terminal output** (optional):
1716

1817
```

.github/workflows/linux.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,6 @@ jobs:
118118
sed -i 's|^opt-level = 3 # OPT PACKAGES|#opt-level = 3 # OPT PACKAGES|' Cargo.toml
119119
cargo build --target i686-unknown-linux-gnu --bin czkawka_cli --bin krokiet
120120
121-
122121
linux-cli-krokiet-debug:
123122
if: ${{ github.ref != 'refs/heads/master' }}
124123
runs-on: ubuntu-22.04

.github/workflows/windows.yml

Lines changed: 0 additions & 100 deletions
Original file line numberDiff line numberDiff line change
@@ -46,34 +46,13 @@ jobs:
4646
run: |
4747
mv target/x86_64-pc-windows-gnu/release/krokiet.exe windows_krokiet_on_linux.exe
4848
49-
- name: Show console window on windows
50-
run: |
51-
./sd -s '#![windows_subsystem = "windows"]' '//#![windows_subsystem = "windows"]' krokiet/src/main.rs
52-
cat krokiet/src/main.rs
53-
54-
- name: Compile Krokiet Console
55-
run: cargo build --release --target x86_64-pc-windows-gnu --bin krokiet
56-
57-
- name: Upload artifacts Console
58-
uses: actions/upload-artifact@v4
59-
with:
60-
name: krokiet-windows-c-on-linux-${{ github.sha }}-console
61-
path: |
62-
target/x86_64-pc-windows-gnu/release/krokiet.exe
63-
if-no-files-found: error
64-
65-
- name: Prepare files to release
66-
run: |
67-
mv target/x86_64-pc-windows-gnu/release/krokiet.exe windows_krokiet_on_linux_console.exe
68-
6949
- name: Release
7050
uses: softprops/action-gh-release@v2
7151
if: ${{ github.ref == 'refs/heads/master' }}
7252
with:
7353
tag_name: "Nightly"
7454
files: |
7555
windows_krokiet_on_linux.exe
76-
windows_krokiet_on_linux_console.exe
7756
token: ${{ secrets.PAT_REPOSITORY }}
7857

7958
container_4_12:
@@ -212,82 +191,3 @@ jobs:
212191
files: |
213192
windows_czkawka_gui_gtk_46.zip
214193
token: ${{ secrets.PAT_REPOSITORY }}
215-
216-
# Provide option to log things to windows CLI
217-
container_4_6_console_window:
218-
runs-on: ubuntu-22.04
219-
if: ${{ github.ref == 'refs/heads/master' }}
220-
container:
221-
image: ghcr.io/piegamesde/gtk4-cross:gtk-4.6
222-
steps:
223-
- uses: actions/checkout@v4
224-
225-
- name: Install dependencies(mostly sd)
226-
run: |
227-
dnf install wget -y
228-
wget https://github.com/chmln/sd/releases/download/v1.0.0/sd-v1.0.0-x86_64-unknown-linux-gnu.tar.gz -O a.tar.gz
229-
tar -xzf a.tar.gz
230-
chmod +x sd-v1.0.0-x86_64-unknown-linux-gnu/sd
231-
sudo cp sd-v1.0.0-x86_64-unknown-linux-gnu/sd /usr/bin/sd
232-
- name: Install additional dependencies
233-
# gio is for the build script
234-
run: |
235-
dnf install curl wget2 unzip mingw64-bzip2.noarch mingw64-poppler mingw64-poppler-glib mingw32-python3 rust-gio-devel adwaita-icon-theme -y && dnf clean all -y
236-
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
237-
source "$HOME/.cargo/env"
238-
rustup default 1.85.0
239-
rustup target add x86_64-pc-windows-gnu
240-
241-
- name: Show console window on windows
242-
run: sd -s '#![windows_subsystem = "windows"]' '//#![windows_subsystem = "windows"]' krokiet/src/main.rs
243-
- name: Cross compile for Windows
244-
run: |
245-
source "$HOME/.cargo/env"
246-
#!/bin/bash
247-
set -euo pipefail
248-
export PKG_CONFIG_PATH=/usr/lib64/pkgconfig:/usr/share/pkgconfig:$MINGW_PREFIX/lib/pkgconfig/:/usr/x86_64-w64-mingw32/lib/pkgconfig/
249-
cargo build --target=x86_64-pc-windows-gnu --release --locked
250-
mkdir -p package
251-
cp target/x86_64-pc-windows-gnu/release/czkawka_gui.exe package/
252-
cp target/x86_64-pc-windows-gnu/release/czkawka_cli.exe package/
253-
- name: Package
254-
run: |
255-
#!/bin/bash
256-
set -euo pipefail
257-
cp -t package $(pds -vv -f package/*.exe)
258-
# Add gdbus which is recommended on Windows (why?)
259-
cp $MINGW_PREFIX/bin/gdbus.exe package
260-
# Handle the glib schema compilation as well
261-
glib-compile-schemas $MINGW_PREFIX/share/glib-2.0/schemas/
262-
mkdir -p package/share/glib-2.0/schemas/
263-
cp -T $MINGW_PREFIX/share/glib-2.0/schemas/gschemas.compiled package/share/glib-2.0/schemas/gschemas.compiled
264-
# Pixbuf stuff, in order to get SVGs (scalable icons) to load
265-
mkdir -p package/lib/gdk-pixbuf-2.0
266-
cp -rT $MINGW_PREFIX/lib/gdk-pixbuf-2.0 package/lib/gdk-pixbuf-2.0
267-
cp -f -t package $(pds -vv -f $MINGW_PREFIX/lib/gdk-pixbuf-2.0/2.10.0/loaders/*)
268-
find package -iname "*.dll" -or -iname "*.exe" -type f -exec mingw-strip {} +
269-
270-
cd package/share
271-
wget2 https://github.com/qarmin/czkawka/files/10832192/gtk4_theme.zip
272-
unzip gtk4_theme.zip
273-
rm gtk4_theme.zip
274-
cd ../..
275-
- name: Upload artifacts
276-
uses: actions/upload-artifact@v4
277-
with:
278-
name: czkawka-windows-${{ github.sha }}-console-4.6
279-
path: |
280-
./package
281-
if-no-files-found: error
282-
283-
- name: Prepare files to release
284-
run: |
285-
mv ./package windows_czkawka_gui_gtk_46_console.zip
286-
- name: Release
287-
uses: softprops/action-gh-release@v2
288-
if: ${{ github.ref == 'refs/heads/master' }}
289-
with:
290-
tag_name: "Nightly"
291-
files: |
292-
windows_czkawka_gui_gtk_46_console.zip
293-
token: ${{ secrets.PAT_REPOSITORY }}

Changelog.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
### Prebuild-binaries
3131
- CI now creates linux binaries on ubuntu 22.04 instead 20.04(some types of builds were build on 24.04)
3232
- Musl builds of czkawka_cli are provided instead eyra builds(a little easier to maintain) - sadly no gui builds, due musl and eyra limitations :(
33+
- No longer prebuild windows console binaries are provided - logs are saved to file and are easier to read than in terminal
3334

3435
## Version 9.0.0 - 16.03.2025r
3536

Lines changed: 1 addition & 69 deletions
Original file line numberDiff line numberDiff line change
@@ -1,48 +1,10 @@
1-
MIT License
2-
3-
Copyright (c) 2020-2025 Rafał Mikrut
4-
5-
Permission is hereby granted, free of charge, to any person obtaining a copy
6-
of this software and associated documentation files (the "Software"), to deal
7-
in the Software without restriction, including without limitation the rights
8-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9-
copies of the Software, and to permit persons to whom the Software is
10-
furnished to do so, subject to the following conditions:
11-
12-
The above copyright notice and this permission notice shall be included in all
13-
copies or substantial portions of the Software.
14-
15-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21-
SOFTWARE.
22-
23-
========================================================================================================================
24-
========================================================================================================================
25-
========================================================================================================================
26-
271
Icons
282
data/icons/com.github.qarmin.czkawka.Devel.svg
293
data/icons/com.github.qarmin.czkawka.svg
304
data/icons/com.github.qarmin.czkawka-symbolic.svg
315

32-
CC BY 4.0 License
33-
346
Copyright (c) 2020 [jannuary](https://github.com/jannuary)
357

36-
and
37-
38-
Icons
39-
czkawka_gui/icons/*.svg
40-
krokiet/icons/*.svg
41-
krokiet/icons/*.png
42-
43-
Copyright (c) 2020-2025 Rafał Mikrut
44-
45-
468
License: CC-BY-4.0
479
Creative Commons Attribution 4.0 International Public License
4810
.
@@ -353,34 +315,4 @@ License: CC-BY-4.0
353315
d. Nothing in this Public License constitutes or may be interpreted
354316
as a limitation upon, or waiver of, any privileges and immunities
355317
that apply to the Licensor or You, including from the legal
356-
processes of any jurisdiction or authority.
357-
358-
359-
360-
========================================================================================================================
361-
========================================================================================================================
362-
========================================================================================================================
363-
364-
GTK theme for Windows binaries
365-
MIT License
366-
367-
Copyright (c) 2019-2020 Nick Rhodes
368-
369-
Permission is hereby granted, free of charge, to any person obtaining a copy
370-
of this software and associated documentation files (the "Software"), to deal
371-
in the Software without restriction, including without limitation the rights
372-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
373-
copies of the Software, and to permit persons to whom the Software is
374-
furnished to do so, subject to the following conditions:
375-
376-
The above copyright notice and this permission notice shall be included in all
377-
copies or substantial portions of the Software.
378-
379-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
380-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
381-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
382-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
383-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
384-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
385-
SOFTWARE.
386-
318+
processes of any jurisdiction or authority.

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,14 @@ articles about it etc.
141141
Also, I really appreciate work of people that create crates on which Czkawka is based and for that I try to report bugs
142142
to make it even better.
143143

144+
## License
145+
146+
The entire code in this repository is licensed under the [MIT](https://mit-license.org/) license.
147+
148+
All images are licensed under the [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) license.
149+
150+
The GTK GUI and CLI applications are licensed under the [MIT](https://mit-license.org/) license, while the Slint(due) application is licensed under the [GPL-3.0-only](https://www.gnu.org/licenses/gpl-3.0.en.html) license.
151+
144152
## Donations
145153

146154
If you are using the app, I would appreciate a donation for its further development, which can be

0 commit comments

Comments
 (0)