Package Details: czkawka-git 4.1.0.r16.g56fc29f-1

Git Clone URL: https://aur.archlinux.org/czkawka-git.git (read-only, click to copy)
Package Base: czkawka-git
Description: Multi functional app to find duplicates, empty folders etc.
Upstream URL: https://github.com/qarmin/czkawka
Keywords: czkawa czkawka fslint
Licenses: MIT
Conflicts: czkawka, czkawka-bin, czkawka-gui
Provides: czkawka
Submitter: sp1rit
Maintainer: sp1rit
Last Packager: sp1rit
Votes: 6
Popularity: 0.008800
First Submitted: 2020-10-02 20:57 (UTC)
Last Updated: 2022-06-05 21:23 (UTC)

Latest Comments

ilonachan commented on 2022-06-16 13:38 (UTC)

been having a slight trouble with rustup myself: if the default toolchain is stable the package doesn't build. I think it's unreasonable to ask the user to change their default toolchain; luckily adding +nightly to the cargo calls forces using that without impacting the user.

Is this worth looking into? I've already installed and switched to nightly, so I couldn't test this 100% yet, but explicitly specifying that nightly Rust is required can't hurt right?

sp1rit commented on 2022-06-05 21:23 (UTC)

@msnspk thanks for the heads up!

msnspk commented on 2022-05-29 23:25 (UTC)

The developer recently started porting this program to GTK 4, so the gtk4 package is now required to build this package, thanks.

jose1711 commented on 2022-04-13 07:46 (UTC)

this is because you haven't updated to a recent rust compiler version with rustup yet. pacman is unable to know that compiler version and won't update it for you automatically. Ideally you drop rustup from your system altogether, since it doesn't work nice with packages. If you do want to keep using it, and upstream built compiler binaries, you need to run rustup update (I think).

thank you, that worked (running rustup update as user). some AUR packages require rustup (no idea why) which is the reason why it gets pulled to my system from time to time. maybe you could consider something like this added to PKGBUILD (perhaps better than pinning the comment):

cargo build --release --bin czkawka_gui || {
  if pacman -Q rustup >/dev/null 2>&1
  then
    echo "Try updating rustup with rustup update and retry"
    exit 1
  fi
}

sp1rit commented on 2022-04-12 10:40 (UTC)

@jose1711:

does not build with rustup

this is because you haven't updated to a recent rust compiler version with rustup yet. pacman is unable to know that compiler version and won't update it for you automatically. Ideally you drop rustup from your system altogether, since it doesn't work nice with packages. If you do want to keep using it, and upstream built compiler binaries, you need to run rustup update (I think).

will fix the other issues :)

jose1711 commented on 2022-04-10 13:20 (UTC)

please also fix typo in keywords (czkawa)

jose1711 commented on 2022-04-10 12:34 (UTC) (edited on 2022-04-10 12:34 (UTC) by jose1711)

conflict with czkawka-gui and czkawka-cli should be added

jose1711 commented on 2022-04-10 12:33 (UTC)

does not build with rustup:

..
..
error: edition 2021 is unstable and only available with -Z unstable-options.

error: could not compile `gio`

works with rust though.

sp1rit commented on 2021-12-17 16:14 (UTC)

@gioan777, upstream changed the location of the desktop file recently.

Should be fixed now, thanks for bringing this to my attention.

gioan777 commented on 2021-12-13 00:21 (UTC) (edited on 2021-12-13 00:22 (UTC) by gioan777)

I get an error after the build during the package() function.

install: cannot stat 'pkgs/com.github.qarmin.czkawka.desktop': No such file or directory

sp1rit commented on 2021-01-21 09:23 (UTC)

@Jakeukalane @arglebargle

that's what I get for not testing stuff before pushing :)

should be fixed now

arglebargle commented on 2021-01-13 15:25 (UTC) (edited on 2021-01-13 16:00 (UTC) by arglebargle)

The most recent PKGBUILD needs a couple of edits to build and install, here's a patch: http://ix.io/2LUF

or

diff --git a/PKGBUILD b/PKGBUILD
index dde307b..eaeb225 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -30,7 +30,7 @@ depends=("gtk3>=3.22")
 makedepends=("git" "rust" "cargo")
 provides=("czkawka")
 source=("${_basename}::git+https://github.com/qarmin/czkawka.git")
-md5sums=("SKIP" "bbc480c6106a7bd7dc73c3cc49a76961")
+md5sums=("SKIP")

 pkgver() {
    cd "$srcdir/${_basename}"
@@ -57,5 +57,5 @@ package() {
    ln -s $pkgdir/usr/bin/${_basename}_gui $pkgdir/usr/bin/${_basename}

    install -Dm644 LICENSE $pkgdir/usr/share/licenses/${_basename}/LICENSE
-   install -Dm644 com.github.qarmin.czkawka.desktop -t $pkgdir/usr/share/applications/
+   install -Dm644 pkgs/com.github.qarmin.czkawka.desktop -t $pkgdir/usr/share/applications/
 }

@Jakeukalane see above

Jakeukalane commented on 2021-01-13 11:04 (UTC) (edited on 2021-01-13 11:05 (UTC) by Jakeukalane)

==> ERROR: Los controles de integridad (md5) difieren en tamaño de los especificados en la fuente («source»).

Aproximately: ==> ERROR: The controls of security (md5) differs about the specified in the source.

sp1rit commented on 2021-01-12 21:15 (UTC)

@gardotd426 @tom

fixed now

tom commented on 2020-12-30 16:26 (UTC)

works!

thanks

gardotd426 commented on 2020-12-24 12:14 (UTC)

Just remove the two czkawka_gui_orbtk lines from the PKGBUILD, they were removed upstream.

gardotd426 commented on 2020-12-24 12:09 (UTC)

Broken due to updates.


   Compiling czkawka_gui v2.0.0 (/home/matt/tmp/makepkg/czkawka-git/src/czkawka/czkawka_gui)
    Finished release [optimized] target(s) in 1m 35s
error: no bin target named `czkawka_gui_orbtk`
==> ERROR: A failure occurred in build().
    Aborting...
error making: czkawka-git

arglebargle commented on 2020-11-15 00:37 (UTC)

Thanks, much appreciated!

sp1rit commented on 2020-11-10 20:58 (UTC)

@arglebargle fixed

arglebargle commented on 2020-11-03 03:14 (UTC) (edited on 2020-11-06 22:28 (UTC) by arglebargle)

Can you switch to something like this for the pkgver() function?

pkgver() {
  cd "$srcdir/${_basename}"
  git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}

I just had yay rebuild the package repeatedly because the current package version doesn't sort in a reliable way.

git describe produces much nicer/more useful output:

[arglebargle@arch-g14]$ git describe --long --tags
1.3.0-0-g1fb66b3

vs current:

[~/work/packages/czkawka-git/src/czkawka] (master[]) 
[arglebargle@arch-g14]$ echo "${_releasever}.$(git rev-parse --short HEAD)"
1.0.0.1fb66b3

Note that 1.0.0.<short commit> can't be sorted in any sane way by tools.

sp1rit commented on 2020-10-03 16:45 (UTC)

@catlgin

fixed