diff options
author | Vlastimil Babka <caster@gentoo.org> | 2009-06-05 14:34:29 +0000 |
---|---|---|
committer | Vlastimil Babka <caster@gentoo.org> | 2009-06-05 14:34:29 +0000 |
commit | a72ca54010281f310fe4927aa16292a1194e4bd7 (patch) | |
tree | 55f217beb36c2aeda727358cad1b0383dfc6deda /app-misc/freemind | |
parent | Revbump to use batik-1.7 (diff) | |
download | historical-a72ca54010281f310fe4927aa16292a1194e4bd7.tar.gz historical-a72ca54010281f310fe4927aa16292a1194e4bd7.tar.bz2 historical-a72ca54010281f310fe4927aa16292a1194e4bd7.zip |
Revbump to use batik-1.7 and >=fop-0.95.
Package-Manager: portage-2.2_rc33/cvs/Linux x86_64
Diffstat (limited to 'app-misc/freemind')
-rw-r--r-- | app-misc/freemind/ChangeLog | 8 | ||||
-rw-r--r-- | app-misc/freemind/Manifest | 3 | ||||
-rw-r--r-- | app-misc/freemind/freemind-0.9.0_rc4-r1.ebuild | 93 |
3 files changed, 102 insertions, 2 deletions
diff --git a/app-misc/freemind/ChangeLog b/app-misc/freemind/ChangeLog index 009e53f1ba99..c38853685398 100644 --- a/app-misc/freemind/ChangeLog +++ b/app-misc/freemind/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for app-misc/freemind # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-misc/freemind/ChangeLog,v 1.46 2009/05/31 18:49:34 caster Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-misc/freemind/ChangeLog,v 1.47 2009/06/05 14:34:29 caster Exp $ + +*freemind-0.9.0_rc4-r1 (05 Jun 2009) + + 05 Jun 2009; Vlastimil Babka <caster@gentoo.org> + +freemind-0.9.0_rc4-r1.ebuild: + Revbump to use batik-1.7 and >=fop-0.95. *freemind-0.9.0_rc4 (31 May 2009) diff --git a/app-misc/freemind/Manifest b/app-misc/freemind/Manifest index e5ba4ddff517..c82a6e5e2711 100644 --- a/app-misc/freemind/Manifest +++ b/app-misc/freemind/Manifest @@ -5,6 +5,7 @@ DIST freemind-src-0.9.0_RC_4.tar.gz 15171201 RMD160 8f654b0635d55d1f10c4abd80dd5 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_rc3.ebuild 2581 RMD160 6694404fa39b13a9a4dc14e2376662943f521a78 SHA1 0b151f6ebc7d25bce0370219b3101e5494298677 SHA256 ec5504fc008214c83e90391f9bdabb8cab147ec6c2b7bd95cab41fd1aa9df18e +EBUILD freemind-0.9.0_rc4-r1.ebuild 2637 RMD160 be498dc75b3473551158541f01fe27d305595268 SHA1 464f0729d5287445e55d88ae843e8142b6b10e2b SHA256 ac2f63abbd4275dbfcaecf821a0168698933d904216ab51dfea0a7e93b22c169 EBUILD freemind-0.9.0_rc4.ebuild 2581 RMD160 9c04bd079cedc7c8a4f9f39e01578e9a7f9287db SHA1 ff0352455eb1d208cec320d125f8c5f0cd38e270 SHA256 fa0c91fdb9af41c543cacdcd9cb763963ade2d4a2f46e0a28a24762407adad25 -MISC ChangeLog 7175 RMD160 7b42182d4e1198af0dcebc916e1d96163f9b45ac SHA1 59da45dd39b571e780c14676f9d0dd807f4802f2 SHA256 c3815d1fd150b11506d150acbb26bdb7028d106bc2751e3931f90623338c385e +MISC ChangeLog 7341 RMD160 01572b01904b8b240d8f91a8319c03bdb63968a9 SHA1 32aa1c37fa539068b61e0fce38b388fd2e057fb8 SHA256 8280ce7c582dba9c2e15d03f60810a37c353f458d1a18a90f3a73908b3cea64d MISC metadata.xml 498 RMD160 3257462313db1947676502aee3f039f8885289b9 SHA1 0dfcc245809419a94c5399ecdccaec3429895ab6 SHA256 0fbff5fdf47275d3a532869de6e5064f613cf929bdbab2ed74ef9ff5fe1949a9 diff --git a/app-misc/freemind/freemind-0.9.0_rc4-r1.ebuild b/app-misc/freemind/freemind-0.9.0_rc4-r1.ebuild new file mode 100644 index 000000000000..2816c758a6cf --- /dev/null +++ b/app-misc/freemind/freemind-0.9.0_rc4-r1.ebuild @@ -0,0 +1,93 @@ +# Copyright 1999-2009 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_rc4-r1.ebuild,v 1.1 2009/06/05 14:34:29 caster Exp $ + +EAPI=2 + +# will handle rewriting myself +JAVA_PKG_BSFIX="off" +WANT_ANT_TASKS="ant-nodeps ant-trax" +inherit java-pkg-2 java-ant-2 eutils + +MY_PV=${PV//beta/Beta_} +MY_PV=${MY_PV//rc/RC_} + +DESCRIPTION="Mind-mapping software written in Java" +HOMEPAGE="http://freemind.sourceforge.net" +SRC_URI="mirror://sourceforge/${PN}/${PN}-src-${MY_PV}.tar.gz" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="doc groovy latex pdf svg" +COMMON_DEP="dev-java/jgoodies-forms:0 + dev-java/jibx:0 + >=dev-java/simplyhtml-0.13.1:0 + dev-java/commons-lang:2.1 + dev-java/javahelp:0 + groovy? ( dev-java/groovy:1 ) + 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 + dev-java/xsd2jibx:0 + app-arch/unzip + ${COMMON_DEP}" +RDEPEND=">=virtual/jre-1.4 + ${COMMON_DEP}" + +S="${WORKDIR}/${PN}" + +java_prepare() { + # kill the jarbundler taskdef + epatch "${FILESDIR}/${PN}-0.9.0_rc1-build.xml.patch" + + use groovy || rm plugins/build_scripting.xml || die + use latex || rm plugins/build_latex.xml || die + if ! use pdf && ! use svg ; then + rm plugins/build_svg.xml || die + fi + + local xml + for xml in $(find . -name 'build*.xml'); do + java-ant_rewrite-classpath ${xml} + java-ant_bsfix_one ${xml} + done + + rm -v lib/*.jar lib/*.zip lib/*/*.jar \ + plugins/*/*.jar plugins/*/*/*.jar || die +} + +src_compile() { + local jibxlibs="$(java-pkg_getjars --build-only --with-dependencies xsd2jibx)" + local gcp="jgoodies-forms,jibx,commons-lang-2.1,javahelp,simplyhtml" + use groovy && gcp="${gcp},groovy-1" + use latex && gcp="${gcp},hoteqn" + if use pdf || use svg ; then + # there is both direct batik usage and through fop + gcp="${gcp},batik-1.7,fop" + fi + local gcp="$(java-pkg_getjars --with-dependencies ${gcp}):lib/bindings.jar" + ANT_TASKS="${WANT_ANT_TASKS} jibx xsd2jibx" eant -Djibxlibs="${jibxlibs}" \ + -Dgentoo.classpath="${gcp}" dist browser $(use_doc doc) +} + +src_install() { + cd "${WORKDIR}/bin/dist" + local dest="/usr/share/${PN}/" + + java-pkg_dojar lib/*.jar + + insinto "${dest}" + doins -r accessories browser/ doc/ plugins/ patterns.xml || die + + use doc && java-pkg_dojavadoc doc/javadoc + + 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 +} |