Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 177013 - mail-client/claws-mail installs claws-mail-attach-files.desktop with incorrect path
Summary: mail-client/claws-mail installs claws-mail-attach-files.desktop with incorrec...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Marius Mauch (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-04 10:30 UTC by Neil Bothwick
Modified: 2007-05-10 11:59 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch for claws-mail-2.9.1.ebuild (claws-mail-2.9.1.patch,522 bytes, patch)
2007-05-04 10:31 UTC, Neil Bothwick
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Neil Bothwick 2007-05-04 10:30:31 UTC
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 Neil Bothwick 2007-05-04 10:31:58 UTC
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.
Comment 2 Andrej Kacian (RETIRED) gentoo-dev 2007-05-04 11:53:25 UTC
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 Neil Bothwick 2007-05-04 11:56:30 UTC
So the desktop file was correct but the script was installed in the wrong location?
Comment 4 Andrej Kacian (RETIRED) gentoo-dev 2007-05-04 12:01:30 UTC
(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 Andrej Kacian (RETIRED) gentoo-dev 2007-05-10 11:52:54 UTC
Closing as fixed, as it is, for all I know, fixed. :)
Comment 6 Neil Bothwick 2007-05-10 11:59:15 UTC
Works for me :)