<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>177013</bug_id>
          
          <creation_ts>2007-05-04 10:30 0000</creation_ts>
          <short_desc>mail-client/claws-mail installs claws-mail-attach-files.desktop with incorrect path</short_desc>
          <delta_ts>2007-05-10 11:59:15 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Ebuilds</component>
          <version>2006.1</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>minor</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>neil@digimed.co.uk</reporter>
          <assigned_to>genone@gentoo.org</assigned_to>
          <cc>ticho@gentoo.org</cc>

      

      
          <long_desc isprivate="0">
            <who>neil@digimed.co.uk</who>
            <bug_when>2007-05-04 10:30:31 0000</bug_when>
            <thetext>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/.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>neil@digimed.co.uk</who>
            <bug_when>2007-05-04 10:31:58 0000</bug_when>
            <thetext>Created an attachment (id=118123)
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.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>ticho@gentoo.org</who>
            <bug_when>2007-05-04 11:53:25 0000</bug_when>
            <thetext>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.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>neil@digimed.co.uk</who>
            <bug_when>2007-05-04 11:56:30 0000</bug_when>
            <thetext>So the desktop file was correct but the script was installed in the wrong location?
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>ticho@gentoo.org</who>
            <bug_when>2007-05-04 12:01:30 0000</bug_when>
            <thetext>(In reply to comment #3)
&gt; So the desktop file was correct but the script was installed in the wrong
&gt; location?
&gt; 

Yes, I mistakenly assumed doexe uses location set by insinto.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>ticho@gentoo.org</who>
            <bug_when>2007-05-10 11:52:54 0000</bug_when>
            <thetext>Closing as fixed, as it is, for all I know, fixed. :)</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>neil@digimed.co.uk</who>
            <bug_when>2007-05-10 11:59:15 0000</bug_when>
            <thetext>Works for me :)
</thetext>
          </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>118123</attachid>
            <date>2007-05-04 10:31 0000</date>
            <desc>Patch for claws-mail-2.9.1.ebuild</desc>
            <filename>claws-mail-2.9.1.patch</filename>
            <type>text/plain</type>
            <data encoding="base64">LS0tIGNsYXdzLW1haWwtMi45LjEuZWJ1aWxkLm9yaWcJMjAwNy0wNS0wMyAyMDowNTo0Ny4wMDAw
MDAwMDAgKzAxMDAKKysrIGNsYXdzLW1haWwtMi45LjEuZWJ1aWxkCTIwMDctMDUtMDQgMTE6MjM6
MjAuMDAwMDAwMDAwICswMTAwCkBAIC0xMTMsNyArMTEzLDcgQEAKIAkJbG9jYWwgc2VydmljZXNj
cmlwdD0iJHtQTn0ta2Rlc2VydmljZW1lbnUucGwiCiAJCWxvY2FsIGRlc2t0b3BmaWxlPSIke1BO
fS1hdHRhY2gtZmlsZXMuZGVza3RvcCIKIAkJY2QgJHtTfS90b29scy9rZGVzZXJ2aWNlbWVudQot
CQlzZWQgLWkgLWUgInM6U0NSSVBUX1BBVEg6JHtrZGVwcmVmaXh9L2Jpbi8ke3NlcnZpY2VzY3Jp
cHR9OmciIFwKKwkJc2VkIC1pIC1lICJzOlNDUklQVF9QQVRIOi91c3IvbGliL2NsYXdzLW1haWwv
dG9vbHMvJHtzZXJ2aWNlc2NyaXB0fTpnIiBcCiAJCQl0ZW1wbGF0ZV8ke2Rlc2t0b3BmaWxlfQog
CQlkb2RpciAvdXNyL3NoYXJlL2FwcHMva29ucXVlcm9yL3NlcnZpY2VtZW51cwogCQlpbnNvcHRz
IC1tIDA2NDQK
</data>        

          </attachment>
    </bug>

</bugzilla>