summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrice Clement <monsieurp@gentoo.org>2015-06-27 18:22:12 +0000
committerPatrice Clement <monsieurp@gentoo.org>2015-06-27 18:22:12 +0000
commit966d25048c506d131edcf62bc66f7cbb69294dda (patch)
treef9f076101e98ebd1bdd80da18b18be6c8208f6b4
parentPatch to set failonerror to false when running antlr target. (diff)
downloadhistorical-966d25048c506d131edcf62bc66f7cbb69294dda.tar.gz
historical-966d25048c506d131edcf62bc66f7cbb69294dda.tar.bz2
historical-966d25048c506d131edcf62bc66f7cbb69294dda.zip
Remove old.
Signed-off-by: Patrice Clement <monsieurp@gentoo.org> Package-Manager: portage-2.2.18/cvs/Linux x86_64 Manifest-Sign-Key: 0x93491BB8
-rw-r--r--app-misc/freemind/ChangeLog6
-rw-r--r--app-misc/freemind/Manifest27
-rw-r--r--app-misc/freemind/freemind-0.9.0-r1.ebuild139
-rw-r--r--app-misc/freemind/freemind-1.0.0-r1.ebuild116
-rw-r--r--app-misc/freemind/freemind-1.0.1.ebuild116
5 files changed, 13 insertions, 391 deletions
diff --git a/app-misc/freemind/ChangeLog b/app-misc/freemind/ChangeLog
index 9b1ac76cae5e..8d33c5e2fb3b 100644
--- a/app-misc/freemind/ChangeLog
+++ b/app-misc/freemind/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for app-misc/freemind
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/freemind/ChangeLog,v 1.72 2015/06/27 17:53:31 ago Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/freemind/ChangeLog,v 1.73 2015/06/27 18:22:04 monsieurp Exp $
+
+ 27 Jun 2015; Patrice Clement <monsieurp@gentoo.org> -freemind-0.9.0-r1.ebuild,
+ -freemind-1.0.0-r1.ebuild, -freemind-1.0.1.ebuild:
+ Remove old.
27 Jun 2015; Agostino Sarubbo <ago@gentoo.org> freemind-1.0.1-r1.ebuild:
Stable for x86, wrt bug #553370
diff --git a/app-misc/freemind/Manifest b/app-misc/freemind/Manifest
index bc2bd3dff0d9..cc715f23d1d4 100644
--- a/app-misc/freemind/Manifest
+++ b/app-misc/freemind/Manifest
@@ -1,29 +1,18 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
-DIST freemind-src-0.9.0.tar.gz 15195546 SHA256 aef65c79d315c2055651f4adaa9fd0cd27514aa49dde6aca470d80ce5f19a5e1 SHA512 c03b6854b735a66022d36bc09a31cd3e0c2b8f4f0031a05cf8f50f0b740a43560c20551b8f08d6e0efe126fcf81a7958809f52166c3b0b0bce5229a2f9f49f4e WHIRLPOOL 9b86230b50c564c9375d6becdf1ec88e56244b79a6f9ba49f05783bf23e5a11bae9773a1d34bacca14f3b53230c27b56afca7d8985ff4e6f52131d41c4b54400
-DIST freemind-src-1.0.0.tar.gz 31444914 SHA256 27daa9c9dd13129d79f9e0eb956d22f68039074199ed3569f62edcb070ccb686 SHA512 a4e8d328f01c990521a8ed891bf80e5dbdc89bef2d2ba3c07d47a22e41e8f18fdf4f6e7b0feca351311fc420d23fb1b45152e9ab782e97185899e6b053c8586b WHIRLPOOL e3465fadb96a7c2cdf98805da20557db0956f8ed41d692d714759fd94b3d71ccf48f79af28633cbcfe7d0209b1b19f76f44660f2fa3a52c02ef0c0bdebfefd93
DIST freemind-src-1.0.1.tar.gz 31617138 SHA256 018285126b27eae7392b8c3bfb513f25bd70b9907440e5eb8209f20b4fbd8619 SHA512 f3b7bd526da3075e883292fc88dd5b01f5b0112c58cfeae25a6be9c7dbf4a5444839821e3e2554303032d832b4520fa742894c09ded2705270f51aca98167fb5 WHIRLPOOL 5c3e1c795060bb92bced84fcf785c721c0ecf2ea8fcd8440cfe4935255bb4685c78dc4ad5991ee425a3c7d37589a8698ee9e1b3e4c63d362bc172edbe4e281da
-EBUILD freemind-0.9.0-r1.ebuild 3804 SHA256 ee3f81d2666ac146e4922db98f26519a1c0c08b7461e6e9926285c303e6d1771 SHA512 005dead644fb49c47dd915d07a24ae26a33646a0466c91ed55b0b41026ee1524d1572abc8f93d4ec6993815da7159d572866a5ddc1b88a6ea2b80ed937754d98 WHIRLPOOL a764081aed63931507446a7f5fd9575553ef83be057ead9f2a4b79979d9373f1a8e3c3bf43cf33ba1224de367f19d7772053b4fa2df6971e79263742e4acc3d0
-EBUILD freemind-1.0.0-r1.ebuild 3172 SHA256 4e90cad36354895e4ae9071da3ce40607377df68ce7e8f93677b4f3b23db1563 SHA512 a5463265dff47ba53267c61585a4b9bf9ae967ea911679e323678afe3958e4f8fdce8e990eb6d5777c8848d346184a63827175d218d88044778985227481f062 WHIRLPOOL 10c0e67851c01c77f9da6a45b9f6e6f00cc2cd65f46dd1f67c40c79927076375db6560fe03a67d630dd4ce6dd79beb0a1fbf0b19137e2b5ed75e509f5d9bb692
EBUILD freemind-1.0.1-r1.ebuild 3155 SHA256 63385bb86fac4f88c5f9d0bc9d515776409a2940e6c151434cfc1894ae0a1b76 SHA512 b9e7e255a53591c38532d40fe0e1e05195e3c9c76d4369f43e183822b5e9e56aef5d14ec0056bcdf860a823bcf75e9986e7245fd42b99bed36c09df5c93bc7c8 WHIRLPOOL 32ef4501f214347b97a4a273ebe6bff974dfee6c3b9099cea035cf92c1d04ac58d13853110dc8dff548b95d3a170e3f23d886d505f20bfb773076f36c41210f0
-EBUILD freemind-1.0.1.ebuild 3168 SHA256 fe5d249556566e65bd97b14c352a532fc7babb2358367f2784696438c70beb04 SHA512 1735f855232cdb9a40e4e7653e1dcc6b5c6e18354986f60353f0a439cacd2ec6b1ff47cad374878477978d5000224d59128b45acc01cbe21616c7a63afa42ae6 WHIRLPOOL f1c8944487c7e32c5972e61060ae52f705c6054754486980cd9d6266f2df3e9ca0eba131c9616b53fd796865b6ebc1ed22526296b31cc4977cb50ffdab2e6ee3
-MISC ChangeLog 11299 SHA256 e594aca3060a93f937687a457bc427e1ee978ee9a8a243e4f9805624cf1a52e8 SHA512 9b9a3725e92676439c8ac65b3bd1298b3ff283f037141f1d791f22852f4384ead24a8a860b189a12ae5bcd13b97d7c6129c954bcaa50226a80f8c358038f132d WHIRLPOOL d925c4f4c21c147923d79b85eaaed978525f83fc7b7474217ffe32135c9ffa07b9c160d91f14da1d40721c86a14625a54de4538bd3f749ee4ada27540e192365
+MISC ChangeLog 11454 SHA256 03b299bb8a8606273ab93cc13137040602f09ad77b429c9ec3dcfd5352213455 SHA512 bc2fc858d40f293b83050f27932ee3abc6bf4cb880f14733649b61cf9a90526726b2474e21b68c918ec9e3e2da920114f68d2da0f40377b2dfe07bb28c3df201 WHIRLPOOL 8f288c8ec5a812ebc1b1c1381ddf325ebdbb5d9532b33a448b092028104d5432a731cc989498dab042a4ecc0d11811909db969535650c8e883d0b677e843afba
MISC metadata.xml 565 SHA256 579c12143a284d3ea16369b083549bfe8039bf0c9624a0b0a4fd4d8b8fe385bc SHA512 c715022b1ffca940962ff38698b7771eb7aa38f076a975b8beeaa59d9799af936cc8c6605d2c6432be79e21a7f04c2c365c4cfb00b84909817cf8ebcee3e333d WHIRLPOOL 77d73169d072f3d7480e922ec8a433745a0ad218b15168fee1878789c20be8441901ec2faed722505fee0bc47a75bdfed5cb96d545ceea06b82b214873b3d871
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
-iQIcBAEBCAAGBQJVjuMbAAoJELp701BxlEWfoMAQAMLA9u49VMFAYm9SAjwRPhKl
-SUo+Z1LMIyeEi1EiwpDBX4q/hYvapDrwJqTLjEeehznXIfXPVoHdjCgdvvGNfTfR
-IMFQPFqtBqevYAC+ZZq1KOxoGm/GTHqWY9Yl7zR0UZjbFmcIDvarvAxEc6MmVJhJ
-mKUWHnbEb8xUHSENtDlA5OOnUTU8hZ/i0C38pRRISM52IjQbrjJu0pO8G5mn/dvH
-w0j94AZ1F2Yo18FCigMXbICy9UGXodemvizvYAEJyYpo98a6v/Juexg9P7X+MRkF
-Jw+69SN3DPGbzKot6BunysjCR8TYBf9L5mb/QHk3Et+AMAOpFxumRM+XktyF1kv5
-k9Zgjgm7luF4YLrIK3jaGiDYedCfXReuiXlriGsTbbSfdvcUcXt5V0f4RMs9eyek
-t/RqJKz+Uy6+G+WnWNCFgVoT8UXbj5V1pVHhrMUJ7LP7tiS3YpdD5Zb/taCtduGP
-zb6abK9h+t2Gk4Q012ihuP8KNydS5qzULpox6W1gZg21NKVdZnJjjW1Gky+R2rz9
-wowu3jF4Z8pNN/KGD0c37ZHUPzKgH91cYfPVk/c0AFElb4Agb20oTV43G+GQwFFH
-EDpEQKedTMhXazPVHZq2WfV/omqeeMt5SwacSmSzZN2WKMdxneMcp4e4qijngkdx
-sE4OAZdFgmtkb7xKYN9Y
-=IyCb
+iQEcBAEBCAAGBQJVjvg8AAoJEJGRpfGTSRu443gIAIHQkPr86FuodJF+4TqO641n
+86K4OCRQWLPapnJFsJ4rKn8mFrMzSr3RmV0cWNzRufgvg1ZUZ19gBAp5PhbomTvc
+If64gOh+mGse4gbNul7/k2b2ZsRB8Nr1/n5tgS6ZB5A8N5vqBbFqbI8XZwflNp6Q
+kzyyUsVXbeuvZBCAHsda0L8FE2azHkp5JIy7mtKl7sxbV1mixhgarW0hJK5LCXSy
+YlWEkSbVCQ9cKVtFsnkSSn7GZWOnLibnI2/NhvHyrARe1O495ExxokPLUiU1WJyg
+ONoYzDtRMZgVWQH9yQziP5OjgO9vskZl1tiBXkYAwegb5Ex4/e9lM6EAzAtT2YU=
+=KoTF
-----END PGP SIGNATURE-----
diff --git a/app-misc/freemind/freemind-0.9.0-r1.ebuild b/app-misc/freemind/freemind-0.9.0-r1.ebuild
deleted file mode 100644
index 73531c47f47d..000000000000
--- a/app-misc/freemind/freemind-0.9.0-r1.ebuild
+++ /dev/null
@@ -1,139 +0,0 @@
-# Copyright 1999-2014 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-r1.ebuild,v 1.6 2014/03/31 16:48:09 mgorny 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 ~x64-macos"
-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="dev-lang/python
- >=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}"
-
-# Moved from the eclass to clean it up from python and this ebuild is
-# the last consumer. Additionally, the newer version no longer requires
-# it so it will die along with this one.
-java-ant_remove-taskdefs() {
- debug-print-function ${FUNCNAME} $*
- local task_name
- if [[ "${1}" == --name ]]; then
- task_name="${2}"
- shift 2
- fi
- local file="${1:-build.xml}"
- echo "Removing taskdefs from ${file}"
- python <<EOF
-import sys
-from xml.dom.minidom import parse
-dom = parse("${file}")
-for elem in dom.getElementsByTagName('taskdef'):
- if (len("${task_name}") == 0 or elem.getAttribute("name") == "${task_name}"):
- elem.parentNode.removeChild(elem)
- elem.unlink()
-f = open("${file}", "w")
-dom.writexml(f)
-f.close()
-EOF
- [[ $? != 0 ]] && die "Removing taskdefs failed"
-}
-
-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
-
- # disable dmg build on Mac OS X
- sed -i -e 's:<antcall target="dist_\(macos\|icon\)"/>::p' '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=${EPREFIX}${dest}" \
- --pwd "${EPREFIX}${dest}" --main freemind.main.FreeMindStarter
-
- newicon "${S}/images/FreeMindWindowIcon.png" freemind.png
-
- make_desktop_entry freemind Freemind freemind Utility
-}
diff --git a/app-misc/freemind/freemind-1.0.0-r1.ebuild b/app-misc/freemind/freemind-1.0.0-r1.ebuild
deleted file mode 100644
index 8af34bf2a8ba..000000000000
--- a/app-misc/freemind/freemind-1.0.0-r1.ebuild
+++ /dev/null
@@ -1,116 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/freemind/freemind-1.0.0-r1.ebuild,v 1.5 2014/08/13 09:33:50 ago Exp $
-
-EAPI="5"
-
-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/jortho: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="${COMMON_DEP}
- >=virtual/jdk-1.4
- pdf? ( dev-java/avalon-framework:4.2 )
- svg? ( dev-java/avalon-framework:4.2 )"
-RDEPEND="${COMMON_DEP}
- >=virtual/jre-1.4"
-
-S="${WORKDIR}/${PN}"
-
-java_prepare() {
- chmod +x check_for_duplicate_resources.sh || die
-
- # someone got it all wrong (set/unset vs. bool)
- sed -i -e 's|<property name="include_latex" value="false"/>||' plugins/build.xml || die
-
- # disable dmg build on Mac OS X
- sed -i -e 's:<antcall target="dist_\(macos\|icon\)"/>::p' 'build.xml' || die
-
- 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
- # not compatible with releases of jmapviewer
- rm plugins/build_map.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_CLASSPATH_TAGS+=" javadoc"
- JAVA_ANT_ENCODING="utf-8"
- 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,jortho,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 || die
- 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=${EPREFIX}${dest}" \
- --pwd "${EPREFIX}${dest}" --main freemind.main.FreeMindStarter
-
- newicon "${S}/images/FreeMindWindowIcon.png" freemind.png
-
- make_desktop_entry freemind Freemind freemind Utility
-}
diff --git a/app-misc/freemind/freemind-1.0.1.ebuild b/app-misc/freemind/freemind-1.0.1.ebuild
deleted file mode 100644
index ffd1ad573030..000000000000
--- a/app-misc/freemind/freemind-1.0.1.ebuild
+++ /dev/null
@@ -1,116 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/freemind/freemind-1.0.1.ebuild,v 1.1 2014/08/03 09:49:07 sera Exp $
-
-EAPI="5"
-
-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 ~x86"
-IUSE="groovy latex pdf svg"
-
-COMMON_DEP="
- dev-java/javahelp:0
- dev-java/jgoodies-forms:0
- dev-java/jibx:0
- dev-java/jortho: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="${COMMON_DEP}
- >=virtual/jdk-1.4
- pdf? ( dev-java/avalon-framework:4.2 )
- svg? ( dev-java/avalon-framework:4.2 )"
-RDEPEND="${COMMON_DEP}
- >=virtual/jre-1.4"
-
-S="${WORKDIR}/${PN}"
-
-java_prepare() {
- chmod +x check_for_duplicate_resources.sh || die
-
- # someone got it all wrong (set/unset vs. bool)
- sed -i -e 's|<property name="include_latex" value="false"/>||' plugins/build.xml || die
-
- # disable dmg build on Mac OS X
- sed -i -e 's:<antcall target="dist_\(macos\|icon\)"/>::p' 'build.xml' || die
-
- 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
- # not compatible with releases of jmapviewer
- rm plugins/build_map.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_CLASSPATH_TAGS+=" javadoc"
- JAVA_ANT_ENCODING="utf-8"
- 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,jortho,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 || die
- 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=${EPREFIX}${dest}" \
- --pwd "${EPREFIX}${dest}" --main freemind.main.FreeMindStarter
-
- newicon "${S}/images/FreeMindWindowIcon.png" freemind.png
-
- make_desktop_entry freemind Freemind freemind Utility
-}