diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /app-misc/xmind | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'app-misc/xmind')
-rw-r--r-- | app-misc/xmind/Manifest | 10 | ||||
-rw-r--r-- | app-misc/xmind/files/xmind-3.4.0-config.ini | 20 | ||||
-rw-r--r-- | app-misc/xmind/files/xmind-wrapper | 8 | ||||
-rw-r--r-- | app-misc/xmind/files/xmind-wrapper-3.5.3 | 8 | ||||
-rw-r--r-- | app-misc/xmind/files/xmind-wrapper-3.7.0 | 8 | ||||
-rw-r--r-- | app-misc/xmind/metadata.xml | 8 | ||||
-rw-r--r-- | app-misc/xmind/xmind-3.5.3.201506180105-r2.ebuild | 88 | ||||
-rw-r--r-- | app-misc/xmind/xmind-3.7.6_p201801311814.ebuild | 92 |
8 files changed, 242 insertions, 0 deletions
diff --git a/app-misc/xmind/Manifest b/app-misc/xmind/Manifest new file mode 100644 index 000000000000..372b3fd32056 --- /dev/null +++ b/app-misc/xmind/Manifest @@ -0,0 +1,10 @@ +AUX xmind-3.4.0-config.ini 1671 BLAKE2B 1db0351ca78f06ebd2966d32c402334ceca45cc99d087d7670895bad8b6e68b2dd9fc880b41fc877db19e8b1d864364f1219c17bc03bd3b1d36e3cc78f9c1bb0 SHA512 dc6e054839eeadd6aab4abd41f42766567404b44b5d7fbaaad785a45f1b9c1d92e4eeaafb936bfff8d827c6ebfbccf4b02f3f417c2a8280300f377608913f763 +AUX xmind-wrapper 488 BLAKE2B 5880ece73df047121bbda1eb8f6b891685bba3e704ac9d47f79970a81be8f8e20c35febd278278a2825692c12ea34a4d24627ef8b9ba91f1c6ea8f602fe8eddf SHA512 f400d3f527897f087d5e20bce43299a20bd64a458f7c95a47447c78bf0c2b951a8f38d29e4a6ce028a9b421c41880fb5850184cb0b190de79f712ec807dbf9d7 +AUX xmind-wrapper-3.5.3 493 BLAKE2B 82aa49de2c90e2f943550d328253749310032e95e1dbd33e092383240950698ccf61bd85e1b9315275ebacc89cef78c518152e6e70f9f3246af8d41f850d7aad SHA512 555e1103dc5714bb5924421899262f1112c83807233c9969afdaa0eb0cba631b13e4fa984af7c2029fe57fb7e135f51a1d00e3dd3fffb8bcf3bb96eb93dfad80 +AUX xmind-wrapper-3.7.0 504 BLAKE2B 3528749643f3686d11afc7817e6b3e3228e3ef22105a013046aa8dd8c0c5463490918182a52d8fbf476332265685a9a80785dfa431dd912ff22145a13a00b99f SHA512 452560c9b1ab68df745616ac032089fb05f1aab61c7e1b247eb241195dd38e11b69459abb5e2b6696db76e2e421291de4dc41030f525f77f0e30522b52540248 +DIST xmind-8-update7-linux.zip 119918223 BLAKE2B 83a7c11e9eda40ac5f89458673417cdf98aacd793de66cca91e6b1f8429eaa0dfb276cc5a11a0eb00f055cb1b66e69bc084fd29abcfa6cecd2811de4f7d7b57f SHA512 0f59201f44b23436c7e6e3fd4dd1427337e5a262e5d4f25dbc836c2f4fd42b99232c1988138ba7015523ede50e0ae829ada6359698d5af0eee529ed19cd347e3 +DIST xmind-icons.tar.xz 5024 BLAKE2B 3391d931dc7d3094ad1213c9cbd43c6b3f151c7f7321ff23139c7f1b69c3fdc662902a95714bac240b1962c26210f3edc41752f315c885581e9ba03efa9069e6 SHA512 3ee6b8e42b75305bec8f97f733575f10ca3d08e1c5a76a10700776cb7740ae6f8a0f3dfbc4112d60ab2499915ca4ea0e3d56fd49e55bec00fccdc8710d9f9f0d +DIST xmind-portable-3.5.3.201506180105.zip 159265180 BLAKE2B dde948c9e16cb02607b8fd23a315b0ff5d5ec75b4feb79d62cde1e0d11f06e477068435dd8856d573b7f01e7959a19169357b477841a1d5057367cd3c4f8b8c3 SHA512 d41deebec769d06276d051c57e546c44e4283feabd5f6c45ce97efdbf755d75e9b99d39b6fd10baf2f4735f25a695d2902ca9888d94ad414318f38c55e3f4af5 +EBUILD xmind-3.5.3.201506180105-r2.ebuild 2224 BLAKE2B 6e866ec7b2f12ec302d9bb7442565d476f1a8555781b475d4c59641d2755b371879c923ad9fbb89cdfe6d864aaa91649df1c25ec49bcb39b2e4cadd9f001dd2d SHA512 10201e1e9043da37fc6d14fd5f5f2e370aca617558a9d2fb78d423d7c792fa5ea783fc6d1f0c1eb7c16479bf731d644382ae31b6cec1240a02c8dd64c7e78981 +EBUILD xmind-3.7.6_p201801311814.ebuild 2179 BLAKE2B 9d3acb425169c03da22b6fad93a5ccc292e4a416c92dd58e41169c08ae56376438b0475c528a0288bd8641e067e578c8c3df845d326bfd3cb2ee13b73b4bdc5b SHA512 9757e194263ad2fc5a29cc2f9f12d8f47352f2773021c1e2c5f2b536e6769ca80656f35627ac3bde264c13b48911d196cb0e7cbf92faa220f6328edaa1b3921e +MISC metadata.xml 248 BLAKE2B 756531e249f020913a383436ea184d8617481ef1ddefb311630199224eabe6082d396b3058f1123fa97d7aa6f8026de8a256cf4fb253b16381462d64f45373d6 SHA512 29d9aef2134dc48ca8f1cf14bcb7197920bee680270c75fa551c892c9bbaa325a1a6cc6e97a25e1a33c1dc36e1c7085abb3672559b9803285d755db6eefe12a3 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/files/xmind-wrapper b/app-misc/xmind/files/xmind-wrapper new file mode 100644 index 000000000000..728edce3e24a --- /dev/null +++ b/app-misc/xmind/files/xmind-wrapper @@ -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 +/opt/xmind/XMind/XMind diff --git a/app-misc/xmind/files/xmind-wrapper-3.5.3 b/app-misc/xmind/files/xmind-wrapper-3.5.3 new file mode 100644 index 000000000000..b38ef1476246 --- /dev/null +++ b/app-misc/xmind/files/xmind-wrapper-3.5.3 @@ -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 +/opt/xmind/XMind/XMind "$@" 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/metadata.xml b/app-misc/xmind/metadata.xml new file mode 100644 index 000000000000..8c8ef6e93c28 --- /dev/null +++ b/app-misc/xmind/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>creffett@gentoo.org</email> + <name>Chris Reffett</name> + </maintainer> +</pkgmetadata> diff --git a/app-misc/xmind/xmind-3.5.3.201506180105-r2.ebuild b/app-misc/xmind/xmind-3.5.3.201506180105-r2.ebuild new file mode 100644 index 000000000000..a5d4a0ca6de4 --- /dev/null +++ b/app-misc/xmind/xmind-3.5.3.201506180105-r2.ebuild @@ -0,0 +1,88 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit desktop eutils multilib gnome2-utils + +MY_PN="${PN}-portable" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="A brainstorming and mind mapping software tool" +HOMEPAGE="https://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.5 + x11-libs/gtk+:2 +" + +S=${WORKDIR} + +QA_PRESTRIPPED="opt/xmind/XMind/libcairo-swt.so" +QA_FLAGS_IGNORED=" + opt/xmind/Commons/plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.200.v20120522-1813/eclipse_1502.so + opt/xmind/Commons/plugins/org.eclipse.equinox.launcher.gtk.linux.x86_1.1.200.v20120522-1813/eclipse_1502.so + opt/xmind/XMind/libcairo-swt.so + opt/xmind/XMind/XMind +" + +src_configure() { + if use amd64; then + XDIR="XMind_Linux_64bit" + else + XDIR="XMind_Linux" + fi + mv "$XDIR" XMind || die + mv 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 \ + -e '/-configuration/d' \ + -e '/\.\/configuration/d' \ + -e '/-data/d' \ + -e '/\.\.\/Commons\/data\/workspace-cathy/d' \ + -e 's/\.\.\/Commons/\/opt\/xmind\/Commons/g' \ + -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 Commons XMind + fperms a+rx "/opt/xmind/XMind/XMind" + + exeinto /opt/bin + newexe "${FILESDIR}/xmind-wrapper-3.5.3" 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;" +} + +pkg_preinst() { + gnome2_icon_savelist +} + +pkg_postinst() { + gnome2_icon_cache_update + elog "For audio notes support, install media-sound/lame" +} + +pkg_postrm() { + gnome2_icon_cache_update +} diff --git a/app-misc/xmind/xmind-3.7.6_p201801311814.ebuild b/app-misc/xmind/xmind-3.7.6_p201801311814.ebuild new file mode 100644 index 000000000000..12a6a7c49210 --- /dev/null +++ b/app-misc/xmind/xmind-3.7.6_p201801311814.ebuild @@ -0,0 +1,92 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit desktop font gnome2-utils + +MY_PV="8-update7" +MY_P="${PN}-${MY_PV}-linux" + +DESCRIPTION="A brainstorming and mind mapping software tool" +HOMEPAGE="https://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 +} |