Page 5 of 28

Re: Unofficial Deluge 2.0.x for Windows installer

Posted: Thu Oct 15, 2020 11:40 am
by mhertz
I sent you a PM yesterday I think you've missed(as board states you've not read it, and because of your follow-up 2 posts/questions here afterwards).

Re: Unofficial Deluge 2.0.x for Windows installer

Posted: Fri Oct 16, 2020 1:56 am
by petersasi
You have to run the appropriate (not the 64 bit one) vcvars bat file before starting the build. Also, gcc is not necessary, you build using msvc on Windows.
jpsdr wrote:Unfortunately it fails during meson build saying there is no compiler avaible, saying that gcc command fails with "file not found" even after putting gcc in the path... :(

Re: Unofficial Deluge 2.0.x for Windows installer

Posted: Fri Oct 16, 2020 1:57 am
by petersasi
3.8 should work
jpsdr wrote:For personnal use, i allready have Visual Studio 2019 and msys2 installed.

I've downloaded (not installed yet) the following :
python-3.6.8.exe
python-3.7.9.exe
python-3.8.6.exe
Win32OpenSSL-1_1_1h.exe
libtorrent-rasterbar-1.2.10.tar.gz

Also begin to follow what's here : https://github.com/wingtk/gvsbuild
I've cloned the repository gvsbuild.

That's the point i am for now. I don't know what python i should install, meaning, the safest...

Re: Unofficial Deluge 2.0.x for Windows installer

Posted: Fri Oct 16, 2020 2:00 am
by petersasi
It is really hard to help you with these reports that have no information about what failed, error messages, etc. ;)
jpsdr wrote:Ok, i've been able to build the GTK. Try to do what is described here https://dev.deluge-torrent.org/ticket/3201#comment:9 but i don't realy understand, not clear, not working (not sure i'm doing what it needs).

Re: Unofficial Deluge 2.0.x for Windows installer

Posted: Fri Oct 16, 2020 2:02 am
by petersasi
Have you taken a look at the bat file in the OpenSSL-build folder? That exactly just installs it and copies two DLLs out of it.
jpsdr wrote:I'm using this as base : https://github.com/doadin/DelugeBuildFromSource

I manage to build each step, but i don't understand some parts.
Is building OpenSSL necessary ? Is it not just possible to install OpenSSL ?
One libtorrent is build, i don't see where it's used in the deluge build.
Same for GTK.
Hardcoded path in scripts are realy annoying... :(
Especialy when you've installed things some other place because the disk is full.

Re: Unofficial Deluge 2.0.x for Windows installer

Posted: Fri Oct 16, 2020 2:04 am
by petersasi
JGAS2 wrote:Python 3.9.0 and OpenSSL 1.1.1i are available for next build... ;)
You mean 1.1.1h,right? I have not seen i in the changelog yet...
3.9 may prove a bit painful if any of the needed components do not yet have the py39 version available, we will see.

Re: Unofficial Deluge 2.0.x for Windows installer

Posted: Fri Oct 16, 2020 6:45 am
by JGAS2
petersasi wrote:
JGAS2 wrote:Python 3.9.0 and OpenSSL 1.1.1i are available for next build... ;)
You mean 1.1.1h,right? I have not seen i in the changelog yet...
3.9 may prove a bit painful if any of the needed components do not yet have the py39 version available, we will see.
I saw it here (don't mind the version in URL):
https://kb.firedaemon.com/support/solut ... or-windows
No idea if it is a fake or not but it is dated Oct. 9th

Re: Unofficial Deluge 2.0.x for Windows installer

Posted: Fri Oct 16, 2020 7:14 am
by Jerrk
I've ran into a couple issues of missing icons and the entire window moving when a torrent file is added.
I can no longer reliably add icons to trackers either, neither with .ico or .png, only some of them work while some do not.

these are my install settings:
https://i.imgur.com/lHD6k14.png

clearing search arrow is missing:
https://i.imgur.com/xZm92fA.png

priority for normal is missing:
https://i.imgur.com/5YvJKvE.png

folder icons, video icons, image icons, etc. are all missing, .nfo and .txt however still exist:
https://i.imgur.com/pjKSaOP.png

missing some icons from the add torrent dialog:
https://i.imgur.com/tPmBkCu.png

Window moving when a torrent is added:
https://i.imgur.com/J5mfkbn.gif


Thanks for picking up the project :)

Re: Unofficial Deluge 2.0.x for Windows installer

Posted: Fri Oct 16, 2020 7:36 am
by petersasi
JGAS2 wrote:
petersasi wrote:
JGAS2 wrote:Python 3.9.0 and OpenSSL 1.1.1i are available for next build... ;)
You mean 1.1.1h,right? I have not seen i in the changelog yet...
3.9 may prove a bit painful if any of the needed components do not yet have the py39 version available, we will see.
I saw it here (don't mind the version in URL):
https://kb.firedaemon.com/support/solut ... or-windows
No idea if it is a fake or not but it is dated Oct. 9th
For now we are using the version that does not depend on msvc runtime.

I did put it on to do to investigate if we could use the smaller one.

Re: Unofficial Deluge 2.0.x for Windows installer

Posted: Fri Oct 16, 2020 7:58 am
by jpsdr
You're right, not clear message. For now, i've also help from mhertz.
Just a warning about Python 3.9 : No Windows 7 anymore, it's clearly stated here : https://www.python.org/downloads/windows/
So, after, it's up to you if you want to keep your builds Windows 7 compatible or not.