| Summary: | app-editors/gvim-7.4.x improperly installs gvim.desktop (domenu should be newmenu) | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | dynamotwain |
| Component: | Current packages | Assignee: | Gentoo Linux bug wranglers <bug-wranglers> |
| Status: | RESOLVED INVALID | ||
| Severity: | normal | ||
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
Sync your portage tree. That appears to have been fixed on the 23rd of December. |
The 7.4.x gvim ebuilds attempt to install gvim.desktop with the command: `domenu "${FILESDIR}"/gvim.desktop-r2 gvim.desktop` Since 'domenu' accepts a list of files to install and not a destination filename, the above command is effectively translated into insinto /usr/share/applications doins "${FILESDIR}"/gvim.desktop-r2 doins "gvim.desktop" which installs the .deskop file with a 'desktop-r2' extension, causing it to be ignored by gnome-panel, alacarte, and probably other applications. For the menu item to actuall show up in XDG-aware applications, the menu entry must be installed with 'newmenu' for the file to be renamed as expected. - domenu "${FILESDIR}"/gvim.desktop-r2 gvim.desktop + newmenu "${FILESDIR}"/gvim.desktop-r2 gvim.desktop