Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 803374 - =media-gfx/geeqie-1.6 inoperable rotate image plugin, wrong path in desktop files
Summary: =media-gfx/geeqie-1.6 inoperable rotate image plugin, wrong path in desktop f...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Bernard Cafarelli
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-07-22 11:34 UTC by Sergey S. Starikoff
Modified: 2021-08-22 08:13 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sergey S. Starikoff 2021-07-22 11:34:26 UTC
Some time ago I've needed to make some fixes in image list.
And find image rotate plugin in geeqie inoperable.

$ cat /usr/share/geeqie/applications/rotate.desktop 
[Desktop Entry]
Version=1.0
Type=Application
Name=Apply the orientation to image content
Name[ru]=Применить изменение ориентации непосредственно к изображению.

# call the helper script
Exec=geeqie-rotate -g %f

# Desktop files that are usable only in Geeqie should be marked like this:
Categories=X-Geeqie;
OnlyShowIn=X-Geeqie;

# Show in menu "Edit/Orientation"
X-Geeqie-Menu-Path=EditMenu/OrientationMenu

# It can be made verbose
# X-Geeqie-Verbose=true

MimeType=image/jpeg;image/png;image/tiff;

But $ qlist media-gfx/geeqie | grep bin
contains only:
/usr/bin/geeqie

Although geeqie-rotate binary is built and installed:
$ qlist media-gfx/geeqie | grep geeqie-rotate
/usr/lib/geeqie/geeqie-rotate

P.S. Probably, other tools, referenced in desktop files (for example image-crop.desktop (/usr/share/geeqie/applications/image-crop.desktop:Exec=geeqie-image-crop %f)) are also broken.
Comment 1 Bernard Cafarelli gentoo-dev 2021-07-28 20:43:44 UTC
To confirm, which part is not working, the rotation, or "Apply the orientation to image content"?

If indeed the later, I checked and paths are correct: to test with another plugin, you can test "Random image" in plugins menu

One possible issue is that "Apply the orientation to image content" plugin needs exiv2, exiftran and imagemagick - this is mentioned in ebuild elog as these were pure runtime dependencies for one specific plugin.
This can be seen if you add "-x" to the sh first line in /usr/lib/geeqie/geeqie-rotate to log the script actions.

If that is indeed the problem, I may finally change the elog messages for RDEPEND, long time ago for gqview it was not worth rebuilding for such a dep, but these days rebuild is really fast.
Comment 2 Sergey S. Starikoff 2021-07-29 11:39:44 UTC
Excuse me.
It was my miss.
Following postinstall message and emerge media-gfx/fbida fixed this issue.
I've historically expected imagemagick will be enough, but it is not…
Comment 3 Bernard Cafarelli gentoo-dev 2021-08-22 08:13:51 UTC
No problem! I am pretty sure this plugin could be reworked without fbida (imagemagick by itself can probably do it), but until someone takes a look, it will drag in some added deps