Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 298314

Summary: =media-gfx/ufraw-0.16[-gtk,+gimp] improve eerror message
Product: Gentoo Linux Reporter: Dmitry Ivankov <divanorama>
Component: New packagesAssignee: Gentoo Graphics Project <graphics+disabled>
Status: RESOLVED FIXED    
Severity: trivial    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Dmitry Ivankov 2009-12-25 14:18:56 UTC
There are following lines:
    if use gimp && ! use gtk; then
        eerror "to enable gimp support, you must enable gtk support"
        die "emerge ${PN} with gtk support"
    fi
eerror should be something like
        eerror "to enable gimp support, add +gtk useflag too"
Don't remember how exactly does the emerge report that one needs to add some useflags.


Reproducible: Always

Steps to Reproduce:
1. Set useflags +gimp,-gtk for ufraw
2. emerge =media-gfx/ufraw-0.16
3. read the error message.

Actual Results:  
Message isn't too clear, I did't see if it is a bug in ufraw itself or in my useflags from the first look.

Expected Results:  
Should go and add +gtk to my useflags immediately.
Comment 1 Markus Meier gentoo-dev 2009-12-27 11:51:35 UTC
I changed the eerror message to "to enable gimp support, you must also enable gtk support for ufraw" - hopefully this is clearer now. thanks