Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 117475 - net-p2p/azureus can't use alternate UIs.
Summary: net-p2p/azureus can't use alternate UIs.
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Other
: High minor (vote)
Assignee: Petteri Räty (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-02 11:38 UTC by Rasmus Faber
Modified: 2006-01-02 13:25 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rasmus Faber 2006-01-02 11:38:33 UTC
The option to specify an alternate UI for Azureus doesnt work (in ~/.Azureus/gentoo.config set UI_OPTIONS="--ui=console").

The problem is that /usr/bin/azureus explicitly calls org.gudy.azureus2.ui.swt.Main.

Fix: use org.gudy.azureus2.ui.common.Main instead.

--- /usr/portage/net-p2p/azureus/files/azureus-gentoo-2.3.0.6.sh 2005-12-01 00:06:01.000000000 +0100
+++ /usr/portage/net-p2p/azureus/files/azureus-gentoo-2.3.0.6.sh 2006-01-02 20:26:07.882385640 +0100
@@ -43,4 +43,4 @@

 CLASSPATH=$(java-config -p junit,log4j,commons-cli-1,swt-3,azureus)
 exec $(java-config --java)  -cp $CLASSPATH -Djava.library.path=$(java-config -i swt-3) \
-  ${JAVA_OPTIONS} org.gudy.azureus2.ui.swt.Main "${@}"
+  ${JAVA_OPTIONS} org.gudy.azureus2.ui.common.Main $UI_OPTIONS "${@}"
Comment 1 Petteri Räty (RETIRED) gentoo-dev 2006-01-02 13:25:47 UTC
Interesting that the upstream startup script also uses org.gudy.azureus2.ui.swt.Main. You should submit patches as attachements in the future to avoid line wrapping. I have been wondering myself how to use the console mode. Now I know ;D Thanks for the fix.