diff options
author | Markos Chandras <hwoarang@gentoo.org> | 2012-11-03 11:41:27 +0000 |
---|---|---|
committer | Markos Chandras <hwoarang@gentoo.org> | 2012-11-03 11:41:27 +0000 |
commit | e77997726ed45b152ae92b935a6dbb5df969e919 (patch) | |
tree | 8b2373150439ca3cc44fdde2f4113579fd6fe0af /net-im | |
parent | Improve initscript wrt bug #426956. Thanks to Jens Ott for patch (diff) | |
download | gentoo-2-e77997726ed45b152ae92b935a6dbb5df969e919.tar.gz gentoo-2-e77997726ed45b152ae92b935a6dbb5df969e919.tar.bz2 gentoo-2-e77997726ed45b152ae92b935a6dbb5df969e919.zip |
Fix Name entry in desktop file. Symlink executable from site-packages to /usr/bin
(Portage version: 2.1.11.30/cvs/Linux x86_64, signed Manifest commit with key B4AFF2C2)
Diffstat (limited to 'net-im')
-rw-r--r-- | net-im/emesene/ChangeLog | 6 | ||||
-rw-r--r-- | net-im/emesene/emesene-9999.ebuild | 14 |
2 files changed, 18 insertions, 2 deletions
diff --git a/net-im/emesene/ChangeLog b/net-im/emesene/ChangeLog index 118a1d14cdb9..68d9b62c2ae5 100644 --- a/net-im/emesene/ChangeLog +++ b/net-im/emesene/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for net-im/emesene # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-im/emesene/ChangeLog,v 1.34 2012/11/02 22:31:50 hwoarang Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-im/emesene/ChangeLog,v 1.35 2012/11/03 11:41:27 hwoarang Exp $ + + 03 Nov 2012; Markos Chandras <hwoarang@gentoo.org> emesene-9999.ebuild: + Fix Name entry in desktop file. Symlink executable from site-packages to + /usr/bin 02 Nov 2012; Markos Chandras <hwoarang@gentoo.org> emesene-9999.ebuild: emesene:0 is history so there is no need to rename all the bits in emesene:2 diff --git a/net-im/emesene/emesene-9999.ebuild b/net-im/emesene/emesene-9999.ebuild index 23939e939b77..562712b1d2b1 100644 --- a/net-im/emesene/emesene-9999.ebuild +++ b/net-im/emesene/emesene-9999.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-im/emesene/emesene-9999.ebuild,v 1.6 2012/11/02 22:31:50 hwoarang Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-im/emesene/emesene-9999.ebuild,v 1.7 2012/11/03 11:41:27 hwoarang Exp $ EAPI="3" PYTHON_DEPEND="2" @@ -29,9 +29,21 @@ RDEPEND="dev-python/pygtk:2 src_prepare() { # do not import dummy session sed -i -e "/import e3dummy/d" ${PN}/${PN}.py || die + # Use a better meny entry + sed -i -e "/^Name/s:${PN}:Emesene:" \ + ${PN}/data/share/applications/${PN}.desktop || die + python_convert_shebangs -r 2 . distutils_src_prepare } +src_install() { + mysymlink(){ + dosym $(python_get_sitedir)/${PN}/${PN} /usr/bin/${PN} || die + } + distutils_src_install + python_execute_function -q mysymlink +} + pkg_postinst() { elog elog "${PN} is on early stages of development." |