Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Azureus Bittorrent Client
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
SecretMethod70
n00b
n00b


Joined: 01 Mar 2003
Posts: 22
Location: Chicagoland

PostPosted: Wed Apr 28, 2004 1:58 am    Post subject: Azureus Bittorrent Client Reply with quote

I searched around but couldn't find an answer...

Is there any reason that only a binary option is available for azureus in portage? I looked on their project page and it says the project is GPL so I would think an option to compile it would be available in portage.
Back to top
View user's profile Send private message
raylpc
Guru
Guru


Joined: 07 Aug 2003
Posts: 310
Location: Toronto, Canada

PostPosted: Wed Apr 28, 2004 2:22 am    Post subject: Reply with quote

It's written in Java, so there's no point compiling it from source.
Back to top
View user's profile Send private message
Sefthuko
n00b
n00b


Joined: 11 Jun 2003
Posts: 64

PostPosted: Wed Apr 28, 2004 2:23 am    Post subject: Reply with quote

I guess there's no real reason. The compiler for Java isn't going to be compatible with the CFLAGS anyways, so there's not much point in compiling it yourself if no speed benefits exist.
Back to top
View user's profile Send private message
SecretMethod70
n00b
n00b


Joined: 01 Mar 2003
Posts: 22
Location: Chicagoland

PostPosted: Wed Apr 28, 2004 2:40 am    Post subject: Reply with quote

I see...thanks for the explanations.

I'm not a programmer, so forgive my ignorance :oops:

I guess I'll just emerge azureus-bin then.
Back to top
View user's profile Send private message
schoett
n00b
n00b


Joined: 26 Jan 2003
Posts: 63

PostPosted: Sun Oct 10, 2004 12:49 pm    Post subject: Reply with quote

What about all that binary stuff that is installed with azureus:
Code:
/usr/lib/azureus/libNBIO.so
/usr/lib/azureus/libswt-mozilla-gtk-3062.so
/usr/lib/azureus/libswt-gtk-3062.so
/usr/lib/azureus/libMDWUtil.so
/usr/lib/azureus/swt.jar
/usr/lib/azureus/libswt-atk-gtk-3062.so
/usr/lib/azureus/seda.jar
/usr/lib/azureus/libswt-pi-gtk-3062.so
/usr/lib/azureus/swt-pi.jar
/usr/lib/azureus/libswt-gnome-gtk-3062.so
/usr/lib/azureus/Azureus2.jar
/usr/lib/azureus/libswt-awt-gtk-3062.so
/usr/lib/azureus/swt-mozilla.jar

Taking azureus-bin I thought I would get one or more .jar files, but installing a bunch of binary shared libraries (.so) that I do not have the source code for ist not OK (they might contain buffer overflows, for example). These should be packaged as ebuilds and compiled like the other shared libraries in gentoo.

Sorry, but this will come off my machine ASAP.
Back to top
View user's profile Send private message
seventhguardian
Apprentice
Apprentice


Joined: 10 May 2004
Posts: 261
Location: Portugal

PostPosted: Sun Nov 07, 2004 11:16 pm    Post subject: Reply with quote

hi!

What if i wanna change the source? I mean:

I live in portugal, and here we have hard international internet traffic limits. I have 2Gb per month. If I exceed them i pay 1.5€ per 100mb.. That's stealing, but hey, that's what we get......

Anyway, there is a good "portuguese-traffic-only" tracker that NOW only allows us to connect if we have a modified version of azureus, provided by them. And no source availiable!! (i sent them a mail asking for the source a few hours ago... no answer till now) No way i'm gonna install that!!!!!!

Before they did limit the allowed clients to Btuga and Azureus, and i guess they did that with the client name and version strings. The version string of the (current) modified client is '2.2.0.1_MOD'. So i wan't to change the default value on a clean azureus source and compile it, in order to regain access to the tracker without installing dubious binaries.

Now I have the source and I already modified the strings. I have the clean client installed, so now i want to compile the Azureus2.jar file. How can i do it??

Thanks!!
Back to top
View user's profile Send private message
rhill
Retired Dev
Retired Dev


Joined: 22 Oct 2004
Posts: 1629
Location: sk.ca

PostPosted: Mon Nov 08, 2004 12:29 am    Post subject: Reply with quote

go to the sf site and download the appropriate package:

http://prdownloads.sourceforge.net/azureus/Azureus_2.2.0.0_linux.GTK.tar.bz2?download
http://prdownloads.sourceforge.net/azureus/Azureus_2.2.0.0_linux.AMD64.tar.bz2?download

untar it. move the new azureus directory to /usr/share/

make an launcher for it in X, pointing to /usr/share/azureus/azureus. there's even an icon you can use in /usr/share/azureus/icon. :wink:

clicken.
voila. go download your "linux ISOs"

(must have java installed. sun is recommended. also sun-java.)

schoett:
the libraries distributed with the tarball are Eclipse's Standard Widget Toolkit. further info and source is available here: http://www.eclipse.org/swt/

if you'd rather compile it yourself, go nuts. emerge -aDtv swt. you might have to unmask it first. and the list of dependencies is rather long, unless you're a java developer and already have them installed. :D

optional:
after starting azureus at least once (to create .Azureus in your home folder) download the AzCVS Updater:
http://azureus.sourceforge.net/plugins/azcvsupdater_2.1.zip

mkdir ~/.Azureus/plugins/CVSUpdate
unzip into ~/.Azureus/plugins/CVSUpdate

restart azureus.

instant bleeding edge. if you go this path, you're testing unstable software and all standard warnings apply. be sure to visit us at http://sourceforge.net/forum/forum.php?forum_id=374248 :o

--de


Last edited by rhill on Mon Nov 08, 2004 12:54 am; edited 4 times in total
Back to top
View user's profile Send private message
rhill
Retired Dev
Retired Dev


Joined: 22 Oct 2004
Posts: 1629
Location: sk.ca

PostPosted: Mon Nov 08, 2004 12:31 am    Post subject: Reply with quote

seventhguardian wrote:

Now I have the source and I already modified the strings. I have the clean client installed, so now i want to compile the Azureus2.jar file. How can i do it??


i put up a page here:
http://azureus.sourceforge.net/wiki/index.php/CompileScript
Back to top
View user's profile Send private message
Eskarel
Apprentice
Apprentice


Joined: 07 May 2004
Posts: 257
Location: Perth Australia

PostPosted: Mon Nov 08, 2004 4:15 am    Post subject: Reply with quote

You realize this probably won't help, it certainly won't fix your download/upload limit issues, and it's pretty likely that the tracker will notice strange behavior from you(the better ones do) and can you anyway.
Back to top
View user's profile Send private message
seventhguardian
Apprentice
Apprentice


Joined: 10 May 2004
Posts: 261
Location: Portugal

PostPosted: Mon Nov 08, 2004 2:20 pm    Post subject: Reply with quote

dirtyepic:

I'll try the script as soon as i get home!! How do i choose gtk/qt? Thanks!

Eskarel:

I don't mind the limited speeds. I just wan't to be able to use the tracker (like i did before) without using the modified azureus version. I haven't received any answer regarding its source code (and it's illegal to deny me that right). So i have no idea about what the changes are, and it can have spyware and so.. No way.

If i manage to use the 'modified by me' file or they give me the source, that's ok. If not i'm gonna complain to azureus on sourceforge, as they (www.btuga.com) are not respecting the gpl licence azureus is released under.

Anyway thanks!!!
Back to top
View user's profile Send private message
rhill
Retired Dev
Retired Dev


Joined: 22 Oct 2004
Posts: 1629
Location: sk.ca

PostPosted: Wed Nov 10, 2004 6:46 am    Post subject: Reply with quote

not a clue =/ i'm not a dev, i just work on their wiki a lot. you can ask in their forums maybe?
Back to top
View user's profile Send private message
step
Apprentice
Apprentice


Joined: 16 May 2002
Posts: 198

PostPosted: Wed Nov 17, 2004 9:03 pm    Post subject: Reply with quote

emerge net-p2p/azureus-bin -p

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild N ] dev-java/bsh-2.0_beta1-r1
[ebuild N ] dev-java/ant-core-1.6.2
[ebuild N ] dev-java/log4j-1.2.8-r1
[ebuild N ] dev-java/avalon-logkit-bin-1.2.2
[ebuild N ] dev-java/commons-logging-1.0.4
[ebuild N ] dev-java/libreadline-java-0.8.0-r1
[ebuild N ] dev-java/jython-2.1-r5
[ebuild N ] dev-java/regexp-1.3-r1
[ebuild N ] dev-java/xerces-2.6.2-r1
[ebuild N ] dev-java/oro-2.0.8
[ebuild N ] dev-java/commons-net-1.2.2
[ebuild N ] dev-java/rhino-1.5.5
[ebuild N ] dev-java/jzlib-1.0.5
[ebuild N ] dev-java/jsch-0.1.15
[ebuild N ] dev-java/bcel-5.1
[ebuild N ] dev-java/xalan-2.6.0
[ebuild N ] dev-java/junit-3.8.1-r1
[ebuild N ] dev-java/antlr-2.7.3
[ebuild N ] dev-java/commons-collections-3.1
[ebuild N ] dev-java/commons-beanutils-1.6.1-r1
[ebuild N ] dev-java/jdepend-2.6-r1
[ebuild N ] dev-java/ant-tasks-1.6.2-r5
[ebuild N ] dev-java/ant-1.6.2-r6
[ebuild N ] dev-java/commons-lang-2.0-r1
[ebuild N ] dev-java/commons-cli-1.0-r4
[ebuild U ] net-libs/linc-1.0.3 [1.0.2]
[ebuild N ] dev-java/systray4j-2.4
[ebuild N ] net-p2p/azureus-bin-2.1.0.4

pff... i need all that !? :evil:
Back to top
View user's profile Send private message
Eskarel
Apprentice
Apprentice


Joined: 07 May 2004
Posts: 257
Location: Perth Australia

PostPosted: Fri Nov 19, 2004 9:10 am    Post subject: Reply with quote

They're tiny java libs, the whole thing takes less than half an hour to download and compile on a decent system.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum