diff options
author | 2013-04-01 09:21:22 +0000 | |
---|---|---|
committer | 2013-04-01 09:21:22 +0000 | |
commit | c47303ecf7b6dc3f4618a13752696e55175bbfb2 (patch) | |
tree | 23a6fed4607fb95d12321cea352fe5a53e260c53 /app-editors | |
parent | Support wrapping headers for multilib. (diff) | |
download | gentoo-2-c47303ecf7b6dc3f4618a13752696e55175bbfb2.tar.gz gentoo-2-c47303ecf7b6dc3f4618a13752696e55175bbfb2.tar.bz2 gentoo-2-c47303ecf7b6dc3f4618a13752696e55175bbfb2.zip |
Fix QA issues in desktop file, wrt bug #461252. Thanks to Agostino Sarubbo for discovering this issue
(Portage version: 2.2.0_alpha170/cvs/Linux x86_64, signed Manifest commit with key 0x1F357D42)
Diffstat (limited to 'app-editors')
-rw-r--r-- | app-editors/ted/ChangeLog | 6 | ||||
-rw-r--r-- | app-editors/ted/ted-2.22.ebuild | 11 |
2 files changed, 15 insertions, 2 deletions
diff --git a/app-editors/ted/ChangeLog b/app-editors/ted/ChangeLog index bb4dde560eb0..e23b228f1f2b 100644 --- a/app-editors/ted/ChangeLog +++ b/app-editors/ted/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for app-editors/ted # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-editors/ted/ChangeLog,v 1.56 2013/04/01 09:07:56 pinkbyte Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-editors/ted/ChangeLog,v 1.57 2013/04/01 09:21:22 pinkbyte Exp $ + + 01 Apr 2013; Sergey Popov <pinkbyte@gentoo.org> ted-2.22.ebuild: + Fix QA issues in desktop file, wrt bug #461252. Thanks to Agostino Sarubbo + for discovering this issue 01 Apr 2013; Sergey Popov <pinkbyte@gentoo.org> ted-2.22.ebuild: Add missing dependency on x11-libs/libXft diff --git a/app-editors/ted/ted-2.22.ebuild b/app-editors/ted/ted-2.22.ebuild index 0121f747b742..41b01281d060 100644 --- a/app-editors/ted/ted-2.22.ebuild +++ b/app-editors/ted/ted-2.22.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/app-editors/ted/ted-2.22.ebuild,v 1.7 2013/04/01 09:07:56 pinkbyte Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-editors/ted/ted-2.22.ebuild,v 1.8 2013/04/01 09:21:22 pinkbyte Exp $ EAPI=4 inherit eutils toolchain-funcs @@ -59,4 +59,13 @@ src_install() { dodir /usr/share mv "${ED}"usr/Ted "${ED}"usr/share/Ted dosym /usr/share/Ted/rtf2pdf.sh /usr/bin/rtf2pdf.sh + + # bug #461252, desktop file is inaccessible during src_prepare, so fix it here + sed -i \ + -e '/^Encoding/d' \ + -e '/^Categories/s/Application;//' \ + -e 's/^Categories.*/\0;/' \ + -e 's/^MimeType.*/\0;/' \ + -e '/^Terminal/s/0/false/' \ + "${D}/usr/share/applications/Ted.desktop" || die 'sed on Ted.desktop failed' } |