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

Bug 921579

Summary: media-gfx/fontforge-20230101 installs useless .desktop entry with USE="-X -gtk"
Product: Gentoo Linux Reporter: Esteve Varela Colominas <esteve.varela>
Component: Current packagesAssignee: Gentoo Fonts Team <fonts>
Status: UNCONFIRMED ---    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Esteve Varela Colominas 2024-01-07 17:03:20 UTC
When the GUI interface for fontforge is disabled, it installs a useless desktop file in /usr/share/applications/org.fontforge.FontForge.desktop

Running this file does nothing, as Terminal=false, and it doesn't support any graphical mode.

Currently I do the following in my configuration (/etc/portage/env/media-gfx/fontforge):

    INSTALL_MASK="
    /usr/share/applications
    /usr/share/fontforge
    /usr/share/icons
    /usr/share/metainfo
    /usr/share/mime
    /usr/share/pixmaps
    "

But I feel this should be handled in the ebuild.
Comment 1 Esteve Varela Colominas 2024-01-07 17:04:40 UTC
I should note that I've ran with this INSTALL_MASK for as long as I can remember (potentially since around 2020), and nothing has broken, as I'm pretty sure that the excluded directories are only used for the GUI.