On 10/19/2022 11:22 AM, David Ackrill wrote:
On Wed, Oct 19, 2022 at 07:02 AM, John E. Malmberg wrote:
In my previous message, I meant not using a commercial Python for creating
a single windows package containing Python, Gtk+, D-Rats, and lzhuf.
I'm going to expose my ignorance here, but what does that mean for ordinary Windows users that don't use Python or even know what Gtk+ means, please?
In order to use D-Rats, you need a python interpreter with the GTK+ library, or it does work.
GTK+ is the graphics library that is used on Linux and was available for almost all platforms. It currently is only available on Microsoft Windows pre-built as part of the Msys2 package, not as a native package.
The older D-Rats for Microsoft Windows used a bundling procedure to bundle that all together in to an easy to install executable.
Now none of those components are supported anymore, and are no longer even available on newer Linux distribution.
So we can not run the old d-rats on most of the current Linux distros.
So I did a significant re-work of D-Rats so that it would run on a current Linux distribution. It was not practical to make it compatible with the older python environment.
The current problem is that there are currently too many missing pieces to creating the single Microsoft Windows package with the newer D-Rats.
There are many sites on the internet that claim to provide components, but you really only want to install programs form trusted locations if possible.
So far I have found only three trusted ways that for free, you can get the components needed to run D-Rats on Microsoft Windows.
1. Windows Subsystem for Linux if you are running 64 bit Windows 10 new enough to support it.
2. Cygwin. This has a bit of a learning curve
3. Msys2 mingw64. This is what I am using on Windows 7.
It may be possible to build a single Windows package using Msys2 mingw64. I do not know yet if the resulting package will work, and really do not have the time to spend on it, because there are other fixes and enhancements that D-Rats needs.
There may be other options, but again, I have already spent too much time looking for them.
If someone can start doing that research and testing, that would be great.
Does it mean that we won't be able to use Drats if we have an older
version of Windows than version 10, or just that we won't be able to
instal updates?
What it means that if you do not have some type of Linux emulation with graphics on Windows 7 or Windows 8 now, you may not be able to install it later as the third party packages needed by D-Rats may be removed from the trusted distribution sites. And I do not know if it is already too late.
PS - I'm using Windows 10 pro myself, but I guess that one day that
will be obsolete as well.
I plan to run Windows 7 on my testing laptop as long as the hardware supports it. At some point I may install Linux on it.
Just be prepared to be able to do a complete re-image of the system from recovery media if it gets something nasty, and you do not keep anything that you can not afford to lose or get revealed on your systems.
What is really the difference between something nasty encrypting your files, or the hard drive just dying? Pretty much the same risk and same things needed for recovery.
73,
-John