Bug 177013 - mail-client/claws-mail installs claws-mail-attach-files.desktop with incorrect path
Bug#: 177013 Product:  Gentoo Linux Version: 2006.1 Platform: All
OS/Version: Linux Status: RESOLVED Severity: minor Priority: P2
Resolution: FIXED Assigned To: genone@gentoo.org Reported By: neil@digimed.co.uk
Component: Ebuilds
URL: 
Summary: mail-client/claws-mail installs claws-mail-attach-files.desktop with incorrect path
Keywords:  
Status Whiteboard: 
Opened: 2007-05-04 10:30 0000
Description:   Opened: 2007-05-04 10:30 0000
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/.

------- Comment #1 From Neil Bothwick 2007-05-04 10:31:58 0000 -------
Created an attachment (id=118123) [details]
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.

------- Comment #2 From Andrej Kacian (RETIRED) 2007-05-04 11:53:25 0000 -------
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.

------- Comment #3 From Neil Bothwick 2007-05-04 11:56:30 0000 -------
So the desktop file was correct but the script was installed in the wrong
location?

------- Comment #4 From Andrej Kacian (RETIRED) 2007-05-04 12:01:30 0000 -------
(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.

------- Comment #5 From Andrej Kacian (RETIRED) 2007-05-10 11:52:54 0000 -------
Closing as fixed, as it is, for all I know, fixed. :)

------- Comment #6 From Neil Bothwick 2007-05-10 11:59:15 0000 -------
Works for me :)