You are not logged in.

#51 2007-03-12 21:43:19

barebones
Member
Registered: 2006-04-30
Posts: 235

Re: My BitTorrent client

noriko,
I won't be able to update it for a while (I'm on spring break right now) but I'll add that rm in there. I would have put that in there originally, but I thought the make clean would take care of it (I've never used it before, so I'm not sure what it is actually doing). The pkgbuild copies the source because that's what the wiki's article about svn pkgbuilds recommends. I think I'll leave it in there, as well, since svn can then just update the files in the source folder instead of checking out the entire tree every time versionpkg is run.

Offline

#52 2007-03-12 22:35:30

noriko
Member
From: In My Mind
Registered: 2006-06-09
Posts: 535
Website

Re: My BitTorrent client

np ..
afaik it doesn't do a complete co, it just updates the non-working src ... which is then copied and used to build the pkg.. i suppose that method leaves make clean redundant, since you'd already be working on what can be safely assumed a clean src tree.

on the make clean bit .. there may be a lot more to it, but the main idea behind it i think is that .. sometimes you may have a dirty src/build tree , i.e u killed the build halfway through then attempted to rebuild it with with/out new code .. and in most cases i find it fails with the most nonsensical of errors, other times it succeeds and you are left with a pretty unstable piece of an application.


The.Revolution.Is.Coming - - To fight, To hunger, To Resist!

Offline

#53 2007-03-24 01:48:42

lunke
Member
From: Sweden
Registered: 2005-05-21
Posts: 86

Re: My BitTorrent client

Ok the latest biggest change is the addition of a UPnP plugin, It would be great if some of you had the time to test it. Just enable it and start linkage and check that the used port is forwarded correctly (you can test it with http://www.utorrent.com/testport.php?port=N , where N is the port used). The used port is usually the lowest  value in the port range in the settings window. Advanced users might want to verify this with netstat -ln . smile

Offline

#54 2007-03-24 17:53:47

noriko
Member
From: In My Mind
Registered: 2006-06-09
Posts: 535
Website

Re: My BitTorrent client

which rev is it in ? or how do you enable it ?
I'm using rev118 .. but i can't seem to find where to enable UPnP


The.Revolution.Is.Coming - - To fight, To hunger, To Resist!

Offline

#55 2007-03-25 00:09:44

lunke
Member
From: Sweden
Registered: 2005-05-21
Posts: 86

Re: My BitTorrent client

You need to install libupnp, then run configure and if it finds libupnp the upnp plugin will be built and installed. Then just enable the upnp plugin in the preference window.

Offline

#56 2007-03-25 21:50:17

noriko
Member
From: In My Mind
Registered: 2006-06-09
Posts: 535
Website

Re: My BitTorrent client

something strange is happening here ..
if i install libupnp the upnp.la gets created, however the plugin doesn't get installed .. if i then go to the plugins/upnp dir and make install it generates the .so and installs (but isn't loaded)


The.Revolution.Is.Coming - - To fight, To hunger, To Resist!

Offline

#57 2007-03-25 23:18:05

lunke
Member
From: Sweden
Registered: 2005-05-21
Posts: 86

Re: My BitTorrent client

Try revision 118, I forgot to add some stuff to plugins/Makefile.am. Also don't forget to re-run ./autogen.sh && ./configure --prefix=/usr after updates.

Offline

#58 2007-03-26 00:13:29

noriko
Member
From: In My Mind
Registered: 2006-06-09
Posts: 535
Website

Re: My BitTorrent client

nope doesn't work ... :S the about:dialog says r118 .. I've also re-checkout the src


The.Revolution.Is.Coming - - To fight, To hunger, To Resist!

Offline

#59 2007-03-26 09:58:30

lunke
Member
From: Sweden
Registered: 2005-05-21
Posts: 86

Re: My BitTorrent client

God I hate autotools tongue
Could you post the out put from these commands
./configure | grep UPNP
cat plugins/Makefile.am
grep upnp plugins/Makefile

When you said it doesn't load do you mean it doens't load when you enable it in the preference window? Because the upnp plugin isn't loaded by default.

Offline

#60 2007-03-26 10:12:06

noriko
Member
From: In My Mind
Registered: 2006-06-09
Posts: 535
Website

Re: My BitTorrent client

truncated

################
wait a sec .. i just checked the configure scipt  and it appears to be pkg-configgign for libupnp >=1.4.3*
one in community is 1.4.1
..........
i've adopted the aur:PKG duno how the provess works .. but here's the pkg i made for it ..

# Contributor: Shane Lane [noriko] <norrian@gmail.com>
pkgname=libupnp
pkgver=1.4.3
pkgrel=1
pkgdesc="An SDK for development of UPnP device and control point applications for Linux."
url="http://pupnp.sourceforge.net/"
depends=('glibc')
source=(http://dl.sourceforge.net/sourceforge/pupnp/$pkgname-$pkgver.tar.bz2)
md5sums=('C87BA0840B78DFB3163C2D0D4E9CFF9B')

build() {
  cd $startdir/src/$pkgname-$pkgver
  ./configure --prefix=/usr || return 1
  make || return 1  
  make PREFIX=$startdir/pkg/usr DESTDIR=$startdir/pkg install 
}

....................
found one bug though ... the upnp process is blocking ...
so it takes about 30 seconds for the app respond or start with ti enabled as my router sucks (possibly due to being unconfifured) .. the same happens when the app starts, it takes about 30 seconds before the interface of systray icon is shown.

other than that everything seems to work perfectly here smile

Last edited by noriko (2007-03-26 10:52:46)


The.Revolution.Is.Coming - - To fight, To hunger, To Resist!

Offline

#61 2007-03-26 14:40:47

tradiaz
Member
Registered: 2007-03-25
Posts: 22

Re: My BitTorrent client

Just wanted to say that i think your client is great!
However disabling the download of certain files in a torrent would be nice (the checkboxes in the "filter" column don't work, what are they for?). Maybe with a little treeview that lets you browse the directoris like ktorrent has got?
I hope you'll take that into consideration!
I already use linkage for my torrents smile

Last edited by tradiaz (2007-03-26 14:41:36)

Offline

#62 2007-03-26 14:42:51

noriko
Member
From: In My Mind
Registered: 2006-06-09
Posts: 535
Website

Re: My BitTorrent client

are you sure ? they work perfectly for me ... :S


The.Revolution.Is.Coming - - To fight, To hunger, To Resist!

Offline

#63 2007-03-26 15:04:51

lunke
Member
From: Sweden
Registered: 2005-05-21
Posts: 86

Re: My BitTorrent client

Ok in revision 125 the upnp plugin is threaded so it shouldn't block anymore. I also changed the libupnp requirment to >= 1.4.1, I'm pretty sure it will build with that.

EDIT: @tradiaz: the file filtering should be working (but you can't filter files from seeds or stopped torrents)
A word of caution though, you'll need to enable the allocation option so that the disk space is allocated before you filter files. Other wise your downloaded files will end up corrupted. This is a bug in libtorrent.

Last edited by lunke (2007-03-26 15:07:52)

Offline

#64 2007-03-27 17:54:41

noriko
Member
From: In My Mind
Registered: 2006-06-09
Posts: 535
Website

Re: My BitTorrent client

thanks big_smile
...........................
r128, build fails.

SessionManager.cc: In constructor 'SessionManager::SessionManager()':
SessionManager.cc:48: error: 'create_ut_pex_plugin' was not declared in this scope
SessionManager.cc:48: error: 'add_extension' was not declared in this scope
make[3]: *** [liblinkage_1_la-SessionManager.lo] Error 1
make[3]: Leaving directory `/port/svn/linkage/src/linkage-build/lib'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/port/svn/linkage/src/linkage-build/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/port/svn/linkage/src/linkage-build'
make: *** [all] Error 2

i dunno if it's worth posting this stuff(build errors) in the bug tracker ... let me know, so from now on i don't post em in the wrong place wink


The.Revolution.Is.Coming - - To fight, To hunger, To Resist!

Offline

#65 2007-03-27 23:21:27

lunke
Member
From: Sweden
Registered: 2005-05-21
Posts: 86

Re: My BitTorrent client

Woops, was trying out some new stuff with libtorrent 0.12RC2. Fixed in rev 131.

Yea you should probably post that kind of stuff on the bug tracker or the google group mailing list, so I don't miss it smile

Offline

#66 2007-03-27 23:57:21

noriko
Member
From: In My Mind
Registered: 2006-06-09
Posts: 535
Website

Re: My BitTorrent client

ok cool wink


The.Revolution.Is.Coming - - To fight, To hunger, To Resist!

Offline

Board footer

Powered by FluxBB