summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrej Kacian <ticho@gentoo.org>2006-12-26 20:00:09 +0000
committerAndrej Kacian <ticho@gentoo.org>2006-12-26 20:00:09 +0000
commita926427be870ddd17ee7222433cb3a79bad4914d (patch)
treefec1399709038c92c7de7402d80dcc928f921792 /mail-client/claws-mail
parentFixed bug #155754. Corrected dependencies. (diff)
downloadgentoo-2-a926427be870ddd17ee7222433cb3a79bad4914d.tar.gz
gentoo-2-a926427be870ddd17ee7222433cb3a79bad4914d.tar.bz2
gentoo-2-a926427be870ddd17ee7222433cb3a79bad4914d.zip
Fix installing KDE service menu script. Closes bug #159076, reported by Jeroen Roovers <jer at gentoo.org>.
(Portage version: 2.1.2_rc4-r1)
Diffstat (limited to 'mail-client/claws-mail')
-rw-r--r--mail-client/claws-mail/ChangeLog6
-rw-r--r--mail-client/claws-mail/claws-mail-2.6.1.ebuild17
2 files changed, 16 insertions, 7 deletions
diff --git a/mail-client/claws-mail/ChangeLog b/mail-client/claws-mail/ChangeLog
index 838ade9fe2eb..6f47bc1a58a1 100644
--- a/mail-client/claws-mail/ChangeLog
+++ b/mail-client/claws-mail/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for mail-client/claws-mail
# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/mail-client/claws-mail/ChangeLog,v 1.3 2006/12/22 18:48:28 swegener Exp $
+# $Header: /var/cvsroot/gentoo-x86/mail-client/claws-mail/ChangeLog,v 1.4 2006/12/26 20:00:09 ticho Exp $
+
+ 26 Dec 2006; Andrej Kacian <ticho@gentoo.org> claws-mail-2.6.1.ebuild:
+ Fix installing KDE service menu script. Closes bug #159076, reported by
+ Jeroen Roovers <jer at gentoo.org>.
19 Dec 2006; Andrej Kacian <ticho@gentoo.org> files/plugins-rebuild.sh:
Remove old plugins before merging new to prevent collision-protect issues.
diff --git a/mail-client/claws-mail/claws-mail-2.6.1.ebuild b/mail-client/claws-mail/claws-mail-2.6.1.ebuild
index 1a916010fe0a..cb7ba2c9c992 100644
--- a/mail-client/claws-mail/claws-mail-2.6.1.ebuild
+++ b/mail-client/claws-mail/claws-mail-2.6.1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/mail-client/claws-mail/claws-mail-2.6.1.ebuild,v 1.1 2006/12/08 11:07:55 genone Exp $
+# $Header: /var/cvsroot/gentoo-x86/mail-client/claws-mail/claws-mail-2.6.1.ebuild,v 1.2 2006/12/26 20:00:09 ticho Exp $
IUSE="gnome dillo crypt spell ssl ldap ipv6 pda clamav xface kde imap spamassassin doc startup-notification bogofilter"
@@ -108,12 +108,17 @@ src_install() {
if use kde; then
einfo "Installing kde service scripts"
local kdeprefix="$(kde-config --prefix)"
- local servicescript="claws-mail-kdeservicemenu.pl"
+ local servicescript="${PN}-kdeservicemenu.pl"
+ local desktopfile="${PN}-attach-files.desktop"
cd ${S}/tools/kdeservicemenu
- for f in claws-mail-attach-files.desktop; do
- sed -e "s:SCRIPT_PATH:${kdeprefix}/bin/${servicescript}:g" template_$f > $f
- install -m 0644 $f ${D}/${kdeprefix}/share/apps/konqueror/servicemenus/$f || die
- done
+ sed -i -e "s:SCRIPT_PATH:${kdeprefix}/bin/${servicescript}:g" \
+ template_${desktopfile}
+ dodir /usr/share/apps/konqueror/servicemenus
+ insopts -m 0644
+ insinto /usr/share/apps/konqueror/servicemenus
+ newins template_${desktopfile} ${desktopfile} || die
+ dodir ${kdeprefix}/bin
+ insopts -m 755
insinto ${kdeprefix}/bin
doexe ${servicescript} || die
fi