When the kde USE flag is enabled, the claws-mail ebuild installs claws-mail-attach-files.desktop with the path to the script as ${kdeprefix}/bin when the script itself is installed in /usr/lib/claws-mail/tools/.
Created attachment 118123 [details, diff] Patch for claws-mail-2.9.1.ebuild Patch for claws-mail-2.9.1.ebuild to install claws-mail-attach-files.desktop with working script path.
Sorry, that was my mistake. The fix is elsewhere, though: --- claws-mail-2.9.1.ebuild 4 May 2007 11:30:13 -0000 1.7 +++ claws-mail-2.9.1.ebuild 4 May 2007 11:51:16 -0000 @@ -121,7 +121,7 @@ newins template_${desktopfile} ${desktopfile} || die dodir ${kdeprefix}/bin insopts -m 755 - insinto ${kdeprefix}/bin + exeinto ${kdeprefix}/bin doexe ${servicescript} || die fi I am applying it to CVS.
So the desktop file was correct but the script was installed in the wrong location?
(In reply to comment #3) > So the desktop file was correct but the script was installed in the wrong > location? > Yes, I mistakenly assumed doexe uses location set by insinto.
Closing as fixed, as it is, for all I know, fixed. :)
Works for me :)