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

Bug 469066

Summary: dev-util/glade-3.14.2 - version numbers should not be visible in xdg launcher icons
Product: Gentoo Linux Reporter: n1ghtmare
Component: [OLD] GNOMEAssignee: Gentoo Linux Gnome Desktop Team <gnome>
Status: RESOLVED INVALID    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description n1ghtmare 2013-05-08 13:36:17 UTC
version numbers shouldnt be visible in xdg launcher icons like in dev-util/glade-3.14.2
Comment 1 Pacho Ramos gentoo-dev 2013-05-08 18:25:19 UTC
It's intentional to avoid confusion with other slots:
src_install() {
        # modify Name in .desktop file to avoid confusion with other slots
        sed -e 's:^\(Name.*=Glade\):\1 '$(get_version_component_range 1-2): \
                -i data/glade.desktop || die "sed of data/glade.desktop failed"
        # modify name in .devhelp2 file to avoid shadowing with glade:3 docs
        sed -e 's:name="gladeui":name="gladeui-2":' \
                -i doc/html/gladeui.devhelp2 || die "sed of gladeui.devhelp2 failed"
        gnome2_src_install
}