From 327ed82a106705efcb7475e5259d5c502962ae6c Mon Sep 17 00:00:00 2001 From: Sergey Popov Date: Wed, 19 Jun 2013 06:38:58 +0000 Subject: Fix desktop file, wrt bug #463442. Thanks to Andreis Vinogradovs for discovering this issue (Portage version: 2.2.0_alpha180/cvs/Linux x86_64, signed Manifest commit with key 0x1F357D42) --- net-voip/yate/ChangeLog | 6 +++++- net-voip/yate/yate-4.3.0.1.ebuild | 12 ++++++++---- 2 files changed, 13 insertions(+), 5 deletions(-) (limited to 'net-voip') diff --git a/net-voip/yate/ChangeLog b/net-voip/yate/ChangeLog index 3ca10c98e8d3..5a6eada18145 100644 --- a/net-voip/yate/ChangeLog +++ b/net-voip/yate/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for net-voip/yate # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-voip/yate/ChangeLog,v 1.18 2013/06/18 15:55:32 chithanh Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-voip/yate/ChangeLog,v 1.19 2013/06/19 06:38:58 pinkbyte Exp $ + + 19 Jun 2013; Sergey Popov yate-4.3.0.1.ebuild: + Fix desktop file, wrt bug #463442. Thanks to Andreis Vinogradovs for + discovering this issue *yate-4.3.0.1 (18 Jun 2013) diff --git a/net-voip/yate/yate-4.3.0.1.ebuild b/net-voip/yate/yate-4.3.0.1.ebuild index 9f1c7668a984..cf16891dd90a 100644 --- a/net-voip/yate/yate-4.3.0.1.ebuild +++ b/net-voip/yate/yate-4.3.0.1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-voip/yate/yate-4.3.0.1.ebuild,v 1.1 2013/06/18 15:55:32 chithanh Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-voip/yate/yate-4.3.0.1.ebuild,v 1.2 2013/06/19 06:38:58 pinkbyte Exp $ EAPI=5 @@ -42,9 +42,13 @@ S=${WORKDIR}/${PN} # fix bug 199222 for this version src_prepare() { - # add Icon in yate-qt4 desktop file - sed -i -e '/^Exec=yate-qt4$/a Icon=null_team-32.png' \ - clients/yate-qt4.desktop || die "sed failed" + # fix desktop file, bug #463442 + sed -i \ + -e '/^Encoding/d' \ + -e '/Icon/s/.png//' \ + -e '/Categories/s/Application;//' \ + -e '/Categories/s/$/;/' \ + clients/yate-qt4.desktop || die "sed on clients/yate-qt4.desktop failed" epatch "${FILESDIR}"/${PN}-4.3.0-ilbc-alsa-oss.patch -- cgit v1.2.3-65-gdbad