summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVlastimil Babka <caster@gentoo.org>2011-10-21 21:42:37 +0000
committerVlastimil Babka <caster@gentoo.org>2011-10-21 21:42:37 +0000
commit456faa38c646e8d2579b1a6d3552a6bfafdf802f (patch)
tree9791e809f75ff7fd63c7dc26d68d7fc65e5ab0e4 /app-misc/freemind
parentAllow mplayer2 as backend, bug 384591 (diff)
downloadhistorical-456faa38c646e8d2579b1a6d3552a6bfafdf802f.tar.gz
historical-456faa38c646e8d2579b1a6d3552a6bfafdf802f.tar.bz2
historical-456faa38c646e8d2579b1a6d3552a6bfafdf802f.zip
Version bump, bug #365179. Thanks to Christopher Robin Elmersson <robin@girlplusboy.com> and Ralph Sennhauser <gentoo.sera@bluewin.ch> for the contribution.
Package-Manager: portage-2.2.0_alpha68/cvs/Linux x86_64
Diffstat (limited to 'app-misc/freemind')
-rw-r--r--app-misc/freemind/ChangeLog11
-rw-r--r--app-misc/freemind/Manifest4
-rw-r--r--app-misc/freemind/freemind-0.9.0.ebuild108
3 files changed, 120 insertions, 3 deletions
diff --git a/app-misc/freemind/ChangeLog b/app-misc/freemind/ChangeLog
index f848a41f2d4c..70844f9de32d 100644
--- a/app-misc/freemind/ChangeLog
+++ b/app-misc/freemind/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for app-misc/freemind
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/freemind/ChangeLog,v 1.51 2010/02/28 11:40:44 caster Exp $
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-misc/freemind/ChangeLog,v 1.52 2011/10/21 21:42:37 caster Exp $
+
+*freemind-0.9.0 (21 Oct 2011)
+
+ 21 Oct 2011; Vlastimil Babka <caster@gentoo.org> +freemind-0.9.0.ebuild:
+ Version bump, bug #365179. Thanks to Christopher Robin Elmersson
+ <robin@girlplusboy.com> and Ralph Sennhauser <gentoo.sera@bluewin.ch> for the
+ contribution.
*freemind-0.9.0_rc7 (28 Feb 2010)
diff --git a/app-misc/freemind/Manifest b/app-misc/freemind/Manifest
index 1792917247ef..de0678eb7274 100644
--- a/app-misc/freemind/Manifest
+++ b/app-misc/freemind/Manifest
@@ -1,10 +1,12 @@
AUX freemind-0.8.0-source.patch 707 RMD160 564bee084b34c484d36819b5ccfafd2691b3cd4a SHA1 0afdbf3b0a0e2ebecb3e3de00c4f4ed85816c5ea SHA256 95172076011a2b98eeaaa1d4267926abf0c2a9828ba27abf254450757b33fa8f
AUX freemind-0.9.0_rc1-build.xml.patch 544 RMD160 719b67738a53478fa6467004a15d86adad079094 SHA1 c86c38eb1c2ffef25806c33653cc79c1d2cb69e2 SHA256 596923100e78e983b19890dd5e3c3c211c54fc0a91a9741f10bca9b20f5811b1
+DIST freemind-src-0.9.0.tar.gz 15195546 RMD160 45bb7cea26b400eba68371a240e60ebb43f016d2 SHA1 ce285726163dfab1c43017901d71ab6a86e2b5da SHA256 aef65c79d315c2055651f4adaa9fd0cd27514aa49dde6aca470d80ce5f19a5e1
DIST freemind-src-0.9.0_RC_6.tar.gz 15053570 RMD160 480fac3035ae986f83dac1eb35d267065ae37013 SHA1 81691b0175f9ea27ff503b964794c789803d3d8a SHA256 ee596875118eb0032730f7cc04442d5d43d0eb67cf1cf80762a875b22ae6b763
DIST freemind-src-0.9.0_RC_7.tar.gz 15066873 RMD160 3324c03a5e95504985c2db60a00b01c5c8da9a67 SHA1 624f032c2caeea1cc66f85782ace7bcccbb7b069 SHA256 782f217bb2abe2aedd9b822c302cea09ac028214cbb33f59086fa1dea62dea16
DIST freemind-src-0_8_0.zip 9857214 RMD160 df7f47aedef7b761c94f938f7c851f0b8ed32e04 SHA1 17c65bdc65b292d7d62fe7a8d633a24c2ad618df SHA256 c28902151f0089ddd1270c662820b6e33a85a686083c53dcfe6dd7205493da78
EBUILD freemind-0.8.0-r3.ebuild 1283 RMD160 11986ad9bc8d8a2567f13bfcaee10efcd2b1f938 SHA1 37942f230701e445b855e49d680a316d5e171d9a SHA256 cb794f1bad8af6eaec891321547ddb12e307cb212927281d74ac26d4ccfb3e54
+EBUILD freemind-0.9.0.ebuild 2868 RMD160 cdd49a218376199f5c7c90a89a3ca96df54b3e5c SHA1 4550efd89f51669fb7166cd5c3d134c5f7bf0778 SHA256 748d60bc918bf8ea2fc2d8c2c16ba6184b484b5db31382949712b06186272c0b
EBUILD freemind-0.9.0_rc6.ebuild 2651 RMD160 b778f9c317efafb8272b173023b1597fac04644d SHA1 1cb85619ad5908af7a33daf7d45f565fe8ccb2b2 SHA256 dbe53f9985d6ee7e6bd7eeeaae5e6be688d48a79a9dc5854cde027b7fbdc3a7b
EBUILD freemind-0.9.0_rc7.ebuild 2861 RMD160 12cb30e8d6a72c9b30a9633e30e4cf7639af069c SHA1 1b21c79595a39ae10afe82fea43933dcfd72cf38 SHA256 0504c6f3e51e680b68ab2a3bf6bc69cbf35343b8488104d3101bbe5c448afcc5
-MISC ChangeLog 8083 RMD160 782603cf44f380883a2f41797ede2e2810d62661 SHA1 71c27b2e6fc2198a28238a090b456d5b7f2b4cf1 SHA256 6323d67eac784673d946b44b25b2e1a93748e61165001dae125239a8a46f2fba
+MISC ChangeLog 8353 RMD160 8934e6e741d17b992ad7eb49fbad4eb6fcaee3a4 SHA1 060a3a471b667895cc162fa23089e7405dc80a72 SHA256 d1ae5b6d01739a221939dcfab05dba6c4e46da98c4b06f44796a97088814f10c
MISC metadata.xml 498 RMD160 3257462313db1947676502aee3f039f8885289b9 SHA1 0dfcc245809419a94c5399ecdccaec3429895ab6 SHA256 0fbff5fdf47275d3a532869de6e5064f613cf929bdbab2ed74ef9ff5fe1949a9
diff --git a/app-misc/freemind/freemind-0.9.0.ebuild b/app-misc/freemind/freemind-0.9.0.ebuild
new file mode 100644
index 000000000000..f04e1824ff2e
--- /dev/null
+++ b/app-misc/freemind/freemind-0.9.0.ebuild
@@ -0,0 +1,108 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-misc/freemind/freemind-0.9.0.ebuild,v 1.1 2011/10/21 21:42:37 caster Exp $
+
+EAPI="4"
+
+JAVA_PKG_IUSE="doc"
+
+inherit eutils java-pkg-2 java-ant-2
+
+DESCRIPTION="Mind-mapping software written in Java"
+HOMEPAGE="http://freemind.sourceforge.net"
+SRC_URI="mirror://sourceforge/${PN}/${PN}-src-${PV}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="groovy latex pdf svg"
+
+COMMON_DEP="
+ dev-java/javahelp:0
+ dev-java/jgoodies-forms:0
+ dev-java/jibx:0
+ >=dev-java/simplyhtml-0.13.1:0
+ groovy? ( dev-java/groovy )
+ latex? ( dev-java/hoteqn:0 )
+ pdf? ( dev-java/batik:1.7 >=dev-java/fop-0.95:0 )
+ svg? ( dev-java/batik:1.7 >=dev-java/fop-0.95:0 )"
+DEPEND=">=virtual/jdk-1.4
+ pdf? ( dev-java/avalon-framework:4.2 )
+ svg? ( dev-java/avalon-framework:4.2 )
+ ${COMMON_DEP}"
+RDEPEND=">=virtual/jre-1.4
+ ${COMMON_DEP}"
+
+S="${WORKDIR}/${PN}"
+
+java_prepare() {
+ # someone got it all wrong (set/unset vs. bool)
+ sed -i -e 's|<property name="include_latex" value="false"/>||' plugins/build.xml || die
+
+ java-ant_remove-taskdefs --name jarbundler # macOS only
+
+ use groovy || rm plugins/build_scripting.xml || die
+ use latex || rm plugins/build_latex.xml || die
+ use pdf || use svg || rm plugins/build_svg.xml || die
+
+ rm -v $(find "${WORKDIR}" -name '*.jar' -o -name '*.zip') || die
+}
+
+src_configure() {
+ local build_files=( $(find "${S}" -name 'build*.xml') )
+ JAVA_PKG_BSFIX_NAME="${build_files[@]##*/}"
+ JAVA_ANT_REWRITE_CLASSPATH="yes"
+ java-ant-2_src_configure
+}
+
+src_compile() {
+ local svg_deps svg_build_deps
+ if use pdf || use svg; then
+ svg_deps="batik-1.7,fop"
+ svg_build_deps=":$(java-pkg_getjars --build-only avalon-framework-4.2)"
+ fi
+ EANT_GENTOO_CLASSPATH="
+ jgoodies-forms,jibx,javahelp,simplyhtml
+ $(usex groovy groovy)
+ $(usex latex hoteqn)
+ ${svg_deps}"
+ EANT_GENTOO_CLASSPATH_EXTRA="lib/bindings.jar${svg_build_deps}"
+ EANT_BUILD_TARGET="dist"
+ EANT_DOC_TARGET="doc"
+ EANT_ANT_TASKS="jibx"
+ java-pkg-2_src_compile
+}
+
+src_install() {
+ cd "${WORKDIR}/bin/dist"
+ local dest="/usr/share/${PN}/"
+
+ java-pkg_dojar lib/*.jar
+
+ if use doc; then
+ java-pkg_dojavadoc doc/javadoc
+ rm -r doc/javadoc
+ fi
+
+ insinto "${dest}"
+ doins -r accessories browser doc plugins patterns.xml
+
+ # register plugins for java-dep-check
+ local plugins="help"
+ use groovy && plugins+=" script"
+ use latex && plugins+=" latex"
+ if use pdf || use svg; then
+ plugins+=" svg"
+ fi
+ local plugin
+ for plugin in ${plugins}; do
+ java-pkg_regjar "${ED}"${dest}/plugins/${plugin}/*jar
+ done
+
+ java-pkg_dolauncher ${PN} --java_args "-Dfreemind.base.dir=${dest}" \
+ --pwd "${dest}" --main freemind.main.FreeMindStarter
+
+ newicon "${S}/images/FreeMindWindowIcon.png" freemind.png
+
+ make_desktop_entry freemind Freemind freemind Utility
+}