Arch Linux

Please read this before reporting a bug:

Do NOT report bugs when a package is just outdated, or it is in Unsupported. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!

FS#58610 - [feh] should have jpegexiforient

Attached to Project: Arch Linux
Opened by Oliver Mangold (omangold) - Tuesday, 15 May 2018, 23:46 GMT
Last edited by Gaetan Bisson (vesath) - Sunday, 20 May 2018, 09:35 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Gaetan Bisson (vesath)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No



The feh image viewer can rotate images using keyboard. When doing so on jpegs, it tries to update the exif tags stored in the file. For this purpose it tries to call a utility named jpegexiforient. I could not find any Arch package to provide it. Not sure, but upstream might be here:

For suse the solutions seems to have been to deliver the program with the feh package. See:

Additional info:

* package version(s)

feh 2.26.2-1

Steps to reproduce:

- open a jpeg file with feh
- use '<', '>' keys to rotate image
- feh will produce the warning below

feh WARNING: lossless rotate: Failed to exec jpegexiforient: No such file or directory
feh WARNING: lossless rotate: Failed to update EXIF orientation tag: jpegexiforient returned 1
This task depends upon

Closed by  Gaetan Bisson (vesath)
Sunday, 20 May 2018, 09:35 GMT
Reason for closing:  Implemented
Additional comments about closing:  jpegexiforient in [extra]
Comment by Gaetan Bisson (vesath) - Thursday, 17 May 2018, 18:53 GMT
That github project looks abandoned.

Debian maintains jpegexiforient themselves; they have a libjpeg version and a libjpeg-turbo version; see: However I'm not sure we'd like to do that ourselves. Perhaps I'll just add Debian's tarball as a source to our feh package just to build jpegexiforient.

I'll think about this some more but any suggestion for a clean packaging solution to this problem is welcome.