1 |
pinkbyte 13/04/01 09:21:22 |
2 |
|
3 |
Modified: ChangeLog ted-2.22.ebuild |
4 |
Log: |
5 |
Fix QA issues in desktop file, wrt bug #461252. Thanks to Agostino Sarubbo for discovering this issue |
6 |
|
7 |
(Portage version: 2.2.0_alpha170/cvs/Linux x86_64, signed Manifest commit with key 0x1F357D42) |
8 |
|
9 |
Revision Changes Path |
10 |
1.57 app-editors/ted/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-editors/ted/ChangeLog?rev=1.57&view=markup |
13 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-editors/ted/ChangeLog?rev=1.57&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-editors/ted/ChangeLog?r1=1.56&r2=1.57 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/app-editors/ted/ChangeLog,v |
19 |
retrieving revision 1.56 |
20 |
retrieving revision 1.57 |
21 |
diff -u -r1.56 -r1.57 |
22 |
--- ChangeLog 1 Apr 2013 09:07:56 -0000 1.56 |
23 |
+++ ChangeLog 1 Apr 2013 09:21:22 -0000 1.57 |
24 |
@@ -1,6 +1,10 @@ |
25 |
# ChangeLog for app-editors/ted |
26 |
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/app-editors/ted/ChangeLog,v 1.56 2013/04/01 09:07:56 pinkbyte Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/app-editors/ted/ChangeLog,v 1.57 2013/04/01 09:21:22 pinkbyte Exp $ |
29 |
+ |
30 |
+ 01 Apr 2013; Sergey Popov <pinkbyte@g.o> ted-2.22.ebuild: |
31 |
+ Fix QA issues in desktop file, wrt bug #461252. Thanks to Agostino Sarubbo |
32 |
+ for discovering this issue |
33 |
|
34 |
01 Apr 2013; Sergey Popov <pinkbyte@g.o> ted-2.22.ebuild: |
35 |
Add missing dependency on x11-libs/libXft |
36 |
|
37 |
|
38 |
|
39 |
1.8 app-editors/ted/ted-2.22.ebuild |
40 |
|
41 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-editors/ted/ted-2.22.ebuild?rev=1.8&view=markup |
42 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-editors/ted/ted-2.22.ebuild?rev=1.8&content-type=text/plain |
43 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-editors/ted/ted-2.22.ebuild?r1=1.7&r2=1.8 |
44 |
|
45 |
Index: ted-2.22.ebuild |
46 |
=================================================================== |
47 |
RCS file: /var/cvsroot/gentoo-x86/app-editors/ted/ted-2.22.ebuild,v |
48 |
retrieving revision 1.7 |
49 |
retrieving revision 1.8 |
50 |
diff -u -r1.7 -r1.8 |
51 |
--- ted-2.22.ebuild 1 Apr 2013 09:07:56 -0000 1.7 |
52 |
+++ ted-2.22.ebuild 1 Apr 2013 09:21:22 -0000 1.8 |
53 |
@@ -1,6 +1,6 @@ |
54 |
# Copyright 1999-2013 Gentoo Foundation |
55 |
# Distributed under the terms of the GNU General Public License v2 |
56 |
-# $Header: /var/cvsroot/gentoo-x86/app-editors/ted/ted-2.22.ebuild,v 1.7 2013/04/01 09:07:56 pinkbyte Exp $ |
57 |
+# $Header: /var/cvsroot/gentoo-x86/app-editors/ted/ted-2.22.ebuild,v 1.8 2013/04/01 09:21:22 pinkbyte Exp $ |
58 |
|
59 |
EAPI=4 |
60 |
inherit eutils toolchain-funcs |
61 |
@@ -59,4 +59,13 @@ |
62 |
dodir /usr/share |
63 |
mv "${ED}"usr/Ted "${ED}"usr/share/Ted |
64 |
dosym /usr/share/Ted/rtf2pdf.sh /usr/bin/rtf2pdf.sh |
65 |
+ |
66 |
+ # bug #461252, desktop file is inaccessible during src_prepare, so fix it here |
67 |
+ sed -i \ |
68 |
+ -e '/^Encoding/d' \ |
69 |
+ -e '/^Categories/s/Application;//' \ |
70 |
+ -e 's/^Categories.*/\0;/' \ |
71 |
+ -e 's/^MimeType.*/\0;/' \ |
72 |
+ -e '/^Terminal/s/0/false/' \ |
73 |
+ "${D}/usr/share/applications/Ted.desktop" || die 'sed on Ted.desktop failed' |
74 |
} |