FS#12764 - Deluge should depends on libtorrent-rasterbar
Attached to Project:
Arch Linux
Opened by A. K. (Misery) - Monday, 12 January 2009, 17:07 GMT
Last edited by Hugo Doria (hdoria) - Wednesday, 18 March 2009, 12:05 GMT
Opened by A. K. (Misery) - Monday, 12 January 2009, 17:07 GMT
Last edited by Hugo Doria (hdoria) - Wednesday, 18 March 2009, 12:05 GMT
|
Details
Deluge should depends on libtorrent-rasterbar package like
Debian's package
(http://packages.debian.org/experimental/deluge).
It will compile and link libtorrent-rasterbar by itself on every build of deluge and that package will have a copy of that library. I think it is better if it just link to libtorrent-rasterbar package instead. |
This task depends upon
Not even the upstream provided deluge.PKGBUILD has it listed as a dependency. http://download.deluge-torrent.org/arch/1.1.2/deluge-1.1.2.pkgbuild
Debian does it is not a reason for everyone else to do it
They have it in their own source tree because big distros (like debian) didn't had a package for that. Debian has a package for libtorrent-rasterbar now - so there is no need to build the included library in deluge. ;-)
http://dev.deluge-torrent.org/browser/trunk/libtorrent
It's only a hint that it is possible to switch from internal library to system library!
I rebuild libtorrent-rasterbar 0.14.2 with --enable-python-binding and link deluge against it instead of building included lib.
deluge package:
Installed Size: 16143,00 K (included lib)
Installed Size: 9852.00 K (use rasterbar package)
And updating deluge is much more faster now because it only needs to byte-compile the python scripts.
http://dev.deluge-torrent.org/wiki/About
Deluge is a full-featured BitTorrent client for Linux, Unix and Windows. It uses libtorrent in it's backend and PyGTK for it's user interface.
And libtorrent links to http://www.rasterbar.com/products/libtorrent/
Though it might be problematic that deluge is maintained in extra, and libtorrent-rasterbar in community.
To make things worse, both arch packages are also out-of-date.
And the library itself uses that name, too:
$ cat $srcdir/libtorrent-rasterbar.pc
[...]
package=libtorrent-rasterbar
Name: libtorrent-rasterbar
Description: Bittorrent library.
Version: 0.14.2
Libs: -L${libdir} -ltorrent-rasterbar
[...]