From: | "Chris Reffett (creffett)" <creffett@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in app-misc/xmind: xmind-3.4.1.201401221918.ebuild ChangeLog |
Date: | Mon, 27 Jan 2014 23:42:11 |
Message-Id: | 20140127234207.E83432004C@flycatcher.gentoo.org |
1 | creffett 14/01/27 23:42:07 |
2 | |
3 | Modified: ChangeLog |
4 | Added: xmind-3.4.1.201401221918.ebuild |
5 | Log: |
6 | Version bump |
7 | |
8 | (Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 42618354) |
9 | |
10 | Revision Changes Path |
11 | 1.9 app-misc/xmind/ChangeLog |
12 | |
13 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/xmind/ChangeLog?rev=1.9&view=markup |
14 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/xmind/ChangeLog?rev=1.9&content-type=text/plain |
15 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/xmind/ChangeLog?r1=1.8&r2=1.9 |
16 | |
17 | Index: ChangeLog |
18 | =================================================================== |
19 | RCS file: /var/cvsroot/gentoo-x86/app-misc/xmind/ChangeLog,v |
20 | retrieving revision 1.8 |
21 | retrieving revision 1.9 |
22 | diff -u -r1.8 -r1.9 |
23 | --- ChangeLog 9 Dec 2013 05:37:12 -0000 1.8 |
24 | +++ ChangeLog 27 Jan 2014 23:42:07 -0000 1.9 |
25 | @@ -1,6 +1,12 @@ |
26 | # ChangeLog for app-misc/xmind |
27 | -# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
28 | -# $Header: /var/cvsroot/gentoo-x86/app-misc/xmind/ChangeLog,v 1.8 2013/12/09 05:37:12 creffett Exp $ |
29 | +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
30 | +# $Header: /var/cvsroot/gentoo-x86/app-misc/xmind/ChangeLog,v 1.9 2014/01/27 23:42:07 creffett Exp $ |
31 | + |
32 | +*xmind-3.4.1.201401221918 (27 Jan 2014) |
33 | + |
34 | + 27 Jan 2014; Chris Reffett <creffett@g.o> |
35 | + +xmind-3.4.1.201401221918.ebuild: |
36 | + Version bump |
37 | |
38 | *xmind-3.4.0.201311050558-r1 (09 Dec 2013) |
39 | |
40 | |
41 | |
42 | |
43 | 1.1 app-misc/xmind/xmind-3.4.1.201401221918.ebuild |
44 | |
45 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/xmind/xmind-3.4.1.201401221918.ebuild?rev=1.1&view=markup |
46 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/xmind/xmind-3.4.1.201401221918.ebuild?rev=1.1&content-type=text/plain |
47 | |
48 | Index: xmind-3.4.1.201401221918.ebuild |
49 | =================================================================== |
50 | # Copyright 1999-2014 Gentoo Foundation |
51 | # Distributed under the terms of the GNU General Public License v2 |
52 | # $Header: /var/cvsroot/gentoo-x86/app-misc/xmind/xmind-3.4.1.201401221918.ebuild,v 1.1 2014/01/27 23:42:07 creffett Exp $ |
53 | |
54 | EAPI=5 |
55 | |
56 | inherit eutils multilib gnome2-utils |
57 | |
58 | MY_PN="${PN}-portable" |
59 | MY_P="${MY_PN}-${PV}" |
60 | |
61 | DESCRIPTION="A brainstorming and mind mapping software tool" |
62 | HOMEPAGE="http://www.xmind.net" |
63 | SRC_URI="http://dl2.xmind.net/xmind-downloads/${MY_P}.zip |
64 | http://dev.gentoo.org/~creffett/distfiles/xmind-icons.tar.xz" |
65 | LICENSE="EPL-1.0 LGPL-3" |
66 | SLOT="0" |
67 | KEYWORDS="~amd64 ~x86" |
68 | IUSE="" |
69 | |
70 | RDEPEND=" |
71 | >=virtual/jre-1.5 |
72 | x11-libs/gtk+:2 |
73 | " |
74 | |
75 | S=${WORKDIR} |
76 | |
77 | QA_PRESTRIPPED="opt/xmind/XMind/libcairo-swt.so" |
78 | QA_FLAGS_IGNORED=" |
79 | opt/xmind/Commons/plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.200.v20120522-1813/eclipse_1502.so |
80 | opt/xmind/Commons/plugins/org.eclipse.equinox.launcher.gtk.linux.x86_1.1.200.v20120522-1813/eclipse_1502.so |
81 | opt/xmind/XMind/libcairo-swt.so |
82 | opt/xmind/XMind/XMind |
83 | " |
84 | |
85 | src_configure() { |
86 | if use amd64; then |
87 | XDIR="XMind_Linux_64bit" |
88 | else |
89 | XDIR="XMind_Linux" |
90 | fi |
91 | mv "$XDIR" XMind || die |
92 | mv XMind/.eclipseproduct Commons || die |
93 | cp "${FILESDIR}"/${PN}-3.4.0-config.ini Commons/configuration || die #Combined common+linux config.ini |
94 | # force data instance & config area to be at home/.xmind directory |
95 | sed -i -e '/-configuration/d' \ |
96 | -e '/\.\/configuration/d' \ |
97 | -e '/-data/d' \ |
98 | -e '/\.\.\/Commons\/data\/workspace-cathy/d' \ |
99 | -e 's/\.\.\/Commons/\/opt\/xmind\/Commons/g' XMind/XMind.ini || die |
100 | echo '-Dosgi.instance.area=@user.home/.xmind/workspace-cathy' >> XMind/XMind.ini || die |
101 | echo '-Dosgi.configuration.area=@user.home/.xmind/configuration-cathy' >> XMind/XMind.ini || die |
102 | } |
103 | |
104 | src_compile() { |
105 | : |
106 | } |
107 | |
108 | src_install() { |
109 | insinto /opt/xmind |
110 | doins -r Commons XMind || die |
111 | fperms a+rx "/opt/xmind/XMind/XMind" |
112 | |
113 | dodir /opt/bin |
114 | exeinto /opt/bin |
115 | newexe "${FILESDIR}/xmind-wrapper" xmind |
116 | |
117 | # install icons |
118 | local res |
119 | for res in 16 32 48; do |
120 | newicon -s ${res} "${WORKDIR}/xmind-icons/xmind.${res}.png" xmind.png |
121 | done |
122 | |
123 | # make desktop entry |
124 | make_desktop_entry "xmind %F" XMind xmind Office "MimeType=application/x-xmind;" |
125 | } |
126 | |
127 | pkg_preinst() { |
128 | gnome2_icon_savelist |
129 | } |
130 | |
131 | pkg_postinst() { |
132 | gnome2_icon_cache_update |
133 | elog "For audio notes support, install media-sound/lame" |
134 | } |
135 | |
136 | pkg_postrm() { |
137 | gnome2_icon_cache_update |
138 | } |