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

Bug 263142

Summary: media-fonts/font-* QA notice: USE flag 'nls' not in IUSE
Product: Gentoo Linux Reporter: Davide Pesavento <pesa>
Component: Current packagesAssignee: Gentoo X packagers <x11>
Status: RESOLVED FIXED    
Severity: QA CC: maekke
Priority: High Keywords: InVCS
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 271243    

Description Davide Pesavento (RETIRED) gentoo-dev 2009-03-20 16:21:40 UTC
The QA warning affects the following ebuilds:

media-fonts/font-adobe-utopia-type1-1.0.1
media-fonts/font-bh-ttf-1.0.0
media-fonts/font-bh-type1-1.0.0
media-fonts/font-bitstream-speedo-1.0.0
media-fonts/font-bitstream-type1-1.0.0
media-fonts/font-misc-ethiopic-1.0.0
media-fonts/font-misc-meltho-1.0.0
media-fonts/font-xfree86-type1-1.0.1
Comment 1 Rémi Cardona (RETIRED) gentoo-dev 2009-05-25 22:45:35 UTC
*** Bug 264866 has been marked as a duplicate of this bug. ***
Comment 2 Tomáš Chvátal (RETIRED) gentoo-dev 2009-08-22 14:32:32 UTC
we have this code in eclass:
    if [[ -n "${FONT}" ]]; then
        if [[ ${PN##*-} = misc ]] || [[ ${PN##*-} = 75dpi ]] || [[ ${PN##*-} = 100dpi ]] || [[ ${PN##*-} = cyrillic ]]; then
            IUSE="${IUSE} nls"
        fi
    fi
so i would go and remove the inner wrapper, because if package is font related the bellow case if use nls; is allways executed.

@remi: what do you think, i would just remove it, testing proves that i am right and it workie.

Other option is to add the same if wrap where if use nls; is done.
Comment 3 Tomáš Chvátal (RETIRED) gentoo-dev 2009-08-27 15:16:29 UTC
Fixed in main tree.
Enjoy :]