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

Bug 426658

Summary: media-sound/phasex-0.12.0_beta3 installs desktop and icon files in wrong places
Product: Gentoo Linux Reporter: Dominique Michel <dominique.c.michel>
Component: New packagesAssignee: Professional Audio Applications Maintainers <proaudio>
Status: RESOLVED WONTFIX    
Severity: normal CC: karl.j.linden
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Dominique Michel 2012-07-14 23:56:35 UTC
The desktop and the icon file are installed as /usr/share/phasex/phasex.desktop and /usr/share/phasex/pixmaps/phasex-icon.png. They should be installed as /usr/share/applications/phasex.desktop and /usr/share/phasex/icons/phasex-icon.png.

To add the following section into the ebuild fix this issue:

pkg_preinst() {
	mkdir -p ${D}/usr/share/applications
	mv ${D}/usr/share/phasex/phasex.desktop ${D}/usr/share/applications/phasex.desktop
	mkdir -p ${D}/usr/share/icons
	mv ${D}/usr/share/phasex/pixmaps/phasex-icon.png ${D}/usr/share/icons/phasex-icon.png
}
Comment 1 Pacho Ramos gentoo-dev 2016-02-20 18:06:06 UTC
removed