New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
deluge: 1.1.11 -> 2.0.3 #64542
deluge: 1.1.11 -> 2.0.3 #64542
Conversation
* let's try 2.0 version now, no time better than the present! Maybe! * bz2 -> xz * maybe python3 * disable pyGtkGlade for deps, maybe not needed? * fix gtk/etc deps, deluge-gtk works! \o/ * restore installation of images and such
@GrahamcOfBorg build deluge (I'm unsure if the test currently passes or is obviously going to fail due to changes across major version, but let's find out! ^_^) |
@@ -2464,7 +2464,8 @@ in | |||
ddrutility = callPackage ../tools/system/ddrutility { }; | |||
|
|||
deluge = callPackage ../applications/networking/p2p/deluge { | |||
pythonPackages = python2Packages; | |||
pythonPackages = python3Packages; | |||
libtorrentRasterbar = libtorrentRasterbar.override { python = python3; }; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
probably better to perform this override inside the deluge expression to ensure the same python is always used.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actually, this package is already overridden in python-packages.nix
!
Thanks a lot! Quite a few of the trackers I'm using haven't whitelisted the new version yet and probably won't do so very soon because of the big changes it introduces. I would propose having deluge and deluge2 coexist for some time until it is accepted by most trackers. |
Yeah agreed with @petabyteboy I also just heard that Deluge 2 apparently performs auto-migration of its state, so you can't easily downgrade again. So this should definitely be separate from v1 for a while Ping @bricewge for maybe some help with getting the NixOS module to work |
This might be off-topic, but do you know how that happens @petabyteboy? Is it similar to the user-agent in a browser or is there something else going on? |
@dtzWill, please note that the upgrade breaks the nixos module. |
Yes, the client sends a 20 byte peer id containing implementation and version information: http://www.bittorrent.org/beps/bep_0020.html |
Hey, I just found it and needed to test (the thin client part of) it. So the GTK client works, but it is missing icons everywhere. This is what happens at startup:
I then added hicolor-icon-theme to propagated build inputs, that got rid of the error message, but icons are still missing, primarily the ones on the toolbar. |
Icons seems to appear fine outside of a Additionally, this behavior does not seem to be uncommon among GTK apps, so I wonder if somebody with more experience in this realm has some thoughts on the matter. |
Any news on this? I would love to be able to update soon! |
I would also like to update, but I would need to be able to run 1.x and 2.x in parallel because my trackers still haven't whitelisted it sigh. |
To be superseded by above PR |
Motivation for this change
Requires libtorrentrasterbar update, will link relevant PR's shortly.
Things done
sandbox
innix.conf
on non-NixOS)nix-shell -p nix-review --run "nix-review wip"
./result/bin/
)nix path-info -S
before and after)