Package Details: cropgui 0.3-3

Git Clone URL: https://aur.archlinux.org/cropgui.git (read-only)
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: 11
Popularity: 0.002102
First Submitted: 2010-05-15 21:14
Last Updated: 2019-12-09 17:08

Latest Comments

1 2 3 Next › Last »

jose1711 commented on 2019-12-09 17:06

@jackoneill then i believe it'd best if that dependency is there. fixed. thank you for reporting this

jackoneill commented on 2019-11-30 15:23

It fails to crop some images because exiftool isn't installed. The project's README.md says:

"exiftool to clear the EXIF rotation flag from jpeg output images (debian package: libimage-exiftool-perl)"

The corresponding Arch package is perl-image-exiftool. Once I installed that package, it successfully cropped the images that were making it fail before.

Here is the console output from the fails:

Exception in thread Thread-3: Traceback (most recent call last): File "/usr/lib/python2.7/threading.py", line 801, in bootstrap_inner self.run() File "/usr/lib/python2.7/threading.py", line 754, in run self.__target(*self.__args, self.__kwargs) File "/usr/lib/python2.7/site-packages/cropgui_common.py", line 87, in runner subprocess.call(["exiftool", "-overwrite_original", "-Orientation=1", "-n", target]) File "/usr/lib/python2.7/subprocess.py", line 172, in call return Popen(*popenargs, kwargs).wait() File "/usr/lib/python2.7/subprocess.py", line 394, in __init errread, errwrite) File "/usr/lib/python2.7/subprocess.py", line 1047, in _execute_child raise child_exception OSError: [Errno 2] No such file or directory

jose1711 commented on 2019-03-20 20:16

@dreieck

please show me the output of: makepkg; find pkg

dreieck commented on 2019-03-20 17:01

Packaging error:

cropgui: /sbin exists in filesystem (owned by filesystem)

Install to /usr/bin instead and do nothing at all about /sbin (it is a symlink to /usr/bin on a proper Arch Linux system).

alx741 commented on 2018-12-02 15:08

@jose1711 that was it! removed `/bin` from the front of my `PATH` and it worked. Thanks a lot!

jose1711 commented on 2018-12-02 10:37

actually, quite the opposite. this is how it looks on my system:

➜  / which python2
/usr/bin/python2

PATH env variable on your system likely has /usr/bin preceded by /bin. this does not make sense though as /bin is only a symbolic link to /usr/bin. i suggest you check and fix your PATH in /etc/profile, ~/.bashrc or the-like. this should fix package building as well.

alx741 commented on 2018-12-02 02:00

@jose1711 well, seems it's nothing unexpected:

$ which python2
/bin/python2

jose1711 commented on 2018-11-30 20:39

i checked the install.sh script and it looks a bit strange. when -p PREFIX is used, the value of PREFIX is not really used. i wonder what's the output of which python2 on your system

alx741 commented on 2018-11-30 13:44

@jose1711 here it is:

$ find pkg; ls -ld /bin /usr/bin
pkg
pkg/cropgui
pkg/cropgui/.MTREE
pkg/cropgui/.BUILDINFO
pkg/cropgui/bin
pkg/cropgui/bin/cropgui
pkg/cropgui/usr
pkg/cropgui/usr/lib
pkg/cropgui/usr/lib/python2.7
pkg/cropgui/usr/lib/python2.7/site-packages
pkg/cropgui/usr/lib/python2.7/site-packages/cropgui_common.py
pkg/cropgui/usr/lib/python2.7/site-packages/filechooser.py
pkg/cropgui/usr/lib/python2.7/site-packages/cropgui.glade
pkg/cropgui/usr/lib/python2.7/site-packages/stock-rotate-270-16.png
pkg/cropgui/usr/lib/python2.7/site-packages/stock-rotate-90-16.png
pkg/cropgui/share
pkg/cropgui/share/pixmaps
pkg/cropgui/share/pixmaps/cropgui.png
pkg/cropgui/share/applications
pkg/cropgui/share/applications/cropgui.desktop
pkg/cropgui/.PKGINFO
lrwxrwxrwx 1 root root     7 Aug 21 09:21 /bin -> usr/bin
drwxr-xr-x 5 root root 90112 Nov 29 21:50 /usr/bin

jose1711 commented on 2018-11-27 20:21

@alx741

weird error message. please follow these steps in terminal (as a regular user):

git clone https://aur.archlinux.org/cropgui.git/
cd cropgui
makepkg
find pkg; ls -ld /bin /usr/bin
# post the output of find and ls command to this thread