New version available, the more recent ebuild is for the 0.8.0_rc2. In http://prdownloads.sourceforge.net/freemind/ the 0.8.0.zip is available. I've tried that source package and ant builds it sucesfully Reproducible: Always Steps to Reproduce: 1. 2. 3. Expected Results: Sadly to say. I currently don't have enough time to write an ebuild that uses the new available package, but it would be nice to have it in the portage tree.
Kindly put full ebuild name in the bug summary next time, not really willing to guess what you mean.
I tried to copy the old ebuild to 0.8.0. The new freemind seems to depend on dev-java/jaxme, but there are still troubles. Patch to the old ebuild: --- /usr/portage/app-misc/freemind/freemind-0.8.0_rc2.ebuild 2005-09-16 05:05:23.000000000 +0200 +++ /usr/local/portage/app-misc/freemind/freemind-0.8.0.ebuild 2005-11-13 10:02:29.864627168 +0100 @@ -8,15 +8,16 @@ MY_PV=${PV//./_} DESCRIPTION="Mind-mapping software written in Java" HOMEPAGE="http://freemind.sf.net" -SRC_URI="mirror://sourceforge/freemind/${PN}-src-${MY_PV/rc2/RC2}.zip" +SRC_URI="mirror://sourceforge/freemind/${PN}-src-${MY_PV}.zip" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~x86" +KEYWORDS="x86" IUSE="doc jikes" DEPEND=">=virtual/jdk-1.4 dev-java/ant-core jikes? ( dev-java/jikes ) - app-arch/unzip" + app-arch/unzip + dev-java/jaxme" RDEPEND=">=virtual/jre-1.4" RESTRICT="nomirror" Well, the ebuild installs fine. But whenever I try to start freemind, I get this error message in the console: Exception in thread "main" java.lang.NoClassDefFoundError: javax/xml/bind/JAXBException at freemind.main.FreeMind.<init>(FreeMind.java:227) at freemind.main.FreeMind.main(FreeMind.java:647) That was the reason for adding the jaxme dependency. But installing jaxme didn't help! The error even appears, if I provide all jaxme-jars in the classpath! The classpath somehow seems to be ignored (a test.java extending the JAXBException works fine). Any ideas? We should have a recent ebuild of this...
Created attachment 72813 [details] freemind-0.8.0.ebuild Ok, forget jaxme. The files which come with freemind in lib/ are required to be in the /opt/freemind/lib/ dir (the manifest will override the classpath anyways). I attached an updated ebuild.
freemind-0.8.0 does not compile (tested with sun-jdk-1.4.2.10 / sun-jdk-1.5.0.05). freemind-0.8.0-rc2 build works using the attached ebuild as a base (package name changed). Here's the emerge process output: >>> Source unpacked. Buildfile: build.xml gen: xmlbind.checkStatusOfGeneration: xmlbind: build: [mkdir] Created dir: /var/tmp/portage/freemind-0.8.0/work/bin/classes build-generated: -buildgen: [javac] Compiling 272 source files to /var/tmp/portage/freemind-0.8.0/work/bin/classes [javac] use: jikes [options] [@files] file.java... [javac] For more help, try -help or -version. [javac] Error: "-source" only recognizes Java releases 1.3 (JLS 2 features) and 1.4 (assert statement). BUILD FAILED /var/tmp/portage/freemind-0.8.0/work/freemind/build.xml:106: The following error occurred while executing this line: /var/tmp/portage/freemind-0.8.0/work/freemind/build.xml:84: The following error occurred while executing this line: /var/tmp/portage/freemind-0.8.0/work/freemind/build.xml:61: Compile failed; see the compiler error output for details. Total time: 2 seconds !!! ERROR: app-misc/freemind-0.8.0 failed. !!! Function src_compile, Line 29, Exitcode 1 !!! Compiling failed! !!! If you need support, post the topmost build error, NOT this status message.
Created attachment 74019 [details] freemind-0.8.0.ebuild Ebuild utilizing patch for java_source_version error. I saw this same error using blackdown-jdk-1.4.1 Place the java_source_version.patch file in 'app-misc/freemind/files' directory before emerging.
Created attachment 74020 [details, diff] java_source_version.patch -- patch for invalid "Java Source Version" error
(In reply to comment #4) To be clear, the patch above should fix this error you see: > freemind-0.8.0 does not compile (tested with sun-jdk-1.4.2.10 / > sun-jdk-1.5.0.05). freemind-0.8.0-rc2 build works using the attached ebuild as a > base (package name changed). > [javac] Error: "-source" only recognizes Java releases 1.3 (JLS 2 features) > and 1.4 (assert statement).
Hi folks, Roman's ebuild (74019) and his patch (74020) are working for me on an x86 with blackdown-jdk-1.4.2.02. bye fox
I can confirm this ebuild builds on sun-jdk-1.5.0.06 x86 and freemind works (tested basic functionality).
Created attachment 76529 [details] Alternate ebuild - full version. This is a version of the above ebuild, but it includes the extras and accessories not provided by that build. I've also decided not to create a new, simplistic start script but rather adjust the provided script to work, with my system at least. The forthcoming start patch accomplishes this. The java_source_... patch is also used. Thoughts?
Created attachment 76530 [details, diff] Patch for supplied freemind start script. Additional patch mentioned in attachment #76529 [details].
Just adding my 2 cents... Using the latest ebuild seems to work perfectly for me. Please include into portage soon. Thanx. Heres my setup: Use flags used: [ebuild R ] app-misc/freemind-0.8.0 USE="jikes -doc" 0 kB [1] emerge info Portage 2.1_pre3-r1 (default-linux/x86/2005.1, gcc-3.4.4, glibc-2.3.6-r2, 2.6.15-gentoo i686) ================================================================= System uname: 2.6.15-gentoo i686 Intel(R) Pentium(R) 4 CPU 3.40GHz Gentoo Base System version 1.12.0_pre13 dev-lang/python: 2.3.5, 2.4.2 sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1-r1 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r3 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -fomit-frame-pointer -march=prescott -mtune=prescott -pipe -ftracer -ffast-math -fforce-addr -falign-functions=4 -fprefetch-loop-arrays -momit-leaf-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -fomit-frame-pointer -march=prescott -mtune=prescott -pipe -ftracer -ffast-math -fforce-addr -falign-functions=4 -fprefetch-loop-arrays -momit-leaf-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distlocks sandbox sfperms strict" uname -a Linux mr_flibble 2.6.15-gentoo #2 SMP PREEMPT Thu Jan 5 16:40:43 GMT 2006 i686 Intel(R) Pentium(R) 4 CPU 3.40GHz GenuineIntel GNU/Linux java-config -c /opt/blackdown-jdk-1.4.2.03/bin/javac
ermerged today on ppc using ~x86. it seems to work ok (even if a bit slow :-). i guess that it could also be set as ~ppc (if there are not other reasons for not doing it)
Emerged today the alternate ebuild (x86), works fine here too. The official 0.8.0-ebuild on portage doesn't work.
From the changelog: 24 Mar 2006; Luca Barbato <lu_zero@gentoo.org> freemind-0.8.0.ebuild: Marked ~ppc *freemind-0.8.0 (11 Jan 2006) 11 Jan 2006; Luca Barbato <lu_zero@gentoo.org> +freemind-0.8.0.ebuild: Updated version, works fine on ppc and amd64 ... so marking fixed.