Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 245731

Summary: net-libs/rb_libtorrent libtorrent-rasterbar-0.14 is out
Product: Gentoo Linux Reporter: Atman Sense <atman.sense>
Component: New packagesAssignee: Raúl Porcel (RETIRED) <armin76>
Status: RESOLVED FIXED    
Severity: enhancement CC: net-p2p, pacho, theli.ua
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://www.rasterbar.com/products/libtorrent/
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: patch against rb_libtorrent-0.13.1.ebuild
py-libtorrent-0.14.ebuild

Description Atman Sense 2008-11-05 19:14:23 UTC
libtorrent-rasterbar-0.14 is out

-since rb_libtorrent-0.13.1 pkg-config name has changed from libtorrent to libtorrent-rasterbar, >=net-libs/rb_libtorrent-0.13.1 should be unmasked when all packages that depend on rb_libtorrent checked/fixed for this change

net-p2p/btg (works since 0.9.8, see bug #231105)
net-p2p/hrktorrent
net-p2p/lince
net-p2p/qbittorrent
Comment 1 Atman Sense 2008-11-05 19:15:48 UTC
Created attachment 170839 [details, diff]
patch against rb_libtorrent-0.13.1.ebuild

rb_libtorrent-0.14.ebuild
Comment 2 Raúl Porcel (RETIRED) gentoo-dev 2008-11-06 09:39:57 UTC
Nothing in the tree supports 0.14 yet...so i think this is a bit useless...
Comment 3 Atman Sense 2008-11-07 16:17:47 UTC
I added this because an ebuild in bug #231105 needs this, but if there is no other need for it you can close this bug. Or some things should be changed:
btg-0.9.7.ebuild: =net-libs/rb_libtorrent-0.13
qbittorrent-1.0.0: =net-libs/rb_libtorrent-0.13
qbittorrent-1.1.4/1.2.0: =net-libs/rb_libtorrent-0.13.1
lince-1.0.ebuild: =net-libs/rb_libtorrent-0.13

net-p2p/hrktorrent works after adding:

src_unpack() {
    unpack ${A}
    cd "${S}"

    if has_version '>=net-libs/rb_libtorrent-0.13.1'; then
        sed -i \
            -e "s:libtorrent:libtorrent-rasterbar:" \
            vars.mk \
            || die "sed failed."
    fi
}

There is a wrong depency on boost in my patch, i think the best is to change it to >=dev-libs/boost-1.35.0.

Comment 4 Atman Sense 2008-11-29 13:53:30 UTC
Created attachment 173750 [details]
py-libtorrent-0.14.ebuild

Python bindings for libtorrent.
It is difficult to add a python use flag to rb_libtorrent because py-libtorrent needs a installed libtorrent.
Comment 5 Atman Sense 2008-11-29 13:57:09 UTC
net-p2p/deluge>=1.0.3 doesn't compile with rb_libtorrent-0.14 installed. It checks if libtorrent-rasterbar.so.1 is present and wants to use the system libtorrent. But it should check for the python bindings to decide to use the internal or system one. deluge svn ebuild works with py-libtorrent-0.14 after adding       

       sed -i -e "s:deluge.libtorrent:libtorrent:" deluge/core/alertmanager.py
Comment 6 Santiago M. Mola (RETIRED) gentoo-dev 2008-12-28 21:36:11 UTC
0.14.1 is in the tree, thanks Atman!