Bug 845256

Summary: feh is looking for images in wrong directory
Product: [Fedora] Fedora Reporter: Andriy <andriy.ushakov>
Component: fehAssignee: Ben Boeckel <fedora>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: unspecified    
Version: 17CC: fedora
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-11-15 02:39:25 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Andriy 2012-08-02 13:27:56 UTC
Opening menu and sub-menus generate multiple warnings:
feh WARNING: /usr/local/share/feh/images/menubg_default.png - File does not exist

The real path to such images is
/usr/share/feh/images/...

Changing in source feh-2.3/config.mk: 
PREFIX ?= /usr/local
to
PREFIX ?= /usr
is fixing this problem.

But I am not sure that it is a correct way.

Comment 1 Ben Boeckel 2012-11-05 02:35:45 UTC
PREFIX needs to be passed during the %build step as well (there's a -DPREFIX=$(PREFIX) added to CFLAGS and the install doesn't trigger a recompile when it adds it there). I'll try to get an update out soon.

Comment 2 Fedora Update System 2012-11-05 02:51:23 UTC
feh-2.3-3.fc17 has been submitted as an update for Fedora 17.
https://admin.fedoraproject.org/updates/feh-2.3-3.fc17

Comment 3 Fedora Update System 2012-11-05 02:51:34 UTC
feh-2.3-3.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/feh-2.3-3.fc18

Comment 4 Fedora Update System 2012-11-05 22:44:31 UTC
Package feh-2.3-3.fc18:
* should fix your issue,
* was pushed to the Fedora 18 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing feh-2.3-3.fc18'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-17628/feh-2.3-3.fc18
then log in and leave karma (feedback).

Comment 5 Fedora Update System 2012-11-15 02:39:27 UTC
feh-2.3-3.fc17 has been pushed to the Fedora 17 stable repository.  If problems still persist, please make note of it in this bug report.