Gentoo Archives: gentoo-commits

From: Chris Reffett <creffett@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-misc/xmind/
Date: Sun, 28 May 2017 19:06:21
Message-Id: 1495998273.d6041b49fca0e709775171c19eb7c50572ae49b1.creffett@gentoo
1 commit: d6041b49fca0e709775171c19eb7c50572ae49b1
2 Author: Chris Reffett <creffett <AT> gentoo <DOT> org>
3 AuthorDate: Sun May 28 19:02:20 2017 +0000
4 Commit: Chris Reffett <creffett <AT> gentoo <DOT> org>
5 CommitDate: Sun May 28 19:04:33 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d6041b49
7
8 Version bump
9
10 app-misc/xmind/Manifest | 1 +
11 app-misc/xmind/xmind-3.7.2.ebuild | 92 +++++++++++++++++++++++++++++++++++++++
12 2 files changed, 93 insertions(+)
13
14 diff --git a/app-misc/xmind/Manifest b/app-misc/xmind/Manifest
15 index 84020317792..28e007035b7 100644
16 --- a/app-misc/xmind/Manifest
17 +++ b/app-misc/xmind/Manifest
18 @@ -1,6 +1,7 @@
19 DIST xmind-7-update1-portable.zip 263875799 SHA256 2823c93178e55ff21d3a75ff2a9d2aa694f50a94a7220207a1ad757660cdf030 SHA512 c60cda54af5aefefde480627e7191ebdaf32df27e2873ac738ee7814ad0acda7066ef1ff62ffdc16148d190438d60991ca036fe0903cda44edbab91e2237b4bb WHIRLPOOL 4f177c52faef598143eb479b5cd9f7a55ddd7c82e7610852f01074227f6d8a29cf00c4ddd3d3d35d30ae6e859670791734594cf2c1f6d2ab2ec406207b612350
20 DIST xmind-8-linux.zip 142262044 SHA256 3b57e41953672379e3b7ab7a2fe1c577164be36f025895c792d76ca63b5d0439 SHA512 8f7f386eac1341e4e8e5cb86a701596e0cc2efcf0a20f6cc53af2fc5dd6b9859dfaf54ab104316c60a52a1083fa55fa8ab0c58498151d29cd463012c9474b5e7 WHIRLPOOL 825757d60a9c82cd964c642ac73320ceb33e460580cecd1899a0c7158c611f394b7f2b262461b2c5ea523970560c700e43c274adb8ddc856d40d69ef241dee16
21 DIST xmind-8-update1-linux.zip 142395100 SHA256 59dc865856d8b560ebc5a9d220a26e6694cb004b67cd1e7c76e177637f432e35 SHA512 725268287dfa9dc9a5d9fd429277eecd43ef2e09158b3bb8ef51e06355620741b2aa709c227debd0069f4401623b7274082f6b81b3ace153289ef7ffac25fca4 WHIRLPOOL 2b23a85c56d44ac3d4fa8480e6995386a2595f8947932a0e8179238f78c088c1b7af9b8ffc532121175ad7c0ab02fdecaae9008c53d99e1a5724225d0c689df5
22 +DIST xmind-8-update2-linux.zip 120800791 SHA256 e4b1a4f6b98b4d8801f09b12def790bbc4516d8ea1cc4463df7f0cc9485bfe23 SHA512 e658714a5944e8de62577302c22763e9c55d1f82ce6cbda187ec39801ac7cbd5c34de6e4d7d9735546bcef26795c21c194ff026cebf39b2c9af2663cec98ce58 WHIRLPOOL 0749a7611d06479e1fe2bba338d2437cc3731989eb07fb87ac1d36067f1ce315ad738adee867faa67394b387a3ee6aa25d1d35015f37b4b955ea877b2419aad9
23 DIST xmind-icons.tar.xz 5024 SHA256 6a5e087c5c66aa6f36b7822268b486922157e3b75a091b6fbdeec905607b8aa5 SHA512 3ee6b8e42b75305bec8f97f733575f10ca3d08e1c5a76a10700776cb7740ae6f8a0f3dfbc4112d60ab2499915ca4ea0e3d56fd49e55bec00fccdc8710d9f9f0d WHIRLPOOL 590571a8b950ff6200d92417ab7eede2a8856263bc07c00fb129d751d9a00ae9bab69d916aab2f04d8270eadb0466723e99570032eacabd7350afd3cca4b8f23
24 DIST xmind-portable-3.4.1.201401221918.zip 138440913 SHA256 f70b8317ec0fe512e507bc26cc7fed70348af3c1d8c17603a78359175fc01261 SHA512 06d6473b26a0eef97d6651d14c13d7fd28fda19b33b2aea4f924d2e0f0d3131f19d5b64e081ba0d537c44eb09e27a83596aca91156bd32c5377903fbb7da9804 WHIRLPOOL 2601e8f293ef97d12576a461bb3b7a8e68bf6a4f807f780b9e6b7a12c20030bc979f61cf1f76f6deb617c57aa2c16e8d35621e66c5df825f8800ca38304d8ee0
25 DIST xmind-portable-3.5.1.201411201906.zip 160601004 SHA256 920321dc254604d51d4b3b4718ba04271de0e47b63a836fc597467c4062a89e4 SHA512 24da7bf3bfbc0beddbf6f4bb4b9d465e28c652b6e80ba9e0bc2a52cc2ff8c175a83ea8cc0d5b3dc87961c5b6666b6294ca836e29795631db41455ef1b8b2b3f0 WHIRLPOOL 9dab13d6578fe7e817cfa43ce171e33ae5f6d0f939f307b8cf15d651a70800763776bf9ed318a7116716dc7aa20793455a771d46f38ca13780dc9272024f73fe
26
27 diff --git a/app-misc/xmind/xmind-3.7.2.ebuild b/app-misc/xmind/xmind-3.7.2.ebuild
28 new file mode 100644
29 index 00000000000..e8a9a4ed312
30 --- /dev/null
31 +++ b/app-misc/xmind/xmind-3.7.2.ebuild
32 @@ -0,0 +1,92 @@
33 +# Copyright 1999-2017 Gentoo Foundation
34 +# Distributed under the terms of the GNU General Public License v2
35 +
36 +EAPI=6
37 +
38 +inherit eutils multilib gnome2-utils font
39 +
40 +MY_PV="8-update2"
41 +MY_P="${PN}-${MY_PV}-linux"
42 +
43 +DESCRIPTION="A brainstorming and mind mapping software tool"
44 +HOMEPAGE="http://www.xmind.net"
45 +SRC_URI="http://dl2.xmind.net/xmind-downloads/${MY_P}.zip
46 + https://dev.gentoo.org/~creffett/distfiles/xmind-icons.tar.xz"
47 +LICENSE="EPL-1.0 LGPL-3"
48 +SLOT="0"
49 +KEYWORDS="~amd64 ~x86"
50 +IUSE=""
51 +
52 +RDEPEND="
53 + >=virtual/jre-1.8
54 + x11-libs/gtk+:2
55 +"
56 +
57 +S=${WORKDIR}
58 +
59 +QA_PRESTRIPPED="opt/xmind/XMind/libcairo-swt.so"
60 +QA_FLAGS_IGNORED="
61 + opt/xmind/plugins/org.eclipse.equinox.launcher.gtk.linux.x86_1.1.400.v20160518-1444/eclipse_1617.so
62 + opt/xmind/plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.400.v20160518-1444/eclipse_1617.so
63 + opt/xmind/XMind/XMind
64 +"
65 +
66 +FONT_SUFFIX="ttf"
67 +FONT_S="${S}/fonts"
68 +
69 +src_configure() {
70 + if use amd64; then
71 + XDIR="XMind_amd64"
72 + else
73 + XDIR="XMind_i388"
74 + fi
75 + mv "$XDIR" XMind || die
76 + # force data instance & config area to be at home/.xmind directory
77 + sed \
78 + -e '/-configuration/d' \
79 + -e '/\.\/configuration/d' \
80 + -e '/-data/d' \
81 + -e '/\.\.\/Commons\/data\/workspace-cathy/d' \
82 + -e 's/\.\.\/plugins/\/opt\/xmind\/plugins/g' \
83 + -e '/-vmargs/i-showsplash' \
84 + -e '/vmargs/iorg.xmind.cathy' \
85 + -i XMind/XMind.ini || die
86 + echo '-Dosgi.instance.area=@user.home/.xmind/workspace-cathy' >> XMind/XMind.ini || die
87 + echo '-Dosgi.configuration.area=@user.home/.xmind/configuration-cathy' >> XMind/XMind.ini || die
88 +}
89 +
90 +src_compile() {
91 + :
92 +}
93 +
94 +src_install() {
95 + insinto /opt/xmind
96 + doins -r plugins configuration features XMind
97 + fperms a+rx "/opt/xmind/XMind/XMind"
98 +
99 + exeinto /opt/bin
100 + newexe "${FILESDIR}/xmind-wrapper-3.7.0" xmind
101 +
102 + # install icons
103 + local res
104 + for res in 16 32 48; do
105 + newicon -s ${res} "${WORKDIR}/xmind-icons/xmind.${res}.png" xmind.png
106 + done
107 +
108 + make_desktop_entry ${PN} "XMind" ${PN} "Office" "MimeType=application/x-xmind;"
109 + font_src_install
110 +}
111 +
112 +pkg_preinst() {
113 + gnome2_icon_savelist
114 +}
115 +
116 +pkg_postinst() {
117 + gnome2_icon_cache_update
118 + font_pkg_postinst
119 + elog "For audio notes support, install media-sound/lame"
120 +}
121 +
122 +pkg_postrm() {
123 + gnome2_icon_cache_update
124 +}