[quote]
Azureus and Eclipse cannot both be installed at the same time. The two
SWT packages they depend on, libswt3.1-gtk-java and
libswt-gtk-3.1-java, conflict with each other. This is most
unfortunate and will be fixed at some point, but it won't be terribly
soon due to the related technical debate being unresolved.
[/quote]

I´ve come up with a very simple solution to this problem. It requires
some very simple patches in the azureus package.

1. build-depend on either libswt3.2-gtk-java or libswt-gtk-3.2-java,
it doesn´t really matter (both tested, both work!)
2. modify makefile to both include /usr/share/java/swt.jar and
/usr/lib/java/swt.jar in the classpath.
3. runtime-depend on  libswt3.2-gtk-java | libswt-gtk-3.2-java
4. tweak /usr/bin/azureus script to include both the swt.jars mentioned in #2
5. create a check in /usr/bin/azureus to check if the java-config
script exists, if so, run it (I haven´t checked what it does, just
noticed it´s not available with the eclipse swt).
6. *remove the eclipse-swt* conflict in the control file and PARTY!

I´m sure you don´t think this is the best solution, but it´s the only
solution for this nasty problem on the short-term.
Also, I can´t find any bugreport filed on eclipse´s SWT which
specifies what java policies are not respected, maybe you should file
a bugreport so they can be resolved in a correct manner?

I hope you will make these changes,
Thanks a lot in advance,
Robin

Reply via email to