Gentoo Archives: gentoo-commits

From: Justin Lecher <jlec@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-misc/xmind/
Date: Fri, 25 Sep 2015 08:11:11
Message-Id: 1443168572.d2e84cfb1ab1b95a512c6d489f9e9d70253ae416.jlec@gentoo
1 commit: d2e84cfb1ab1b95a512c6d489f9e9d70253ae416
2 Author: Justin Lecher <jlec <AT> gentoo <DOT> org>
3 AuthorDate: Fri Sep 25 08:09:32 2015 +0000
4 Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
5 CommitDate: Fri Sep 25 08:09:32 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d2e84cfb
7
8 app-misc/xmind: QA fixes
9
10 Fix leading whitespaces
11 Unnecessary die
12 Unecessary dodir
13
14 Package-Manager: portage-2.2.21
15 Signed-off-by: Justin Lecher <jlec <AT> gentoo.org>
16
17 app-misc/xmind/xmind-3.4.1.201401221918.ebuild | 13 +++++++------
18 app-misc/xmind/xmind-3.5.1.201411201906.ebuild | 11 ++++++-----
19 app-misc/xmind/xmind-3.5.3.201506180105.ebuild | 11 ++++++-----
20 3 files changed, 19 insertions(+), 16 deletions(-)
21
22 diff --git a/app-misc/xmind/xmind-3.4.1.201401221918.ebuild b/app-misc/xmind/xmind-3.4.1.201401221918.ebuild
23 index 252f66d..7fd5234 100644
24 --- a/app-misc/xmind/xmind-3.4.1.201401221918.ebuild
25 +++ b/app-misc/xmind/xmind-3.4.1.201401221918.ebuild
26 @@ -1,4 +1,4 @@
27 -# Copyright 1999-2014 Gentoo Foundation
28 +# Copyright 1999-2015 Gentoo Foundation
29 # Distributed under the terms of the GNU General Public License v2
30 # $Id$
31
32 @@ -43,11 +43,13 @@ src_configure() {
33 mv XMind/.eclipseproduct Commons || die
34 cp "${FILESDIR}"/${PN}-3.4.0-config.ini Commons/configuration || die #Combined common+linux config.ini
35 # force data instance & config area to be at home/.xmind directory
36 - sed -i -e '/-configuration/d' \
37 + sed \
38 + -e '/-configuration/d' \
39 -e '/\.\/configuration/d' \
40 -e '/-data/d' \
41 - -e '/\.\.\/Commons\/data\/workspace-cathy/d' \
42 - -e 's/\.\.\/Commons/\/opt\/xmind\/Commons/g' XMind/XMind.ini || die
43 + -e '/\.\.\/Commons\/data\/workspace-cathy/d' \
44 + -e 's/\.\.\/Commons/\/opt\/xmind\/Commons/g' \
45 + -i XMind/XMind.ini || die
46 echo '-Dosgi.instance.area=@user.home/.xmind/workspace-cathy' >> XMind/XMind.ini || die
47 echo '-Dosgi.configuration.area=@user.home/.xmind/configuration-cathy' >> XMind/XMind.ini || die
48 }
49 @@ -58,10 +60,9 @@ src_compile() {
50
51 src_install() {
52 insinto /opt/xmind
53 - doins -r Commons XMind || die
54 + doins -r Commons XMind
55 fperms a+rx "/opt/xmind/XMind/XMind"
56
57 - dodir /opt/bin
58 exeinto /opt/bin
59 newexe "${FILESDIR}/xmind-wrapper" xmind
60
61
62 diff --git a/app-misc/xmind/xmind-3.5.1.201411201906.ebuild b/app-misc/xmind/xmind-3.5.1.201411201906.ebuild
63 index 4a1c82e..0dcc285 100644
64 --- a/app-misc/xmind/xmind-3.5.1.201411201906.ebuild
65 +++ b/app-misc/xmind/xmind-3.5.1.201411201906.ebuild
66 @@ -43,11 +43,13 @@ src_configure() {
67 mv XMind/.eclipseproduct Commons || die
68 cp "${FILESDIR}"/${PN}-3.4.0-config.ini Commons/configuration || die #Combined common+linux config.ini
69 # force data instance & config area to be at home/.xmind directory
70 - sed -i -e '/-configuration/d' \
71 + sed \
72 + -e '/-configuration/d' \
73 -e '/\.\/configuration/d' \
74 -e '/-data/d' \
75 - -e '/\.\.\/Commons\/data\/workspace-cathy/d' \
76 - -e 's/\.\.\/Commons/\/opt\/xmind\/Commons/g' XMind/XMind.ini || die
77 + -e '/\.\.\/Commons\/data\/workspace-cathy/d' \
78 + -e 's/\.\.\/Commons/\/opt\/xmind\/Commons/g' \
79 + -i XMind/XMind.ini || die
80 echo '-Dosgi.instance.area=@user.home/.xmind/workspace-cathy' >> XMind/XMind.ini || die
81 echo '-Dosgi.configuration.area=@user.home/.xmind/configuration-cathy' >> XMind/XMind.ini || die
82 }
83 @@ -58,10 +60,9 @@ src_compile() {
84
85 src_install() {
86 insinto /opt/xmind
87 - doins -r Commons XMind || die
88 + doins -r Commons XMind
89 fperms a+rx "/opt/xmind/XMind/XMind"
90
91 - dodir /opt/bin
92 exeinto /opt/bin
93 newexe "${FILESDIR}/xmind-wrapper" xmind
94
95
96 diff --git a/app-misc/xmind/xmind-3.5.3.201506180105.ebuild b/app-misc/xmind/xmind-3.5.3.201506180105.ebuild
97 index 4a1c82e..0dcc285 100644
98 --- a/app-misc/xmind/xmind-3.5.3.201506180105.ebuild
99 +++ b/app-misc/xmind/xmind-3.5.3.201506180105.ebuild
100 @@ -43,11 +43,13 @@ src_configure() {
101 mv XMind/.eclipseproduct Commons || die
102 cp "${FILESDIR}"/${PN}-3.4.0-config.ini Commons/configuration || die #Combined common+linux config.ini
103 # force data instance & config area to be at home/.xmind directory
104 - sed -i -e '/-configuration/d' \
105 + sed \
106 + -e '/-configuration/d' \
107 -e '/\.\/configuration/d' \
108 -e '/-data/d' \
109 - -e '/\.\.\/Commons\/data\/workspace-cathy/d' \
110 - -e 's/\.\.\/Commons/\/opt\/xmind\/Commons/g' XMind/XMind.ini || die
111 + -e '/\.\.\/Commons\/data\/workspace-cathy/d' \
112 + -e 's/\.\.\/Commons/\/opt\/xmind\/Commons/g' \
113 + -i XMind/XMind.ini || die
114 echo '-Dosgi.instance.area=@user.home/.xmind/workspace-cathy' >> XMind/XMind.ini || die
115 echo '-Dosgi.configuration.area=@user.home/.xmind/configuration-cathy' >> XMind/XMind.ini || die
116 }
117 @@ -58,10 +60,9 @@ src_compile() {
118
119 src_install() {
120 insinto /opt/xmind
121 - doins -r Commons XMind || die
122 + doins -r Commons XMind
123 fperms a+rx "/opt/xmind/XMind/XMind"
124
125 - dodir /opt/bin
126 exeinto /opt/bin
127 newexe "${FILESDIR}/xmind-wrapper" xmind