Package Details: cropgui 0.6-1

Git Clone URL: https://aur.archlinux.org/cropgui.git (read-only, click to copy)
Package Base: cropgui
Description: a simple tool for lossless jpeg cropping
Upstream URL: https://github.com/jepler/cropgui
Licenses: GPL
Submitter: jose1711
Maintainer: jose1711
Last Packager: jose1711
Votes: 14
Popularity: 0.000022
First Submitted: 2010-05-15 21:14 (UTC)
Last Updated: 2021-12-20 08:03 (UTC)

Latest Comments

1 2 3 4 5 6 Next › Last »

tdehaeze commented on 2023-06-01 08:43 (UTC)

Hi Jose1711,

A very nice pull request has been merged. Would it be possible to update the package to take into account this merge request (https://github.com/jepler/cropgui/pull/104).

Thanks!

gabor_zoka commented on 2023-04-07 13:10 (UTC) (edited on 2023-04-07 13:14 (UTC) by gabor_zoka)

Hello jose1711,

Would you consider this patch, please? It would make the source more recognizable, and less chance for name collision.

Thank you,

Gabor

--- a/PKGBUILD
+++ b/PKGBUILD
@@ -8,7 +8,7 @@ pkgdesc="a simple tool for lossless jpeg cropping"
 license=('GPL')
 url="https://github.com/jepler/cropgui"
 depends=('libjpeg' 'python-pillow' 'imagemagick' 'python-gobject' 'gtk3' 'perl-image-exiftool')
-source=("https://github.com/jepler/cropgui/archive/v${pkgver}.tar.gz")
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/jepler/cropgui/archive/v${pkgver}.tar.gz")
 md5sums=('337ba42c302793620b68085f88a28498')

 package() {

sabitmaulanaa commented on 2022-12-16 07:58 (UTC) (edited on 2022-12-16 07:58 (UTC) by sabitmaulanaa)

This is the patch that @eniac refer to.

--- cropgtk_orig.py 2021-10-04 20:33:02.398149075 +0200
+++ cropgtk.py  2021-10-04 20:34:04.880647475 +0200
@@ -220,7 +220,7 @@
         return self.result

 display = gdk.Display().get_default()
-wa = display.get_primary_monitor().get_workarea()
+wa = display.get_monitor(0).get_workarea()
 max_h = wa.height - 192
 max_w = wa.width - 64

eniac commented on 2022-02-04 12:41 (UTC)

I was able to fix the AttributeError issue on Wayland by applying the patch at https://pythonissues.com/issues/2146027

eniac commented on 2021-12-21 18:08 (UTC) (edited on 2021-12-21 18:08 (UTC) by eniac)

Tried both cropgui-git and cropgui, I always get the following error, any idea?

Stepconf encountered an error
Traceback:
File "/usr/bin/cropgui", line 223, in <module>
wa = display.get_primary_monitor().get_workarea()
AttributeError: 'NoneType' object has no attribute 'get_workarea'

Rhinoceros commented on 2021-12-17 08:07 (UTC)

Thanks for opening the issue @jose1711

jose1711 commented on 2021-12-17 08:04 (UTC)

@Rhinoceros Yes, can confirm this. https://github.com/jepler/cropgui/issues/94

Rhinoceros commented on 2021-12-17 00:14 (UTC)

I rebuilt for python 3.10 and cropgui is failing to launch for me. Anyone else with this problem?

Rhinoceros commented on 2020-07-22 13:49 (UTC)

Works fine for me:

$ pacman -Ql cropgui
cropgui /usr/
cropgui /usr/bin/
cropgui /usr/bin/cropgui
cropgui /usr/lib/
cropgui /usr/lib/python3.8/
cropgui /usr/lib/python3.8/site-packages/
cropgui /usr/lib/python3.8/site-packages/cropgui.glade
cropgui /usr/lib/python3.8/site-packages/cropgui_common.py
cropgui /usr/lib/python3.8/site-packages/filechooser.py
cropgui /usr/lib/python3.8/site-packages/stock-rotate-270-16.png
cropgui /usr/lib/python3.8/site-packages/stock-rotate-90-16.png
cropgui /usr/share/
cropgui /usr/share/applications/
cropgui /usr/share/applications/cropgui.desktop
cropgui /usr/share/pixmaps/
cropgui /usr/share/pixmaps/cropgui.png

How are you installing it?

dreieck commented on 2020-07-22 13:46 (UTC)

Regarding this and this problems, I added the following at the end of the install()-function:

  install -d -m 755 "$pkgdir/usr/bin"
  install -d -m 755 "$pkgdir/usr/share"
  mv -v "$pkgdir/sbin"/* "$pkgdir/usr/bin/"
  mv -v "$pkgdir/share"/* "$pkgdir/usr/share/"
  rmdir -v "$pkgdir/sbin" "$pkgdir/share"