Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 407525 - rtorrent-0.9.0/libtorrent-0.13.0 colour commands do not work any more.
Summary: rtorrent-0.9.0/libtorrent-0.13.0 colour commands do not work any more.
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: Normal normal (vote)
Assignee: Gentoo net-p2p team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-09 13:53 UTC by Andreas Proteus
Modified: 2012-04-08 18:25 UTC (History)
5 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Fixed version of file rtorrent-0.9.0-canvas-fix.patch (fixed-rtorrent-0.9.0-canvas-fix.patch,9.75 KB, patch)
2012-04-08 08:44 UTC, Fabiano
Details | Diff
Patch to fix the patch-file rtorrent-0.9.0-canvas-fix.patch (patch-to-fix-patch-rtorrent-0.9.0-canvas-fix.patch,1.83 KB, patch)
2012-04-08 08:45 UTC, Fabiano
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Proteus 2012-03-09 13:53:25 UTC
After updating to rtorrent-0.9.0/libtorrent-0.13.0 the colour commands such as:
active_fg_color=1, done_fg_color=2 etc., 
are rejected with: 

rtorrent: Error in option file: ~/.rtorrent.rc:7: Command "active_fg_color" does not exist

The colour options work with the previous  rtorrent-0.8.9/libtorrent-0.12.9.

rtorrent in both versions has  been compiled with USE="color".
Comment 1 Weedy 2012-03-14 06:27:58 UTC
rtorrent: Error in option file: ~/.rtorrent.rc:106: Command "active_fg_color" does not exist.
=== Window terminated (Wed Mar 14 02:26:00 2012) ===

Status: CONFIRMED
Comment 2 Stanislav Ochotnicky (RETIRED) gentoo-dev 2012-03-15 08:23:50 UTC
Indeed it seems color patch stopped working with 0.9.0. As a temporary workaround, please comment-out color options in your configs for now
Comment 3 Weedy 2012-04-04 17:08:28 UTC
dot dot dot, any news?
Comment 4 Andreas Proteus 2012-04-04 18:59:19 UTC
I gave up on this ebuild.

I installed rtorrent + pyroscope in my HOME.
see: http://code.google.com/p/pyroscope/wiki/PyroScope
It has colours and lots of other goodies.
I hope to see it in portage one day.
Comment 5 Fabiano 2012-04-08 08:44:44 UTC
Created attachment 308185 [details, diff]
Fixed version of file rtorrent-0.9.0-canvas-fix.patch
Comment 6 Fabiano 2012-04-08 08:45:49 UTC
Created attachment 308187 [details, diff]
Patch to fix the patch-file rtorrent-0.9.0-canvas-fix.patch
Comment 7 Fabiano 2012-04-08 08:48:26 UTC
The problem is within the patch file that adds the color functionality. The version 0.9.0 of the patch (file rtorrent-0.9.0-canvas-fix.patch) lacks an important chunck of lines to be added to the file command_network.cc which controls what keywords are valid on the config file, so without these lines the config file with the color configuration cannot be parsed.

I fixed the patch adding the required lines, it works now.
Comment 8 Stanislav Ochotnicky (RETIRED) gentoo-dev 2012-04-08 18:25:46 UTC
I have updated to 0.9.1 (fixed some other bugs), but I dropped color support. It was slowing updates when new version was coming out. Whoever wants this badly, should get in touch with upstream directly to add support properly.

I apologize for any inconvenience, but I believe working B&W rtorrent is better than no rtorrent.