-
Notifications
You must be signed in to change notification settings - Fork 997
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix and update Windows build scripts by DivingDuck
* add pycairo for running projector * add simplejson polygon3 * Replace time.clock() with time.perf_counter() * Replace wx.FutureCall with wx.CallLater * Bundle GTK3 runtime library to Pronterface for Windows 10-64bit * Make GTK3 a submodule of Printrun, delete GTK3 files from this repository, change buildpackage-win.yml to integrate GTK3 as submodule and compile the correct version GTK3 version for 32-/64-bit or as external reference via windows system environment path * Add Python 3.10 to github Workflow (windows) * cairosvg 2.6.0 have problems with locale, so we will stay to version 2.5.2 as workaround for now * some cleaning for release_windows.bat and update of information in dummy file VERSION
- Loading branch information
1 parent
2e2adc6
commit 0c296ba
Showing
10 changed files
with
279 additions
and
89 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[submodule "PrintrunGTK3"] | ||
path = PrintrunGTK3 | ||
url = https://github.com/DivingDuck/PrintrunGTK3 |
Submodule PrintrunGTK3
added at
e26b8d
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
This is a dummy file for pyinstaller to compile Pronterface.Cairocffi and cairosvg won't find | ||
the GTK3 runtime libraries needed for running Projector under Windows w / o this file. | ||
|
||
You can find a suitable version of GTK3 for Windows 10 here : https://github.com/DivingDuck/PrintrunGTK3. | ||
For further information please follow the links.PrintrunGTK3 is a submodule of Printrun. | ||
|
||
The DLL binaries are based on https ://github.com/tschoonj/GTK-for-Windows-Runtime-Environment-Installer | ||
for 64 Bit version and http ://www.tarnyko.net/dl/gtk.htm for 32 Bit version and are not modified. | ||
|
||
Please run following git commands in case you can't find the directory 'PrintrunGTK' in your repository: | ||
git checkout master | ||
git submodule add https ://github.com/DivingDuck/PrintrunGTK3 | ||
git submodule update --init --recursive | ||
|
||
For updating an existing submodule to latest version run : | ||
git submodule update --remote | ||
|
||
Compiling Pronterface manually : | ||
Follow the instructions in release_windows.bat and activate the correct pyi - makespec version depending on your needs. | ||
|
||
|
||
List of DLL's for Projector based on Windows 10 for 64bit program version: | ||
-------------------------------------------------------------------------- | ||
https ://github.com/tschoonj/GTK-for-Windows-Runtime-Environment-Installer | ||
https ://github.com/tschoonj/GTK-for-Windows-Runtime-Environment-Installer/releases/download/2021-01-30/gtk3-runtime-3.24.24-2021-01-30-ts-win64.exe | ||
|
||
libbrotlicommon.dll | ||
libbrotlidec.dll | ||
libbz2 - 1.dll | ||
libcairo - 2.dll | ||
libexpat - 1.dll | ||
libfontconfig - 1.dll | ||
libfreetype - 6.dll | ||
libgcc_s_seh - 1.dll | ||
libglib - 2.0 - 0.dll | ||
libgraphite2.dll | ||
libharfbuzz - 0.dll | ||
libiconv - 2.dll | ||
libintl - 8.dll | ||
libpcre - 1.dll | ||
libpixman - 1 - 0.dll | ||
libpng16 - 16.dll | ||
libstdc++ - 6.dll | ||
libwinpthread - 1.dll | ||
zlib1.dll | ||
|
||
|
||
List of DLL's for Projector based on Windows 10 for 32bit program version: | ||
-------------------------------------------------------------------------- | ||
http ://www.tarnyko.net/dl/gtk.htm | ||
http://www.tarnyko.net/repo/gtk3_build_system/gtk+-bundle_3.6.4-20130513_win32.zip | ||
|
||
File list : | ||
libcairo - 2.dll | ||
libexpat - 1.dll | ||
libfontconfig - 1.dll | ||
libfreetype - 6.dll | ||
libpixman - 1 - 0.dll | ||
libpng15 - 15.dll | ||
Remark.txt | ||
zlib1.dll |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.