I'm a Gentoo PPC user and wanted to use Azureus. It was masked to my arch, but I gave it a chance. It merged but didn't launch because of a SWT related problem. Talking with Azureus developers, I replaced some files from azureus' swt distribution with the same ones from eclipse-sdk' swt, which was already installed on my system (the eclipse-sdk ebuild built swt for ppc in my case). The files were:
replacing this files made azureus work for gentoo PPC. I was wondering if it could be possible something like including the swt related code of eclipse-sdk ebuild within the azureus ebuild. I've been looking at the eclipse-sdk ebuild but can't understand some things....
Steps to Reproduce:
I'm adding sejo to the CC-list as Java + PowerPC is his domain.
This implements that we should make the eclipse as a dependency of azureus. And i don't think that is wise.
The only thing i can do is to change the ebuild of azureus to also compile the swt itself for ppc.
I'll look into that one.
I completely agree with the second approach, that's what I intened to mean, but didn't explain well.
there is a swt ebuild so this shouldn't too hard
Any progress on this bug?
i'm creating the source ebuild... will be in the tree within this week
build in tree,
arches please test
would be nice to get
~x86 ~ppc ~sparc ~ia64 ~amd64 ~hppa ~mips
Mips does not have a working JVM.
i'm the original reporter. I have merged and tested azureus on a PPC machine. It works. Great, great work Sejo!
i think it might be too late, but i have a page up documenting how to build azureus.jar from source. maybe it can provide some insights. i run x86 but have not tested this ebuild.
To build and run the package on x86, I had to do the following:
(1) Add swt-3 to the system classpath (to make it build)
(2) Perform the linking step described in Bug 71277, Comment #1 (to make it run)
When started, it complains "azupdater plugin: initialization error" in an undecorated window at the bottom right with a "Details" and a "Hide" button. When pressing "Details", another undecorated window appears with a call stack that I seem not to be able to copy with the mouse. The top line of the call stack reads
java.io.FileNotFoundException: /usr/lib/azureus/plugins/azupdater/plugin.properties (No such file or directory)
My window manager is fvwm 2.5.10-r3
My user jvm is sun-jdk-1.5.0
Current status: azureus-220.127.116.11-r1: ~x86 ~ppc
We didn't got that far with TEST-REQUEST. SeJo, could you track it further?
I've submitted a bug (bug #74575) with a version bump and a cleanup of the ebuild.
Worked fine on ~x86, but doesn't work on ~amd64 (Out of Memory Error with javac, tested with blackdown-jdk 1.4 and sun-jdk 1.5).
If there is a new version, please tell what we should do with this bug. Probably you want to build a new (working) ebuild and ask for testing in a future bug?
Azureus 18.104.22.168 works fine on ppc now aside from an error message about
upgrading to java-1.5 which isn't yet available for ppc. Closing this bug.