summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Reffett <creffett@gentoo.org>2016-11-15 20:57:38 -0500
committerChris Reffett <creffett@gentoo.org>2016-11-15 20:58:18 -0500
commita361f05c0d4c7c11f046c99c4f3f91bd7c76cd1d (patch)
treec3166c2440f2afe3959211455802841ed2e7947a /app-misc
parentapp-portage/mirrorselect: Fix homepage link bug 597676 (diff)
downloadgentoo-a361f05c0d4c7c11f046c99c4f3f91bd7c76cd1d.tar.gz
gentoo-a361f05c0d4c7c11f046c99c4f3f91bd7c76cd1d.tar.bz2
gentoo-a361f05c0d4c7c11f046c99c4f3f91bd7c76cd1d.zip
app-misc/xmind: Version bump
Package-Manager: portage-2.3.2
Diffstat (limited to 'app-misc')
-rw-r--r--app-misc/xmind/Manifest1
-rw-r--r--app-misc/xmind/files/xmind-wrapper-3.7.08
-rw-r--r--app-misc/xmind/xmind-3.7.0.ebuild93
3 files changed, 102 insertions, 0 deletions
diff --git a/app-misc/xmind/Manifest b/app-misc/xmind/Manifest
index ad0fb1e0c895..3d45ddda342d 100644
--- a/app-misc/xmind/Manifest
+++ b/app-misc/xmind/Manifest
@@ -1,4 +1,5 @@
DIST xmind-7-update1-portable.zip 263875799 SHA256 2823c93178e55ff21d3a75ff2a9d2aa694f50a94a7220207a1ad757660cdf030 SHA512 c60cda54af5aefefde480627e7191ebdaf32df27e2873ac738ee7814ad0acda7066ef1ff62ffdc16148d190438d60991ca036fe0903cda44edbab91e2237b4bb WHIRLPOOL 4f177c52faef598143eb479b5cd9f7a55ddd7c82e7610852f01074227f6d8a29cf00c4ddd3d3d35d30ae6e859670791734594cf2c1f6d2ab2ec406207b612350
+DIST xmind-8-linux.zip 142262044 SHA256 3b57e41953672379e3b7ab7a2fe1c577164be36f025895c792d76ca63b5d0439 SHA512 8f7f386eac1341e4e8e5cb86a701596e0cc2efcf0a20f6cc53af2fc5dd6b9859dfaf54ab104316c60a52a1083fa55fa8ab0c58498151d29cd463012c9474b5e7 WHIRLPOOL 825757d60a9c82cd964c642ac73320ceb33e460580cecd1899a0c7158c611f394b7f2b262461b2c5ea523970560c700e43c274adb8ddc856d40d69ef241dee16
DIST xmind-icons.tar.xz 5024 SHA256 6a5e087c5c66aa6f36b7822268b486922157e3b75a091b6fbdeec905607b8aa5 SHA512 3ee6b8e42b75305bec8f97f733575f10ca3d08e1c5a76a10700776cb7740ae6f8a0f3dfbc4112d60ab2499915ca4ea0e3d56fd49e55bec00fccdc8710d9f9f0d WHIRLPOOL 590571a8b950ff6200d92417ab7eede2a8856263bc07c00fb129d751d9a00ae9bab69d916aab2f04d8270eadb0466723e99570032eacabd7350afd3cca4b8f23
DIST xmind-portable-3.4.1.201401221918.zip 138440913 SHA256 f70b8317ec0fe512e507bc26cc7fed70348af3c1d8c17603a78359175fc01261 SHA512 06d6473b26a0eef97d6651d14c13d7fd28fda19b33b2aea4f924d2e0f0d3131f19d5b64e081ba0d537c44eb09e27a83596aca91156bd32c5377903fbb7da9804 WHIRLPOOL 2601e8f293ef97d12576a461bb3b7a8e68bf6a4f807f780b9e6b7a12c20030bc979f61cf1f76f6deb617c57aa2c16e8d35621e66c5df825f8800ca38304d8ee0
DIST xmind-portable-3.5.1.201411201906.zip 160601004 SHA256 920321dc254604d51d4b3b4718ba04271de0e47b63a836fc597467c4062a89e4 SHA512 24da7bf3bfbc0beddbf6f4bb4b9d465e28c652b6e80ba9e0bc2a52cc2ff8c175a83ea8cc0d5b3dc87961c5b6666b6294ca836e29795631db41455ef1b8b2b3f0 WHIRLPOOL 9dab13d6578fe7e817cfa43ce171e33ae5f6d0f939f307b8cf15d651a70800763776bf9ed318a7116716dc7aa20793455a771d46f38ca13780dc9272024f73fe
diff --git a/app-misc/xmind/files/xmind-wrapper-3.7.0 b/app-misc/xmind/files/xmind-wrapper-3.7.0
new file mode 100644
index 000000000000..41636ffd4c2b
--- /dev/null
+++ b/app-misc/xmind/files/xmind-wrapper-3.7.0
@@ -0,0 +1,8 @@
+#!/bin/bash
+#XMind wrapper script, copies configuration stuff into the user's local config dir if either
+#the files aren't there or are older than the set in /opt (indicating that XMind has been upgraded)
+if [ ! -f ~/.xmind/configuration-cathy/config.ini -o ~/.xmind/configuration-cathy/config.ini -ot /opt/xmind/XMind/configuration/config.ini ]; then
+ mkdir -p ~/.xmind/configuration-cathy
+ cp -r /opt/xmind/XMind/configuration/* ~/.xmind/configuration-cathy/
+fi
+SWT_GTK3=0 /opt/xmind/XMind/XMind "$@"
diff --git a/app-misc/xmind/xmind-3.7.0.ebuild b/app-misc/xmind/xmind-3.7.0.ebuild
new file mode 100644
index 000000000000..967460f8d8e3
--- /dev/null
+++ b/app-misc/xmind/xmind-3.7.0.ebuild
@@ -0,0 +1,93 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit eutils multilib gnome2-utils font
+
+MY_PV="8"
+MY_P="${PN}-${MY_PV}-linux"
+
+DESCRIPTION="A brainstorming and mind mapping software tool"
+HOMEPAGE="http://www.xmind.net"
+SRC_URI="http://dl2.xmind.net/xmind-downloads/${MY_P}.zip
+ https://dev.gentoo.org/~creffett/distfiles/xmind-icons.tar.xz"
+LICENSE="EPL-1.0 LGPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="
+ >=virtual/jre-1.8
+ x11-libs/gtk+:2
+"
+
+S=${WORKDIR}
+
+QA_PRESTRIPPED="opt/xmind/XMind/libcairo-swt.so"
+QA_FLAGS_IGNORED="
+ opt/xmind/plugins/org.eclipse.equinox.launcher.gtk.linux.x86_1.1.400.v20160518-1444/eclipse_1617.so
+ opt/xmind/plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.400.v20160518-1444/eclipse_1617.so
+ opt/xmind/XMind/XMind
+"
+
+FONT_SUFFIX="ttf"
+FONT_S="${S}/fonts"
+
+src_configure() {
+ if use amd64; then
+ XDIR="XMind_amd64"
+ else
+ XDIR="XMind_i388"
+ fi
+ mv "$XDIR" XMind || die
+ # force data instance & config area to be at home/.xmind directory
+ sed \
+ -e '/-configuration/d' \
+ -e '/\.\/configuration/d' \
+ -e '/-data/d' \
+ -e '/\.\.\/Commons\/data\/workspace-cathy/d' \
+ -e 's/\.\.\/plugins/\/opt\/xmind\/plugins/g' \
+ -e '/-vmargs/i-showsplash' \
+ -e '/vmargs/iorg.xmind.cathy' \
+ -i XMind/XMind.ini || die
+ echo '-Dosgi.instance.area=@user.home/.xmind/workspace-cathy' >> XMind/XMind.ini || die
+ echo '-Dosgi.configuration.area=@user.home/.xmind/configuration-cathy' >> XMind/XMind.ini || die
+}
+
+src_compile() {
+ :
+}
+
+src_install() {
+ insinto /opt/xmind
+ doins -r plugins configuration features XMind
+ fperms a+rx "/opt/xmind/XMind/XMind"
+
+ exeinto /opt/bin
+ newexe "${FILESDIR}/xmind-wrapper-3.7.0" xmind
+
+ # install icons
+ local res
+ for res in 16 32 48; do
+ newicon -s ${res} "${WORKDIR}/xmind-icons/xmind.${res}.png" xmind.png
+ done
+
+ make_desktop_entry ${PN} "XMind" ${PN} "Office" "MimeType=application/x-xmind;"
+ font_src_install
+}
+
+pkg_preinst() {
+ gnome2_icon_savelist
+}
+
+pkg_postinst() {
+ gnome2_icon_cache_update
+ font_pkg_postinst
+ elog "For audio notes support, install media-sound/lame"
+}
+
+pkg_postrm() {
+ gnome2_icon_cache_update
+}