-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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 2 upgrade to python 3.10 fix for DSM 7 #4153
Conversation
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
@hgy59 I request your opinion about Boost upgrade. If I remember well, version is stuck because of others applications, right? |
Deluge wizard provides instruction I wonder if it is still relevant for version 2: |
25e0670
to
e130a8c
Compare
Deluge v2.x is still based on daemon + client. Of course, daemon + delugeweb client still works. Most people will use this with synology nases, as the syno spksrc packages both. |
check fails details as of 10/25/2020:
@ymartin59 @hgy59 may I have your opinion about this? |
Don't worry about |
@hgy59 My fault.... we should create a common "review checklist" in wiki so that no point is missed. |
@ymartin59 @hgy59 ok about that salt-minion. About qoriq and evansport, is it OK to drop support because of libtorrent? Maybe it's going to improve with DSM7 for those 2 archs, if they get a more recent cross compilation toolkit. What do you think? |
c72fc7a
to
f48567f
Compare
@ymartin59 @hgy59 after clean-up of unsupported arches, clean-up of wizard text, all seems pretty much OK. Ready for review? |
@hgy59 anything that still needs doing here that I can help with? |
There is no official v2.0.4 yet. for me the deluge projects seems dead, as since 2019-06-12 there is no aticivity under https://git.deluge-torrent.org/deluge |
@hgy59 you're right about the project being abandoned - so wouldn't it then make sense to also close this ticket? Interested parties could still search for it but maybe nobody should be encouraged to actually use it. Plus this would clean up one more item on the open PR list. |
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.
Thanks for contribution. I have minor improvements proposals.
as #4539 is now on the master branch, this PR needs some rework. |
- build libtorrent libraries - fix libtorrent build of wheel - update python to Python 3.8 (Python 3.10 does not work with current boost version) - move dependency of cross/libtorrent from cross/deluge to spk/deluge to fix build of wheel
- separate pure from cross wheels - temp. deactivate rencode==1.0.6
- add python 3.10 path to boost_1.70 -
@th0ma7 I could not find any branch in your repo related to delugepy. |
@hgy59 You seem to be getting the same problem as me with SABnzbd, cryptography suddenly fails to build.. |
@hgy59 seems I was able to push changes in... Seems I had first to use EDIT: I've now pushed in what was pending on my drive, I'll have to revisit later on over the week-end to confirm it's all working as intended. |
@hgy59 what's now left is getting rid of
I think option 1) would bring more benefit as it can be reused on any package aftewards. On the other hand we must be careful as depending how it's done it may impact spechial caracters (e.g. I'll give it a shot at option 1) and see how it turns out. Worst case we can simply undo it afterwards. |
A follow-up, the good:
The bad:
The ugly:
|
A subsequent follow-up: The good:
The bad:
The ugly :
|
@th0ma7 as a DSM7 user, Deluge is really missing me since the upgrade, wouldn't it be better to have a version supporting the latest version of DSM only rather than a version less and less used and outdated ? |
@Strangelovian can you please allow edit from maintainers to simplify the process of updating this PR? Thnx in advance. |
Co-Authored-by: hgy59 <[email protected]> Co-Authored-by: Christophe David <[email protected]>
it's already allowed, please check |
Thnx @Strangelovian but I was having too many issues trying to update from your PR. As such I've started a nwe one and imported all changes as co-authored commit and resumed work from there using a clean and rebased branch (PR #5398). It is now much closer from a release as latest version of binaries do compile and run properly (while still missing proper startup mechanism). Feel free to chim-in if you have spare cycles and thnx again for your efforts on this. |
* deluge: Import from PR #4153 with added changes Co-Authored-by: hgy59 <[email protected]> Co-Authored-by: Christophe David <[email protected]> * deluge: Add requirements specific to DSM6 vs DSM7 * deluge: Align boost & libtorrent build options * deluge: Use master on original rencode source code * start-stop-status: Allow multiple daemon startup * deluge: Add rencode requirement file as abi3 compatible * boost_1.78: Simplify re-using existing env variables * deluge: permissions changes specific to version < DSM7 only * deluge: Add french description * deluge: Add precisions related to permissions DSM6 vs DSM7 * deluge: Fix DESCRIPTION field so it show properly in french * deluge: Update wizard and service-setup.sh based on sabnzbd * deluge: Update to latest version of core configuration file * deluge: Add GeoIP wheel * deluge: Refining install+upgrade scripts and wizard * start-stop-status: Revert log keeping * deluge: Fix DSM6 upgrade * sabnzbd: Ensure group has write access to shared folder sub-dirs * deluge: Do not migrate data as too prone to errors * installer.dsm6: Fix permission testing strings * deluge: Optimize installation steps * sabnzbd: Use install vs mkdir to ensure group is properly set * sabnzbd: Forgot to specify group for DSM>=7 for isntall cmd Co-authored-by: hgy59 <[email protected]> Co-authored-by: Christophe David <[email protected]>
Motivation: Have the deluge 2.0 upgrade functional with python 3.7
Linked issues: #4134, #4158, closes #4701, hopefully closes #5177
Update as deluge 2.0.5 was officially released in Dec 2021
Notes:
CAVEAT PLEASE READ:
deluge daemon v2.0.3 won't start because of this issue: https://dev.deluge-torrent.org/ticket/3278
The fix is already done here deluge-torrent/deluge@1b4ac88
But no release was made since 2.0.3 so I forked it to have the last update: https://github.com/Strangelovian/deluge/tree/2.0.4-str0
Now, I will ask the deluge team to build an official 2.0.4 to avoid using my fork. https://forum.deluge-torrent.org/viewtopic.php?f=8&t=55767
Normally this should be quick to do, even though the deluge developments have really slowed down recently.
Checklist
all-supported
completed successfullyupgrade to boost 1.67
upgrade to libtorrent 1.2.9
build from deluge bleeding edge 2.0.4
update deluge icon
adjust core.config with a single port, as required by deluge version 2.x