diff options
author | Chris Reffett <creffett@gentoo.org> | 2013-11-08 18:03:57 +0000 |
---|---|---|
committer | Chris Reffett <creffett@gentoo.org> | 2013-11-08 18:03:57 +0000 |
commit | 12099b370b5c7b54a5f6f3df4d5d461efb73af73 (patch) | |
tree | d24b5842536967b766582ac26b43e385f069fd9d /app-misc/xmind | |
parent | Stable for HPPA (bug #490534). (diff) | |
download | gentoo-2-12099b370b5c7b54a5f6f3df4d5d461efb73af73.tar.gz gentoo-2-12099b370b5c7b54a5f6f3df4d5d461efb73af73.tar.bz2 gentoo-2-12099b370b5c7b54a5f6f3df4d5d461efb73af73.zip |
Version bump
(Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key 42618354)
Diffstat (limited to 'app-misc/xmind')
-rw-r--r-- | app-misc/xmind/ChangeLog | 5 | ||||
-rw-r--r-- | app-misc/xmind/files/xmind-3.4.0-config.ini | 20 | ||||
-rw-r--r-- | app-misc/xmind/xmind-3.3.1.201212250029.ebuild | 4 | ||||
-rw-r--r-- | app-misc/xmind/xmind-3.4.0.201311050558.ebuild | 102 |
4 files changed, 128 insertions, 3 deletions
diff --git a/app-misc/xmind/ChangeLog b/app-misc/xmind/ChangeLog index 9ab6379403d2..9b42ab270c1d 100644 --- a/app-misc/xmind/ChangeLog +++ b/app-misc/xmind/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for app-misc/xmind # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-misc/xmind/ChangeLog,v 1.6 2013/07/08 02:10:42 creffett Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-misc/xmind/ChangeLog,v 1.7 2013/11/08 18:03:57 creffett Exp $ + + 09 Oct 2013; creffett <creffett@gentoo.org> ChangeLog: + testing 08 Jul 2013; Chris Reffett <creffett@gentoo.org> xmind-3.3.1.201212250029.ebuild: diff --git a/app-misc/xmind/files/xmind-3.4.0-config.ini b/app-misc/xmind/files/xmind-3.4.0-config.ini new file mode 100644 index 000000000000..62abbd1f31ff --- /dev/null +++ b/app-misc/xmind/files/xmind-3.4.0-config.ini @@ -0,0 +1,20 @@ +#These configurations are shared among all installs. Branded For XMind 2013. +#Tue, 05 Nov 2013 22:06:37 +0800 + +eclipse.buildId=3.4.0.201311050558 +org.xmind.product.distribution.id=cathy_portable +org.xmind.product.license.restrictions= +org.xmind.debug.core.workbookSave=true +#This configuration file was written by: org.eclipse.equinox.internal.frameworkadmin.equinox.EquinoxFwConfigFileParser +#Tue Nov 05 22:05:55 HKT 2013 +eclipse.p2.profile=profile +osgi.framework=file\:plugins/org.eclipse.osgi_3.8.2.v20130124-134944.jar +osgi.bundles=reference\:file\:org.eclipse.equinox.simpleconfigurator_1.0.301.v20120914-163612.jar@1\:start +org.eclipse.equinox.simpleconfigurator.configUrl=file\:org.eclipse.equinox.simpleconfigurator/bundles.info +eclipse.product=org.xmind.cathy.product +osgi.splashPath=platform\:/base/plugins/org.xmind.cathy +osgi.framework.extensions=reference\:file\:org.eclipse.osgi.nl_da_4.2.0.v20121120043402.jar,reference\:file\:org.eclipse.osgi.nl_de_4.2.0.v20121120043402.jar,reference\:file\:org.eclipse.osgi.nl_es_4.2.0.v20121120043402.jar,reference\:file\:org.eclipse.osgi.nl_fr_4.2.0.v20121120043402.jar,reference\:file\:org.eclipse.osgi.nl_ja_4.2.0.v20121120043402.jar,reference\:file\:org.eclipse.osgi.nl_ko_4.2.0.v20121120043402.jar,reference\:file\:org.eclipse.osgi.nl_ru_4.2.0.v20121120043402.jar,reference\:file\:org.eclipse.osgi.nl_sl_4.2.0.v20121120043402.jar,reference\:file\:org.eclipse.osgi.nl_zh_4.2.0.v20121120043402.jar,reference\:file\:org.eclipse.osgi.nl_zh_TW_4.2.0.v20121120043402.jar +osgi.bundles.defaultStartLevel=4 +eclipse.p2.data.area=@config.dir/../p2 +eclipse.application=org.xmind.cathy.application +osgi.requiredJavaVersion=1.5 diff --git a/app-misc/xmind/xmind-3.3.1.201212250029.ebuild b/app-misc/xmind/xmind-3.3.1.201212250029.ebuild index 6c4480c78d16..1d8c8b1bca2b 100644 --- a/app-misc/xmind/xmind-3.3.1.201212250029.ebuild +++ b/app-misc/xmind/xmind-3.3.1.201212250029.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-misc/xmind/xmind-3.3.1.201212250029.ebuild,v 1.6 2013/07/08 02:10:42 creffett Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-misc/xmind/xmind-3.3.1.201212250029.ebuild,v 1.7 2013/11/08 18:03:57 creffett Exp $ EAPI=5 @@ -40,7 +40,7 @@ src_configure() { XDIR="XMind_Linux" fi mv -v "$XDIR" XMind || die - mv -v XMind/.eclipseproduct XMind/configuration Commons || die + mv -v XMind/.eclipseproduct Commons/ || die # force data instance & config area to be at home/.xmind directory sed -i -e '/-configuration/d' \ diff --git a/app-misc/xmind/xmind-3.4.0.201311050558.ebuild b/app-misc/xmind/xmind-3.4.0.201311050558.ebuild new file mode 100644 index 000000000000..19cb04726ec1 --- /dev/null +++ b/app-misc/xmind/xmind-3.4.0.201311050558.ebuild @@ -0,0 +1,102 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-misc/xmind/xmind-3.4.0.201311050558.ebuild,v 1.1 2013/11/08 18:03:56 creffett Exp $ + +EAPI=5 + +inherit eutils multilib fdo-mime gnome2-utils + +MY_PN="${PN}-portable" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="A brainstorming and mind mapping software tool" +HOMEPAGE="http://www.xmind.net" +SRC_URI="http://dl2.xmind.net/xmind-downloads/${MY_P}.zip + http://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.5 + x11-libs/gtk+:2 +" + +S=${WORKDIR} + +QA_PRESTRIPPED="usr/$(get_libdir)/xmind/XMind/libcairo-swt.so" +QA_FLAGS_IGNORED=" + usr/$(get_libdir)/xmind/Commons/plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.200.v20120522-1813/eclipse_1502.so + usr/$(get_libdir)/xmind/Commons/plugins/org.eclipse.equinox.launcher.gtk.linux.x86_1.1.200.v20120522-1813/eclipse_1502.so + usr/$(get_libdir)/xmind/XMind/libcairo-swt.so + usr/$(get_libdir)/xmind/XMind/XMind +" + +src_configure() { + if use amd64; then + XDIR="XMind_Linux_64bit" + else + XDIR="XMind_Linux" + fi + mv -v "$XDIR" XMind || die + mv -v XMind/.eclipseproduct Commons || die + cp "${FILESDIR}"/${PN}-3.4.0-config.ini Commons/configuration || die #Combined common+linux config.ini + # force data instance & config area to be at home/.xmind directory + sed -i -e '/-configuration/d' \ + -e '/\.\/configuration/d' \ + -e '/-data/d' \ + -e '/\.\.\/Commons\/data\/workspace-cathy/d' 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() { + local libdir="$(get_libdir)" + dodir "/usr/${libdir}/xmind" + insinto "/usr/${libdir}/xmind" + doins -r Commons + doins -r XMind + + exeinto "/usr/${libdir}/xmind/XMind" + doexe XMind/XMind + dosym "/usr/${libdir}/xmind/XMind/XMind" /usr/bin/xmind + + # insall icons + local res + for res in 16 32 48; do + newicon -s ${res} "${WORKDIR}/xmind-icons/xmind.${res}.png" xmind.png + done + + # insall MIME type + insinto /usr/share/mime/packages + doins "${FILESDIR}/x-xmind.xml" + + # make desktop entry + make_desktop_entry "xmind %F" XMind xmind Office "MimeType=application/x-xmind;" + + insinto /etc/gconf/schemas + doins "${FILESDIR}/xmind.schemas" + dobin "${FILESDIR}/xmind-thumbnailer" +} + +pkg_preinst() { + gnome2_icon_savelist +} + +pkg_postinst() { + fdo-mime_desktop_database_update + fdo-mime_mime_database_update + gnome2_icon_cache_update + elog "For audio notes support, install media-sound/lame" +} + +pkg_postrm() { + fdo-mime_desktop_database_update + fdo-mime_mime_database_update + gnome2_icon_cache_update +} |