Package Details: rtorrent-color 0.9.6-3

Git Clone URL: https://aur.archlinux.org/rtorrent-color.git (read-only)
Package Base: rtorrent-color
Description: Ncurses BitTorrent client based on libTorrent with color patch.
Upstream URL: http://rakshasa.github.io/rtorrent/
Licenses: GPL
Conflicts: rtorrent
Provides: rtorrent
Submitter: ashren
Maintainer: KopfKrieg
Last Packager: KopfKrieg
Votes: 91
Popularity: 1.298474
First Submitted: 2009-11-12 22:00
Last Updated: 2015-12-11 14:45

Required by (4)

Sources (2)

Latest Comments

KopfKrieg commented on 2015-08-12 11:14

And back to v0.9.5 as source. Fortunately someone got a backup of the original rtorrent-0.9.5.tar.gz :)

KopfKrieg commented on 2015-08-11 07:53

@madscience: As far as I can tell the original 0.9.5.tar.gz got removed from GitHub (don't ask me why, I have no idea).

In the meantime we need to use v0.9.4 (pkgbuild already got updated, even if it says v0.9.5-3 now).

madscience commented on 2015-08-11 03:01

unable to download the tar.gz for 0.9.5 from github?

KopfKrieg commented on 2015-06-17 18:05

@shellkr: Thanks, updated the pkgbuild

shellkr commented on 2015-06-17 01:48

Couldn't get the pkgbuild to work.. so made my own http://ix.io/j8V

misc commented on 2014-06-29 15:45

Updated patch section to match git changes: http://pastie.org/9337849

kozaki commented on 2014-02-24 12:07

Highly visible colors after editing them following your suggestion :-)
highlighting torrent uploading data using bold text (thank you crumbucket ;)
Nice result D4ve.

crumbucket commented on 2014-02-23 00:37

Fantastic, thank you very much D4ve!

Your efforts are greatly appreciated.

KopfKrieg commented on 2014-02-22 14:59

@crumbucket: I updated the package so every torrent uploading data is highlighted using bold text.

But: Unfinished torrents aren't highlighted (except they upload data). For this, the color-option exists. If somebody wants, the source can easily be modified to hightlight this too.

crumbucket commented on 2014-02-22 12:56

Hi, thanks for maintaining this D4ve.

The older color patch highlighted active torrents. So if all your torrents were finished downloading they would all be green, but the ones that had upload activity would be a brighter green (and also I think bolded). This was a really nice feature when looking through a long list, you could easily see which ones had activity.

The 4 colours is a nice update, but I still think it would be nice if active torrents had a highlight to them so they can be spotted among the crowd.

Anonymous comment on 2014-02-14 23:20

In case someone are unsure of the syntax...

color_inactive_fg = 3
color_dead_fg = 1
color_active_fg = 7
color_finished_fg = 2

KopfKrieg commented on 2014-02-10 11:50

Hi @all

I adopted the package and updated it. Now you can get 4 colors:
- Inactive (e.g. stopped)
- Dead (active but can't find seeders)
- Active (not finished yet)
- Finished

KopfKrieg commented on 2014-02-10 11:39

Adopted package - will update soon :)

ashren commented on 2014-02-10 06:46

Disowned package. Have no time or interest in maintaining rtorrent-color.

Fraterius commented on 2013-11-19 13:26

I've just updated arch + rtorrent-color and now network.http.ssl_verify_peer.set=0 setting does not work anymore. All the time I'm getting: SSL peer certificate or SSH remote key was not OK. It worked before the update (I need to add that I haven't updated my arch in ages before today).

Any ideas what might be the issue? Anyone else experience such behaviour?

jdc2172 commented on 2013-10-06 10:14

why is there no man page?

ashren commented on 2013-08-02 13:07

Fixed.

dag commented on 2013-08-02 12:01

this requires libsigc++

ashren commented on 2013-05-22 08:28

PKGBUILD is not out of date. Arch is using the unstable version of libtorrent.

ashren commented on 2013-05-14 10:13

The libtorrent version introduced into the repos is the unstable version. Look here: http://libtorrent.rakshasa.no/

You use this PKGBUILD until the stable version is released.


# Maintainer: Ashren <edgar [at] archlinux [dot] us>
# Contributors: Lucky <archlinux@builds.lucky.li> and Hleem
# Based on rtorrent [community]

pkgname=rtorrent-color
_pkgname="rtorrent"
#_pkgname="${pkgname%-*}" not supported by AUR ;)
pkgver=0.9.3
pkgrel=1
pkgdesc="Ncurses BitTorrent client based on libTorrent with color patch."
url="http://libtorrent.rakshasa.no"
arch=("i686" "x86_64")
license=("GPL")
depends=("curl" "libtorrent=0.13.3" "xmlrpc-c")
conflicts=("${_pkgname}")
provides=("${_pkgname}")
install="${pkgname}.install"
source=("${url}/downloads/${_pkgname}-${pkgver}.tar.gz"
"${_pkgname}-${pkgver}_canvas_color.patch")
sha1sums=('89ec5683a46f000dc23c9bf8a8808985759220e4'
'5752820e7a10df927e2e50858a60a5b2eb7e68c3')

build() {
cd "${srcdir}/${_pkgname}-${pkgver}"

patch -uNp1 -i "${srcdir}/${_pkgname}-${pkgver}_canvas_color.patch"

export CXXFLAGS="${CXXFLAGS} -fno-strict-aliasing"
./configure \
--prefix=/usr \
--enable-debug \
--with-xmlrpc-c \

make
}

package() {
cd "${srcdir}/${_pkgname}-${pkgver}"

make DESTDIR="${pkgdir}" install

# install -Dm644 doc/faq.xml "${pkgdir}/usr/share/doc/rtorrent/faq.xml"
# install -Dm644 doc/rtorrent.1 "${pkgdir}/usr/share/man/man1/rtorrent.1"
install -Dm644 doc/rtorrent.rc "${pkgdir}/usr/share/doc/rtorrent/rtorrent.rc"
}

Remember to rename rtorrent-0.9.2_canvas_color.patch to rtorrent-0.9.3_canvas_color.patch

m45t3r commented on 2013-05-14 03:40

New version of libtorrent (0.13.3) on repos break package compilation. Please fix.

Nothing4You commented on 2013-04-06 07:23

sorry, accidently marked wrong package

rndstr commented on 2012-06-10 08:38

Seems to be looking for `du` in the wrong place while creating the package. Adding the symlink works: `ln -sf /bin/du /usr/bin/du`


==> Tidying install...
-> Purging unwanted files...
-> Compressing man and info pages...
-> Stripping unneeded symbols from binaries and libraries...
==> Creating package...
/usr/bin/makepkg: line 1129: /usr/bin/du: No such file or directory
/usr/bin/makepkg: line 1130: * 1024 : syntax error: operand expected (error token is "* 1024 ")
==> Finished making: rtorrent-color 0.9.2-1 (Sun Jun 10 10:23:24 CEST 2012)
:: Discarding sources...
:: Installing package...
error: : package not found

ashren commented on 2012-05-06 18:19

Thanks Lucky and Hleem.

Package updated.

Lucky commented on 2012-05-05 23:36

@x33a: I don't use torrent very often right now (switched to usenet - sabnzbd), but i will be come back with a new rtorrent-extended package | for now i would use rtorrent-vi-color, because its the same like rtorrent-color but i like vi keybindings.

Lucky commented on 2012-05-05 23:22

- Package with based on rtorrent. (remove -lpthread and -fpermissive)
- Build without gcc47 patch
- Rebase trerront (hleem) canvas-fix, because i did like the git diff format - but thank you for providing it (btw. i also worked on a 0.9.2 canvas patch, but i forgot remove the if( pos >= m_canvas->height() ) break; & position = stuff ;)

http://hydra.lky.cc/lucky/pkgbuild/sources/rtorrent-color/rtorrent-color-0.9.2-1.src.tar.gz

hleem commented on 2012-05-05 21:19

Hi! I builded with new color patch (without rtorrent-0.8.9_buildfix_gcc47.patch).
Please check it.

PKGBUILD:

pkgname=rtorrent-color
_pkgname="rtorrent"
pkgver=0.9.2
pkgrel=1
pkgdesc="Ncurses BitTorrent client based on libTorrent with color patch."
url="http://libtorrent.rakshasa.no"
arch=("i686" "x86_64")
license=("GPL")
depends=("curl" "libtorrent>0.12.9" "xmlrpc-c")
conflicts=("${_pkgname}")
provides=("${_pkgname}")
install="${pkgname}.install"
source=("${url}/downloads/${_pkgname}-${pkgver}.tar.gz"
"http://trerront.googlecode.com/files/rtorrent-0.9.2-canvas-fix.patch")
sha1sums=("2a642d722745091265037ed8929a23c237a3b99f"
"7d8c5002db1d167b13e689aea8743d902ca2f360")

build() {
cd "${srcdir}/${_pkgname}-${pkgver}"

patch -p0 < "${srcdir}/rtorrent-0.9.2-canvas-fix.patch"

export CXXFLAGS="${CXXFLAGS} -fno-strict-aliasing -fpermissive"
export LIBS="${LIBS} -lpthread"
./configure \
--prefix=/usr \
--enable-debug \
--with-xmlrpc-c \

make
}

package() {
cd "${srcdir}/${_pkgname}-${pkgver}"

make DESTDIR="${pkgdir}" install

install -Dm644 doc/faq.xml "${pkgdir}/usr/share/doc/rtorrent/faq.xml"
install -Dm644 doc/rtorrent.1 "${pkgdir}/usr/share/man/man1/rtorrent.1"
install -Dm644 doc/rtorrent.rc "${pkgdir}/usr/share/doc/rtorrent/rtorrent.rc"
}

ashren commented on 2012-05-04 21:05

Yep, no changelog. The code has certainly changed though.

During the next couple of days I'll try to adjust the patch for the new code.

If anyone succeeds before me please send me the patch and I'll update the package.

misc commented on 2012-05-04 20:46

Only thing that I found resembling a changelog is the commit history on github: https://github.com/rakshasa/rtorrent/commits/master

x33a commented on 2012-05-04 16:44

Can't find a changelog for 0.9.2, any idea about the changes? Also, what's up with jari skipping version numbers!

misc commented on 2012-05-04 10:34

0.9.2 is out.

x33a commented on 2012-04-30 04:03

@ lucky, what are you using instead of this package? Just curious.

ashren commented on 2012-04-29 16:55

@lucky
Back to me then. Thanks for taking care of it. :)

ashren commented on 2012-04-29 16:54

@ashren:
Back to me then. Thanks for taking care of it. :)

Lucky commented on 2012-04-29 15:36

@ashren
please adopt ;), its not the time but i don't use this package so you are a better maintainer. I only maintain to provide an update.

ashren commented on 2012-04-29 13:49

@lucky
Sure, if you don't the have time, I'll take a turn maintainin'.

Lucky commented on 2012-04-29 12:21

@ashren
thanks for the patches, do you want adopt this package again?

@all
builds with warnings, but rtorrent works fine so its fixed for now.

ashren commented on 2012-04-29 09:59

Add "-fpermissive" to the CXXFLAGS in PKGBUILD:

diff PKGBUILD PKGBUILD.old
28c28
< export CXXFLAGS="${CXXFLAGS} -fno-strict-aliasing -fpermissive"
---
> export CXXFLAGS="${CXXFLAGS} -fno-strict-aliasing"


http://gcc.gnu.org/gcc-4.7/changes.html

Include unistd.h in thread_base.h:

diff src/rtorrent-0.8.9/src/thread_base.h ../rtorrent-color.new/src/rtorrent-0.8.9/src/thread_base.h
42a43
> #include <unistd.h>

And it will build (with warnings).

Here's the patch for the unistd.h bit:

--- ../rtorrent-color/src/rtorrent-0.8.9/src/thread_base.h 2011-04-05 12:26:11.000000000 +0200
+++ ../rtorrent-color.new/src/rtorrent-0.8.9/src/thread_base.h 2012-04-29 11:20:18.216406858 +0200
@@ -40,6 +40,7 @@
#include <pthread.h>
#include <sys/types.h>
#include <torrent/thread_base.h>
+#include <unistd.h>

#include "rak/priority_queue_default.h"
#include "core/poll_manager.h"

ashren commented on 2012-04-29 09:45

Add "-fpermissive" to the CXXFLAGS in PKGBUILD:

diff PKGBUILD PKGBUILD.old
28c28
< export CXXFLAGS="${CXXFLAGS} -fno-strict-aliasing -fpermissive"
---
> export CXXFLAGS="${CXXFLAGS} -fno-strict-aliasing"


http://gcc.gnu.org/gcc-4.7/changes.html

Include unistd.h in thread_base.h:

diff src/rtorrent-0.8.9/src/thread_base.h ../rtorrent-color.new/src/rtorrent-0.8.9/src/thread_base.h
42a43
> #include <unistd.h>

And it will build (with warnings).




Lucky commented on 2012-04-25 16:02

@TheLemonMan
thanks for the info, but could not fix it yet. It's a "upstream" (gcc4.7?) bug, building stock rtorrent from community also fails.

If anyone can provide patches for 0.8.9 i will include it. Maybe this weekend i had time to watch at this.

TheLemonMan commented on 2012-04-24 13:31

Build fails. Heres the log http://sprunge.us/cIag

Lucky commented on 2012-01-22 04:00

@x33a
thanks for info, fixed.

x33a commented on 2011-12-14 17:11

build fails with

/usr/bin/ld: libsub_root.a(thread_base.o): undefined reference to symbol 'pthread_create@@GLIBC_2.1'
/usr/bin/ld: note: 'pthread_create@@GLIBC_2.1' is defined in DSO /lib/libpthread.so.0 so try adding it to the linker command line
/lib/libpthread.so.0: could not read symbols: Invalid operation
collect2: ld returned 1 exit status
make[3]: *** [rtorrent] Error 1
make[3]: Leaving directory `/tmp/packerbuild-1000/rtorrent-color/rtorrent-color/src/rtorrent-0.8.9/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/packerbuild-1000/rtorrent-color/rtorrent-color/src/rtorrent-0.8.9/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/packerbuild-1000/rtorrent-color/rtorrent-color/src/rtorrent-0.8.9'
make: *** [all] Error 2
==> ERROR: A failure occurred in build().
Aborting...
The build failed.

Adding export LIBS="${LIBS} -lpthread" fixes the issue.

--- PKGBUILD 2011-07-05 05:10:02.000000000 +0530
+++ PKGBUILD1 2011-12-14 22:21:59.553511157 +0530
@@ -28,6 +28,7 @@
patch -uNp1 -i "${srcdir}/${_pkgname}-${pkgver}_canvas_color.patch"

export CXXFLAGS="${CXXFLAGS} -fno-strict-aliasing"
+ export LIBS="${LIBS} -lpthread"
./configure \
--prefix=/usr \
--enable-debug \

Lucky commented on 2011-07-04 23:49

Thank you hleem for providing a new canvas_color.patch.
I update rtorrent-color, anyone want to adopt this package?

hleem commented on 2011-07-04 20:18

ashren! here is a new patch. check it please.

PKGBUILD:

pkgname=rtorrent-color
pkgver=0.8.9
pkgrel=2
pkgdesc="Ncurses BitTorrent client based on libTorrent with color patch."
arch=('i686' 'x86_64')
url="http://libtorrent.rakshasa.no"
install=$pkgname.install
license=('GPL')
depends=('libtorrent=>0.12.9' 'curl>=7.14.3' 'xmlrpc-c')
source=(http://libtorrent.rakshasa.no/downloads/rtorrent-$pkgver.tar.gz http://trerront.googlecode.com/files/rtorrent-0.8.9-canvas-fix.patch)
conflicts=('rtorrent')
provides=('rtorrent')

md5sums=('629247636cb1210663b52dadbd040a6c'
'5d9cbd7245bf516eea88869c37fb98fa')

build() {
cd "$srcdir/rtorrent-$pkgver"
patch -Np0 -i $srcdir/rtorrent-0.8.9-canvas-fix.patch
CXXFLAGS="$CXXFLAGS -fno-strict-aliasing" \
./configure --prefix=/usr --disable-debug --with-xmlrpc-c || return 1
make || return 1
make DESTDIR="$pkgdir" install
}

ashren commented on 2011-06-26 21:01

Disowning package. Don't have the time to rewrite patch.

ashren commented on 2011-05-10 17:53

This package is not out of date. The stable version is still 0.8.6.

ashren commented on 2011-05-10 08:56

@lucky: Done.

Lucky commented on 2011-05-07 19:48

@ashren

please remove ncurses58.patch, its no more needed.

ashren commented on 2011-03-14 09:47

It should be working now.

Anonymous comment on 2011-03-12 00:10

Not sure what I'm doing wrong, but running:

tar xvzf rtorrent-color.tar.gz just gets me:

gzip: stdin: not in gzip format
tar: child returned status 1
tar: error is not recoverable: exiting now

ashren commented on 2011-03-04 14:02

hmo_gsm: Done.

Anonymous comment on 2011-03-03 13:40

the ncurses58.patch should be applied to make this work with ncurses-5.8

http://projects.archlinux.org/svntogit/community.git/tree/rtorrent/repos/community-testing-x86_64/ncurses58.patch

Lucky commented on 2011-01-21 01:15

@thechitowncubs

Control + Q = quit

http://libtorrent.rakshasa.no/wiki/RTorrentUserGuide

Anonymous comment on 2011-01-21 00:47

Control + C to quit does not work ashren.

Not sure of proper way of filing bug.

anonymous_user commented on 2010-11-06 16:53

Thanks.

Lucky commented on 2010-11-06 14:39

@anonymous_user
http://wiki.lucky.li/archlinux/pkgbuilds/rtorrent-extended#interface // canvas_color.patch

anonymous_user commented on 2010-11-06 14:28

Atfer installing rtorrent-color, are there any additional steps necessary to get color? Im sure my terminals, sakura and Terminator, both support color but I don't see any.

Lucky commented on 2010-11-01 19:07

0.8.7 is not stable yet, so UnFlag Out-of-date.

Anonymous comment on 2010-11-01 06:21

http://rakshasa.no/pipermail/libtorrent-devel/2010-October/002539.html

Lucky commented on 2010-09-15 03:38

brenix: nah thats not the real "compact patch". :/
Its the karabaja mod with canvas color.

karabaja mod PKBUILD is there: http://aur.archlinux.org/packages.php?ID=36604

brenix commented on 2010-09-15 02:28

wzff: I think I found the "compact patch" you were talking about. It's not exactly one line, but it compacts the view a bit
The patch is located here: http://libtorrent.rakshasa.no/ticket/2171

If you want the PKGBUILD I used, its located here:
http://pastebin.com/EmP7gVpi

brenix commented on 2010-09-15 02:27

wzff: I found the "compact patch" you were talking about, and it looks great!
The patch is located here: http://libtorrent.rakshasa.no/ticket/2171

If you want the PKGBUILD I used, its located here:
http://pastebin.com/EmP7gVpi

brenix commented on 2010-09-15 02:25

wzff: I found the "compact patch" you were talking about, and it looks great!
The patch is located here: http://libtorrent.rakshasa.no/ticket/2171

If you want the PKGBUILD I used, its located here:
http://pastebin.com/EmP7gVpi

Anonymous comment on 2010-05-14 20:36

i can't seem to get rtorrent colors working in tmux (screen-256color), does anyone have any tips for that?

Anonymous comment on 2010-05-03 09:04

I wonder if someone can also restore the compact patch, which was posted on rakshasa's trac ages ago, but removed somehow
the compact patch takes only one line per torrent, which is imo better... maybe one can make an option for that in the rc file as well

ashren commented on 2010-04-13 11:52

I guess someone committed the updated patch for me.

:)

Lucky commented on 2010-04-13 11:42

@mayweed
a ticket right now for this exist: http://libtorrent.rakshasa.no/ticket/1382

mayweed commented on 2010-04-13 11:39

Nice patch, have you tried to submit it upstream to rakshasa? It would be great if such a patch could be commited in the mainline tree of rTorrent.

Anonymous comment on 2010-04-01 15:17

Lucky: thanks, I recompiled libtorrent and rtorrent works now! :)

Lucky commented on 2010-04-01 15:03

I don't use this pkg, but libtorrent needs openssl... so you need a recompiled of the libtorrent pkg.
http://www.archlinux.org/packages/community/x86_64/libtorrent/

ashren commented on 2010-04-01 14:58

cinan: You're using testing?

http://bbs.archlinux.org/viewtopic.php?id=94252

I'll wait a bit and see how the openssl/heimdal challenge turns out.

Anonymous comment on 2010-04-01 14:36

I've just recompiled rtorrent-color, but there's still the error.
$ pacman -Q openssl
openssl 1.0.0-2
$ ldd /usr/bin/rtorrent
.
.
libcrypto.so.0.9.8 => not found
.
.

Can I compile rtorrent without encryption support?
In arch-dev-public ML was announced openssl1.0 rebuild; many packages need to be recompiled (and probably their PKGBULDs edited ) and I'm sure rtorrent is among them.

ashren commented on 2010-04-01 13:49

cinan: Couldn't reproduce your error. Recompiled to make sure and enabled encryption.

Anonymous comment on 2010-04-01 11:51

after openssl upgrade:
rtorrent: error while loading shared libraries: libcrypto.so.0.9.8: cannot open shared object file: No such file or directory