1 |
creffett 13/03/02 03:32:55 |
2 |
|
3 |
Added: xmind-3.3.1.201212250029.ebuild metadata.xml |
4 |
ChangeLog |
5 |
Log: |
6 |
New package wrt bugs 295242, 375249. Thanks to Mark Dumlao <madumlao@×××××.com>, Vitovt <vitovt@××××××××××.ua>, Heiu-mun Park <padangustasana@×××××.com>, Tarcisio Fedrizzi <tarcisio.fedrizzi@×××××.com> for work in making the ebuild. |
7 |
|
8 |
(Portage version: 2.2.0_alpha163/cvs/Linux x86_64, signed Manifest commit with key 42618354) |
9 |
|
10 |
Revision Changes Path |
11 |
1.1 app-misc/xmind/xmind-3.3.1.201212250029.ebuild |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/xmind/xmind-3.3.1.201212250029.ebuild?rev=1.1&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/xmind/xmind-3.3.1.201212250029.ebuild?rev=1.1&content-type=text/plain |
15 |
|
16 |
Index: xmind-3.3.1.201212250029.ebuild |
17 |
=================================================================== |
18 |
# Copyright 1999-2013 Gentoo Foundation |
19 |
# Distributed under the terms of the GNU General Public License v2 |
20 |
# $Header: /var/cvsroot/gentoo-x86/app-misc/xmind/xmind-3.3.1.201212250029.ebuild,v 1.1 2013/03/02 03:32:55 creffett Exp $ |
21 |
|
22 |
EAPI=5 |
23 |
|
24 |
inherit eutils multilib fdo-mime gnome2-utils |
25 |
|
26 |
MY_PN="${PN}-portable" |
27 |
MY_P="${MY_PN}-${PV}" |
28 |
|
29 |
DESCRIPTION="A brainstorming and mind mapping software tool." |
30 |
HOMEPAGE="http://www.xmind.net" |
31 |
SRC_URI="http://dl2.xmind.net/xmind-downloads/${MY_P}.zip" |
32 |
LICENSE="EPL-1.0 LGPL-3" |
33 |
SLOT="0" |
34 |
KEYWORDS="~amd64 ~x86" |
35 |
IUSE="" |
36 |
|
37 |
DEPEND=" |
38 |
>=virtual/jre-1.5 |
39 |
x11-libs/gtk+:2 |
40 |
" |
41 |
RDEPEND="${DEPEND}" |
42 |
|
43 |
S=${WORKDIR} |
44 |
|
45 |
QA_PRESTRIPPED="/usr/$(get_libdir)/xmind/XMind/libcairo-swt.so" |
46 |
|
47 |
src_configure() { |
48 |
if use amd64; then |
49 |
XDIR="XMind_Linux_64bit" |
50 |
else |
51 |
XDIR="XMind_Linux" |
52 |
fi |
53 |
mv -v "$XDIR" XMind |
54 |
mv -v XMind/.eclipseproduct XMind/configuration Commons |
55 |
|
56 |
# force data instance & config area to be at home/.xmind directory |
57 |
sed -i -e '/-configuration/d' XMind/XMind.ini || die |
58 |
sed -i -e '/\.\/configuration/d' XMind/XMind.ini || die |
59 |
sed -i -e '/-data/d' XMind/XMind.ini || die |
60 |
sed -i -e '/\.\.\/Commons\/data\/workspace-cathy/d' XMind/XMind.ini || die |
61 |
echo '-Dosgi.instance.area=@user.home/.xmind/workspace-cathy' >> XMind/XMind.ini || die |
62 |
echo '-Dosgi.configuration.area=@user.home/.xmind/configuration-cathy' >> XMind/XMind.ini || die |
63 |
} |
64 |
|
65 |
src_compile() { |
66 |
:; |
67 |
} |
68 |
|
69 |
src_install() { |
70 |
libdir="$(get_libdir)" |
71 |
dodir "/usr/${libdir}/xmind" |
72 |
insinto "/usr/${libdir}/xmind" |
73 |
doins -r Commons |
74 |
doins -r XMind |
75 |
|
76 |
exeinto "/usr/${libdir}/xmind/XMind" |
77 |
doexe XMind/XMind |
78 |
dosym "/usr/${libdir}/xmind/XMind/XMind" /usr/bin/xmind |
79 |
|
80 |
# insall icons |
81 |
local res |
82 |
for res in 16 32 48; do |
83 |
insinto /usr/share/icons/hicolor/${res}x${res}/apps |
84 |
newins "${FILESDIR}/xmind.${res}.png" xmind.png |
85 |
done |
86 |
|
87 |
# insall MIME type |
88 |
insinto /usr/share/mime/packages |
89 |
doins "${FILESDIR}/x-xmind.xml" |
90 |
|
91 |
# make desktop entry |
92 |
make_desktop_entry xmind XMind xmind Office "MimeType=application/x-xmind;" |
93 |
sed -i -e "/^Exec/s/$/ %F/" "${ED}"/usr/share/applications/*.desktop |
94 |
|
95 |
insinto /etc/gconf/schemas |
96 |
doins "${FILESDIR}/xmind.schemas" |
97 |
dobin "${FILESDIR}/xmind-thumbnailer" |
98 |
} |
99 |
|
100 |
pkg_preinst() { |
101 |
gnome2_icon_savelist |
102 |
} |
103 |
|
104 |
pkg_postinst() { |
105 |
fdo-mime_desktop_database_update |
106 |
fdo-mime_mime_database_update |
107 |
gnome2_icon_cache_update |
108 |
elog "For audio notes support, install media-sound/lame" |
109 |
} |
110 |
|
111 |
pkg_postrm() { |
112 |
gnome2_icon_cache_update |
113 |
} |
114 |
|
115 |
|
116 |
|
117 |
1.1 app-misc/xmind/metadata.xml |
118 |
|
119 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/xmind/metadata.xml?rev=1.1&view=markup |
120 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/xmind/metadata.xml?rev=1.1&content-type=text/plain |
121 |
|
122 |
Index: metadata.xml |
123 |
=================================================================== |
124 |
<?xml version="1.0" encoding="UTF-8"?> |
125 |
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
126 |
<pkgmetadata> |
127 |
<maintainer> |
128 |
<email>creffett@g.o</email> |
129 |
<name>Chris Reffett</name> |
130 |
</maintainer> |
131 |
</pkgmetadata> |
132 |
|
133 |
|
134 |
|
135 |
1.1 app-misc/xmind/ChangeLog |
136 |
|
137 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/xmind/ChangeLog?rev=1.1&view=markup |
138 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/xmind/ChangeLog?rev=1.1&content-type=text/plain |
139 |
|
140 |
Index: ChangeLog |
141 |
=================================================================== |
142 |
# ChangeLog for app-misc/xmind |
143 |
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
144 |
# $Header: /var/cvsroot/gentoo-x86/app-misc/xmind/ChangeLog,v 1.1 2013/03/02 03:32:55 creffett Exp $ |
145 |
|
146 |
*xmind-3.3.1.201212250029 (02 Mar 2013) |
147 |
|
148 |
02 Mar 2013; Chris Reffett <creffett@g.o> +files/x-xmind.xml, |
149 |
+files/xmind-thumbnailer, +files/xmind.16.png, +files/xmind.32.png, |
150 |
+files/xmind.48.png, +files/xmind.schemas, +metadata.xml, |
151 |
+xmind-3.3.1.201212250029.ebuild: |
152 |
New package wrt bugs 295242, 375249. Thanks to Mark Dumlao |
153 |
<madumlao@×××××.com>, Vitovt <vitovt@××××××××××.ua>, Heiu-mun Park |
154 |
<padangustasana@×××××.com>, Tarcisio Fedrizzi <tarcisio.fedrizzi@×××××.com> |
155 |
for work in making the ebuild. |