Registered Member
|
Hi, Is there a how-to guide for the plugin interface and make process. I can't seem to find one. Ive tried making a new plugin by copying plugin/upnp to plugin/upnp2 and changing all references to upnp to upnp2 (including file names, and using sed). I also added upnp2 to the Makefile and edited automake. What do I need to do to get upnp2 to load as a plugin?
p.s.Im an average c programmer who needs a c++ project to use the language propper. I'm keen on being a developer for ktorrent as I think its one of the best torrent clients available. Thinking about a plugin to automatically ban peers that time waste for a pre set amount of time. |
Registered Member
|
|
Moderator
|
|
Moderator
|
Maybe I should write a plugin development guide. |
Registered Member
|
Hi, Im working with a really old version of ktorrent as I dont have new kde libs etc. These are the steps that I took to duplicate upnp as upnp2.
get ktorrent-2.0.3+dfsg1 copy upnp to upnp2 sed source files in upnp2 to replace all upnp with upnp2 script to rename all filenames with upnp to upnp2 edit plugins/Makefile.am so SUBDIRS uncludes upnp2 edit configure.in so it includes AC_CONFIG_FILES([ plugins/upnp2/Makefile ]) autoremake configure admin/am_edit (to patch makefiles with moc) make make install ktorrent hopefully have upnp2 as plugin if you want the icon to show up you have to provide an icon file in apps/ktorrent and add the icon to the make system using automake or just hack the makefile |
Registered Member
|
KDE in Debian etch (4.0) is enough to compile & run 2.2.7. There is the etch backport of 2.2.6 available at: deb http://alioth.debian.org/~modax-guest/ktorrent-etch/ ./ |
Registered users: Bing [Bot], Google [Bot], Yahoo [Bot]