Created attachment 837067 [details] emerge --info Hello, there is a problem with the ebuild of app-emulation/crossover-bin regarding creation of menuitem. After installation it creates link under /usr/share/applications, but inside it creates wrong Exec command. It adds // at the begining, e.g. Exec=//opt/cxoffice/bin/crossover %u But this is problematic. If you have licensed crossover, this double slash prevents crossover to find correct directory with the license and the crossover always nags about trial has ended. After editing to this: Exec=/opt/cxoffice/bin/crossover %u It works. I see some seds inside ebuild, but well I am not skilled enough to look into it and say this is the problem. Only on first sight it might be this one on line 195, but I am not sure how to repair it since I am not familiar with ${ED} variable. sed -i -e "s:${ED}:/:" \ "${ED}/usr/share/applications/"*"CrossOver.desktop" \ || die "Could not fix paths of *.desktop files" Can you please repair it? Thanks, Regards, Petr Sourek
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9e122c4d24b8ec3c15365fd65ef436b4f4eecf08 commit 9e122c4d24b8ec3c15365fd65ef436b4f4eecf08 Author: Pacho Ramos <pacho@gentoo.org> AuthorDate: 2022-12-04 10:04:49 +0000 Commit: Pacho Ramos <pacho@gentoo.org> CommitDate: 2022-12-04 14:49:08 +0000 app-emulation/crossover-bin: add 22.0.1 And fix sedding with ED handling in latest EAPIs Closes: https://bugs.gentoo.org/883141 Thanks-to: Petr Šourek Signed-off-by: Pacho Ramos <pacho@gentoo.org> app-emulation/crossover-bin/Manifest | 1 + .../crossover-bin/crossover-bin-22.0.1.ebuild | 219 +++++++++++++++++++++ 2 files changed, 220 insertions(+)
I had uninstalled 22.0.0, checked if it removed the shortcut. Emerged app-emulation/crossover-bin in version 22.0.1 and the shortcut is correct. Thanks for quick solution. Regards, Petr Sourek