From c04ea421f3ad12e9d6c546df8eb229156df59809 Mon Sep 17 00:00:00 2001 From: Vlastimil Babka Date: Mon, 11 Dec 2006 13:13:04 +0000 Subject: [PATCH] =?utf8?q?Fix=20launcher=20to=20make=20it=20work.=20Thanks?= =?utf8?q?=20to=20everyone=20in=20bug=20#142147,=20especially=20Daniel=20K?= =?utf8?q?re=C3=9Fner=20=20for=20identifying=20the=20probl?= =?utf8?q?em=20and=20Vlad-Mihai=20Sima=20=20for?= =?utf8?q?=20the=20correct=20solution.=20Package-Manager:=20portage-2.1.2?= =?utf8?q?=5Frc3-r1?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- app-misc/freemind/ChangeLog | 11 +++- .../freemind/files/digest-freemind-0.8.0-r2 | 3 ++ app-misc/freemind/freemind-0.8.0-r2.ebuild | 51 +++++++++++++++++++ 3 files changed, 64 insertions(+), 1 deletion(-) create mode 100644 app-misc/freemind/files/digest-freemind-0.8.0-r2 create mode 100644 app-misc/freemind/freemind-0.8.0-r2.ebuild diff --git a/app-misc/freemind/ChangeLog b/app-misc/freemind/ChangeLog index 698ee600be89..0caf6c5ae4c6 100644 --- a/app-misc/freemind/ChangeLog +++ b/app-misc/freemind/ChangeLog @@ -1,6 +1,15 @@ # ChangeLog for app-misc/freemind # Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-misc/freemind/ChangeLog,v 1.23 2006/10/05 14:30:10 gustavoz Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-misc/freemind/ChangeLog,v 1.24 2006/12/11 13:13:04 caster Exp $ + +*freemind-0.8.0-r2 (11 Dec 2006) + + 11 Dec 2006; Vlastimil Babka + -freemind-0.8.0_rc2.ebuild, -freemind-0.8.0.ebuild, + -freemind-0.8.0-r1.ebuild, +freemind-0.8.0-r2.ebuild: + Fix launcher to make it work. Thanks to everyone in bug #142147, especially + Daniel Kreßner for identifying the problem and Vlad-Mihai + Sima for the correct solution. Remove old cruft. 05 Oct 2006; Gustavo Zacarias freemind-0.7.1-r1.ebuild: diff --git a/app-misc/freemind/files/digest-freemind-0.8.0-r2 b/app-misc/freemind/files/digest-freemind-0.8.0-r2 new file mode 100644 index 000000000000..7c621a3caf24 --- /dev/null +++ b/app-misc/freemind/files/digest-freemind-0.8.0-r2 @@ -0,0 +1,3 @@ +MD5 c09728e8e0aefe76be4e7648a7a519ce freemind-src-0_8_0.zip 9857214 +RMD160 df7f47aedef7b761c94f938f7c851f0b8ed32e04 freemind-src-0_8_0.zip 9857214 +SHA256 c28902151f0089ddd1270c662820b6e33a85a686083c53dcfe6dd7205493da78 freemind-src-0_8_0.zip 9857214 diff --git a/app-misc/freemind/freemind-0.8.0-r2.ebuild b/app-misc/freemind/freemind-0.8.0-r2.ebuild new file mode 100644 index 000000000000..761d53d1c399 --- /dev/null +++ b/app-misc/freemind/freemind-0.8.0-r2.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-misc/freemind/freemind-0.8.0-r2.ebuild,v 1.1 2006/12/11 13:13:04 caster Exp $ + +inherit java-pkg-2 java-ant-2 eutils + +MY_PV=${PV//./_} + +DESCRIPTION="Mind-mapping software written in Java" +HOMEPAGE="http://freemind.sf.net" +SRC_URI="mirror://sourceforge/freemind/${PN}-src-${MY_PV}.zip" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="doc" +# FIXME doesn't like compiling with Java 1.6 for some reason +DEPEND="|| ( + =virtual/jdk-1.4* + =virtual/jdk-1.5* + ) + dev-java/ant-core + app-arch/unzip" +RDEPEND=">=virtual/jre-1.4" +RESTRICT="nomirror" + +S="${WORKDIR}/${PN}" + +src_compile() { + eant dist browser $(use_doc doc) +} + +src_install() { + cd "${WORKDIR}/bin/dist" + + insinto /opt/${PN}/ + doins -r lib/ browser/ plugins/ + doins -r accessories/ user.properties patterns.xml + + java-pkg_regjar /opt/${PN}/lib/${PN}.jar + + cp -R ${S}/doc ${D}/opt/${PN} + use doc && java-pkg_dojavadoc doc/javadoc + + into /opt + java-pkg_dolauncher ${PN} --pwd /opt/${PN} --jar /opt/${PN}/lib/${PN}.jar + + mv ${S}/images/FreeMindWindowIcon.png ${S}/images/freemind.png + doicon ${S}/images/freemind.png + + make_desktop_entry freemind Freemind freemind.png Utility +} -- 2.26.2