Bug 229480

Summary: changes to extragear libbtcore break compilation of kget
Product: [Applications] kget Reporter: Robert Marmorstein <robert>
Component: generalAssignee: KGet authors <kget>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: Uses the new function names

Description Robert Marmorstein 2010-03-05 02:39:19 UTC
Version:            (using Devel)
Compiler:          gcc-4.4.3 
OS:                Linux
Installed from:    Compiled sources

The bittorrent plugin for kget depends on a library from extragear called libbtcore which had an API change in the last few weeks.  They introduced UTP support and renamed a bunch of the external functions.  They also removed the "isOk" function from the server class (instead the init function returns a bool).

This broke compilation of kget which is still using the old function names and isOK.
Comment 1 Robert Marmorstein 2010-03-05 02:40:59 UTC
Created attachment 41340 [details]
Uses the new function names

This patch fixes the problem for me.  I've tested it and kget (all of kdenetwork in fact) compiles. I've also run kget and used it to torrent an Archlinux boot image, so it seems to be working fine.  Should I commit to svn?
Comment 2 Lukas Appelhans 2010-03-05 12:56:19 UTC

*** This bug has been marked as a duplicate of bug 229425 ***