Package Details: cropgui 0.9-3

Git Clone URL: https://aur.archlinux.org/cropgui.git (read-only, click to copy)
Package Base: cropgui
Description: A GTK GUI for lossless JPEG cropping
Upstream URL: https://codeberg.org/jepler/cropgui
Licenses: GPL-2.0-or-later
Submitter: jose1711
Maintainer: Rhinoceros
Last Packager: Rhinoceros
Votes: 17
Popularity: 0.43
First Submitted: 2010-05-15 21:14 (UTC)
Last Updated: 2026-08-14 14:35 (UTC)

Latest Comments

1 2 3 4 5 6 7 Next › Last »

Rhinoceros commented on 2026-08-14 14:35 (UTC)

I've adopted and updated the PKGBUILD, inspired by the work from @mags and @Auerhuhn from the comments. I replaced the broken install.sh as per @mags's suggestion, but didn't mess around too much otherwise. I may have made mistakes so let me know.

eniac commented on 2026-07-05 14:32 (UTC)

Since there are no updates I manually patched the pkgbuild and it works, just replace the url with the current one https://codeberg.org/jepler/cropgui and libjpeg with libjpeg-turbo

Rhinoceros commented on 2026-07-02 02:36 (UTC)

This depends on libjpeg, which used to be provided by libjpeg-turbo, but is no longer the case with libjpeg-turbo 3.2.0-2. Could this depend on libjpeg-turbo 3.2.0-2 instead?

Also there are a bunch of outstanding issues from over a year ago. Please disown if you have no interest in maintaining the package.

Auerhuhn commented on 2025-10-29 08:56 (UTC) (edited on 2025-10-30 06:56 (UTC) by Auerhuhn)

@PainSan67 Would you mind fixing this as @mags has suggested in their comment?

The package is completely unusable as is.

Update: I adopted and overhauled cropgui-git. Feel free to reuse it for this PKGBUILD if you want.

mags commented on 2024-12-23 00:09 (UTC) (edited on 2024-12-23 01:13 (UTC) by mags)

This package is completely broken as is.

Not only does upstream not follow python packaging standards, but the install.sh is a mess that doesn't install anything in right place.

This PKGBUILD will work as a workaround for the time being: https://gist.github.com/arcmags/d3d2bc65e42a76b3c0398ee8c3ce763e

...but, I would not personally recommend installing this as a system-wide package until it is properly packaged upstream.

slomomojo commented on 2024-07-25 02:51 (UTC) (edited on 2024-07-25 02:51 (UTC) by slomomojo)

The current PKGBUILD gives a 'dist tool' error since that package no longer exists in Python 3.12. The package also installs files in '/' and generates the "No module named 'cropgui_common" error.

As mentioned by mags, I think you need to add:

makedepends=('python-setuptools')

That worked for me.

mags commented on 2024-05-04 01:20 (UTC) (edited on 2024-05-04 02:26 (UTC) by mags)

pkgrel should be bumped to rebuild against python 3.12 (like python packages in the official repos do). Also, python-setuptools is now a make dependency as distutils was removed from python 3.12.

kovdan01 commented on 2023-11-30 16:16 (UTC) (edited on 2023-11-30 16:18 (UTC) by kovdan01)

Hello @jose1711 and thanks for maintaining the package! Currently, there is an issue described in the commit message below. The patch below resolves that. Could you please apply the commit? Thanks!

From 977bd569accc3edff6bb9acc08a4483336a3b5a6 Mon Sep 17 00:00:00 2001
From: Daniil Kovalev <daniil@kovalev.website>
Date: Thu, 30 Nov 2023 19:18:21 +0300
Subject: [PATCH] Fix packaging when `which python` is `/sbin`

On many systems, `/sbin` is a symbolic link to `/usr/bin`. When passing
`-p /usr` before `-P /usr/bin/python`, we set `BINDIR` env variable to
`/sbin` and then do not override it with `/usr/bin`. So, the package
archive contains `/sbin/cropgui` instead of `/usr/bin/cropgui`. It results in
the following issues during package installation:

  error: failed to commit transaction (conflicting files)
  cropgui: /sbin exists in filesystem (owned by filesystem)

Changing `-p` and `-P` options order resolves the issue.
---
 PKGBUILD | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/PKGBUILD b/PKGBUILD
index b4235ad..4c6597e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,6 +2,7 @@
 # Contributor: eniac
 # Contributor: sabitmaulanaa
 # Contributor: tdehaeze
+# Contributor: Daniil Kovalev

 pkgname=cropgui
 arch=('any')
@@ -17,5 +18,5 @@ md5sums=('af229e7a38afbbb0a560ed9492bf978f')

 package() {
   cd $srcdir/$pkgname-$pkgver
-  ./install.sh -f gtk -t $pkgdir -p /usr -P /usr/bin/python
+  ./install.sh -f gtk -t $pkgdir -P /usr/bin/python -p /usr
 }
--
2.43.0

oriba commented on 2023-07-11 12:07 (UTC)

@jose1711: thank you for the package-update. It works well! :-)

jose1711 commented on 2023-06-28 21:11 (UTC)

thank you all for your suggestions, please see the updated PKGBUILD and feel free to review & comment.