From 601983b07f7896137a5079996105c78bc1dfa89a Mon Sep 17 00:00:00 2001 From: NonaSuomy Date: Tue, 22 Apr 2025 05:19:40 -0400 Subject: [PATCH 01/70] Add files via upload --- 00_Download_Script.bat | 21 ++++++++- 00_Execute_Script.bat | 5 ++- 01_Create_Build_directory.bat | 8 +++- 02_Download_Requirement_Files.bat | 5 ++- 03_Install_Qt_653.bat | 18 +++++--- 05_Extract_Requirement_Files.bat | 5 ++- 06_Download_from_Git.bat | 5 ++- 07_Build_Library.bat | 5 ++- 08_Fix_Library_place_Fritzing.bat | 5 ++- 09_Download_Fritzing_Source_code.bat | 5 ++- 10_Download_Fritzing_Parts_Library.bat | 5 ++- 11_Fix_Fritzing_Source_code.bat | 5 ++- 12_Fix_Fritzing_Header_files.bat | 9 ++-- 13_Build_phoenix_pro_with_Qt.bat | 11 +++-- 15_Copy_Fritzing_Requirement_DLL_files.bat | 5 ++- 16_Copy_Qt_Requirement_DLL_files.bat | 5 ++- 17_1st_Build_Parts_DB_file.bat | 5 ++- 18_2nd_Launch_Fritzing.bat | 5 ++- 19_Organize_unnecessary_files.bat | 5 ++- 20_Create_Fritzing_zip_package.bat | 5 ++- README.md | 51 +++++++++++++--------- README_QT_DIRECTORY.md | 44 +++++++++++++++++++ README_WORKSPACE_DIRECTORY.md | 47 ++++++++++++++++++++ 23 files changed, 231 insertions(+), 53 deletions(-) create mode 100644 README_QT_DIRECTORY.md create mode 100644 README_WORKSPACE_DIRECTORY.md diff --git a/00_Download_Script.bat b/00_Download_Script.bat index ae9d4b3..6fcac90 100644 --- a/00_Download_Script.bat +++ b/00_Download_Script.bat @@ -5,9 +5,21 @@ rem Copyright (c) 2023 FREE WING,Y.Sakamoto echo %0 @echo off +rem Configure Qt installation directory (default is C:\Qt) +rem To change the Qt directory, set the QT_INSTALL_DIR environment variable before running this script +rem See README_QT_DIRECTORY.md for detailed instructions +if "%QT_INSTALL_DIR%" == "" set QT_INSTALL_DIR=F:\Qt +echo Using Qt installation directory: %QT_INSTALL_DIR% + +rem Configure Fritzing workspace directory (default is \00_fritzing) +rem To change the workspace directory, set the FRITZING_WORKSPACE_DIR environment variable before running this script +rem See README_WORKSPACE_DIRECTORY.md for detailed instructions +if "%FRITZING_WORKSPACE_DIR%" == "" set FRITZING_WORKSPACE_DIR=F:\00_fritzing +echo Using Fritzing workspace directory: %FRITZING_WORKSPACE_DIR% + cd \ -mkdir \00_fritzing -cd /d \00_fritzing +mkdir %FRITZING_WORKSPACE_DIR% +cd /d %FRITZING_WORKSPACE_DIR% rem https://github.com/FREEWING-JP/CSharp_DownloadFile rem echo C# DownloadFile from URL @@ -32,3 +44,8 @@ UnZip.exe main.zip . move Build-Fritzing-1.0.0-Windows-script-main\*.* .\ rmdir Build-Fritzing-1.0.0-Windows-script-main +rem Create environment variable file for other scripts +echo set QT_INSTALL_DIR=%QT_INSTALL_DIR%> qt_config.bat +echo set FRITZING_WORKSPACE_DIR=%FRITZING_WORKSPACE_DIR%>> qt_config.bat + + diff --git a/00_Execute_Script.bat b/00_Execute_Script.bat index 2c22768..f2aa0b6 100644 --- a/00_Execute_Script.bat +++ b/00_Execute_Script.bat @@ -3,7 +3,10 @@ rem 00_Execute_Script.bat rem http://www.neko.ne.jp/~freewing/software/build_fritzing_100_windows/ rem Copyright (c) 2023 FREE WING,Y.Sakamoto echo %0 -cd /d \00_fritzing +rem Load configuration +if exist qt_config.bat call qt_config.bat + +cd /d %FRITZING_WORKSPACE_DIR% start /wait 02_Download_Requirement_Files.bat start /wait 03_Install_Qt_653.bat diff --git a/01_Create_Build_directory.bat b/01_Create_Build_directory.bat index 4de6810..9829547 100644 --- a/01_Create_Build_directory.bat +++ b/01_Create_Build_directory.bat @@ -3,7 +3,11 @@ rem 01_Create_Build_directory.bat rem http://www.neko.ne.jp/~freewing/software/build_fritzing_100_windows/ rem Copyright (c) 2023 FREE WING,Y.Sakamoto echo %0 +rem Configure Fritzing workspace directory (default is \00_fritzing) +if "%FRITZING_WORKSPACE_DIR%" == "" set FRITZING_WORKSPACE_DIR=\00_fritzing +echo Using Fritzing workspace directory: %FRITZING_WORKSPACE_DIR% + cd \ -mkdir \00_fritzing -cd /d \00_fritzing +mkdir %FRITZING_WORKSPACE_DIR% +cd /d %FRITZING_WORKSPACE_DIR% diff --git a/02_Download_Requirement_Files.bat b/02_Download_Requirement_Files.bat index 2fa8455..7959c5c 100644 --- a/02_Download_Requirement_Files.bat +++ b/02_Download_Requirement_Files.bat @@ -4,7 +4,10 @@ rem http://www.neko.ne.jp/~freewing/software/build_fritzing_100_windows/ rem Copyright (c) 2023-2024 FREE WING,Y.Sakamoto echo %0 timeout /T 10 /NOBREAK -cd /d \00_fritzing +rem Load configuration +if exist qt_config.bat call qt_config.bat + +cd /d %FRITZING_WORKSPACE_DIR% rem https://git-scm.com/download/win echo Git - Downloading Package Download for Windows diff --git a/03_Install_Qt_653.bat b/03_Install_Qt_653.bat index 5da8519..6fc67c0 100644 --- a/03_Install_Qt_653.bat +++ b/03_Install_Qt_653.bat @@ -7,7 +7,10 @@ timeout /T 10 /NOBREAK @echo off cd /d \00_fritzing -if exist "C:\Qt\6.5.3\msvc2019_64" exit +rem Load Qt directory configuration +if exist qt_config.bat call qt_config.bat + +if exist "%QT_INSTALL_DIR%\6.5.3\msvc2019_64" exit echo . @@ -19,8 +22,8 @@ echo === echo Input Qt Account rem Beep rundll32 user32.dll,MessageBeep -if "%Qt_email%" == "" set /p Qt_email=Qt Account your_email ? -if "%Qt_passw%" == "" set /p Qt_passw=Qt Account your_password ? +if "%Qt_email%" == "" set /p Qt_email=Qt Account your_email ? +if "%Qt_passw%" == "" set /p Qt_passw=Qt Account your_password ? cls @@ -64,7 +67,7 @@ pause :auto_accept echo cd /d %cd%>qt_inst.bat -echo qt-unified-windows-x64-4.6.1-online.exe --root C:\Qt ^^>>qt_inst.bat +echo qt-unified-windows-x64-4.6.1-online.exe --root %QT_INSTALL_DIR% ^^>>qt_inst.bat echo --email %Qt_email% ^^>>qt_inst.bat echo --pw %Qt_passw% ^^>>qt_inst.bat echo --accept-licenses ^^>>qt_inst.bat @@ -79,12 +82,15 @@ echo install qt.qt6.653.qt5compat>>qt_inst.bat start /wait powershell "Start-Process -FilePath 'qt_inst.bat' -WorkingDirectory '%cd%' -Verb RunAs -Wait" -if exist C:\Qt\Tools\QtCreator\bin\jom\jom.exe goto end +if exist %QT_INSTALL_DIR%\Tools\QtCreator\bin\jom\jom.exe goto end echo QtCreator jom.exe cd /d \00_fritzing if not exist jom_1_1_4.zip DownloadFile https://download.qt.io/official_releases/jom/jom_1_1_4.zip jom_1_1_4.zip -UnZip.exe jom_1_1_4.zip C:\Qt\Tools\QtCreator\bin\jom\ + +rem Create jom directory if it doesn't exist +if not exist %QT_INSTALL_DIR%\Tools\QtCreator\bin\jom mkdir %QT_INSTALL_DIR%\Tools\QtCreator\bin\jom +UnZip.exe jom_1_1_4.zip %QT_INSTALL_DIR%\Tools\QtCreator\bin\jom\ :end exit diff --git a/05_Extract_Requirement_Files.bat b/05_Extract_Requirement_Files.bat index 43fb9af..1d92fc8 100644 --- a/05_Extract_Requirement_Files.bat +++ b/05_Extract_Requirement_Files.bat @@ -4,7 +4,10 @@ rem http://www.neko.ne.jp/~freewing/software/build_fritzing_100_windows/ rem Copyright (c) 2023-2024 FREE WING,Y.Sakamoto echo %0 timeout /T 10 /NOBREAK -cd /d \00_fritzing +rem Load configuration +if exist qt_config.bat call qt_config.bat + +cd /d %FRITZING_WORKSPACE_DIR% UnZip.exe boost_1_85_0.zip . diff --git a/06_Download_from_Git.bat b/06_Download_from_Git.bat index 18bfa66..5c75950 100644 --- a/06_Download_from_Git.bat +++ b/06_Download_from_Git.bat @@ -4,7 +4,10 @@ rem http://www.neko.ne.jp/~freewing/software/build_fritzing_100_windows/ rem Copyright (c) 2023 FREE WING,Y.Sakamoto echo %0 timeout /T 10 /NOBREAK -cd /d \00_fritzing +rem Load configuration +if exist qt_config.bat call qt_config.bat + +cd /d %FRITZING_WORKSPACE_DIR% Path=%cd%\PortableGit\bin;%Path% diff --git a/07_Build_Library.bat b/07_Build_Library.bat index a245d6f..1ecd48e 100644 --- a/07_Build_Library.bat +++ b/07_Build_Library.bat @@ -6,6 +6,9 @@ echo %0 timeout /T 10 /NOBREAK cd /d \00_fritzing +rem Load Qt directory configuration +if exist qt_config.bat call qt_config.bat + Path=%cd%\PortableGit\bin;%Path% rem Visual Studio 2019 Build Tools @@ -70,7 +73,7 @@ cd quazip-1.4 dir ..\zlib-src\build64\Release\zlib.lib -set Qt6_DIR=C:\Qt\6.5.3\msvc2019_64 +set Qt6_DIR=%QT_INSTALL_DIR%\6.5.3\msvc2019_64 dir %Qt6_DIR% rmdir /S /Q build64 diff --git a/08_Fix_Library_place_Fritzing.bat b/08_Fix_Library_place_Fritzing.bat index f665cff..0b7c728 100644 --- a/08_Fix_Library_place_Fritzing.bat +++ b/08_Fix_Library_place_Fritzing.bat @@ -4,7 +4,10 @@ rem http://www.neko.ne.jp/~freewing/software/build_fritzing_100_windows/ rem Copyright (c) 2023-2024 FREE WING,Y.Sakamoto echo %0 timeout /T 10 /NOBREAK -cd /d \00_fritzing +rem Load configuration +if exist qt_config.bat call qt_config.bat + +cd /d %FRITZING_WORKSPACE_DIR% dir .\quazip-6.5.3-1.4\include\QuaZip-Qt6-1.4\quazip xcopy .\quazip-6.5.3-1.4\include\QuaZip-Qt6-1.4\quazip .\quazip-6.5.3-1.4\include\quazip\ diff --git a/09_Download_Fritzing_Source_code.bat b/09_Download_Fritzing_Source_code.bat index a8481ab..f6c01d3 100644 --- a/09_Download_Fritzing_Source_code.bat +++ b/09_Download_Fritzing_Source_code.bat @@ -4,7 +4,10 @@ rem http://www.neko.ne.jp/~freewing/software/build_fritzing_100_windows/ rem Copyright (c) 2023-2024 FREE WING,Y.Sakamoto echo %0 timeout /T 10 /NOBREAK -cd /d \00_fritzing +rem Load configuration +if exist qt_config.bat call qt_config.bat + +cd /d %FRITZING_WORKSPACE_DIR% Path=%cd%\PortableGit\bin;%Path% diff --git a/10_Download_Fritzing_Parts_Library.bat b/10_Download_Fritzing_Parts_Library.bat index 57408dc..8098f80 100644 --- a/10_Download_Fritzing_Parts_Library.bat +++ b/10_Download_Fritzing_Parts_Library.bat @@ -4,7 +4,10 @@ rem http://www.neko.ne.jp/~freewing/software/build_fritzing_100_windows/ rem Copyright (c) 2023-2024 FREE WING,Y.Sakamoto echo %0 timeout /T 10 /NOBREAK -cd /d \00_fritzing +rem Load configuration +if exist qt_config.bat call qt_config.bat + +cd /d %FRITZING_WORKSPACE_DIR% Path=%cd%\PortableGit\bin;%Path% diff --git a/11_Fix_Fritzing_Source_code.bat b/11_Fix_Fritzing_Source_code.bat index 659dc94..d96049a 100644 --- a/11_Fix_Fritzing_Source_code.bat +++ b/11_Fix_Fritzing_Source_code.bat @@ -4,7 +4,10 @@ rem http://www.neko.ne.jp/~freewing/software/build_fritzing_100_windows/ rem Copyright (c) 2023-2024 FREE WING,Y.Sakamoto echo %0 timeout /T 10 /NOBREAK -cd /d \00_fritzing +rem Load configuration +if exist qt_config.bat call qt_config.bat + +cd /d %FRITZING_WORKSPACE_DIR% cd fritzing-app diff --git a/12_Fix_Fritzing_Header_files.bat b/12_Fix_Fritzing_Header_files.bat index 444f8ef..397ed29 100644 --- a/12_Fix_Fritzing_Header_files.bat +++ b/12_Fix_Fritzing_Header_files.bat @@ -6,6 +6,9 @@ echo %0 timeout /T 10 /NOBREAK cd /d \00_fritzing +rem Load Qt directory configuration +if exist qt_config.bat call qt_config.bat + Path=%cd%\PortableGit\bin;%Path% cd fritzing-app @@ -25,15 +28,15 @@ exit set currennt_dir=%cd% echo qtenv2.bat -call C:\Qt\6.5.3\msvc2019_64\bin\qtenv2.bat +call %QT_INSTALL_DIR%\6.5.3\msvc2019_64\bin\qtenv2.bat echo x64 Native Tools Command Prompt for VS 2019 call "C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Auxiliary\Build\vcvars64.bat" cd /d %currennt_dir% -C:\Qt\6.5.3\msvc2019_64\bin\qmake.exe -o Makefile phoenix.pro "QMAKE_TARGET.arch=x86_64" -C:\Qt\Tools\QtCreator\bin\jom\jom.exe -f Makefile.Debug compiler_uic_make_all +%QT_INSTALL_DIR%\6.5.3\msvc2019_64\bin\qmake.exe -o Makefile phoenix.pro "QMAKE_TARGET.arch=x86_64" +%QT_INSTALL_DIR%\Tools\QtCreator\bin\jom\jom.exe -f Makefile.Debug compiler_uic_make_all DIR ..\debug64\ui_*.h xcopy ..\debug64\*.h ..\fritzing_h\ xcopy ..\fritzing_h\ ..\release64\ diff --git a/13_Build_phoenix_pro_with_Qt.bat b/13_Build_phoenix_pro_with_Qt.bat index e5573ef..90b8028 100644 --- a/13_Build_phoenix_pro_with_Qt.bat +++ b/13_Build_phoenix_pro_with_Qt.bat @@ -6,6 +6,9 @@ echo %0 timeout /T 10 /NOBREAK cd /d \00_fritzing +rem Load Qt directory configuration +if exist qt_config.bat call qt_config.bat + Path=%cd%\PortableGit\bin;%Path% cd fritzing-app @@ -16,7 +19,7 @@ git rev-parse --git-dir set currennt_dir=%cd% echo qtenv2.bat -call C:\Qt\6.5.3\msvc2019_64\bin\qtenv2.bat +call %QT_INSTALL_DIR%\6.5.3\msvc2019_64\bin\qtenv2.bat echo x64 Native Tools Command Prompt for VS 2019 call "C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Auxiliary\Build\vcvars64.bat" @@ -24,7 +27,7 @@ call "C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Auxiliar cd /d %currennt_dir% echo qmake -C:/Qt/6.5.3/msvc2019_64/bin/qmake.exe phoenix.pro ^ +%QT_INSTALL_DIR%/6.5.3/msvc2019_64/bin/qmake.exe phoenix.pro ^ -spec win32-msvc ^ INCLUDEPATH+="..\ngspice-42\src\include" @@ -32,11 +35,11 @@ rem Use svgpp 1.3.1 rem https://github.com/fritzing/fritzing-app/commit/0a53e1b4a5e9752a27d3f11157cc505f3691f20c rem INCLUDEPATH+="..\svgpp-1.3.1\include" -C:/Qt/Tools/QtCreator/bin/jom/jom.exe qmake_all +%QT_INSTALL_DIR%/Tools/QtCreator/bin/jom/jom.exe qmake_all echo Build -C:\Qt\Tools\QtCreator\bin\jom\jom.exe -f Makefile.Release +%QT_INSTALL_DIR%\Tools\QtCreator\bin\jom\jom.exe -f Makefile.Release cd .. diff --git a/15_Copy_Fritzing_Requirement_DLL_files.bat b/15_Copy_Fritzing_Requirement_DLL_files.bat index b5f2d6c..6112f14 100644 --- a/15_Copy_Fritzing_Requirement_DLL_files.bat +++ b/15_Copy_Fritzing_Requirement_DLL_files.bat @@ -6,10 +6,13 @@ echo %0 timeout /T 10 /NOBREAK cd /d \00_fritzing +rem Load Qt directory configuration +if exist qt_config.bat call qt_config.bat + copy .\libgit2\build64\Release\git2.dll .\release64 copy .\zlib-src\build64\Release\zlib.dll .\release64 copy .\quazip-6.5.3-1.4\bin\quazip1-qt6.dll .\release64 -copy C:\Qt\6.5.3\msvc2019_64\bin\Qt6Core5Compat.dll .\release64 +copy %QT_INSTALL_DIR%\6.5.3\msvc2019_64\bin\Qt6Core5Compat.dll .\release64 rem for Simulate function copy .\Spice64_dll\dll-vs\*.dll .\release64 diff --git a/16_Copy_Qt_Requirement_DLL_files.bat b/16_Copy_Qt_Requirement_DLL_files.bat index f0eac1a..b15f630 100644 --- a/16_Copy_Qt_Requirement_DLL_files.bat +++ b/16_Copy_Qt_Requirement_DLL_files.bat @@ -6,11 +6,14 @@ echo %0 timeout /T 10 /NOBREAK cd /d \00_fritzing +rem Load Qt directory configuration +if exist qt_config.bat call qt_config.bat + cd .\release64 if not exist Fritzing.exe goto failed -C:\Qt\6.5.3\msvc2019_64\bin\windeployqt6.exe Fritzing.exe +%QT_INSTALL_DIR%\6.5.3\msvc2019_64\bin\windeployqt6.exe Fritzing.exe cd .. diff --git a/17_1st_Build_Parts_DB_file.bat b/17_1st_Build_Parts_DB_file.bat index 096ca01..be1c588 100644 --- a/17_1st_Build_Parts_DB_file.bat +++ b/17_1st_Build_Parts_DB_file.bat @@ -4,7 +4,10 @@ rem http://www.neko.ne.jp/~freewing/software/build_fritzing_100_windows/ rem Copyright (c) 2023 FREE WING,Y.Sakamoto echo %0 timeout /T 10 /NOBREAK -cd /d \00_fritzing +rem Load configuration +if exist qt_config.bat call qt_config.bat + +cd /d %FRITZING_WORKSPACE_DIR% cd .\release64 diff --git a/18_2nd_Launch_Fritzing.bat b/18_2nd_Launch_Fritzing.bat index b602287..8f9acf5 100644 --- a/18_2nd_Launch_Fritzing.bat +++ b/18_2nd_Launch_Fritzing.bat @@ -4,7 +4,10 @@ rem http://www.neko.ne.jp/~freewing/software/build_fritzing_100_windows/ rem Copyright (c) 2023 FREE WING,Y.Sakamoto echo %0 timeout /T 10 /NOBREAK -cd /d \00_fritzing +rem Load configuration +if exist qt_config.bat call qt_config.bat + +cd /d %FRITZING_WORKSPACE_DIR% cd .\release64 diff --git a/19_Organize_unnecessary_files.bat b/19_Organize_unnecessary_files.bat index ea2de9c..77aaa22 100644 --- a/19_Organize_unnecessary_files.bat +++ b/19_Organize_unnecessary_files.bat @@ -4,7 +4,10 @@ rem http://www.neko.ne.jp/~freewing/software/build_fritzing_100_windows/ rem Copyright (c) 2023 FREE WING,Y.Sakamoto echo %0 timeout /T 10 /NOBREAK -cd /d \00_fritzing +rem Load configuration +if exist qt_config.bat call qt_config.bat + +cd /d %FRITZING_WORKSPACE_DIR% cd .\release64 diff --git a/20_Create_Fritzing_zip_package.bat b/20_Create_Fritzing_zip_package.bat index 882dcad..9775712 100644 --- a/20_Create_Fritzing_zip_package.bat +++ b/20_Create_Fritzing_zip_package.bat @@ -4,7 +4,10 @@ rem http://www.neko.ne.jp/~freewing/software/build_fritzing_100_windows/ rem Copyright (c) 2023-2024 FREE WING,Y.Sakamoto echo %0 timeout /T 10 /NOBREAK -cd /d \00_fritzing +rem Load configuration +if exist qt_config.bat call qt_config.bat + +cd /d %FRITZING_WORKSPACE_DIR% set Fritzing_XXX=Fritzing_104 diff --git a/README.md b/README.md index dacde5a..54dcfe3 100644 --- a/README.md +++ b/README.md @@ -1,20 +1,24 @@ # Build-Fritzing-1.0.4-Windows-script Build Fritzing 1.0.4 Windows script -2024/10/28 Update Build Fritzing 1.0.4 (Reconfirmed on 2025/01/05) -2024/07/14 Update Build Fritzing 1.0.3 -2024/01/11 Update Build Fritzing 1.0.2 (Reconfirmed on 2024/05/05) -2023/11/18 Update Build Fritzing 1.0.1 +2024/10/28 Update Build Fritzing 1.0.4 (Reconfirmed on 2025/01/05) +2024/07/14 Update Build Fritzing 1.0.3 +2024/01/11 Update Build Fritzing 1.0.2 (Reconfirmed on 2024/05/05) +2023/11/18 Update Build Fritzing 1.0.1 -* How to Build Fritzing 1.0.4 from Source code in Windows with Visual Studio 2019 -http://www.neko.ne.jp/~freewing/software/build_fritzing_100_windows/ +* How to Build Fritzing 1.0.4 from Source code in Windows with Visual Studio 2019 +http://www.neko.ne.jp/~freewing/software/build_fritzing_100_windows/ -* Build Step +* Build Step ``` * Open Command Prompt bitsadmin /TRANSFER hoge https://raw.githubusercontent.com/FREEWING-JP/Build-Fritzing-1.0.0-Windows-script/main/00_Download_Script.bat %cd%\00_Download_Script.bat +# Optional: Set custom directories +# set QT_INSTALL_DIR=D:\CustomQtPath +# set FRITZING_WORKSPACE_DIR=D:\FritzingBuild + 00_Download_Script.bat 00_Execute_Script.bat @@ -22,23 +26,28 @@ bitsadmin /TRANSFER hoge https://raw.githubusercontent.com/FREEWING-JP/Build-Fri * Wait an hour ``` -![ClipImage_20241028_142712_529](https://github.com/user-attachments/assets/e5e4fbf4-d4c5-42b7-8580-83737367361d) -![ClipImage_20241028_142942_938](https://github.com/user-attachments/assets/7fc6c5e8-69a7-400e-867e-ec8a69823dcc) +* Customization Options + * You can change the Qt installation directory by setting the `QT_INSTALL_DIR` environment variable + * You can change the Fritzing workspace directory by setting the `FRITZING_WORKSPACE_DIR` environment variable + * See `README_QT_DIRECTORY.md` and `README_WORKSPACE_DIRECTORY.md` for details + +![ClipImage_20241028_142712_529](https://github.com/user-attachments/assets/e5e4fbf4-d4c5-42b7-8580-83737367361d) +![ClipImage_20241028_142942_938](https://github.com/user-attachments/assets/7fc6c5e8-69a7-400e-867e-ec8a69823dcc) -* Tested -Windows 11 Real -Windows 11 Windows Sandbox -Windows 10 Windows Sandbox +* Tested +Windows 11 Real +Windows 11 Windows Sandbox +Windows 10 Windows Sandbox -* Fritzing 1.0.0を合法的に無料で使用する方法、Windows環境 VS2019でビルドする方法 -http://www.neko.ne.jp/~freewing/software/build_fritzing_100_windows/ +* Fritzing 1.0.0を合法的に無料で使用する方法、Windows環境 VS2019でビルドする方法 +http://www.neko.ne.jp/~freewing/software/build_fritzing_100_windows/ -* Donation Button -[![Donate](https://img.shields.io/badge/Donate-PayPal-green.svg)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=T79HPJ5H79PBU) +* Donation Button +[![Donate](https://img.shields.io/badge/Donate-PayPal-green.svg)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=T79HPJ5H79PBU) -* Youtube -[How to get Fritzing 1.0.0 for free - Compile Fritzing on Windows YouTube https://youtu.be/cC82PULJq6g](https://youtu.be/cC82PULJq6g) +* Youtube +[How to get Fritzing 1.0.0 for free - Compile Fritzing on Windows YouTube https://youtu.be/cC82PULJq6g](https://youtu.be/cC82PULJq6g) -* Youtube -[Fritzing 1.0.0を無料でゲットする方法 YouTube https://youtu.be/wLDuyNqms_g](https://youtu.be/wLDuyNqms_g) +* Youtube +[Fritzing 1.0.0を無料でゲットする方法 YouTube https://youtu.be/wLDuyNqms_g](https://youtu.be/wLDuyNqms_g) diff --git a/README_QT_DIRECTORY.md b/README_QT_DIRECTORY.md new file mode 100644 index 0000000..a699470 --- /dev/null +++ b/README_QT_DIRECTORY.md @@ -0,0 +1,44 @@ +# Changing the Qt Installation Directory + +By default, the Fritzing build scripts will install Qt to `C:\Qt`. If you want to install Qt to a different directory, you can set the `QT_INSTALL_DIR` environment variable before running the scripts. + +## Method 1: Set the environment variable temporarily in the command prompt + +``` +set QT_INSTALL_DIR=D:\CustomQtPath +00_Download_Script.bat +``` + +## Method 2: Set the environment variable permanently in Windows + +1. Right-click on "This PC" or "My Computer" and select "Properties" +2. Click on "Advanced system settings" +3. Click on the "Environment Variables" button +4. Under "System variables" or "User variables", click "New" +5. Variable name: `QT_INSTALL_DIR` +6. Variable value: Your custom Qt path (e.g., `D:\CustomQtPath`) +7. Click "OK" to save + +After setting the environment variable, run the scripts as usual. The Qt installation and all related operations will use your custom directory instead of the default `C:\Qt`. + +## How It Works + +All the build scripts have been modified to: + +1. Read the `qt_config.bat` file created by `00_Download_Script.bat` +2. Use the `QT_INSTALL_DIR` environment variable for all Qt-related operations + +This includes: +- Installing Qt to your custom directory +- Building with the Qt libraries from your custom directory +- Copying Qt DLLs from your custom directory + +## Verifying the Qt Directory + +When you run `00_Download_Script.bat`, it will display the Qt installation directory it's using: + +``` +Using Qt installation directory: D:\CustomQtPath +``` + +This confirms that your custom directory is being used correctly. diff --git a/README_WORKSPACE_DIRECTORY.md b/README_WORKSPACE_DIRECTORY.md new file mode 100644 index 0000000..fa545a6 --- /dev/null +++ b/README_WORKSPACE_DIRECTORY.md @@ -0,0 +1,47 @@ +# Changing the Fritzing Workspace Directory + +By default, the Fritzing build scripts will use `\00_fritzing` as the workspace directory. If you want to use a different directory, you can set the `FRITZING_WORKSPACE_DIR` environment variable before running the scripts. + +## Method 1: Set the environment variable temporarily in the command prompt + +``` +set FRITZING_WORKSPACE_DIR=D:\FritzingBuild +00_Download_Script.bat +``` + +## Method 2: Set the environment variable permanently in Windows + +1. Right-click on "This PC" or "My Computer" and select "Properties" +2. Click on "Advanced system settings" +3. Click on the "Environment Variables" button +4. Under "System variables" or "User variables", click "New" +5. Variable name: `FRITZING_WORKSPACE_DIR` +6. Variable value: Your custom workspace path (e.g., `D:\FritzingBuild`) +7. Click "OK" to save + +After setting the environment variable, run the scripts as usual. All Fritzing build operations will use your custom directory instead of the default `\00_fritzing`. + +## Verifying the Workspace Directory + +When you run `00_Download_Script.bat`, it will display the workspace directory it's using: + +``` +Using Fritzing workspace directory: D:\FritzingBuild +``` + +This confirms that your custom directory is being used correctly. + +## How It Works + +All the build scripts have been modified to: + +1. Read the `qt_config.bat` file created by `00_Download_Script.bat` +2. Use the `FRITZING_WORKSPACE_DIR` environment variable for all workspace-related operations + +This allows you to build Fritzing in a directory of your choice without having to modify each script individually. + +## Important Notes + +- Make sure the directory you specify exists or can be created by the script +- The directory should be empty when you start the build process +- All paths in the scripts are relative to this workspace directory From 8946f43d884df14a5847bfd8e02a05a138a180cd Mon Sep 17 00:00:00 2001 From: NonaSuomy Date: Thu, 24 Apr 2025 12:16:52 -0400 Subject: [PATCH 02/70] Update 00_Download_Script.bat --- 00_Download_Script.bat | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/00_Download_Script.bat b/00_Download_Script.bat index 6fcac90..9835767 100644 --- a/00_Download_Script.bat +++ b/00_Download_Script.bat @@ -8,13 +8,13 @@ echo %0 rem Configure Qt installation directory (default is C:\Qt) rem To change the Qt directory, set the QT_INSTALL_DIR environment variable before running this script rem See README_QT_DIRECTORY.md for detailed instructions -if "%QT_INSTALL_DIR%" == "" set QT_INSTALL_DIR=F:\Qt +if "%QT_INSTALL_DIR%" == "" set QT_INSTALL_DIR=C:\Qt echo Using Qt installation directory: %QT_INSTALL_DIR% rem Configure Fritzing workspace directory (default is \00_fritzing) rem To change the workspace directory, set the FRITZING_WORKSPACE_DIR environment variable before running this script rem See README_WORKSPACE_DIRECTORY.md for detailed instructions -if "%FRITZING_WORKSPACE_DIR%" == "" set FRITZING_WORKSPACE_DIR=F:\00_fritzing +if "%FRITZING_WORKSPACE_DIR%" == "" set FRITZING_WORKSPACE_DIR=\00_fritzing echo Using Fritzing workspace directory: %FRITZING_WORKSPACE_DIR% cd \ From 675119ba58ffd47f38cc30c4a3dc01133dd47e3d Mon Sep 17 00:00:00 2001 From: NonaSuomy Date: Fri, 25 Apr 2025 07:28:00 -0400 Subject: [PATCH 03/70] Update README.md --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 54dcfe3..41bd4b7 100644 --- a/README.md +++ b/README.md @@ -35,10 +35,10 @@ bitsadmin /TRANSFER hoge https://raw.githubusercontent.com/FREEWING-JP/Build-Fri ![ClipImage_20241028_142942_938](https://github.com/user-attachments/assets/7fc6c5e8-69a7-400e-867e-ec8a69823dcc) -* Tested -Windows 11 Real -Windows 11 Windows Sandbox -Windows 10 Windows Sandbox +* Tested +Windows 11 Real +Windows 11 Windows Sandbox +Windows 10 Windows Sandbox * Fritzing 1.0.0を合法的に無料で使用する方法、Windows環境 VS2019でビルドする方法 http://www.neko.ne.jp/~freewing/software/build_fritzing_100_windows/ From 0caf031bfabb9ed65875ec670c09f33e9909a706 Mon Sep 17 00:00:00 2001 From: NonaSuomy Date: Sat, 26 Apr 2025 10:16:07 -0400 Subject: [PATCH 04/70] Update README.md --- README.md | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/README.md b/README.md index 41bd4b7..0b6d4dc 100644 --- a/README.md +++ b/README.md @@ -1,15 +1,15 @@ # Build-Fritzing-1.0.4-Windows-script Build Fritzing 1.0.4 Windows script -2024/10/28 Update Build Fritzing 1.0.4 (Reconfirmed on 2025/01/05) -2024/07/14 Update Build Fritzing 1.0.3 -2024/01/11 Update Build Fritzing 1.0.2 (Reconfirmed on 2024/05/05) -2023/11/18 Update Build Fritzing 1.0.1 +2024/10/28 Update Build Fritzing 1.0.4 (Reconfirmed on 2025/01/05) +2024/07/14 Update Build Fritzing 1.0.3 +2024/01/11 Update Build Fritzing 1.0.2 (Reconfirmed on 2024/05/05) +2023/11/18 Update Build Fritzing 1.0.1 -* How to Build Fritzing 1.0.4 from Source code in Windows with Visual Studio 2019 -http://www.neko.ne.jp/~freewing/software/build_fritzing_100_windows/ +* How to Build Fritzing 1.0.4 from Source code in Windows with Visual Studio 2019 +http://www.neko.ne.jp/~freewing/software/build_fritzing_100_windows/ -* Build Step +* Build Step ``` * Open Command Prompt @@ -40,14 +40,14 @@ Windows 11 Real Windows 11 Windows Sandbox Windows 10 Windows Sandbox -* Fritzing 1.0.0を合法的に無料で使用する方法、Windows環境 VS2019でビルドする方法 -http://www.neko.ne.jp/~freewing/software/build_fritzing_100_windows/ +* Fritzing 1.0.0を合法的に無料で使用する方法、Windows環境 VS2019でビルドする方法 +http://www.neko.ne.jp/~freewing/software/build_fritzing_100_windows/ -* Donation Button -[![Donate](https://img.shields.io/badge/Donate-PayPal-green.svg)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=T79HPJ5H79PBU) +* Donation Button +[![Donate](https://img.shields.io/badge/Donate-PayPal-green.svg)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=T79HPJ5H79PBU) -* Youtube -[How to get Fritzing 1.0.0 for free - Compile Fritzing on Windows YouTube https://youtu.be/cC82PULJq6g](https://youtu.be/cC82PULJq6g) +* Youtube +[How to get Fritzing 1.0.0 for free - Compile Fritzing on Windows YouTube https://youtu.be/cC82PULJq6g](https://youtu.be/cC82PULJq6g) -* Youtube -[Fritzing 1.0.0を無料でゲットする方法 YouTube https://youtu.be/wLDuyNqms_g](https://youtu.be/wLDuyNqms_g) +* Youtube +[Fritzing 1.0.0を無料でゲットする方法 YouTube https://youtu.be/wLDuyNqms_g](https://youtu.be/wLDuyNqms_g) From afdfca0105448787f13f19c4c2bb740ea579ffcb Mon Sep 17 00:00:00 2001 From: Your Name Date: Mon, 28 Apr 2025 10:53:57 -0400 Subject: [PATCH 05/70] Implement persistent directories_config.bat for Qt, workspace, and VS paths --- 00_Download_Script.bat | 64 +++++++++--- 04_Install_Visual_Studio_Build_Tools_2019.bat | 8 +- 07_Build_Library.bat | 8 +- 12_Fix_Fritzing_Header_files.bat | 8 +- 13_Build_phoenix_pro_with_Qt.bat | 8 +- 15_Copy_Fritzing_Requirement_DLL_files.bat | 6 +- 16_Copy_Qt_Requirement_DLL_files.bat | 6 +- README.md | 99 ++++++++++++++----- README_QT_DIRECTORY.md | 44 --------- README_WORKSPACE_DIRECTORY.md | 47 --------- directories_config.bat | 15 +++ 11 files changed, 167 insertions(+), 146 deletions(-) delete mode 100644 README_QT_DIRECTORY.md delete mode 100644 README_WORKSPACE_DIRECTORY.md create mode 100644 directories_config.bat diff --git a/00_Download_Script.bat b/00_Download_Script.bat index 9835767..dcfebdb 100644 --- a/00_Download_Script.bat +++ b/00_Download_Script.bat @@ -5,17 +5,41 @@ rem Copyright (c) 2023 FREE WING,Y.Sakamoto echo %0 @echo off -rem Configure Qt installation directory (default is C:\Qt) -rem To change the Qt directory, set the QT_INSTALL_DIR environment variable before running this script -rem See README_QT_DIRECTORY.md for detailed instructions -if "%QT_INSTALL_DIR%" == "" set QT_INSTALL_DIR=C:\Qt -echo Using Qt installation directory: %QT_INSTALL_DIR% +rem Load configuration from directories_config.bat if it exists +rem Otherwise, use default values +if exist directories_config.bat ( + echo Loading configuration from directories_config.bat + call directories_config.bat +) else ( + echo directories_config.bat not found, creating with default values + rem Configure Qt installation directory (default is C:\Qt) + if "%QT_INSTALL_DIR%" == "" set QT_INSTALL_DIR=C:\Qt + + rem Configure Fritzing workspace directory (default is \00_fritzing) + if "%FRITZING_WORKSPACE_DIR%" == "" set FRITZING_WORKSPACE_DIR=\00_fritzing + + rem Configure Visual Studio installation directory + if "%VS_INSTALL_DIR%" == "" set VS_INSTALL_DIR=C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools -rem Configure Fritzing workspace directory (default is \00_fritzing) -rem To change the workspace directory, set the FRITZING_WORKSPACE_DIR environment variable before running this script -rem See README_WORKSPACE_DIRECTORY.md for detailed instructions -if "%FRITZING_WORKSPACE_DIR%" == "" set FRITZING_WORKSPACE_DIR=\00_fritzing + rem Create the configuration file + echo @echo off> directories_config.bat + echo rem directories_config.bat>> directories_config.bat + echo rem Configuration file for directory paths used in Fritzing build scripts>> directories_config.bat + echo rem This file is meant to be persistent and can be edited manually>> directories_config.bat + echo.>> directories_config.bat + echo rem Qt installation directory>> directories_config.bat + echo set QT_INSTALL_DIR=%QT_INSTALL_DIR%>> directories_config.bat + echo.>> directories_config.bat + echo rem Fritzing workspace directory>> directories_config.bat + echo set FRITZING_WORKSPACE_DIR=%FRITZING_WORKSPACE_DIR%>> directories_config.bat + echo.>> directories_config.bat + echo rem Visual Studio installation directory>> directories_config.bat + echo set VS_INSTALL_DIR=%VS_INSTALL_DIR%>> directories_config.bat +) + +echo Using Qt installation directory: %QT_INSTALL_DIR% echo Using Fritzing workspace directory: %FRITZING_WORKSPACE_DIR% +echo Using Visual Studio directory: %VS_INSTALL_DIR% cd \ mkdir %FRITZING_WORKSPACE_DIR% @@ -44,8 +68,24 @@ UnZip.exe main.zip . move Build-Fritzing-1.0.0-Windows-script-main\*.* .\ rmdir Build-Fritzing-1.0.0-Windows-script-main -rem Create environment variable file for other scripts -echo set QT_INSTALL_DIR=%QT_INSTALL_DIR%> qt_config.bat -echo set FRITZING_WORKSPACE_DIR=%FRITZING_WORKSPACE_DIR%>> qt_config.bat +rem Update directories_config.bat if it already exists +if not exist directories_config.bat ( + rem Create the configuration file + echo @echo off> directories_config.bat + echo rem directories_config.bat>> directories_config.bat + echo rem Configuration file for directory paths used in Fritzing build scripts>> directories_config.bat + echo rem This file is meant to be persistent and can be edited manually>> directories_config.bat + echo.>> directories_config.bat + echo rem Qt installation directory>> directories_config.bat + echo set QT_INSTALL_DIR=%QT_INSTALL_DIR%>> directories_config.bat + echo.>> directories_config.bat + echo rem Fritzing workspace directory>> directories_config.bat + echo set FRITZING_WORKSPACE_DIR=%FRITZING_WORKSPACE_DIR%>> directories_config.bat + echo.>> directories_config.bat + echo rem Visual Studio installation directory>> directories_config.bat + echo set VS_INSTALL_DIR=%VS_INSTALL_DIR%>> directories_config.bat + echo.>> directories_config.bat + echo rem Created by 00_Download_Script.bat>> directories_config.bat +) diff --git a/04_Install_Visual_Studio_Build_Tools_2019.bat b/04_Install_Visual_Studio_Build_Tools_2019.bat index 9ae1dbe..1754394 100644 --- a/04_Install_Visual_Studio_Build_Tools_2019.bat +++ b/04_Install_Visual_Studio_Build_Tools_2019.bat @@ -4,9 +4,12 @@ rem http://www.neko.ne.jp/~freewing/software/build_fritzing_100_windows/ rem Copyright (c) 2023 FREE WING,Y.Sakamoto echo %0 timeout /T 10 /NOBREAK -cd /d \00_fritzing +rem Load configuration +if exist directories_config.bat call directories_config.bat -if exist "C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools" exit +cd /d %FRITZING_WORKSPACE_DIR% + +if exist "%VS_INSTALL_DIR%" exit @echo off @@ -49,6 +52,7 @@ echo } >> VSBT_VS2019.vsconfig set VSDIR=%cd% vs_BuildTools_2019.exe --config %VSDIR%\VSBT_VS2019.vsconfig ^ + --installPath "%VS_INSTALL_DIR%" ^ --norestart --passive --wait exit diff --git a/07_Build_Library.bat b/07_Build_Library.bat index 1ecd48e..e5f9ac1 100644 --- a/07_Build_Library.bat +++ b/07_Build_Library.bat @@ -4,15 +4,15 @@ rem http://www.neko.ne.jp/~freewing/software/build_fritzing_100_windows/ rem Copyright (c) 2023-2024 FREE WING,Y.Sakamoto echo %0 timeout /T 10 /NOBREAK -cd /d \00_fritzing +rem Load configuration +if exist directories_config.bat call directories_config.bat -rem Load Qt directory configuration -if exist qt_config.bat call qt_config.bat +cd /d %FRITZING_WORKSPACE_DIR% Path=%cd%\PortableGit\bin;%Path% rem Visual Studio 2019 Build Tools -call "C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\Common7\Tools\VsDevCmd.bat" +call "%VS_INSTALL_DIR%\Common7\Tools\VsDevCmd.bat" echo Build Boost cd boost_1_85_0 diff --git a/12_Fix_Fritzing_Header_files.bat b/12_Fix_Fritzing_Header_files.bat index 397ed29..31d856a 100644 --- a/12_Fix_Fritzing_Header_files.bat +++ b/12_Fix_Fritzing_Header_files.bat @@ -4,10 +4,10 @@ rem http://www.neko.ne.jp/~freewing/software/build_fritzing_100_windows/ rem Copyright (c) 2023 FREE WING,Y.Sakamoto echo %0 timeout /T 10 /NOBREAK -cd /d \00_fritzing +rem Load configuration +if exist directories_config.bat call directories_config.bat -rem Load Qt directory configuration -if exist qt_config.bat call qt_config.bat +cd /d %FRITZING_WORKSPACE_DIR% Path=%cd%\PortableGit\bin;%Path% @@ -31,7 +31,7 @@ echo qtenv2.bat call %QT_INSTALL_DIR%\6.5.3\msvc2019_64\bin\qtenv2.bat echo x64 Native Tools Command Prompt for VS 2019 -call "C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Auxiliary\Build\vcvars64.bat" +call "%VS_INSTALL_DIR%\VC\Auxiliary\Build\vcvars64.bat" cd /d %currennt_dir% diff --git a/13_Build_phoenix_pro_with_Qt.bat b/13_Build_phoenix_pro_with_Qt.bat index 90b8028..c19913c 100644 --- a/13_Build_phoenix_pro_with_Qt.bat +++ b/13_Build_phoenix_pro_with_Qt.bat @@ -4,10 +4,10 @@ rem http://www.neko.ne.jp/~freewing/software/build_fritzing_100_windows/ rem Copyright (c) 2023 FREE WING,Y.Sakamoto echo %0 timeout /T 10 /NOBREAK -cd /d \00_fritzing +rem Load configuration +if exist directories_config.bat call directories_config.bat -rem Load Qt directory configuration -if exist qt_config.bat call qt_config.bat +cd /d %FRITZING_WORKSPACE_DIR% Path=%cd%\PortableGit\bin;%Path% @@ -22,7 +22,7 @@ echo qtenv2.bat call %QT_INSTALL_DIR%\6.5.3\msvc2019_64\bin\qtenv2.bat echo x64 Native Tools Command Prompt for VS 2019 -call "C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Auxiliary\Build\vcvars64.bat" +call "%VS_INSTALL_DIR%\VC\Auxiliary\Build\vcvars64.bat" cd /d %currennt_dir% diff --git a/15_Copy_Fritzing_Requirement_DLL_files.bat b/15_Copy_Fritzing_Requirement_DLL_files.bat index 6112f14..6a8f0a6 100644 --- a/15_Copy_Fritzing_Requirement_DLL_files.bat +++ b/15_Copy_Fritzing_Requirement_DLL_files.bat @@ -4,10 +4,10 @@ rem http://www.neko.ne.jp/~freewing/software/build_fritzing_100_windows/ rem Copyright (c) 2023-2024 FREE WING,Y.Sakamoto echo %0 timeout /T 10 /NOBREAK -cd /d \00_fritzing +rem Load configuration +if exist directories_config.bat call directories_config.bat -rem Load Qt directory configuration -if exist qt_config.bat call qt_config.bat +cd /d %FRITZING_WORKSPACE_DIR% copy .\libgit2\build64\Release\git2.dll .\release64 copy .\zlib-src\build64\Release\zlib.dll .\release64 diff --git a/16_Copy_Qt_Requirement_DLL_files.bat b/16_Copy_Qt_Requirement_DLL_files.bat index b15f630..b7dea74 100644 --- a/16_Copy_Qt_Requirement_DLL_files.bat +++ b/16_Copy_Qt_Requirement_DLL_files.bat @@ -4,10 +4,10 @@ rem http://www.neko.ne.jp/~freewing/software/build_fritzing_100_windows/ rem Copyright (c) 2023 FREE WING,Y.Sakamoto echo %0 timeout /T 10 /NOBREAK -cd /d \00_fritzing +rem Load configuration +if exist directories_config.bat call directories_config.bat -rem Load Qt directory configuration -if exist qt_config.bat call qt_config.bat +cd /d %FRITZING_WORKSPACE_DIR% cd .\release64 diff --git a/README.md b/README.md index 0b6d4dc..8e29b0b 100644 --- a/README.md +++ b/README.md @@ -1,15 +1,15 @@ # Build-Fritzing-1.0.4-Windows-script Build Fritzing 1.0.4 Windows script -2024/10/28 Update Build Fritzing 1.0.4 (Reconfirmed on 2025/01/05) -2024/07/14 Update Build Fritzing 1.0.3 -2024/01/11 Update Build Fritzing 1.0.2 (Reconfirmed on 2024/05/05) -2023/11/18 Update Build Fritzing 1.0.1 +2024/10/28 Update Build Fritzing 1.0.4 (Reconfirmed on 2025/01/05) +2024/07/14 Update Build Fritzing 1.0.3 +2024/01/11 Update Build Fritzing 1.0.2 (Reconfirmed on 2024/05/05) +2023/11/18 Update Build Fritzing 1.0.1 -* How to Build Fritzing 1.0.4 from Source code in Windows with Visual Studio 2019 -http://www.neko.ne.jp/~freewing/software/build_fritzing_100_windows/ +* How to Build Fritzing 1.0.4 from Source code in Windows with Visual Studio 2019 +http://www.neko.ne.jp/~freewing/software/build_fritzing_100_windows/ -* Build Step +* Build Step ``` * Open Command Prompt @@ -26,28 +26,81 @@ bitsadmin /TRANSFER hoge https://raw.githubusercontent.com/FREEWING-JP/Build-Fri * Wait an hour ``` -* Customization Options - * You can change the Qt installation directory by setting the `QT_INSTALL_DIR` environment variable - * You can change the Fritzing workspace directory by setting the `FRITZING_WORKSPACE_DIR` environment variable - * See `README_QT_DIRECTORY.md` and `README_WORKSPACE_DIRECTORY.md` for details +## Directory Configuration + +The build scripts use a central configuration file called `directories_config.bat` to store all directory paths. This file is persistent and can be edited manually to customize your build environment. + +### Default Configuration + +The default configuration in `directories_config.bat` looks like this: + +```batch +@echo off +rem directories_config.bat +rem Configuration file for directory paths used in Fritzing build scripts +rem This file is meant to be persistent and can be edited manually + +rem Qt installation directory +set QT_INSTALL_DIR=F:\Qt + +rem Fritzing workspace directory +set FRITZING_WORKSPACE_DIR=\00_fritzing + +rem Visual Studio installation directory +set VS_INSTALL_DIR=C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools +``` + +### Setting Custom Directories + +You can customize the directories in two ways: + +#### Method 1: Set environment variables before running the scripts + +```batch +set QT_INSTALL_DIR=D:\CustomQtPath +set FRITZING_WORKSPACE_DIR=D:\FritzingBuild +set VS_INSTALL_DIR=D:\VisualStudio\2019\BuildTools +00_Download_Script.bat +``` + +#### Method 2: Edit the `directories_config.bat` file directly (recommended) + +After running the scripts once, you can edit the `directories_config.bat` file directly to change any of the directory paths. This is the recommended approach as your settings will be preserved between builds. + +### How It Works + +When you run `00_Download_Script.bat` for the first time, it checks if `directories_config.bat` exists: + +- If it exists, the script loads the configuration from it +- If it doesn't exist, the script creates it with default values + +All other scripts in the build process load this configuration file before executing their tasks, ensuring consistent settings across the entire build process. + +### Important Notes + +- The file is created automatically by `00_Download_Script.bat` if it doesn't exist +- Manual edits to this file will be preserved +- If you delete this file, it will be recreated with default values the next time you run `00_Download_Script.bat` +- Make sure the directories you specify exist or can be created by the script +- The workspace directory should be empty when you start the build process ![ClipImage_20241028_142712_529](https://github.com/user-attachments/assets/e5e4fbf4-d4c5-42b7-8580-83737367361d) ![ClipImage_20241028_142942_938](https://github.com/user-attachments/assets/7fc6c5e8-69a7-400e-867e-ec8a69823dcc) -* Tested -Windows 11 Real -Windows 11 Windows Sandbox -Windows 10 Windows Sandbox +* Tested +Windows 11 Real +Windows 11 Windows Sandbox +Windows 10 Windows Sandbox -* Fritzing 1.0.0を合法的に無料で使用する方法、Windows環境 VS2019でビルドする方法 -http://www.neko.ne.jp/~freewing/software/build_fritzing_100_windows/ +* Fritzing 1.0.0を合法的に無料で使用する方法、Windows環境 VS2019でビルドする方法 +http://www.neko.ne.jp/~freewing/software/build_fritzing_100_windows/ -* Donation Button -[![Donate](https://img.shields.io/badge/Donate-PayPal-green.svg)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=T79HPJ5H79PBU) +* Donation Button +[![Donate](https://img.shields.io/badge/Donate-PayPal-green.svg)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=T79HPJ5H79PBU) -* Youtube -[How to get Fritzing 1.0.0 for free - Compile Fritzing on Windows YouTube https://youtu.be/cC82PULJq6g](https://youtu.be/cC82PULJq6g) +* Youtube +[How to get Fritzing 1.0.0 for free - Compile Fritzing on Windows YouTube https://youtu.be/cC82PULJq6g](https://youtu.be/cC82PULJq6g) -* Youtube -[Fritzing 1.0.0を無料でゲットする方法 YouTube https://youtu.be/wLDuyNqms_g](https://youtu.be/wLDuyNqms_g) +* Youtube +[Fritzing 1.0.0を無料でゲットする方法 YouTube https://youtu.be/wLDuyNqms_g](https://youtu.be/wLDuyNqms_g) diff --git a/README_QT_DIRECTORY.md b/README_QT_DIRECTORY.md deleted file mode 100644 index a699470..0000000 --- a/README_QT_DIRECTORY.md +++ /dev/null @@ -1,44 +0,0 @@ -# Changing the Qt Installation Directory - -By default, the Fritzing build scripts will install Qt to `C:\Qt`. If you want to install Qt to a different directory, you can set the `QT_INSTALL_DIR` environment variable before running the scripts. - -## Method 1: Set the environment variable temporarily in the command prompt - -``` -set QT_INSTALL_DIR=D:\CustomQtPath -00_Download_Script.bat -``` - -## Method 2: Set the environment variable permanently in Windows - -1. Right-click on "This PC" or "My Computer" and select "Properties" -2. Click on "Advanced system settings" -3. Click on the "Environment Variables" button -4. Under "System variables" or "User variables", click "New" -5. Variable name: `QT_INSTALL_DIR` -6. Variable value: Your custom Qt path (e.g., `D:\CustomQtPath`) -7. Click "OK" to save - -After setting the environment variable, run the scripts as usual. The Qt installation and all related operations will use your custom directory instead of the default `C:\Qt`. - -## How It Works - -All the build scripts have been modified to: - -1. Read the `qt_config.bat` file created by `00_Download_Script.bat` -2. Use the `QT_INSTALL_DIR` environment variable for all Qt-related operations - -This includes: -- Installing Qt to your custom directory -- Building with the Qt libraries from your custom directory -- Copying Qt DLLs from your custom directory - -## Verifying the Qt Directory - -When you run `00_Download_Script.bat`, it will display the Qt installation directory it's using: - -``` -Using Qt installation directory: D:\CustomQtPath -``` - -This confirms that your custom directory is being used correctly. diff --git a/README_WORKSPACE_DIRECTORY.md b/README_WORKSPACE_DIRECTORY.md deleted file mode 100644 index fa545a6..0000000 --- a/README_WORKSPACE_DIRECTORY.md +++ /dev/null @@ -1,47 +0,0 @@ -# Changing the Fritzing Workspace Directory - -By default, the Fritzing build scripts will use `\00_fritzing` as the workspace directory. If you want to use a different directory, you can set the `FRITZING_WORKSPACE_DIR` environment variable before running the scripts. - -## Method 1: Set the environment variable temporarily in the command prompt - -``` -set FRITZING_WORKSPACE_DIR=D:\FritzingBuild -00_Download_Script.bat -``` - -## Method 2: Set the environment variable permanently in Windows - -1. Right-click on "This PC" or "My Computer" and select "Properties" -2. Click on "Advanced system settings" -3. Click on the "Environment Variables" button -4. Under "System variables" or "User variables", click "New" -5. Variable name: `FRITZING_WORKSPACE_DIR` -6. Variable value: Your custom workspace path (e.g., `D:\FritzingBuild`) -7. Click "OK" to save - -After setting the environment variable, run the scripts as usual. All Fritzing build operations will use your custom directory instead of the default `\00_fritzing`. - -## Verifying the Workspace Directory - -When you run `00_Download_Script.bat`, it will display the workspace directory it's using: - -``` -Using Fritzing workspace directory: D:\FritzingBuild -``` - -This confirms that your custom directory is being used correctly. - -## How It Works - -All the build scripts have been modified to: - -1. Read the `qt_config.bat` file created by `00_Download_Script.bat` -2. Use the `FRITZING_WORKSPACE_DIR` environment variable for all workspace-related operations - -This allows you to build Fritzing in a directory of your choice without having to modify each script individually. - -## Important Notes - -- Make sure the directory you specify exists or can be created by the script -- The directory should be empty when you start the build process -- All paths in the scripts are relative to this workspace directory diff --git a/directories_config.bat b/directories_config.bat new file mode 100644 index 0000000..3264cdc --- /dev/null +++ b/directories_config.bat @@ -0,0 +1,15 @@ +@echo off +rem directories_config.bat +rem Configuration file for directory paths used in Fritzing build scripts +rem This file is meant to be persistent and can be edited manually + +rem Qt installation directory (default is C:\Qt) +set QT_INSTALL_DIR=F:\Qt + +rem Fritzing workspace directory (default is \00_fritzing) +set FRITZING_WORKSPACE_DIR=\00_fritzing + +rem Visual Studio installation directory (default is auto-detected) +set VS_INSTALL_DIR=C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools + +rem Additional configuration variables can be added here From eb461fa9f6e1d00c9bb2f4e72455b3c55f6a400e Mon Sep 17 00:00:00 2001 From: NonaSuomy Date: Mon, 28 Apr 2025 15:44:52 +0000 Subject: [PATCH 06/70] Added directories_config.bat --- 00_Download_Script.bat | 182 +-- 00_Execute_Script.bat | 70 +- 01_Create_Build_directory.bat | 26 +- 02_Download_Requirement_Files.bat | 178 +-- 03_Install_Qt_653.bat | 202 +-- 04_Install_Visual_Studio_Build_Tools_2019.bat | 118 +- 05_Extract_Requirement_Files.bat | 130 +- 06_Download_from_Git.bat | 54 +- 07_Build_Library.bat | 284 ++-- 08_Fix_Library_place_Fritzing.bat | 44 +- 09_Download_Fritzing_Source_code.bat | 102 +- 10_Download_Fritzing_Parts_Library.bat | 48 +- 11_Fix_Fritzing_Source_code.bat | 56 +- 12_Fix_Fritzing_Header_files.bat | 94 +- 13_Build_phoenix_pro_with_Qt.bat | 136 +- 15_Copy_Fritzing_Requirement_DLL_files.bat | 48 +- 16_Copy_Qt_Requirement_DLL_files.bat | 68 +- 17_1st_Build_Parts_DB_file.bat | 50 +- 18_2nd_Launch_Fritzing.bat | 98 +- 19_Organize_unnecessary_files.bat | 54 +- 20_Create_Fritzing_zip_package.bat | 70 +- LICENSE | 1348 ++++++++--------- README.md | 212 +-- SendKeys_Accept.vbs | 36 +- SendKeys_AltF4.vbs | 42 +- directories_config.bat | 2 +- 26 files changed, 1876 insertions(+), 1876 deletions(-) diff --git a/00_Download_Script.bat b/00_Download_Script.bat index dcfebdb..28a6bb3 100644 --- a/00_Download_Script.bat +++ b/00_Download_Script.bat @@ -1,91 +1,91 @@ -@echo off -rem 00_Download_Script.bat -rem http://www.neko.ne.jp/~freewing/software/build_fritzing_100_windows/ -rem Copyright (c) 2023 FREE WING,Y.Sakamoto -echo %0 -@echo off - -rem Load configuration from directories_config.bat if it exists -rem Otherwise, use default values -if exist directories_config.bat ( - echo Loading configuration from directories_config.bat - call directories_config.bat -) else ( - echo directories_config.bat not found, creating with default values - rem Configure Qt installation directory (default is C:\Qt) - if "%QT_INSTALL_DIR%" == "" set QT_INSTALL_DIR=C:\Qt - - rem Configure Fritzing workspace directory (default is \00_fritzing) - if "%FRITZING_WORKSPACE_DIR%" == "" set FRITZING_WORKSPACE_DIR=\00_fritzing - - rem Configure Visual Studio installation directory - if "%VS_INSTALL_DIR%" == "" set VS_INSTALL_DIR=C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools - - rem Create the configuration file - echo @echo off> directories_config.bat - echo rem directories_config.bat>> directories_config.bat - echo rem Configuration file for directory paths used in Fritzing build scripts>> directories_config.bat - echo rem This file is meant to be persistent and can be edited manually>> directories_config.bat - echo.>> directories_config.bat - echo rem Qt installation directory>> directories_config.bat - echo set QT_INSTALL_DIR=%QT_INSTALL_DIR%>> directories_config.bat - echo.>> directories_config.bat - echo rem Fritzing workspace directory>> directories_config.bat - echo set FRITZING_WORKSPACE_DIR=%FRITZING_WORKSPACE_DIR%>> directories_config.bat - echo.>> directories_config.bat - echo rem Visual Studio installation directory>> directories_config.bat - echo set VS_INSTALL_DIR=%VS_INSTALL_DIR%>> directories_config.bat -) - -echo Using Qt installation directory: %QT_INSTALL_DIR% -echo Using Fritzing workspace directory: %FRITZING_WORKSPACE_DIR% -echo Using Visual Studio directory: %VS_INSTALL_DIR% - -cd \ -mkdir %FRITZING_WORKSPACE_DIR% -cd /d %FRITZING_WORKSPACE_DIR% - -rem https://github.com/FREEWING-JP/CSharp_DownloadFile -rem echo C# DownloadFile from URL -rem bitsadmin /TRANSFER hoge https://github.com/FREEWING-JP/CSharp_DownloadFile/releases/download/v0.0/DownloadFile.exe %cd%\DownloadFile.exe - -echo C# DownloadFile source code from URL -bitsadmin /TRANSFER hoge https://raw.githubusercontent.com/FREEWING-JP/CSharp_DownloadFile/main/DownloadFile.cs %cd%\DownloadFile.cs - -echo Build DownloadFile.exe -C:\Windows\Microsoft.NET\Framework\v4.0.30319\csc DownloadFile.cs - -rem https://github.com/FREEWING-JP/CSharp_UnZip -echo C# UnZip .Net 4.5 -if not exist UnZip.exe DownloadFile https://github.com/FREEWING-JP/CSharp_UnZip/releases/download/v0.0/UnZip.exe UnZip.exe - -rem https://github.com/FREEWING-JP/Build-Fritzing-1.0.0-Windows-script -echo Build Fritzing 1.0.0 Windows script -if not exist main.zip DownloadFile https://github.com/FREEWING-JP/Build-Fritzing-1.0.0-Windows-script/archive/refs/heads/main.zip main.zip - -UnZip.exe main.zip . - -move Build-Fritzing-1.0.0-Windows-script-main\*.* .\ -rmdir Build-Fritzing-1.0.0-Windows-script-main - -rem Update directories_config.bat if it already exists -if not exist directories_config.bat ( - rem Create the configuration file - echo @echo off> directories_config.bat - echo rem directories_config.bat>> directories_config.bat - echo rem Configuration file for directory paths used in Fritzing build scripts>> directories_config.bat - echo rem This file is meant to be persistent and can be edited manually>> directories_config.bat - echo.>> directories_config.bat - echo rem Qt installation directory>> directories_config.bat - echo set QT_INSTALL_DIR=%QT_INSTALL_DIR%>> directories_config.bat - echo.>> directories_config.bat - echo rem Fritzing workspace directory>> directories_config.bat - echo set FRITZING_WORKSPACE_DIR=%FRITZING_WORKSPACE_DIR%>> directories_config.bat - echo.>> directories_config.bat - echo rem Visual Studio installation directory>> directories_config.bat - echo set VS_INSTALL_DIR=%VS_INSTALL_DIR%>> directories_config.bat - echo.>> directories_config.bat - echo rem Created by 00_Download_Script.bat>> directories_config.bat -) - - +@echo off +rem 00_Download_Script.bat +rem http://www.neko.ne.jp/~freewing/software/build_fritzing_100_windows/ +rem Copyright (c) 2023 FREE WING,Y.Sakamoto +echo %0 +@echo off + +rem Load configuration from directories_config.bat if it exists +rem Otherwise, use default values +if exist directories_config.bat ( + echo Loading configuration from directories_config.bat + call directories_config.bat +) else ( + echo directories_config.bat not found, creating with default values + rem Configure Qt installation directory (default is C:\Qt) + if "%QT_INSTALL_DIR%" == "" set QT_INSTALL_DIR=C:\Qt + + rem Configure Fritzing workspace directory (default is \00_fritzing) + if "%FRITZING_WORKSPACE_DIR%" == "" set FRITZING_WORKSPACE_DIR=\00_fritzing + + rem Configure Visual Studio installation directory + if "%VS_INSTALL_DIR%" == "" set VS_INSTALL_DIR=C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools + + rem Create the configuration file + echo @echo off> directories_config.bat + echo rem directories_config.bat>> directories_config.bat + echo rem Configuration file for directory paths used in Fritzing build scripts>> directories_config.bat + echo rem This file is meant to be persistent and can be edited manually>> directories_config.bat + echo.>> directories_config.bat + echo rem Qt installation directory>> directories_config.bat + echo set QT_INSTALL_DIR=%QT_INSTALL_DIR%>> directories_config.bat + echo.>> directories_config.bat + echo rem Fritzing workspace directory>> directories_config.bat + echo set FRITZING_WORKSPACE_DIR=%FRITZING_WORKSPACE_DIR%>> directories_config.bat + echo.>> directories_config.bat + echo rem Visual Studio installation directory>> directories_config.bat + echo set VS_INSTALL_DIR=%VS_INSTALL_DIR%>> directories_config.bat +) + +echo Using Qt installation directory: %QT_INSTALL_DIR% +echo Using Fritzing workspace directory: %FRITZING_WORKSPACE_DIR% +echo Using Visual Studio directory: %VS_INSTALL_DIR% + +cd \ +mkdir %FRITZING_WORKSPACE_DIR% +cd /d %FRITZING_WORKSPACE_DIR% + +rem https://github.com/FREEWING-JP/CSharp_DownloadFile +rem echo C# DownloadFile from URL +rem bitsadmin /TRANSFER hoge https://github.com/FREEWING-JP/CSharp_DownloadFile/releases/download/v0.0/DownloadFile.exe %cd%\DownloadFile.exe + +echo C# DownloadFile source code from URL +bitsadmin /TRANSFER hoge https://raw.githubusercontent.com/FREEWING-JP/CSharp_DownloadFile/main/DownloadFile.cs %cd%\DownloadFile.cs + +echo Build DownloadFile.exe +C:\Windows\Microsoft.NET\Framework\v4.0.30319\csc DownloadFile.cs + +rem https://github.com/FREEWING-JP/CSharp_UnZip +echo C# UnZip .Net 4.5 +if not exist UnZip.exe DownloadFile https://github.com/FREEWING-JP/CSharp_UnZip/releases/download/v0.0/UnZip.exe UnZip.exe + +rem https://github.com/FREEWING-JP/Build-Fritzing-1.0.0-Windows-script +echo Build Fritzing 1.0.0 Windows script +if not exist main.zip DownloadFile https://github.com/FREEWING-JP/Build-Fritzing-1.0.0-Windows-script/archive/refs/heads/main.zip main.zip + +UnZip.exe main.zip . + +move Build-Fritzing-1.0.0-Windows-script-main\*.* .\ +rmdir Build-Fritzing-1.0.0-Windows-script-main + +rem Update directories_config.bat if it already exists +if not exist directories_config.bat ( + rem Create the configuration file + echo @echo off> directories_config.bat + echo rem directories_config.bat>> directories_config.bat + echo rem Configuration file for directory paths used in Fritzing build scripts>> directories_config.bat + echo rem This file is meant to be persistent and can be edited manually>> directories_config.bat + echo.>> directories_config.bat + echo rem Qt installation directory>> directories_config.bat + echo set QT_INSTALL_DIR=%QT_INSTALL_DIR%>> directories_config.bat + echo.>> directories_config.bat + echo rem Fritzing workspace directory>> directories_config.bat + echo set FRITZING_WORKSPACE_DIR=%FRITZING_WORKSPACE_DIR%>> directories_config.bat + echo.>> directories_config.bat + echo rem Visual Studio installation directory>> directories_config.bat + echo set VS_INSTALL_DIR=%VS_INSTALL_DIR%>> directories_config.bat + echo.>> directories_config.bat + echo rem Created by 00_Download_Script.bat>> directories_config.bat +) + + diff --git a/00_Execute_Script.bat b/00_Execute_Script.bat index f2aa0b6..184e577 100644 --- a/00_Execute_Script.bat +++ b/00_Execute_Script.bat @@ -1,35 +1,35 @@ -@echo off -rem 00_Execute_Script.bat -rem http://www.neko.ne.jp/~freewing/software/build_fritzing_100_windows/ -rem Copyright (c) 2023 FREE WING,Y.Sakamoto -echo %0 -rem Load configuration -if exist qt_config.bat call qt_config.bat - -cd /d %FRITZING_WORKSPACE_DIR% - -start /wait 02_Download_Requirement_Files.bat -start /wait 03_Install_Qt_653.bat -start /wait 04_Install_Visual_Studio_Build_Tools_2019.bat -start /wait 05_Extract_Requirement_Files.bat -start /wait 06_Download_from_Git.bat -start /wait 07_Build_Library.bat -start /wait 08_Fix_Library_place_Fritzing.bat - -start /wait 09_Download_Fritzing_Source_code.bat -start /wait 10_Download_Fritzing_Parts_Library.bat -start /wait 11_Fix_Fritzing_Source_code.bat -start /wait 12_Fix_Fritzing_Header_files.bat - -start /wait 13_Build_phoenix_pro_with_Qt.bat -start /wait 15_Copy_Fritzing_Requirement_DLL_files.bat -start /wait 16_Copy_Qt_Requirement_DLL_files.bat - -start /wait 17_1st_Build_Parts_DB_file.bat -start /wait 18_2nd_Launch_Fritzing.bat - -start /wait 19_Organize_unnecessary_files.bat -start /wait 20_Create_Fritzing_zip_package.bat - -exit - +@echo off +rem 00_Execute_Script.bat +rem http://www.neko.ne.jp/~freewing/software/build_fritzing_100_windows/ +rem Copyright (c) 2023 FREE WING,Y.Sakamoto +echo %0 +rem Load configuration +if exist qt_config.bat call qt_config.bat + +cd /d %FRITZING_WORKSPACE_DIR% + +start /wait 02_Download_Requirement_Files.bat +start /wait 03_Install_Qt_653.bat +start /wait 04_Install_Visual_Studio_Build_Tools_2019.bat +start /wait 05_Extract_Requirement_Files.bat +start /wait 06_Download_from_Git.bat +start /wait 07_Build_Library.bat +start /wait 08_Fix_Library_place_Fritzing.bat + +start /wait 09_Download_Fritzing_Source_code.bat +start /wait 10_Download_Fritzing_Parts_Library.bat +start /wait 11_Fix_Fritzing_Source_code.bat +start /wait 12_Fix_Fritzing_Header_files.bat + +start /wait 13_Build_phoenix_pro_with_Qt.bat +start /wait 15_Copy_Fritzing_Requirement_DLL_files.bat +start /wait 16_Copy_Qt_Requirement_DLL_files.bat + +start /wait 17_1st_Build_Parts_DB_file.bat +start /wait 18_2nd_Launch_Fritzing.bat + +start /wait 19_Organize_unnecessary_files.bat +start /wait 20_Create_Fritzing_zip_package.bat + +exit + diff --git a/01_Create_Build_directory.bat b/01_Create_Build_directory.bat index 9829547..a454761 100644 --- a/01_Create_Build_directory.bat +++ b/01_Create_Build_directory.bat @@ -1,13 +1,13 @@ -@echo off -rem 01_Create_Build_directory.bat -rem http://www.neko.ne.jp/~freewing/software/build_fritzing_100_windows/ -rem Copyright (c) 2023 FREE WING,Y.Sakamoto -echo %0 -rem Configure Fritzing workspace directory (default is \00_fritzing) -if "%FRITZING_WORKSPACE_DIR%" == "" set FRITZING_WORKSPACE_DIR=\00_fritzing -echo Using Fritzing workspace directory: %FRITZING_WORKSPACE_DIR% - -cd \ -mkdir %FRITZING_WORKSPACE_DIR% -cd /d %FRITZING_WORKSPACE_DIR% - +@echo off +rem 01_Create_Build_directory.bat +rem http://www.neko.ne.jp/~freewing/software/build_fritzing_100_windows/ +rem Copyright (c) 2023 FREE WING,Y.Sakamoto +echo %0 +rem Configure Fritzing workspace directory (default is \00_fritzing) +if "%FRITZING_WORKSPACE_DIR%" == "" set FRITZING_WORKSPACE_DIR=\00_fritzing +echo Using Fritzing workspace directory: %FRITZING_WORKSPACE_DIR% + +cd \ +mkdir %FRITZING_WORKSPACE_DIR% +cd /d %FRITZING_WORKSPACE_DIR% + diff --git a/02_Download_Requirement_Files.bat b/02_Download_Requirement_Files.bat index 7959c5c..9c8dd0c 100644 --- a/02_Download_Requirement_Files.bat +++ b/02_Download_Requirement_Files.bat @@ -1,89 +1,89 @@ -@echo off -rem 02_Download_Requirement_Files.bat -rem http://www.neko.ne.jp/~freewing/software/build_fritzing_100_windows/ -rem Copyright (c) 2023-2024 FREE WING,Y.Sakamoto -echo %0 -timeout /T 10 /NOBREAK -rem Load configuration -if exist qt_config.bat call qt_config.bat - -cd /d %FRITZING_WORKSPACE_DIR% - -rem https://git-scm.com/download/win -echo Git - Downloading Package Download for Windows -if not exist PortableGit-2.42.0.2-64-bit.7z.exe DownloadFile https://github.com/git-for-windows/git/releases/download/v2.42.0.windows.2/PortableGit-2.42.0.2-64-bit.7z.exe PortableGit-2.42.0.2-64-bit.7z.exe - -rem https://www.7-zip.org/ -echo 7-Zip -rem if not exist 7z2301-x64.exe DownloadFile https://www.7-zip.org/a/7z2301-x64.exe 7z2301-x64.exe -if not exist 7zr.exe DownloadFile https://7-zip.org/a/7zr.exe 7zr.exe - -rem https://learn.microsoft.com/ja-jp/visualstudio/install/build-tools-container?view=vs-2019 -rem Build Tools -echo Visual Studio Build Tools 2019 -if not exist vs_BuildTools_2019.exe DownloadFile https://aka.ms/vs/16/release/vs_BuildTools.exe vs_BuildTools_2019.exe - -rem Visual Studio Build Tools 2022 -rem DownloadFile https://aka.ms/vs/17/release/vs_BuildTools.exe vs_BuildTools_2022.exe - -rem https://www.qt.io/download-qt-installer-oss -echo Qt Qt6 -if not exist qt-unified-windows-x64-4.6.1-online.exe DownloadFile https://d13lb3tujbc8s0.cloudfront.net/onlineinstallers/qt-unified-windows-x64-4.6.1-online.exe qt-unified-windows-x64-4.6.1-online.exe - -rem https://www.boost.org/users/history/version_1_85_0.html -echo Boost Version 1.85.0 -rem April 15th, 2024 17:38 GMT -if not exist boost_1_85_0.zip DownloadFile https://archives.boost.io/release/1.85.0/source/boost_1_85_0.zip boost_1_85_0.zip - -if not exist boost_1_85_0.zip DownloadFile https://sourceforge.net/projects/boost/files/boost/1.85.0/boost_1_85_0.zip boost_1_85_0.zip - -echo Check file hash for validate -certutil -hashfile .\boost_1_85_0.zip SHA256 | findstr e712fe7eb1b9ec37ac25102525412fb4d74e638996443944025791f48f29408a -if not "%ERRORLEVEL%" == "0" goto failed - -rem https://www.zlib.net/ -rem zlib Home Site -echo zlib most recent release -if not exist zlib.tar.gz DownloadFile https://www.zlib.net/current/zlib.tar.gz zlib.tar.gz - -rem https://sourceforge.net/projects/ngspice/files/ng-spice-rework/42/ -echo ngspice-42 ngspice Files -if not exist ngspice-42.tar.gz DownloadFile https://jaist.dl.sourceforge.net/project/ngspice/ng-spice-rework/old-releases/42/ngspice-42.tar.gz ngspice-42.tar.gz - -if not exist ngspice-42_dll_64.7z DownloadFile https://master.dl.sourceforge.net/project/ngspice/ng-spice-rework/old-releases/42/ngspice-42_dll_64.7z ngspice-42_dll_64.7z - -rem for Fritzing 1.0.2 -rem https://kb.firedaemon.com/support/solutions/articles/4000121705 -rem OpenSSL 3.0.12 -echo OpenSSL 3.0.12 -if not exist openssl-3.0.12.zip DownloadFile https://download.firedaemon.com/FireDaemon-OpenSSL/openssl-3.0.12.zip openssl-3.0.12.zip - -rem https://ports.macports.org/port/polyclipping/ -rem polyclipping v6.4.2 -echo polyclipping v6.4.2 -if not exist clipper_ver6.4.2.zip DownloadFile https://jaist.dl.sourceforge.net/project/polyclipping/clipper_ver6.4.2.zip clipper_ver6.4.2.zip - -rem check download files -if not exist PortableGit-2.42.0.2-64-bit.7z.exe goto failed -if not exist 7zr.exe goto failed -if not exist vs_BuildTools_2019.exe goto failed -if not exist qt-unified-windows-x64-4.6.1-online.exe goto failed -if not exist boost_1_85_0.zip goto failed -if not exist zlib.tar.gz goto failed -if not exist ngspice-42.tar.gz goto failed -if not exist ngspice-42_dll_64.7z goto failed -rem for Fritzing 1.0.2 -if not exist openssl-3.0.12.zip goto failed -if not exist clipper_ver6.4.2.zip goto failed - -exit - -:failed -@echo off -echo . -echo === -echo Download Error -echo === -rundll32 user32.dll,MessageBeep -pause - +@echo off +rem 02_Download_Requirement_Files.bat +rem http://www.neko.ne.jp/~freewing/software/build_fritzing_100_windows/ +rem Copyright (c) 2023-2024 FREE WING,Y.Sakamoto +echo %0 +timeout /T 10 /NOBREAK +rem Load configuration +if exist qt_config.bat call qt_config.bat + +cd /d %FRITZING_WORKSPACE_DIR% + +rem https://git-scm.com/download/win +echo Git - Downloading Package Download for Windows +if not exist PortableGit-2.42.0.2-64-bit.7z.exe DownloadFile https://github.com/git-for-windows/git/releases/download/v2.42.0.windows.2/PortableGit-2.42.0.2-64-bit.7z.exe PortableGit-2.42.0.2-64-bit.7z.exe + +rem https://www.7-zip.org/ +echo 7-Zip +rem if not exist 7z2301-x64.exe DownloadFile https://www.7-zip.org/a/7z2301-x64.exe 7z2301-x64.exe +if not exist 7zr.exe DownloadFile https://7-zip.org/a/7zr.exe 7zr.exe + +rem https://learn.microsoft.com/ja-jp/visualstudio/install/build-tools-container?view=vs-2019 +rem Build Tools +echo Visual Studio Build Tools 2019 +if not exist vs_BuildTools_2019.exe DownloadFile https://aka.ms/vs/16/release/vs_BuildTools.exe vs_BuildTools_2019.exe + +rem Visual Studio Build Tools 2022 +rem DownloadFile https://aka.ms/vs/17/release/vs_BuildTools.exe vs_BuildTools_2022.exe + +rem https://www.qt.io/download-qt-installer-oss +echo Qt Qt6 +if not exist qt-unified-windows-x64-4.6.1-online.exe DownloadFile https://d13lb3tujbc8s0.cloudfront.net/onlineinstallers/qt-unified-windows-x64-4.6.1-online.exe qt-unified-windows-x64-4.6.1-online.exe + +rem https://www.boost.org/users/history/version_1_85_0.html +echo Boost Version 1.85.0 +rem April 15th, 2024 17:38 GMT +if not exist boost_1_85_0.zip DownloadFile https://archives.boost.io/release/1.85.0/source/boost_1_85_0.zip boost_1_85_0.zip + +if not exist boost_1_85_0.zip DownloadFile https://sourceforge.net/projects/boost/files/boost/1.85.0/boost_1_85_0.zip boost_1_85_0.zip + +echo Check file hash for validate +certutil -hashfile .\boost_1_85_0.zip SHA256 | findstr e712fe7eb1b9ec37ac25102525412fb4d74e638996443944025791f48f29408a +if not "%ERRORLEVEL%" == "0" goto failed + +rem https://www.zlib.net/ +rem zlib Home Site +echo zlib most recent release +if not exist zlib.tar.gz DownloadFile https://www.zlib.net/current/zlib.tar.gz zlib.tar.gz + +rem https://sourceforge.net/projects/ngspice/files/ng-spice-rework/42/ +echo ngspice-42 ngspice Files +if not exist ngspice-42.tar.gz DownloadFile https://jaist.dl.sourceforge.net/project/ngspice/ng-spice-rework/old-releases/42/ngspice-42.tar.gz ngspice-42.tar.gz + +if not exist ngspice-42_dll_64.7z DownloadFile https://master.dl.sourceforge.net/project/ngspice/ng-spice-rework/old-releases/42/ngspice-42_dll_64.7z ngspice-42_dll_64.7z + +rem for Fritzing 1.0.2 +rem https://kb.firedaemon.com/support/solutions/articles/4000121705 +rem OpenSSL 3.0.12 +echo OpenSSL 3.0.12 +if not exist openssl-3.0.12.zip DownloadFile https://download.firedaemon.com/FireDaemon-OpenSSL/openssl-3.0.12.zip openssl-3.0.12.zip + +rem https://ports.macports.org/port/polyclipping/ +rem polyclipping v6.4.2 +echo polyclipping v6.4.2 +if not exist clipper_ver6.4.2.zip DownloadFile https://jaist.dl.sourceforge.net/project/polyclipping/clipper_ver6.4.2.zip clipper_ver6.4.2.zip + +rem check download files +if not exist PortableGit-2.42.0.2-64-bit.7z.exe goto failed +if not exist 7zr.exe goto failed +if not exist vs_BuildTools_2019.exe goto failed +if not exist qt-unified-windows-x64-4.6.1-online.exe goto failed +if not exist boost_1_85_0.zip goto failed +if not exist zlib.tar.gz goto failed +if not exist ngspice-42.tar.gz goto failed +if not exist ngspice-42_dll_64.7z goto failed +rem for Fritzing 1.0.2 +if not exist openssl-3.0.12.zip goto failed +if not exist clipper_ver6.4.2.zip goto failed + +exit + +:failed +@echo off +echo . +echo === +echo Download Error +echo === +rundll32 user32.dll,MessageBeep +pause + diff --git a/03_Install_Qt_653.bat b/03_Install_Qt_653.bat index 6fc67c0..d257d5b 100644 --- a/03_Install_Qt_653.bat +++ b/03_Install_Qt_653.bat @@ -1,101 +1,101 @@ -@echo off -rem 03_Install_Qt_653.bat -rem http://www.neko.ne.jp/~freewing/software/build_fritzing_100_windows/ -rem Copyright (c) 2023 FREE WING,Y.Sakamoto -echo %0 -timeout /T 10 /NOBREAK -@echo off -cd /d \00_fritzing - -rem Load Qt directory configuration -if exist qt_config.bat call qt_config.bat - -if exist "%QT_INSTALL_DIR%\6.5.3\msvc2019_64" exit - - -echo . -echo === -echo MUST Require Qt Account -echo . -echo https://login.qt.io/register -echo === -echo Input Qt Account -rem Beep -rundll32 user32.dll,MessageBeep -if "%Qt_email%" == "" set /p Qt_email=Qt Account your_email ? -if "%Qt_passw%" == "" set /p Qt_passw=Qt Account your_password ? - -cls - -echo Check Admin Plivilege -whoami /groups | find "S-1-16-12288" > nul -if %ErrorLevel% == 0 goto is_admin - -echo . -echo . -echo . -echo === -echo User Account Control -echo === -echo Select Yes -rem Beep -rundll32 user32.dll,MessageBeep -pause - - -:is_admin - -if "%Qt_agree%" == "" goto manual_accept - -start SendKeys_Accept.vbs -goto auto_accept - - -:manual_accept -echo . -echo . -echo . -echo === -echo (Lesser) GNU General Public License v3 obligations: -echo Accept or Reject -echo === -rem Beep -rundll32 user32.dll,MessageBeep -pause - - -:auto_accept - -echo cd /d %cd%>qt_inst.bat -echo qt-unified-windows-x64-4.6.1-online.exe --root %QT_INSTALL_DIR% ^^>>qt_inst.bat -echo --email %Qt_email% ^^>>qt_inst.bat -echo --pw %Qt_passw% ^^>>qt_inst.bat -echo --accept-licenses ^^>>qt_inst.bat -echo --accept-messages ^^>>qt_inst.bat -echo --confirm-command ^^>>qt_inst.bat -echo --auto-answer telemetry-question=No ^^>>qt_inst.bat -echo install qt.qt6.653.win64_msvc2019_64 ^^>>qt_inst.bat -echo install qt.qt6.653.addons ^^>>qt_inst.bat -echo install qt.qt6.653.qt5compat>>qt_inst.bat - -@echo on - -start /wait powershell "Start-Process -FilePath 'qt_inst.bat' -WorkingDirectory '%cd%' -Verb RunAs -Wait" - -if exist %QT_INSTALL_DIR%\Tools\QtCreator\bin\jom\jom.exe goto end - -echo QtCreator jom.exe -cd /d \00_fritzing -if not exist jom_1_1_4.zip DownloadFile https://download.qt.io/official_releases/jom/jom_1_1_4.zip jom_1_1_4.zip - -rem Create jom directory if it doesn't exist -if not exist %QT_INSTALL_DIR%\Tools\QtCreator\bin\jom mkdir %QT_INSTALL_DIR%\Tools\QtCreator\bin\jom -UnZip.exe jom_1_1_4.zip %QT_INSTALL_DIR%\Tools\QtCreator\bin\jom\ - -:end -exit - - -rem include QtCreator -echo install qt.tools.qtcreator_gui ^^>>qt_inst.bat - +@echo off +rem 03_Install_Qt_653.bat +rem http://www.neko.ne.jp/~freewing/software/build_fritzing_100_windows/ +rem Copyright (c) 2023 FREE WING,Y.Sakamoto +echo %0 +timeout /T 10 /NOBREAK +@echo off +cd /d \00_fritzing + +rem Load Qt directory configuration +if exist qt_config.bat call qt_config.bat + +if exist "%QT_INSTALL_DIR%\6.5.3\msvc2019_64" exit + + +echo . +echo === +echo MUST Require Qt Account +echo . +echo https://login.qt.io/register +echo === +echo Input Qt Account +rem Beep +rundll32 user32.dll,MessageBeep +if "%Qt_email%" == "" set /p Qt_email=Qt Account your_email ? +if "%Qt_passw%" == "" set /p Qt_passw=Qt Account your_password ? + +cls + +echo Check Admin Plivilege +whoami /groups | find "S-1-16-12288" > nul +if %ErrorLevel% == 0 goto is_admin + +echo . +echo . +echo . +echo === +echo User Account Control +echo === +echo Select Yes +rem Beep +rundll32 user32.dll,MessageBeep +pause + + +:is_admin + +if "%Qt_agree%" == "" goto manual_accept + +start SendKeys_Accept.vbs +goto auto_accept + + +:manual_accept +echo . +echo . +echo . +echo === +echo (Lesser) GNU General Public License v3 obligations: +echo Accept or Reject +echo === +rem Beep +rundll32 user32.dll,MessageBeep +pause + + +:auto_accept + +echo cd /d %cd%>qt_inst.bat +echo qt-unified-windows-x64-4.6.1-online.exe --root %QT_INSTALL_DIR% ^^>>qt_inst.bat +echo --email %Qt_email% ^^>>qt_inst.bat +echo --pw %Qt_passw% ^^>>qt_inst.bat +echo --accept-licenses ^^>>qt_inst.bat +echo --accept-messages ^^>>qt_inst.bat +echo --confirm-command ^^>>qt_inst.bat +echo --auto-answer telemetry-question=No ^^>>qt_inst.bat +echo install qt.qt6.653.win64_msvc2019_64 ^^>>qt_inst.bat +echo install qt.qt6.653.addons ^^>>qt_inst.bat +echo install qt.qt6.653.qt5compat>>qt_inst.bat + +@echo on + +start /wait powershell "Start-Process -FilePath 'qt_inst.bat' -WorkingDirectory '%cd%' -Verb RunAs -Wait" + +if exist %QT_INSTALL_DIR%\Tools\QtCreator\bin\jom\jom.exe goto end + +echo QtCreator jom.exe +cd /d \00_fritzing +if not exist jom_1_1_4.zip DownloadFile https://download.qt.io/official_releases/jom/jom_1_1_4.zip jom_1_1_4.zip + +rem Create jom directory if it doesn't exist +if not exist %QT_INSTALL_DIR%\Tools\QtCreator\bin\jom mkdir %QT_INSTALL_DIR%\Tools\QtCreator\bin\jom +UnZip.exe jom_1_1_4.zip %QT_INSTALL_DIR%\Tools\QtCreator\bin\jom\ + +:end +exit + + +rem include QtCreator +echo install qt.tools.qtcreator_gui ^^>>qt_inst.bat + diff --git a/04_Install_Visual_Studio_Build_Tools_2019.bat b/04_Install_Visual_Studio_Build_Tools_2019.bat index 1754394..a702151 100644 --- a/04_Install_Visual_Studio_Build_Tools_2019.bat +++ b/04_Install_Visual_Studio_Build_Tools_2019.bat @@ -1,59 +1,59 @@ -@echo off -rem 04_Install_Visual_Studio_Build_Tools_2019.bat -rem http://www.neko.ne.jp/~freewing/software/build_fritzing_100_windows/ -rem Copyright (c) 2023 FREE WING,Y.Sakamoto -echo %0 -timeout /T 10 /NOBREAK -rem Load configuration -if exist directories_config.bat call directories_config.bat - -cd /d %FRITZING_WORKSPACE_DIR% - -if exist "%VS_INSTALL_DIR%" exit - - -@echo off -echo Check Admin Plivilege -whoami /groups | find "S-1-16-12288" > nul -if %ErrorLevel% == 0 goto is_admin - -echo . -echo === -echo User Account Control -echo === -echo Select Yes -rem Beep -rundll32 user32.dll,MessageBeep -pause - -:is_admin - -echo { > VSBT_VS2019.vsconfig -echo "version": "1.0", >> VSBT_VS2019.vsconfig -echo "components": [ >> VSBT_VS2019.vsconfig -echo "Microsoft.VisualStudio.Component.Roslyn.Compiler", >> VSBT_VS2019.vsconfig -echo "Microsoft.Component.MSBuild", >> VSBT_VS2019.vsconfig -echo "Microsoft.VisualStudio.Component.CoreBuildTools", >> VSBT_VS2019.vsconfig -echo "Microsoft.VisualStudio.Workload.MSBuildTools", >> VSBT_VS2019.vsconfig -echo "Microsoft.VisualStudio.Component.Windows10SDK", >> VSBT_VS2019.vsconfig -echo "Microsoft.VisualStudio.Component.VC.CoreBuildTools", >> VSBT_VS2019.vsconfig -echo "Microsoft.VisualStudio.Component.VC.Tools.x86.x64", >> VSBT_VS2019.vsconfig -echo "Microsoft.VisualStudio.Component.VC.Redist.14.Latest", >> VSBT_VS2019.vsconfig -echo "Microsoft.VisualStudio.Component.Windows10SDK.19041", >> VSBT_VS2019.vsconfig -echo "Microsoft.VisualStudio.Component.VC.CMake.Project", >> VSBT_VS2019.vsconfig -echo "Microsoft.VisualStudio.Component.TestTools.BuildTools", >> VSBT_VS2019.vsconfig -echo "Microsoft.VisualStudio.Component.VC.ASAN", >> VSBT_VS2019.vsconfig -echo "Microsoft.VisualStudio.Component.TextTemplating", >> VSBT_VS2019.vsconfig -echo "Microsoft.VisualStudio.Component.VC.CoreIde", >> VSBT_VS2019.vsconfig -echo "Microsoft.VisualStudio.ComponentGroup.NativeDesktop.Core", >> VSBT_VS2019.vsconfig -echo "Microsoft.VisualStudio.Workload.VCTools" >> VSBT_VS2019.vsconfig -echo ] >> VSBT_VS2019.vsconfig -echo } >> VSBT_VS2019.vsconfig - -set VSDIR=%cd% -vs_BuildTools_2019.exe --config %VSDIR%\VSBT_VS2019.vsconfig ^ - --installPath "%VS_INSTALL_DIR%" ^ - --norestart --passive --wait - -exit - +@echo off +rem 04_Install_Visual_Studio_Build_Tools_2019.bat +rem http://www.neko.ne.jp/~freewing/software/build_fritzing_100_windows/ +rem Copyright (c) 2023 FREE WING,Y.Sakamoto +echo %0 +timeout /T 10 /NOBREAK +rem Load configuration +if exist directories_config.bat call directories_config.bat + +cd /d %FRITZING_WORKSPACE_DIR% + +if exist "%VS_INSTALL_DIR%" exit + + +@echo off +echo Check Admin Plivilege +whoami /groups | find "S-1-16-12288" > nul +if %ErrorLevel% == 0 goto is_admin + +echo . +echo === +echo User Account Control +echo === +echo Select Yes +rem Beep +rundll32 user32.dll,MessageBeep +pause + +:is_admin + +echo { > VSBT_VS2019.vsconfig +echo "version": "1.0", >> VSBT_VS2019.vsconfig +echo "components": [ >> VSBT_VS2019.vsconfig +echo "Microsoft.VisualStudio.Component.Roslyn.Compiler", >> VSBT_VS2019.vsconfig +echo "Microsoft.Component.MSBuild", >> VSBT_VS2019.vsconfig +echo "Microsoft.VisualStudio.Component.CoreBuildTools", >> VSBT_VS2019.vsconfig +echo "Microsoft.VisualStudio.Workload.MSBuildTools", >> VSBT_VS2019.vsconfig +echo "Microsoft.VisualStudio.Component.Windows10SDK", >> VSBT_VS2019.vsconfig +echo "Microsoft.VisualStudio.Component.VC.CoreBuildTools", >> VSBT_VS2019.vsconfig +echo "Microsoft.VisualStudio.Component.VC.Tools.x86.x64", >> VSBT_VS2019.vsconfig +echo "Microsoft.VisualStudio.Component.VC.Redist.14.Latest", >> VSBT_VS2019.vsconfig +echo "Microsoft.VisualStudio.Component.Windows10SDK.19041", >> VSBT_VS2019.vsconfig +echo "Microsoft.VisualStudio.Component.VC.CMake.Project", >> VSBT_VS2019.vsconfig +echo "Microsoft.VisualStudio.Component.TestTools.BuildTools", >> VSBT_VS2019.vsconfig +echo "Microsoft.VisualStudio.Component.VC.ASAN", >> VSBT_VS2019.vsconfig +echo "Microsoft.VisualStudio.Component.TextTemplating", >> VSBT_VS2019.vsconfig +echo "Microsoft.VisualStudio.Component.VC.CoreIde", >> VSBT_VS2019.vsconfig +echo "Microsoft.VisualStudio.ComponentGroup.NativeDesktop.Core", >> VSBT_VS2019.vsconfig +echo "Microsoft.VisualStudio.Workload.VCTools" >> VSBT_VS2019.vsconfig +echo ] >> VSBT_VS2019.vsconfig +echo } >> VSBT_VS2019.vsconfig + +set VSDIR=%cd% +vs_BuildTools_2019.exe --config %VSDIR%\VSBT_VS2019.vsconfig ^ + --installPath "%VS_INSTALL_DIR%" ^ + --norestart --passive --wait + +exit + diff --git a/05_Extract_Requirement_Files.bat b/05_Extract_Requirement_Files.bat index 1d92fc8..852107f 100644 --- a/05_Extract_Requirement_Files.bat +++ b/05_Extract_Requirement_Files.bat @@ -1,65 +1,65 @@ -@echo off -rem 05_Extract_Requirement_Files.bat -rem http://www.neko.ne.jp/~freewing/software/build_fritzing_100_windows/ -rem Copyright (c) 2023-2024 FREE WING,Y.Sakamoto -echo %0 -timeout /T 10 /NOBREAK -rem Load configuration -if exist qt_config.bat call qt_config.bat - -cd /d %FRITZING_WORKSPACE_DIR% - -UnZip.exe boost_1_85_0.zip . - -tar -xf zlib.tar.gz -for /f "usebackq delims=" %%A in (`dir /b ZLIB-*`) do set ZLIB_DIR=%%A -echo %ZLIB_DIR% -ren %ZLIB_DIR% zlib-src - -tar -xf ngspice-42.tar.gz - -if not exist 7zr.exe goto 7z_inst - -7zr x PortableGit-2.42.0.2-64-bit.7z.exe -o.\PortableGit -7zr x ngspice-42_dll_64.7z -o.\ - -rem for Fritzing 1.0.2 -UnZip.exe clipper_ver6.4.2.zip .\clipper1-6.4.2 - -UnZip.exe openssl-3.0.12.zip . -ren openssl-3.0 openssl-3.0.12 -cd openssl-3.0.12 -xcopy /R /S .\x64\* . -ren lib lib64 - -exit - - -:7z_inst - -@echo off -echo Check Admin Plivilege -whoami /groups | find "S-1-16-12288" > nul -if %ErrorLevel% == 0 goto is_admin - -echo . -echo === -echo User Account Control -echo === -echo Select Yes -rem Beep -rundll32 user32.dll,MessageBeep -pause - -:is_admin - -echo cd /d %cd%>7z_inst.bat -echo 7z2301-x64.exe /S /D=%cd%\7z>>7z_inst.bat - -start /wait powershell "Start-Process -FilePath '7z_inst.bat' -WorkingDirectory '%cd%' -Verb RunAs -Wait" - -.\7z\7z x PortableGit-2.42.0.2-64-bit.7z.exe -o.\PortableGit -.\7z\7z x ngspice-42_dll_64.7z -o.\ - -exit - +@echo off +rem 05_Extract_Requirement_Files.bat +rem http://www.neko.ne.jp/~freewing/software/build_fritzing_100_windows/ +rem Copyright (c) 2023-2024 FREE WING,Y.Sakamoto +echo %0 +timeout /T 10 /NOBREAK +rem Load configuration +if exist qt_config.bat call qt_config.bat + +cd /d %FRITZING_WORKSPACE_DIR% + +UnZip.exe boost_1_85_0.zip . + +tar -xf zlib.tar.gz +for /f "usebackq delims=" %%A in (`dir /b ZLIB-*`) do set ZLIB_DIR=%%A +echo %ZLIB_DIR% +ren %ZLIB_DIR% zlib-src + +tar -xf ngspice-42.tar.gz + +if not exist 7zr.exe goto 7z_inst + +7zr x PortableGit-2.42.0.2-64-bit.7z.exe -o.\PortableGit +7zr x ngspice-42_dll_64.7z -o.\ + +rem for Fritzing 1.0.2 +UnZip.exe clipper_ver6.4.2.zip .\clipper1-6.4.2 + +UnZip.exe openssl-3.0.12.zip . +ren openssl-3.0 openssl-3.0.12 +cd openssl-3.0.12 +xcopy /R /S .\x64\* . +ren lib lib64 + +exit + + +:7z_inst + +@echo off +echo Check Admin Plivilege +whoami /groups | find "S-1-16-12288" > nul +if %ErrorLevel% == 0 goto is_admin + +echo . +echo === +echo User Account Control +echo === +echo Select Yes +rem Beep +rundll32 user32.dll,MessageBeep +pause + +:is_admin + +echo cd /d %cd%>7z_inst.bat +echo 7z2301-x64.exe /S /D=%cd%\7z>>7z_inst.bat + +start /wait powershell "Start-Process -FilePath '7z_inst.bat' -WorkingDirectory '%cd%' -Verb RunAs -Wait" + +.\7z\7z x PortableGit-2.42.0.2-64-bit.7z.exe -o.\PortableGit +.\7z\7z x ngspice-42_dll_64.7z -o.\ + +exit + diff --git a/06_Download_from_Git.bat b/06_Download_from_Git.bat index 5c75950..1abc478 100644 --- a/06_Download_from_Git.bat +++ b/06_Download_from_Git.bat @@ -1,27 +1,27 @@ -@echo off -rem 06_Download_from_Git.bat -rem http://www.neko.ne.jp/~freewing/software/build_fritzing_100_windows/ -rem Copyright (c) 2023 FREE WING,Y.Sakamoto -echo %0 -timeout /T 10 /NOBREAK -rem Load configuration -if exist qt_config.bat call qt_config.bat - -cd /d %FRITZING_WORKSPACE_DIR% - -Path=%cd%\PortableGit\bin;%Path% - -rem https://github.com/stachenov/quazip/releases -echo QuaZip v1.4 -git clone https://github.com/stachenov/quazip -b v1.4 quazip-1.4 - -rem https://github.com/svgpp/svgpp/releases/tag/v1.3.1 -echo SVG++ library 1.3.1 -git clone https://github.com/svgpp/svgpp -b v1.3.1 svgpp-1.3.1 - -rem https://github.com/libgit2/libgit2/releases/tag/v0.28.5 -echo libgit2 v0.28.5 -git clone https://github.com/libgit2/libgit2 -b v0.28.5 - -exit - +@echo off +rem 06_Download_from_Git.bat +rem http://www.neko.ne.jp/~freewing/software/build_fritzing_100_windows/ +rem Copyright (c) 2023 FREE WING,Y.Sakamoto +echo %0 +timeout /T 10 /NOBREAK +rem Load configuration +if exist qt_config.bat call qt_config.bat + +cd /d %FRITZING_WORKSPACE_DIR% + +Path=%cd%\PortableGit\bin;%Path% + +rem https://github.com/stachenov/quazip/releases +echo QuaZip v1.4 +git clone https://github.com/stachenov/quazip -b v1.4 quazip-1.4 + +rem https://github.com/svgpp/svgpp/releases/tag/v1.3.1 +echo SVG++ library 1.3.1 +git clone https://github.com/svgpp/svgpp -b v1.3.1 svgpp-1.3.1 + +rem https://github.com/libgit2/libgit2/releases/tag/v0.28.5 +echo libgit2 v0.28.5 +git clone https://github.com/libgit2/libgit2 -b v0.28.5 + +exit + diff --git a/07_Build_Library.bat b/07_Build_Library.bat index e5f9ac1..a243788 100644 --- a/07_Build_Library.bat +++ b/07_Build_Library.bat @@ -1,142 +1,142 @@ -@echo off -rem 07_Build_Library.bat -rem http://www.neko.ne.jp/~freewing/software/build_fritzing_100_windows/ -rem Copyright (c) 2023-2024 FREE WING,Y.Sakamoto -echo %0 -timeout /T 10 /NOBREAK -rem Load configuration -if exist directories_config.bat call directories_config.bat - -cd /d %FRITZING_WORKSPACE_DIR% - -Path=%cd%\PortableGit\bin;%Path% - -rem Visual Studio 2019 Build Tools -call "%VS_INSTALL_DIR%\Common7\Tools\VsDevCmd.bat" - -echo Build Boost -cd boost_1_85_0 - -rem Visual Studio 16 2019 BuildTools VS2019 14.2 -call bootstrap.bat vc142 - -echo %cd% -set BOOST_DIR=%cd% -set BUILD_JOBS=%NUMBER_OF_PROCESSORS% -rem Visual Studio 16 2019 BuildTools VS2019 14.2 -set TOOL_SET=msvc-14.2 - -b2.exe toolset=%TOOL_SET% link=static runtime-link=static,shared --build-dir=build/x64 address-model=64 -j%BUILD_JOBS% install --includedir=%BOOST_DIR%\include --libdir=%BOOST_DIR%\stage\lib\x64 -if not "%ERRORLEVEL%" == "0" goto failed - -cd .. - -echo Build libgit2 -cd libgit2 - -rmdir /S /Q build64 -mkdir build64 -cd build64 -cmake .. -G "Visual Studio 16 2019" -A x64 -DBUILD_CLAR=OFF -if not "%ERRORLEVEL%" == "0" goto failed - -cmake --build . --config Release -if not "%ERRORLEVEL%" == "0" goto failed - -cd .. -cd .. - -echo Build zlib -cd zlib-src - -rmdir /S /Q build64 -mkdir build64 -cd build64 -cmake .. -G "Visual Studio 16 2019" -A x64 -if not "%ERRORLEVEL%" == "0" goto failed - -msbuild /P:Configuration=Release ALL_BUILD.vcxproj -if not "%ERRORLEVEL%" == "0" goto failed - -cd .. - -rem -- Renaming -rem -- C:/00_fritzing/zlib-1.3/zconf.h -rem -- to 'zconf.h.included' because this file is included with zlib -rem -- but CMake generates it automatically in the build directory. -copy zconf.h.included zconf.h - -cd .. - -echo Build quazip -cd quazip-1.4 - -dir ..\zlib-src\build64\Release\zlib.lib - -set Qt6_DIR=%QT_INSTALL_DIR%\6.5.3\msvc2019_64 -dir %Qt6_DIR% - -rmdir /S /Q build64 -mkdir build64 -cmake -S . -B build64 ^ - -G "Visual Studio 16 2019" -A x64 ^ - -D QUAZIP_QT_MAJOR_VERSION=6 ^ - -D CMAKE_INSTALL_PREFIX=..\quazip-6.5.3-1.4 ^ - -D QUAZIP_USE_QT_ZLIB=OFF ^ - -D ZLIB_INCLUDE_DIR=..\zlib-src ^ - -D ZLIB_LIBRARY=%cd%\..\zlib-src\build64\Release\zlib.lib -if not "%ERRORLEVEL%" == "0" goto failed - -cmake --build build64 --config Release -if not "%ERRORLEVEL%" == "0" goto failed - -cmake --build build64 --config Release --target install -if not "%ERRORLEVEL%" == "0" goto failed - -cd .. - -rem for Fritzing 1.0.2 -echo Build clipper1 6.4.2 polyclipping -cd .\clipper1-6.4.2\cpp - -rem create lib file SET(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS ON) -powershell -Command "gc CMakeLists.txt | %% { $_ -creplace 'PROJECT\(polyclipping\)', \"PROJECT(polyclipping)`r`nSET(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS ON)\" } > CMakeLists.tmp" -powershell -Command "Get-Content -Encoding UTF8 CMakeLists.tmp" > CMakeLists.txt -del CMakeLists.tmp - -rmdir /S /Q build64 -mkdir build64 -cd build64 -cmake .. -G "Visual Studio 16 2019" -A x64 -DBUILD_CLAR=OFF -if not "%ERRORLEVEL%" == "0" goto failed - -cmake --build . --config Release -if not "%ERRORLEVEL%" == "0" goto failed - -dir .\Release - -mkdir ..\..\include -mkdir ..\..\include\polyclipping -copy ..\clipper.hpp ..\..\include\polyclipping\ - -mkdir ..\..\lib -copy .\Release\ ..\..\lib\ - -cd .. -cd .. - -exit - -:failed -@echo off -echo . -echo === -echo failed -echo === -:failed_beep -rem Beep -rundll32 user32.dll,MessageBeep -timeout /T 10 /NOBREAK - -goto failed_beep - +@echo off +rem 07_Build_Library.bat +rem http://www.neko.ne.jp/~freewing/software/build_fritzing_100_windows/ +rem Copyright (c) 2023-2024 FREE WING,Y.Sakamoto +echo %0 +timeout /T 10 /NOBREAK +rem Load configuration +if exist directories_config.bat call directories_config.bat + +cd /d %FRITZING_WORKSPACE_DIR% + +Path=%cd%\PortableGit\bin;%Path% + +rem Visual Studio 2019 Build Tools +call "%VS_INSTALL_DIR%\Common7\Tools\VsDevCmd.bat" + +echo Build Boost +cd boost_1_85_0 + +rem Visual Studio 16 2019 BuildTools VS2019 14.2 +call bootstrap.bat vc142 + +echo %cd% +set BOOST_DIR=%cd% +set BUILD_JOBS=%NUMBER_OF_PROCESSORS% +rem Visual Studio 16 2019 BuildTools VS2019 14.2 +set TOOL_SET=msvc-14.2 + +b2.exe toolset=%TOOL_SET% link=static runtime-link=static,shared --build-dir=build/x64 address-model=64 -j%BUILD_JOBS% install --includedir=%BOOST_DIR%\include --libdir=%BOOST_DIR%\stage\lib\x64 +if not "%ERRORLEVEL%" == "0" goto failed + +cd .. + +echo Build libgit2 +cd libgit2 + +rmdir /S /Q build64 +mkdir build64 +cd build64 +cmake .. -G "Visual Studio 16 2019" -A x64 -DBUILD_CLAR=OFF +if not "%ERRORLEVEL%" == "0" goto failed + +cmake --build . --config Release +if not "%ERRORLEVEL%" == "0" goto failed + +cd .. +cd .. + +echo Build zlib +cd zlib-src + +rmdir /S /Q build64 +mkdir build64 +cd build64 +cmake .. -G "Visual Studio 16 2019" -A x64 +if not "%ERRORLEVEL%" == "0" goto failed + +msbuild /P:Configuration=Release ALL_BUILD.vcxproj +if not "%ERRORLEVEL%" == "0" goto failed + +cd .. + +rem -- Renaming +rem -- C:/00_fritzing/zlib-1.3/zconf.h +rem -- to 'zconf.h.included' because this file is included with zlib +rem -- but CMake generates it automatically in the build directory. +copy zconf.h.included zconf.h + +cd .. + +echo Build quazip +cd quazip-1.4 + +dir ..\zlib-src\build64\Release\zlib.lib + +set Qt6_DIR=%QT_INSTALL_DIR%\6.5.3\msvc2019_64 +dir %Qt6_DIR% + +rmdir /S /Q build64 +mkdir build64 +cmake -S . -B build64 ^ + -G "Visual Studio 16 2019" -A x64 ^ + -D QUAZIP_QT_MAJOR_VERSION=6 ^ + -D CMAKE_INSTALL_PREFIX=..\quazip-6.5.3-1.4 ^ + -D QUAZIP_USE_QT_ZLIB=OFF ^ + -D ZLIB_INCLUDE_DIR=..\zlib-src ^ + -D ZLIB_LIBRARY=%cd%\..\zlib-src\build64\Release\zlib.lib +if not "%ERRORLEVEL%" == "0" goto failed + +cmake --build build64 --config Release +if not "%ERRORLEVEL%" == "0" goto failed + +cmake --build build64 --config Release --target install +if not "%ERRORLEVEL%" == "0" goto failed + +cd .. + +rem for Fritzing 1.0.2 +echo Build clipper1 6.4.2 polyclipping +cd .\clipper1-6.4.2\cpp + +rem create lib file SET(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS ON) +powershell -Command "gc CMakeLists.txt | %% { $_ -creplace 'PROJECT\(polyclipping\)', \"PROJECT(polyclipping)`r`nSET(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS ON)\" } > CMakeLists.tmp" +powershell -Command "Get-Content -Encoding UTF8 CMakeLists.tmp" > CMakeLists.txt +del CMakeLists.tmp + +rmdir /S /Q build64 +mkdir build64 +cd build64 +cmake .. -G "Visual Studio 16 2019" -A x64 -DBUILD_CLAR=OFF +if not "%ERRORLEVEL%" == "0" goto failed + +cmake --build . --config Release +if not "%ERRORLEVEL%" == "0" goto failed + +dir .\Release + +mkdir ..\..\include +mkdir ..\..\include\polyclipping +copy ..\clipper.hpp ..\..\include\polyclipping\ + +mkdir ..\..\lib +copy .\Release\ ..\..\lib\ + +cd .. +cd .. + +exit + +:failed +@echo off +echo . +echo === +echo failed +echo === +:failed_beep +rem Beep +rundll32 user32.dll,MessageBeep +timeout /T 10 /NOBREAK + +goto failed_beep + diff --git a/08_Fix_Library_place_Fritzing.bat b/08_Fix_Library_place_Fritzing.bat index 0b7c728..d9abaf0 100644 --- a/08_Fix_Library_place_Fritzing.bat +++ b/08_Fix_Library_place_Fritzing.bat @@ -1,22 +1,22 @@ -@echo off -rem 08_Fix_Library_place_Fritzing.bat -rem http://www.neko.ne.jp/~freewing/software/build_fritzing_100_windows/ -rem Copyright (c) 2023-2024 FREE WING,Y.Sakamoto -echo %0 -timeout /T 10 /NOBREAK -rem Load configuration -if exist qt_config.bat call qt_config.bat - -cd /d %FRITZING_WORKSPACE_DIR% - -dir .\quazip-6.5.3-1.4\include\QuaZip-Qt6-1.4\quazip -xcopy .\quazip-6.5.3-1.4\include\QuaZip-Qt6-1.4\quazip .\quazip-6.5.3-1.4\include\quazip\ - -dir .\quazip-6.5.3-1.4\bin -dir .\quazip-6.5.3-1.4\lib -xcopy .\quazip-6.5.3-1.4\bin .\quazip-6.5.3-1.4\build64\Release\ -xcopy .\quazip-6.5.3-1.4\lib\*.lib .\quazip-6.5.3-1.4\build64\Release\ -dir .\quazip-6.5.3-1.4\build64\Release\ - -exit - +@echo off +rem 08_Fix_Library_place_Fritzing.bat +rem http://www.neko.ne.jp/~freewing/software/build_fritzing_100_windows/ +rem Copyright (c) 2023-2024 FREE WING,Y.Sakamoto +echo %0 +timeout /T 10 /NOBREAK +rem Load configuration +if exist qt_config.bat call qt_config.bat + +cd /d %FRITZING_WORKSPACE_DIR% + +dir .\quazip-6.5.3-1.4\include\QuaZip-Qt6-1.4\quazip +xcopy .\quazip-6.5.3-1.4\include\QuaZip-Qt6-1.4\quazip .\quazip-6.5.3-1.4\include\quazip\ + +dir .\quazip-6.5.3-1.4\bin +dir .\quazip-6.5.3-1.4\lib +xcopy .\quazip-6.5.3-1.4\bin .\quazip-6.5.3-1.4\build64\Release\ +xcopy .\quazip-6.5.3-1.4\lib\*.lib .\quazip-6.5.3-1.4\build64\Release\ +dir .\quazip-6.5.3-1.4\build64\Release\ + +exit + diff --git a/09_Download_Fritzing_Source_code.bat b/09_Download_Fritzing_Source_code.bat index f6c01d3..9380606 100644 --- a/09_Download_Fritzing_Source_code.bat +++ b/09_Download_Fritzing_Source_code.bat @@ -1,51 +1,51 @@ -@echo off -rem 08_Download_Fritzing_Source_code.bat -rem http://www.neko.ne.jp/~freewing/software/build_fritzing_100_windows/ -rem Copyright (c) 2023-2024 FREE WING,Y.Sakamoto -echo %0 -timeout /T 10 /NOBREAK -rem Load configuration -if exist qt_config.bat call qt_config.bat - -cd /d %FRITZING_WORKSPACE_DIR% - -Path=%cd%\PortableGit\bin;%Path% - -echo https://github.com/fritzing/fritzing-app.git -git clone https://github.com/fritzing/fritzing-app.git -b develop - -cd fritzing-app -rem Update potis Commits on Jun 3, 2023 -rem equivalent Fritzing 1.0.0 -rem git pull origin 6b14cfe9016652e47b5da53ce3d199175736e43e - -rem equivalent Fritzing 1.0.1 Sep 6, 2023 -rem git pull origin 8f5f1373835050ce014299c78d91c24beea9b633 -rem git checkout 8f5f1373835050ce014299c78d91c24beea9b633 - -rem equivalent Fritzing 1.0.2 Dec 20, 2023 -rem git pull origin dbdbe34c843677df721c7b3fc3e32c0f737e7e95 -rem git checkout dbdbe34c843677df721c7b3fc3e32c0f737e7e95 - -rem equivalent Fritzing 1.0.3 May 31, 2024 -git pull origin a7811ba0427e664c740b5616b10626f2d45fd8b3 -git checkout a7811ba0427e664c740b5616b10626f2d45fd8b3 - -set Fritzing_hash=a8c6ef7cf66f7a42b9b233d6137f1b70a9573a25 -rem equivalent Fritzing 1.0.4 Oct 7, 2024 -git pull origin %Fritzing_hash% -git checkout %Fritzing_hash% - -rem add git tag 1.0.4 -git config --global user.email "you@example.com" -git config --global user.name "Your Name" -git tag -a 1.0.4 -m "" %Fritzing_hash% - -git show --format='%%H' --no-patch - -git rev-parse --git-dir - -cd .. - -exit - +@echo off +rem 08_Download_Fritzing_Source_code.bat +rem http://www.neko.ne.jp/~freewing/software/build_fritzing_100_windows/ +rem Copyright (c) 2023-2024 FREE WING,Y.Sakamoto +echo %0 +timeout /T 10 /NOBREAK +rem Load configuration +if exist qt_config.bat call qt_config.bat + +cd /d %FRITZING_WORKSPACE_DIR% + +Path=%cd%\PortableGit\bin;%Path% + +echo https://github.com/fritzing/fritzing-app.git +git clone https://github.com/fritzing/fritzing-app.git -b develop + +cd fritzing-app +rem Update potis Commits on Jun 3, 2023 +rem equivalent Fritzing 1.0.0 +rem git pull origin 6b14cfe9016652e47b5da53ce3d199175736e43e + +rem equivalent Fritzing 1.0.1 Sep 6, 2023 +rem git pull origin 8f5f1373835050ce014299c78d91c24beea9b633 +rem git checkout 8f5f1373835050ce014299c78d91c24beea9b633 + +rem equivalent Fritzing 1.0.2 Dec 20, 2023 +rem git pull origin dbdbe34c843677df721c7b3fc3e32c0f737e7e95 +rem git checkout dbdbe34c843677df721c7b3fc3e32c0f737e7e95 + +rem equivalent Fritzing 1.0.3 May 31, 2024 +git pull origin a7811ba0427e664c740b5616b10626f2d45fd8b3 +git checkout a7811ba0427e664c740b5616b10626f2d45fd8b3 + +set Fritzing_hash=a8c6ef7cf66f7a42b9b233d6137f1b70a9573a25 +rem equivalent Fritzing 1.0.4 Oct 7, 2024 +git pull origin %Fritzing_hash% +git checkout %Fritzing_hash% + +rem add git tag 1.0.4 +git config --global user.email "you@example.com" +git config --global user.name "Your Name" +git tag -a 1.0.4 -m "" %Fritzing_hash% + +git show --format='%%H' --no-patch + +git rev-parse --git-dir + +cd .. + +exit + diff --git a/10_Download_Fritzing_Parts_Library.bat b/10_Download_Fritzing_Parts_Library.bat index 8098f80..b72192d 100644 --- a/10_Download_Fritzing_Parts_Library.bat +++ b/10_Download_Fritzing_Parts_Library.bat @@ -1,24 +1,24 @@ -@echo off -rem 10_Download_Fritzing_Parts_Library.bat -rem http://www.neko.ne.jp/~freewing/software/build_fritzing_100_windows/ -rem Copyright (c) 2023-2024 FREE WING,Y.Sakamoto -echo %0 -timeout /T 10 /NOBREAK -rem Load configuration -if exist qt_config.bat call qt_config.bat - -cd /d %FRITZING_WORKSPACE_DIR% - -Path=%cd%\PortableGit\bin;%Path% - -mkdir release64 -cd release64 - -rem Commits on Sep 30, 2024 -echo https://github.com/fritzing/fritzing-parts -git clone https://github.com/fritzing/fritzing-parts -b 1.0.4 - -cd .. - -exit - +@echo off +rem 10_Download_Fritzing_Parts_Library.bat +rem http://www.neko.ne.jp/~freewing/software/build_fritzing_100_windows/ +rem Copyright (c) 2023-2024 FREE WING,Y.Sakamoto +echo %0 +timeout /T 10 /NOBREAK +rem Load configuration +if exist qt_config.bat call qt_config.bat + +cd /d %FRITZING_WORKSPACE_DIR% + +Path=%cd%\PortableGit\bin;%Path% + +mkdir release64 +cd release64 + +rem Commits on Sep 30, 2024 +echo https://github.com/fritzing/fritzing-parts +git clone https://github.com/fritzing/fritzing-parts -b 1.0.4 + +cd .. + +exit + diff --git a/11_Fix_Fritzing_Source_code.bat b/11_Fix_Fritzing_Source_code.bat index d96049a..3b4bdb6 100644 --- a/11_Fix_Fritzing_Source_code.bat +++ b/11_Fix_Fritzing_Source_code.bat @@ -1,28 +1,28 @@ -@echo off -rem 11_Fix_Fritzing_Source_code.bat -rem http://www.neko.ne.jp/~freewing/software/build_fritzing_100_windows/ -rem Copyright (c) 2023-2024 FREE WING,Y.Sakamoto -echo %0 -timeout /T 10 /NOBREAK -rem Load configuration -if exist qt_config.bat call qt_config.bat - -cd /d %FRITZING_WORKSPACE_DIR% - -cd fritzing-app - -cd .\src\model - -rem it fixed Fritzing 1.0.2 -rem https://github.com/fritzing/fritzing-app/commit/bd010ce4961bd90505fa540032dfcc97500e364c -rem only for Fritzing 1.0.1 or 1.0.0 -rem powershell -Command "gc modelbase.cpp | %% { $_ -creplace 'oldDoc.setContent\(&newFzp\);', 'oldDoc.setContent(&newFzp, nullptr);' } > modelbase.cpp_tmp" - -rem ren modelbase.cpp modelbase.cpp_bak -rem del modelbase.cpp -rem ren modelbase.cpp_tmp modelbase.cpp - -cd /d \00_fritzing - -exit - +@echo off +rem 11_Fix_Fritzing_Source_code.bat +rem http://www.neko.ne.jp/~freewing/software/build_fritzing_100_windows/ +rem Copyright (c) 2023-2024 FREE WING,Y.Sakamoto +echo %0 +timeout /T 10 /NOBREAK +rem Load configuration +if exist qt_config.bat call qt_config.bat + +cd /d %FRITZING_WORKSPACE_DIR% + +cd fritzing-app + +cd .\src\model + +rem it fixed Fritzing 1.0.2 +rem https://github.com/fritzing/fritzing-app/commit/bd010ce4961bd90505fa540032dfcc97500e364c +rem only for Fritzing 1.0.1 or 1.0.0 +rem powershell -Command "gc modelbase.cpp | %% { $_ -creplace 'oldDoc.setContent\(&newFzp\);', 'oldDoc.setContent(&newFzp, nullptr);' } > modelbase.cpp_tmp" + +rem ren modelbase.cpp modelbase.cpp_bak +rem del modelbase.cpp +rem ren modelbase.cpp_tmp modelbase.cpp + +cd /d \00_fritzing + +exit + diff --git a/12_Fix_Fritzing_Header_files.bat b/12_Fix_Fritzing_Header_files.bat index 31d856a..0a93f9f 100644 --- a/12_Fix_Fritzing_Header_files.bat +++ b/12_Fix_Fritzing_Header_files.bat @@ -1,47 +1,47 @@ -@echo off -rem 12_Fix_Fritzing_Header_files.bat -rem http://www.neko.ne.jp/~freewing/software/build_fritzing_100_windows/ -rem Copyright (c) 2023 FREE WING,Y.Sakamoto -echo %0 -timeout /T 10 /NOBREAK -rem Load configuration -if exist directories_config.bat call directories_config.bat - -cd /d %FRITZING_WORKSPACE_DIR% - -Path=%cd%\PortableGit\bin;%Path% - -cd fritzing-app - -if not exist ..\fritzing_h\ goto qmake_jom - -xcopy ..\fritzing_h\ ..\debug64\ -xcopy ..\fritzing_h\ ..\release64\ - -cd .. - -exit - - -:qmake_jom - -set currennt_dir=%cd% - -echo qtenv2.bat -call %QT_INSTALL_DIR%\6.5.3\msvc2019_64\bin\qtenv2.bat - -echo x64 Native Tools Command Prompt for VS 2019 -call "%VS_INSTALL_DIR%\VC\Auxiliary\Build\vcvars64.bat" - -cd /d %currennt_dir% - -%QT_INSTALL_DIR%\6.5.3\msvc2019_64\bin\qmake.exe -o Makefile phoenix.pro "QMAKE_TARGET.arch=x86_64" -%QT_INSTALL_DIR%\Tools\QtCreator\bin\jom\jom.exe -f Makefile.Debug compiler_uic_make_all -DIR ..\debug64\ui_*.h -xcopy ..\debug64\*.h ..\fritzing_h\ -xcopy ..\fritzing_h\ ..\release64\ - -cd .. - -exit - +@echo off +rem 12_Fix_Fritzing_Header_files.bat +rem http://www.neko.ne.jp/~freewing/software/build_fritzing_100_windows/ +rem Copyright (c) 2023 FREE WING,Y.Sakamoto +echo %0 +timeout /T 10 /NOBREAK +rem Load configuration +if exist directories_config.bat call directories_config.bat + +cd /d %FRITZING_WORKSPACE_DIR% + +Path=%cd%\PortableGit\bin;%Path% + +cd fritzing-app + +if not exist ..\fritzing_h\ goto qmake_jom + +xcopy ..\fritzing_h\ ..\debug64\ +xcopy ..\fritzing_h\ ..\release64\ + +cd .. + +exit + + +:qmake_jom + +set currennt_dir=%cd% + +echo qtenv2.bat +call %QT_INSTALL_DIR%\6.5.3\msvc2019_64\bin\qtenv2.bat + +echo x64 Native Tools Command Prompt for VS 2019 +call "%VS_INSTALL_DIR%\VC\Auxiliary\Build\vcvars64.bat" + +cd /d %currennt_dir% + +%QT_INSTALL_DIR%\6.5.3\msvc2019_64\bin\qmake.exe -o Makefile phoenix.pro "QMAKE_TARGET.arch=x86_64" +%QT_INSTALL_DIR%\Tools\QtCreator\bin\jom\jom.exe -f Makefile.Debug compiler_uic_make_all +DIR ..\debug64\ui_*.h +xcopy ..\debug64\*.h ..\fritzing_h\ +xcopy ..\fritzing_h\ ..\release64\ + +cd .. + +exit + diff --git a/13_Build_phoenix_pro_with_Qt.bat b/13_Build_phoenix_pro_with_Qt.bat index c19913c..6743ec0 100644 --- a/13_Build_phoenix_pro_with_Qt.bat +++ b/13_Build_phoenix_pro_with_Qt.bat @@ -1,68 +1,68 @@ -@echo off -rem 13_Build_phoenix_pro_with_Qt.bat -rem http://www.neko.ne.jp/~freewing/software/build_fritzing_100_windows/ -rem Copyright (c) 2023 FREE WING,Y.Sakamoto -echo %0 -timeout /T 10 /NOBREAK -rem Load configuration -if exist directories_config.bat call directories_config.bat - -cd /d %FRITZING_WORKSPACE_DIR% - -Path=%cd%\PortableGit\bin;%Path% - -cd fritzing-app -git show --format='%%H' --no-patch - -git rev-parse --git-dir - -set currennt_dir=%cd% - -echo qtenv2.bat -call %QT_INSTALL_DIR%\6.5.3\msvc2019_64\bin\qtenv2.bat - -echo x64 Native Tools Command Prompt for VS 2019 -call "%VS_INSTALL_DIR%\VC\Auxiliary\Build\vcvars64.bat" - -cd /d %currennt_dir% - -echo qmake -%QT_INSTALL_DIR%/6.5.3/msvc2019_64/bin/qmake.exe phoenix.pro ^ - -spec win32-msvc ^ - INCLUDEPATH+="..\ngspice-42\src\include" - -rem Use svgpp 1.3.1 -rem https://github.com/fritzing/fritzing-app/commit/0a53e1b4a5e9752a27d3f11157cc505f3691f20c -rem INCLUDEPATH+="..\svgpp-1.3.1\include" - -%QT_INSTALL_DIR%/Tools/QtCreator/bin/jom/jom.exe qmake_all - - -echo Build -%QT_INSTALL_DIR%\Tools\QtCreator\bin\jom\jom.exe -f Makefile.Release - -cd .. - -cd .\release64 - -if not exist Fritzing.exe goto failed - -dir Fritzing.exe - -cd .. - -exit - -:failed -@echo off -echo . -echo === -echo failed -echo === -:failed_beep -rem Beep -rundll32 user32.dll,MessageBeep -timeout /T 5 /NOBREAK - -goto failed_beep - +@echo off +rem 13_Build_phoenix_pro_with_Qt.bat +rem http://www.neko.ne.jp/~freewing/software/build_fritzing_100_windows/ +rem Copyright (c) 2023 FREE WING,Y.Sakamoto +echo %0 +timeout /T 10 /NOBREAK +rem Load configuration +if exist directories_config.bat call directories_config.bat + +cd /d %FRITZING_WORKSPACE_DIR% + +Path=%cd%\PortableGit\bin;%Path% + +cd fritzing-app +git show --format='%%H' --no-patch + +git rev-parse --git-dir + +set currennt_dir=%cd% + +echo qtenv2.bat +call %QT_INSTALL_DIR%\6.5.3\msvc2019_64\bin\qtenv2.bat + +echo x64 Native Tools Command Prompt for VS 2019 +call "%VS_INSTALL_DIR%\VC\Auxiliary\Build\vcvars64.bat" + +cd /d %currennt_dir% + +echo qmake +%QT_INSTALL_DIR%/6.5.3/msvc2019_64/bin/qmake.exe phoenix.pro ^ + -spec win32-msvc ^ + INCLUDEPATH+="..\ngspice-42\src\include" + +rem Use svgpp 1.3.1 +rem https://github.com/fritzing/fritzing-app/commit/0a53e1b4a5e9752a27d3f11157cc505f3691f20c +rem INCLUDEPATH+="..\svgpp-1.3.1\include" + +%QT_INSTALL_DIR%/Tools/QtCreator/bin/jom/jom.exe qmake_all + + +echo Build +%QT_INSTALL_DIR%\Tools\QtCreator\bin\jom\jom.exe -f Makefile.Release + +cd .. + +cd .\release64 + +if not exist Fritzing.exe goto failed + +dir Fritzing.exe + +cd .. + +exit + +:failed +@echo off +echo . +echo === +echo failed +echo === +:failed_beep +rem Beep +rundll32 user32.dll,MessageBeep +timeout /T 5 /NOBREAK + +goto failed_beep + diff --git a/15_Copy_Fritzing_Requirement_DLL_files.bat b/15_Copy_Fritzing_Requirement_DLL_files.bat index 6a8f0a6..2f82240 100644 --- a/15_Copy_Fritzing_Requirement_DLL_files.bat +++ b/15_Copy_Fritzing_Requirement_DLL_files.bat @@ -1,24 +1,24 @@ -@echo off -rem 15_Copy_Fritzing_Requirement_DLL_files.bat -rem http://www.neko.ne.jp/~freewing/software/build_fritzing_100_windows/ -rem Copyright (c) 2023-2024 FREE WING,Y.Sakamoto -echo %0 -timeout /T 10 /NOBREAK -rem Load configuration -if exist directories_config.bat call directories_config.bat - -cd /d %FRITZING_WORKSPACE_DIR% - -copy .\libgit2\build64\Release\git2.dll .\release64 -copy .\zlib-src\build64\Release\zlib.dll .\release64 -copy .\quazip-6.5.3-1.4\bin\quazip1-qt6.dll .\release64 -copy %QT_INSTALL_DIR%\6.5.3\msvc2019_64\bin\Qt6Core5Compat.dll .\release64 - -rem for Simulate function -copy .\Spice64_dll\dll-vs\*.dll .\release64 - -rem for Fritzing 1.0.2 -copy .\clipper1-6.4.2\lib\polyclipping.dll .\release64 - -exit - +@echo off +rem 15_Copy_Fritzing_Requirement_DLL_files.bat +rem http://www.neko.ne.jp/~freewing/software/build_fritzing_100_windows/ +rem Copyright (c) 2023-2024 FREE WING,Y.Sakamoto +echo %0 +timeout /T 10 /NOBREAK +rem Load configuration +if exist directories_config.bat call directories_config.bat + +cd /d %FRITZING_WORKSPACE_DIR% + +copy .\libgit2\build64\Release\git2.dll .\release64 +copy .\zlib-src\build64\Release\zlib.dll .\release64 +copy .\quazip-6.5.3-1.4\bin\quazip1-qt6.dll .\release64 +copy %QT_INSTALL_DIR%\6.5.3\msvc2019_64\bin\Qt6Core5Compat.dll .\release64 + +rem for Simulate function +copy .\Spice64_dll\dll-vs\*.dll .\release64 + +rem for Fritzing 1.0.2 +copy .\clipper1-6.4.2\lib\polyclipping.dll .\release64 + +exit + diff --git a/16_Copy_Qt_Requirement_DLL_files.bat b/16_Copy_Qt_Requirement_DLL_files.bat index b7dea74..98d66cc 100644 --- a/16_Copy_Qt_Requirement_DLL_files.bat +++ b/16_Copy_Qt_Requirement_DLL_files.bat @@ -1,34 +1,34 @@ -@echo off -rem 16_Copy_Qt_Requirement_DLL_files.bat -rem http://www.neko.ne.jp/~freewing/software/build_fritzing_100_windows/ -rem Copyright (c) 2023 FREE WING,Y.Sakamoto -echo %0 -timeout /T 10 /NOBREAK -rem Load configuration -if exist directories_config.bat call directories_config.bat - -cd /d %FRITZING_WORKSPACE_DIR% - -cd .\release64 - -if not exist Fritzing.exe goto failed - -%QT_INSTALL_DIR%\6.5.3\msvc2019_64\bin\windeployqt6.exe Fritzing.exe - -cd .. - -exit - -:failed -@echo off -echo . -echo === -echo failed -echo === -:failed_beep -rem Beep -rundll32 user32.dll,MessageBeep -timeout /T 5 /NOBREAK - -goto failed_beep - +@echo off +rem 16_Copy_Qt_Requirement_DLL_files.bat +rem http://www.neko.ne.jp/~freewing/software/build_fritzing_100_windows/ +rem Copyright (c) 2023 FREE WING,Y.Sakamoto +echo %0 +timeout /T 10 /NOBREAK +rem Load configuration +if exist directories_config.bat call directories_config.bat + +cd /d %FRITZING_WORKSPACE_DIR% + +cd .\release64 + +if not exist Fritzing.exe goto failed + +%QT_INSTALL_DIR%\6.5.3\msvc2019_64\bin\windeployqt6.exe Fritzing.exe + +cd .. + +exit + +:failed +@echo off +echo . +echo === +echo failed +echo === +:failed_beep +rem Beep +rundll32 user32.dll,MessageBeep +timeout /T 5 /NOBREAK + +goto failed_beep + diff --git a/17_1st_Build_Parts_DB_file.bat b/17_1st_Build_Parts_DB_file.bat index be1c588..e8d67c1 100644 --- a/17_1st_Build_Parts_DB_file.bat +++ b/17_1st_Build_Parts_DB_file.bat @@ -1,25 +1,25 @@ -@echo off -rem 17_1st_Build_Parts_DB_file.bat -rem http://www.neko.ne.jp/~freewing/software/build_fritzing_100_windows/ -rem Copyright (c) 2023 FREE WING,Y.Sakamoto -echo %0 -timeout /T 10 /NOBREAK -rem Load configuration -if exist qt_config.bat call qt_config.bat - -cd /d %FRITZING_WORKSPACE_DIR% - -cd .\release64 - -@echo off -echo . -echo === -echo * 1st execute to create parts.db DB file -Fritzing.exe -f "..\fritzing-app\" -parts "..\release64\fritzing-parts\" -db "..\release64\fritzing-parts\parts.db" -rem Beep -rundll32 user32.dll,MessageBeep - -cd .. - -exit - +@echo off +rem 17_1st_Build_Parts_DB_file.bat +rem http://www.neko.ne.jp/~freewing/software/build_fritzing_100_windows/ +rem Copyright (c) 2023 FREE WING,Y.Sakamoto +echo %0 +timeout /T 10 /NOBREAK +rem Load configuration +if exist qt_config.bat call qt_config.bat + +cd /d %FRITZING_WORKSPACE_DIR% + +cd .\release64 + +@echo off +echo . +echo === +echo * 1st execute to create parts.db DB file +Fritzing.exe -f "..\fritzing-app\" -parts "..\release64\fritzing-parts\" -db "..\release64\fritzing-parts\parts.db" +rem Beep +rundll32 user32.dll,MessageBeep + +cd .. + +exit + diff --git a/18_2nd_Launch_Fritzing.bat b/18_2nd_Launch_Fritzing.bat index 8f9acf5..00f1680 100644 --- a/18_2nd_Launch_Fritzing.bat +++ b/18_2nd_Launch_Fritzing.bat @@ -1,49 +1,49 @@ -@echo off -rem 18_2nd_Launch_Fritzing.bat -rem http://www.neko.ne.jp/~freewing/software/build_fritzing_100_windows/ -rem Copyright (c) 2023 FREE WING,Y.Sakamoto -echo %0 -timeout /T 10 /NOBREAK -rem Load configuration -if exist qt_config.bat call qt_config.bat - -cd /d %FRITZING_WORKSPACE_DIR% - -cd .\release64 - -@echo off -echo . -echo === -echo * 2nd execute to Normally Launch Fritzing -rem Beep -rundll32 user32.dll,MessageBeep - -rem start /wait Fritzing.exe -start Fritzing.exe - -timeout /T 10 /NOBREAK - -cd .. - -if "%Qt_close%" == "" goto wait_close - -start SendKeys_AltF4.vbs - - -:wait_close -echo . -echo . -echo . -echo === -echo * 3rd -echo Waiting Close Fritzing app. -rem Beep -rundll32 user32.dll,MessageBeep - -timeout /T 5 /NOBREAK - -TASKLIST /FI "STATUS eq RUNNING" | findstr Fritzing.exe -if %ERRORLEVEL% EQU 0 goto wait_close - -exit - +@echo off +rem 18_2nd_Launch_Fritzing.bat +rem http://www.neko.ne.jp/~freewing/software/build_fritzing_100_windows/ +rem Copyright (c) 2023 FREE WING,Y.Sakamoto +echo %0 +timeout /T 10 /NOBREAK +rem Load configuration +if exist qt_config.bat call qt_config.bat + +cd /d %FRITZING_WORKSPACE_DIR% + +cd .\release64 + +@echo off +echo . +echo === +echo * 2nd execute to Normally Launch Fritzing +rem Beep +rundll32 user32.dll,MessageBeep + +rem start /wait Fritzing.exe +start Fritzing.exe + +timeout /T 10 /NOBREAK + +cd .. + +if "%Qt_close%" == "" goto wait_close + +start SendKeys_AltF4.vbs + + +:wait_close +echo . +echo . +echo . +echo === +echo * 3rd +echo Waiting Close Fritzing app. +rem Beep +rundll32 user32.dll,MessageBeep + +timeout /T 5 /NOBREAK + +TASKLIST /FI "STATUS eq RUNNING" | findstr Fritzing.exe +if %ERRORLEVEL% EQU 0 goto wait_close + +exit + diff --git a/19_Organize_unnecessary_files.bat b/19_Organize_unnecessary_files.bat index 77aaa22..ce04b8c 100644 --- a/19_Organize_unnecessary_files.bat +++ b/19_Organize_unnecessary_files.bat @@ -1,27 +1,27 @@ -@echo off -rem 19_Organize_unnecessary_files.bat -rem http://www.neko.ne.jp/~freewing/software/build_fritzing_100_windows/ -rem Copyright (c) 2023 FREE WING,Y.Sakamoto -echo %0 -timeout /T 10 /NOBREAK -rem Load configuration -if exist qt_config.bat call qt_config.bat - -cd /d %FRITZING_WORKSPACE_DIR% - -cd .\release64 - -mkdir .\_\ - -move *.cpp .\_\ -move *.h .\_\ -move *.obj .\_\ - -powershell compress-archive .\_ _.zip - -rmdir /S /Q .\_\ - -cd .. - -exit - +@echo off +rem 19_Organize_unnecessary_files.bat +rem http://www.neko.ne.jp/~freewing/software/build_fritzing_100_windows/ +rem Copyright (c) 2023 FREE WING,Y.Sakamoto +echo %0 +timeout /T 10 /NOBREAK +rem Load configuration +if exist qt_config.bat call qt_config.bat + +cd /d %FRITZING_WORKSPACE_DIR% + +cd .\release64 + +mkdir .\_\ + +move *.cpp .\_\ +move *.h .\_\ +move *.obj .\_\ + +powershell compress-archive .\_ _.zip + +rmdir /S /Q .\_\ + +cd .. + +exit + diff --git a/20_Create_Fritzing_zip_package.bat b/20_Create_Fritzing_zip_package.bat index 9775712..0ffe169 100644 --- a/20_Create_Fritzing_zip_package.bat +++ b/20_Create_Fritzing_zip_package.bat @@ -1,35 +1,35 @@ -@echo off -rem 20_Create_Fritzing_zip_package.bat -rem http://www.neko.ne.jp/~freewing/software/build_fritzing_100_windows/ -rem Copyright (c) 2023-2024 FREE WING,Y.Sakamoto -echo %0 -timeout /T 10 /NOBREAK -rem Load configuration -if exist qt_config.bat call qt_config.bat - -cd /d %FRITZING_WORKSPACE_DIR% - -set Fritzing_XXX=Fritzing_104 - -ren release64 %Fritzing_XXX% - -powershell compress-archive .\%Fritzing_XXX% %Fritzing_XXX%.zip - -ren %Fritzing_XXX% release64 - -echo . -echo === -dir %Fritzing_XXX%.zip -rem Beep -rundll32 user32.dll,MessageBeep -timeout /T 1 /NOBREAK -rundll32 user32.dll,MessageBeep -timeout /T 1 /NOBREAK -rundll32 user32.dll,MessageBeep - -timeout /T 10 /NOBREAK - -start . - -exit - +@echo off +rem 20_Create_Fritzing_zip_package.bat +rem http://www.neko.ne.jp/~freewing/software/build_fritzing_100_windows/ +rem Copyright (c) 2023-2024 FREE WING,Y.Sakamoto +echo %0 +timeout /T 10 /NOBREAK +rem Load configuration +if exist qt_config.bat call qt_config.bat + +cd /d %FRITZING_WORKSPACE_DIR% + +set Fritzing_XXX=Fritzing_104 + +ren release64 %Fritzing_XXX% + +powershell compress-archive .\%Fritzing_XXX% %Fritzing_XXX%.zip + +ren %Fritzing_XXX% release64 + +echo . +echo === +dir %Fritzing_XXX%.zip +rem Beep +rundll32 user32.dll,MessageBeep +timeout /T 1 /NOBREAK +rundll32 user32.dll,MessageBeep +timeout /T 1 /NOBREAK +rundll32 user32.dll,MessageBeep + +timeout /T 10 /NOBREAK + +start . + +exit + diff --git a/LICENSE b/LICENSE index f288702..3877ae0 100644 --- a/LICENSE +++ b/LICENSE @@ -1,674 +1,674 @@ - GNU GENERAL PUBLIC LICENSE - Version 3, 29 June 2007 - - Copyright (C) 2007 Free Software Foundation, Inc. - Everyone is permitted to copy and distribute verbatim copies - of this license document, but changing it is not allowed. - - Preamble - - The GNU General Public License is a free, copyleft license for -software and other kinds of works. - - The licenses for most software and other practical works are designed -to take away your freedom to share and change the works. By contrast, -the GNU General Public License is intended to guarantee your freedom to -share and change all versions of a program--to make sure it remains free -software for all its users. We, the Free Software Foundation, use the -GNU General Public License for most of our software; it applies also to -any other work released this way by its authors. You can apply it to -your programs, too. - - When we speak of free software, we are referring to freedom, not -price. Our General Public Licenses are designed to make sure that you -have the freedom to distribute copies of free software (and charge for -them if you wish), that you receive source code or can get it if you -want it, that you can change the software or use pieces of it in new -free programs, and that you know you can do these things. - - To protect your rights, we need to prevent others from denying you -these rights or asking you to surrender the rights. Therefore, you have -certain responsibilities if you distribute copies of the software, or if -you modify it: responsibilities to respect the freedom of others. - - For example, if you distribute copies of such a program, whether -gratis or for a fee, you must pass on to the recipients the same -freedoms that you received. You must make sure that they, too, receive -or can get the source code. And you must show them these terms so they -know their rights. - - Developers that use the GNU GPL protect your rights with two steps: -(1) assert copyright on the software, and (2) offer you this License -giving you legal permission to copy, distribute and/or modify it. - - For the developers' and authors' protection, the GPL clearly explains -that there is no warranty for this free software. For both users' and -authors' sake, the GPL requires that modified versions be marked as -changed, so that their problems will not be attributed erroneously to -authors of previous versions. - - Some devices are designed to deny users access to install or run -modified versions of the software inside them, although the manufacturer -can do so. This is fundamentally incompatible with the aim of -protecting users' freedom to change the software. The systematic -pattern of such abuse occurs in the area of products for individuals to -use, which is precisely where it is most unacceptable. Therefore, we -have designed this version of the GPL to prohibit the practice for those -products. If such problems arise substantially in other domains, we -stand ready to extend this provision to those domains in future versions -of the GPL, as needed to protect the freedom of users. - - Finally, every program is threatened constantly by software patents. -States should not allow patents to restrict development and use of -software on general-purpose computers, but in those that do, we wish to -avoid the special danger that patents applied to a free program could -make it effectively proprietary. To prevent this, the GPL assures that -patents cannot be used to render the program non-free. - - The precise terms and conditions for copying, distribution and -modification follow. - - TERMS AND CONDITIONS - - 0. Definitions. - - "This License" refers to version 3 of the GNU General Public License. - - "Copyright" also means copyright-like laws that apply to other kinds of -works, such as semiconductor masks. - - "The Program" refers to any copyrightable work licensed under this -License. Each licensee is addressed as "you". "Licensees" and -"recipients" may be individuals or organizations. - - To "modify" a work means to copy from or adapt all or part of the work -in a fashion requiring copyright permission, other than the making of an -exact copy. The resulting work is called a "modified version" of the -earlier work or a work "based on" the earlier work. - - A "covered work" means either the unmodified Program or a work based -on the Program. - - To "propagate" a work means to do anything with it that, without -permission, would make you directly or secondarily liable for -infringement under applicable copyright law, except executing it on a -computer or modifying a private copy. Propagation includes copying, -distribution (with or without modification), making available to the -public, and in some countries other activities as well. - - To "convey" a work means any kind of propagation that enables other -parties to make or receive copies. Mere interaction with a user through -a computer network, with no transfer of a copy, is not conveying. - - An interactive user interface displays "Appropriate Legal Notices" -to the extent that it includes a convenient and prominently visible -feature that (1) displays an appropriate copyright notice, and (2) -tells the user that there is no warranty for the work (except to the -extent that warranties are provided), that licensees may convey the -work under this License, and how to view a copy of this License. If -the interface presents a list of user commands or options, such as a -menu, a prominent item in the list meets this criterion. - - 1. Source Code. - - The "source code" for a work means the preferred form of the work -for making modifications to it. "Object code" means any non-source -form of a work. - - A "Standard Interface" means an interface that either is an official -standard defined by a recognized standards body, or, in the case of -interfaces specified for a particular programming language, one that -is widely used among developers working in that language. - - The "System Libraries" of an executable work include anything, other -than the work as a whole, that (a) is included in the normal form of -packaging a Major Component, but which is not part of that Major -Component, and (b) serves only to enable use of the work with that -Major Component, or to implement a Standard Interface for which an -implementation is available to the public in source code form. A -"Major Component", in this context, means a major essential component -(kernel, window system, and so on) of the specific operating system -(if any) on which the executable work runs, or a compiler used to -produce the work, or an object code interpreter used to run it. - - The "Corresponding Source" for a work in object code form means all -the source code needed to generate, install, and (for an executable -work) run the object code and to modify the work, including scripts to -control those activities. However, it does not include the work's -System Libraries, or general-purpose tools or generally available free -programs which are used unmodified in performing those activities but -which are not part of the work. For example, Corresponding Source -includes interface definition files associated with source files for -the work, and the source code for shared libraries and dynamically -linked subprograms that the work is specifically designed to require, -such as by intimate data communication or control flow between those -subprograms and other parts of the work. - - The Corresponding Source need not include anything that users -can regenerate automatically from other parts of the Corresponding -Source. - - The Corresponding Source for a work in source code form is that -same work. - - 2. Basic Permissions. - - All rights granted under this License are granted for the term of -copyright on the Program, and are irrevocable provided the stated -conditions are met. This License explicitly affirms your unlimited -permission to run the unmodified Program. The output from running a -covered work is covered by this License only if the output, given its -content, constitutes a covered work. This License acknowledges your -rights of fair use or other equivalent, as provided by copyright law. - - You may make, run and propagate covered works that you do not -convey, without conditions so long as your license otherwise remains -in force. You may convey covered works to others for the sole purpose -of having them make modifications exclusively for you, or provide you -with facilities for running those works, provided that you comply with -the terms of this License in conveying all material for which you do -not control copyright. Those thus making or running the covered works -for you must do so exclusively on your behalf, under your direction -and control, on terms that prohibit them from making any copies of -your copyrighted material outside their relationship with you. - - Conveying under any other circumstances is permitted solely under -the conditions stated below. Sublicensing is not allowed; section 10 -makes it unnecessary. - - 3. Protecting Users' Legal Rights From Anti-Circumvention Law. - - No covered work shall be deemed part of an effective technological -measure under any applicable law fulfilling obligations under article -11 of the WIPO copyright treaty adopted on 20 December 1996, or -similar laws prohibiting or restricting circumvention of such -measures. - - When you convey a covered work, you waive any legal power to forbid -circumvention of technological measures to the extent such circumvention -is effected by exercising rights under this License with respect to -the covered work, and you disclaim any intention to limit operation or -modification of the work as a means of enforcing, against the work's -users, your or third parties' legal rights to forbid circumvention of -technological measures. - - 4. Conveying Verbatim Copies. - - You may convey verbatim copies of the Program's source code as you -receive it, in any medium, provided that you conspicuously and -appropriately publish on each copy an appropriate copyright notice; -keep intact all notices stating that this License and any -non-permissive terms added in accord with section 7 apply to the code; -keep intact all notices of the absence of any warranty; and give all -recipients a copy of this License along with the Program. - - You may charge any price or no price for each copy that you convey, -and you may offer support or warranty protection for a fee. - - 5. Conveying Modified Source Versions. - - You may convey a work based on the Program, or the modifications to -produce it from the Program, in the form of source code under the -terms of section 4, provided that you also meet all of these conditions: - - a) The work must carry prominent notices stating that you modified - it, and giving a relevant date. - - b) The work must carry prominent notices stating that it is - released under this License and any conditions added under section - 7. This requirement modifies the requirement in section 4 to - "keep intact all notices". - - c) You must license the entire work, as a whole, under this - License to anyone who comes into possession of a copy. This - License will therefore apply, along with any applicable section 7 - additional terms, to the whole of the work, and all its parts, - regardless of how they are packaged. This License gives no - permission to license the work in any other way, but it does not - invalidate such permission if you have separately received it. - - d) If the work has interactive user interfaces, each must display - Appropriate Legal Notices; however, if the Program has interactive - interfaces that do not display Appropriate Legal Notices, your - work need not make them do so. - - A compilation of a covered work with other separate and independent -works, which are not by their nature extensions of the covered work, -and which are not combined with it such as to form a larger program, -in or on a volume of a storage or distribution medium, is called an -"aggregate" if the compilation and its resulting copyright are not -used to limit the access or legal rights of the compilation's users -beyond what the individual works permit. Inclusion of a covered work -in an aggregate does not cause this License to apply to the other -parts of the aggregate. - - 6. Conveying Non-Source Forms. - - You may convey a covered work in object code form under the terms -of sections 4 and 5, provided that you also convey the -machine-readable Corresponding Source under the terms of this License, -in one of these ways: - - a) Convey the object code in, or embodied in, a physical product - (including a physical distribution medium), accompanied by the - Corresponding Source fixed on a durable physical medium - customarily used for software interchange. - - b) Convey the object code in, or embodied in, a physical product - (including a physical distribution medium), accompanied by a - written offer, valid for at least three years and valid for as - long as you offer spare parts or customer support for that product - model, to give anyone who possesses the object code either (1) a - copy of the Corresponding Source for all the software in the - product that is covered by this License, on a durable physical - medium customarily used for software interchange, for a price no - more than your reasonable cost of physically performing this - conveying of source, or (2) access to copy the - Corresponding Source from a network server at no charge. - - c) Convey individual copies of the object code with a copy of the - written offer to provide the Corresponding Source. This - alternative is allowed only occasionally and noncommercially, and - only if you received the object code with such an offer, in accord - with subsection 6b. - - d) Convey the object code by offering access from a designated - place (gratis or for a charge), and offer equivalent access to the - Corresponding Source in the same way through the same place at no - further charge. You need not require recipients to copy the - Corresponding Source along with the object code. If the place to - copy the object code is a network server, the Corresponding Source - may be on a different server (operated by you or a third party) - that supports equivalent copying facilities, provided you maintain - clear directions next to the object code saying where to find the - Corresponding Source. Regardless of what server hosts the - Corresponding Source, you remain obligated to ensure that it is - available for as long as needed to satisfy these requirements. - - e) Convey the object code using peer-to-peer transmission, provided - you inform other peers where the object code and Corresponding - Source of the work are being offered to the general public at no - charge under subsection 6d. - - A separable portion of the object code, whose source code is excluded -from the Corresponding Source as a System Library, need not be -included in conveying the object code work. - - A "User Product" is either (1) a "consumer product", which means any -tangible personal property which is normally used for personal, family, -or household purposes, or (2) anything designed or sold for incorporation -into a dwelling. In determining whether a product is a consumer product, -doubtful cases shall be resolved in favor of coverage. For a particular -product received by a particular user, "normally used" refers to a -typical or common use of that class of product, regardless of the status -of the particular user or of the way in which the particular user -actually uses, or expects or is expected to use, the product. A product -is a consumer product regardless of whether the product has substantial -commercial, industrial or non-consumer uses, unless such uses represent -the only significant mode of use of the product. - - "Installation Information" for a User Product means any methods, -procedures, authorization keys, or other information required to install -and execute modified versions of a covered work in that User Product from -a modified version of its Corresponding Source. The information must -suffice to ensure that the continued functioning of the modified object -code is in no case prevented or interfered with solely because -modification has been made. - - If you convey an object code work under this section in, or with, or -specifically for use in, a User Product, and the conveying occurs as -part of a transaction in which the right of possession and use of the -User Product is transferred to the recipient in perpetuity or for a -fixed term (regardless of how the transaction is characterized), the -Corresponding Source conveyed under this section must be accompanied -by the Installation Information. But this requirement does not apply -if neither you nor any third party retains the ability to install -modified object code on the User Product (for example, the work has -been installed in ROM). - - The requirement to provide Installation Information does not include a -requirement to continue to provide support service, warranty, or updates -for a work that has been modified or installed by the recipient, or for -the User Product in which it has been modified or installed. Access to a -network may be denied when the modification itself materially and -adversely affects the operation of the network or violates the rules and -protocols for communication across the network. - - Corresponding Source conveyed, and Installation Information provided, -in accord with this section must be in a format that is publicly -documented (and with an implementation available to the public in -source code form), and must require no special password or key for -unpacking, reading or copying. - - 7. Additional Terms. - - "Additional permissions" are terms that supplement the terms of this -License by making exceptions from one or more of its conditions. -Additional permissions that are applicable to the entire Program shall -be treated as though they were included in this License, to the extent -that they are valid under applicable law. If additional permissions -apply only to part of the Program, that part may be used separately -under those permissions, but the entire Program remains governed by -this License without regard to the additional permissions. - - When you convey a copy of a covered work, you may at your option -remove any additional permissions from that copy, or from any part of -it. (Additional permissions may be written to require their own -removal in certain cases when you modify the work.) You may place -additional permissions on material, added by you to a covered work, -for which you have or can give appropriate copyright permission. - - Notwithstanding any other provision of this License, for material you -add to a covered work, you may (if authorized by the copyright holders of -that material) supplement the terms of this License with terms: - - a) Disclaiming warranty or limiting liability differently from the - terms of sections 15 and 16 of this License; or - - b) Requiring preservation of specified reasonable legal notices or - author attributions in that material or in the Appropriate Legal - Notices displayed by works containing it; or - - c) Prohibiting misrepresentation of the origin of that material, or - requiring that modified versions of such material be marked in - reasonable ways as different from the original version; or - - d) Limiting the use for publicity purposes of names of licensors or - authors of the material; or - - e) Declining to grant rights under trademark law for use of some - trade names, trademarks, or service marks; or - - f) Requiring indemnification of licensors and authors of that - material by anyone who conveys the material (or modified versions of - it) with contractual assumptions of liability to the recipient, for - any liability that these contractual assumptions directly impose on - those licensors and authors. - - All other non-permissive additional terms are considered "further -restrictions" within the meaning of section 10. If the Program as you -received it, or any part of it, contains a notice stating that it is -governed by this License along with a term that is a further -restriction, you may remove that term. If a license document contains -a further restriction but permits relicensing or conveying under this -License, you may add to a covered work material governed by the terms -of that license document, provided that the further restriction does -not survive such relicensing or conveying. - - If you add terms to a covered work in accord with this section, you -must place, in the relevant source files, a statement of the -additional terms that apply to those files, or a notice indicating -where to find the applicable terms. - - Additional terms, permissive or non-permissive, may be stated in the -form of a separately written license, or stated as exceptions; -the above requirements apply either way. - - 8. Termination. - - You may not propagate or modify a covered work except as expressly -provided under this License. Any attempt otherwise to propagate or -modify it is void, and will automatically terminate your rights under -this License (including any patent licenses granted under the third -paragraph of section 11). - - However, if you cease all violation of this License, then your -license from a particular copyright holder is reinstated (a) -provisionally, unless and until the copyright holder explicitly and -finally terminates your license, and (b) permanently, if the copyright -holder fails to notify you of the violation by some reasonable means -prior to 60 days after the cessation. - - Moreover, your license from a particular copyright holder is -reinstated permanently if the copyright holder notifies you of the -violation by some reasonable means, this is the first time you have -received notice of violation of this License (for any work) from that -copyright holder, and you cure the violation prior to 30 days after -your receipt of the notice. - - Termination of your rights under this section does not terminate the -licenses of parties who have received copies or rights from you under -this License. If your rights have been terminated and not permanently -reinstated, you do not qualify to receive new licenses for the same -material under section 10. - - 9. Acceptance Not Required for Having Copies. - - You are not required to accept this License in order to receive or -run a copy of the Program. Ancillary propagation of a covered work -occurring solely as a consequence of using peer-to-peer transmission -to receive a copy likewise does not require acceptance. However, -nothing other than this License grants you permission to propagate or -modify any covered work. These actions infringe copyright if you do -not accept this License. Therefore, by modifying or propagating a -covered work, you indicate your acceptance of this License to do so. - - 10. Automatic Licensing of Downstream Recipients. - - Each time you convey a covered work, the recipient automatically -receives a license from the original licensors, to run, modify and -propagate that work, subject to this License. You are not responsible -for enforcing compliance by third parties with this License. - - An "entity transaction" is a transaction transferring control of an -organization, or substantially all assets of one, or subdividing an -organization, or merging organizations. If propagation of a covered -work results from an entity transaction, each party to that -transaction who receives a copy of the work also receives whatever -licenses to the work the party's predecessor in interest had or could -give under the previous paragraph, plus a right to possession of the -Corresponding Source of the work from the predecessor in interest, if -the predecessor has it or can get it with reasonable efforts. - - You may not impose any further restrictions on the exercise of the -rights granted or affirmed under this License. For example, you may -not impose a license fee, royalty, or other charge for exercise of -rights granted under this License, and you may not initiate litigation -(including a cross-claim or counterclaim in a lawsuit) alleging that -any patent claim is infringed by making, using, selling, offering for -sale, or importing the Program or any portion of it. - - 11. Patents. - - A "contributor" is a copyright holder who authorizes use under this -License of the Program or a work on which the Program is based. The -work thus licensed is called the contributor's "contributor version". - - A contributor's "essential patent claims" are all patent claims -owned or controlled by the contributor, whether already acquired or -hereafter acquired, that would be infringed by some manner, permitted -by this License, of making, using, or selling its contributor version, -but do not include claims that would be infringed only as a -consequence of further modification of the contributor version. For -purposes of this definition, "control" includes the right to grant -patent sublicenses in a manner consistent with the requirements of -this License. - - Each contributor grants you a non-exclusive, worldwide, royalty-free -patent license under the contributor's essential patent claims, to -make, use, sell, offer for sale, import and otherwise run, modify and -propagate the contents of its contributor version. - - In the following three paragraphs, a "patent license" is any express -agreement or commitment, however denominated, not to enforce a patent -(such as an express permission to practice a patent or covenant not to -sue for patent infringement). To "grant" such a patent license to a -party means to make such an agreement or commitment not to enforce a -patent against the party. - - If you convey a covered work, knowingly relying on a patent license, -and the Corresponding Source of the work is not available for anyone -to copy, free of charge and under the terms of this License, through a -publicly available network server or other readily accessible means, -then you must either (1) cause the Corresponding Source to be so -available, or (2) arrange to deprive yourself of the benefit of the -patent license for this particular work, or (3) arrange, in a manner -consistent with the requirements of this License, to extend the patent -license to downstream recipients. "Knowingly relying" means you have -actual knowledge that, but for the patent license, your conveying the -covered work in a country, or your recipient's use of the covered work -in a country, would infringe one or more identifiable patents in that -country that you have reason to believe are valid. - - If, pursuant to or in connection with a single transaction or -arrangement, you convey, or propagate by procuring conveyance of, a -covered work, and grant a patent license to some of the parties -receiving the covered work authorizing them to use, propagate, modify -or convey a specific copy of the covered work, then the patent license -you grant is automatically extended to all recipients of the covered -work and works based on it. - - A patent license is "discriminatory" if it does not include within -the scope of its coverage, prohibits the exercise of, or is -conditioned on the non-exercise of one or more of the rights that are -specifically granted under this License. You may not convey a covered -work if you are a party to an arrangement with a third party that is -in the business of distributing software, under which you make payment -to the third party based on the extent of your activity of conveying -the work, and under which the third party grants, to any of the -parties who would receive the covered work from you, a discriminatory -patent license (a) in connection with copies of the covered work -conveyed by you (or copies made from those copies), or (b) primarily -for and in connection with specific products or compilations that -contain the covered work, unless you entered into that arrangement, -or that patent license was granted, prior to 28 March 2007. - - Nothing in this License shall be construed as excluding or limiting -any implied license or other defenses to infringement that may -otherwise be available to you under applicable patent law. - - 12. No Surrender of Others' Freedom. - - If conditions are imposed on you (whether by court order, agreement or -otherwise) that contradict the conditions of this License, they do not -excuse you from the conditions of this License. If you cannot convey a -covered work so as to satisfy simultaneously your obligations under this -License and any other pertinent obligations, then as a consequence you may -not convey it at all. For example, if you agree to terms that obligate you -to collect a royalty for further conveying from those to whom you convey -the Program, the only way you could satisfy both those terms and this -License would be to refrain entirely from conveying the Program. - - 13. Use with the GNU Affero General Public License. - - Notwithstanding any other provision of this License, you have -permission to link or combine any covered work with a work licensed -under version 3 of the GNU Affero General Public License into a single -combined work, and to convey the resulting work. The terms of this -License will continue to apply to the part which is the covered work, -but the special requirements of the GNU Affero General Public License, -section 13, concerning interaction through a network will apply to the -combination as such. - - 14. Revised Versions of this License. - - The Free Software Foundation may publish revised and/or new versions of -the GNU General Public License from time to time. Such new versions will -be similar in spirit to the present version, but may differ in detail to -address new problems or concerns. - - Each version is given a distinguishing version number. If the -Program specifies that a certain numbered version of the GNU General -Public License "or any later version" applies to it, you have the -option of following the terms and conditions either of that numbered -version or of any later version published by the Free Software -Foundation. If the Program does not specify a version number of the -GNU General Public License, you may choose any version ever published -by the Free Software Foundation. - - If the Program specifies that a proxy can decide which future -versions of the GNU General Public License can be used, that proxy's -public statement of acceptance of a version permanently authorizes you -to choose that version for the Program. - - Later license versions may give you additional or different -permissions. However, no additional obligations are imposed on any -author or copyright holder as a result of your choosing to follow a -later version. - - 15. Disclaimer of Warranty. - - THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY -APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT -HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY -OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, -THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM -IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF -ALL NECESSARY SERVICING, REPAIR OR CORRECTION. - - 16. Limitation of Liability. - - IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING -WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS -THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY -GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE -USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF -DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD -PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), -EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF -SUCH DAMAGES. - - 17. Interpretation of Sections 15 and 16. - - If the disclaimer of warranty and limitation of liability provided -above cannot be given local legal effect according to their terms, -reviewing courts shall apply local law that most closely approximates -an absolute waiver of all civil liability in connection with the -Program, unless a warranty or assumption of liability accompanies a -copy of the Program in return for a fee. - - END OF TERMS AND CONDITIONS - - How to Apply These Terms to Your New Programs - - If you develop a new program, and you want it to be of the greatest -possible use to the public, the best way to achieve this is to make it -free software which everyone can redistribute and change under these terms. - - To do so, attach the following notices to the program. It is safest -to attach them to the start of each source file to most effectively -state the exclusion of warranty; and each file should have at least -the "copyright" line and a pointer to where the full notice is found. - - - Copyright (C) - - This program is free software: you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program. If not, see . - -Also add information on how to contact you by electronic and paper mail. - - If the program does terminal interaction, make it output a short -notice like this when it starts in an interactive mode: - - Copyright (C) - This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. - This is free software, and you are welcome to redistribute it - under certain conditions; type `show c' for details. - -The hypothetical commands `show w' and `show c' should show the appropriate -parts of the General Public License. Of course, your program's commands -might be different; for a GUI interface, you would use an "about box". - - You should also get your employer (if you work as a programmer) or school, -if any, to sign a "copyright disclaimer" for the program, if necessary. -For more information on this, and how to apply and follow the GNU GPL, see -. - - The GNU General Public License does not permit incorporating your program -into proprietary programs. If your program is a subroutine library, you -may consider it more useful to permit linking proprietary applications with -the library. If this is what you want to do, use the GNU Lesser General -Public License instead of this License. But first, please read -. + GNU GENERAL PUBLIC LICENSE + Version 3, 29 June 2007 + + Copyright (C) 2007 Free Software Foundation, Inc. + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The GNU General Public License is a free, copyleft license for +software and other kinds of works. + + The licenses for most software and other practical works are designed +to take away your freedom to share and change the works. By contrast, +the GNU General Public License is intended to guarantee your freedom to +share and change all versions of a program--to make sure it remains free +software for all its users. We, the Free Software Foundation, use the +GNU General Public License for most of our software; it applies also to +any other work released this way by its authors. You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +them if you wish), that you receive source code or can get it if you +want it, that you can change the software or use pieces of it in new +free programs, and that you know you can do these things. + + To protect your rights, we need to prevent others from denying you +these rights or asking you to surrender the rights. Therefore, you have +certain responsibilities if you distribute copies of the software, or if +you modify it: responsibilities to respect the freedom of others. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must pass on to the recipients the same +freedoms that you received. You must make sure that they, too, receive +or can get the source code. And you must show them these terms so they +know their rights. + + Developers that use the GNU GPL protect your rights with two steps: +(1) assert copyright on the software, and (2) offer you this License +giving you legal permission to copy, distribute and/or modify it. + + For the developers' and authors' protection, the GPL clearly explains +that there is no warranty for this free software. For both users' and +authors' sake, the GPL requires that modified versions be marked as +changed, so that their problems will not be attributed erroneously to +authors of previous versions. + + Some devices are designed to deny users access to install or run +modified versions of the software inside them, although the manufacturer +can do so. This is fundamentally incompatible with the aim of +protecting users' freedom to change the software. The systematic +pattern of such abuse occurs in the area of products for individuals to +use, which is precisely where it is most unacceptable. Therefore, we +have designed this version of the GPL to prohibit the practice for those +products. If such problems arise substantially in other domains, we +stand ready to extend this provision to those domains in future versions +of the GPL, as needed to protect the freedom of users. + + Finally, every program is threatened constantly by software patents. +States should not allow patents to restrict development and use of +software on general-purpose computers, but in those that do, we wish to +avoid the special danger that patents applied to a free program could +make it effectively proprietary. To prevent this, the GPL assures that +patents cannot be used to render the program non-free. + + The precise terms and conditions for copying, distribution and +modification follow. + + TERMS AND CONDITIONS + + 0. Definitions. + + "This License" refers to version 3 of the GNU General Public License. + + "Copyright" also means copyright-like laws that apply to other kinds of +works, such as semiconductor masks. + + "The Program" refers to any copyrightable work licensed under this +License. Each licensee is addressed as "you". "Licensees" and +"recipients" may be individuals or organizations. + + To "modify" a work means to copy from or adapt all or part of the work +in a fashion requiring copyright permission, other than the making of an +exact copy. The resulting work is called a "modified version" of the +earlier work or a work "based on" the earlier work. + + A "covered work" means either the unmodified Program or a work based +on the Program. + + To "propagate" a work means to do anything with it that, without +permission, would make you directly or secondarily liable for +infringement under applicable copyright law, except executing it on a +computer or modifying a private copy. Propagation includes copying, +distribution (with or without modification), making available to the +public, and in some countries other activities as well. + + To "convey" a work means any kind of propagation that enables other +parties to make or receive copies. Mere interaction with a user through +a computer network, with no transfer of a copy, is not conveying. + + An interactive user interface displays "Appropriate Legal Notices" +to the extent that it includes a convenient and prominently visible +feature that (1) displays an appropriate copyright notice, and (2) +tells the user that there is no warranty for the work (except to the +extent that warranties are provided), that licensees may convey the +work under this License, and how to view a copy of this License. If +the interface presents a list of user commands or options, such as a +menu, a prominent item in the list meets this criterion. + + 1. Source Code. + + The "source code" for a work means the preferred form of the work +for making modifications to it. "Object code" means any non-source +form of a work. + + A "Standard Interface" means an interface that either is an official +standard defined by a recognized standards body, or, in the case of +interfaces specified for a particular programming language, one that +is widely used among developers working in that language. + + The "System Libraries" of an executable work include anything, other +than the work as a whole, that (a) is included in the normal form of +packaging a Major Component, but which is not part of that Major +Component, and (b) serves only to enable use of the work with that +Major Component, or to implement a Standard Interface for which an +implementation is available to the public in source code form. A +"Major Component", in this context, means a major essential component +(kernel, window system, and so on) of the specific operating system +(if any) on which the executable work runs, or a compiler used to +produce the work, or an object code interpreter used to run it. + + The "Corresponding Source" for a work in object code form means all +the source code needed to generate, install, and (for an executable +work) run the object code and to modify the work, including scripts to +control those activities. However, it does not include the work's +System Libraries, or general-purpose tools or generally available free +programs which are used unmodified in performing those activities but +which are not part of the work. For example, Corresponding Source +includes interface definition files associated with source files for +the work, and the source code for shared libraries and dynamically +linked subprograms that the work is specifically designed to require, +such as by intimate data communication or control flow between those +subprograms and other parts of the work. + + The Corresponding Source need not include anything that users +can regenerate automatically from other parts of the Corresponding +Source. + + The Corresponding Source for a work in source code form is that +same work. + + 2. Basic Permissions. + + All rights granted under this License are granted for the term of +copyright on the Program, and are irrevocable provided the stated +conditions are met. This License explicitly affirms your unlimited +permission to run the unmodified Program. The output from running a +covered work is covered by this License only if the output, given its +content, constitutes a covered work. This License acknowledges your +rights of fair use or other equivalent, as provided by copyright law. + + You may make, run and propagate covered works that you do not +convey, without conditions so long as your license otherwise remains +in force. You may convey covered works to others for the sole purpose +of having them make modifications exclusively for you, or provide you +with facilities for running those works, provided that you comply with +the terms of this License in conveying all material for which you do +not control copyright. Those thus making or running the covered works +for you must do so exclusively on your behalf, under your direction +and control, on terms that prohibit them from making any copies of +your copyrighted material outside their relationship with you. + + Conveying under any other circumstances is permitted solely under +the conditions stated below. Sublicensing is not allowed; section 10 +makes it unnecessary. + + 3. Protecting Users' Legal Rights From Anti-Circumvention Law. + + No covered work shall be deemed part of an effective technological +measure under any applicable law fulfilling obligations under article +11 of the WIPO copyright treaty adopted on 20 December 1996, or +similar laws prohibiting or restricting circumvention of such +measures. + + When you convey a covered work, you waive any legal power to forbid +circumvention of technological measures to the extent such circumvention +is effected by exercising rights under this License with respect to +the covered work, and you disclaim any intention to limit operation or +modification of the work as a means of enforcing, against the work's +users, your or third parties' legal rights to forbid circumvention of +technological measures. + + 4. Conveying Verbatim Copies. + + You may convey verbatim copies of the Program's source code as you +receive it, in any medium, provided that you conspicuously and +appropriately publish on each copy an appropriate copyright notice; +keep intact all notices stating that this License and any +non-permissive terms added in accord with section 7 apply to the code; +keep intact all notices of the absence of any warranty; and give all +recipients a copy of this License along with the Program. + + You may charge any price or no price for each copy that you convey, +and you may offer support or warranty protection for a fee. + + 5. Conveying Modified Source Versions. + + You may convey a work based on the Program, or the modifications to +produce it from the Program, in the form of source code under the +terms of section 4, provided that you also meet all of these conditions: + + a) The work must carry prominent notices stating that you modified + it, and giving a relevant date. + + b) The work must carry prominent notices stating that it is + released under this License and any conditions added under section + 7. This requirement modifies the requirement in section 4 to + "keep intact all notices". + + c) You must license the entire work, as a whole, under this + License to anyone who comes into possession of a copy. This + License will therefore apply, along with any applicable section 7 + additional terms, to the whole of the work, and all its parts, + regardless of how they are packaged. This License gives no + permission to license the work in any other way, but it does not + invalidate such permission if you have separately received it. + + d) If the work has interactive user interfaces, each must display + Appropriate Legal Notices; however, if the Program has interactive + interfaces that do not display Appropriate Legal Notices, your + work need not make them do so. + + A compilation of a covered work with other separate and independent +works, which are not by their nature extensions of the covered work, +and which are not combined with it such as to form a larger program, +in or on a volume of a storage or distribution medium, is called an +"aggregate" if the compilation and its resulting copyright are not +used to limit the access or legal rights of the compilation's users +beyond what the individual works permit. Inclusion of a covered work +in an aggregate does not cause this License to apply to the other +parts of the aggregate. + + 6. Conveying Non-Source Forms. + + You may convey a covered work in object code form under the terms +of sections 4 and 5, provided that you also convey the +machine-readable Corresponding Source under the terms of this License, +in one of these ways: + + a) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by the + Corresponding Source fixed on a durable physical medium + customarily used for software interchange. + + b) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by a + written offer, valid for at least three years and valid for as + long as you offer spare parts or customer support for that product + model, to give anyone who possesses the object code either (1) a + copy of the Corresponding Source for all the software in the + product that is covered by this License, on a durable physical + medium customarily used for software interchange, for a price no + more than your reasonable cost of physically performing this + conveying of source, or (2) access to copy the + Corresponding Source from a network server at no charge. + + c) Convey individual copies of the object code with a copy of the + written offer to provide the Corresponding Source. This + alternative is allowed only occasionally and noncommercially, and + only if you received the object code with such an offer, in accord + with subsection 6b. + + d) Convey the object code by offering access from a designated + place (gratis or for a charge), and offer equivalent access to the + Corresponding Source in the same way through the same place at no + further charge. You need not require recipients to copy the + Corresponding Source along with the object code. If the place to + copy the object code is a network server, the Corresponding Source + may be on a different server (operated by you or a third party) + that supports equivalent copying facilities, provided you maintain + clear directions next to the object code saying where to find the + Corresponding Source. Regardless of what server hosts the + Corresponding Source, you remain obligated to ensure that it is + available for as long as needed to satisfy these requirements. + + e) Convey the object code using peer-to-peer transmission, provided + you inform other peers where the object code and Corresponding + Source of the work are being offered to the general public at no + charge under subsection 6d. + + A separable portion of the object code, whose source code is excluded +from the Corresponding Source as a System Library, need not be +included in conveying the object code work. + + A "User Product" is either (1) a "consumer product", which means any +tangible personal property which is normally used for personal, family, +or household purposes, or (2) anything designed or sold for incorporation +into a dwelling. In determining whether a product is a consumer product, +doubtful cases shall be resolved in favor of coverage. For a particular +product received by a particular user, "normally used" refers to a +typical or common use of that class of product, regardless of the status +of the particular user or of the way in which the particular user +actually uses, or expects or is expected to use, the product. A product +is a consumer product regardless of whether the product has substantial +commercial, industrial or non-consumer uses, unless such uses represent +the only significant mode of use of the product. + + "Installation Information" for a User Product means any methods, +procedures, authorization keys, or other information required to install +and execute modified versions of a covered work in that User Product from +a modified version of its Corresponding Source. The information must +suffice to ensure that the continued functioning of the modified object +code is in no case prevented or interfered with solely because +modification has been made. + + If you convey an object code work under this section in, or with, or +specifically for use in, a User Product, and the conveying occurs as +part of a transaction in which the right of possession and use of the +User Product is transferred to the recipient in perpetuity or for a +fixed term (regardless of how the transaction is characterized), the +Corresponding Source conveyed under this section must be accompanied +by the Installation Information. But this requirement does not apply +if neither you nor any third party retains the ability to install +modified object code on the User Product (for example, the work has +been installed in ROM). + + The requirement to provide Installation Information does not include a +requirement to continue to provide support service, warranty, or updates +for a work that has been modified or installed by the recipient, or for +the User Product in which it has been modified or installed. Access to a +network may be denied when the modification itself materially and +adversely affects the operation of the network or violates the rules and +protocols for communication across the network. + + Corresponding Source conveyed, and Installation Information provided, +in accord with this section must be in a format that is publicly +documented (and with an implementation available to the public in +source code form), and must require no special password or key for +unpacking, reading or copying. + + 7. Additional Terms. + + "Additional permissions" are terms that supplement the terms of this +License by making exceptions from one or more of its conditions. +Additional permissions that are applicable to the entire Program shall +be treated as though they were included in this License, to the extent +that they are valid under applicable law. If additional permissions +apply only to part of the Program, that part may be used separately +under those permissions, but the entire Program remains governed by +this License without regard to the additional permissions. + + When you convey a copy of a covered work, you may at your option +remove any additional permissions from that copy, or from any part of +it. (Additional permissions may be written to require their own +removal in certain cases when you modify the work.) You may place +additional permissions on material, added by you to a covered work, +for which you have or can give appropriate copyright permission. + + Notwithstanding any other provision of this License, for material you +add to a covered work, you may (if authorized by the copyright holders of +that material) supplement the terms of this License with terms: + + a) Disclaiming warranty or limiting liability differently from the + terms of sections 15 and 16 of this License; or + + b) Requiring preservation of specified reasonable legal notices or + author attributions in that material or in the Appropriate Legal + Notices displayed by works containing it; or + + c) Prohibiting misrepresentation of the origin of that material, or + requiring that modified versions of such material be marked in + reasonable ways as different from the original version; or + + d) Limiting the use for publicity purposes of names of licensors or + authors of the material; or + + e) Declining to grant rights under trademark law for use of some + trade names, trademarks, or service marks; or + + f) Requiring indemnification of licensors and authors of that + material by anyone who conveys the material (or modified versions of + it) with contractual assumptions of liability to the recipient, for + any liability that these contractual assumptions directly impose on + those licensors and authors. + + All other non-permissive additional terms are considered "further +restrictions" within the meaning of section 10. If the Program as you +received it, or any part of it, contains a notice stating that it is +governed by this License along with a term that is a further +restriction, you may remove that term. If a license document contains +a further restriction but permits relicensing or conveying under this +License, you may add to a covered work material governed by the terms +of that license document, provided that the further restriction does +not survive such relicensing or conveying. + + If you add terms to a covered work in accord with this section, you +must place, in the relevant source files, a statement of the +additional terms that apply to those files, or a notice indicating +where to find the applicable terms. + + Additional terms, permissive or non-permissive, may be stated in the +form of a separately written license, or stated as exceptions; +the above requirements apply either way. + + 8. Termination. + + You may not propagate or modify a covered work except as expressly +provided under this License. Any attempt otherwise to propagate or +modify it is void, and will automatically terminate your rights under +this License (including any patent licenses granted under the third +paragraph of section 11). + + However, if you cease all violation of this License, then your +license from a particular copyright holder is reinstated (a) +provisionally, unless and until the copyright holder explicitly and +finally terminates your license, and (b) permanently, if the copyright +holder fails to notify you of the violation by some reasonable means +prior to 60 days after the cessation. + + Moreover, your license from a particular copyright holder is +reinstated permanently if the copyright holder notifies you of the +violation by some reasonable means, this is the first time you have +received notice of violation of this License (for any work) from that +copyright holder, and you cure the violation prior to 30 days after +your receipt of the notice. + + Termination of your rights under this section does not terminate the +licenses of parties who have received copies or rights from you under +this License. If your rights have been terminated and not permanently +reinstated, you do not qualify to receive new licenses for the same +material under section 10. + + 9. Acceptance Not Required for Having Copies. + + You are not required to accept this License in order to receive or +run a copy of the Program. Ancillary propagation of a covered work +occurring solely as a consequence of using peer-to-peer transmission +to receive a copy likewise does not require acceptance. However, +nothing other than this License grants you permission to propagate or +modify any covered work. These actions infringe copyright if you do +not accept this License. Therefore, by modifying or propagating a +covered work, you indicate your acceptance of this License to do so. + + 10. Automatic Licensing of Downstream Recipients. + + Each time you convey a covered work, the recipient automatically +receives a license from the original licensors, to run, modify and +propagate that work, subject to this License. You are not responsible +for enforcing compliance by third parties with this License. + + An "entity transaction" is a transaction transferring control of an +organization, or substantially all assets of one, or subdividing an +organization, or merging organizations. If propagation of a covered +work results from an entity transaction, each party to that +transaction who receives a copy of the work also receives whatever +licenses to the work the party's predecessor in interest had or could +give under the previous paragraph, plus a right to possession of the +Corresponding Source of the work from the predecessor in interest, if +the predecessor has it or can get it with reasonable efforts. + + You may not impose any further restrictions on the exercise of the +rights granted or affirmed under this License. For example, you may +not impose a license fee, royalty, or other charge for exercise of +rights granted under this License, and you may not initiate litigation +(including a cross-claim or counterclaim in a lawsuit) alleging that +any patent claim is infringed by making, using, selling, offering for +sale, or importing the Program or any portion of it. + + 11. Patents. + + A "contributor" is a copyright holder who authorizes use under this +License of the Program or a work on which the Program is based. The +work thus licensed is called the contributor's "contributor version". + + A contributor's "essential patent claims" are all patent claims +owned or controlled by the contributor, whether already acquired or +hereafter acquired, that would be infringed by some manner, permitted +by this License, of making, using, or selling its contributor version, +but do not include claims that would be infringed only as a +consequence of further modification of the contributor version. For +purposes of this definition, "control" includes the right to grant +patent sublicenses in a manner consistent with the requirements of +this License. + + Each contributor grants you a non-exclusive, worldwide, royalty-free +patent license under the contributor's essential patent claims, to +make, use, sell, offer for sale, import and otherwise run, modify and +propagate the contents of its contributor version. + + In the following three paragraphs, a "patent license" is any express +agreement or commitment, however denominated, not to enforce a patent +(such as an express permission to practice a patent or covenant not to +sue for patent infringement). To "grant" such a patent license to a +party means to make such an agreement or commitment not to enforce a +patent against the party. + + If you convey a covered work, knowingly relying on a patent license, +and the Corresponding Source of the work is not available for anyone +to copy, free of charge and under the terms of this License, through a +publicly available network server or other readily accessible means, +then you must either (1) cause the Corresponding Source to be so +available, or (2) arrange to deprive yourself of the benefit of the +patent license for this particular work, or (3) arrange, in a manner +consistent with the requirements of this License, to extend the patent +license to downstream recipients. "Knowingly relying" means you have +actual knowledge that, but for the patent license, your conveying the +covered work in a country, or your recipient's use of the covered work +in a country, would infringe one or more identifiable patents in that +country that you have reason to believe are valid. + + If, pursuant to or in connection with a single transaction or +arrangement, you convey, or propagate by procuring conveyance of, a +covered work, and grant a patent license to some of the parties +receiving the covered work authorizing them to use, propagate, modify +or convey a specific copy of the covered work, then the patent license +you grant is automatically extended to all recipients of the covered +work and works based on it. + + A patent license is "discriminatory" if it does not include within +the scope of its coverage, prohibits the exercise of, or is +conditioned on the non-exercise of one or more of the rights that are +specifically granted under this License. You may not convey a covered +work if you are a party to an arrangement with a third party that is +in the business of distributing software, under which you make payment +to the third party based on the extent of your activity of conveying +the work, and under which the third party grants, to any of the +parties who would receive the covered work from you, a discriminatory +patent license (a) in connection with copies of the covered work +conveyed by you (or copies made from those copies), or (b) primarily +for and in connection with specific products or compilations that +contain the covered work, unless you entered into that arrangement, +or that patent license was granted, prior to 28 March 2007. + + Nothing in this License shall be construed as excluding or limiting +any implied license or other defenses to infringement that may +otherwise be available to you under applicable patent law. + + 12. No Surrender of Others' Freedom. + + If conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot convey a +covered work so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you may +not convey it at all. For example, if you agree to terms that obligate you +to collect a royalty for further conveying from those to whom you convey +the Program, the only way you could satisfy both those terms and this +License would be to refrain entirely from conveying the Program. + + 13. Use with the GNU Affero General Public License. + + Notwithstanding any other provision of this License, you have +permission to link or combine any covered work with a work licensed +under version 3 of the GNU Affero General Public License into a single +combined work, and to convey the resulting work. The terms of this +License will continue to apply to the part which is the covered work, +but the special requirements of the GNU Affero General Public License, +section 13, concerning interaction through a network will apply to the +combination as such. + + 14. Revised Versions of this License. + + The Free Software Foundation may publish revised and/or new versions of +the GNU General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + + Each version is given a distinguishing version number. If the +Program specifies that a certain numbered version of the GNU General +Public License "or any later version" applies to it, you have the +option of following the terms and conditions either of that numbered +version or of any later version published by the Free Software +Foundation. If the Program does not specify a version number of the +GNU General Public License, you may choose any version ever published +by the Free Software Foundation. + + If the Program specifies that a proxy can decide which future +versions of the GNU General Public License can be used, that proxy's +public statement of acceptance of a version permanently authorizes you +to choose that version for the Program. + + Later license versions may give you additional or different +permissions. However, no additional obligations are imposed on any +author or copyright holder as a result of your choosing to follow a +later version. + + 15. Disclaimer of Warranty. + + THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY +APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT +HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY +OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM +IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF +ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + + 16. Limitation of Liability. + + IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS +THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY +GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE +USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF +DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD +PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), +EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF +SUCH DAMAGES. + + 17. Interpretation of Sections 15 and 16. + + If the disclaimer of warranty and limitation of liability provided +above cannot be given local legal effect according to their terms, +reviewing courts shall apply local law that most closely approximates +an absolute waiver of all civil liability in connection with the +Program, unless a warranty or assumption of liability accompanies a +copy of the Program in return for a fee. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +state the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + + Copyright (C) + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + +Also add information on how to contact you by electronic and paper mail. + + If the program does terminal interaction, make it output a short +notice like this when it starts in an interactive mode: + + Copyright (C) + This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, your program's commands +might be different; for a GUI interface, you would use an "about box". + + You should also get your employer (if you work as a programmer) or school, +if any, to sign a "copyright disclaimer" for the program, if necessary. +For more information on this, and how to apply and follow the GNU GPL, see +. + + The GNU General Public License does not permit incorporating your program +into proprietary programs. If your program is a subroutine library, you +may consider it more useful to permit linking proprietary applications with +the library. If this is what you want to do, use the GNU Lesser General +Public License instead of this License. But first, please read +. diff --git a/README.md b/README.md index 8e29b0b..eb49a9d 100644 --- a/README.md +++ b/README.md @@ -1,106 +1,106 @@ -# Build-Fritzing-1.0.4-Windows-script -Build Fritzing 1.0.4 Windows script - -2024/10/28 Update Build Fritzing 1.0.4 (Reconfirmed on 2025/01/05) -2024/07/14 Update Build Fritzing 1.0.3 -2024/01/11 Update Build Fritzing 1.0.2 (Reconfirmed on 2024/05/05) -2023/11/18 Update Build Fritzing 1.0.1 - -* How to Build Fritzing 1.0.4 from Source code in Windows with Visual Studio 2019 -http://www.neko.ne.jp/~freewing/software/build_fritzing_100_windows/ - -* Build Step -``` -* Open Command Prompt - -bitsadmin /TRANSFER hoge https://raw.githubusercontent.com/FREEWING-JP/Build-Fritzing-1.0.0-Windows-script/main/00_Download_Script.bat %cd%\00_Download_Script.bat - -# Optional: Set custom directories -# set QT_INSTALL_DIR=D:\CustomQtPath -# set FRITZING_WORKSPACE_DIR=D:\FritzingBuild - -00_Download_Script.bat - -00_Execute_Script.bat - -* Wait an hour -``` - -## Directory Configuration - -The build scripts use a central configuration file called `directories_config.bat` to store all directory paths. This file is persistent and can be edited manually to customize your build environment. - -### Default Configuration - -The default configuration in `directories_config.bat` looks like this: - -```batch -@echo off -rem directories_config.bat -rem Configuration file for directory paths used in Fritzing build scripts -rem This file is meant to be persistent and can be edited manually - -rem Qt installation directory -set QT_INSTALL_DIR=F:\Qt - -rem Fritzing workspace directory -set FRITZING_WORKSPACE_DIR=\00_fritzing - -rem Visual Studio installation directory -set VS_INSTALL_DIR=C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools -``` - -### Setting Custom Directories - -You can customize the directories in two ways: - -#### Method 1: Set environment variables before running the scripts - -```batch -set QT_INSTALL_DIR=D:\CustomQtPath -set FRITZING_WORKSPACE_DIR=D:\FritzingBuild -set VS_INSTALL_DIR=D:\VisualStudio\2019\BuildTools -00_Download_Script.bat -``` - -#### Method 2: Edit the `directories_config.bat` file directly (recommended) - -After running the scripts once, you can edit the `directories_config.bat` file directly to change any of the directory paths. This is the recommended approach as your settings will be preserved between builds. - -### How It Works - -When you run `00_Download_Script.bat` for the first time, it checks if `directories_config.bat` exists: - -- If it exists, the script loads the configuration from it -- If it doesn't exist, the script creates it with default values - -All other scripts in the build process load this configuration file before executing their tasks, ensuring consistent settings across the entire build process. - -### Important Notes - -- The file is created automatically by `00_Download_Script.bat` if it doesn't exist -- Manual edits to this file will be preserved -- If you delete this file, it will be recreated with default values the next time you run `00_Download_Script.bat` -- Make sure the directories you specify exist or can be created by the script -- The workspace directory should be empty when you start the build process - -![ClipImage_20241028_142712_529](https://github.com/user-attachments/assets/e5e4fbf4-d4c5-42b7-8580-83737367361d) -![ClipImage_20241028_142942_938](https://github.com/user-attachments/assets/7fc6c5e8-69a7-400e-867e-ec8a69823dcc) - - -* Tested -Windows 11 Real -Windows 11 Windows Sandbox -Windows 10 Windows Sandbox - -* Fritzing 1.0.0を合法的に無料で使用する方法、Windows環境 VS2019でビルドする方法 -http://www.neko.ne.jp/~freewing/software/build_fritzing_100_windows/ - -* Donation Button -[![Donate](https://img.shields.io/badge/Donate-PayPal-green.svg)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=T79HPJ5H79PBU) - -* Youtube -[How to get Fritzing 1.0.0 for free - Compile Fritzing on Windows YouTube https://youtu.be/cC82PULJq6g](https://youtu.be/cC82PULJq6g) - -* Youtube -[Fritzing 1.0.0を無料でゲットする方法 YouTube https://youtu.be/wLDuyNqms_g](https://youtu.be/wLDuyNqms_g) +# Build-Fritzing-1.0.4-Windows-script +Build Fritzing 1.0.4 Windows script + +2024/10/28 Update Build Fritzing 1.0.4 (Reconfirmed on 2025/01/05) +2024/07/14 Update Build Fritzing 1.0.3 +2024/01/11 Update Build Fritzing 1.0.2 (Reconfirmed on 2024/05/05) +2023/11/18 Update Build Fritzing 1.0.1 + +* How to Build Fritzing 1.0.4 from Source code in Windows with Visual Studio 2019 +http://www.neko.ne.jp/~freewing/software/build_fritzing_100_windows/ + +* Build Step +``` +* Open Command Prompt + +bitsadmin /TRANSFER hoge https://raw.githubusercontent.com/FREEWING-JP/Build-Fritzing-1.0.0-Windows-script/main/00_Download_Script.bat %cd%\00_Download_Script.bat + +# Optional: Set custom directories +# set QT_INSTALL_DIR=D:\CustomQtPath +# set FRITZING_WORKSPACE_DIR=D:\FritzingBuild +# set VS_INSTALL_DIR=D:\VisualStudio\2019\BuildTools +00_Download_Script.bat + +00_Execute_Script.bat + +* Wait an hour +``` + +## Directory Configuration + +The build scripts use a central configuration file called `directories_config.bat` to store all directory paths. This file is persistent and can be edited manually to customize your build environment. + +### Default Configuration + +The default configuration in `directories_config.bat` looks like this: + +```batch +@echo off +rem directories_config.bat +rem Configuration file for directory paths used in Fritzing build scripts +rem This file is meant to be persistent and can be edited manually + +rem Qt installation directory +set QT_INSTALL_DIR=F:\Qt + +rem Fritzing workspace directory +set FRITZING_WORKSPACE_DIR=\00_fritzing + +rem Visual Studio installation directory +set VS_INSTALL_DIR=C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools +``` + +### Setting Custom Directories + +You can customize the directories in two ways: + +#### Method 1: Set environment variables before running the scripts + +```batch +set QT_INSTALL_DIR=D:\CustomQtPath +set FRITZING_WORKSPACE_DIR=D:\FritzingBuild +set VS_INSTALL_DIR=D:\VisualStudio\2019\BuildTools +00_Download_Script.bat +``` + +#### Method 2: Edit the `directories_config.bat` file directly (recommended) + +After running the scripts once, you can edit the `directories_config.bat` file directly to change any of the directory paths. This is the recommended approach as your settings will be preserved between builds. + +### How It Works + +When you run `00_Download_Script.bat` for the first time, it checks if `directories_config.bat` exists: + +- If it exists, the script loads the configuration from it +- If it doesn't exist, the script creates it with default values + +All other scripts in the build process load this configuration file before executing their tasks, ensuring consistent settings across the entire build process. + +### Important Notes + +- The file is created automatically by `00_Download_Script.bat` if it doesn't exist +- Manual edits to this file will be preserved +- If you delete this file, it will be recreated with default values the next time you run `00_Download_Script.bat` +- Make sure the directories you specify exist or can be created by the script +- The workspace directory should be empty when you start the build process + +![ClipImage_20241028_142712_529](https://github.com/user-attachments/assets/e5e4fbf4-d4c5-42b7-8580-83737367361d) +![ClipImage_20241028_142942_938](https://github.com/user-attachments/assets/7fc6c5e8-69a7-400e-867e-ec8a69823dcc) + + +* Tested +Windows 11 Real +Windows 11 Windows Sandbox +Windows 10 Windows Sandbox + +* Fritzing 1.0.0を合法的に無料で使用する方法、Windows環境 VS2019でビルドする方法 +http://www.neko.ne.jp/~freewing/software/build_fritzing_100_windows/ + +* Donation Button +[![Donate](https://img.shields.io/badge/Donate-PayPal-green.svg)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=T79HPJ5H79PBU) + +* Youtube +[How to get Fritzing 1.0.0 for free - Compile Fritzing on Windows YouTube https://youtu.be/cC82PULJq6g](https://youtu.be/cC82PULJq6g) + +* Youtube +[Fritzing 1.0.0を無料でゲットする方法 YouTube https://youtu.be/wLDuyNqms_g](https://youtu.be/wLDuyNqms_g) diff --git a/SendKeys_Accept.vbs b/SendKeys_Accept.vbs index 12f71e9..6a2b0c9 100644 --- a/SendKeys_Accept.vbs +++ b/SendKeys_Accept.vbs @@ -1,18 +1,18 @@ -Set WSHShell = WScript.CreateObject("WScript.Shell") -WScript.Sleep(5000) -WScript.Sleep(5000) - -WScript.Sleep(5000) -WScript.Sleep(5000) - -WScript.Sleep(5000) -WScript.Sleep(5000) - -WScript.Sleep(5000) -WScript.Sleep(5000) - -WScript.Sleep(5000) -WScript.Sleep(5000) - -WSHShell.SendKeys "Accept{ENTER}" - +Set WSHShell = WScript.CreateObject("WScript.Shell") +WScript.Sleep(5000) +WScript.Sleep(5000) + +WScript.Sleep(5000) +WScript.Sleep(5000) + +WScript.Sleep(5000) +WScript.Sleep(5000) + +WScript.Sleep(5000) +WScript.Sleep(5000) + +WScript.Sleep(5000) +WScript.Sleep(5000) + +WSHShell.SendKeys "Accept{ENTER}" + diff --git a/SendKeys_AltF4.vbs b/SendKeys_AltF4.vbs index 0bb8296..3f4f7fc 100644 --- a/SendKeys_AltF4.vbs +++ b/SendKeys_AltF4.vbs @@ -1,21 +1,21 @@ -Set WSHShell = WScript.CreateObject("WScript.Shell") -WScript.Sleep(5000) -WScript.Sleep(5000) - -WScript.Sleep(5000) -WScript.Sleep(5000) - -WScript.Sleep(5000) -WScript.Sleep(5000) - -WScript.Sleep(5000) -WScript.Sleep(5000) - -WScript.Sleep(5000) -WScript.Sleep(5000) - -WSHShell.AppActivate "Untitled Sketch.fzz - Fritzing" -WScript.Sleep(1000) - -WSHShell.SendKeys "%{F4}" - +Set WSHShell = WScript.CreateObject("WScript.Shell") +WScript.Sleep(5000) +WScript.Sleep(5000) + +WScript.Sleep(5000) +WScript.Sleep(5000) + +WScript.Sleep(5000) +WScript.Sleep(5000) + +WScript.Sleep(5000) +WScript.Sleep(5000) + +WScript.Sleep(5000) +WScript.Sleep(5000) + +WSHShell.AppActivate "Untitled Sketch.fzz - Fritzing" +WScript.Sleep(1000) + +WSHShell.SendKeys "%{F4}" + diff --git a/directories_config.bat b/directories_config.bat index 3264cdc..669a9de 100644 --- a/directories_config.bat +++ b/directories_config.bat @@ -12,4 +12,4 @@ set FRITZING_WORKSPACE_DIR=\00_fritzing rem Visual Studio installation directory (default is auto-detected) set VS_INSTALL_DIR=C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools -rem Additional configuration variables can be added here +rem Additional configuration variables can be added here \ No newline at end of file From f68f2a857f411568ac73f12a03b649cc71fb2bee Mon Sep 17 00:00:00 2001 From: NonaSuomy Date: Mon, 28 Apr 2025 11:57:53 -0400 Subject: [PATCH 07/70] Update 00_Execute_Script.bat directories_config --- 00_Execute_Script.bat | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/00_Execute_Script.bat b/00_Execute_Script.bat index 184e577..1e48e06 100644 --- a/00_Execute_Script.bat +++ b/00_Execute_Script.bat @@ -4,7 +4,7 @@ rem http://www.neko.ne.jp/~freewing/software/build_fritzing_100_windows/ rem Copyright (c) 2023 FREE WING,Y.Sakamoto echo %0 rem Load configuration -if exist qt_config.bat call qt_config.bat +if exist directories_config.bat call directories_config.bat cd /d %FRITZING_WORKSPACE_DIR% From 4f8e46a75afa6536dc2758e4decb230243a92d4b Mon Sep 17 00:00:00 2001 From: NonaSuomy Date: Mon, 28 Apr 2025 12:00:39 -0400 Subject: [PATCH 08/70] Update 02_Download_Requirement_Files.bat --- 02_Download_Requirement_Files.bat | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/02_Download_Requirement_Files.bat b/02_Download_Requirement_Files.bat index 9c8dd0c..5f456d1 100644 --- a/02_Download_Requirement_Files.bat +++ b/02_Download_Requirement_Files.bat @@ -5,7 +5,7 @@ rem Copyright (c) 2023-2024 FREE WING,Y.Sakamoto echo %0 timeout /T 10 /NOBREAK rem Load configuration -if exist qt_config.bat call qt_config.bat +if exist directories_config.bat call directories_config.bat cd /d %FRITZING_WORKSPACE_DIR% From 988f6cee4f4baa495aed50580925af0a69bf63ea Mon Sep 17 00:00:00 2001 From: NonaSuomy Date: Mon, 28 Apr 2025 12:01:25 -0400 Subject: [PATCH 09/70] Update 03_Install_Qt_653.bat --- 03_Install_Qt_653.bat | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/03_Install_Qt_653.bat b/03_Install_Qt_653.bat index d257d5b..bfef35d 100644 --- a/03_Install_Qt_653.bat +++ b/03_Install_Qt_653.bat @@ -8,7 +8,7 @@ timeout /T 10 /NOBREAK cd /d \00_fritzing rem Load Qt directory configuration -if exist qt_config.bat call qt_config.bat +if exist directories_config.bat call directories_config.bat if exist "%QT_INSTALL_DIR%\6.5.3\msvc2019_64" exit From 64010657b7fe89b1ac953c979574bc24ab6e15e0 Mon Sep 17 00:00:00 2001 From: NonaSuomy Date: Mon, 28 Apr 2025 12:02:03 -0400 Subject: [PATCH 10/70] Update 05_Extract_Requirement_Files.bat --- 05_Extract_Requirement_Files.bat | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/05_Extract_Requirement_Files.bat b/05_Extract_Requirement_Files.bat index 852107f..1c04477 100644 --- a/05_Extract_Requirement_Files.bat +++ b/05_Extract_Requirement_Files.bat @@ -5,7 +5,7 @@ rem Copyright (c) 2023-2024 FREE WING,Y.Sakamoto echo %0 timeout /T 10 /NOBREAK rem Load configuration -if exist qt_config.bat call qt_config.bat +if exist directories_config.bat call directories_config.bat cd /d %FRITZING_WORKSPACE_DIR% From d93a8b1306935fa3c4eec50abaf68a7cae3f5244 Mon Sep 17 00:00:00 2001 From: NonaSuomy Date: Mon, 28 Apr 2025 12:02:50 -0400 Subject: [PATCH 11/70] Update 06_Download_from_Git.bat --- 06_Download_from_Git.bat | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/06_Download_from_Git.bat b/06_Download_from_Git.bat index 1abc478..8406e45 100644 --- a/06_Download_from_Git.bat +++ b/06_Download_from_Git.bat @@ -5,7 +5,7 @@ rem Copyright (c) 2023 FREE WING,Y.Sakamoto echo %0 timeout /T 10 /NOBREAK rem Load configuration -if exist qt_config.bat call qt_config.bat +if exist directories_config.bat call directories_config.bat cd /d %FRITZING_WORKSPACE_DIR% From af0a580837204c6591ad9e23cb17bced35ffb1f1 Mon Sep 17 00:00:00 2001 From: NonaSuomy Date: Mon, 28 Apr 2025 12:05:52 -0400 Subject: [PATCH 12/70] Update directories_config.bat C: drive default --- directories_config.bat | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/directories_config.bat b/directories_config.bat index 669a9de..e1573f4 100644 --- a/directories_config.bat +++ b/directories_config.bat @@ -4,7 +4,7 @@ rem Configuration file for directory paths used in Fritzing build scripts rem This file is meant to be persistent and can be edited manually rem Qt installation directory (default is C:\Qt) -set QT_INSTALL_DIR=F:\Qt +set QT_INSTALL_DIR=C:\Qt rem Fritzing workspace directory (default is \00_fritzing) set FRITZING_WORKSPACE_DIR=\00_fritzing @@ -12,4 +12,4 @@ set FRITZING_WORKSPACE_DIR=\00_fritzing rem Visual Studio installation directory (default is auto-detected) set VS_INSTALL_DIR=C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools -rem Additional configuration variables can be added here \ No newline at end of file +rem Additional configuration variables can be added here From 971eca005354d5288b6f4632c1c966b6df961227 Mon Sep 17 00:00:00 2001 From: NonaSuomy Date: Tue, 29 Apr 2025 10:05:58 -0400 Subject: [PATCH 13/70] Delete SendKeys_AltF4.vbs --- SendKeys_AltF4.vbs | 21 --------------------- 1 file changed, 21 deletions(-) delete mode 100644 SendKeys_AltF4.vbs diff --git a/SendKeys_AltF4.vbs b/SendKeys_AltF4.vbs deleted file mode 100644 index 3f4f7fc..0000000 --- a/SendKeys_AltF4.vbs +++ /dev/null @@ -1,21 +0,0 @@ -Set WSHShell = WScript.CreateObject("WScript.Shell") -WScript.Sleep(5000) -WScript.Sleep(5000) - -WScript.Sleep(5000) -WScript.Sleep(5000) - -WScript.Sleep(5000) -WScript.Sleep(5000) - -WScript.Sleep(5000) -WScript.Sleep(5000) - -WScript.Sleep(5000) -WScript.Sleep(5000) - -WSHShell.AppActivate "Untitled Sketch.fzz - Fritzing" -WScript.Sleep(1000) - -WSHShell.SendKeys "%{F4}" - From 0341661df30dbc592f3f84b80adba86aaa9bbe1a Mon Sep 17 00:00:00 2001 From: NonaSuomy Date: Tue, 29 Apr 2025 10:06:54 -0400 Subject: [PATCH 14/70] Delete SendKeys_Accept.vbs --- SendKeys_Accept.vbs | 18 ------------------ 1 file changed, 18 deletions(-) delete mode 100644 SendKeys_Accept.vbs diff --git a/SendKeys_Accept.vbs b/SendKeys_Accept.vbs deleted file mode 100644 index 6a2b0c9..0000000 --- a/SendKeys_Accept.vbs +++ /dev/null @@ -1,18 +0,0 @@ -Set WSHShell = WScript.CreateObject("WScript.Shell") -WScript.Sleep(5000) -WScript.Sleep(5000) - -WScript.Sleep(5000) -WScript.Sleep(5000) - -WScript.Sleep(5000) -WScript.Sleep(5000) - -WScript.Sleep(5000) -WScript.Sleep(5000) - -WScript.Sleep(5000) -WScript.Sleep(5000) - -WSHShell.SendKeys "Accept{ENTER}" - From 10bc39d6847fc3394b6d11c88934fdc959b4c0de Mon Sep 17 00:00:00 2001 From: NonaSuomy Date: Thu, 3 Jul 2025 01:09:49 +0000 Subject: [PATCH 15/70] fixed line endings --- 00_Download_Script.bat | 101 ++++-------------- 00_Execute_Script.bat | 34 ++++++ 01_Create_Build_directory.bat | 3 +- 02_Download_Requirement_Files.bat | 3 +- 03_Install_Qt_653.bat | 7 +- 04_Install_Visual_Studio_Build_Tools_2019.bat | 3 +- 05_Extract_Requirement_Files.bat | 3 +- 06_Download_from_Git.bat | 3 +- 07_Build_Library.bat | 3 +- 08_Fix_Library_place_Fritzing.bat | 4 +- 09_Download_Fritzing_Source_code.bat | 16 +-- 10_Download_Fritzing_Parts_Library.bat | 5 +- 11_Fix_Fritzing_Source_code.bat | 3 +- 12_Fix_Fritzing_Header_files.bat | 3 +- 13_Build_phoenix_pro_with_Qt.bat | 3 +- 15_Copy_Fritzing_Requirement_DLL_files.bat | 3 +- 16_Copy_Qt_Requirement_DLL_files.bat | 3 +- 17_1st_Build_Parts_DB_file.bat | 3 +- 18_2nd_Launch_Fritzing.bat | 3 +- 19_Organize_unnecessary_files.bat | 3 +- 20_Create_Fritzing_zip_package.bat | 5 +- LICENSE | 2 +- README.md | 47 ++++---- directories_config.bat | 2 +- 24 files changed, 115 insertions(+), 150 deletions(-) diff --git a/00_Download_Script.bat b/00_Download_Script.bat index 28a6bb3..87074da 100644 --- a/00_Download_Script.bat +++ b/00_Download_Script.bat @@ -1,91 +1,34 @@ @echo off -rem 00_Download_Script.bat +rem 00_Execute_Script.bat rem http://www.neko.ne.jp/~freewing/software/build_fritzing_100_windows/ rem Copyright (c) 2023 FREE WING,Y.Sakamoto echo %0 -@echo off - -rem Load configuration from directories_config.bat if it exists -rem Otherwise, use default values -if exist directories_config.bat ( - echo Loading configuration from directories_config.bat - call directories_config.bat -) else ( - echo directories_config.bat not found, creating with default values - rem Configure Qt installation directory (default is C:\Qt) - if "%QT_INSTALL_DIR%" == "" set QT_INSTALL_DIR=C:\Qt - - rem Configure Fritzing workspace directory (default is \00_fritzing) - if "%FRITZING_WORKSPACE_DIR%" == "" set FRITZING_WORKSPACE_DIR=\00_fritzing - - rem Configure Visual Studio installation directory - if "%VS_INSTALL_DIR%" == "" set VS_INSTALL_DIR=C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools - - rem Create the configuration file - echo @echo off> directories_config.bat - echo rem directories_config.bat>> directories_config.bat - echo rem Configuration file for directory paths used in Fritzing build scripts>> directories_config.bat - echo rem This file is meant to be persistent and can be edited manually>> directories_config.bat - echo.>> directories_config.bat - echo rem Qt installation directory>> directories_config.bat - echo set QT_INSTALL_DIR=%QT_INSTALL_DIR%>> directories_config.bat - echo.>> directories_config.bat - echo rem Fritzing workspace directory>> directories_config.bat - echo set FRITZING_WORKSPACE_DIR=%FRITZING_WORKSPACE_DIR%>> directories_config.bat - echo.>> directories_config.bat - echo rem Visual Studio installation directory>> directories_config.bat - echo set VS_INSTALL_DIR=%VS_INSTALL_DIR%>> directories_config.bat -) +rem Load configuration +if exist directories_config.bat call directories_config.bat -echo Using Qt installation directory: %QT_INSTALL_DIR% -echo Using Fritzing workspace directory: %FRITZING_WORKSPACE_DIR% -echo Using Visual Studio directory: %VS_INSTALL_DIR% - -cd \ -mkdir %FRITZING_WORKSPACE_DIR% cd /d %FRITZING_WORKSPACE_DIR% -rem https://github.com/FREEWING-JP/CSharp_DownloadFile -rem echo C# DownloadFile from URL -rem bitsadmin /TRANSFER hoge https://github.com/FREEWING-JP/CSharp_DownloadFile/releases/download/v0.0/DownloadFile.exe %cd%\DownloadFile.exe - -echo C# DownloadFile source code from URL -bitsadmin /TRANSFER hoge https://raw.githubusercontent.com/FREEWING-JP/CSharp_DownloadFile/main/DownloadFile.cs %cd%\DownloadFile.cs - -echo Build DownloadFile.exe -C:\Windows\Microsoft.NET\Framework\v4.0.30319\csc DownloadFile.cs - -rem https://github.com/FREEWING-JP/CSharp_UnZip -echo C# UnZip .Net 4.5 -if not exist UnZip.exe DownloadFile https://github.com/FREEWING-JP/CSharp_UnZip/releases/download/v0.0/UnZip.exe UnZip.exe - -rem https://github.com/FREEWING-JP/Build-Fritzing-1.0.0-Windows-script -echo Build Fritzing 1.0.0 Windows script -if not exist main.zip DownloadFile https://github.com/FREEWING-JP/Build-Fritzing-1.0.0-Windows-script/archive/refs/heads/main.zip main.zip +start /wait 02_Download_Requirement_Files.bat +start /wait 03_Install_Qt_653.bat +start /wait 04_Install_Visual_Studio_Build_Tools_2019.bat +start /wait 05_Extract_Requirement_Files.bat +start /wait 06_Download_from_Git.bat +start /wait 07_Build_Library.bat +start /wait 08_Fix_Library_place_Fritzing.bat -UnZip.exe main.zip . +start /wait 09_Download_Fritzing_Source_code.bat +start /wait 10_Download_Fritzing_Parts_Library.bat +start /wait 11_Fix_Fritzing_Source_code.bat +start /wait 12_Fix_Fritzing_Header_files.bat -move Build-Fritzing-1.0.0-Windows-script-main\*.* .\ -rmdir Build-Fritzing-1.0.0-Windows-script-main +start /wait 13_Build_phoenix_pro_with_Qt.bat +start /wait 15_Copy_Fritzing_Requirement_DLL_files.bat +start /wait 16_Copy_Qt_Requirement_DLL_files.bat -rem Update directories_config.bat if it already exists -if not exist directories_config.bat ( - rem Create the configuration file - echo @echo off> directories_config.bat - echo rem directories_config.bat>> directories_config.bat - echo rem Configuration file for directory paths used in Fritzing build scripts>> directories_config.bat - echo rem This file is meant to be persistent and can be edited manually>> directories_config.bat - echo.>> directories_config.bat - echo rem Qt installation directory>> directories_config.bat - echo set QT_INSTALL_DIR=%QT_INSTALL_DIR%>> directories_config.bat - echo.>> directories_config.bat - echo rem Fritzing workspace directory>> directories_config.bat - echo set FRITZING_WORKSPACE_DIR=%FRITZING_WORKSPACE_DIR%>> directories_config.bat - echo.>> directories_config.bat - echo rem Visual Studio installation directory>> directories_config.bat - echo set VS_INSTALL_DIR=%VS_INSTALL_DIR%>> directories_config.bat - echo.>> directories_config.bat - echo rem Created by 00_Download_Script.bat>> directories_config.bat -) +start /wait 17_1st_Build_Parts_DB_file.bat +start /wait 18_2nd_Launch_Fritzing.bat +start /wait 19_Organize_unnecessary_files.bat +start /wait 20_Create_Fritzing_zip_package.bat +exit \ No newline at end of file diff --git a/00_Execute_Script.bat b/00_Execute_Script.bat index 1e48e06..1a74ccd 100644 --- a/00_Execute_Script.bat +++ b/00_Execute_Script.bat @@ -8,6 +8,23 @@ if exist directories_config.bat call directories_config.bat cd /d %FRITZING_WORKSPACE_DIR% +start /wait 02_Download_Requirement_Files.bat +start /wait 03_Install_Qt_653.bat +start /wait 04_Install_Visual_Studio_Build_Tools_2019.bat +start /wait 05_Extract_Requirement_Files.bat +start /wait 06_Download_from_Git.bat +start /wait 07_Build_Library.bat +start /wait 08_Fix_Library_place_Fritzing.bat +@echo off +rem 00_Execute_Script.bat +rem http://www.neko.ne.jp/~freewing/software/build_fritzing_100_windows/ +rem Copyright (c) 2023 FREE WING,Y.Sakamoto +echo %0 +rem Load configuration +if exist directories_config.bat call directories_config.bat + +cd /d %FRITZING_WORKSPACE_DIR% + start /wait 02_Download_Requirement_Files.bat start /wait 03_Install_Qt_653.bat start /wait 04_Install_Visual_Studio_Build_Tools_2019.bat @@ -33,3 +50,20 @@ start /wait 20_Create_Fritzing_zip_package.bat exit + +start /wait 09_Download_Fritzing_Source_code.bat +start /wait 10_Download_Fritzing_Parts_Library.bat +start /wait 11_Fix_Fritzing_Source_code.bat +start /wait 12_Fix_Fritzing_Header_files.bat + +start /wait 13_Build_phoenix_pro_with_Qt.bat +start /wait 15_Copy_Fritzing_Requirement_DLL_files.bat +start /wait 16_Copy_Qt_Requirement_DLL_files.bat + +start /wait 17_1st_Build_Parts_DB_file.bat +start /wait 18_2nd_Launch_Fritzing.bat + +start /wait 19_Organize_unnecessary_files.bat +start /wait 20_Create_Fritzing_zip_package.bat + +exit \ No newline at end of file diff --git a/01_Create_Build_directory.bat b/01_Create_Build_directory.bat index a454761..8d9b79f 100644 --- a/01_Create_Build_directory.bat +++ b/01_Create_Build_directory.bat @@ -9,5 +9,4 @@ echo Using Fritzing workspace directory: %FRITZING_WORKSPACE_DIR% cd \ mkdir %FRITZING_WORKSPACE_DIR% -cd /d %FRITZING_WORKSPACE_DIR% - +cd /d %FRITZING_WORKSPACE_DIR% \ No newline at end of file diff --git a/02_Download_Requirement_Files.bat b/02_Download_Requirement_Files.bat index 5f456d1..46474c3 100644 --- a/02_Download_Requirement_Files.bat +++ b/02_Download_Requirement_Files.bat @@ -85,5 +85,4 @@ echo === echo Download Error echo === rundll32 user32.dll,MessageBeep -pause - +pause \ No newline at end of file diff --git a/03_Install_Qt_653.bat b/03_Install_Qt_653.bat index bfef35d..3cecb4d 100644 --- a/03_Install_Qt_653.bat +++ b/03_Install_Qt_653.bat @@ -22,8 +22,8 @@ echo === echo Input Qt Account rem Beep rundll32 user32.dll,MessageBeep -if "%Qt_email%" == "" set /p Qt_email=Qt Account your_email ? -if "%Qt_passw%" == "" set /p Qt_passw=Qt Account your_password ? +if "%Qt_email%" == "" set /p Qt_email=Qt Account your_email ? +if "%Qt_passw%" == "" set /p Qt_passw=Qt Account your_password ? cls @@ -97,5 +97,4 @@ exit rem include QtCreator -echo install qt.tools.qtcreator_gui ^^>>qt_inst.bat - +echo install qt.tools.qtcreator_gui ^^>>qt_inst.bat \ No newline at end of file diff --git a/04_Install_Visual_Studio_Build_Tools_2019.bat b/04_Install_Visual_Studio_Build_Tools_2019.bat index a702151..892a21a 100644 --- a/04_Install_Visual_Studio_Build_Tools_2019.bat +++ b/04_Install_Visual_Studio_Build_Tools_2019.bat @@ -55,5 +55,4 @@ vs_BuildTools_2019.exe --config %VSDIR%\VSBT_VS2019.vsconfig ^ --installPath "%VS_INSTALL_DIR%" ^ --norestart --passive --wait -exit - +exit \ No newline at end of file diff --git a/05_Extract_Requirement_Files.bat b/05_Extract_Requirement_Files.bat index 1c04477..befcfaf 100644 --- a/05_Extract_Requirement_Files.bat +++ b/05_Extract_Requirement_Files.bat @@ -61,5 +61,4 @@ start /wait powershell "Start-Process -FilePath '7z_inst.bat' -WorkingDirectory .\7z\7z x PortableGit-2.42.0.2-64-bit.7z.exe -o.\PortableGit .\7z\7z x ngspice-42_dll_64.7z -o.\ -exit - +exit \ No newline at end of file diff --git a/06_Download_from_Git.bat b/06_Download_from_Git.bat index 8406e45..3778948 100644 --- a/06_Download_from_Git.bat +++ b/06_Download_from_Git.bat @@ -23,5 +23,4 @@ rem https://github.com/libgit2/libgit2/releases/tag/v0.28.5 echo libgit2 v0.28.5 git clone https://github.com/libgit2/libgit2 -b v0.28.5 -exit - +exit \ No newline at end of file diff --git a/07_Build_Library.bat b/07_Build_Library.bat index a243788..0244209 100644 --- a/07_Build_Library.bat +++ b/07_Build_Library.bat @@ -138,5 +138,4 @@ rem Beep rundll32 user32.dll,MessageBeep timeout /T 10 /NOBREAK -goto failed_beep - +goto failed_beep \ No newline at end of file diff --git a/08_Fix_Library_place_Fritzing.bat b/08_Fix_Library_place_Fritzing.bat index d9abaf0..ccf3d8f 100644 --- a/08_Fix_Library_place_Fritzing.bat +++ b/08_Fix_Library_place_Fritzing.bat @@ -18,5 +18,7 @@ xcopy .\quazip-6.5.3-1.4\bin .\quazip-6.5.3-1.4\build64\Release\ xcopy .\quazip-6.5.3-1.4\lib\*.lib .\quazip-6.5.3-1.4\build64\Release\ dir .\quazip-6.5.3-1.4\build64\Release\ -exit +rem https://github.com/fritzing/fritzing-app/commit/ba8ab8760d01dc0870299f8456940524f9b73a5c +xcopy /E .\quazip-6.5.3-1.4 .\quazip-6.5.3-1.4intuisphere\ +exit \ No newline at end of file diff --git a/09_Download_Fritzing_Source_code.bat b/09_Download_Fritzing_Source_code.bat index 9380606..856466c 100644 --- a/09_Download_Fritzing_Source_code.bat +++ b/09_Download_Fritzing_Source_code.bat @@ -28,18 +28,21 @@ rem git pull origin dbdbe34c843677df721c7b3fc3e32c0f737e7e95 rem git checkout dbdbe34c843677df721c7b3fc3e32c0f737e7e95 rem equivalent Fritzing 1.0.3 May 31, 2024 -git pull origin a7811ba0427e664c740b5616b10626f2d45fd8b3 -git checkout a7811ba0427e664c740b5616b10626f2d45fd8b3 +rem git pull origin a7811ba0427e664c740b5616b10626f2d45fd8b3 +rem git checkout a7811ba0427e664c740b5616b10626f2d45fd8b3 -set Fritzing_hash=a8c6ef7cf66f7a42b9b233d6137f1b70a9573a25 rem equivalent Fritzing 1.0.4 Oct 7, 2024 +rem set Fritzing_hash=a8c6ef7cf66f7a42b9b233d6137f1b70a9573a25 + +rem equivalent Fritzing 1.0.5 +set Fritzing_hash=b9add9eaa7c426963de20c8514a69d3f15e83bdf git pull origin %Fritzing_hash% git checkout %Fritzing_hash% -rem add git tag 1.0.4 +rem add git tag 1.0.5 git config --global user.email "you@example.com" git config --global user.name "Your Name" -git tag -a 1.0.4 -m "" %Fritzing_hash% +git tag -a 1.0.5 -m "" %Fritzing_hash% git show --format='%%H' --no-patch @@ -47,5 +50,4 @@ git rev-parse --git-dir cd .. -exit - +exit \ No newline at end of file diff --git a/10_Download_Fritzing_Parts_Library.bat b/10_Download_Fritzing_Parts_Library.bat index b72192d..4156c83 100644 --- a/10_Download_Fritzing_Parts_Library.bat +++ b/10_Download_Fritzing_Parts_Library.bat @@ -16,9 +16,8 @@ cd release64 rem Commits on Sep 30, 2024 echo https://github.com/fritzing/fritzing-parts -git clone https://github.com/fritzing/fritzing-parts -b 1.0.4 +git clone https://github.com/fritzing/fritzing-parts -b 1.0.5 cd .. -exit - +exit \ No newline at end of file diff --git a/11_Fix_Fritzing_Source_code.bat b/11_Fix_Fritzing_Source_code.bat index 3b4bdb6..d70bae1 100644 --- a/11_Fix_Fritzing_Source_code.bat +++ b/11_Fix_Fritzing_Source_code.bat @@ -24,5 +24,4 @@ rem ren modelbase.cpp_tmp modelbase.cpp cd /d \00_fritzing -exit - +exit \ No newline at end of file diff --git a/12_Fix_Fritzing_Header_files.bat b/12_Fix_Fritzing_Header_files.bat index 0a93f9f..3aa90f3 100644 --- a/12_Fix_Fritzing_Header_files.bat +++ b/12_Fix_Fritzing_Header_files.bat @@ -43,5 +43,4 @@ xcopy ..\fritzing_h\ ..\release64\ cd .. -exit - +exit \ No newline at end of file diff --git a/13_Build_phoenix_pro_with_Qt.bat b/13_Build_phoenix_pro_with_Qt.bat index 6743ec0..ac3435d 100644 --- a/13_Build_phoenix_pro_with_Qt.bat +++ b/13_Build_phoenix_pro_with_Qt.bat @@ -64,5 +64,4 @@ rem Beep rundll32 user32.dll,MessageBeep timeout /T 5 /NOBREAK -goto failed_beep - +goto failed_beep \ No newline at end of file diff --git a/15_Copy_Fritzing_Requirement_DLL_files.bat b/15_Copy_Fritzing_Requirement_DLL_files.bat index 2f82240..4b7259d 100644 --- a/15_Copy_Fritzing_Requirement_DLL_files.bat +++ b/15_Copy_Fritzing_Requirement_DLL_files.bat @@ -20,5 +20,4 @@ copy .\Spice64_dll\dll-vs\*.dll .\release64 rem for Fritzing 1.0.2 copy .\clipper1-6.4.2\lib\polyclipping.dll .\release64 -exit - +exit \ No newline at end of file diff --git a/16_Copy_Qt_Requirement_DLL_files.bat b/16_Copy_Qt_Requirement_DLL_files.bat index 98d66cc..4c21451 100644 --- a/16_Copy_Qt_Requirement_DLL_files.bat +++ b/16_Copy_Qt_Requirement_DLL_files.bat @@ -30,5 +30,4 @@ rem Beep rundll32 user32.dll,MessageBeep timeout /T 5 /NOBREAK -goto failed_beep - +goto failed_beep \ No newline at end of file diff --git a/17_1st_Build_Parts_DB_file.bat b/17_1st_Build_Parts_DB_file.bat index e8d67c1..2679c3b 100644 --- a/17_1st_Build_Parts_DB_file.bat +++ b/17_1st_Build_Parts_DB_file.bat @@ -21,5 +21,4 @@ rundll32 user32.dll,MessageBeep cd .. -exit - +exit \ No newline at end of file diff --git a/18_2nd_Launch_Fritzing.bat b/18_2nd_Launch_Fritzing.bat index 00f1680..02f598f 100644 --- a/18_2nd_Launch_Fritzing.bat +++ b/18_2nd_Launch_Fritzing.bat @@ -45,5 +45,4 @@ timeout /T 5 /NOBREAK TASKLIST /FI "STATUS eq RUNNING" | findstr Fritzing.exe if %ERRORLEVEL% EQU 0 goto wait_close -exit - +exit \ No newline at end of file diff --git a/19_Organize_unnecessary_files.bat b/19_Organize_unnecessary_files.bat index ce04b8c..3398e1d 100644 --- a/19_Organize_unnecessary_files.bat +++ b/19_Organize_unnecessary_files.bat @@ -23,5 +23,4 @@ rmdir /S /Q .\_\ cd .. -exit - +exit \ No newline at end of file diff --git a/20_Create_Fritzing_zip_package.bat b/20_Create_Fritzing_zip_package.bat index 0ffe169..c7670e1 100644 --- a/20_Create_Fritzing_zip_package.bat +++ b/20_Create_Fritzing_zip_package.bat @@ -9,7 +9,7 @@ if exist qt_config.bat call qt_config.bat cd /d %FRITZING_WORKSPACE_DIR% -set Fritzing_XXX=Fritzing_104 +set Fritzing_XXX=Fritzing_105 ren release64 %Fritzing_XXX% @@ -31,5 +31,4 @@ timeout /T 10 /NOBREAK start . -exit - +exit \ No newline at end of file diff --git a/LICENSE b/LICENSE index 3877ae0..871ce8e 100644 --- a/LICENSE +++ b/LICENSE @@ -671,4 +671,4 @@ into proprietary programs. If your program is a subroutine library, you may consider it more useful to permit linking proprietary applications with the library. If this is what you want to do, use the GNU Lesser General Public License instead of this License. But first, please read -. +. \ No newline at end of file diff --git a/README.md b/README.md index eb49a9d..9e03a41 100644 --- a/README.md +++ b/README.md @@ -1,15 +1,16 @@ -# Build-Fritzing-1.0.4-Windows-script -Build Fritzing 1.0.4 Windows script +# Build-Fritzing-1.0.5-Windows-script +Build Fritzing 1.0.5 Windows script -2024/10/28 Update Build Fritzing 1.0.4 (Reconfirmed on 2025/01/05) -2024/07/14 Update Build Fritzing 1.0.3 -2024/01/11 Update Build Fritzing 1.0.2 (Reconfirmed on 2024/05/05) -2023/11/18 Update Build Fritzing 1.0.1 +2025/05/17 Update Build Fritzing 1.0.5 +2024/10/28 Update Build Fritzing 1.0.4 (Reconfirmed on 2025/01/05) +2024/07/14 Update Build Fritzing 1.0.3 +2024/01/11 Update Build Fritzing 1.0.2 (Reconfirmed on 2024/05/05) +2023/11/18 Update Build Fritzing 1.0.1 -* How to Build Fritzing 1.0.4 from Source code in Windows with Visual Studio 2019 -http://www.neko.ne.jp/~freewing/software/build_fritzing_100_windows/ +* How to Build Fritzing 1.0.5 from Source code in Windows with Visual Studio 2019 +http://www.neko.ne.jp/~freewing/software/build_fritzing_100_windows/ -* Build Step +* Build Step ``` * Open Command Prompt @@ -84,23 +85,23 @@ All other scripts in the build process load this configuration file before execu - Make sure the directories you specify exist or can be created by the script - The workspace directory should be empty when you start the build process -![ClipImage_20241028_142712_529](https://github.com/user-attachments/assets/e5e4fbf4-d4c5-42b7-8580-83737367361d) -![ClipImage_20241028_142942_938](https://github.com/user-attachments/assets/7fc6c5e8-69a7-400e-867e-ec8a69823dcc) +![ClipImage_20241028_142712_529](https://github.com/user-attachments/assets/e5e4fbf4-d4c5-42b7-8580-83737367361d) +![ClipImage_20241028_142942_938](https://github.com/user-attachments/assets/7fc6c5e8-69a7-400e-867e-ec8a69823dcc) -* Tested -Windows 11 Real -Windows 11 Windows Sandbox -Windows 10 Windows Sandbox +* Tested +Windows 11 Real +Windows 11 Windows Sandbox +Windows 10 Windows Sandbox -* Fritzing 1.0.0を合法的に無料で使用する方法、Windows環境 VS2019でビルドする方法 -http://www.neko.ne.jp/~freewing/software/build_fritzing_100_windows/ +* Fritzing 1.0.0を合法的に無料で使用する方法、Windows環境 VS2019でビルドする方法 +http://www.neko.ne.jp/~freewing/software/build_fritzing_100_windows/ -* Donation Button -[![Donate](https://img.shields.io/badge/Donate-PayPal-green.svg)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=T79HPJ5H79PBU) +* Donation Button +[![Donate](https://img.shields.io/badge/Donate-PayPal-green.svg)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=T79HPJ5H79PBU) -* Youtube -[How to get Fritzing 1.0.0 for free - Compile Fritzing on Windows YouTube https://youtu.be/cC82PULJq6g](https://youtu.be/cC82PULJq6g) +* Youtube +[How to get Fritzing 1.0.0 for free - Compile Fritzing on Windows YouTube https://youtu.be/cC82PULJq6g](https://youtu.be/cC82PULJq6g) -* Youtube -[Fritzing 1.0.0を無料でゲットする方法 YouTube https://youtu.be/wLDuyNqms_g](https://youtu.be/wLDuyNqms_g) +* Youtube +[Fritzing 1.0.0を無料でゲットする方法 YouTube https://youtu.be/wLDuyNqms_g](https://youtu.be/wLDuyNqms_g) \ No newline at end of file diff --git a/directories_config.bat b/directories_config.bat index e1573f4..f712b88 100644 --- a/directories_config.bat +++ b/directories_config.bat @@ -12,4 +12,4 @@ set FRITZING_WORKSPACE_DIR=\00_fritzing rem Visual Studio installation directory (default is auto-detected) set VS_INSTALL_DIR=C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools -rem Additional configuration variables can be added here +rem Additional configuration variables can be added here \ No newline at end of file From 59fdcbe50b17357449ada3ec774bce6a78092693 Mon Sep 17 00:00:00 2001 From: NonaSuomy Date: Wed, 2 Jul 2025 21:17:48 -0400 Subject: [PATCH 16/70] Update 00_Download_Script.bat line endings --- 00_Download_Script.bat | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/00_Download_Script.bat b/00_Download_Script.bat index 87074da..817d908 100644 --- a/00_Download_Script.bat +++ b/00_Download_Script.bat @@ -31,4 +31,4 @@ start /wait 18_2nd_Launch_Fritzing.bat start /wait 19_Organize_unnecessary_files.bat start /wait 20_Create_Fritzing_zip_package.bat -exit \ No newline at end of file +exit From 9ff341bb411b68d35f940beb4576417b462425eb Mon Sep 17 00:00:00 2001 From: NonaSuomy Date: Wed, 2 Jul 2025 21:26:15 -0400 Subject: [PATCH 17/70] Update 00_Download_Script.bat --- 00_Download_Script.bat | 99 ++++++++++++++++++++++++++++++++---------- 1 file changed, 77 insertions(+), 22 deletions(-) diff --git a/00_Download_Script.bat b/00_Download_Script.bat index 817d908..7764839 100644 --- a/00_Download_Script.bat +++ b/00_Download_Script.bat @@ -1,34 +1,89 @@ @echo off -rem 00_Execute_Script.bat +rem 00_Download_Script.bat rem http://www.neko.ne.jp/~freewing/software/build_fritzing_100_windows/ rem Copyright (c) 2023 FREE WING,Y.Sakamoto echo %0 -rem Load configuration -if exist directories_config.bat call directories_config.bat +@echo off + +rem Load configuration from directories_config.bat if it exists +rem Otherwise, use default values +if exist directories_config.bat ( + echo Loading configuration from directories_config.bat + call directories_config.bat +) else ( + echo directories_config.bat not found, creating with default values + rem Configure Qt installation directory (default is C:\Qt) + if "%QT_INSTALL_DIR%" == "" set QT_INSTALL_DIR=C:\Qt + + rem Configure Fritzing workspace directory (default is \00_fritzing) + if "%FRITZING_WORKSPACE_DIR%" == "" set FRITZING_WORKSPACE_DIR=\00_fritzing + + rem Configure Visual Studio installation directory + if "%VS_INSTALL_DIR%" == "" set VS_INSTALL_DIR=C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools + rem Create the configuration file + echo @echo off> directories_config.bat + echo rem directories_config.bat>> directories_config.bat + echo rem Configuration file for directory paths used in Fritzing build scripts>> directories_config.bat + echo rem This file is meant to be persistent and can be edited manually>> directories_config.bat + echo.>> directories_config.bat + echo rem Qt installation directory>> directories_config.bat + echo set QT_INSTALL_DIR=%QT_INSTALL_DIR%>> directories_config.bat + echo.>> directories_config.bat + echo rem Fritzing workspace directory>> directories_config.bat + echo set FRITZING_WORKSPACE_DIR=%FRITZING_WORKSPACE_DIR%>> directories_config.bat + echo.>> directories_config.bat + echo rem Visual Studio installation directory>> directories_config.bat + echo set VS_INSTALL_DIR=%VS_INSTALL_DIR%>> directories_config.bat +) + +echo Using Qt installation directory: %QT_INSTALL_DIR% +echo Using Fritzing workspace directory: %FRITZING_WORKSPACE_DIR% +echo Using Visual Studio directory: %VS_INSTALL_DIR% + +cd \ +mkdir %FRITZING_WORKSPACE_DIR% cd /d %FRITZING_WORKSPACE_DIR% -start /wait 02_Download_Requirement_Files.bat -start /wait 03_Install_Qt_653.bat -start /wait 04_Install_Visual_Studio_Build_Tools_2019.bat -start /wait 05_Extract_Requirement_Files.bat -start /wait 06_Download_from_Git.bat -start /wait 07_Build_Library.bat -start /wait 08_Fix_Library_place_Fritzing.bat +rem https://github.com/FREEWING-JP/CSharp_DownloadFile +rem echo C# DownloadFile from URL +rem bitsadmin /TRANSFER hoge https://github.com/FREEWING-JP/CSharp_DownloadFile/releases/download/v0.0/DownloadFile.exe %cd%\DownloadFile.exe + +echo C# DownloadFile source code from URL +bitsadmin /TRANSFER hoge https://raw.githubusercontent.com/FREEWING-JP/CSharp_DownloadFile/main/DownloadFile.cs %cd%\DownloadFile.cs + +echo Build DownloadFile.exe +C:\Windows\Microsoft.NET\Framework\v4.0.30319\csc DownloadFile.cs -start /wait 09_Download_Fritzing_Source_code.bat -start /wait 10_Download_Fritzing_Parts_Library.bat -start /wait 11_Fix_Fritzing_Source_code.bat -start /wait 12_Fix_Fritzing_Header_files.bat +rem https://github.com/FREEWING-JP/CSharp_UnZip +echo C# UnZip .Net 4.5 +if not exist UnZip.exe DownloadFile https://github.com/FREEWING-JP/CSharp_UnZip/releases/download/v0.0/UnZip.exe UnZip.exe -start /wait 13_Build_phoenix_pro_with_Qt.bat -start /wait 15_Copy_Fritzing_Requirement_DLL_files.bat -start /wait 16_Copy_Qt_Requirement_DLL_files.bat +rem https://github.com/FREEWING-JP/Build-Fritzing-1.0.0-Windows-script +echo Build Fritzing 1.0.0 Windows script +if not exist main.zip DownloadFile https://github.com/FREEWING-JP/Build-Fritzing-1.0.0-Windows-script/archive/refs/heads/main.zip main.zip -start /wait 17_1st_Build_Parts_DB_file.bat -start /wait 18_2nd_Launch_Fritzing.bat +UnZip.exe main.zip . -start /wait 19_Organize_unnecessary_files.bat -start /wait 20_Create_Fritzing_zip_package.bat +move Build-Fritzing-1.0.0-Windows-script-main\*.* .\ +rmdir Build-Fritzing-1.0.0-Windows-script-main -exit +rem Update directories_config.bat if it already exists +if not exist directories_config.bat ( + rem Create the configuration file + echo @echo off> directories_config.bat + echo rem directories_config.bat>> directories_config.bat + echo rem Configuration file for directory paths used in Fritzing build scripts>> directories_config.bat + echo rem This file is meant to be persistent and can be edited manually>> directories_config.bat + echo.>> directories_config.bat + echo rem Qt installation directory>> directories_config.bat + echo set QT_INSTALL_DIR=%QT_INSTALL_DIR%>> directories_config.bat + echo.>> directories_config.bat + echo rem Fritzing workspace directory>> directories_config.bat + echo set FRITZING_WORKSPACE_DIR=%FRITZING_WORKSPACE_DIR%>> directories_config.bat + echo.>> directories_config.bat + echo rem Visual Studio installation directory>> directories_config.bat + echo set VS_INSTALL_DIR=%VS_INSTALL_DIR%>> directories_config.bat + echo.>> directories_config.bat + echo rem Created by 00_Download_Script.bat>> directories_config.bat +) From 36108f5142dee005059ee00ad9e5a0fff0997ff8 Mon Sep 17 00:00:00 2001 From: NonaSuomy Date: Wed, 2 Jul 2025 21:29:41 -0400 Subject: [PATCH 18/70] Add files via upload --- SendKeys_Accept.vbs | 18 ++++++++++++++++++ SendKeys_AltF4.vbs | 21 +++++++++++++++++++++ 2 files changed, 39 insertions(+) create mode 100644 SendKeys_Accept.vbs create mode 100644 SendKeys_AltF4.vbs diff --git a/SendKeys_Accept.vbs b/SendKeys_Accept.vbs new file mode 100644 index 0000000..12f71e9 --- /dev/null +++ b/SendKeys_Accept.vbs @@ -0,0 +1,18 @@ +Set WSHShell = WScript.CreateObject("WScript.Shell") +WScript.Sleep(5000) +WScript.Sleep(5000) + +WScript.Sleep(5000) +WScript.Sleep(5000) + +WScript.Sleep(5000) +WScript.Sleep(5000) + +WScript.Sleep(5000) +WScript.Sleep(5000) + +WScript.Sleep(5000) +WScript.Sleep(5000) + +WSHShell.SendKeys "Accept{ENTER}" + diff --git a/SendKeys_AltF4.vbs b/SendKeys_AltF4.vbs new file mode 100644 index 0000000..0bb8296 --- /dev/null +++ b/SendKeys_AltF4.vbs @@ -0,0 +1,21 @@ +Set WSHShell = WScript.CreateObject("WScript.Shell") +WScript.Sleep(5000) +WScript.Sleep(5000) + +WScript.Sleep(5000) +WScript.Sleep(5000) + +WScript.Sleep(5000) +WScript.Sleep(5000) + +WScript.Sleep(5000) +WScript.Sleep(5000) + +WScript.Sleep(5000) +WScript.Sleep(5000) + +WSHShell.AppActivate "Untitled Sketch.fzz - Fritzing" +WScript.Sleep(1000) + +WSHShell.SendKeys "%{F4}" + From 11fd5605555c359a57aeaa6bfa95cb66315910c3 Mon Sep 17 00:00:00 2001 From: NonaSuomy Date: Wed, 2 Jul 2025 22:48:37 -0400 Subject: [PATCH 19/70] Update lf Update lf --- 00_Download_Script.bat | 178 +-- 00_Download_Script.bat.bak | 89 ++ 00_Execute_Script.bat | 136 +- 00_Execute_Script.bat.bak | 69 + 01_Create_Build_directory.bat | 22 +- 01_Create_Build_directory.bat.bak | 12 + 02_Download_Requirement_Files.bat | 174 +-- 02_Download_Requirement_Files.bat.bak | 88 ++ 03_Install_Qt_653.bat | 198 +-- 03_Install_Qt_653.bat.bak | 100 ++ 04_Install_Visual_Studio_Build_Tools_2019.bat | 114 +- ...all_Visual_Studio_Build_Tools_2019.bat.bak | 58 + 05_Extract_Requirement_Files.bat | 126 +- 05_Extract_Requirement_Files.bat.bak | 64 + 06_Download_from_Git.bat | 50 +- 06_Download_from_Git.bat.bak | 26 + 07_Build_Library.bat | 280 ++-- 07_Build_Library.bat.bak | 141 ++ 08_Fix_Library_place_Fritzing.bat | 46 +- 08_Fix_Library_place_Fritzing.bat.bak | 24 + 09_Download_Fritzing_Source_code.bat | 104 +- 09_Download_Fritzing_Source_code.bat.bak | 53 + 10_Download_Fritzing_Parts_Library.bat | 44 +- 10_Download_Fritzing_Parts_Library.bat.bak | 23 + 11_Fix_Fritzing_Source_code.bat | 52 +- 11_Fix_Fritzing_Source_code.bat.bak | 27 + 12_Fix_Fritzing_Header_files.bat | 90 +- 12_Fix_Fritzing_Header_files.bat.bak | 46 + 13_Build_phoenix_pro_with_Qt.bat | 132 +- 13_Build_phoenix_pro_with_Qt.bat.bak | 67 + 15_Copy_Fritzing_Requirement_DLL_files.bat | 44 +- ...opy_Fritzing_Requirement_DLL_files.bat.bak | 23 + 16_Copy_Qt_Requirement_DLL_files.bat | 64 +- 16_Copy_Qt_Requirement_DLL_files.bat.bak | 33 + 17_1st_Build_Parts_DB_file.bat | 46 +- 17_1st_Build_Parts_DB_file.bat.bak | 24 + 18_2nd_Launch_Fritzing.bat | 94 +- 18_2nd_Launch_Fritzing.bat.bak | 48 + 19_Organize_unnecessary_files.bat | 50 +- 19_Organize_unnecessary_files.bat.bak | 26 + 20_Create_Fritzing_zip_package.bat | 66 +- 20_Create_Fritzing_zip_package.bat.bak | 34 + LICENSE | 1346 ++++++++--------- LICENSE.bak | 674 +++++++++ README.md | 214 +-- README.md.bak | 107 ++ SendKeys_Accept.vbs.bak | 18 + SendKeys_AltF4.vbs.bak | 21 + directories_config.bat.bak | 15 + 49 files changed, 3745 insertions(+), 1835 deletions(-) create mode 100644 00_Download_Script.bat.bak create mode 100644 00_Execute_Script.bat.bak create mode 100644 01_Create_Build_directory.bat.bak create mode 100644 02_Download_Requirement_Files.bat.bak create mode 100644 03_Install_Qt_653.bat.bak create mode 100644 04_Install_Visual_Studio_Build_Tools_2019.bat.bak create mode 100644 05_Extract_Requirement_Files.bat.bak create mode 100644 06_Download_from_Git.bat.bak create mode 100644 07_Build_Library.bat.bak create mode 100644 08_Fix_Library_place_Fritzing.bat.bak create mode 100644 09_Download_Fritzing_Source_code.bat.bak create mode 100644 10_Download_Fritzing_Parts_Library.bat.bak create mode 100644 11_Fix_Fritzing_Source_code.bat.bak create mode 100644 12_Fix_Fritzing_Header_files.bat.bak create mode 100644 13_Build_phoenix_pro_with_Qt.bat.bak create mode 100644 15_Copy_Fritzing_Requirement_DLL_files.bat.bak create mode 100644 16_Copy_Qt_Requirement_DLL_files.bat.bak create mode 100644 17_1st_Build_Parts_DB_file.bat.bak create mode 100644 18_2nd_Launch_Fritzing.bat.bak create mode 100644 19_Organize_unnecessary_files.bat.bak create mode 100644 20_Create_Fritzing_zip_package.bat.bak create mode 100644 LICENSE.bak create mode 100644 README.md.bak create mode 100644 SendKeys_Accept.vbs.bak create mode 100644 SendKeys_AltF4.vbs.bak create mode 100644 directories_config.bat.bak diff --git a/00_Download_Script.bat b/00_Download_Script.bat index 7764839..6e533ef 100644 --- a/00_Download_Script.bat +++ b/00_Download_Script.bat @@ -1,89 +1,89 @@ -@echo off -rem 00_Download_Script.bat -rem http://www.neko.ne.jp/~freewing/software/build_fritzing_100_windows/ -rem Copyright (c) 2023 FREE WING,Y.Sakamoto -echo %0 -@echo off - -rem Load configuration from directories_config.bat if it exists -rem Otherwise, use default values -if exist directories_config.bat ( - echo Loading configuration from directories_config.bat - call directories_config.bat -) else ( - echo directories_config.bat not found, creating with default values - rem Configure Qt installation directory (default is C:\Qt) - if "%QT_INSTALL_DIR%" == "" set QT_INSTALL_DIR=C:\Qt - - rem Configure Fritzing workspace directory (default is \00_fritzing) - if "%FRITZING_WORKSPACE_DIR%" == "" set FRITZING_WORKSPACE_DIR=\00_fritzing - - rem Configure Visual Studio installation directory - if "%VS_INSTALL_DIR%" == "" set VS_INSTALL_DIR=C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools - - rem Create the configuration file - echo @echo off> directories_config.bat - echo rem directories_config.bat>> directories_config.bat - echo rem Configuration file for directory paths used in Fritzing build scripts>> directories_config.bat - echo rem This file is meant to be persistent and can be edited manually>> directories_config.bat - echo.>> directories_config.bat - echo rem Qt installation directory>> directories_config.bat - echo set QT_INSTALL_DIR=%QT_INSTALL_DIR%>> directories_config.bat - echo.>> directories_config.bat - echo rem Fritzing workspace directory>> directories_config.bat - echo set FRITZING_WORKSPACE_DIR=%FRITZING_WORKSPACE_DIR%>> directories_config.bat - echo.>> directories_config.bat - echo rem Visual Studio installation directory>> directories_config.bat - echo set VS_INSTALL_DIR=%VS_INSTALL_DIR%>> directories_config.bat -) - -echo Using Qt installation directory: %QT_INSTALL_DIR% -echo Using Fritzing workspace directory: %FRITZING_WORKSPACE_DIR% -echo Using Visual Studio directory: %VS_INSTALL_DIR% - -cd \ -mkdir %FRITZING_WORKSPACE_DIR% -cd /d %FRITZING_WORKSPACE_DIR% - -rem https://github.com/FREEWING-JP/CSharp_DownloadFile -rem echo C# DownloadFile from URL -rem bitsadmin /TRANSFER hoge https://github.com/FREEWING-JP/CSharp_DownloadFile/releases/download/v0.0/DownloadFile.exe %cd%\DownloadFile.exe - -echo C# DownloadFile source code from URL -bitsadmin /TRANSFER hoge https://raw.githubusercontent.com/FREEWING-JP/CSharp_DownloadFile/main/DownloadFile.cs %cd%\DownloadFile.cs - -echo Build DownloadFile.exe -C:\Windows\Microsoft.NET\Framework\v4.0.30319\csc DownloadFile.cs - -rem https://github.com/FREEWING-JP/CSharp_UnZip -echo C# UnZip .Net 4.5 -if not exist UnZip.exe DownloadFile https://github.com/FREEWING-JP/CSharp_UnZip/releases/download/v0.0/UnZip.exe UnZip.exe - -rem https://github.com/FREEWING-JP/Build-Fritzing-1.0.0-Windows-script -echo Build Fritzing 1.0.0 Windows script -if not exist main.zip DownloadFile https://github.com/FREEWING-JP/Build-Fritzing-1.0.0-Windows-script/archive/refs/heads/main.zip main.zip - -UnZip.exe main.zip . - -move Build-Fritzing-1.0.0-Windows-script-main\*.* .\ -rmdir Build-Fritzing-1.0.0-Windows-script-main - -rem Update directories_config.bat if it already exists -if not exist directories_config.bat ( - rem Create the configuration file - echo @echo off> directories_config.bat - echo rem directories_config.bat>> directories_config.bat - echo rem Configuration file for directory paths used in Fritzing build scripts>> directories_config.bat - echo rem This file is meant to be persistent and can be edited manually>> directories_config.bat - echo.>> directories_config.bat - echo rem Qt installation directory>> directories_config.bat - echo set QT_INSTALL_DIR=%QT_INSTALL_DIR%>> directories_config.bat - echo.>> directories_config.bat - echo rem Fritzing workspace directory>> directories_config.bat - echo set FRITZING_WORKSPACE_DIR=%FRITZING_WORKSPACE_DIR%>> directories_config.bat - echo.>> directories_config.bat - echo rem Visual Studio installation directory>> directories_config.bat - echo set VS_INSTALL_DIR=%VS_INSTALL_DIR%>> directories_config.bat - echo.>> directories_config.bat - echo rem Created by 00_Download_Script.bat>> directories_config.bat -) +@echo off +rem 00_Download_Script.bat +rem http://www.neko.ne.jp/~freewing/software/build_fritzing_100_windows/ +rem Copyright (c) 2023 FREE WING,Y.Sakamoto +echo %0 +@echo off + +rem Load configuration from directories_config.bat if it exists +rem Otherwise, use default values +if exist directories_config.bat ( + echo Loading configuration from directories_config.bat + call directories_config.bat +) else ( + echo directories_config.bat not found, creating with default values + rem Configure Qt installation directory (default is C:\Qt) + if "%QT_INSTALL_DIR%" == "" set QT_INSTALL_DIR=C:\Qt + + rem Configure Fritzing workspace directory (default is \00_fritzing) + if "%FRITZING_WORKSPACE_DIR%" == "" set FRITZING_WORKSPACE_DIR=\00_fritzing + + rem Configure Visual Studio installation directory + if "%VS_INSTALL_DIR%" == "" set VS_INSTALL_DIR=C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools + + rem Create the configuration file + echo @echo off> directories_config.bat + echo rem directories_config.bat>> directories_config.bat + echo rem Configuration file for directory paths used in Fritzing build scripts>> directories_config.bat + echo rem This file is meant to be persistent and can be edited manually>> directories_config.bat + echo.>> directories_config.bat + echo rem Qt installation directory>> directories_config.bat + echo set QT_INSTALL_DIR=%QT_INSTALL_DIR%>> directories_config.bat + echo.>> directories_config.bat + echo rem Fritzing workspace directory>> directories_config.bat + echo set FRITZING_WORKSPACE_DIR=%FRITZING_WORKSPACE_DIR%>> directories_config.bat + echo.>> directories_config.bat + echo rem Visual Studio installation directory>> directories_config.bat + echo set VS_INSTALL_DIR=%VS_INSTALL_DIR%>> directories_config.bat +) + +echo Using Qt installation directory: %QT_INSTALL_DIR% +echo Using Fritzing workspace directory: %FRITZING_WORKSPACE_DIR% +echo Using Visual Studio directory: %VS_INSTALL_DIR% + +cd \ +mkdir %FRITZING_WORKSPACE_DIR% +cd /d %FRITZING_WORKSPACE_DIR% + +rem https://github.com/FREEWING-JP/CSharp_DownloadFile +rem echo C# DownloadFile from URL +rem bitsadmin /TRANSFER hoge https://github.com/FREEWING-JP/CSharp_DownloadFile/releases/download/v0.0/DownloadFile.exe %cd%\DownloadFile.exe + +echo C# DownloadFile source code from URL +bitsadmin /TRANSFER hoge https://raw.githubusercontent.com/FREEWING-JP/CSharp_DownloadFile/main/DownloadFile.cs %cd%\DownloadFile.cs + +echo Build DownloadFile.exe +C:\Windows\Microsoft.NET\Framework\v4.0.30319\csc DownloadFile.cs + +rem https://github.com/FREEWING-JP/CSharp_UnZip +echo C# UnZip .Net 4.5 +if not exist UnZip.exe DownloadFile https://github.com/FREEWING-JP/CSharp_UnZip/releases/download/v0.0/UnZip.exe UnZip.exe + +rem https://github.com/FREEWING-JP/Build-Fritzing-1.0.0-Windows-script +echo Build Fritzing 1.0.0 Windows script +if not exist main.zip DownloadFile https://github.com/FREEWING-JP/Build-Fritzing-1.0.0-Windows-script/archive/refs/heads/main.zip main.zip + +UnZip.exe main.zip . + +move Build-Fritzing-1.0.0-Windows-script-main\*.* .\ +rmdir Build-Fritzing-1.0.0-Windows-script-main + +rem Update directories_config.bat if it already exists +if not exist directories_config.bat ( + rem Create the configuration file + echo @echo off> directories_config.bat + echo rem directories_config.bat>> directories_config.bat + echo rem Configuration file for directory paths used in Fritzing build scripts>> directories_config.bat + echo rem This file is meant to be persistent and can be edited manually>> directories_config.bat + echo.>> directories_config.bat + echo rem Qt installation directory>> directories_config.bat + echo set QT_INSTALL_DIR=%QT_INSTALL_DIR%>> directories_config.bat + echo.>> directories_config.bat + echo rem Fritzing workspace directory>> directories_config.bat + echo set FRITZING_WORKSPACE_DIR=%FRITZING_WORKSPACE_DIR%>> directories_config.bat + echo.>> directories_config.bat + echo rem Visual Studio installation directory>> directories_config.bat + echo set VS_INSTALL_DIR=%VS_INSTALL_DIR%>> directories_config.bat + echo.>> directories_config.bat + echo rem Created by 00_Download_Script.bat>> directories_config.bat +) diff --git a/00_Download_Script.bat.bak b/00_Download_Script.bat.bak new file mode 100644 index 0000000..6e533ef --- /dev/null +++ b/00_Download_Script.bat.bak @@ -0,0 +1,89 @@ +@echo off +rem 00_Download_Script.bat +rem http://www.neko.ne.jp/~freewing/software/build_fritzing_100_windows/ +rem Copyright (c) 2023 FREE WING,Y.Sakamoto +echo %0 +@echo off + +rem Load configuration from directories_config.bat if it exists +rem Otherwise, use default values +if exist directories_config.bat ( + echo Loading configuration from directories_config.bat + call directories_config.bat +) else ( + echo directories_config.bat not found, creating with default values + rem Configure Qt installation directory (default is C:\Qt) + if "%QT_INSTALL_DIR%" == "" set QT_INSTALL_DIR=C:\Qt + + rem Configure Fritzing workspace directory (default is \00_fritzing) + if "%FRITZING_WORKSPACE_DIR%" == "" set FRITZING_WORKSPACE_DIR=\00_fritzing + + rem Configure Visual Studio installation directory + if "%VS_INSTALL_DIR%" == "" set VS_INSTALL_DIR=C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools + + rem Create the configuration file + echo @echo off> directories_config.bat + echo rem directories_config.bat>> directories_config.bat + echo rem Configuration file for directory paths used in Fritzing build scripts>> directories_config.bat + echo rem This file is meant to be persistent and can be edited manually>> directories_config.bat + echo.>> directories_config.bat + echo rem Qt installation directory>> directories_config.bat + echo set QT_INSTALL_DIR=%QT_INSTALL_DIR%>> directories_config.bat + echo.>> directories_config.bat + echo rem Fritzing workspace directory>> directories_config.bat + echo set FRITZING_WORKSPACE_DIR=%FRITZING_WORKSPACE_DIR%>> directories_config.bat + echo.>> directories_config.bat + echo rem Visual Studio installation directory>> directories_config.bat + echo set VS_INSTALL_DIR=%VS_INSTALL_DIR%>> directories_config.bat +) + +echo Using Qt installation directory: %QT_INSTALL_DIR% +echo Using Fritzing workspace directory: %FRITZING_WORKSPACE_DIR% +echo Using Visual Studio directory: %VS_INSTALL_DIR% + +cd \ +mkdir %FRITZING_WORKSPACE_DIR% +cd /d %FRITZING_WORKSPACE_DIR% + +rem https://github.com/FREEWING-JP/CSharp_DownloadFile +rem echo C# DownloadFile from URL +rem bitsadmin /TRANSFER hoge https://github.com/FREEWING-JP/CSharp_DownloadFile/releases/download/v0.0/DownloadFile.exe %cd%\DownloadFile.exe + +echo C# DownloadFile source code from URL +bitsadmin /TRANSFER hoge https://raw.githubusercontent.com/FREEWING-JP/CSharp_DownloadFile/main/DownloadFile.cs %cd%\DownloadFile.cs + +echo Build DownloadFile.exe +C:\Windows\Microsoft.NET\Framework\v4.0.30319\csc DownloadFile.cs + +rem https://github.com/FREEWING-JP/CSharp_UnZip +echo C# UnZip .Net 4.5 +if not exist UnZip.exe DownloadFile https://github.com/FREEWING-JP/CSharp_UnZip/releases/download/v0.0/UnZip.exe UnZip.exe + +rem https://github.com/FREEWING-JP/Build-Fritzing-1.0.0-Windows-script +echo Build Fritzing 1.0.0 Windows script +if not exist main.zip DownloadFile https://github.com/FREEWING-JP/Build-Fritzing-1.0.0-Windows-script/archive/refs/heads/main.zip main.zip + +UnZip.exe main.zip . + +move Build-Fritzing-1.0.0-Windows-script-main\*.* .\ +rmdir Build-Fritzing-1.0.0-Windows-script-main + +rem Update directories_config.bat if it already exists +if not exist directories_config.bat ( + rem Create the configuration file + echo @echo off> directories_config.bat + echo rem directories_config.bat>> directories_config.bat + echo rem Configuration file for directory paths used in Fritzing build scripts>> directories_config.bat + echo rem This file is meant to be persistent and can be edited manually>> directories_config.bat + echo.>> directories_config.bat + echo rem Qt installation directory>> directories_config.bat + echo set QT_INSTALL_DIR=%QT_INSTALL_DIR%>> directories_config.bat + echo.>> directories_config.bat + echo rem Fritzing workspace directory>> directories_config.bat + echo set FRITZING_WORKSPACE_DIR=%FRITZING_WORKSPACE_DIR%>> directories_config.bat + echo.>> directories_config.bat + echo rem Visual Studio installation directory>> directories_config.bat + echo set VS_INSTALL_DIR=%VS_INSTALL_DIR%>> directories_config.bat + echo.>> directories_config.bat + echo rem Created by 00_Download_Script.bat>> directories_config.bat +) diff --git a/00_Execute_Script.bat b/00_Execute_Script.bat index 1a74ccd..1ac8e28 100644 --- a/00_Execute_Script.bat +++ b/00_Execute_Script.bat @@ -1,69 +1,69 @@ -@echo off -rem 00_Execute_Script.bat -rem http://www.neko.ne.jp/~freewing/software/build_fritzing_100_windows/ -rem Copyright (c) 2023 FREE WING,Y.Sakamoto -echo %0 -rem Load configuration -if exist directories_config.bat call directories_config.bat - -cd /d %FRITZING_WORKSPACE_DIR% - -start /wait 02_Download_Requirement_Files.bat -start /wait 03_Install_Qt_653.bat -start /wait 04_Install_Visual_Studio_Build_Tools_2019.bat -start /wait 05_Extract_Requirement_Files.bat -start /wait 06_Download_from_Git.bat -start /wait 07_Build_Library.bat -start /wait 08_Fix_Library_place_Fritzing.bat -@echo off -rem 00_Execute_Script.bat -rem http://www.neko.ne.jp/~freewing/software/build_fritzing_100_windows/ -rem Copyright (c) 2023 FREE WING,Y.Sakamoto -echo %0 -rem Load configuration -if exist directories_config.bat call directories_config.bat - -cd /d %FRITZING_WORKSPACE_DIR% - -start /wait 02_Download_Requirement_Files.bat -start /wait 03_Install_Qt_653.bat -start /wait 04_Install_Visual_Studio_Build_Tools_2019.bat -start /wait 05_Extract_Requirement_Files.bat -start /wait 06_Download_from_Git.bat -start /wait 07_Build_Library.bat -start /wait 08_Fix_Library_place_Fritzing.bat - -start /wait 09_Download_Fritzing_Source_code.bat -start /wait 10_Download_Fritzing_Parts_Library.bat -start /wait 11_Fix_Fritzing_Source_code.bat -start /wait 12_Fix_Fritzing_Header_files.bat - -start /wait 13_Build_phoenix_pro_with_Qt.bat -start /wait 15_Copy_Fritzing_Requirement_DLL_files.bat -start /wait 16_Copy_Qt_Requirement_DLL_files.bat - -start /wait 17_1st_Build_Parts_DB_file.bat -start /wait 18_2nd_Launch_Fritzing.bat - -start /wait 19_Organize_unnecessary_files.bat -start /wait 20_Create_Fritzing_zip_package.bat - -exit - - -start /wait 09_Download_Fritzing_Source_code.bat -start /wait 10_Download_Fritzing_Parts_Library.bat -start /wait 11_Fix_Fritzing_Source_code.bat -start /wait 12_Fix_Fritzing_Header_files.bat - -start /wait 13_Build_phoenix_pro_with_Qt.bat -start /wait 15_Copy_Fritzing_Requirement_DLL_files.bat -start /wait 16_Copy_Qt_Requirement_DLL_files.bat - -start /wait 17_1st_Build_Parts_DB_file.bat -start /wait 18_2nd_Launch_Fritzing.bat - -start /wait 19_Organize_unnecessary_files.bat -start /wait 20_Create_Fritzing_zip_package.bat - +@echo off +rem 00_Execute_Script.bat +rem http://www.neko.ne.jp/~freewing/software/build_fritzing_100_windows/ +rem Copyright (c) 2023 FREE WING,Y.Sakamoto +echo %0 +rem Load configuration +if exist directories_config.bat call directories_config.bat + +cd /d %FRITZING_WORKSPACE_DIR% + +start /wait 02_Download_Requirement_Files.bat +start /wait 03_Install_Qt_653.bat +start /wait 04_Install_Visual_Studio_Build_Tools_2019.bat +start /wait 05_Extract_Requirement_Files.bat +start /wait 06_Download_from_Git.bat +start /wait 07_Build_Library.bat +start /wait 08_Fix_Library_place_Fritzing.bat +@echo off +rem 00_Execute_Script.bat +rem http://www.neko.ne.jp/~freewing/software/build_fritzing_100_windows/ +rem Copyright (c) 2023 FREE WING,Y.Sakamoto +echo %0 +rem Load configuration +if exist directories_config.bat call directories_config.bat + +cd /d %FRITZING_WORKSPACE_DIR% + +start /wait 02_Download_Requirement_Files.bat +start /wait 03_Install_Qt_653.bat +start /wait 04_Install_Visual_Studio_Build_Tools_2019.bat +start /wait 05_Extract_Requirement_Files.bat +start /wait 06_Download_from_Git.bat +start /wait 07_Build_Library.bat +start /wait 08_Fix_Library_place_Fritzing.bat + +start /wait 09_Download_Fritzing_Source_code.bat +start /wait 10_Download_Fritzing_Parts_Library.bat +start /wait 11_Fix_Fritzing_Source_code.bat +start /wait 12_Fix_Fritzing_Header_files.bat + +start /wait 13_Build_phoenix_pro_with_Qt.bat +start /wait 15_Copy_Fritzing_Requirement_DLL_files.bat +start /wait 16_Copy_Qt_Requirement_DLL_files.bat + +start /wait 17_1st_Build_Parts_DB_file.bat +start /wait 18_2nd_Launch_Fritzing.bat + +start /wait 19_Organize_unnecessary_files.bat +start /wait 20_Create_Fritzing_zip_package.bat + +exit + + +start /wait 09_Download_Fritzing_Source_code.bat +start /wait 10_Download_Fritzing_Parts_Library.bat +start /wait 11_Fix_Fritzing_Source_code.bat +start /wait 12_Fix_Fritzing_Header_files.bat + +start /wait 13_Build_phoenix_pro_with_Qt.bat +start /wait 15_Copy_Fritzing_Requirement_DLL_files.bat +start /wait 16_Copy_Qt_Requirement_DLL_files.bat + +start /wait 17_1st_Build_Parts_DB_file.bat +start /wait 18_2nd_Launch_Fritzing.bat + +start /wait 19_Organize_unnecessary_files.bat +start /wait 20_Create_Fritzing_zip_package.bat + exit \ No newline at end of file diff --git a/00_Execute_Script.bat.bak b/00_Execute_Script.bat.bak new file mode 100644 index 0000000..1ac8e28 --- /dev/null +++ b/00_Execute_Script.bat.bak @@ -0,0 +1,69 @@ +@echo off +rem 00_Execute_Script.bat +rem http://www.neko.ne.jp/~freewing/software/build_fritzing_100_windows/ +rem Copyright (c) 2023 FREE WING,Y.Sakamoto +echo %0 +rem Load configuration +if exist directories_config.bat call directories_config.bat + +cd /d %FRITZING_WORKSPACE_DIR% + +start /wait 02_Download_Requirement_Files.bat +start /wait 03_Install_Qt_653.bat +start /wait 04_Install_Visual_Studio_Build_Tools_2019.bat +start /wait 05_Extract_Requirement_Files.bat +start /wait 06_Download_from_Git.bat +start /wait 07_Build_Library.bat +start /wait 08_Fix_Library_place_Fritzing.bat +@echo off +rem 00_Execute_Script.bat +rem http://www.neko.ne.jp/~freewing/software/build_fritzing_100_windows/ +rem Copyright (c) 2023 FREE WING,Y.Sakamoto +echo %0 +rem Load configuration +if exist directories_config.bat call directories_config.bat + +cd /d %FRITZING_WORKSPACE_DIR% + +start /wait 02_Download_Requirement_Files.bat +start /wait 03_Install_Qt_653.bat +start /wait 04_Install_Visual_Studio_Build_Tools_2019.bat +start /wait 05_Extract_Requirement_Files.bat +start /wait 06_Download_from_Git.bat +start /wait 07_Build_Library.bat +start /wait 08_Fix_Library_place_Fritzing.bat + +start /wait 09_Download_Fritzing_Source_code.bat +start /wait 10_Download_Fritzing_Parts_Library.bat +start /wait 11_Fix_Fritzing_Source_code.bat +start /wait 12_Fix_Fritzing_Header_files.bat + +start /wait 13_Build_phoenix_pro_with_Qt.bat +start /wait 15_Copy_Fritzing_Requirement_DLL_files.bat +start /wait 16_Copy_Qt_Requirement_DLL_files.bat + +start /wait 17_1st_Build_Parts_DB_file.bat +start /wait 18_2nd_Launch_Fritzing.bat + +start /wait 19_Organize_unnecessary_files.bat +start /wait 20_Create_Fritzing_zip_package.bat + +exit + + +start /wait 09_Download_Fritzing_Source_code.bat +start /wait 10_Download_Fritzing_Parts_Library.bat +start /wait 11_Fix_Fritzing_Source_code.bat +start /wait 12_Fix_Fritzing_Header_files.bat + +start /wait 13_Build_phoenix_pro_with_Qt.bat +start /wait 15_Copy_Fritzing_Requirement_DLL_files.bat +start /wait 16_Copy_Qt_Requirement_DLL_files.bat + +start /wait 17_1st_Build_Parts_DB_file.bat +start /wait 18_2nd_Launch_Fritzing.bat + +start /wait 19_Organize_unnecessary_files.bat +start /wait 20_Create_Fritzing_zip_package.bat + +exit \ No newline at end of file diff --git a/01_Create_Build_directory.bat b/01_Create_Build_directory.bat index 8d9b79f..e6c80c5 100644 --- a/01_Create_Build_directory.bat +++ b/01_Create_Build_directory.bat @@ -1,12 +1,12 @@ -@echo off -rem 01_Create_Build_directory.bat -rem http://www.neko.ne.jp/~freewing/software/build_fritzing_100_windows/ -rem Copyright (c) 2023 FREE WING,Y.Sakamoto -echo %0 -rem Configure Fritzing workspace directory (default is \00_fritzing) -if "%FRITZING_WORKSPACE_DIR%" == "" set FRITZING_WORKSPACE_DIR=\00_fritzing -echo Using Fritzing workspace directory: %FRITZING_WORKSPACE_DIR% - -cd \ -mkdir %FRITZING_WORKSPACE_DIR% +@echo off +rem 01_Create_Build_directory.bat +rem http://www.neko.ne.jp/~freewing/software/build_fritzing_100_windows/ +rem Copyright (c) 2023 FREE WING,Y.Sakamoto +echo %0 +rem Configure Fritzing workspace directory (default is \00_fritzing) +if "%FRITZING_WORKSPACE_DIR%" == "" set FRITZING_WORKSPACE_DIR=\00_fritzing +echo Using Fritzing workspace directory: %FRITZING_WORKSPACE_DIR% + +cd \ +mkdir %FRITZING_WORKSPACE_DIR% cd /d %FRITZING_WORKSPACE_DIR% \ No newline at end of file diff --git a/01_Create_Build_directory.bat.bak b/01_Create_Build_directory.bat.bak new file mode 100644 index 0000000..e6c80c5 --- /dev/null +++ b/01_Create_Build_directory.bat.bak @@ -0,0 +1,12 @@ +@echo off +rem 01_Create_Build_directory.bat +rem http://www.neko.ne.jp/~freewing/software/build_fritzing_100_windows/ +rem Copyright (c) 2023 FREE WING,Y.Sakamoto +echo %0 +rem Configure Fritzing workspace directory (default is \00_fritzing) +if "%FRITZING_WORKSPACE_DIR%" == "" set FRITZING_WORKSPACE_DIR=\00_fritzing +echo Using Fritzing workspace directory: %FRITZING_WORKSPACE_DIR% + +cd \ +mkdir %FRITZING_WORKSPACE_DIR% +cd /d %FRITZING_WORKSPACE_DIR% \ No newline at end of file diff --git a/02_Download_Requirement_Files.bat b/02_Download_Requirement_Files.bat index 46474c3..1c877ff 100644 --- a/02_Download_Requirement_Files.bat +++ b/02_Download_Requirement_Files.bat @@ -1,88 +1,88 @@ -@echo off -rem 02_Download_Requirement_Files.bat -rem http://www.neko.ne.jp/~freewing/software/build_fritzing_100_windows/ -rem Copyright (c) 2023-2024 FREE WING,Y.Sakamoto -echo %0 -timeout /T 10 /NOBREAK -rem Load configuration -if exist directories_config.bat call directories_config.bat - -cd /d %FRITZING_WORKSPACE_DIR% - -rem https://git-scm.com/download/win -echo Git - Downloading Package Download for Windows -if not exist PortableGit-2.42.0.2-64-bit.7z.exe DownloadFile https://github.com/git-for-windows/git/releases/download/v2.42.0.windows.2/PortableGit-2.42.0.2-64-bit.7z.exe PortableGit-2.42.0.2-64-bit.7z.exe - -rem https://www.7-zip.org/ -echo 7-Zip -rem if not exist 7z2301-x64.exe DownloadFile https://www.7-zip.org/a/7z2301-x64.exe 7z2301-x64.exe -if not exist 7zr.exe DownloadFile https://7-zip.org/a/7zr.exe 7zr.exe - -rem https://learn.microsoft.com/ja-jp/visualstudio/install/build-tools-container?view=vs-2019 -rem Build Tools -echo Visual Studio Build Tools 2019 -if not exist vs_BuildTools_2019.exe DownloadFile https://aka.ms/vs/16/release/vs_BuildTools.exe vs_BuildTools_2019.exe - -rem Visual Studio Build Tools 2022 -rem DownloadFile https://aka.ms/vs/17/release/vs_BuildTools.exe vs_BuildTools_2022.exe - -rem https://www.qt.io/download-qt-installer-oss -echo Qt Qt6 -if not exist qt-unified-windows-x64-4.6.1-online.exe DownloadFile https://d13lb3tujbc8s0.cloudfront.net/onlineinstallers/qt-unified-windows-x64-4.6.1-online.exe qt-unified-windows-x64-4.6.1-online.exe - -rem https://www.boost.org/users/history/version_1_85_0.html -echo Boost Version 1.85.0 -rem April 15th, 2024 17:38 GMT -if not exist boost_1_85_0.zip DownloadFile https://archives.boost.io/release/1.85.0/source/boost_1_85_0.zip boost_1_85_0.zip - -if not exist boost_1_85_0.zip DownloadFile https://sourceforge.net/projects/boost/files/boost/1.85.0/boost_1_85_0.zip boost_1_85_0.zip - -echo Check file hash for validate -certutil -hashfile .\boost_1_85_0.zip SHA256 | findstr e712fe7eb1b9ec37ac25102525412fb4d74e638996443944025791f48f29408a -if not "%ERRORLEVEL%" == "0" goto failed - -rem https://www.zlib.net/ -rem zlib Home Site -echo zlib most recent release -if not exist zlib.tar.gz DownloadFile https://www.zlib.net/current/zlib.tar.gz zlib.tar.gz - -rem https://sourceforge.net/projects/ngspice/files/ng-spice-rework/42/ -echo ngspice-42 ngspice Files -if not exist ngspice-42.tar.gz DownloadFile https://jaist.dl.sourceforge.net/project/ngspice/ng-spice-rework/old-releases/42/ngspice-42.tar.gz ngspice-42.tar.gz - -if not exist ngspice-42_dll_64.7z DownloadFile https://master.dl.sourceforge.net/project/ngspice/ng-spice-rework/old-releases/42/ngspice-42_dll_64.7z ngspice-42_dll_64.7z - -rem for Fritzing 1.0.2 -rem https://kb.firedaemon.com/support/solutions/articles/4000121705 -rem OpenSSL 3.0.12 -echo OpenSSL 3.0.12 -if not exist openssl-3.0.12.zip DownloadFile https://download.firedaemon.com/FireDaemon-OpenSSL/openssl-3.0.12.zip openssl-3.0.12.zip - -rem https://ports.macports.org/port/polyclipping/ -rem polyclipping v6.4.2 -echo polyclipping v6.4.2 -if not exist clipper_ver6.4.2.zip DownloadFile https://jaist.dl.sourceforge.net/project/polyclipping/clipper_ver6.4.2.zip clipper_ver6.4.2.zip - -rem check download files -if not exist PortableGit-2.42.0.2-64-bit.7z.exe goto failed -if not exist 7zr.exe goto failed -if not exist vs_BuildTools_2019.exe goto failed -if not exist qt-unified-windows-x64-4.6.1-online.exe goto failed -if not exist boost_1_85_0.zip goto failed -if not exist zlib.tar.gz goto failed -if not exist ngspice-42.tar.gz goto failed -if not exist ngspice-42_dll_64.7z goto failed -rem for Fritzing 1.0.2 -if not exist openssl-3.0.12.zip goto failed -if not exist clipper_ver6.4.2.zip goto failed - -exit - -:failed -@echo off -echo . -echo === -echo Download Error -echo === -rundll32 user32.dll,MessageBeep +@echo off +rem 02_Download_Requirement_Files.bat +rem http://www.neko.ne.jp/~freewing/software/build_fritzing_100_windows/ +rem Copyright (c) 2023-2024 FREE WING,Y.Sakamoto +echo %0 +timeout /T 10 /NOBREAK +rem Load configuration +if exist directories_config.bat call directories_config.bat + +cd /d %FRITZING_WORKSPACE_DIR% + +rem https://git-scm.com/download/win +echo Git - Downloading Package Download for Windows +if not exist PortableGit-2.42.0.2-64-bit.7z.exe DownloadFile https://github.com/git-for-windows/git/releases/download/v2.42.0.windows.2/PortableGit-2.42.0.2-64-bit.7z.exe PortableGit-2.42.0.2-64-bit.7z.exe + +rem https://www.7-zip.org/ +echo 7-Zip +rem if not exist 7z2301-x64.exe DownloadFile https://www.7-zip.org/a/7z2301-x64.exe 7z2301-x64.exe +if not exist 7zr.exe DownloadFile https://7-zip.org/a/7zr.exe 7zr.exe + +rem https://learn.microsoft.com/ja-jp/visualstudio/install/build-tools-container?view=vs-2019 +rem Build Tools +echo Visual Studio Build Tools 2019 +if not exist vs_BuildTools_2019.exe DownloadFile https://aka.ms/vs/16/release/vs_BuildTools.exe vs_BuildTools_2019.exe + +rem Visual Studio Build Tools 2022 +rem DownloadFile https://aka.ms/vs/17/release/vs_BuildTools.exe vs_BuildTools_2022.exe + +rem https://www.qt.io/download-qt-installer-oss +echo Qt Qt6 +if not exist qt-unified-windows-x64-4.6.1-online.exe DownloadFile https://d13lb3tujbc8s0.cloudfront.net/onlineinstallers/qt-unified-windows-x64-4.6.1-online.exe qt-unified-windows-x64-4.6.1-online.exe + +rem https://www.boost.org/users/history/version_1_85_0.html +echo Boost Version 1.85.0 +rem April 15th, 2024 17:38 GMT +if not exist boost_1_85_0.zip DownloadFile https://archives.boost.io/release/1.85.0/source/boost_1_85_0.zip boost_1_85_0.zip + +if not exist boost_1_85_0.zip DownloadFile https://sourceforge.net/projects/boost/files/boost/1.85.0/boost_1_85_0.zip boost_1_85_0.zip + +echo Check file hash for validate +certutil -hashfile .\boost_1_85_0.zip SHA256 | findstr e712fe7eb1b9ec37ac25102525412fb4d74e638996443944025791f48f29408a +if not "%ERRORLEVEL%" == "0" goto failed + +rem https://www.zlib.net/ +rem zlib Home Site +echo zlib most recent release +if not exist zlib.tar.gz DownloadFile https://www.zlib.net/current/zlib.tar.gz zlib.tar.gz + +rem https://sourceforge.net/projects/ngspice/files/ng-spice-rework/42/ +echo ngspice-42 ngspice Files +if not exist ngspice-42.tar.gz DownloadFile https://jaist.dl.sourceforge.net/project/ngspice/ng-spice-rework/old-releases/42/ngspice-42.tar.gz ngspice-42.tar.gz + +if not exist ngspice-42_dll_64.7z DownloadFile https://master.dl.sourceforge.net/project/ngspice/ng-spice-rework/old-releases/42/ngspice-42_dll_64.7z ngspice-42_dll_64.7z + +rem for Fritzing 1.0.2 +rem https://kb.firedaemon.com/support/solutions/articles/4000121705 +rem OpenSSL 3.0.12 +echo OpenSSL 3.0.12 +if not exist openssl-3.0.12.zip DownloadFile https://download.firedaemon.com/FireDaemon-OpenSSL/openssl-3.0.12.zip openssl-3.0.12.zip + +rem https://ports.macports.org/port/polyclipping/ +rem polyclipping v6.4.2 +echo polyclipping v6.4.2 +if not exist clipper_ver6.4.2.zip DownloadFile https://jaist.dl.sourceforge.net/project/polyclipping/clipper_ver6.4.2.zip clipper_ver6.4.2.zip + +rem check download files +if not exist PortableGit-2.42.0.2-64-bit.7z.exe goto failed +if not exist 7zr.exe goto failed +if not exist vs_BuildTools_2019.exe goto failed +if not exist qt-unified-windows-x64-4.6.1-online.exe goto failed +if not exist boost_1_85_0.zip goto failed +if not exist zlib.tar.gz goto failed +if not exist ngspice-42.tar.gz goto failed +if not exist ngspice-42_dll_64.7z goto failed +rem for Fritzing 1.0.2 +if not exist openssl-3.0.12.zip goto failed +if not exist clipper_ver6.4.2.zip goto failed + +exit + +:failed +@echo off +echo . +echo === +echo Download Error +echo === +rundll32 user32.dll,MessageBeep pause \ No newline at end of file diff --git a/02_Download_Requirement_Files.bat.bak b/02_Download_Requirement_Files.bat.bak new file mode 100644 index 0000000..1c877ff --- /dev/null +++ b/02_Download_Requirement_Files.bat.bak @@ -0,0 +1,88 @@ +@echo off +rem 02_Download_Requirement_Files.bat +rem http://www.neko.ne.jp/~freewing/software/build_fritzing_100_windows/ +rem Copyright (c) 2023-2024 FREE WING,Y.Sakamoto +echo %0 +timeout /T 10 /NOBREAK +rem Load configuration +if exist directories_config.bat call directories_config.bat + +cd /d %FRITZING_WORKSPACE_DIR% + +rem https://git-scm.com/download/win +echo Git - Downloading Package Download for Windows +if not exist PortableGit-2.42.0.2-64-bit.7z.exe DownloadFile https://github.com/git-for-windows/git/releases/download/v2.42.0.windows.2/PortableGit-2.42.0.2-64-bit.7z.exe PortableGit-2.42.0.2-64-bit.7z.exe + +rem https://www.7-zip.org/ +echo 7-Zip +rem if not exist 7z2301-x64.exe DownloadFile https://www.7-zip.org/a/7z2301-x64.exe 7z2301-x64.exe +if not exist 7zr.exe DownloadFile https://7-zip.org/a/7zr.exe 7zr.exe + +rem https://learn.microsoft.com/ja-jp/visualstudio/install/build-tools-container?view=vs-2019 +rem Build Tools +echo Visual Studio Build Tools 2019 +if not exist vs_BuildTools_2019.exe DownloadFile https://aka.ms/vs/16/release/vs_BuildTools.exe vs_BuildTools_2019.exe + +rem Visual Studio Build Tools 2022 +rem DownloadFile https://aka.ms/vs/17/release/vs_BuildTools.exe vs_BuildTools_2022.exe + +rem https://www.qt.io/download-qt-installer-oss +echo Qt Qt6 +if not exist qt-unified-windows-x64-4.6.1-online.exe DownloadFile https://d13lb3tujbc8s0.cloudfront.net/onlineinstallers/qt-unified-windows-x64-4.6.1-online.exe qt-unified-windows-x64-4.6.1-online.exe + +rem https://www.boost.org/users/history/version_1_85_0.html +echo Boost Version 1.85.0 +rem April 15th, 2024 17:38 GMT +if not exist boost_1_85_0.zip DownloadFile https://archives.boost.io/release/1.85.0/source/boost_1_85_0.zip boost_1_85_0.zip + +if not exist boost_1_85_0.zip DownloadFile https://sourceforge.net/projects/boost/files/boost/1.85.0/boost_1_85_0.zip boost_1_85_0.zip + +echo Check file hash for validate +certutil -hashfile .\boost_1_85_0.zip SHA256 | findstr e712fe7eb1b9ec37ac25102525412fb4d74e638996443944025791f48f29408a +if not "%ERRORLEVEL%" == "0" goto failed + +rem https://www.zlib.net/ +rem zlib Home Site +echo zlib most recent release +if not exist zlib.tar.gz DownloadFile https://www.zlib.net/current/zlib.tar.gz zlib.tar.gz + +rem https://sourceforge.net/projects/ngspice/files/ng-spice-rework/42/ +echo ngspice-42 ngspice Files +if not exist ngspice-42.tar.gz DownloadFile https://jaist.dl.sourceforge.net/project/ngspice/ng-spice-rework/old-releases/42/ngspice-42.tar.gz ngspice-42.tar.gz + +if not exist ngspice-42_dll_64.7z DownloadFile https://master.dl.sourceforge.net/project/ngspice/ng-spice-rework/old-releases/42/ngspice-42_dll_64.7z ngspice-42_dll_64.7z + +rem for Fritzing 1.0.2 +rem https://kb.firedaemon.com/support/solutions/articles/4000121705 +rem OpenSSL 3.0.12 +echo OpenSSL 3.0.12 +if not exist openssl-3.0.12.zip DownloadFile https://download.firedaemon.com/FireDaemon-OpenSSL/openssl-3.0.12.zip openssl-3.0.12.zip + +rem https://ports.macports.org/port/polyclipping/ +rem polyclipping v6.4.2 +echo polyclipping v6.4.2 +if not exist clipper_ver6.4.2.zip DownloadFile https://jaist.dl.sourceforge.net/project/polyclipping/clipper_ver6.4.2.zip clipper_ver6.4.2.zip + +rem check download files +if not exist PortableGit-2.42.0.2-64-bit.7z.exe goto failed +if not exist 7zr.exe goto failed +if not exist vs_BuildTools_2019.exe goto failed +if not exist qt-unified-windows-x64-4.6.1-online.exe goto failed +if not exist boost_1_85_0.zip goto failed +if not exist zlib.tar.gz goto failed +if not exist ngspice-42.tar.gz goto failed +if not exist ngspice-42_dll_64.7z goto failed +rem for Fritzing 1.0.2 +if not exist openssl-3.0.12.zip goto failed +if not exist clipper_ver6.4.2.zip goto failed + +exit + +:failed +@echo off +echo . +echo === +echo Download Error +echo === +rundll32 user32.dll,MessageBeep +pause \ No newline at end of file diff --git a/03_Install_Qt_653.bat b/03_Install_Qt_653.bat index 3cecb4d..7009417 100644 --- a/03_Install_Qt_653.bat +++ b/03_Install_Qt_653.bat @@ -1,100 +1,100 @@ -@echo off -rem 03_Install_Qt_653.bat -rem http://www.neko.ne.jp/~freewing/software/build_fritzing_100_windows/ -rem Copyright (c) 2023 FREE WING,Y.Sakamoto -echo %0 -timeout /T 10 /NOBREAK -@echo off -cd /d \00_fritzing - -rem Load Qt directory configuration -if exist directories_config.bat call directories_config.bat - -if exist "%QT_INSTALL_DIR%\6.5.3\msvc2019_64" exit - - -echo . -echo === -echo MUST Require Qt Account -echo . -echo https://login.qt.io/register -echo === -echo Input Qt Account -rem Beep -rundll32 user32.dll,MessageBeep -if "%Qt_email%" == "" set /p Qt_email=Qt Account your_email ? -if "%Qt_passw%" == "" set /p Qt_passw=Qt Account your_password ? - -cls - -echo Check Admin Plivilege -whoami /groups | find "S-1-16-12288" > nul -if %ErrorLevel% == 0 goto is_admin - -echo . -echo . -echo . -echo === -echo User Account Control -echo === -echo Select Yes -rem Beep -rundll32 user32.dll,MessageBeep -pause - - -:is_admin - -if "%Qt_agree%" == "" goto manual_accept - -start SendKeys_Accept.vbs -goto auto_accept - - -:manual_accept -echo . -echo . -echo . -echo === -echo (Lesser) GNU General Public License v3 obligations: -echo Accept or Reject -echo === -rem Beep -rundll32 user32.dll,MessageBeep -pause - - -:auto_accept - -echo cd /d %cd%>qt_inst.bat -echo qt-unified-windows-x64-4.6.1-online.exe --root %QT_INSTALL_DIR% ^^>>qt_inst.bat -echo --email %Qt_email% ^^>>qt_inst.bat -echo --pw %Qt_passw% ^^>>qt_inst.bat -echo --accept-licenses ^^>>qt_inst.bat -echo --accept-messages ^^>>qt_inst.bat -echo --confirm-command ^^>>qt_inst.bat -echo --auto-answer telemetry-question=No ^^>>qt_inst.bat -echo install qt.qt6.653.win64_msvc2019_64 ^^>>qt_inst.bat -echo install qt.qt6.653.addons ^^>>qt_inst.bat -echo install qt.qt6.653.qt5compat>>qt_inst.bat - -@echo on - -start /wait powershell "Start-Process -FilePath 'qt_inst.bat' -WorkingDirectory '%cd%' -Verb RunAs -Wait" - -if exist %QT_INSTALL_DIR%\Tools\QtCreator\bin\jom\jom.exe goto end - -echo QtCreator jom.exe -cd /d \00_fritzing -if not exist jom_1_1_4.zip DownloadFile https://download.qt.io/official_releases/jom/jom_1_1_4.zip jom_1_1_4.zip - -rem Create jom directory if it doesn't exist -if not exist %QT_INSTALL_DIR%\Tools\QtCreator\bin\jom mkdir %QT_INSTALL_DIR%\Tools\QtCreator\bin\jom -UnZip.exe jom_1_1_4.zip %QT_INSTALL_DIR%\Tools\QtCreator\bin\jom\ - -:end -exit - - -rem include QtCreator +@echo off +rem 03_Install_Qt_653.bat +rem http://www.neko.ne.jp/~freewing/software/build_fritzing_100_windows/ +rem Copyright (c) 2023 FREE WING,Y.Sakamoto +echo %0 +timeout /T 10 /NOBREAK +@echo off +cd /d \00_fritzing + +rem Load Qt directory configuration +if exist directories_config.bat call directories_config.bat + +if exist "%QT_INSTALL_DIR%\6.5.3\msvc2019_64" exit + + +echo . +echo === +echo MUST Require Qt Account +echo . +echo https://login.qt.io/register +echo === +echo Input Qt Account +rem Beep +rundll32 user32.dll,MessageBeep +if "%Qt_email%" == "" set /p Qt_email=Qt Account your_email ? +if "%Qt_passw%" == "" set /p Qt_passw=Qt Account your_password ? + +cls + +echo Check Admin Plivilege +whoami /groups | find "S-1-16-12288" > nul +if %ErrorLevel% == 0 goto is_admin + +echo . +echo . +echo . +echo === +echo User Account Control +echo === +echo Select Yes +rem Beep +rundll32 user32.dll,MessageBeep +pause + + +:is_admin + +if "%Qt_agree%" == "" goto manual_accept + +start SendKeys_Accept.vbs +goto auto_accept + + +:manual_accept +echo . +echo . +echo . +echo === +echo (Lesser) GNU General Public License v3 obligations: +echo Accept or Reject +echo === +rem Beep +rundll32 user32.dll,MessageBeep +pause + + +:auto_accept + +echo cd /d %cd%>qt_inst.bat +echo qt-unified-windows-x64-4.6.1-online.exe --root %QT_INSTALL_DIR% ^^>>qt_inst.bat +echo --email %Qt_email% ^^>>qt_inst.bat +echo --pw %Qt_passw% ^^>>qt_inst.bat +echo --accept-licenses ^^>>qt_inst.bat +echo --accept-messages ^^>>qt_inst.bat +echo --confirm-command ^^>>qt_inst.bat +echo --auto-answer telemetry-question=No ^^>>qt_inst.bat +echo install qt.qt6.653.win64_msvc2019_64 ^^>>qt_inst.bat +echo install qt.qt6.653.addons ^^>>qt_inst.bat +echo install qt.qt6.653.qt5compat>>qt_inst.bat + +@echo on + +start /wait powershell "Start-Process -FilePath 'qt_inst.bat' -WorkingDirectory '%cd%' -Verb RunAs -Wait" + +if exist %QT_INSTALL_DIR%\Tools\QtCreator\bin\jom\jom.exe goto end + +echo QtCreator jom.exe +cd /d \00_fritzing +if not exist jom_1_1_4.zip DownloadFile https://download.qt.io/official_releases/jom/jom_1_1_4.zip jom_1_1_4.zip + +rem Create jom directory if it doesn't exist +if not exist %QT_INSTALL_DIR%\Tools\QtCreator\bin\jom mkdir %QT_INSTALL_DIR%\Tools\QtCreator\bin\jom +UnZip.exe jom_1_1_4.zip %QT_INSTALL_DIR%\Tools\QtCreator\bin\jom\ + +:end +exit + + +rem include QtCreator echo install qt.tools.qtcreator_gui ^^>>qt_inst.bat \ No newline at end of file diff --git a/03_Install_Qt_653.bat.bak b/03_Install_Qt_653.bat.bak new file mode 100644 index 0000000..7009417 --- /dev/null +++ b/03_Install_Qt_653.bat.bak @@ -0,0 +1,100 @@ +@echo off +rem 03_Install_Qt_653.bat +rem http://www.neko.ne.jp/~freewing/software/build_fritzing_100_windows/ +rem Copyright (c) 2023 FREE WING,Y.Sakamoto +echo %0 +timeout /T 10 /NOBREAK +@echo off +cd /d \00_fritzing + +rem Load Qt directory configuration +if exist directories_config.bat call directories_config.bat + +if exist "%QT_INSTALL_DIR%\6.5.3\msvc2019_64" exit + + +echo . +echo === +echo MUST Require Qt Account +echo . +echo https://login.qt.io/register +echo === +echo Input Qt Account +rem Beep +rundll32 user32.dll,MessageBeep +if "%Qt_email%" == "" set /p Qt_email=Qt Account your_email ? +if "%Qt_passw%" == "" set /p Qt_passw=Qt Account your_password ? + +cls + +echo Check Admin Plivilege +whoami /groups | find "S-1-16-12288" > nul +if %ErrorLevel% == 0 goto is_admin + +echo . +echo . +echo . +echo === +echo User Account Control +echo === +echo Select Yes +rem Beep +rundll32 user32.dll,MessageBeep +pause + + +:is_admin + +if "%Qt_agree%" == "" goto manual_accept + +start SendKeys_Accept.vbs +goto auto_accept + + +:manual_accept +echo . +echo . +echo . +echo === +echo (Lesser) GNU General Public License v3 obligations: +echo Accept or Reject +echo === +rem Beep +rundll32 user32.dll,MessageBeep +pause + + +:auto_accept + +echo cd /d %cd%>qt_inst.bat +echo qt-unified-windows-x64-4.6.1-online.exe --root %QT_INSTALL_DIR% ^^>>qt_inst.bat +echo --email %Qt_email% ^^>>qt_inst.bat +echo --pw %Qt_passw% ^^>>qt_inst.bat +echo --accept-licenses ^^>>qt_inst.bat +echo --accept-messages ^^>>qt_inst.bat +echo --confirm-command ^^>>qt_inst.bat +echo --auto-answer telemetry-question=No ^^>>qt_inst.bat +echo install qt.qt6.653.win64_msvc2019_64 ^^>>qt_inst.bat +echo install qt.qt6.653.addons ^^>>qt_inst.bat +echo install qt.qt6.653.qt5compat>>qt_inst.bat + +@echo on + +start /wait powershell "Start-Process -FilePath 'qt_inst.bat' -WorkingDirectory '%cd%' -Verb RunAs -Wait" + +if exist %QT_INSTALL_DIR%\Tools\QtCreator\bin\jom\jom.exe goto end + +echo QtCreator jom.exe +cd /d \00_fritzing +if not exist jom_1_1_4.zip DownloadFile https://download.qt.io/official_releases/jom/jom_1_1_4.zip jom_1_1_4.zip + +rem Create jom directory if it doesn't exist +if not exist %QT_INSTALL_DIR%\Tools\QtCreator\bin\jom mkdir %QT_INSTALL_DIR%\Tools\QtCreator\bin\jom +UnZip.exe jom_1_1_4.zip %QT_INSTALL_DIR%\Tools\QtCreator\bin\jom\ + +:end +exit + + +rem include QtCreator +echo install qt.tools.qtcreator_gui ^^>>qt_inst.bat \ No newline at end of file diff --git a/04_Install_Visual_Studio_Build_Tools_2019.bat b/04_Install_Visual_Studio_Build_Tools_2019.bat index 892a21a..711e88b 100644 --- a/04_Install_Visual_Studio_Build_Tools_2019.bat +++ b/04_Install_Visual_Studio_Build_Tools_2019.bat @@ -1,58 +1,58 @@ -@echo off -rem 04_Install_Visual_Studio_Build_Tools_2019.bat -rem http://www.neko.ne.jp/~freewing/software/build_fritzing_100_windows/ -rem Copyright (c) 2023 FREE WING,Y.Sakamoto -echo %0 -timeout /T 10 /NOBREAK -rem Load configuration -if exist directories_config.bat call directories_config.bat - -cd /d %FRITZING_WORKSPACE_DIR% - -if exist "%VS_INSTALL_DIR%" exit - - -@echo off -echo Check Admin Plivilege -whoami /groups | find "S-1-16-12288" > nul -if %ErrorLevel% == 0 goto is_admin - -echo . -echo === -echo User Account Control -echo === -echo Select Yes -rem Beep -rundll32 user32.dll,MessageBeep -pause - -:is_admin - -echo { > VSBT_VS2019.vsconfig -echo "version": "1.0", >> VSBT_VS2019.vsconfig -echo "components": [ >> VSBT_VS2019.vsconfig -echo "Microsoft.VisualStudio.Component.Roslyn.Compiler", >> VSBT_VS2019.vsconfig -echo "Microsoft.Component.MSBuild", >> VSBT_VS2019.vsconfig -echo "Microsoft.VisualStudio.Component.CoreBuildTools", >> VSBT_VS2019.vsconfig -echo "Microsoft.VisualStudio.Workload.MSBuildTools", >> VSBT_VS2019.vsconfig -echo "Microsoft.VisualStudio.Component.Windows10SDK", >> VSBT_VS2019.vsconfig -echo "Microsoft.VisualStudio.Component.VC.CoreBuildTools", >> VSBT_VS2019.vsconfig -echo "Microsoft.VisualStudio.Component.VC.Tools.x86.x64", >> VSBT_VS2019.vsconfig -echo "Microsoft.VisualStudio.Component.VC.Redist.14.Latest", >> VSBT_VS2019.vsconfig -echo "Microsoft.VisualStudio.Component.Windows10SDK.19041", >> VSBT_VS2019.vsconfig -echo "Microsoft.VisualStudio.Component.VC.CMake.Project", >> VSBT_VS2019.vsconfig -echo "Microsoft.VisualStudio.Component.TestTools.BuildTools", >> VSBT_VS2019.vsconfig -echo "Microsoft.VisualStudio.Component.VC.ASAN", >> VSBT_VS2019.vsconfig -echo "Microsoft.VisualStudio.Component.TextTemplating", >> VSBT_VS2019.vsconfig -echo "Microsoft.VisualStudio.Component.VC.CoreIde", >> VSBT_VS2019.vsconfig -echo "Microsoft.VisualStudio.ComponentGroup.NativeDesktop.Core", >> VSBT_VS2019.vsconfig -echo "Microsoft.VisualStudio.Workload.VCTools" >> VSBT_VS2019.vsconfig -echo ] >> VSBT_VS2019.vsconfig -echo } >> VSBT_VS2019.vsconfig - -set VSDIR=%cd% -vs_BuildTools_2019.exe --config %VSDIR%\VSBT_VS2019.vsconfig ^ - --installPath "%VS_INSTALL_DIR%" ^ - --norestart --passive --wait - +@echo off +rem 04_Install_Visual_Studio_Build_Tools_2019.bat +rem http://www.neko.ne.jp/~freewing/software/build_fritzing_100_windows/ +rem Copyright (c) 2023 FREE WING,Y.Sakamoto +echo %0 +timeout /T 10 /NOBREAK +rem Load configuration +if exist directories_config.bat call directories_config.bat + +cd /d %FRITZING_WORKSPACE_DIR% + +if exist "%VS_INSTALL_DIR%" exit + + +@echo off +echo Check Admin Plivilege +whoami /groups | find "S-1-16-12288" > nul +if %ErrorLevel% == 0 goto is_admin + +echo . +echo === +echo User Account Control +echo === +echo Select Yes +rem Beep +rundll32 user32.dll,MessageBeep +pause + +:is_admin + +echo { > VSBT_VS2019.vsconfig +echo "version": "1.0", >> VSBT_VS2019.vsconfig +echo "components": [ >> VSBT_VS2019.vsconfig +echo "Microsoft.VisualStudio.Component.Roslyn.Compiler", >> VSBT_VS2019.vsconfig +echo "Microsoft.Component.MSBuild", >> VSBT_VS2019.vsconfig +echo "Microsoft.VisualStudio.Component.CoreBuildTools", >> VSBT_VS2019.vsconfig +echo "Microsoft.VisualStudio.Workload.MSBuildTools", >> VSBT_VS2019.vsconfig +echo "Microsoft.VisualStudio.Component.Windows10SDK", >> VSBT_VS2019.vsconfig +echo "Microsoft.VisualStudio.Component.VC.CoreBuildTools", >> VSBT_VS2019.vsconfig +echo "Microsoft.VisualStudio.Component.VC.Tools.x86.x64", >> VSBT_VS2019.vsconfig +echo "Microsoft.VisualStudio.Component.VC.Redist.14.Latest", >> VSBT_VS2019.vsconfig +echo "Microsoft.VisualStudio.Component.Windows10SDK.19041", >> VSBT_VS2019.vsconfig +echo "Microsoft.VisualStudio.Component.VC.CMake.Project", >> VSBT_VS2019.vsconfig +echo "Microsoft.VisualStudio.Component.TestTools.BuildTools", >> VSBT_VS2019.vsconfig +echo "Microsoft.VisualStudio.Component.VC.ASAN", >> VSBT_VS2019.vsconfig +echo "Microsoft.VisualStudio.Component.TextTemplating", >> VSBT_VS2019.vsconfig +echo "Microsoft.VisualStudio.Component.VC.CoreIde", >> VSBT_VS2019.vsconfig +echo "Microsoft.VisualStudio.ComponentGroup.NativeDesktop.Core", >> VSBT_VS2019.vsconfig +echo "Microsoft.VisualStudio.Workload.VCTools" >> VSBT_VS2019.vsconfig +echo ] >> VSBT_VS2019.vsconfig +echo } >> VSBT_VS2019.vsconfig + +set VSDIR=%cd% +vs_BuildTools_2019.exe --config %VSDIR%\VSBT_VS2019.vsconfig ^ + --installPath "%VS_INSTALL_DIR%" ^ + --norestart --passive --wait + exit \ No newline at end of file diff --git a/04_Install_Visual_Studio_Build_Tools_2019.bat.bak b/04_Install_Visual_Studio_Build_Tools_2019.bat.bak new file mode 100644 index 0000000..711e88b --- /dev/null +++ b/04_Install_Visual_Studio_Build_Tools_2019.bat.bak @@ -0,0 +1,58 @@ +@echo off +rem 04_Install_Visual_Studio_Build_Tools_2019.bat +rem http://www.neko.ne.jp/~freewing/software/build_fritzing_100_windows/ +rem Copyright (c) 2023 FREE WING,Y.Sakamoto +echo %0 +timeout /T 10 /NOBREAK +rem Load configuration +if exist directories_config.bat call directories_config.bat + +cd /d %FRITZING_WORKSPACE_DIR% + +if exist "%VS_INSTALL_DIR%" exit + + +@echo off +echo Check Admin Plivilege +whoami /groups | find "S-1-16-12288" > nul +if %ErrorLevel% == 0 goto is_admin + +echo . +echo === +echo User Account Control +echo === +echo Select Yes +rem Beep +rundll32 user32.dll,MessageBeep +pause + +:is_admin + +echo { > VSBT_VS2019.vsconfig +echo "version": "1.0", >> VSBT_VS2019.vsconfig +echo "components": [ >> VSBT_VS2019.vsconfig +echo "Microsoft.VisualStudio.Component.Roslyn.Compiler", >> VSBT_VS2019.vsconfig +echo "Microsoft.Component.MSBuild", >> VSBT_VS2019.vsconfig +echo "Microsoft.VisualStudio.Component.CoreBuildTools", >> VSBT_VS2019.vsconfig +echo "Microsoft.VisualStudio.Workload.MSBuildTools", >> VSBT_VS2019.vsconfig +echo "Microsoft.VisualStudio.Component.Windows10SDK", >> VSBT_VS2019.vsconfig +echo "Microsoft.VisualStudio.Component.VC.CoreBuildTools", >> VSBT_VS2019.vsconfig +echo "Microsoft.VisualStudio.Component.VC.Tools.x86.x64", >> VSBT_VS2019.vsconfig +echo "Microsoft.VisualStudio.Component.VC.Redist.14.Latest", >> VSBT_VS2019.vsconfig +echo "Microsoft.VisualStudio.Component.Windows10SDK.19041", >> VSBT_VS2019.vsconfig +echo "Microsoft.VisualStudio.Component.VC.CMake.Project", >> VSBT_VS2019.vsconfig +echo "Microsoft.VisualStudio.Component.TestTools.BuildTools", >> VSBT_VS2019.vsconfig +echo "Microsoft.VisualStudio.Component.VC.ASAN", >> VSBT_VS2019.vsconfig +echo "Microsoft.VisualStudio.Component.TextTemplating", >> VSBT_VS2019.vsconfig +echo "Microsoft.VisualStudio.Component.VC.CoreIde", >> VSBT_VS2019.vsconfig +echo "Microsoft.VisualStudio.ComponentGroup.NativeDesktop.Core", >> VSBT_VS2019.vsconfig +echo "Microsoft.VisualStudio.Workload.VCTools" >> VSBT_VS2019.vsconfig +echo ] >> VSBT_VS2019.vsconfig +echo } >> VSBT_VS2019.vsconfig + +set VSDIR=%cd% +vs_BuildTools_2019.exe --config %VSDIR%\VSBT_VS2019.vsconfig ^ + --installPath "%VS_INSTALL_DIR%" ^ + --norestart --passive --wait + +exit \ No newline at end of file diff --git a/05_Extract_Requirement_Files.bat b/05_Extract_Requirement_Files.bat index befcfaf..ba46341 100644 --- a/05_Extract_Requirement_Files.bat +++ b/05_Extract_Requirement_Files.bat @@ -1,64 +1,64 @@ -@echo off -rem 05_Extract_Requirement_Files.bat -rem http://www.neko.ne.jp/~freewing/software/build_fritzing_100_windows/ -rem Copyright (c) 2023-2024 FREE WING,Y.Sakamoto -echo %0 -timeout /T 10 /NOBREAK -rem Load configuration -if exist directories_config.bat call directories_config.bat - -cd /d %FRITZING_WORKSPACE_DIR% - -UnZip.exe boost_1_85_0.zip . - -tar -xf zlib.tar.gz -for /f "usebackq delims=" %%A in (`dir /b ZLIB-*`) do set ZLIB_DIR=%%A -echo %ZLIB_DIR% -ren %ZLIB_DIR% zlib-src - -tar -xf ngspice-42.tar.gz - -if not exist 7zr.exe goto 7z_inst - -7zr x PortableGit-2.42.0.2-64-bit.7z.exe -o.\PortableGit -7zr x ngspice-42_dll_64.7z -o.\ - -rem for Fritzing 1.0.2 -UnZip.exe clipper_ver6.4.2.zip .\clipper1-6.4.2 - -UnZip.exe openssl-3.0.12.zip . -ren openssl-3.0 openssl-3.0.12 -cd openssl-3.0.12 -xcopy /R /S .\x64\* . -ren lib lib64 - -exit - - -:7z_inst - -@echo off -echo Check Admin Plivilege -whoami /groups | find "S-1-16-12288" > nul -if %ErrorLevel% == 0 goto is_admin - -echo . -echo === -echo User Account Control -echo === -echo Select Yes -rem Beep -rundll32 user32.dll,MessageBeep -pause - -:is_admin - -echo cd /d %cd%>7z_inst.bat -echo 7z2301-x64.exe /S /D=%cd%\7z>>7z_inst.bat - -start /wait powershell "Start-Process -FilePath '7z_inst.bat' -WorkingDirectory '%cd%' -Verb RunAs -Wait" - -.\7z\7z x PortableGit-2.42.0.2-64-bit.7z.exe -o.\PortableGit -.\7z\7z x ngspice-42_dll_64.7z -o.\ - +@echo off +rem 05_Extract_Requirement_Files.bat +rem http://www.neko.ne.jp/~freewing/software/build_fritzing_100_windows/ +rem Copyright (c) 2023-2024 FREE WING,Y.Sakamoto +echo %0 +timeout /T 10 /NOBREAK +rem Load configuration +if exist directories_config.bat call directories_config.bat + +cd /d %FRITZING_WORKSPACE_DIR% + +UnZip.exe boost_1_85_0.zip . + +tar -xf zlib.tar.gz +for /f "usebackq delims=" %%A in (`dir /b ZLIB-*`) do set ZLIB_DIR=%%A +echo %ZLIB_DIR% +ren %ZLIB_DIR% zlib-src + +tar -xf ngspice-42.tar.gz + +if not exist 7zr.exe goto 7z_inst + +7zr x PortableGit-2.42.0.2-64-bit.7z.exe -o.\PortableGit +7zr x ngspice-42_dll_64.7z -o.\ + +rem for Fritzing 1.0.2 +UnZip.exe clipper_ver6.4.2.zip .\clipper1-6.4.2 + +UnZip.exe openssl-3.0.12.zip . +ren openssl-3.0 openssl-3.0.12 +cd openssl-3.0.12 +xcopy /R /S .\x64\* . +ren lib lib64 + +exit + + +:7z_inst + +@echo off +echo Check Admin Plivilege +whoami /groups | find "S-1-16-12288" > nul +if %ErrorLevel% == 0 goto is_admin + +echo . +echo === +echo User Account Control +echo === +echo Select Yes +rem Beep +rundll32 user32.dll,MessageBeep +pause + +:is_admin + +echo cd /d %cd%>7z_inst.bat +echo 7z2301-x64.exe /S /D=%cd%\7z>>7z_inst.bat + +start /wait powershell "Start-Process -FilePath '7z_inst.bat' -WorkingDirectory '%cd%' -Verb RunAs -Wait" + +.\7z\7z x PortableGit-2.42.0.2-64-bit.7z.exe -o.\PortableGit +.\7z\7z x ngspice-42_dll_64.7z -o.\ + exit \ No newline at end of file diff --git a/05_Extract_Requirement_Files.bat.bak b/05_Extract_Requirement_Files.bat.bak new file mode 100644 index 0000000..ba46341 --- /dev/null +++ b/05_Extract_Requirement_Files.bat.bak @@ -0,0 +1,64 @@ +@echo off +rem 05_Extract_Requirement_Files.bat +rem http://www.neko.ne.jp/~freewing/software/build_fritzing_100_windows/ +rem Copyright (c) 2023-2024 FREE WING,Y.Sakamoto +echo %0 +timeout /T 10 /NOBREAK +rem Load configuration +if exist directories_config.bat call directories_config.bat + +cd /d %FRITZING_WORKSPACE_DIR% + +UnZip.exe boost_1_85_0.zip . + +tar -xf zlib.tar.gz +for /f "usebackq delims=" %%A in (`dir /b ZLIB-*`) do set ZLIB_DIR=%%A +echo %ZLIB_DIR% +ren %ZLIB_DIR% zlib-src + +tar -xf ngspice-42.tar.gz + +if not exist 7zr.exe goto 7z_inst + +7zr x PortableGit-2.42.0.2-64-bit.7z.exe -o.\PortableGit +7zr x ngspice-42_dll_64.7z -o.\ + +rem for Fritzing 1.0.2 +UnZip.exe clipper_ver6.4.2.zip .\clipper1-6.4.2 + +UnZip.exe openssl-3.0.12.zip . +ren openssl-3.0 openssl-3.0.12 +cd openssl-3.0.12 +xcopy /R /S .\x64\* . +ren lib lib64 + +exit + + +:7z_inst + +@echo off +echo Check Admin Plivilege +whoami /groups | find "S-1-16-12288" > nul +if %ErrorLevel% == 0 goto is_admin + +echo . +echo === +echo User Account Control +echo === +echo Select Yes +rem Beep +rundll32 user32.dll,MessageBeep +pause + +:is_admin + +echo cd /d %cd%>7z_inst.bat +echo 7z2301-x64.exe /S /D=%cd%\7z>>7z_inst.bat + +start /wait powershell "Start-Process -FilePath '7z_inst.bat' -WorkingDirectory '%cd%' -Verb RunAs -Wait" + +.\7z\7z x PortableGit-2.42.0.2-64-bit.7z.exe -o.\PortableGit +.\7z\7z x ngspice-42_dll_64.7z -o.\ + +exit \ No newline at end of file diff --git a/06_Download_from_Git.bat b/06_Download_from_Git.bat index 3778948..03f2600 100644 --- a/06_Download_from_Git.bat +++ b/06_Download_from_Git.bat @@ -1,26 +1,26 @@ -@echo off -rem 06_Download_from_Git.bat -rem http://www.neko.ne.jp/~freewing/software/build_fritzing_100_windows/ -rem Copyright (c) 2023 FREE WING,Y.Sakamoto -echo %0 -timeout /T 10 /NOBREAK -rem Load configuration -if exist directories_config.bat call directories_config.bat - -cd /d %FRITZING_WORKSPACE_DIR% - -Path=%cd%\PortableGit\bin;%Path% - -rem https://github.com/stachenov/quazip/releases -echo QuaZip v1.4 -git clone https://github.com/stachenov/quazip -b v1.4 quazip-1.4 - -rem https://github.com/svgpp/svgpp/releases/tag/v1.3.1 -echo SVG++ library 1.3.1 -git clone https://github.com/svgpp/svgpp -b v1.3.1 svgpp-1.3.1 - -rem https://github.com/libgit2/libgit2/releases/tag/v0.28.5 -echo libgit2 v0.28.5 -git clone https://github.com/libgit2/libgit2 -b v0.28.5 - +@echo off +rem 06_Download_from_Git.bat +rem http://www.neko.ne.jp/~freewing/software/build_fritzing_100_windows/ +rem Copyright (c) 2023 FREE WING,Y.Sakamoto +echo %0 +timeout /T 10 /NOBREAK +rem Load configuration +if exist directories_config.bat call directories_config.bat + +cd /d %FRITZING_WORKSPACE_DIR% + +Path=%cd%\PortableGit\bin;%Path% + +rem https://github.com/stachenov/quazip/releases +echo QuaZip v1.4 +git clone https://github.com/stachenov/quazip -b v1.4 quazip-1.4 + +rem https://github.com/svgpp/svgpp/releases/tag/v1.3.1 +echo SVG++ library 1.3.1 +git clone https://github.com/svgpp/svgpp -b v1.3.1 svgpp-1.3.1 + +rem https://github.com/libgit2/libgit2/releases/tag/v0.28.5 +echo libgit2 v0.28.5 +git clone https://github.com/libgit2/libgit2 -b v0.28.5 + exit \ No newline at end of file diff --git a/06_Download_from_Git.bat.bak b/06_Download_from_Git.bat.bak new file mode 100644 index 0000000..03f2600 --- /dev/null +++ b/06_Download_from_Git.bat.bak @@ -0,0 +1,26 @@ +@echo off +rem 06_Download_from_Git.bat +rem http://www.neko.ne.jp/~freewing/software/build_fritzing_100_windows/ +rem Copyright (c) 2023 FREE WING,Y.Sakamoto +echo %0 +timeout /T 10 /NOBREAK +rem Load configuration +if exist directories_config.bat call directories_config.bat + +cd /d %FRITZING_WORKSPACE_DIR% + +Path=%cd%\PortableGit\bin;%Path% + +rem https://github.com/stachenov/quazip/releases +echo QuaZip v1.4 +git clone https://github.com/stachenov/quazip -b v1.4 quazip-1.4 + +rem https://github.com/svgpp/svgpp/releases/tag/v1.3.1 +echo SVG++ library 1.3.1 +git clone https://github.com/svgpp/svgpp -b v1.3.1 svgpp-1.3.1 + +rem https://github.com/libgit2/libgit2/releases/tag/v0.28.5 +echo libgit2 v0.28.5 +git clone https://github.com/libgit2/libgit2 -b v0.28.5 + +exit \ No newline at end of file diff --git a/07_Build_Library.bat b/07_Build_Library.bat index 0244209..27c220a 100644 --- a/07_Build_Library.bat +++ b/07_Build_Library.bat @@ -1,141 +1,141 @@ -@echo off -rem 07_Build_Library.bat -rem http://www.neko.ne.jp/~freewing/software/build_fritzing_100_windows/ -rem Copyright (c) 2023-2024 FREE WING,Y.Sakamoto -echo %0 -timeout /T 10 /NOBREAK -rem Load configuration -if exist directories_config.bat call directories_config.bat - -cd /d %FRITZING_WORKSPACE_DIR% - -Path=%cd%\PortableGit\bin;%Path% - -rem Visual Studio 2019 Build Tools -call "%VS_INSTALL_DIR%\Common7\Tools\VsDevCmd.bat" - -echo Build Boost -cd boost_1_85_0 - -rem Visual Studio 16 2019 BuildTools VS2019 14.2 -call bootstrap.bat vc142 - -echo %cd% -set BOOST_DIR=%cd% -set BUILD_JOBS=%NUMBER_OF_PROCESSORS% -rem Visual Studio 16 2019 BuildTools VS2019 14.2 -set TOOL_SET=msvc-14.2 - -b2.exe toolset=%TOOL_SET% link=static runtime-link=static,shared --build-dir=build/x64 address-model=64 -j%BUILD_JOBS% install --includedir=%BOOST_DIR%\include --libdir=%BOOST_DIR%\stage\lib\x64 -if not "%ERRORLEVEL%" == "0" goto failed - -cd .. - -echo Build libgit2 -cd libgit2 - -rmdir /S /Q build64 -mkdir build64 -cd build64 -cmake .. -G "Visual Studio 16 2019" -A x64 -DBUILD_CLAR=OFF -if not "%ERRORLEVEL%" == "0" goto failed - -cmake --build . --config Release -if not "%ERRORLEVEL%" == "0" goto failed - -cd .. -cd .. - -echo Build zlib -cd zlib-src - -rmdir /S /Q build64 -mkdir build64 -cd build64 -cmake .. -G "Visual Studio 16 2019" -A x64 -if not "%ERRORLEVEL%" == "0" goto failed - -msbuild /P:Configuration=Release ALL_BUILD.vcxproj -if not "%ERRORLEVEL%" == "0" goto failed - -cd .. - -rem -- Renaming -rem -- C:/00_fritzing/zlib-1.3/zconf.h -rem -- to 'zconf.h.included' because this file is included with zlib -rem -- but CMake generates it automatically in the build directory. -copy zconf.h.included zconf.h - -cd .. - -echo Build quazip -cd quazip-1.4 - -dir ..\zlib-src\build64\Release\zlib.lib - -set Qt6_DIR=%QT_INSTALL_DIR%\6.5.3\msvc2019_64 -dir %Qt6_DIR% - -rmdir /S /Q build64 -mkdir build64 -cmake -S . -B build64 ^ - -G "Visual Studio 16 2019" -A x64 ^ - -D QUAZIP_QT_MAJOR_VERSION=6 ^ - -D CMAKE_INSTALL_PREFIX=..\quazip-6.5.3-1.4 ^ - -D QUAZIP_USE_QT_ZLIB=OFF ^ - -D ZLIB_INCLUDE_DIR=..\zlib-src ^ - -D ZLIB_LIBRARY=%cd%\..\zlib-src\build64\Release\zlib.lib -if not "%ERRORLEVEL%" == "0" goto failed - -cmake --build build64 --config Release -if not "%ERRORLEVEL%" == "0" goto failed - -cmake --build build64 --config Release --target install -if not "%ERRORLEVEL%" == "0" goto failed - -cd .. - -rem for Fritzing 1.0.2 -echo Build clipper1 6.4.2 polyclipping -cd .\clipper1-6.4.2\cpp - -rem create lib file SET(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS ON) -powershell -Command "gc CMakeLists.txt | %% { $_ -creplace 'PROJECT\(polyclipping\)', \"PROJECT(polyclipping)`r`nSET(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS ON)\" } > CMakeLists.tmp" -powershell -Command "Get-Content -Encoding UTF8 CMakeLists.tmp" > CMakeLists.txt -del CMakeLists.tmp - -rmdir /S /Q build64 -mkdir build64 -cd build64 -cmake .. -G "Visual Studio 16 2019" -A x64 -DBUILD_CLAR=OFF -if not "%ERRORLEVEL%" == "0" goto failed - -cmake --build . --config Release -if not "%ERRORLEVEL%" == "0" goto failed - -dir .\Release - -mkdir ..\..\include -mkdir ..\..\include\polyclipping -copy ..\clipper.hpp ..\..\include\polyclipping\ - -mkdir ..\..\lib -copy .\Release\ ..\..\lib\ - -cd .. -cd .. - -exit - -:failed -@echo off -echo . -echo === -echo failed -echo === -:failed_beep -rem Beep -rundll32 user32.dll,MessageBeep -timeout /T 10 /NOBREAK - +@echo off +rem 07_Build_Library.bat +rem http://www.neko.ne.jp/~freewing/software/build_fritzing_100_windows/ +rem Copyright (c) 2023-2024 FREE WING,Y.Sakamoto +echo %0 +timeout /T 10 /NOBREAK +rem Load configuration +if exist directories_config.bat call directories_config.bat + +cd /d %FRITZING_WORKSPACE_DIR% + +Path=%cd%\PortableGit\bin;%Path% + +rem Visual Studio 2019 Build Tools +call "%VS_INSTALL_DIR%\Common7\Tools\VsDevCmd.bat" + +echo Build Boost +cd boost_1_85_0 + +rem Visual Studio 16 2019 BuildTools VS2019 14.2 +call bootstrap.bat vc142 + +echo %cd% +set BOOST_DIR=%cd% +set BUILD_JOBS=%NUMBER_OF_PROCESSORS% +rem Visual Studio 16 2019 BuildTools VS2019 14.2 +set TOOL_SET=msvc-14.2 + +b2.exe toolset=%TOOL_SET% link=static runtime-link=static,shared --build-dir=build/x64 address-model=64 -j%BUILD_JOBS% install --includedir=%BOOST_DIR%\include --libdir=%BOOST_DIR%\stage\lib\x64 +if not "%ERRORLEVEL%" == "0" goto failed + +cd .. + +echo Build libgit2 +cd libgit2 + +rmdir /S /Q build64 +mkdir build64 +cd build64 +cmake .. -G "Visual Studio 16 2019" -A x64 -DBUILD_CLAR=OFF +if not "%ERRORLEVEL%" == "0" goto failed + +cmake --build . --config Release +if not "%ERRORLEVEL%" == "0" goto failed + +cd .. +cd .. + +echo Build zlib +cd zlib-src + +rmdir /S /Q build64 +mkdir build64 +cd build64 +cmake .. -G "Visual Studio 16 2019" -A x64 +if not "%ERRORLEVEL%" == "0" goto failed + +msbuild /P:Configuration=Release ALL_BUILD.vcxproj +if not "%ERRORLEVEL%" == "0" goto failed + +cd .. + +rem -- Renaming +rem -- C:/00_fritzing/zlib-1.3/zconf.h +rem -- to 'zconf.h.included' because this file is included with zlib +rem -- but CMake generates it automatically in the build directory. +copy zconf.h.included zconf.h + +cd .. + +echo Build quazip +cd quazip-1.4 + +dir ..\zlib-src\build64\Release\zlib.lib + +set Qt6_DIR=%QT_INSTALL_DIR%\6.5.3\msvc2019_64 +dir %Qt6_DIR% + +rmdir /S /Q build64 +mkdir build64 +cmake -S . -B build64 ^ + -G "Visual Studio 16 2019" -A x64 ^ + -D QUAZIP_QT_MAJOR_VERSION=6 ^ + -D CMAKE_INSTALL_PREFIX=..\quazip-6.5.3-1.4 ^ + -D QUAZIP_USE_QT_ZLIB=OFF ^ + -D ZLIB_INCLUDE_DIR=..\zlib-src ^ + -D ZLIB_LIBRARY=%cd%\..\zlib-src\build64\Release\zlib.lib +if not "%ERRORLEVEL%" == "0" goto failed + +cmake --build build64 --config Release +if not "%ERRORLEVEL%" == "0" goto failed + +cmake --build build64 --config Release --target install +if not "%ERRORLEVEL%" == "0" goto failed + +cd .. + +rem for Fritzing 1.0.2 +echo Build clipper1 6.4.2 polyclipping +cd .\clipper1-6.4.2\cpp + +rem create lib file SET(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS ON) +powershell -Command "gc CMakeLists.txt | %% { $_ -creplace 'PROJECT\(polyclipping\)', \"PROJECT(polyclipping)`r`nSET(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS ON)\" } > CMakeLists.tmp" +powershell -Command "Get-Content -Encoding UTF8 CMakeLists.tmp" > CMakeLists.txt +del CMakeLists.tmp + +rmdir /S /Q build64 +mkdir build64 +cd build64 +cmake .. -G "Visual Studio 16 2019" -A x64 -DBUILD_CLAR=OFF +if not "%ERRORLEVEL%" == "0" goto failed + +cmake --build . --config Release +if not "%ERRORLEVEL%" == "0" goto failed + +dir .\Release + +mkdir ..\..\include +mkdir ..\..\include\polyclipping +copy ..\clipper.hpp ..\..\include\polyclipping\ + +mkdir ..\..\lib +copy .\Release\ ..\..\lib\ + +cd .. +cd .. + +exit + +:failed +@echo off +echo . +echo === +echo failed +echo === +:failed_beep +rem Beep +rundll32 user32.dll,MessageBeep +timeout /T 10 /NOBREAK + goto failed_beep \ No newline at end of file diff --git a/07_Build_Library.bat.bak b/07_Build_Library.bat.bak new file mode 100644 index 0000000..27c220a --- /dev/null +++ b/07_Build_Library.bat.bak @@ -0,0 +1,141 @@ +@echo off +rem 07_Build_Library.bat +rem http://www.neko.ne.jp/~freewing/software/build_fritzing_100_windows/ +rem Copyright (c) 2023-2024 FREE WING,Y.Sakamoto +echo %0 +timeout /T 10 /NOBREAK +rem Load configuration +if exist directories_config.bat call directories_config.bat + +cd /d %FRITZING_WORKSPACE_DIR% + +Path=%cd%\PortableGit\bin;%Path% + +rem Visual Studio 2019 Build Tools +call "%VS_INSTALL_DIR%\Common7\Tools\VsDevCmd.bat" + +echo Build Boost +cd boost_1_85_0 + +rem Visual Studio 16 2019 BuildTools VS2019 14.2 +call bootstrap.bat vc142 + +echo %cd% +set BOOST_DIR=%cd% +set BUILD_JOBS=%NUMBER_OF_PROCESSORS% +rem Visual Studio 16 2019 BuildTools VS2019 14.2 +set TOOL_SET=msvc-14.2 + +b2.exe toolset=%TOOL_SET% link=static runtime-link=static,shared --build-dir=build/x64 address-model=64 -j%BUILD_JOBS% install --includedir=%BOOST_DIR%\include --libdir=%BOOST_DIR%\stage\lib\x64 +if not "%ERRORLEVEL%" == "0" goto failed + +cd .. + +echo Build libgit2 +cd libgit2 + +rmdir /S /Q build64 +mkdir build64 +cd build64 +cmake .. -G "Visual Studio 16 2019" -A x64 -DBUILD_CLAR=OFF +if not "%ERRORLEVEL%" == "0" goto failed + +cmake --build . --config Release +if not "%ERRORLEVEL%" == "0" goto failed + +cd .. +cd .. + +echo Build zlib +cd zlib-src + +rmdir /S /Q build64 +mkdir build64 +cd build64 +cmake .. -G "Visual Studio 16 2019" -A x64 +if not "%ERRORLEVEL%" == "0" goto failed + +msbuild /P:Configuration=Release ALL_BUILD.vcxproj +if not "%ERRORLEVEL%" == "0" goto failed + +cd .. + +rem -- Renaming +rem -- C:/00_fritzing/zlib-1.3/zconf.h +rem -- to 'zconf.h.included' because this file is included with zlib +rem -- but CMake generates it automatically in the build directory. +copy zconf.h.included zconf.h + +cd .. + +echo Build quazip +cd quazip-1.4 + +dir ..\zlib-src\build64\Release\zlib.lib + +set Qt6_DIR=%QT_INSTALL_DIR%\6.5.3\msvc2019_64 +dir %Qt6_DIR% + +rmdir /S /Q build64 +mkdir build64 +cmake -S . -B build64 ^ + -G "Visual Studio 16 2019" -A x64 ^ + -D QUAZIP_QT_MAJOR_VERSION=6 ^ + -D CMAKE_INSTALL_PREFIX=..\quazip-6.5.3-1.4 ^ + -D QUAZIP_USE_QT_ZLIB=OFF ^ + -D ZLIB_INCLUDE_DIR=..\zlib-src ^ + -D ZLIB_LIBRARY=%cd%\..\zlib-src\build64\Release\zlib.lib +if not "%ERRORLEVEL%" == "0" goto failed + +cmake --build build64 --config Release +if not "%ERRORLEVEL%" == "0" goto failed + +cmake --build build64 --config Release --target install +if not "%ERRORLEVEL%" == "0" goto failed + +cd .. + +rem for Fritzing 1.0.2 +echo Build clipper1 6.4.2 polyclipping +cd .\clipper1-6.4.2\cpp + +rem create lib file SET(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS ON) +powershell -Command "gc CMakeLists.txt | %% { $_ -creplace 'PROJECT\(polyclipping\)', \"PROJECT(polyclipping)`r`nSET(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS ON)\" } > CMakeLists.tmp" +powershell -Command "Get-Content -Encoding UTF8 CMakeLists.tmp" > CMakeLists.txt +del CMakeLists.tmp + +rmdir /S /Q build64 +mkdir build64 +cd build64 +cmake .. -G "Visual Studio 16 2019" -A x64 -DBUILD_CLAR=OFF +if not "%ERRORLEVEL%" == "0" goto failed + +cmake --build . --config Release +if not "%ERRORLEVEL%" == "0" goto failed + +dir .\Release + +mkdir ..\..\include +mkdir ..\..\include\polyclipping +copy ..\clipper.hpp ..\..\include\polyclipping\ + +mkdir ..\..\lib +copy .\Release\ ..\..\lib\ + +cd .. +cd .. + +exit + +:failed +@echo off +echo . +echo === +echo failed +echo === +:failed_beep +rem Beep +rundll32 user32.dll,MessageBeep +timeout /T 10 /NOBREAK + +goto failed_beep \ No newline at end of file diff --git a/08_Fix_Library_place_Fritzing.bat b/08_Fix_Library_place_Fritzing.bat index ccf3d8f..7fa45d0 100644 --- a/08_Fix_Library_place_Fritzing.bat +++ b/08_Fix_Library_place_Fritzing.bat @@ -1,24 +1,24 @@ -@echo off -rem 08_Fix_Library_place_Fritzing.bat -rem http://www.neko.ne.jp/~freewing/software/build_fritzing_100_windows/ -rem Copyright (c) 2023-2024 FREE WING,Y.Sakamoto -echo %0 -timeout /T 10 /NOBREAK -rem Load configuration -if exist qt_config.bat call qt_config.bat - -cd /d %FRITZING_WORKSPACE_DIR% - -dir .\quazip-6.5.3-1.4\include\QuaZip-Qt6-1.4\quazip -xcopy .\quazip-6.5.3-1.4\include\QuaZip-Qt6-1.4\quazip .\quazip-6.5.3-1.4\include\quazip\ - -dir .\quazip-6.5.3-1.4\bin -dir .\quazip-6.5.3-1.4\lib -xcopy .\quazip-6.5.3-1.4\bin .\quazip-6.5.3-1.4\build64\Release\ -xcopy .\quazip-6.5.3-1.4\lib\*.lib .\quazip-6.5.3-1.4\build64\Release\ -dir .\quazip-6.5.3-1.4\build64\Release\ - -rem https://github.com/fritzing/fritzing-app/commit/ba8ab8760d01dc0870299f8456940524f9b73a5c -xcopy /E .\quazip-6.5.3-1.4 .\quazip-6.5.3-1.4intuisphere\ - +@echo off +rem 08_Fix_Library_place_Fritzing.bat +rem http://www.neko.ne.jp/~freewing/software/build_fritzing_100_windows/ +rem Copyright (c) 2023-2024 FREE WING,Y.Sakamoto +echo %0 +timeout /T 10 /NOBREAK +rem Load configuration +if exist qt_config.bat call qt_config.bat + +cd /d %FRITZING_WORKSPACE_DIR% + +dir .\quazip-6.5.3-1.4\include\QuaZip-Qt6-1.4\quazip +xcopy .\quazip-6.5.3-1.4\include\QuaZip-Qt6-1.4\quazip .\quazip-6.5.3-1.4\include\quazip\ + +dir .\quazip-6.5.3-1.4\bin +dir .\quazip-6.5.3-1.4\lib +xcopy .\quazip-6.5.3-1.4\bin .\quazip-6.5.3-1.4\build64\Release\ +xcopy .\quazip-6.5.3-1.4\lib\*.lib .\quazip-6.5.3-1.4\build64\Release\ +dir .\quazip-6.5.3-1.4\build64\Release\ + +rem https://github.com/fritzing/fritzing-app/commit/ba8ab8760d01dc0870299f8456940524f9b73a5c +xcopy /E .\quazip-6.5.3-1.4 .\quazip-6.5.3-1.4intuisphere\ + exit \ No newline at end of file diff --git a/08_Fix_Library_place_Fritzing.bat.bak b/08_Fix_Library_place_Fritzing.bat.bak new file mode 100644 index 0000000..7fa45d0 --- /dev/null +++ b/08_Fix_Library_place_Fritzing.bat.bak @@ -0,0 +1,24 @@ +@echo off +rem 08_Fix_Library_place_Fritzing.bat +rem http://www.neko.ne.jp/~freewing/software/build_fritzing_100_windows/ +rem Copyright (c) 2023-2024 FREE WING,Y.Sakamoto +echo %0 +timeout /T 10 /NOBREAK +rem Load configuration +if exist qt_config.bat call qt_config.bat + +cd /d %FRITZING_WORKSPACE_DIR% + +dir .\quazip-6.5.3-1.4\include\QuaZip-Qt6-1.4\quazip +xcopy .\quazip-6.5.3-1.4\include\QuaZip-Qt6-1.4\quazip .\quazip-6.5.3-1.4\include\quazip\ + +dir .\quazip-6.5.3-1.4\bin +dir .\quazip-6.5.3-1.4\lib +xcopy .\quazip-6.5.3-1.4\bin .\quazip-6.5.3-1.4\build64\Release\ +xcopy .\quazip-6.5.3-1.4\lib\*.lib .\quazip-6.5.3-1.4\build64\Release\ +dir .\quazip-6.5.3-1.4\build64\Release\ + +rem https://github.com/fritzing/fritzing-app/commit/ba8ab8760d01dc0870299f8456940524f9b73a5c +xcopy /E .\quazip-6.5.3-1.4 .\quazip-6.5.3-1.4intuisphere\ + +exit \ No newline at end of file diff --git a/09_Download_Fritzing_Source_code.bat b/09_Download_Fritzing_Source_code.bat index 856466c..7fbbad3 100644 --- a/09_Download_Fritzing_Source_code.bat +++ b/09_Download_Fritzing_Source_code.bat @@ -1,53 +1,53 @@ -@echo off -rem 08_Download_Fritzing_Source_code.bat -rem http://www.neko.ne.jp/~freewing/software/build_fritzing_100_windows/ -rem Copyright (c) 2023-2024 FREE WING,Y.Sakamoto -echo %0 -timeout /T 10 /NOBREAK -rem Load configuration -if exist qt_config.bat call qt_config.bat - -cd /d %FRITZING_WORKSPACE_DIR% - -Path=%cd%\PortableGit\bin;%Path% - -echo https://github.com/fritzing/fritzing-app.git -git clone https://github.com/fritzing/fritzing-app.git -b develop - -cd fritzing-app -rem Update potis Commits on Jun 3, 2023 -rem equivalent Fritzing 1.0.0 -rem git pull origin 6b14cfe9016652e47b5da53ce3d199175736e43e - -rem equivalent Fritzing 1.0.1 Sep 6, 2023 -rem git pull origin 8f5f1373835050ce014299c78d91c24beea9b633 -rem git checkout 8f5f1373835050ce014299c78d91c24beea9b633 - -rem equivalent Fritzing 1.0.2 Dec 20, 2023 -rem git pull origin dbdbe34c843677df721c7b3fc3e32c0f737e7e95 -rem git checkout dbdbe34c843677df721c7b3fc3e32c0f737e7e95 - -rem equivalent Fritzing 1.0.3 May 31, 2024 -rem git pull origin a7811ba0427e664c740b5616b10626f2d45fd8b3 -rem git checkout a7811ba0427e664c740b5616b10626f2d45fd8b3 - -rem equivalent Fritzing 1.0.4 Oct 7, 2024 -rem set Fritzing_hash=a8c6ef7cf66f7a42b9b233d6137f1b70a9573a25 - -rem equivalent Fritzing 1.0.5 -set Fritzing_hash=b9add9eaa7c426963de20c8514a69d3f15e83bdf -git pull origin %Fritzing_hash% -git checkout %Fritzing_hash% - -rem add git tag 1.0.5 -git config --global user.email "you@example.com" -git config --global user.name "Your Name" -git tag -a 1.0.5 -m "" %Fritzing_hash% - -git show --format='%%H' --no-patch - -git rev-parse --git-dir - -cd .. - +@echo off +rem 08_Download_Fritzing_Source_code.bat +rem http://www.neko.ne.jp/~freewing/software/build_fritzing_100_windows/ +rem Copyright (c) 2023-2024 FREE WING,Y.Sakamoto +echo %0 +timeout /T 10 /NOBREAK +rem Load configuration +if exist qt_config.bat call qt_config.bat + +cd /d %FRITZING_WORKSPACE_DIR% + +Path=%cd%\PortableGit\bin;%Path% + +echo https://github.com/fritzing/fritzing-app.git +git clone https://github.com/fritzing/fritzing-app.git -b develop + +cd fritzing-app +rem Update potis Commits on Jun 3, 2023 +rem equivalent Fritzing 1.0.0 +rem git pull origin 6b14cfe9016652e47b5da53ce3d199175736e43e + +rem equivalent Fritzing 1.0.1 Sep 6, 2023 +rem git pull origin 8f5f1373835050ce014299c78d91c24beea9b633 +rem git checkout 8f5f1373835050ce014299c78d91c24beea9b633 + +rem equivalent Fritzing 1.0.2 Dec 20, 2023 +rem git pull origin dbdbe34c843677df721c7b3fc3e32c0f737e7e95 +rem git checkout dbdbe34c843677df721c7b3fc3e32c0f737e7e95 + +rem equivalent Fritzing 1.0.3 May 31, 2024 +rem git pull origin a7811ba0427e664c740b5616b10626f2d45fd8b3 +rem git checkout a7811ba0427e664c740b5616b10626f2d45fd8b3 + +rem equivalent Fritzing 1.0.4 Oct 7, 2024 +rem set Fritzing_hash=a8c6ef7cf66f7a42b9b233d6137f1b70a9573a25 + +rem equivalent Fritzing 1.0.5 +set Fritzing_hash=b9add9eaa7c426963de20c8514a69d3f15e83bdf +git pull origin %Fritzing_hash% +git checkout %Fritzing_hash% + +rem add git tag 1.0.5 +git config --global user.email "you@example.com" +git config --global user.name "Your Name" +git tag -a 1.0.5 -m "" %Fritzing_hash% + +git show --format='%%H' --no-patch + +git rev-parse --git-dir + +cd .. + exit \ No newline at end of file diff --git a/09_Download_Fritzing_Source_code.bat.bak b/09_Download_Fritzing_Source_code.bat.bak new file mode 100644 index 0000000..7fbbad3 --- /dev/null +++ b/09_Download_Fritzing_Source_code.bat.bak @@ -0,0 +1,53 @@ +@echo off +rem 08_Download_Fritzing_Source_code.bat +rem http://www.neko.ne.jp/~freewing/software/build_fritzing_100_windows/ +rem Copyright (c) 2023-2024 FREE WING,Y.Sakamoto +echo %0 +timeout /T 10 /NOBREAK +rem Load configuration +if exist qt_config.bat call qt_config.bat + +cd /d %FRITZING_WORKSPACE_DIR% + +Path=%cd%\PortableGit\bin;%Path% + +echo https://github.com/fritzing/fritzing-app.git +git clone https://github.com/fritzing/fritzing-app.git -b develop + +cd fritzing-app +rem Update potis Commits on Jun 3, 2023 +rem equivalent Fritzing 1.0.0 +rem git pull origin 6b14cfe9016652e47b5da53ce3d199175736e43e + +rem equivalent Fritzing 1.0.1 Sep 6, 2023 +rem git pull origin 8f5f1373835050ce014299c78d91c24beea9b633 +rem git checkout 8f5f1373835050ce014299c78d91c24beea9b633 + +rem equivalent Fritzing 1.0.2 Dec 20, 2023 +rem git pull origin dbdbe34c843677df721c7b3fc3e32c0f737e7e95 +rem git checkout dbdbe34c843677df721c7b3fc3e32c0f737e7e95 + +rem equivalent Fritzing 1.0.3 May 31, 2024 +rem git pull origin a7811ba0427e664c740b5616b10626f2d45fd8b3 +rem git checkout a7811ba0427e664c740b5616b10626f2d45fd8b3 + +rem equivalent Fritzing 1.0.4 Oct 7, 2024 +rem set Fritzing_hash=a8c6ef7cf66f7a42b9b233d6137f1b70a9573a25 + +rem equivalent Fritzing 1.0.5 +set Fritzing_hash=b9add9eaa7c426963de20c8514a69d3f15e83bdf +git pull origin %Fritzing_hash% +git checkout %Fritzing_hash% + +rem add git tag 1.0.5 +git config --global user.email "you@example.com" +git config --global user.name "Your Name" +git tag -a 1.0.5 -m "" %Fritzing_hash% + +git show --format='%%H' --no-patch + +git rev-parse --git-dir + +cd .. + +exit \ No newline at end of file diff --git a/10_Download_Fritzing_Parts_Library.bat b/10_Download_Fritzing_Parts_Library.bat index 4156c83..cd562ac 100644 --- a/10_Download_Fritzing_Parts_Library.bat +++ b/10_Download_Fritzing_Parts_Library.bat @@ -1,23 +1,23 @@ -@echo off -rem 10_Download_Fritzing_Parts_Library.bat -rem http://www.neko.ne.jp/~freewing/software/build_fritzing_100_windows/ -rem Copyright (c) 2023-2024 FREE WING,Y.Sakamoto -echo %0 -timeout /T 10 /NOBREAK -rem Load configuration -if exist qt_config.bat call qt_config.bat - -cd /d %FRITZING_WORKSPACE_DIR% - -Path=%cd%\PortableGit\bin;%Path% - -mkdir release64 -cd release64 - -rem Commits on Sep 30, 2024 -echo https://github.com/fritzing/fritzing-parts -git clone https://github.com/fritzing/fritzing-parts -b 1.0.5 - -cd .. - +@echo off +rem 10_Download_Fritzing_Parts_Library.bat +rem http://www.neko.ne.jp/~freewing/software/build_fritzing_100_windows/ +rem Copyright (c) 2023-2024 FREE WING,Y.Sakamoto +echo %0 +timeout /T 10 /NOBREAK +rem Load configuration +if exist qt_config.bat call qt_config.bat + +cd /d %FRITZING_WORKSPACE_DIR% + +Path=%cd%\PortableGit\bin;%Path% + +mkdir release64 +cd release64 + +rem Commits on Sep 30, 2024 +echo https://github.com/fritzing/fritzing-parts +git clone https://github.com/fritzing/fritzing-parts -b 1.0.5 + +cd .. + exit \ No newline at end of file diff --git a/10_Download_Fritzing_Parts_Library.bat.bak b/10_Download_Fritzing_Parts_Library.bat.bak new file mode 100644 index 0000000..cd562ac --- /dev/null +++ b/10_Download_Fritzing_Parts_Library.bat.bak @@ -0,0 +1,23 @@ +@echo off +rem 10_Download_Fritzing_Parts_Library.bat +rem http://www.neko.ne.jp/~freewing/software/build_fritzing_100_windows/ +rem Copyright (c) 2023-2024 FREE WING,Y.Sakamoto +echo %0 +timeout /T 10 /NOBREAK +rem Load configuration +if exist qt_config.bat call qt_config.bat + +cd /d %FRITZING_WORKSPACE_DIR% + +Path=%cd%\PortableGit\bin;%Path% + +mkdir release64 +cd release64 + +rem Commits on Sep 30, 2024 +echo https://github.com/fritzing/fritzing-parts +git clone https://github.com/fritzing/fritzing-parts -b 1.0.5 + +cd .. + +exit \ No newline at end of file diff --git a/11_Fix_Fritzing_Source_code.bat b/11_Fix_Fritzing_Source_code.bat index d70bae1..c1ab143 100644 --- a/11_Fix_Fritzing_Source_code.bat +++ b/11_Fix_Fritzing_Source_code.bat @@ -1,27 +1,27 @@ -@echo off -rem 11_Fix_Fritzing_Source_code.bat -rem http://www.neko.ne.jp/~freewing/software/build_fritzing_100_windows/ -rem Copyright (c) 2023-2024 FREE WING,Y.Sakamoto -echo %0 -timeout /T 10 /NOBREAK -rem Load configuration -if exist qt_config.bat call qt_config.bat - -cd /d %FRITZING_WORKSPACE_DIR% - -cd fritzing-app - -cd .\src\model - -rem it fixed Fritzing 1.0.2 -rem https://github.com/fritzing/fritzing-app/commit/bd010ce4961bd90505fa540032dfcc97500e364c -rem only for Fritzing 1.0.1 or 1.0.0 -rem powershell -Command "gc modelbase.cpp | %% { $_ -creplace 'oldDoc.setContent\(&newFzp\);', 'oldDoc.setContent(&newFzp, nullptr);' } > modelbase.cpp_tmp" - -rem ren modelbase.cpp modelbase.cpp_bak -rem del modelbase.cpp -rem ren modelbase.cpp_tmp modelbase.cpp - -cd /d \00_fritzing - +@echo off +rem 11_Fix_Fritzing_Source_code.bat +rem http://www.neko.ne.jp/~freewing/software/build_fritzing_100_windows/ +rem Copyright (c) 2023-2024 FREE WING,Y.Sakamoto +echo %0 +timeout /T 10 /NOBREAK +rem Load configuration +if exist qt_config.bat call qt_config.bat + +cd /d %FRITZING_WORKSPACE_DIR% + +cd fritzing-app + +cd .\src\model + +rem it fixed Fritzing 1.0.2 +rem https://github.com/fritzing/fritzing-app/commit/bd010ce4961bd90505fa540032dfcc97500e364c +rem only for Fritzing 1.0.1 or 1.0.0 +rem powershell -Command "gc modelbase.cpp | %% { $_ -creplace 'oldDoc.setContent\(&newFzp\);', 'oldDoc.setContent(&newFzp, nullptr);' } > modelbase.cpp_tmp" + +rem ren modelbase.cpp modelbase.cpp_bak +rem del modelbase.cpp +rem ren modelbase.cpp_tmp modelbase.cpp + +cd /d \00_fritzing + exit \ No newline at end of file diff --git a/11_Fix_Fritzing_Source_code.bat.bak b/11_Fix_Fritzing_Source_code.bat.bak new file mode 100644 index 0000000..c1ab143 --- /dev/null +++ b/11_Fix_Fritzing_Source_code.bat.bak @@ -0,0 +1,27 @@ +@echo off +rem 11_Fix_Fritzing_Source_code.bat +rem http://www.neko.ne.jp/~freewing/software/build_fritzing_100_windows/ +rem Copyright (c) 2023-2024 FREE WING,Y.Sakamoto +echo %0 +timeout /T 10 /NOBREAK +rem Load configuration +if exist qt_config.bat call qt_config.bat + +cd /d %FRITZING_WORKSPACE_DIR% + +cd fritzing-app + +cd .\src\model + +rem it fixed Fritzing 1.0.2 +rem https://github.com/fritzing/fritzing-app/commit/bd010ce4961bd90505fa540032dfcc97500e364c +rem only for Fritzing 1.0.1 or 1.0.0 +rem powershell -Command "gc modelbase.cpp | %% { $_ -creplace 'oldDoc.setContent\(&newFzp\);', 'oldDoc.setContent(&newFzp, nullptr);' } > modelbase.cpp_tmp" + +rem ren modelbase.cpp modelbase.cpp_bak +rem del modelbase.cpp +rem ren modelbase.cpp_tmp modelbase.cpp + +cd /d \00_fritzing + +exit \ No newline at end of file diff --git a/12_Fix_Fritzing_Header_files.bat b/12_Fix_Fritzing_Header_files.bat index 3aa90f3..c2a4a61 100644 --- a/12_Fix_Fritzing_Header_files.bat +++ b/12_Fix_Fritzing_Header_files.bat @@ -1,46 +1,46 @@ -@echo off -rem 12_Fix_Fritzing_Header_files.bat -rem http://www.neko.ne.jp/~freewing/software/build_fritzing_100_windows/ -rem Copyright (c) 2023 FREE WING,Y.Sakamoto -echo %0 -timeout /T 10 /NOBREAK -rem Load configuration -if exist directories_config.bat call directories_config.bat - -cd /d %FRITZING_WORKSPACE_DIR% - -Path=%cd%\PortableGit\bin;%Path% - -cd fritzing-app - -if not exist ..\fritzing_h\ goto qmake_jom - -xcopy ..\fritzing_h\ ..\debug64\ -xcopy ..\fritzing_h\ ..\release64\ - -cd .. - -exit - - -:qmake_jom - -set currennt_dir=%cd% - -echo qtenv2.bat -call %QT_INSTALL_DIR%\6.5.3\msvc2019_64\bin\qtenv2.bat - -echo x64 Native Tools Command Prompt for VS 2019 -call "%VS_INSTALL_DIR%\VC\Auxiliary\Build\vcvars64.bat" - -cd /d %currennt_dir% - -%QT_INSTALL_DIR%\6.5.3\msvc2019_64\bin\qmake.exe -o Makefile phoenix.pro "QMAKE_TARGET.arch=x86_64" -%QT_INSTALL_DIR%\Tools\QtCreator\bin\jom\jom.exe -f Makefile.Debug compiler_uic_make_all -DIR ..\debug64\ui_*.h -xcopy ..\debug64\*.h ..\fritzing_h\ -xcopy ..\fritzing_h\ ..\release64\ - -cd .. - +@echo off +rem 12_Fix_Fritzing_Header_files.bat +rem http://www.neko.ne.jp/~freewing/software/build_fritzing_100_windows/ +rem Copyright (c) 2023 FREE WING,Y.Sakamoto +echo %0 +timeout /T 10 /NOBREAK +rem Load configuration +if exist directories_config.bat call directories_config.bat + +cd /d %FRITZING_WORKSPACE_DIR% + +Path=%cd%\PortableGit\bin;%Path% + +cd fritzing-app + +if not exist ..\fritzing_h\ goto qmake_jom + +xcopy ..\fritzing_h\ ..\debug64\ +xcopy ..\fritzing_h\ ..\release64\ + +cd .. + +exit + + +:qmake_jom + +set currennt_dir=%cd% + +echo qtenv2.bat +call %QT_INSTALL_DIR%\6.5.3\msvc2019_64\bin\qtenv2.bat + +echo x64 Native Tools Command Prompt for VS 2019 +call "%VS_INSTALL_DIR%\VC\Auxiliary\Build\vcvars64.bat" + +cd /d %currennt_dir% + +%QT_INSTALL_DIR%\6.5.3\msvc2019_64\bin\qmake.exe -o Makefile phoenix.pro "QMAKE_TARGET.arch=x86_64" +%QT_INSTALL_DIR%\Tools\QtCreator\bin\jom\jom.exe -f Makefile.Debug compiler_uic_make_all +DIR ..\debug64\ui_*.h +xcopy ..\debug64\*.h ..\fritzing_h\ +xcopy ..\fritzing_h\ ..\release64\ + +cd .. + exit \ No newline at end of file diff --git a/12_Fix_Fritzing_Header_files.bat.bak b/12_Fix_Fritzing_Header_files.bat.bak new file mode 100644 index 0000000..c2a4a61 --- /dev/null +++ b/12_Fix_Fritzing_Header_files.bat.bak @@ -0,0 +1,46 @@ +@echo off +rem 12_Fix_Fritzing_Header_files.bat +rem http://www.neko.ne.jp/~freewing/software/build_fritzing_100_windows/ +rem Copyright (c) 2023 FREE WING,Y.Sakamoto +echo %0 +timeout /T 10 /NOBREAK +rem Load configuration +if exist directories_config.bat call directories_config.bat + +cd /d %FRITZING_WORKSPACE_DIR% + +Path=%cd%\PortableGit\bin;%Path% + +cd fritzing-app + +if not exist ..\fritzing_h\ goto qmake_jom + +xcopy ..\fritzing_h\ ..\debug64\ +xcopy ..\fritzing_h\ ..\release64\ + +cd .. + +exit + + +:qmake_jom + +set currennt_dir=%cd% + +echo qtenv2.bat +call %QT_INSTALL_DIR%\6.5.3\msvc2019_64\bin\qtenv2.bat + +echo x64 Native Tools Command Prompt for VS 2019 +call "%VS_INSTALL_DIR%\VC\Auxiliary\Build\vcvars64.bat" + +cd /d %currennt_dir% + +%QT_INSTALL_DIR%\6.5.3\msvc2019_64\bin\qmake.exe -o Makefile phoenix.pro "QMAKE_TARGET.arch=x86_64" +%QT_INSTALL_DIR%\Tools\QtCreator\bin\jom\jom.exe -f Makefile.Debug compiler_uic_make_all +DIR ..\debug64\ui_*.h +xcopy ..\debug64\*.h ..\fritzing_h\ +xcopy ..\fritzing_h\ ..\release64\ + +cd .. + +exit \ No newline at end of file diff --git a/13_Build_phoenix_pro_with_Qt.bat b/13_Build_phoenix_pro_with_Qt.bat index ac3435d..a819330 100644 --- a/13_Build_phoenix_pro_with_Qt.bat +++ b/13_Build_phoenix_pro_with_Qt.bat @@ -1,67 +1,67 @@ -@echo off -rem 13_Build_phoenix_pro_with_Qt.bat -rem http://www.neko.ne.jp/~freewing/software/build_fritzing_100_windows/ -rem Copyright (c) 2023 FREE WING,Y.Sakamoto -echo %0 -timeout /T 10 /NOBREAK -rem Load configuration -if exist directories_config.bat call directories_config.bat - -cd /d %FRITZING_WORKSPACE_DIR% - -Path=%cd%\PortableGit\bin;%Path% - -cd fritzing-app -git show --format='%%H' --no-patch - -git rev-parse --git-dir - -set currennt_dir=%cd% - -echo qtenv2.bat -call %QT_INSTALL_DIR%\6.5.3\msvc2019_64\bin\qtenv2.bat - -echo x64 Native Tools Command Prompt for VS 2019 -call "%VS_INSTALL_DIR%\VC\Auxiliary\Build\vcvars64.bat" - -cd /d %currennt_dir% - -echo qmake -%QT_INSTALL_DIR%/6.5.3/msvc2019_64/bin/qmake.exe phoenix.pro ^ - -spec win32-msvc ^ - INCLUDEPATH+="..\ngspice-42\src\include" - -rem Use svgpp 1.3.1 -rem https://github.com/fritzing/fritzing-app/commit/0a53e1b4a5e9752a27d3f11157cc505f3691f20c -rem INCLUDEPATH+="..\svgpp-1.3.1\include" - -%QT_INSTALL_DIR%/Tools/QtCreator/bin/jom/jom.exe qmake_all - - -echo Build -%QT_INSTALL_DIR%\Tools\QtCreator\bin\jom\jom.exe -f Makefile.Release - -cd .. - -cd .\release64 - -if not exist Fritzing.exe goto failed - -dir Fritzing.exe - -cd .. - -exit - -:failed -@echo off -echo . -echo === -echo failed -echo === -:failed_beep -rem Beep -rundll32 user32.dll,MessageBeep -timeout /T 5 /NOBREAK - +@echo off +rem 13_Build_phoenix_pro_with_Qt.bat +rem http://www.neko.ne.jp/~freewing/software/build_fritzing_100_windows/ +rem Copyright (c) 2023 FREE WING,Y.Sakamoto +echo %0 +timeout /T 10 /NOBREAK +rem Load configuration +if exist directories_config.bat call directories_config.bat + +cd /d %FRITZING_WORKSPACE_DIR% + +Path=%cd%\PortableGit\bin;%Path% + +cd fritzing-app +git show --format='%%H' --no-patch + +git rev-parse --git-dir + +set currennt_dir=%cd% + +echo qtenv2.bat +call %QT_INSTALL_DIR%\6.5.3\msvc2019_64\bin\qtenv2.bat + +echo x64 Native Tools Command Prompt for VS 2019 +call "%VS_INSTALL_DIR%\VC\Auxiliary\Build\vcvars64.bat" + +cd /d %currennt_dir% + +echo qmake +%QT_INSTALL_DIR%/6.5.3/msvc2019_64/bin/qmake.exe phoenix.pro ^ + -spec win32-msvc ^ + INCLUDEPATH+="..\ngspice-42\src\include" + +rem Use svgpp 1.3.1 +rem https://github.com/fritzing/fritzing-app/commit/0a53e1b4a5e9752a27d3f11157cc505f3691f20c +rem INCLUDEPATH+="..\svgpp-1.3.1\include" + +%QT_INSTALL_DIR%/Tools/QtCreator/bin/jom/jom.exe qmake_all + + +echo Build +%QT_INSTALL_DIR%\Tools\QtCreator\bin\jom\jom.exe -f Makefile.Release + +cd .. + +cd .\release64 + +if not exist Fritzing.exe goto failed + +dir Fritzing.exe + +cd .. + +exit + +:failed +@echo off +echo . +echo === +echo failed +echo === +:failed_beep +rem Beep +rundll32 user32.dll,MessageBeep +timeout /T 5 /NOBREAK + goto failed_beep \ No newline at end of file diff --git a/13_Build_phoenix_pro_with_Qt.bat.bak b/13_Build_phoenix_pro_with_Qt.bat.bak new file mode 100644 index 0000000..a819330 --- /dev/null +++ b/13_Build_phoenix_pro_with_Qt.bat.bak @@ -0,0 +1,67 @@ +@echo off +rem 13_Build_phoenix_pro_with_Qt.bat +rem http://www.neko.ne.jp/~freewing/software/build_fritzing_100_windows/ +rem Copyright (c) 2023 FREE WING,Y.Sakamoto +echo %0 +timeout /T 10 /NOBREAK +rem Load configuration +if exist directories_config.bat call directories_config.bat + +cd /d %FRITZING_WORKSPACE_DIR% + +Path=%cd%\PortableGit\bin;%Path% + +cd fritzing-app +git show --format='%%H' --no-patch + +git rev-parse --git-dir + +set currennt_dir=%cd% + +echo qtenv2.bat +call %QT_INSTALL_DIR%\6.5.3\msvc2019_64\bin\qtenv2.bat + +echo x64 Native Tools Command Prompt for VS 2019 +call "%VS_INSTALL_DIR%\VC\Auxiliary\Build\vcvars64.bat" + +cd /d %currennt_dir% + +echo qmake +%QT_INSTALL_DIR%/6.5.3/msvc2019_64/bin/qmake.exe phoenix.pro ^ + -spec win32-msvc ^ + INCLUDEPATH+="..\ngspice-42\src\include" + +rem Use svgpp 1.3.1 +rem https://github.com/fritzing/fritzing-app/commit/0a53e1b4a5e9752a27d3f11157cc505f3691f20c +rem INCLUDEPATH+="..\svgpp-1.3.1\include" + +%QT_INSTALL_DIR%/Tools/QtCreator/bin/jom/jom.exe qmake_all + + +echo Build +%QT_INSTALL_DIR%\Tools\QtCreator\bin\jom\jom.exe -f Makefile.Release + +cd .. + +cd .\release64 + +if not exist Fritzing.exe goto failed + +dir Fritzing.exe + +cd .. + +exit + +:failed +@echo off +echo . +echo === +echo failed +echo === +:failed_beep +rem Beep +rundll32 user32.dll,MessageBeep +timeout /T 5 /NOBREAK + +goto failed_beep \ No newline at end of file diff --git a/15_Copy_Fritzing_Requirement_DLL_files.bat b/15_Copy_Fritzing_Requirement_DLL_files.bat index 4b7259d..30c2229 100644 --- a/15_Copy_Fritzing_Requirement_DLL_files.bat +++ b/15_Copy_Fritzing_Requirement_DLL_files.bat @@ -1,23 +1,23 @@ -@echo off -rem 15_Copy_Fritzing_Requirement_DLL_files.bat -rem http://www.neko.ne.jp/~freewing/software/build_fritzing_100_windows/ -rem Copyright (c) 2023-2024 FREE WING,Y.Sakamoto -echo %0 -timeout /T 10 /NOBREAK -rem Load configuration -if exist directories_config.bat call directories_config.bat - -cd /d %FRITZING_WORKSPACE_DIR% - -copy .\libgit2\build64\Release\git2.dll .\release64 -copy .\zlib-src\build64\Release\zlib.dll .\release64 -copy .\quazip-6.5.3-1.4\bin\quazip1-qt6.dll .\release64 -copy %QT_INSTALL_DIR%\6.5.3\msvc2019_64\bin\Qt6Core5Compat.dll .\release64 - -rem for Simulate function -copy .\Spice64_dll\dll-vs\*.dll .\release64 - -rem for Fritzing 1.0.2 -copy .\clipper1-6.4.2\lib\polyclipping.dll .\release64 - +@echo off +rem 15_Copy_Fritzing_Requirement_DLL_files.bat +rem http://www.neko.ne.jp/~freewing/software/build_fritzing_100_windows/ +rem Copyright (c) 2023-2024 FREE WING,Y.Sakamoto +echo %0 +timeout /T 10 /NOBREAK +rem Load configuration +if exist directories_config.bat call directories_config.bat + +cd /d %FRITZING_WORKSPACE_DIR% + +copy .\libgit2\build64\Release\git2.dll .\release64 +copy .\zlib-src\build64\Release\zlib.dll .\release64 +copy .\quazip-6.5.3-1.4\bin\quazip1-qt6.dll .\release64 +copy %QT_INSTALL_DIR%\6.5.3\msvc2019_64\bin\Qt6Core5Compat.dll .\release64 + +rem for Simulate function +copy .\Spice64_dll\dll-vs\*.dll .\release64 + +rem for Fritzing 1.0.2 +copy .\clipper1-6.4.2\lib\polyclipping.dll .\release64 + exit \ No newline at end of file diff --git a/15_Copy_Fritzing_Requirement_DLL_files.bat.bak b/15_Copy_Fritzing_Requirement_DLL_files.bat.bak new file mode 100644 index 0000000..30c2229 --- /dev/null +++ b/15_Copy_Fritzing_Requirement_DLL_files.bat.bak @@ -0,0 +1,23 @@ +@echo off +rem 15_Copy_Fritzing_Requirement_DLL_files.bat +rem http://www.neko.ne.jp/~freewing/software/build_fritzing_100_windows/ +rem Copyright (c) 2023-2024 FREE WING,Y.Sakamoto +echo %0 +timeout /T 10 /NOBREAK +rem Load configuration +if exist directories_config.bat call directories_config.bat + +cd /d %FRITZING_WORKSPACE_DIR% + +copy .\libgit2\build64\Release\git2.dll .\release64 +copy .\zlib-src\build64\Release\zlib.dll .\release64 +copy .\quazip-6.5.3-1.4\bin\quazip1-qt6.dll .\release64 +copy %QT_INSTALL_DIR%\6.5.3\msvc2019_64\bin\Qt6Core5Compat.dll .\release64 + +rem for Simulate function +copy .\Spice64_dll\dll-vs\*.dll .\release64 + +rem for Fritzing 1.0.2 +copy .\clipper1-6.4.2\lib\polyclipping.dll .\release64 + +exit \ No newline at end of file diff --git a/16_Copy_Qt_Requirement_DLL_files.bat b/16_Copy_Qt_Requirement_DLL_files.bat index 4c21451..d74dd6e 100644 --- a/16_Copy_Qt_Requirement_DLL_files.bat +++ b/16_Copy_Qt_Requirement_DLL_files.bat @@ -1,33 +1,33 @@ -@echo off -rem 16_Copy_Qt_Requirement_DLL_files.bat -rem http://www.neko.ne.jp/~freewing/software/build_fritzing_100_windows/ -rem Copyright (c) 2023 FREE WING,Y.Sakamoto -echo %0 -timeout /T 10 /NOBREAK -rem Load configuration -if exist directories_config.bat call directories_config.bat - -cd /d %FRITZING_WORKSPACE_DIR% - -cd .\release64 - -if not exist Fritzing.exe goto failed - -%QT_INSTALL_DIR%\6.5.3\msvc2019_64\bin\windeployqt6.exe Fritzing.exe - -cd .. - -exit - -:failed -@echo off -echo . -echo === -echo failed -echo === -:failed_beep -rem Beep -rundll32 user32.dll,MessageBeep -timeout /T 5 /NOBREAK - +@echo off +rem 16_Copy_Qt_Requirement_DLL_files.bat +rem http://www.neko.ne.jp/~freewing/software/build_fritzing_100_windows/ +rem Copyright (c) 2023 FREE WING,Y.Sakamoto +echo %0 +timeout /T 10 /NOBREAK +rem Load configuration +if exist directories_config.bat call directories_config.bat + +cd /d %FRITZING_WORKSPACE_DIR% + +cd .\release64 + +if not exist Fritzing.exe goto failed + +%QT_INSTALL_DIR%\6.5.3\msvc2019_64\bin\windeployqt6.exe Fritzing.exe + +cd .. + +exit + +:failed +@echo off +echo . +echo === +echo failed +echo === +:failed_beep +rem Beep +rundll32 user32.dll,MessageBeep +timeout /T 5 /NOBREAK + goto failed_beep \ No newline at end of file diff --git a/16_Copy_Qt_Requirement_DLL_files.bat.bak b/16_Copy_Qt_Requirement_DLL_files.bat.bak new file mode 100644 index 0000000..d74dd6e --- /dev/null +++ b/16_Copy_Qt_Requirement_DLL_files.bat.bak @@ -0,0 +1,33 @@ +@echo off +rem 16_Copy_Qt_Requirement_DLL_files.bat +rem http://www.neko.ne.jp/~freewing/software/build_fritzing_100_windows/ +rem Copyright (c) 2023 FREE WING,Y.Sakamoto +echo %0 +timeout /T 10 /NOBREAK +rem Load configuration +if exist directories_config.bat call directories_config.bat + +cd /d %FRITZING_WORKSPACE_DIR% + +cd .\release64 + +if not exist Fritzing.exe goto failed + +%QT_INSTALL_DIR%\6.5.3\msvc2019_64\bin\windeployqt6.exe Fritzing.exe + +cd .. + +exit + +:failed +@echo off +echo . +echo === +echo failed +echo === +:failed_beep +rem Beep +rundll32 user32.dll,MessageBeep +timeout /T 5 /NOBREAK + +goto failed_beep \ No newline at end of file diff --git a/17_1st_Build_Parts_DB_file.bat b/17_1st_Build_Parts_DB_file.bat index 2679c3b..462e3b9 100644 --- a/17_1st_Build_Parts_DB_file.bat +++ b/17_1st_Build_Parts_DB_file.bat @@ -1,24 +1,24 @@ -@echo off -rem 17_1st_Build_Parts_DB_file.bat -rem http://www.neko.ne.jp/~freewing/software/build_fritzing_100_windows/ -rem Copyright (c) 2023 FREE WING,Y.Sakamoto -echo %0 -timeout /T 10 /NOBREAK -rem Load configuration -if exist qt_config.bat call qt_config.bat - -cd /d %FRITZING_WORKSPACE_DIR% - -cd .\release64 - -@echo off -echo . -echo === -echo * 1st execute to create parts.db DB file -Fritzing.exe -f "..\fritzing-app\" -parts "..\release64\fritzing-parts\" -db "..\release64\fritzing-parts\parts.db" -rem Beep -rundll32 user32.dll,MessageBeep - -cd .. - +@echo off +rem 17_1st_Build_Parts_DB_file.bat +rem http://www.neko.ne.jp/~freewing/software/build_fritzing_100_windows/ +rem Copyright (c) 2023 FREE WING,Y.Sakamoto +echo %0 +timeout /T 10 /NOBREAK +rem Load configuration +if exist qt_config.bat call qt_config.bat + +cd /d %FRITZING_WORKSPACE_DIR% + +cd .\release64 + +@echo off +echo . +echo === +echo * 1st execute to create parts.db DB file +Fritzing.exe -f "..\fritzing-app\" -parts "..\release64\fritzing-parts\" -db "..\release64\fritzing-parts\parts.db" +rem Beep +rundll32 user32.dll,MessageBeep + +cd .. + exit \ No newline at end of file diff --git a/17_1st_Build_Parts_DB_file.bat.bak b/17_1st_Build_Parts_DB_file.bat.bak new file mode 100644 index 0000000..462e3b9 --- /dev/null +++ b/17_1st_Build_Parts_DB_file.bat.bak @@ -0,0 +1,24 @@ +@echo off +rem 17_1st_Build_Parts_DB_file.bat +rem http://www.neko.ne.jp/~freewing/software/build_fritzing_100_windows/ +rem Copyright (c) 2023 FREE WING,Y.Sakamoto +echo %0 +timeout /T 10 /NOBREAK +rem Load configuration +if exist qt_config.bat call qt_config.bat + +cd /d %FRITZING_WORKSPACE_DIR% + +cd .\release64 + +@echo off +echo . +echo === +echo * 1st execute to create parts.db DB file +Fritzing.exe -f "..\fritzing-app\" -parts "..\release64\fritzing-parts\" -db "..\release64\fritzing-parts\parts.db" +rem Beep +rundll32 user32.dll,MessageBeep + +cd .. + +exit \ No newline at end of file diff --git a/18_2nd_Launch_Fritzing.bat b/18_2nd_Launch_Fritzing.bat index 02f598f..5bbcdef 100644 --- a/18_2nd_Launch_Fritzing.bat +++ b/18_2nd_Launch_Fritzing.bat @@ -1,48 +1,48 @@ -@echo off -rem 18_2nd_Launch_Fritzing.bat -rem http://www.neko.ne.jp/~freewing/software/build_fritzing_100_windows/ -rem Copyright (c) 2023 FREE WING,Y.Sakamoto -echo %0 -timeout /T 10 /NOBREAK -rem Load configuration -if exist qt_config.bat call qt_config.bat - -cd /d %FRITZING_WORKSPACE_DIR% - -cd .\release64 - -@echo off -echo . -echo === -echo * 2nd execute to Normally Launch Fritzing -rem Beep -rundll32 user32.dll,MessageBeep - -rem start /wait Fritzing.exe -start Fritzing.exe - -timeout /T 10 /NOBREAK - -cd .. - -if "%Qt_close%" == "" goto wait_close - -start SendKeys_AltF4.vbs - - -:wait_close -echo . -echo . -echo . -echo === -echo * 3rd -echo Waiting Close Fritzing app. -rem Beep -rundll32 user32.dll,MessageBeep - -timeout /T 5 /NOBREAK - -TASKLIST /FI "STATUS eq RUNNING" | findstr Fritzing.exe -if %ERRORLEVEL% EQU 0 goto wait_close - +@echo off +rem 18_2nd_Launch_Fritzing.bat +rem http://www.neko.ne.jp/~freewing/software/build_fritzing_100_windows/ +rem Copyright (c) 2023 FREE WING,Y.Sakamoto +echo %0 +timeout /T 10 /NOBREAK +rem Load configuration +if exist qt_config.bat call qt_config.bat + +cd /d %FRITZING_WORKSPACE_DIR% + +cd .\release64 + +@echo off +echo . +echo === +echo * 2nd execute to Normally Launch Fritzing +rem Beep +rundll32 user32.dll,MessageBeep + +rem start /wait Fritzing.exe +start Fritzing.exe + +timeout /T 10 /NOBREAK + +cd .. + +if "%Qt_close%" == "" goto wait_close + +start SendKeys_AltF4.vbs + + +:wait_close +echo . +echo . +echo . +echo === +echo * 3rd +echo Waiting Close Fritzing app. +rem Beep +rundll32 user32.dll,MessageBeep + +timeout /T 5 /NOBREAK + +TASKLIST /FI "STATUS eq RUNNING" | findstr Fritzing.exe +if %ERRORLEVEL% EQU 0 goto wait_close + exit \ No newline at end of file diff --git a/18_2nd_Launch_Fritzing.bat.bak b/18_2nd_Launch_Fritzing.bat.bak new file mode 100644 index 0000000..5bbcdef --- /dev/null +++ b/18_2nd_Launch_Fritzing.bat.bak @@ -0,0 +1,48 @@ +@echo off +rem 18_2nd_Launch_Fritzing.bat +rem http://www.neko.ne.jp/~freewing/software/build_fritzing_100_windows/ +rem Copyright (c) 2023 FREE WING,Y.Sakamoto +echo %0 +timeout /T 10 /NOBREAK +rem Load configuration +if exist qt_config.bat call qt_config.bat + +cd /d %FRITZING_WORKSPACE_DIR% + +cd .\release64 + +@echo off +echo . +echo === +echo * 2nd execute to Normally Launch Fritzing +rem Beep +rundll32 user32.dll,MessageBeep + +rem start /wait Fritzing.exe +start Fritzing.exe + +timeout /T 10 /NOBREAK + +cd .. + +if "%Qt_close%" == "" goto wait_close + +start SendKeys_AltF4.vbs + + +:wait_close +echo . +echo . +echo . +echo === +echo * 3rd +echo Waiting Close Fritzing app. +rem Beep +rundll32 user32.dll,MessageBeep + +timeout /T 5 /NOBREAK + +TASKLIST /FI "STATUS eq RUNNING" | findstr Fritzing.exe +if %ERRORLEVEL% EQU 0 goto wait_close + +exit \ No newline at end of file diff --git a/19_Organize_unnecessary_files.bat b/19_Organize_unnecessary_files.bat index 3398e1d..48fe2da 100644 --- a/19_Organize_unnecessary_files.bat +++ b/19_Organize_unnecessary_files.bat @@ -1,26 +1,26 @@ -@echo off -rem 19_Organize_unnecessary_files.bat -rem http://www.neko.ne.jp/~freewing/software/build_fritzing_100_windows/ -rem Copyright (c) 2023 FREE WING,Y.Sakamoto -echo %0 -timeout /T 10 /NOBREAK -rem Load configuration -if exist qt_config.bat call qt_config.bat - -cd /d %FRITZING_WORKSPACE_DIR% - -cd .\release64 - -mkdir .\_\ - -move *.cpp .\_\ -move *.h .\_\ -move *.obj .\_\ - -powershell compress-archive .\_ _.zip - -rmdir /S /Q .\_\ - -cd .. - +@echo off +rem 19_Organize_unnecessary_files.bat +rem http://www.neko.ne.jp/~freewing/software/build_fritzing_100_windows/ +rem Copyright (c) 2023 FREE WING,Y.Sakamoto +echo %0 +timeout /T 10 /NOBREAK +rem Load configuration +if exist qt_config.bat call qt_config.bat + +cd /d %FRITZING_WORKSPACE_DIR% + +cd .\release64 + +mkdir .\_\ + +move *.cpp .\_\ +move *.h .\_\ +move *.obj .\_\ + +powershell compress-archive .\_ _.zip + +rmdir /S /Q .\_\ + +cd .. + exit \ No newline at end of file diff --git a/19_Organize_unnecessary_files.bat.bak b/19_Organize_unnecessary_files.bat.bak new file mode 100644 index 0000000..48fe2da --- /dev/null +++ b/19_Organize_unnecessary_files.bat.bak @@ -0,0 +1,26 @@ +@echo off +rem 19_Organize_unnecessary_files.bat +rem http://www.neko.ne.jp/~freewing/software/build_fritzing_100_windows/ +rem Copyright (c) 2023 FREE WING,Y.Sakamoto +echo %0 +timeout /T 10 /NOBREAK +rem Load configuration +if exist qt_config.bat call qt_config.bat + +cd /d %FRITZING_WORKSPACE_DIR% + +cd .\release64 + +mkdir .\_\ + +move *.cpp .\_\ +move *.h .\_\ +move *.obj .\_\ + +powershell compress-archive .\_ _.zip + +rmdir /S /Q .\_\ + +cd .. + +exit \ No newline at end of file diff --git a/20_Create_Fritzing_zip_package.bat b/20_Create_Fritzing_zip_package.bat index c7670e1..2172ff9 100644 --- a/20_Create_Fritzing_zip_package.bat +++ b/20_Create_Fritzing_zip_package.bat @@ -1,34 +1,34 @@ -@echo off -rem 20_Create_Fritzing_zip_package.bat -rem http://www.neko.ne.jp/~freewing/software/build_fritzing_100_windows/ -rem Copyright (c) 2023-2024 FREE WING,Y.Sakamoto -echo %0 -timeout /T 10 /NOBREAK -rem Load configuration -if exist qt_config.bat call qt_config.bat - -cd /d %FRITZING_WORKSPACE_DIR% - -set Fritzing_XXX=Fritzing_105 - -ren release64 %Fritzing_XXX% - -powershell compress-archive .\%Fritzing_XXX% %Fritzing_XXX%.zip - -ren %Fritzing_XXX% release64 - -echo . -echo === -dir %Fritzing_XXX%.zip -rem Beep -rundll32 user32.dll,MessageBeep -timeout /T 1 /NOBREAK -rundll32 user32.dll,MessageBeep -timeout /T 1 /NOBREAK -rundll32 user32.dll,MessageBeep - -timeout /T 10 /NOBREAK - -start . - +@echo off +rem 20_Create_Fritzing_zip_package.bat +rem http://www.neko.ne.jp/~freewing/software/build_fritzing_100_windows/ +rem Copyright (c) 2023-2024 FREE WING,Y.Sakamoto +echo %0 +timeout /T 10 /NOBREAK +rem Load configuration +if exist qt_config.bat call qt_config.bat + +cd /d %FRITZING_WORKSPACE_DIR% + +set Fritzing_XXX=Fritzing_105 + +ren release64 %Fritzing_XXX% + +powershell compress-archive .\%Fritzing_XXX% %Fritzing_XXX%.zip + +ren %Fritzing_XXX% release64 + +echo . +echo === +dir %Fritzing_XXX%.zip +rem Beep +rundll32 user32.dll,MessageBeep +timeout /T 1 /NOBREAK +rundll32 user32.dll,MessageBeep +timeout /T 1 /NOBREAK +rundll32 user32.dll,MessageBeep + +timeout /T 10 /NOBREAK + +start . + exit \ No newline at end of file diff --git a/20_Create_Fritzing_zip_package.bat.bak b/20_Create_Fritzing_zip_package.bat.bak new file mode 100644 index 0000000..2172ff9 --- /dev/null +++ b/20_Create_Fritzing_zip_package.bat.bak @@ -0,0 +1,34 @@ +@echo off +rem 20_Create_Fritzing_zip_package.bat +rem http://www.neko.ne.jp/~freewing/software/build_fritzing_100_windows/ +rem Copyright (c) 2023-2024 FREE WING,Y.Sakamoto +echo %0 +timeout /T 10 /NOBREAK +rem Load configuration +if exist qt_config.bat call qt_config.bat + +cd /d %FRITZING_WORKSPACE_DIR% + +set Fritzing_XXX=Fritzing_105 + +ren release64 %Fritzing_XXX% + +powershell compress-archive .\%Fritzing_XXX% %Fritzing_XXX%.zip + +ren %Fritzing_XXX% release64 + +echo . +echo === +dir %Fritzing_XXX%.zip +rem Beep +rundll32 user32.dll,MessageBeep +timeout /T 1 /NOBREAK +rundll32 user32.dll,MessageBeep +timeout /T 1 /NOBREAK +rundll32 user32.dll,MessageBeep + +timeout /T 10 /NOBREAK + +start . + +exit \ No newline at end of file diff --git a/LICENSE b/LICENSE index 871ce8e..e72bfdd 100644 --- a/LICENSE +++ b/LICENSE @@ -1,674 +1,674 @@ - GNU GENERAL PUBLIC LICENSE - Version 3, 29 June 2007 - - Copyright (C) 2007 Free Software Foundation, Inc. - Everyone is permitted to copy and distribute verbatim copies - of this license document, but changing it is not allowed. - - Preamble - - The GNU General Public License is a free, copyleft license for -software and other kinds of works. - - The licenses for most software and other practical works are designed -to take away your freedom to share and change the works. By contrast, -the GNU General Public License is intended to guarantee your freedom to -share and change all versions of a program--to make sure it remains free -software for all its users. We, the Free Software Foundation, use the -GNU General Public License for most of our software; it applies also to -any other work released this way by its authors. You can apply it to -your programs, too. - - When we speak of free software, we are referring to freedom, not -price. Our General Public Licenses are designed to make sure that you -have the freedom to distribute copies of free software (and charge for -them if you wish), that you receive source code or can get it if you -want it, that you can change the software or use pieces of it in new -free programs, and that you know you can do these things. - - To protect your rights, we need to prevent others from denying you -these rights or asking you to surrender the rights. Therefore, you have -certain responsibilities if you distribute copies of the software, or if -you modify it: responsibilities to respect the freedom of others. - - For example, if you distribute copies of such a program, whether -gratis or for a fee, you must pass on to the recipients the same -freedoms that you received. You must make sure that they, too, receive -or can get the source code. And you must show them these terms so they -know their rights. - - Developers that use the GNU GPL protect your rights with two steps: -(1) assert copyright on the software, and (2) offer you this License -giving you legal permission to copy, distribute and/or modify it. - - For the developers' and authors' protection, the GPL clearly explains -that there is no warranty for this free software. For both users' and -authors' sake, the GPL requires that modified versions be marked as -changed, so that their problems will not be attributed erroneously to -authors of previous versions. - - Some devices are designed to deny users access to install or run -modified versions of the software inside them, although the manufacturer -can do so. This is fundamentally incompatible with the aim of -protecting users' freedom to change the software. The systematic -pattern of such abuse occurs in the area of products for individuals to -use, which is precisely where it is most unacceptable. Therefore, we -have designed this version of the GPL to prohibit the practice for those -products. If such problems arise substantially in other domains, we -stand ready to extend this provision to those domains in future versions -of the GPL, as needed to protect the freedom of users. - - Finally, every program is threatened constantly by software patents. -States should not allow patents to restrict development and use of -software on general-purpose computers, but in those that do, we wish to -avoid the special danger that patents applied to a free program could -make it effectively proprietary. To prevent this, the GPL assures that -patents cannot be used to render the program non-free. - - The precise terms and conditions for copying, distribution and -modification follow. - - TERMS AND CONDITIONS - - 0. Definitions. - - "This License" refers to version 3 of the GNU General Public License. - - "Copyright" also means copyright-like laws that apply to other kinds of -works, such as semiconductor masks. - - "The Program" refers to any copyrightable work licensed under this -License. Each licensee is addressed as "you". "Licensees" and -"recipients" may be individuals or organizations. - - To "modify" a work means to copy from or adapt all or part of the work -in a fashion requiring copyright permission, other than the making of an -exact copy. The resulting work is called a "modified version" of the -earlier work or a work "based on" the earlier work. - - A "covered work" means either the unmodified Program or a work based -on the Program. - - To "propagate" a work means to do anything with it that, without -permission, would make you directly or secondarily liable for -infringement under applicable copyright law, except executing it on a -computer or modifying a private copy. Propagation includes copying, -distribution (with or without modification), making available to the -public, and in some countries other activities as well. - - To "convey" a work means any kind of propagation that enables other -parties to make or receive copies. Mere interaction with a user through -a computer network, with no transfer of a copy, is not conveying. - - An interactive user interface displays "Appropriate Legal Notices" -to the extent that it includes a convenient and prominently visible -feature that (1) displays an appropriate copyright notice, and (2) -tells the user that there is no warranty for the work (except to the -extent that warranties are provided), that licensees may convey the -work under this License, and how to view a copy of this License. If -the interface presents a list of user commands or options, such as a -menu, a prominent item in the list meets this criterion. - - 1. Source Code. - - The "source code" for a work means the preferred form of the work -for making modifications to it. "Object code" means any non-source -form of a work. - - A "Standard Interface" means an interface that either is an official -standard defined by a recognized standards body, or, in the case of -interfaces specified for a particular programming language, one that -is widely used among developers working in that language. - - The "System Libraries" of an executable work include anything, other -than the work as a whole, that (a) is included in the normal form of -packaging a Major Component, but which is not part of that Major -Component, and (b) serves only to enable use of the work with that -Major Component, or to implement a Standard Interface for which an -implementation is available to the public in source code form. A -"Major Component", in this context, means a major essential component -(kernel, window system, and so on) of the specific operating system -(if any) on which the executable work runs, or a compiler used to -produce the work, or an object code interpreter used to run it. - - The "Corresponding Source" for a work in object code form means all -the source code needed to generate, install, and (for an executable -work) run the object code and to modify the work, including scripts to -control those activities. However, it does not include the work's -System Libraries, or general-purpose tools or generally available free -programs which are used unmodified in performing those activities but -which are not part of the work. For example, Corresponding Source -includes interface definition files associated with source files for -the work, and the source code for shared libraries and dynamically -linked subprograms that the work is specifically designed to require, -such as by intimate data communication or control flow between those -subprograms and other parts of the work. - - The Corresponding Source need not include anything that users -can regenerate automatically from other parts of the Corresponding -Source. - - The Corresponding Source for a work in source code form is that -same work. - - 2. Basic Permissions. - - All rights granted under this License are granted for the term of -copyright on the Program, and are irrevocable provided the stated -conditions are met. This License explicitly affirms your unlimited -permission to run the unmodified Program. The output from running a -covered work is covered by this License only if the output, given its -content, constitutes a covered work. This License acknowledges your -rights of fair use or other equivalent, as provided by copyright law. - - You may make, run and propagate covered works that you do not -convey, without conditions so long as your license otherwise remains -in force. You may convey covered works to others for the sole purpose -of having them make modifications exclusively for you, or provide you -with facilities for running those works, provided that you comply with -the terms of this License in conveying all material for which you do -not control copyright. Those thus making or running the covered works -for you must do so exclusively on your behalf, under your direction -and control, on terms that prohibit them from making any copies of -your copyrighted material outside their relationship with you. - - Conveying under any other circumstances is permitted solely under -the conditions stated below. Sublicensing is not allowed; section 10 -makes it unnecessary. - - 3. Protecting Users' Legal Rights From Anti-Circumvention Law. - - No covered work shall be deemed part of an effective technological -measure under any applicable law fulfilling obligations under article -11 of the WIPO copyright treaty adopted on 20 December 1996, or -similar laws prohibiting or restricting circumvention of such -measures. - - When you convey a covered work, you waive any legal power to forbid -circumvention of technological measures to the extent such circumvention -is effected by exercising rights under this License with respect to -the covered work, and you disclaim any intention to limit operation or -modification of the work as a means of enforcing, against the work's -users, your or third parties' legal rights to forbid circumvention of -technological measures. - - 4. Conveying Verbatim Copies. - - You may convey verbatim copies of the Program's source code as you -receive it, in any medium, provided that you conspicuously and -appropriately publish on each copy an appropriate copyright notice; -keep intact all notices stating that this License and any -non-permissive terms added in accord with section 7 apply to the code; -keep intact all notices of the absence of any warranty; and give all -recipients a copy of this License along with the Program. - - You may charge any price or no price for each copy that you convey, -and you may offer support or warranty protection for a fee. - - 5. Conveying Modified Source Versions. - - You may convey a work based on the Program, or the modifications to -produce it from the Program, in the form of source code under the -terms of section 4, provided that you also meet all of these conditions: - - a) The work must carry prominent notices stating that you modified - it, and giving a relevant date. - - b) The work must carry prominent notices stating that it is - released under this License and any conditions added under section - 7. This requirement modifies the requirement in section 4 to - "keep intact all notices". - - c) You must license the entire work, as a whole, under this - License to anyone who comes into possession of a copy. This - License will therefore apply, along with any applicable section 7 - additional terms, to the whole of the work, and all its parts, - regardless of how they are packaged. This License gives no - permission to license the work in any other way, but it does not - invalidate such permission if you have separately received it. - - d) If the work has interactive user interfaces, each must display - Appropriate Legal Notices; however, if the Program has interactive - interfaces that do not display Appropriate Legal Notices, your - work need not make them do so. - - A compilation of a covered work with other separate and independent -works, which are not by their nature extensions of the covered work, -and which are not combined with it such as to form a larger program, -in or on a volume of a storage or distribution medium, is called an -"aggregate" if the compilation and its resulting copyright are not -used to limit the access or legal rights of the compilation's users -beyond what the individual works permit. Inclusion of a covered work -in an aggregate does not cause this License to apply to the other -parts of the aggregate. - - 6. Conveying Non-Source Forms. - - You may convey a covered work in object code form under the terms -of sections 4 and 5, provided that you also convey the -machine-readable Corresponding Source under the terms of this License, -in one of these ways: - - a) Convey the object code in, or embodied in, a physical product - (including a physical distribution medium), accompanied by the - Corresponding Source fixed on a durable physical medium - customarily used for software interchange. - - b) Convey the object code in, or embodied in, a physical product - (including a physical distribution medium), accompanied by a - written offer, valid for at least three years and valid for as - long as you offer spare parts or customer support for that product - model, to give anyone who possesses the object code either (1) a - copy of the Corresponding Source for all the software in the - product that is covered by this License, on a durable physical - medium customarily used for software interchange, for a price no - more than your reasonable cost of physically performing this - conveying of source, or (2) access to copy the - Corresponding Source from a network server at no charge. - - c) Convey individual copies of the object code with a copy of the - written offer to provide the Corresponding Source. This - alternative is allowed only occasionally and noncommercially, and - only if you received the object code with such an offer, in accord - with subsection 6b. - - d) Convey the object code by offering access from a designated - place (gratis or for a charge), and offer equivalent access to the - Corresponding Source in the same way through the same place at no - further charge. You need not require recipients to copy the - Corresponding Source along with the object code. If the place to - copy the object code is a network server, the Corresponding Source - may be on a different server (operated by you or a third party) - that supports equivalent copying facilities, provided you maintain - clear directions next to the object code saying where to find the - Corresponding Source. Regardless of what server hosts the - Corresponding Source, you remain obligated to ensure that it is - available for as long as needed to satisfy these requirements. - - e) Convey the object code using peer-to-peer transmission, provided - you inform other peers where the object code and Corresponding - Source of the work are being offered to the general public at no - charge under subsection 6d. - - A separable portion of the object code, whose source code is excluded -from the Corresponding Source as a System Library, need not be -included in conveying the object code work. - - A "User Product" is either (1) a "consumer product", which means any -tangible personal property which is normally used for personal, family, -or household purposes, or (2) anything designed or sold for incorporation -into a dwelling. In determining whether a product is a consumer product, -doubtful cases shall be resolved in favor of coverage. For a particular -product received by a particular user, "normally used" refers to a -typical or common use of that class of product, regardless of the status -of the particular user or of the way in which the particular user -actually uses, or expects or is expected to use, the product. A product -is a consumer product regardless of whether the product has substantial -commercial, industrial or non-consumer uses, unless such uses represent -the only significant mode of use of the product. - - "Installation Information" for a User Product means any methods, -procedures, authorization keys, or other information required to install -and execute modified versions of a covered work in that User Product from -a modified version of its Corresponding Source. The information must -suffice to ensure that the continued functioning of the modified object -code is in no case prevented or interfered with solely because -modification has been made. - - If you convey an object code work under this section in, or with, or -specifically for use in, a User Product, and the conveying occurs as -part of a transaction in which the right of possession and use of the -User Product is transferred to the recipient in perpetuity or for a -fixed term (regardless of how the transaction is characterized), the -Corresponding Source conveyed under this section must be accompanied -by the Installation Information. But this requirement does not apply -if neither you nor any third party retains the ability to install -modified object code on the User Product (for example, the work has -been installed in ROM). - - The requirement to provide Installation Information does not include a -requirement to continue to provide support service, warranty, or updates -for a work that has been modified or installed by the recipient, or for -the User Product in which it has been modified or installed. Access to a -network may be denied when the modification itself materially and -adversely affects the operation of the network or violates the rules and -protocols for communication across the network. - - Corresponding Source conveyed, and Installation Information provided, -in accord with this section must be in a format that is publicly -documented (and with an implementation available to the public in -source code form), and must require no special password or key for -unpacking, reading or copying. - - 7. Additional Terms. - - "Additional permissions" are terms that supplement the terms of this -License by making exceptions from one or more of its conditions. -Additional permissions that are applicable to the entire Program shall -be treated as though they were included in this License, to the extent -that they are valid under applicable law. If additional permissions -apply only to part of the Program, that part may be used separately -under those permissions, but the entire Program remains governed by -this License without regard to the additional permissions. - - When you convey a copy of a covered work, you may at your option -remove any additional permissions from that copy, or from any part of -it. (Additional permissions may be written to require their own -removal in certain cases when you modify the work.) You may place -additional permissions on material, added by you to a covered work, -for which you have or can give appropriate copyright permission. - - Notwithstanding any other provision of this License, for material you -add to a covered work, you may (if authorized by the copyright holders of -that material) supplement the terms of this License with terms: - - a) Disclaiming warranty or limiting liability differently from the - terms of sections 15 and 16 of this License; or - - b) Requiring preservation of specified reasonable legal notices or - author attributions in that material or in the Appropriate Legal - Notices displayed by works containing it; or - - c) Prohibiting misrepresentation of the origin of that material, or - requiring that modified versions of such material be marked in - reasonable ways as different from the original version; or - - d) Limiting the use for publicity purposes of names of licensors or - authors of the material; or - - e) Declining to grant rights under trademark law for use of some - trade names, trademarks, or service marks; or - - f) Requiring indemnification of licensors and authors of that - material by anyone who conveys the material (or modified versions of - it) with contractual assumptions of liability to the recipient, for - any liability that these contractual assumptions directly impose on - those licensors and authors. - - All other non-permissive additional terms are considered "further -restrictions" within the meaning of section 10. If the Program as you -received it, or any part of it, contains a notice stating that it is -governed by this License along with a term that is a further -restriction, you may remove that term. If a license document contains -a further restriction but permits relicensing or conveying under this -License, you may add to a covered work material governed by the terms -of that license document, provided that the further restriction does -not survive such relicensing or conveying. - - If you add terms to a covered work in accord with this section, you -must place, in the relevant source files, a statement of the -additional terms that apply to those files, or a notice indicating -where to find the applicable terms. - - Additional terms, permissive or non-permissive, may be stated in the -form of a separately written license, or stated as exceptions; -the above requirements apply either way. - - 8. Termination. - - You may not propagate or modify a covered work except as expressly -provided under this License. Any attempt otherwise to propagate or -modify it is void, and will automatically terminate your rights under -this License (including any patent licenses granted under the third -paragraph of section 11). - - However, if you cease all violation of this License, then your -license from a particular copyright holder is reinstated (a) -provisionally, unless and until the copyright holder explicitly and -finally terminates your license, and (b) permanently, if the copyright -holder fails to notify you of the violation by some reasonable means -prior to 60 days after the cessation. - - Moreover, your license from a particular copyright holder is -reinstated permanently if the copyright holder notifies you of the -violation by some reasonable means, this is the first time you have -received notice of violation of this License (for any work) from that -copyright holder, and you cure the violation prior to 30 days after -your receipt of the notice. - - Termination of your rights under this section does not terminate the -licenses of parties who have received copies or rights from you under -this License. If your rights have been terminated and not permanently -reinstated, you do not qualify to receive new licenses for the same -material under section 10. - - 9. Acceptance Not Required for Having Copies. - - You are not required to accept this License in order to receive or -run a copy of the Program. Ancillary propagation of a covered work -occurring solely as a consequence of using peer-to-peer transmission -to receive a copy likewise does not require acceptance. However, -nothing other than this License grants you permission to propagate or -modify any covered work. These actions infringe copyright if you do -not accept this License. Therefore, by modifying or propagating a -covered work, you indicate your acceptance of this License to do so. - - 10. Automatic Licensing of Downstream Recipients. - - Each time you convey a covered work, the recipient automatically -receives a license from the original licensors, to run, modify and -propagate that work, subject to this License. You are not responsible -for enforcing compliance by third parties with this License. - - An "entity transaction" is a transaction transferring control of an -organization, or substantially all assets of one, or subdividing an -organization, or merging organizations. If propagation of a covered -work results from an entity transaction, each party to that -transaction who receives a copy of the work also receives whatever -licenses to the work the party's predecessor in interest had or could -give under the previous paragraph, plus a right to possession of the -Corresponding Source of the work from the predecessor in interest, if -the predecessor has it or can get it with reasonable efforts. - - You may not impose any further restrictions on the exercise of the -rights granted or affirmed under this License. For example, you may -not impose a license fee, royalty, or other charge for exercise of -rights granted under this License, and you may not initiate litigation -(including a cross-claim or counterclaim in a lawsuit) alleging that -any patent claim is infringed by making, using, selling, offering for -sale, or importing the Program or any portion of it. - - 11. Patents. - - A "contributor" is a copyright holder who authorizes use under this -License of the Program or a work on which the Program is based. The -work thus licensed is called the contributor's "contributor version". - - A contributor's "essential patent claims" are all patent claims -owned or controlled by the contributor, whether already acquired or -hereafter acquired, that would be infringed by some manner, permitted -by this License, of making, using, or selling its contributor version, -but do not include claims that would be infringed only as a -consequence of further modification of the contributor version. For -purposes of this definition, "control" includes the right to grant -patent sublicenses in a manner consistent with the requirements of -this License. - - Each contributor grants you a non-exclusive, worldwide, royalty-free -patent license under the contributor's essential patent claims, to -make, use, sell, offer for sale, import and otherwise run, modify and -propagate the contents of its contributor version. - - In the following three paragraphs, a "patent license" is any express -agreement or commitment, however denominated, not to enforce a patent -(such as an express permission to practice a patent or covenant not to -sue for patent infringement). To "grant" such a patent license to a -party means to make such an agreement or commitment not to enforce a -patent against the party. - - If you convey a covered work, knowingly relying on a patent license, -and the Corresponding Source of the work is not available for anyone -to copy, free of charge and under the terms of this License, through a -publicly available network server or other readily accessible means, -then you must either (1) cause the Corresponding Source to be so -available, or (2) arrange to deprive yourself of the benefit of the -patent license for this particular work, or (3) arrange, in a manner -consistent with the requirements of this License, to extend the patent -license to downstream recipients. "Knowingly relying" means you have -actual knowledge that, but for the patent license, your conveying the -covered work in a country, or your recipient's use of the covered work -in a country, would infringe one or more identifiable patents in that -country that you have reason to believe are valid. - - If, pursuant to or in connection with a single transaction or -arrangement, you convey, or propagate by procuring conveyance of, a -covered work, and grant a patent license to some of the parties -receiving the covered work authorizing them to use, propagate, modify -or convey a specific copy of the covered work, then the patent license -you grant is automatically extended to all recipients of the covered -work and works based on it. - - A patent license is "discriminatory" if it does not include within -the scope of its coverage, prohibits the exercise of, or is -conditioned on the non-exercise of one or more of the rights that are -specifically granted under this License. You may not convey a covered -work if you are a party to an arrangement with a third party that is -in the business of distributing software, under which you make payment -to the third party based on the extent of your activity of conveying -the work, and under which the third party grants, to any of the -parties who would receive the covered work from you, a discriminatory -patent license (a) in connection with copies of the covered work -conveyed by you (or copies made from those copies), or (b) primarily -for and in connection with specific products or compilations that -contain the covered work, unless you entered into that arrangement, -or that patent license was granted, prior to 28 March 2007. - - Nothing in this License shall be construed as excluding or limiting -any implied license or other defenses to infringement that may -otherwise be available to you under applicable patent law. - - 12. No Surrender of Others' Freedom. - - If conditions are imposed on you (whether by court order, agreement or -otherwise) that contradict the conditions of this License, they do not -excuse you from the conditions of this License. If you cannot convey a -covered work so as to satisfy simultaneously your obligations under this -License and any other pertinent obligations, then as a consequence you may -not convey it at all. For example, if you agree to terms that obligate you -to collect a royalty for further conveying from those to whom you convey -the Program, the only way you could satisfy both those terms and this -License would be to refrain entirely from conveying the Program. - - 13. Use with the GNU Affero General Public License. - - Notwithstanding any other provision of this License, you have -permission to link or combine any covered work with a work licensed -under version 3 of the GNU Affero General Public License into a single -combined work, and to convey the resulting work. The terms of this -License will continue to apply to the part which is the covered work, -but the special requirements of the GNU Affero General Public License, -section 13, concerning interaction through a network will apply to the -combination as such. - - 14. Revised Versions of this License. - - The Free Software Foundation may publish revised and/or new versions of -the GNU General Public License from time to time. Such new versions will -be similar in spirit to the present version, but may differ in detail to -address new problems or concerns. - - Each version is given a distinguishing version number. If the -Program specifies that a certain numbered version of the GNU General -Public License "or any later version" applies to it, you have the -option of following the terms and conditions either of that numbered -version or of any later version published by the Free Software -Foundation. If the Program does not specify a version number of the -GNU General Public License, you may choose any version ever published -by the Free Software Foundation. - - If the Program specifies that a proxy can decide which future -versions of the GNU General Public License can be used, that proxy's -public statement of acceptance of a version permanently authorizes you -to choose that version for the Program. - - Later license versions may give you additional or different -permissions. However, no additional obligations are imposed on any -author or copyright holder as a result of your choosing to follow a -later version. - - 15. Disclaimer of Warranty. - - THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY -APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT -HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY -OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, -THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM -IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF -ALL NECESSARY SERVICING, REPAIR OR CORRECTION. - - 16. Limitation of Liability. - - IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING -WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS -THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY -GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE -USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF -DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD -PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), -EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF -SUCH DAMAGES. - - 17. Interpretation of Sections 15 and 16. - - If the disclaimer of warranty and limitation of liability provided -above cannot be given local legal effect according to their terms, -reviewing courts shall apply local law that most closely approximates -an absolute waiver of all civil liability in connection with the -Program, unless a warranty or assumption of liability accompanies a -copy of the Program in return for a fee. - - END OF TERMS AND CONDITIONS - - How to Apply These Terms to Your New Programs - - If you develop a new program, and you want it to be of the greatest -possible use to the public, the best way to achieve this is to make it -free software which everyone can redistribute and change under these terms. - - To do so, attach the following notices to the program. It is safest -to attach them to the start of each source file to most effectively -state the exclusion of warranty; and each file should have at least -the "copyright" line and a pointer to where the full notice is found. - - - Copyright (C) - - This program is free software: you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program. If not, see . - -Also add information on how to contact you by electronic and paper mail. - - If the program does terminal interaction, make it output a short -notice like this when it starts in an interactive mode: - - Copyright (C) - This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. - This is free software, and you are welcome to redistribute it - under certain conditions; type `show c' for details. - -The hypothetical commands `show w' and `show c' should show the appropriate -parts of the General Public License. Of course, your program's commands -might be different; for a GUI interface, you would use an "about box". - - You should also get your employer (if you work as a programmer) or school, -if any, to sign a "copyright disclaimer" for the program, if necessary. -For more information on this, and how to apply and follow the GNU GPL, see -. - - The GNU General Public License does not permit incorporating your program -into proprietary programs. If your program is a subroutine library, you -may consider it more useful to permit linking proprietary applications with -the library. If this is what you want to do, use the GNU Lesser General -Public License instead of this License. But first, please read + GNU GENERAL PUBLIC LICENSE + Version 3, 29 June 2007 + + Copyright (C) 2007 Free Software Foundation, Inc. + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The GNU General Public License is a free, copyleft license for +software and other kinds of works. + + The licenses for most software and other practical works are designed +to take away your freedom to share and change the works. By contrast, +the GNU General Public License is intended to guarantee your freedom to +share and change all versions of a program--to make sure it remains free +software for all its users. We, the Free Software Foundation, use the +GNU General Public License for most of our software; it applies also to +any other work released this way by its authors. You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +them if you wish), that you receive source code or can get it if you +want it, that you can change the software or use pieces of it in new +free programs, and that you know you can do these things. + + To protect your rights, we need to prevent others from denying you +these rights or asking you to surrender the rights. Therefore, you have +certain responsibilities if you distribute copies of the software, or if +you modify it: responsibilities to respect the freedom of others. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must pass on to the recipients the same +freedoms that you received. You must make sure that they, too, receive +or can get the source code. And you must show them these terms so they +know their rights. + + Developers that use the GNU GPL protect your rights with two steps: +(1) assert copyright on the software, and (2) offer you this License +giving you legal permission to copy, distribute and/or modify it. + + For the developers' and authors' protection, the GPL clearly explains +that there is no warranty for this free software. For both users' and +authors' sake, the GPL requires that modified versions be marked as +changed, so that their problems will not be attributed erroneously to +authors of previous versions. + + Some devices are designed to deny users access to install or run +modified versions of the software inside them, although the manufacturer +can do so. This is fundamentally incompatible with the aim of +protecting users' freedom to change the software. The systematic +pattern of such abuse occurs in the area of products for individuals to +use, which is precisely where it is most unacceptable. Therefore, we +have designed this version of the GPL to prohibit the practice for those +products. If such problems arise substantially in other domains, we +stand ready to extend this provision to those domains in future versions +of the GPL, as needed to protect the freedom of users. + + Finally, every program is threatened constantly by software patents. +States should not allow patents to restrict development and use of +software on general-purpose computers, but in those that do, we wish to +avoid the special danger that patents applied to a free program could +make it effectively proprietary. To prevent this, the GPL assures that +patents cannot be used to render the program non-free. + + The precise terms and conditions for copying, distribution and +modification follow. + + TERMS AND CONDITIONS + + 0. Definitions. + + "This License" refers to version 3 of the GNU General Public License. + + "Copyright" also means copyright-like laws that apply to other kinds of +works, such as semiconductor masks. + + "The Program" refers to any copyrightable work licensed under this +License. Each licensee is addressed as "you". "Licensees" and +"recipients" may be individuals or organizations. + + To "modify" a work means to copy from or adapt all or part of the work +in a fashion requiring copyright permission, other than the making of an +exact copy. The resulting work is called a "modified version" of the +earlier work or a work "based on" the earlier work. + + A "covered work" means either the unmodified Program or a work based +on the Program. + + To "propagate" a work means to do anything with it that, without +permission, would make you directly or secondarily liable for +infringement under applicable copyright law, except executing it on a +computer or modifying a private copy. Propagation includes copying, +distribution (with or without modification), making available to the +public, and in some countries other activities as well. + + To "convey" a work means any kind of propagation that enables other +parties to make or receive copies. Mere interaction with a user through +a computer network, with no transfer of a copy, is not conveying. + + An interactive user interface displays "Appropriate Legal Notices" +to the extent that it includes a convenient and prominently visible +feature that (1) displays an appropriate copyright notice, and (2) +tells the user that there is no warranty for the work (except to the +extent that warranties are provided), that licensees may convey the +work under this License, and how to view a copy of this License. If +the interface presents a list of user commands or options, such as a +menu, a prominent item in the list meets this criterion. + + 1. Source Code. + + The "source code" for a work means the preferred form of the work +for making modifications to it. "Object code" means any non-source +form of a work. + + A "Standard Interface" means an interface that either is an official +standard defined by a recognized standards body, or, in the case of +interfaces specified for a particular programming language, one that +is widely used among developers working in that language. + + The "System Libraries" of an executable work include anything, other +than the work as a whole, that (a) is included in the normal form of +packaging a Major Component, but which is not part of that Major +Component, and (b) serves only to enable use of the work with that +Major Component, or to implement a Standard Interface for which an +implementation is available to the public in source code form. A +"Major Component", in this context, means a major essential component +(kernel, window system, and so on) of the specific operating system +(if any) on which the executable work runs, or a compiler used to +produce the work, or an object code interpreter used to run it. + + The "Corresponding Source" for a work in object code form means all +the source code needed to generate, install, and (for an executable +work) run the object code and to modify the work, including scripts to +control those activities. However, it does not include the work's +System Libraries, or general-purpose tools or generally available free +programs which are used unmodified in performing those activities but +which are not part of the work. For example, Corresponding Source +includes interface definition files associated with source files for +the work, and the source code for shared libraries and dynamically +linked subprograms that the work is specifically designed to require, +such as by intimate data communication or control flow between those +subprograms and other parts of the work. + + The Corresponding Source need not include anything that users +can regenerate automatically from other parts of the Corresponding +Source. + + The Corresponding Source for a work in source code form is that +same work. + + 2. Basic Permissions. + + All rights granted under this License are granted for the term of +copyright on the Program, and are irrevocable provided the stated +conditions are met. This License explicitly affirms your unlimited +permission to run the unmodified Program. The output from running a +covered work is covered by this License only if the output, given its +content, constitutes a covered work. This License acknowledges your +rights of fair use or other equivalent, as provided by copyright law. + + You may make, run and propagate covered works that you do not +convey, without conditions so long as your license otherwise remains +in force. You may convey covered works to others for the sole purpose +of having them make modifications exclusively for you, or provide you +with facilities for running those works, provided that you comply with +the terms of this License in conveying all material for which you do +not control copyright. Those thus making or running the covered works +for you must do so exclusively on your behalf, under your direction +and control, on terms that prohibit them from making any copies of +your copyrighted material outside their relationship with you. + + Conveying under any other circumstances is permitted solely under +the conditions stated below. Sublicensing is not allowed; section 10 +makes it unnecessary. + + 3. Protecting Users' Legal Rights From Anti-Circumvention Law. + + No covered work shall be deemed part of an effective technological +measure under any applicable law fulfilling obligations under article +11 of the WIPO copyright treaty adopted on 20 December 1996, or +similar laws prohibiting or restricting circumvention of such +measures. + + When you convey a covered work, you waive any legal power to forbid +circumvention of technological measures to the extent such circumvention +is effected by exercising rights under this License with respect to +the covered work, and you disclaim any intention to limit operation or +modification of the work as a means of enforcing, against the work's +users, your or third parties' legal rights to forbid circumvention of +technological measures. + + 4. Conveying Verbatim Copies. + + You may convey verbatim copies of the Program's source code as you +receive it, in any medium, provided that you conspicuously and +appropriately publish on each copy an appropriate copyright notice; +keep intact all notices stating that this License and any +non-permissive terms added in accord with section 7 apply to the code; +keep intact all notices of the absence of any warranty; and give all +recipients a copy of this License along with the Program. + + You may charge any price or no price for each copy that you convey, +and you may offer support or warranty protection for a fee. + + 5. Conveying Modified Source Versions. + + You may convey a work based on the Program, or the modifications to +produce it from the Program, in the form of source code under the +terms of section 4, provided that you also meet all of these conditions: + + a) The work must carry prominent notices stating that you modified + it, and giving a relevant date. + + b) The work must carry prominent notices stating that it is + released under this License and any conditions added under section + 7. This requirement modifies the requirement in section 4 to + "keep intact all notices". + + c) You must license the entire work, as a whole, under this + License to anyone who comes into possession of a copy. This + License will therefore apply, along with any applicable section 7 + additional terms, to the whole of the work, and all its parts, + regardless of how they are packaged. This License gives no + permission to license the work in any other way, but it does not + invalidate such permission if you have separately received it. + + d) If the work has interactive user interfaces, each must display + Appropriate Legal Notices; however, if the Program has interactive + interfaces that do not display Appropriate Legal Notices, your + work need not make them do so. + + A compilation of a covered work with other separate and independent +works, which are not by their nature extensions of the covered work, +and which are not combined with it such as to form a larger program, +in or on a volume of a storage or distribution medium, is called an +"aggregate" if the compilation and its resulting copyright are not +used to limit the access or legal rights of the compilation's users +beyond what the individual works permit. Inclusion of a covered work +in an aggregate does not cause this License to apply to the other +parts of the aggregate. + + 6. Conveying Non-Source Forms. + + You may convey a covered work in object code form under the terms +of sections 4 and 5, provided that you also convey the +machine-readable Corresponding Source under the terms of this License, +in one of these ways: + + a) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by the + Corresponding Source fixed on a durable physical medium + customarily used for software interchange. + + b) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by a + written offer, valid for at least three years and valid for as + long as you offer spare parts or customer support for that product + model, to give anyone who possesses the object code either (1) a + copy of the Corresponding Source for all the software in the + product that is covered by this License, on a durable physical + medium customarily used for software interchange, for a price no + more than your reasonable cost of physically performing this + conveying of source, or (2) access to copy the + Corresponding Source from a network server at no charge. + + c) Convey individual copies of the object code with a copy of the + written offer to provide the Corresponding Source. This + alternative is allowed only occasionally and noncommercially, and + only if you received the object code with such an offer, in accord + with subsection 6b. + + d) Convey the object code by offering access from a designated + place (gratis or for a charge), and offer equivalent access to the + Corresponding Source in the same way through the same place at no + further charge. You need not require recipients to copy the + Corresponding Source along with the object code. If the place to + copy the object code is a network server, the Corresponding Source + may be on a different server (operated by you or a third party) + that supports equivalent copying facilities, provided you maintain + clear directions next to the object code saying where to find the + Corresponding Source. Regardless of what server hosts the + Corresponding Source, you remain obligated to ensure that it is + available for as long as needed to satisfy these requirements. + + e) Convey the object code using peer-to-peer transmission, provided + you inform other peers where the object code and Corresponding + Source of the work are being offered to the general public at no + charge under subsection 6d. + + A separable portion of the object code, whose source code is excluded +from the Corresponding Source as a System Library, need not be +included in conveying the object code work. + + A "User Product" is either (1) a "consumer product", which means any +tangible personal property which is normally used for personal, family, +or household purposes, or (2) anything designed or sold for incorporation +into a dwelling. In determining whether a product is a consumer product, +doubtful cases shall be resolved in favor of coverage. For a particular +product received by a particular user, "normally used" refers to a +typical or common use of that class of product, regardless of the status +of the particular user or of the way in which the particular user +actually uses, or expects or is expected to use, the product. A product +is a consumer product regardless of whether the product has substantial +commercial, industrial or non-consumer uses, unless such uses represent +the only significant mode of use of the product. + + "Installation Information" for a User Product means any methods, +procedures, authorization keys, or other information required to install +and execute modified versions of a covered work in that User Product from +a modified version of its Corresponding Source. The information must +suffice to ensure that the continued functioning of the modified object +code is in no case prevented or interfered with solely because +modification has been made. + + If you convey an object code work under this section in, or with, or +specifically for use in, a User Product, and the conveying occurs as +part of a transaction in which the right of possession and use of the +User Product is transferred to the recipient in perpetuity or for a +fixed term (regardless of how the transaction is characterized), the +Corresponding Source conveyed under this section must be accompanied +by the Installation Information. But this requirement does not apply +if neither you nor any third party retains the ability to install +modified object code on the User Product (for example, the work has +been installed in ROM). + + The requirement to provide Installation Information does not include a +requirement to continue to provide support service, warranty, or updates +for a work that has been modified or installed by the recipient, or for +the User Product in which it has been modified or installed. Access to a +network may be denied when the modification itself materially and +adversely affects the operation of the network or violates the rules and +protocols for communication across the network. + + Corresponding Source conveyed, and Installation Information provided, +in accord with this section must be in a format that is publicly +documented (and with an implementation available to the public in +source code form), and must require no special password or key for +unpacking, reading or copying. + + 7. Additional Terms. + + "Additional permissions" are terms that supplement the terms of this +License by making exceptions from one or more of its conditions. +Additional permissions that are applicable to the entire Program shall +be treated as though they were included in this License, to the extent +that they are valid under applicable law. If additional permissions +apply only to part of the Program, that part may be used separately +under those permissions, but the entire Program remains governed by +this License without regard to the additional permissions. + + When you convey a copy of a covered work, you may at your option +remove any additional permissions from that copy, or from any part of +it. (Additional permissions may be written to require their own +removal in certain cases when you modify the work.) You may place +additional permissions on material, added by you to a covered work, +for which you have or can give appropriate copyright permission. + + Notwithstanding any other provision of this License, for material you +add to a covered work, you may (if authorized by the copyright holders of +that material) supplement the terms of this License with terms: + + a) Disclaiming warranty or limiting liability differently from the + terms of sections 15 and 16 of this License; or + + b) Requiring preservation of specified reasonable legal notices or + author attributions in that material or in the Appropriate Legal + Notices displayed by works containing it; or + + c) Prohibiting misrepresentation of the origin of that material, or + requiring that modified versions of such material be marked in + reasonable ways as different from the original version; or + + d) Limiting the use for publicity purposes of names of licensors or + authors of the material; or + + e) Declining to grant rights under trademark law for use of some + trade names, trademarks, or service marks; or + + f) Requiring indemnification of licensors and authors of that + material by anyone who conveys the material (or modified versions of + it) with contractual assumptions of liability to the recipient, for + any liability that these contractual assumptions directly impose on + those licensors and authors. + + All other non-permissive additional terms are considered "further +restrictions" within the meaning of section 10. If the Program as you +received it, or any part of it, contains a notice stating that it is +governed by this License along with a term that is a further +restriction, you may remove that term. If a license document contains +a further restriction but permits relicensing or conveying under this +License, you may add to a covered work material governed by the terms +of that license document, provided that the further restriction does +not survive such relicensing or conveying. + + If you add terms to a covered work in accord with this section, you +must place, in the relevant source files, a statement of the +additional terms that apply to those files, or a notice indicating +where to find the applicable terms. + + Additional terms, permissive or non-permissive, may be stated in the +form of a separately written license, or stated as exceptions; +the above requirements apply either way. + + 8. Termination. + + You may not propagate or modify a covered work except as expressly +provided under this License. Any attempt otherwise to propagate or +modify it is void, and will automatically terminate your rights under +this License (including any patent licenses granted under the third +paragraph of section 11). + + However, if you cease all violation of this License, then your +license from a particular copyright holder is reinstated (a) +provisionally, unless and until the copyright holder explicitly and +finally terminates your license, and (b) permanently, if the copyright +holder fails to notify you of the violation by some reasonable means +prior to 60 days after the cessation. + + Moreover, your license from a particular copyright holder is +reinstated permanently if the copyright holder notifies you of the +violation by some reasonable means, this is the first time you have +received notice of violation of this License (for any work) from that +copyright holder, and you cure the violation prior to 30 days after +your receipt of the notice. + + Termination of your rights under this section does not terminate the +licenses of parties who have received copies or rights from you under +this License. If your rights have been terminated and not permanently +reinstated, you do not qualify to receive new licenses for the same +material under section 10. + + 9. Acceptance Not Required for Having Copies. + + You are not required to accept this License in order to receive or +run a copy of the Program. Ancillary propagation of a covered work +occurring solely as a consequence of using peer-to-peer transmission +to receive a copy likewise does not require acceptance. However, +nothing other than this License grants you permission to propagate or +modify any covered work. These actions infringe copyright if you do +not accept this License. Therefore, by modifying or propagating a +covered work, you indicate your acceptance of this License to do so. + + 10. Automatic Licensing of Downstream Recipients. + + Each time you convey a covered work, the recipient automatically +receives a license from the original licensors, to run, modify and +propagate that work, subject to this License. You are not responsible +for enforcing compliance by third parties with this License. + + An "entity transaction" is a transaction transferring control of an +organization, or substantially all assets of one, or subdividing an +organization, or merging organizations. If propagation of a covered +work results from an entity transaction, each party to that +transaction who receives a copy of the work also receives whatever +licenses to the work the party's predecessor in interest had or could +give under the previous paragraph, plus a right to possession of the +Corresponding Source of the work from the predecessor in interest, if +the predecessor has it or can get it with reasonable efforts. + + You may not impose any further restrictions on the exercise of the +rights granted or affirmed under this License. For example, you may +not impose a license fee, royalty, or other charge for exercise of +rights granted under this License, and you may not initiate litigation +(including a cross-claim or counterclaim in a lawsuit) alleging that +any patent claim is infringed by making, using, selling, offering for +sale, or importing the Program or any portion of it. + + 11. Patents. + + A "contributor" is a copyright holder who authorizes use under this +License of the Program or a work on which the Program is based. The +work thus licensed is called the contributor's "contributor version". + + A contributor's "essential patent claims" are all patent claims +owned or controlled by the contributor, whether already acquired or +hereafter acquired, that would be infringed by some manner, permitted +by this License, of making, using, or selling its contributor version, +but do not include claims that would be infringed only as a +consequence of further modification of the contributor version. For +purposes of this definition, "control" includes the right to grant +patent sublicenses in a manner consistent with the requirements of +this License. + + Each contributor grants you a non-exclusive, worldwide, royalty-free +patent license under the contributor's essential patent claims, to +make, use, sell, offer for sale, import and otherwise run, modify and +propagate the contents of its contributor version. + + In the following three paragraphs, a "patent license" is any express +agreement or commitment, however denominated, not to enforce a patent +(such as an express permission to practice a patent or covenant not to +sue for patent infringement). To "grant" such a patent license to a +party means to make such an agreement or commitment not to enforce a +patent against the party. + + If you convey a covered work, knowingly relying on a patent license, +and the Corresponding Source of the work is not available for anyone +to copy, free of charge and under the terms of this License, through a +publicly available network server or other readily accessible means, +then you must either (1) cause the Corresponding Source to be so +available, or (2) arrange to deprive yourself of the benefit of the +patent license for this particular work, or (3) arrange, in a manner +consistent with the requirements of this License, to extend the patent +license to downstream recipients. "Knowingly relying" means you have +actual knowledge that, but for the patent license, your conveying the +covered work in a country, or your recipient's use of the covered work +in a country, would infringe one or more identifiable patents in that +country that you have reason to believe are valid. + + If, pursuant to or in connection with a single transaction or +arrangement, you convey, or propagate by procuring conveyance of, a +covered work, and grant a patent license to some of the parties +receiving the covered work authorizing them to use, propagate, modify +or convey a specific copy of the covered work, then the patent license +you grant is automatically extended to all recipients of the covered +work and works based on it. + + A patent license is "discriminatory" if it does not include within +the scope of its coverage, prohibits the exercise of, or is +conditioned on the non-exercise of one or more of the rights that are +specifically granted under this License. You may not convey a covered +work if you are a party to an arrangement with a third party that is +in the business of distributing software, under which you make payment +to the third party based on the extent of your activity of conveying +the work, and under which the third party grants, to any of the +parties who would receive the covered work from you, a discriminatory +patent license (a) in connection with copies of the covered work +conveyed by you (or copies made from those copies), or (b) primarily +for and in connection with specific products or compilations that +contain the covered work, unless you entered into that arrangement, +or that patent license was granted, prior to 28 March 2007. + + Nothing in this License shall be construed as excluding or limiting +any implied license or other defenses to infringement that may +otherwise be available to you under applicable patent law. + + 12. No Surrender of Others' Freedom. + + If conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot convey a +covered work so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you may +not convey it at all. For example, if you agree to terms that obligate you +to collect a royalty for further conveying from those to whom you convey +the Program, the only way you could satisfy both those terms and this +License would be to refrain entirely from conveying the Program. + + 13. Use with the GNU Affero General Public License. + + Notwithstanding any other provision of this License, you have +permission to link or combine any covered work with a work licensed +under version 3 of the GNU Affero General Public License into a single +combined work, and to convey the resulting work. The terms of this +License will continue to apply to the part which is the covered work, +but the special requirements of the GNU Affero General Public License, +section 13, concerning interaction through a network will apply to the +combination as such. + + 14. Revised Versions of this License. + + The Free Software Foundation may publish revised and/or new versions of +the GNU General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + + Each version is given a distinguishing version number. If the +Program specifies that a certain numbered version of the GNU General +Public License "or any later version" applies to it, you have the +option of following the terms and conditions either of that numbered +version or of any later version published by the Free Software +Foundation. If the Program does not specify a version number of the +GNU General Public License, you may choose any version ever published +by the Free Software Foundation. + + If the Program specifies that a proxy can decide which future +versions of the GNU General Public License can be used, that proxy's +public statement of acceptance of a version permanently authorizes you +to choose that version for the Program. + + Later license versions may give you additional or different +permissions. However, no additional obligations are imposed on any +author or copyright holder as a result of your choosing to follow a +later version. + + 15. Disclaimer of Warranty. + + THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY +APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT +HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY +OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM +IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF +ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + + 16. Limitation of Liability. + + IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS +THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY +GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE +USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF +DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD +PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), +EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF +SUCH DAMAGES. + + 17. Interpretation of Sections 15 and 16. + + If the disclaimer of warranty and limitation of liability provided +above cannot be given local legal effect according to their terms, +reviewing courts shall apply local law that most closely approximates +an absolute waiver of all civil liability in connection with the +Program, unless a warranty or assumption of liability accompanies a +copy of the Program in return for a fee. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +state the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + + Copyright (C) + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + +Also add information on how to contact you by electronic and paper mail. + + If the program does terminal interaction, make it output a short +notice like this when it starts in an interactive mode: + + Copyright (C) + This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, your program's commands +might be different; for a GUI interface, you would use an "about box". + + You should also get your employer (if you work as a programmer) or school, +if any, to sign a "copyright disclaimer" for the program, if necessary. +For more information on this, and how to apply and follow the GNU GPL, see +. + + The GNU General Public License does not permit incorporating your program +into proprietary programs. If your program is a subroutine library, you +may consider it more useful to permit linking proprietary applications with +the library. If this is what you want to do, use the GNU Lesser General +Public License instead of this License. But first, please read . \ No newline at end of file diff --git a/LICENSE.bak b/LICENSE.bak new file mode 100644 index 0000000..e72bfdd --- /dev/null +++ b/LICENSE.bak @@ -0,0 +1,674 @@ + GNU GENERAL PUBLIC LICENSE + Version 3, 29 June 2007 + + Copyright (C) 2007 Free Software Foundation, Inc. + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The GNU General Public License is a free, copyleft license for +software and other kinds of works. + + The licenses for most software and other practical works are designed +to take away your freedom to share and change the works. By contrast, +the GNU General Public License is intended to guarantee your freedom to +share and change all versions of a program--to make sure it remains free +software for all its users. We, the Free Software Foundation, use the +GNU General Public License for most of our software; it applies also to +any other work released this way by its authors. You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +them if you wish), that you receive source code or can get it if you +want it, that you can change the software or use pieces of it in new +free programs, and that you know you can do these things. + + To protect your rights, we need to prevent others from denying you +these rights or asking you to surrender the rights. Therefore, you have +certain responsibilities if you distribute copies of the software, or if +you modify it: responsibilities to respect the freedom of others. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must pass on to the recipients the same +freedoms that you received. You must make sure that they, too, receive +or can get the source code. And you must show them these terms so they +know their rights. + + Developers that use the GNU GPL protect your rights with two steps: +(1) assert copyright on the software, and (2) offer you this License +giving you legal permission to copy, distribute and/or modify it. + + For the developers' and authors' protection, the GPL clearly explains +that there is no warranty for this free software. For both users' and +authors' sake, the GPL requires that modified versions be marked as +changed, so that their problems will not be attributed erroneously to +authors of previous versions. + + Some devices are designed to deny users access to install or run +modified versions of the software inside them, although the manufacturer +can do so. This is fundamentally incompatible with the aim of +protecting users' freedom to change the software. The systematic +pattern of such abuse occurs in the area of products for individuals to +use, which is precisely where it is most unacceptable. Therefore, we +have designed this version of the GPL to prohibit the practice for those +products. If such problems arise substantially in other domains, we +stand ready to extend this provision to those domains in future versions +of the GPL, as needed to protect the freedom of users. + + Finally, every program is threatened constantly by software patents. +States should not allow patents to restrict development and use of +software on general-purpose computers, but in those that do, we wish to +avoid the special danger that patents applied to a free program could +make it effectively proprietary. To prevent this, the GPL assures that +patents cannot be used to render the program non-free. + + The precise terms and conditions for copying, distribution and +modification follow. + + TERMS AND CONDITIONS + + 0. Definitions. + + "This License" refers to version 3 of the GNU General Public License. + + "Copyright" also means copyright-like laws that apply to other kinds of +works, such as semiconductor masks. + + "The Program" refers to any copyrightable work licensed under this +License. Each licensee is addressed as "you". "Licensees" and +"recipients" may be individuals or organizations. + + To "modify" a work means to copy from or adapt all or part of the work +in a fashion requiring copyright permission, other than the making of an +exact copy. The resulting work is called a "modified version" of the +earlier work or a work "based on" the earlier work. + + A "covered work" means either the unmodified Program or a work based +on the Program. + + To "propagate" a work means to do anything with it that, without +permission, would make you directly or secondarily liable for +infringement under applicable copyright law, except executing it on a +computer or modifying a private copy. Propagation includes copying, +distribution (with or without modification), making available to the +public, and in some countries other activities as well. + + To "convey" a work means any kind of propagation that enables other +parties to make or receive copies. Mere interaction with a user through +a computer network, with no transfer of a copy, is not conveying. + + An interactive user interface displays "Appropriate Legal Notices" +to the extent that it includes a convenient and prominently visible +feature that (1) displays an appropriate copyright notice, and (2) +tells the user that there is no warranty for the work (except to the +extent that warranties are provided), that licensees may convey the +work under this License, and how to view a copy of this License. If +the interface presents a list of user commands or options, such as a +menu, a prominent item in the list meets this criterion. + + 1. Source Code. + + The "source code" for a work means the preferred form of the work +for making modifications to it. "Object code" means any non-source +form of a work. + + A "Standard Interface" means an interface that either is an official +standard defined by a recognized standards body, or, in the case of +interfaces specified for a particular programming language, one that +is widely used among developers working in that language. + + The "System Libraries" of an executable work include anything, other +than the work as a whole, that (a) is included in the normal form of +packaging a Major Component, but which is not part of that Major +Component, and (b) serves only to enable use of the work with that +Major Component, or to implement a Standard Interface for which an +implementation is available to the public in source code form. A +"Major Component", in this context, means a major essential component +(kernel, window system, and so on) of the specific operating system +(if any) on which the executable work runs, or a compiler used to +produce the work, or an object code interpreter used to run it. + + The "Corresponding Source" for a work in object code form means all +the source code needed to generate, install, and (for an executable +work) run the object code and to modify the work, including scripts to +control those activities. However, it does not include the work's +System Libraries, or general-purpose tools or generally available free +programs which are used unmodified in performing those activities but +which are not part of the work. For example, Corresponding Source +includes interface definition files associated with source files for +the work, and the source code for shared libraries and dynamically +linked subprograms that the work is specifically designed to require, +such as by intimate data communication or control flow between those +subprograms and other parts of the work. + + The Corresponding Source need not include anything that users +can regenerate automatically from other parts of the Corresponding +Source. + + The Corresponding Source for a work in source code form is that +same work. + + 2. Basic Permissions. + + All rights granted under this License are granted for the term of +copyright on the Program, and are irrevocable provided the stated +conditions are met. This License explicitly affirms your unlimited +permission to run the unmodified Program. The output from running a +covered work is covered by this License only if the output, given its +content, constitutes a covered work. This License acknowledges your +rights of fair use or other equivalent, as provided by copyright law. + + You may make, run and propagate covered works that you do not +convey, without conditions so long as your license otherwise remains +in force. You may convey covered works to others for the sole purpose +of having them make modifications exclusively for you, or provide you +with facilities for running those works, provided that you comply with +the terms of this License in conveying all material for which you do +not control copyright. Those thus making or running the covered works +for you must do so exclusively on your behalf, under your direction +and control, on terms that prohibit them from making any copies of +your copyrighted material outside their relationship with you. + + Conveying under any other circumstances is permitted solely under +the conditions stated below. Sublicensing is not allowed; section 10 +makes it unnecessary. + + 3. Protecting Users' Legal Rights From Anti-Circumvention Law. + + No covered work shall be deemed part of an effective technological +measure under any applicable law fulfilling obligations under article +11 of the WIPO copyright treaty adopted on 20 December 1996, or +similar laws prohibiting or restricting circumvention of such +measures. + + When you convey a covered work, you waive any legal power to forbid +circumvention of technological measures to the extent such circumvention +is effected by exercising rights under this License with respect to +the covered work, and you disclaim any intention to limit operation or +modification of the work as a means of enforcing, against the work's +users, your or third parties' legal rights to forbid circumvention of +technological measures. + + 4. Conveying Verbatim Copies. + + You may convey verbatim copies of the Program's source code as you +receive it, in any medium, provided that you conspicuously and +appropriately publish on each copy an appropriate copyright notice; +keep intact all notices stating that this License and any +non-permissive terms added in accord with section 7 apply to the code; +keep intact all notices of the absence of any warranty; and give all +recipients a copy of this License along with the Program. + + You may charge any price or no price for each copy that you convey, +and you may offer support or warranty protection for a fee. + + 5. Conveying Modified Source Versions. + + You may convey a work based on the Program, or the modifications to +produce it from the Program, in the form of source code under the +terms of section 4, provided that you also meet all of these conditions: + + a) The work must carry prominent notices stating that you modified + it, and giving a relevant date. + + b) The work must carry prominent notices stating that it is + released under this License and any conditions added under section + 7. This requirement modifies the requirement in section 4 to + "keep intact all notices". + + c) You must license the entire work, as a whole, under this + License to anyone who comes into possession of a copy. This + License will therefore apply, along with any applicable section 7 + additional terms, to the whole of the work, and all its parts, + regardless of how they are packaged. This License gives no + permission to license the work in any other way, but it does not + invalidate such permission if you have separately received it. + + d) If the work has interactive user interfaces, each must display + Appropriate Legal Notices; however, if the Program has interactive + interfaces that do not display Appropriate Legal Notices, your + work need not make them do so. + + A compilation of a covered work with other separate and independent +works, which are not by their nature extensions of the covered work, +and which are not combined with it such as to form a larger program, +in or on a volume of a storage or distribution medium, is called an +"aggregate" if the compilation and its resulting copyright are not +used to limit the access or legal rights of the compilation's users +beyond what the individual works permit. Inclusion of a covered work +in an aggregate does not cause this License to apply to the other +parts of the aggregate. + + 6. Conveying Non-Source Forms. + + You may convey a covered work in object code form under the terms +of sections 4 and 5, provided that you also convey the +machine-readable Corresponding Source under the terms of this License, +in one of these ways: + + a) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by the + Corresponding Source fixed on a durable physical medium + customarily used for software interchange. + + b) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by a + written offer, valid for at least three years and valid for as + long as you offer spare parts or customer support for that product + model, to give anyone who possesses the object code either (1) a + copy of the Corresponding Source for all the software in the + product that is covered by this License, on a durable physical + medium customarily used for software interchange, for a price no + more than your reasonable cost of physically performing this + conveying of source, or (2) access to copy the + Corresponding Source from a network server at no charge. + + c) Convey individual copies of the object code with a copy of the + written offer to provide the Corresponding Source. This + alternative is allowed only occasionally and noncommercially, and + only if you received the object code with such an offer, in accord + with subsection 6b. + + d) Convey the object code by offering access from a designated + place (gratis or for a charge), and offer equivalent access to the + Corresponding Source in the same way through the same place at no + further charge. You need not require recipients to copy the + Corresponding Source along with the object code. If the place to + copy the object code is a network server, the Corresponding Source + may be on a different server (operated by you or a third party) + that supports equivalent copying facilities, provided you maintain + clear directions next to the object code saying where to find the + Corresponding Source. Regardless of what server hosts the + Corresponding Source, you remain obligated to ensure that it is + available for as long as needed to satisfy these requirements. + + e) Convey the object code using peer-to-peer transmission, provided + you inform other peers where the object code and Corresponding + Source of the work are being offered to the general public at no + charge under subsection 6d. + + A separable portion of the object code, whose source code is excluded +from the Corresponding Source as a System Library, need not be +included in conveying the object code work. + + A "User Product" is either (1) a "consumer product", which means any +tangible personal property which is normally used for personal, family, +or household purposes, or (2) anything designed or sold for incorporation +into a dwelling. In determining whether a product is a consumer product, +doubtful cases shall be resolved in favor of coverage. For a particular +product received by a particular user, "normally used" refers to a +typical or common use of that class of product, regardless of the status +of the particular user or of the way in which the particular user +actually uses, or expects or is expected to use, the product. A product +is a consumer product regardless of whether the product has substantial +commercial, industrial or non-consumer uses, unless such uses represent +the only significant mode of use of the product. + + "Installation Information" for a User Product means any methods, +procedures, authorization keys, or other information required to install +and execute modified versions of a covered work in that User Product from +a modified version of its Corresponding Source. The information must +suffice to ensure that the continued functioning of the modified object +code is in no case prevented or interfered with solely because +modification has been made. + + If you convey an object code work under this section in, or with, or +specifically for use in, a User Product, and the conveying occurs as +part of a transaction in which the right of possession and use of the +User Product is transferred to the recipient in perpetuity or for a +fixed term (regardless of how the transaction is characterized), the +Corresponding Source conveyed under this section must be accompanied +by the Installation Information. But this requirement does not apply +if neither you nor any third party retains the ability to install +modified object code on the User Product (for example, the work has +been installed in ROM). + + The requirement to provide Installation Information does not include a +requirement to continue to provide support service, warranty, or updates +for a work that has been modified or installed by the recipient, or for +the User Product in which it has been modified or installed. Access to a +network may be denied when the modification itself materially and +adversely affects the operation of the network or violates the rules and +protocols for communication across the network. + + Corresponding Source conveyed, and Installation Information provided, +in accord with this section must be in a format that is publicly +documented (and with an implementation available to the public in +source code form), and must require no special password or key for +unpacking, reading or copying. + + 7. Additional Terms. + + "Additional permissions" are terms that supplement the terms of this +License by making exceptions from one or more of its conditions. +Additional permissions that are applicable to the entire Program shall +be treated as though they were included in this License, to the extent +that they are valid under applicable law. If additional permissions +apply only to part of the Program, that part may be used separately +under those permissions, but the entire Program remains governed by +this License without regard to the additional permissions. + + When you convey a copy of a covered work, you may at your option +remove any additional permissions from that copy, or from any part of +it. (Additional permissions may be written to require their own +removal in certain cases when you modify the work.) You may place +additional permissions on material, added by you to a covered work, +for which you have or can give appropriate copyright permission. + + Notwithstanding any other provision of this License, for material you +add to a covered work, you may (if authorized by the copyright holders of +that material) supplement the terms of this License with terms: + + a) Disclaiming warranty or limiting liability differently from the + terms of sections 15 and 16 of this License; or + + b) Requiring preservation of specified reasonable legal notices or + author attributions in that material or in the Appropriate Legal + Notices displayed by works containing it; or + + c) Prohibiting misrepresentation of the origin of that material, or + requiring that modified versions of such material be marked in + reasonable ways as different from the original version; or + + d) Limiting the use for publicity purposes of names of licensors or + authors of the material; or + + e) Declining to grant rights under trademark law for use of some + trade names, trademarks, or service marks; or + + f) Requiring indemnification of licensors and authors of that + material by anyone who conveys the material (or modified versions of + it) with contractual assumptions of liability to the recipient, for + any liability that these contractual assumptions directly impose on + those licensors and authors. + + All other non-permissive additional terms are considered "further +restrictions" within the meaning of section 10. If the Program as you +received it, or any part of it, contains a notice stating that it is +governed by this License along with a term that is a further +restriction, you may remove that term. If a license document contains +a further restriction but permits relicensing or conveying under this +License, you may add to a covered work material governed by the terms +of that license document, provided that the further restriction does +not survive such relicensing or conveying. + + If you add terms to a covered work in accord with this section, you +must place, in the relevant source files, a statement of the +additional terms that apply to those files, or a notice indicating +where to find the applicable terms. + + Additional terms, permissive or non-permissive, may be stated in the +form of a separately written license, or stated as exceptions; +the above requirements apply either way. + + 8. Termination. + + You may not propagate or modify a covered work except as expressly +provided under this License. Any attempt otherwise to propagate or +modify it is void, and will automatically terminate your rights under +this License (including any patent licenses granted under the third +paragraph of section 11). + + However, if you cease all violation of this License, then your +license from a particular copyright holder is reinstated (a) +provisionally, unless and until the copyright holder explicitly and +finally terminates your license, and (b) permanently, if the copyright +holder fails to notify you of the violation by some reasonable means +prior to 60 days after the cessation. + + Moreover, your license from a particular copyright holder is +reinstated permanently if the copyright holder notifies you of the +violation by some reasonable means, this is the first time you have +received notice of violation of this License (for any work) from that +copyright holder, and you cure the violation prior to 30 days after +your receipt of the notice. + + Termination of your rights under this section does not terminate the +licenses of parties who have received copies or rights from you under +this License. If your rights have been terminated and not permanently +reinstated, you do not qualify to receive new licenses for the same +material under section 10. + + 9. Acceptance Not Required for Having Copies. + + You are not required to accept this License in order to receive or +run a copy of the Program. Ancillary propagation of a covered work +occurring solely as a consequence of using peer-to-peer transmission +to receive a copy likewise does not require acceptance. However, +nothing other than this License grants you permission to propagate or +modify any covered work. These actions infringe copyright if you do +not accept this License. Therefore, by modifying or propagating a +covered work, you indicate your acceptance of this License to do so. + + 10. Automatic Licensing of Downstream Recipients. + + Each time you convey a covered work, the recipient automatically +receives a license from the original licensors, to run, modify and +propagate that work, subject to this License. You are not responsible +for enforcing compliance by third parties with this License. + + An "entity transaction" is a transaction transferring control of an +organization, or substantially all assets of one, or subdividing an +organization, or merging organizations. If propagation of a covered +work results from an entity transaction, each party to that +transaction who receives a copy of the work also receives whatever +licenses to the work the party's predecessor in interest had or could +give under the previous paragraph, plus a right to possession of the +Corresponding Source of the work from the predecessor in interest, if +the predecessor has it or can get it with reasonable efforts. + + You may not impose any further restrictions on the exercise of the +rights granted or affirmed under this License. For example, you may +not impose a license fee, royalty, or other charge for exercise of +rights granted under this License, and you may not initiate litigation +(including a cross-claim or counterclaim in a lawsuit) alleging that +any patent claim is infringed by making, using, selling, offering for +sale, or importing the Program or any portion of it. + + 11. Patents. + + A "contributor" is a copyright holder who authorizes use under this +License of the Program or a work on which the Program is based. The +work thus licensed is called the contributor's "contributor version". + + A contributor's "essential patent claims" are all patent claims +owned or controlled by the contributor, whether already acquired or +hereafter acquired, that would be infringed by some manner, permitted +by this License, of making, using, or selling its contributor version, +but do not include claims that would be infringed only as a +consequence of further modification of the contributor version. For +purposes of this definition, "control" includes the right to grant +patent sublicenses in a manner consistent with the requirements of +this License. + + Each contributor grants you a non-exclusive, worldwide, royalty-free +patent license under the contributor's essential patent claims, to +make, use, sell, offer for sale, import and otherwise run, modify and +propagate the contents of its contributor version. + + In the following three paragraphs, a "patent license" is any express +agreement or commitment, however denominated, not to enforce a patent +(such as an express permission to practice a patent or covenant not to +sue for patent infringement). To "grant" such a patent license to a +party means to make such an agreement or commitment not to enforce a +patent against the party. + + If you convey a covered work, knowingly relying on a patent license, +and the Corresponding Source of the work is not available for anyone +to copy, free of charge and under the terms of this License, through a +publicly available network server or other readily accessible means, +then you must either (1) cause the Corresponding Source to be so +available, or (2) arrange to deprive yourself of the benefit of the +patent license for this particular work, or (3) arrange, in a manner +consistent with the requirements of this License, to extend the patent +license to downstream recipients. "Knowingly relying" means you have +actual knowledge that, but for the patent license, your conveying the +covered work in a country, or your recipient's use of the covered work +in a country, would infringe one or more identifiable patents in that +country that you have reason to believe are valid. + + If, pursuant to or in connection with a single transaction or +arrangement, you convey, or propagate by procuring conveyance of, a +covered work, and grant a patent license to some of the parties +receiving the covered work authorizing them to use, propagate, modify +or convey a specific copy of the covered work, then the patent license +you grant is automatically extended to all recipients of the covered +work and works based on it. + + A patent license is "discriminatory" if it does not include within +the scope of its coverage, prohibits the exercise of, or is +conditioned on the non-exercise of one or more of the rights that are +specifically granted under this License. You may not convey a covered +work if you are a party to an arrangement with a third party that is +in the business of distributing software, under which you make payment +to the third party based on the extent of your activity of conveying +the work, and under which the third party grants, to any of the +parties who would receive the covered work from you, a discriminatory +patent license (a) in connection with copies of the covered work +conveyed by you (or copies made from those copies), or (b) primarily +for and in connection with specific products or compilations that +contain the covered work, unless you entered into that arrangement, +or that patent license was granted, prior to 28 March 2007. + + Nothing in this License shall be construed as excluding or limiting +any implied license or other defenses to infringement that may +otherwise be available to you under applicable patent law. + + 12. No Surrender of Others' Freedom. + + If conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot convey a +covered work so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you may +not convey it at all. For example, if you agree to terms that obligate you +to collect a royalty for further conveying from those to whom you convey +the Program, the only way you could satisfy both those terms and this +License would be to refrain entirely from conveying the Program. + + 13. Use with the GNU Affero General Public License. + + Notwithstanding any other provision of this License, you have +permission to link or combine any covered work with a work licensed +under version 3 of the GNU Affero General Public License into a single +combined work, and to convey the resulting work. The terms of this +License will continue to apply to the part which is the covered work, +but the special requirements of the GNU Affero General Public License, +section 13, concerning interaction through a network will apply to the +combination as such. + + 14. Revised Versions of this License. + + The Free Software Foundation may publish revised and/or new versions of +the GNU General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + + Each version is given a distinguishing version number. If the +Program specifies that a certain numbered version of the GNU General +Public License "or any later version" applies to it, you have the +option of following the terms and conditions either of that numbered +version or of any later version published by the Free Software +Foundation. If the Program does not specify a version number of the +GNU General Public License, you may choose any version ever published +by the Free Software Foundation. + + If the Program specifies that a proxy can decide which future +versions of the GNU General Public License can be used, that proxy's +public statement of acceptance of a version permanently authorizes you +to choose that version for the Program. + + Later license versions may give you additional or different +permissions. However, no additional obligations are imposed on any +author or copyright holder as a result of your choosing to follow a +later version. + + 15. Disclaimer of Warranty. + + THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY +APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT +HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY +OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM +IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF +ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + + 16. Limitation of Liability. + + IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS +THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY +GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE +USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF +DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD +PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), +EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF +SUCH DAMAGES. + + 17. Interpretation of Sections 15 and 16. + + If the disclaimer of warranty and limitation of liability provided +above cannot be given local legal effect according to their terms, +reviewing courts shall apply local law that most closely approximates +an absolute waiver of all civil liability in connection with the +Program, unless a warranty or assumption of liability accompanies a +copy of the Program in return for a fee. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +state the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + + Copyright (C) + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + +Also add information on how to contact you by electronic and paper mail. + + If the program does terminal interaction, make it output a short +notice like this when it starts in an interactive mode: + + Copyright (C) + This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, your program's commands +might be different; for a GUI interface, you would use an "about box". + + You should also get your employer (if you work as a programmer) or school, +if any, to sign a "copyright disclaimer" for the program, if necessary. +For more information on this, and how to apply and follow the GNU GPL, see +. + + The GNU General Public License does not permit incorporating your program +into proprietary programs. If your program is a subroutine library, you +may consider it more useful to permit linking proprietary applications with +the library. If this is what you want to do, use the GNU Lesser General +Public License instead of this License. But first, please read +. \ No newline at end of file diff --git a/README.md b/README.md index 690c640..6faee68 100644 --- a/README.md +++ b/README.md @@ -1,107 +1,107 @@ -# Build-Fritzing-1.0.5-Windows-script -Build Fritzing 1.0.5 Windows script - -2025/05/17 Update Build Fritzing 1.0.5 -2024/10/28 Update Build Fritzing 1.0.4 (Reconfirmed on 2025/01/05) -2024/07/14 Update Build Fritzing 1.0.3 -2024/01/11 Update Build Fritzing 1.0.2 (Reconfirmed on 2024/05/05) -2023/11/18 Update Build Fritzing 1.0.1 - -* How to Build Fritzing 1.0.5 from Source code in Windows with Visual Studio 2019 -http://www.neko.ne.jp/~freewing/software/build_fritzing_100_windows/ - -* Build Step -``` -* Open Command Prompt - -bitsadmin /TRANSFER hoge https://raw.githubusercontent.com/FREEWING-JP/Build-Fritzing-1.0.0-Windows-script/main/00_Download_Script.bat %cd%\00_Download_Script.bat - -# Optional: Set custom directories -# set QT_INSTALL_DIR=D:\CustomQtPath -# set FRITZING_WORKSPACE_DIR=D:\FritzingBuild -# set VS_INSTALL_DIR=D:\VisualStudio\2019\BuildTools -00_Download_Script.bat - -00_Execute_Script.bat - -* Wait an hour -``` - -## Directory Configuration - -The build scripts use a central configuration file called `directories_config.bat` to store all directory paths. This file is persistent and can be edited manually to customize your build environment. - -### Default Configuration - -The default configuration in `directories_config.bat` looks like this: - -```batch -@echo off -rem directories_config.bat -rem Configuration file for directory paths used in Fritzing build scripts -rem This file is meant to be persistent and can be edited manually - -rem Qt installation directory -set QT_INSTALL_DIR=F:\Qt - -rem Fritzing workspace directory -set FRITZING_WORKSPACE_DIR=\00_fritzing - -rem Visual Studio installation directory -set VS_INSTALL_DIR=C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools -``` - -### Setting Custom Directories - -You can customize the directories in two ways: - -#### Method 1: Set environment variables before running the scripts - -```batch -set QT_INSTALL_DIR=D:\CustomQtPath -set FRITZING_WORKSPACE_DIR=D:\FritzingBuild -set VS_INSTALL_DIR=D:\VisualStudio\2019\BuildTools -00_Download_Script.bat -``` - -#### Method 2: Edit the `directories_config.bat` file directly (recommended) - -After running the scripts once, you can edit the `directories_config.bat` file directly to change any of the directory paths. This is the recommended approach as your settings will be preserved between builds. - -### How It Works - -When you run `00_Download_Script.bat` for the first time, it checks if `directories_config.bat` exists: - -- If it exists, the script loads the configuration from it -- If it doesn't exist, the script creates it with default values - -All other scripts in the build process load this configuration file before executing their tasks, ensuring consistent settings across the entire build process. - -### Important Notes - -- The file is created automatically by `00_Download_Script.bat` if it doesn't exist -- Manual edits to this file will be preserved -- If you delete this file, it will be recreated with default values the next time you run `00_Download_Script.bat` -- Make sure the directories you specify exist or can be created by the script -- The workspace directory should be empty when you start the build process - -![ClipImage_20241028_142712_529](https://github.com/user-attachments/assets/e5e4fbf4-d4c5-42b7-8580-83737367361d) -![ClipImage_20241028_142942_938](https://github.com/user-attachments/assets/7fc6c5e8-69a7-400e-867e-ec8a69823dcc) - - -* Tested -Windows 11 Real -Windows 11 Windows Sandbox -Windows 10 Windows Sandbox - -* Fritzing 1.0.0を合法的に無料で使用する方法、Windows環境 VS2019でビルドする方法 -http://www.neko.ne.jp/~freewing/software/build_fritzing_100_windows/ - -* Donation Button -[![Donate](https://img.shields.io/badge/Donate-PayPal-green.svg)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=T79HPJ5H79PBU) - -* Youtube -[How to get Fritzing 1.0.0 for free - Compile Fritzing on Windows YouTube https://youtu.be/cC82PULJq6g](https://youtu.be/cC82PULJq6g) - -* Youtube -[Fritzing 1.0.0を無料でゲットする方法 YouTube https://youtu.be/wLDuyNqms_g](https://youtu.be/wLDuyNqms_g) +# Build-Fritzing-1.0.5-Windows-script +Build Fritzing 1.0.5 Windows script + +2025/05/17 Update Build Fritzing 1.0.5 +2024/10/28 Update Build Fritzing 1.0.4 (Reconfirmed on 2025/01/05) +2024/07/14 Update Build Fritzing 1.0.3 +2024/01/11 Update Build Fritzing 1.0.2 (Reconfirmed on 2024/05/05) +2023/11/18 Update Build Fritzing 1.0.1 + +* How to Build Fritzing 1.0.5 from Source code in Windows with Visual Studio 2019 +http://www.neko.ne.jp/~freewing/software/build_fritzing_100_windows/ + +* Build Step +``` +* Open Command Prompt + +bitsadmin /TRANSFER hoge https://raw.githubusercontent.com/FREEWING-JP/Build-Fritzing-1.0.0-Windows-script/main/00_Download_Script.bat %cd%\00_Download_Script.bat + +# Optional: Set custom directories +# set QT_INSTALL_DIR=D:\CustomQtPath +# set FRITZING_WORKSPACE_DIR=D:\FritzingBuild +# set VS_INSTALL_DIR=D:\VisualStudio\2019\BuildTools +00_Download_Script.bat + +00_Execute_Script.bat + +* Wait an hour +``` + +## Directory Configuration + +The build scripts use a central configuration file called `directories_config.bat` to store all directory paths. This file is persistent and can be edited manually to customize your build environment. + +### Default Configuration + +The default configuration in `directories_config.bat` looks like this: + +```batch +@echo off +rem directories_config.bat +rem Configuration file for directory paths used in Fritzing build scripts +rem This file is meant to be persistent and can be edited manually + +rem Qt installation directory +set QT_INSTALL_DIR=F:\Qt + +rem Fritzing workspace directory +set FRITZING_WORKSPACE_DIR=\00_fritzing + +rem Visual Studio installation directory +set VS_INSTALL_DIR=C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools +``` + +### Setting Custom Directories + +You can customize the directories in two ways: + +#### Method 1: Set environment variables before running the scripts + +```batch +set QT_INSTALL_DIR=D:\CustomQtPath +set FRITZING_WORKSPACE_DIR=D:\FritzingBuild +set VS_INSTALL_DIR=D:\VisualStudio\2019\BuildTools +00_Download_Script.bat +``` + +#### Method 2: Edit the `directories_config.bat` file directly (recommended) + +After running the scripts once, you can edit the `directories_config.bat` file directly to change any of the directory paths. This is the recommended approach as your settings will be preserved between builds. + +### How It Works + +When you run `00_Download_Script.bat` for the first time, it checks if `directories_config.bat` exists: + +- If it exists, the script loads the configuration from it +- If it doesn't exist, the script creates it with default values + +All other scripts in the build process load this configuration file before executing their tasks, ensuring consistent settings across the entire build process. + +### Important Notes + +- The file is created automatically by `00_Download_Script.bat` if it doesn't exist +- Manual edits to this file will be preserved +- If you delete this file, it will be recreated with default values the next time you run `00_Download_Script.bat` +- Make sure the directories you specify exist or can be created by the script +- The workspace directory should be empty when you start the build process + +![ClipImage_20241028_142712_529](https://github.com/user-attachments/assets/e5e4fbf4-d4c5-42b7-8580-83737367361d) +![ClipImage_20241028_142942_938](https://github.com/user-attachments/assets/7fc6c5e8-69a7-400e-867e-ec8a69823dcc) + + +* Tested +Windows 11 Real +Windows 11 Windows Sandbox +Windows 10 Windows Sandbox + +* Fritzing 1.0.0を合法的に無料で使用する方法、Windows環境 VS2019でビルドする方法 +http://www.neko.ne.jp/~freewing/software/build_fritzing_100_windows/ + +* Donation Button +[![Donate](https://img.shields.io/badge/Donate-PayPal-green.svg)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=T79HPJ5H79PBU) + +* Youtube +[How to get Fritzing 1.0.0 for free - Compile Fritzing on Windows YouTube https://youtu.be/cC82PULJq6g](https://youtu.be/cC82PULJq6g) + +* Youtube +[Fritzing 1.0.0を無料でゲットする方法 YouTube https://youtu.be/wLDuyNqms_g](https://youtu.be/wLDuyNqms_g) diff --git a/README.md.bak b/README.md.bak new file mode 100644 index 0000000..3eb65af --- /dev/null +++ b/README.md.bak @@ -0,0 +1,107 @@ +# Build-Fritzing-1.0.5-Windows-script +Build Fritzing 1.0.5 Windows script + +2025/05/17 Update Build Fritzing 1.0.5 +2024/10/28 Update Build Fritzing 1.0.4 (Reconfirmed on 2025/01/05) +2024/07/14 Update Build Fritzing 1.0.3 +2024/01/11 Update Build Fritzing 1.0.2 (Reconfirmed on 2024/05/05) +2023/11/18 Update Build Fritzing 1.0.1 + +* How to Build Fritzing 1.0.5 from Source code in Windows with Visual Studio 2019 +http://www.neko.ne.jp/~freewing/software/build_fritzing_100_windows/ + +* Build Step +``` +* Open Command Prompt + +bitsadmin /TRANSFER hoge https://raw.githubusercontent.com/FREEWING-JP/Build-Fritzing-1.0.0-Windows-script/main/00_Download_Script.bat %cd%\00_Download_Script.bat + +# Optional: Set custom directories +# set QT_INSTALL_DIR=D:\CustomQtPath +# set FRITZING_WORKSPACE_DIR=D:\FritzingBuild +# set VS_INSTALL_DIR=D:\VisualStudio\2019\BuildTools +00_Download_Script.bat + +00_Execute_Script.bat + +* Wait an hour +``` + +## Directory Configuration + +The build scripts use a central configuration file called `directories_config.bat` to store all directory paths. This file is persistent and can be edited manually to customize your build environment. + +### Default Configuration + +The default configuration in `directories_config.bat` looks like this: + +```batch +@echo off +rem directories_config.bat +rem Configuration file for directory paths used in Fritzing build scripts +rem This file is meant to be persistent and can be edited manually + +rem Qt installation directory +set QT_INSTALL_DIR=F:\Qt + +rem Fritzing workspace directory +set FRITZING_WORKSPACE_DIR=\00_fritzing + +rem Visual Studio installation directory +set VS_INSTALL_DIR=C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools +``` + +### Setting Custom Directories + +You can customize the directories in two ways: + +#### Method 1: Set environment variables before running the scripts + +```batch +set QT_INSTALL_DIR=D:\CustomQtPath +set FRITZING_WORKSPACE_DIR=D:\FritzingBuild +set VS_INSTALL_DIR=D:\VisualStudio\2019\BuildTools +00_Download_Script.bat +``` + +#### Method 2: Edit the `directories_config.bat` file directly (recommended) + +After running the scripts once, you can edit the `directories_config.bat` file directly to change any of the directory paths. This is the recommended approach as your settings will be preserved between builds. + +### How It Works + +When you run `00_Download_Script.bat` for the first time, it checks if `directories_config.bat` exists: + +- If it exists, the script loads the configuration from it +- If it doesn't exist, the script creates it with default values + +All other scripts in the build process load this configuration file before executing their tasks, ensuring consistent settings across the entire build process. + +### Important Notes + +- The file is created automatically by `00_Download_Script.bat` if it doesn't exist +- Manual edits to this file will be preserved +- If you delete this file, it will be recreated with default values the next time you run `00_Download_Script.bat` +- Make sure the directories you specify exist or can be created by the script +- The workspace directory should be empty when you start the build process + +![ClipImage_20241028_142712_529](https://github.com/user-attachments/assets/e5e4fbf4-d4c5-42b7-8580-83737367361d) +![ClipImage_20241028_142942_938](https://github.com/user-attachments/assets/7fc6c5e8-69a7-400e-867e-ec8a69823dcc) + + +* Tested +Windows 11 Real +Windows 11 Windows Sandbox +Windows 10 Windows Sandbox + +* Fritzing 1.0.0を合法的に無料で使用する方法、Windows環境 VS2019でビルドする方法 +http://www.neko.ne.jp/~freewing/software/build_fritzing_100_windows/ + +* Donation Button +[![Donate](https://img.shields.io/badge/Donate-PayPal-green.svg)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=T79HPJ5H79PBU) + +* Youtube +[How to get Fritzing 1.0.0 for free - Compile Fritzing on Windows YouTube https://youtu.be/cC82PULJq6g](https://youtu.be/cC82PULJq6g) + +* Youtube +[Fritzing 1.0.0を無料でゲットする方法 YouTube https://youtu.be/wLDuyNqms_g](https://youtu.be/wLDuyNqms_g) diff --git a/SendKeys_Accept.vbs.bak b/SendKeys_Accept.vbs.bak new file mode 100644 index 0000000..12f71e9 --- /dev/null +++ b/SendKeys_Accept.vbs.bak @@ -0,0 +1,18 @@ +Set WSHShell = WScript.CreateObject("WScript.Shell") +WScript.Sleep(5000) +WScript.Sleep(5000) + +WScript.Sleep(5000) +WScript.Sleep(5000) + +WScript.Sleep(5000) +WScript.Sleep(5000) + +WScript.Sleep(5000) +WScript.Sleep(5000) + +WScript.Sleep(5000) +WScript.Sleep(5000) + +WSHShell.SendKeys "Accept{ENTER}" + diff --git a/SendKeys_AltF4.vbs.bak b/SendKeys_AltF4.vbs.bak new file mode 100644 index 0000000..0bb8296 --- /dev/null +++ b/SendKeys_AltF4.vbs.bak @@ -0,0 +1,21 @@ +Set WSHShell = WScript.CreateObject("WScript.Shell") +WScript.Sleep(5000) +WScript.Sleep(5000) + +WScript.Sleep(5000) +WScript.Sleep(5000) + +WScript.Sleep(5000) +WScript.Sleep(5000) + +WScript.Sleep(5000) +WScript.Sleep(5000) + +WScript.Sleep(5000) +WScript.Sleep(5000) + +WSHShell.AppActivate "Untitled Sketch.fzz - Fritzing" +WScript.Sleep(1000) + +WSHShell.SendKeys "%{F4}" + diff --git a/directories_config.bat.bak b/directories_config.bat.bak new file mode 100644 index 0000000..f712b88 --- /dev/null +++ b/directories_config.bat.bak @@ -0,0 +1,15 @@ +@echo off +rem directories_config.bat +rem Configuration file for directory paths used in Fritzing build scripts +rem This file is meant to be persistent and can be edited manually + +rem Qt installation directory (default is C:\Qt) +set QT_INSTALL_DIR=C:\Qt + +rem Fritzing workspace directory (default is \00_fritzing) +set FRITZING_WORKSPACE_DIR=\00_fritzing + +rem Visual Studio installation directory (default is auto-detected) +set VS_INSTALL_DIR=C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools + +rem Additional configuration variables can be added here \ No newline at end of file From 5f2e25fd39426cdde3b3fb1ce439e3fa1f14f6fa Mon Sep 17 00:00:00 2001 From: NonaSuomy Date: Wed, 2 Jul 2025 22:57:12 -0400 Subject: [PATCH 20/70] Delete 05_Extract_Requirement_Files.bat.bak --- 05_Extract_Requirement_Files.bat.bak | 64 ---------------------------- 1 file changed, 64 deletions(-) delete mode 100644 05_Extract_Requirement_Files.bat.bak diff --git a/05_Extract_Requirement_Files.bat.bak b/05_Extract_Requirement_Files.bat.bak deleted file mode 100644 index ba46341..0000000 --- a/05_Extract_Requirement_Files.bat.bak +++ /dev/null @@ -1,64 +0,0 @@ -@echo off -rem 05_Extract_Requirement_Files.bat -rem http://www.neko.ne.jp/~freewing/software/build_fritzing_100_windows/ -rem Copyright (c) 2023-2024 FREE WING,Y.Sakamoto -echo %0 -timeout /T 10 /NOBREAK -rem Load configuration -if exist directories_config.bat call directories_config.bat - -cd /d %FRITZING_WORKSPACE_DIR% - -UnZip.exe boost_1_85_0.zip . - -tar -xf zlib.tar.gz -for /f "usebackq delims=" %%A in (`dir /b ZLIB-*`) do set ZLIB_DIR=%%A -echo %ZLIB_DIR% -ren %ZLIB_DIR% zlib-src - -tar -xf ngspice-42.tar.gz - -if not exist 7zr.exe goto 7z_inst - -7zr x PortableGit-2.42.0.2-64-bit.7z.exe -o.\PortableGit -7zr x ngspice-42_dll_64.7z -o.\ - -rem for Fritzing 1.0.2 -UnZip.exe clipper_ver6.4.2.zip .\clipper1-6.4.2 - -UnZip.exe openssl-3.0.12.zip . -ren openssl-3.0 openssl-3.0.12 -cd openssl-3.0.12 -xcopy /R /S .\x64\* . -ren lib lib64 - -exit - - -:7z_inst - -@echo off -echo Check Admin Plivilege -whoami /groups | find "S-1-16-12288" > nul -if %ErrorLevel% == 0 goto is_admin - -echo . -echo === -echo User Account Control -echo === -echo Select Yes -rem Beep -rundll32 user32.dll,MessageBeep -pause - -:is_admin - -echo cd /d %cd%>7z_inst.bat -echo 7z2301-x64.exe /S /D=%cd%\7z>>7z_inst.bat - -start /wait powershell "Start-Process -FilePath '7z_inst.bat' -WorkingDirectory '%cd%' -Verb RunAs -Wait" - -.\7z\7z x PortableGit-2.42.0.2-64-bit.7z.exe -o.\PortableGit -.\7z\7z x ngspice-42_dll_64.7z -o.\ - -exit \ No newline at end of file From 44e7281f9f0310f74896a8161812dcdc8c36c779 Mon Sep 17 00:00:00 2001 From: NonaSuomy Date: Wed, 2 Jul 2025 22:57:57 -0400 Subject: [PATCH 21/70] Delete 09_Download_Fritzing_Source_code.bat.bak --- 09_Download_Fritzing_Source_code.bat.bak | 53 ------------------------ 1 file changed, 53 deletions(-) delete mode 100644 09_Download_Fritzing_Source_code.bat.bak diff --git a/09_Download_Fritzing_Source_code.bat.bak b/09_Download_Fritzing_Source_code.bat.bak deleted file mode 100644 index 7fbbad3..0000000 --- a/09_Download_Fritzing_Source_code.bat.bak +++ /dev/null @@ -1,53 +0,0 @@ -@echo off -rem 08_Download_Fritzing_Source_code.bat -rem http://www.neko.ne.jp/~freewing/software/build_fritzing_100_windows/ -rem Copyright (c) 2023-2024 FREE WING,Y.Sakamoto -echo %0 -timeout /T 10 /NOBREAK -rem Load configuration -if exist qt_config.bat call qt_config.bat - -cd /d %FRITZING_WORKSPACE_DIR% - -Path=%cd%\PortableGit\bin;%Path% - -echo https://github.com/fritzing/fritzing-app.git -git clone https://github.com/fritzing/fritzing-app.git -b develop - -cd fritzing-app -rem Update potis Commits on Jun 3, 2023 -rem equivalent Fritzing 1.0.0 -rem git pull origin 6b14cfe9016652e47b5da53ce3d199175736e43e - -rem equivalent Fritzing 1.0.1 Sep 6, 2023 -rem git pull origin 8f5f1373835050ce014299c78d91c24beea9b633 -rem git checkout 8f5f1373835050ce014299c78d91c24beea9b633 - -rem equivalent Fritzing 1.0.2 Dec 20, 2023 -rem git pull origin dbdbe34c843677df721c7b3fc3e32c0f737e7e95 -rem git checkout dbdbe34c843677df721c7b3fc3e32c0f737e7e95 - -rem equivalent Fritzing 1.0.3 May 31, 2024 -rem git pull origin a7811ba0427e664c740b5616b10626f2d45fd8b3 -rem git checkout a7811ba0427e664c740b5616b10626f2d45fd8b3 - -rem equivalent Fritzing 1.0.4 Oct 7, 2024 -rem set Fritzing_hash=a8c6ef7cf66f7a42b9b233d6137f1b70a9573a25 - -rem equivalent Fritzing 1.0.5 -set Fritzing_hash=b9add9eaa7c426963de20c8514a69d3f15e83bdf -git pull origin %Fritzing_hash% -git checkout %Fritzing_hash% - -rem add git tag 1.0.5 -git config --global user.email "you@example.com" -git config --global user.name "Your Name" -git tag -a 1.0.5 -m "" %Fritzing_hash% - -git show --format='%%H' --no-patch - -git rev-parse --git-dir - -cd .. - -exit \ No newline at end of file From fbcf4ea3fb5be8893347a22795645e91277b26c6 Mon Sep 17 00:00:00 2001 From: NonaSuomy Date: Wed, 2 Jul 2025 22:58:07 -0400 Subject: [PATCH 22/70] Delete 08_Fix_Library_place_Fritzing.bat.bak --- 08_Fix_Library_place_Fritzing.bat.bak | 24 ------------------------ 1 file changed, 24 deletions(-) delete mode 100644 08_Fix_Library_place_Fritzing.bat.bak diff --git a/08_Fix_Library_place_Fritzing.bat.bak b/08_Fix_Library_place_Fritzing.bat.bak deleted file mode 100644 index 7fa45d0..0000000 --- a/08_Fix_Library_place_Fritzing.bat.bak +++ /dev/null @@ -1,24 +0,0 @@ -@echo off -rem 08_Fix_Library_place_Fritzing.bat -rem http://www.neko.ne.jp/~freewing/software/build_fritzing_100_windows/ -rem Copyright (c) 2023-2024 FREE WING,Y.Sakamoto -echo %0 -timeout /T 10 /NOBREAK -rem Load configuration -if exist qt_config.bat call qt_config.bat - -cd /d %FRITZING_WORKSPACE_DIR% - -dir .\quazip-6.5.3-1.4\include\QuaZip-Qt6-1.4\quazip -xcopy .\quazip-6.5.3-1.4\include\QuaZip-Qt6-1.4\quazip .\quazip-6.5.3-1.4\include\quazip\ - -dir .\quazip-6.5.3-1.4\bin -dir .\quazip-6.5.3-1.4\lib -xcopy .\quazip-6.5.3-1.4\bin .\quazip-6.5.3-1.4\build64\Release\ -xcopy .\quazip-6.5.3-1.4\lib\*.lib .\quazip-6.5.3-1.4\build64\Release\ -dir .\quazip-6.5.3-1.4\build64\Release\ - -rem https://github.com/fritzing/fritzing-app/commit/ba8ab8760d01dc0870299f8456940524f9b73a5c -xcopy /E .\quazip-6.5.3-1.4 .\quazip-6.5.3-1.4intuisphere\ - -exit \ No newline at end of file From ba7b84cb0756e25e05e7f4c9899df7da38e430d2 Mon Sep 17 00:00:00 2001 From: NonaSuomy Date: Wed, 2 Jul 2025 22:58:18 -0400 Subject: [PATCH 23/70] Delete 07_Build_Library.bat.bak --- 07_Build_Library.bat.bak | 141 --------------------------------------- 1 file changed, 141 deletions(-) delete mode 100644 07_Build_Library.bat.bak diff --git a/07_Build_Library.bat.bak b/07_Build_Library.bat.bak deleted file mode 100644 index 27c220a..0000000 --- a/07_Build_Library.bat.bak +++ /dev/null @@ -1,141 +0,0 @@ -@echo off -rem 07_Build_Library.bat -rem http://www.neko.ne.jp/~freewing/software/build_fritzing_100_windows/ -rem Copyright (c) 2023-2024 FREE WING,Y.Sakamoto -echo %0 -timeout /T 10 /NOBREAK -rem Load configuration -if exist directories_config.bat call directories_config.bat - -cd /d %FRITZING_WORKSPACE_DIR% - -Path=%cd%\PortableGit\bin;%Path% - -rem Visual Studio 2019 Build Tools -call "%VS_INSTALL_DIR%\Common7\Tools\VsDevCmd.bat" - -echo Build Boost -cd boost_1_85_0 - -rem Visual Studio 16 2019 BuildTools VS2019 14.2 -call bootstrap.bat vc142 - -echo %cd% -set BOOST_DIR=%cd% -set BUILD_JOBS=%NUMBER_OF_PROCESSORS% -rem Visual Studio 16 2019 BuildTools VS2019 14.2 -set TOOL_SET=msvc-14.2 - -b2.exe toolset=%TOOL_SET% link=static runtime-link=static,shared --build-dir=build/x64 address-model=64 -j%BUILD_JOBS% install --includedir=%BOOST_DIR%\include --libdir=%BOOST_DIR%\stage\lib\x64 -if not "%ERRORLEVEL%" == "0" goto failed - -cd .. - -echo Build libgit2 -cd libgit2 - -rmdir /S /Q build64 -mkdir build64 -cd build64 -cmake .. -G "Visual Studio 16 2019" -A x64 -DBUILD_CLAR=OFF -if not "%ERRORLEVEL%" == "0" goto failed - -cmake --build . --config Release -if not "%ERRORLEVEL%" == "0" goto failed - -cd .. -cd .. - -echo Build zlib -cd zlib-src - -rmdir /S /Q build64 -mkdir build64 -cd build64 -cmake .. -G "Visual Studio 16 2019" -A x64 -if not "%ERRORLEVEL%" == "0" goto failed - -msbuild /P:Configuration=Release ALL_BUILD.vcxproj -if not "%ERRORLEVEL%" == "0" goto failed - -cd .. - -rem -- Renaming -rem -- C:/00_fritzing/zlib-1.3/zconf.h -rem -- to 'zconf.h.included' because this file is included with zlib -rem -- but CMake generates it automatically in the build directory. -copy zconf.h.included zconf.h - -cd .. - -echo Build quazip -cd quazip-1.4 - -dir ..\zlib-src\build64\Release\zlib.lib - -set Qt6_DIR=%QT_INSTALL_DIR%\6.5.3\msvc2019_64 -dir %Qt6_DIR% - -rmdir /S /Q build64 -mkdir build64 -cmake -S . -B build64 ^ - -G "Visual Studio 16 2019" -A x64 ^ - -D QUAZIP_QT_MAJOR_VERSION=6 ^ - -D CMAKE_INSTALL_PREFIX=..\quazip-6.5.3-1.4 ^ - -D QUAZIP_USE_QT_ZLIB=OFF ^ - -D ZLIB_INCLUDE_DIR=..\zlib-src ^ - -D ZLIB_LIBRARY=%cd%\..\zlib-src\build64\Release\zlib.lib -if not "%ERRORLEVEL%" == "0" goto failed - -cmake --build build64 --config Release -if not "%ERRORLEVEL%" == "0" goto failed - -cmake --build build64 --config Release --target install -if not "%ERRORLEVEL%" == "0" goto failed - -cd .. - -rem for Fritzing 1.0.2 -echo Build clipper1 6.4.2 polyclipping -cd .\clipper1-6.4.2\cpp - -rem create lib file SET(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS ON) -powershell -Command "gc CMakeLists.txt | %% { $_ -creplace 'PROJECT\(polyclipping\)', \"PROJECT(polyclipping)`r`nSET(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS ON)\" } > CMakeLists.tmp" -powershell -Command "Get-Content -Encoding UTF8 CMakeLists.tmp" > CMakeLists.txt -del CMakeLists.tmp - -rmdir /S /Q build64 -mkdir build64 -cd build64 -cmake .. -G "Visual Studio 16 2019" -A x64 -DBUILD_CLAR=OFF -if not "%ERRORLEVEL%" == "0" goto failed - -cmake --build . --config Release -if not "%ERRORLEVEL%" == "0" goto failed - -dir .\Release - -mkdir ..\..\include -mkdir ..\..\include\polyclipping -copy ..\clipper.hpp ..\..\include\polyclipping\ - -mkdir ..\..\lib -copy .\Release\ ..\..\lib\ - -cd .. -cd .. - -exit - -:failed -@echo off -echo . -echo === -echo failed -echo === -:failed_beep -rem Beep -rundll32 user32.dll,MessageBeep -timeout /T 10 /NOBREAK - -goto failed_beep \ No newline at end of file From f574f04d7b8d938b02ddf39eff45fce9f74f7cc1 Mon Sep 17 00:00:00 2001 From: NonaSuomy Date: Wed, 2 Jul 2025 22:58:25 -0400 Subject: [PATCH 24/70] Delete 06_Download_from_Git.bat.bak --- 06_Download_from_Git.bat.bak | 26 -------------------------- 1 file changed, 26 deletions(-) delete mode 100644 06_Download_from_Git.bat.bak diff --git a/06_Download_from_Git.bat.bak b/06_Download_from_Git.bat.bak deleted file mode 100644 index 03f2600..0000000 --- a/06_Download_from_Git.bat.bak +++ /dev/null @@ -1,26 +0,0 @@ -@echo off -rem 06_Download_from_Git.bat -rem http://www.neko.ne.jp/~freewing/software/build_fritzing_100_windows/ -rem Copyright (c) 2023 FREE WING,Y.Sakamoto -echo %0 -timeout /T 10 /NOBREAK -rem Load configuration -if exist directories_config.bat call directories_config.bat - -cd /d %FRITZING_WORKSPACE_DIR% - -Path=%cd%\PortableGit\bin;%Path% - -rem https://github.com/stachenov/quazip/releases -echo QuaZip v1.4 -git clone https://github.com/stachenov/quazip -b v1.4 quazip-1.4 - -rem https://github.com/svgpp/svgpp/releases/tag/v1.3.1 -echo SVG++ library 1.3.1 -git clone https://github.com/svgpp/svgpp -b v1.3.1 svgpp-1.3.1 - -rem https://github.com/libgit2/libgit2/releases/tag/v0.28.5 -echo libgit2 v0.28.5 -git clone https://github.com/libgit2/libgit2 -b v0.28.5 - -exit \ No newline at end of file From 4a6af039138cb22047991bb36f1039a342403fc5 Mon Sep 17 00:00:00 2001 From: NonaSuomy Date: Wed, 2 Jul 2025 22:58:35 -0400 Subject: [PATCH 25/70] Delete 04_Install_Visual_Studio_Build_Tools_2019.bat.bak --- ...all_Visual_Studio_Build_Tools_2019.bat.bak | 58 ------------------- 1 file changed, 58 deletions(-) delete mode 100644 04_Install_Visual_Studio_Build_Tools_2019.bat.bak diff --git a/04_Install_Visual_Studio_Build_Tools_2019.bat.bak b/04_Install_Visual_Studio_Build_Tools_2019.bat.bak deleted file mode 100644 index 711e88b..0000000 --- a/04_Install_Visual_Studio_Build_Tools_2019.bat.bak +++ /dev/null @@ -1,58 +0,0 @@ -@echo off -rem 04_Install_Visual_Studio_Build_Tools_2019.bat -rem http://www.neko.ne.jp/~freewing/software/build_fritzing_100_windows/ -rem Copyright (c) 2023 FREE WING,Y.Sakamoto -echo %0 -timeout /T 10 /NOBREAK -rem Load configuration -if exist directories_config.bat call directories_config.bat - -cd /d %FRITZING_WORKSPACE_DIR% - -if exist "%VS_INSTALL_DIR%" exit - - -@echo off -echo Check Admin Plivilege -whoami /groups | find "S-1-16-12288" > nul -if %ErrorLevel% == 0 goto is_admin - -echo . -echo === -echo User Account Control -echo === -echo Select Yes -rem Beep -rundll32 user32.dll,MessageBeep -pause - -:is_admin - -echo { > VSBT_VS2019.vsconfig -echo "version": "1.0", >> VSBT_VS2019.vsconfig -echo "components": [ >> VSBT_VS2019.vsconfig -echo "Microsoft.VisualStudio.Component.Roslyn.Compiler", >> VSBT_VS2019.vsconfig -echo "Microsoft.Component.MSBuild", >> VSBT_VS2019.vsconfig -echo "Microsoft.VisualStudio.Component.CoreBuildTools", >> VSBT_VS2019.vsconfig -echo "Microsoft.VisualStudio.Workload.MSBuildTools", >> VSBT_VS2019.vsconfig -echo "Microsoft.VisualStudio.Component.Windows10SDK", >> VSBT_VS2019.vsconfig -echo "Microsoft.VisualStudio.Component.VC.CoreBuildTools", >> VSBT_VS2019.vsconfig -echo "Microsoft.VisualStudio.Component.VC.Tools.x86.x64", >> VSBT_VS2019.vsconfig -echo "Microsoft.VisualStudio.Component.VC.Redist.14.Latest", >> VSBT_VS2019.vsconfig -echo "Microsoft.VisualStudio.Component.Windows10SDK.19041", >> VSBT_VS2019.vsconfig -echo "Microsoft.VisualStudio.Component.VC.CMake.Project", >> VSBT_VS2019.vsconfig -echo "Microsoft.VisualStudio.Component.TestTools.BuildTools", >> VSBT_VS2019.vsconfig -echo "Microsoft.VisualStudio.Component.VC.ASAN", >> VSBT_VS2019.vsconfig -echo "Microsoft.VisualStudio.Component.TextTemplating", >> VSBT_VS2019.vsconfig -echo "Microsoft.VisualStudio.Component.VC.CoreIde", >> VSBT_VS2019.vsconfig -echo "Microsoft.VisualStudio.ComponentGroup.NativeDesktop.Core", >> VSBT_VS2019.vsconfig -echo "Microsoft.VisualStudio.Workload.VCTools" >> VSBT_VS2019.vsconfig -echo ] >> VSBT_VS2019.vsconfig -echo } >> VSBT_VS2019.vsconfig - -set VSDIR=%cd% -vs_BuildTools_2019.exe --config %VSDIR%\VSBT_VS2019.vsconfig ^ - --installPath "%VS_INSTALL_DIR%" ^ - --norestart --passive --wait - -exit \ No newline at end of file From 214225e14057fbb1962044bfbdee72889e408903 Mon Sep 17 00:00:00 2001 From: NonaSuomy Date: Wed, 2 Jul 2025 22:58:43 -0400 Subject: [PATCH 26/70] Delete 00_Download_Script.bat.bak --- 00_Download_Script.bat.bak | 89 -------------------------------------- 1 file changed, 89 deletions(-) delete mode 100644 00_Download_Script.bat.bak diff --git a/00_Download_Script.bat.bak b/00_Download_Script.bat.bak deleted file mode 100644 index 6e533ef..0000000 --- a/00_Download_Script.bat.bak +++ /dev/null @@ -1,89 +0,0 @@ -@echo off -rem 00_Download_Script.bat -rem http://www.neko.ne.jp/~freewing/software/build_fritzing_100_windows/ -rem Copyright (c) 2023 FREE WING,Y.Sakamoto -echo %0 -@echo off - -rem Load configuration from directories_config.bat if it exists -rem Otherwise, use default values -if exist directories_config.bat ( - echo Loading configuration from directories_config.bat - call directories_config.bat -) else ( - echo directories_config.bat not found, creating with default values - rem Configure Qt installation directory (default is C:\Qt) - if "%QT_INSTALL_DIR%" == "" set QT_INSTALL_DIR=C:\Qt - - rem Configure Fritzing workspace directory (default is \00_fritzing) - if "%FRITZING_WORKSPACE_DIR%" == "" set FRITZING_WORKSPACE_DIR=\00_fritzing - - rem Configure Visual Studio installation directory - if "%VS_INSTALL_DIR%" == "" set VS_INSTALL_DIR=C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools - - rem Create the configuration file - echo @echo off> directories_config.bat - echo rem directories_config.bat>> directories_config.bat - echo rem Configuration file for directory paths used in Fritzing build scripts>> directories_config.bat - echo rem This file is meant to be persistent and can be edited manually>> directories_config.bat - echo.>> directories_config.bat - echo rem Qt installation directory>> directories_config.bat - echo set QT_INSTALL_DIR=%QT_INSTALL_DIR%>> directories_config.bat - echo.>> directories_config.bat - echo rem Fritzing workspace directory>> directories_config.bat - echo set FRITZING_WORKSPACE_DIR=%FRITZING_WORKSPACE_DIR%>> directories_config.bat - echo.>> directories_config.bat - echo rem Visual Studio installation directory>> directories_config.bat - echo set VS_INSTALL_DIR=%VS_INSTALL_DIR%>> directories_config.bat -) - -echo Using Qt installation directory: %QT_INSTALL_DIR% -echo Using Fritzing workspace directory: %FRITZING_WORKSPACE_DIR% -echo Using Visual Studio directory: %VS_INSTALL_DIR% - -cd \ -mkdir %FRITZING_WORKSPACE_DIR% -cd /d %FRITZING_WORKSPACE_DIR% - -rem https://github.com/FREEWING-JP/CSharp_DownloadFile -rem echo C# DownloadFile from URL -rem bitsadmin /TRANSFER hoge https://github.com/FREEWING-JP/CSharp_DownloadFile/releases/download/v0.0/DownloadFile.exe %cd%\DownloadFile.exe - -echo C# DownloadFile source code from URL -bitsadmin /TRANSFER hoge https://raw.githubusercontent.com/FREEWING-JP/CSharp_DownloadFile/main/DownloadFile.cs %cd%\DownloadFile.cs - -echo Build DownloadFile.exe -C:\Windows\Microsoft.NET\Framework\v4.0.30319\csc DownloadFile.cs - -rem https://github.com/FREEWING-JP/CSharp_UnZip -echo C# UnZip .Net 4.5 -if not exist UnZip.exe DownloadFile https://github.com/FREEWING-JP/CSharp_UnZip/releases/download/v0.0/UnZip.exe UnZip.exe - -rem https://github.com/FREEWING-JP/Build-Fritzing-1.0.0-Windows-script -echo Build Fritzing 1.0.0 Windows script -if not exist main.zip DownloadFile https://github.com/FREEWING-JP/Build-Fritzing-1.0.0-Windows-script/archive/refs/heads/main.zip main.zip - -UnZip.exe main.zip . - -move Build-Fritzing-1.0.0-Windows-script-main\*.* .\ -rmdir Build-Fritzing-1.0.0-Windows-script-main - -rem Update directories_config.bat if it already exists -if not exist directories_config.bat ( - rem Create the configuration file - echo @echo off> directories_config.bat - echo rem directories_config.bat>> directories_config.bat - echo rem Configuration file for directory paths used in Fritzing build scripts>> directories_config.bat - echo rem This file is meant to be persistent and can be edited manually>> directories_config.bat - echo.>> directories_config.bat - echo rem Qt installation directory>> directories_config.bat - echo set QT_INSTALL_DIR=%QT_INSTALL_DIR%>> directories_config.bat - echo.>> directories_config.bat - echo rem Fritzing workspace directory>> directories_config.bat - echo set FRITZING_WORKSPACE_DIR=%FRITZING_WORKSPACE_DIR%>> directories_config.bat - echo.>> directories_config.bat - echo rem Visual Studio installation directory>> directories_config.bat - echo set VS_INSTALL_DIR=%VS_INSTALL_DIR%>> directories_config.bat - echo.>> directories_config.bat - echo rem Created by 00_Download_Script.bat>> directories_config.bat -) From a7ea1edea087030c7d0ecfec564e47dd817e307e Mon Sep 17 00:00:00 2001 From: NonaSuomy Date: Wed, 2 Jul 2025 22:58:54 -0400 Subject: [PATCH 27/70] Delete 00_Execute_Script.bat.bak --- 00_Execute_Script.bat.bak | 69 --------------------------------------- 1 file changed, 69 deletions(-) delete mode 100644 00_Execute_Script.bat.bak diff --git a/00_Execute_Script.bat.bak b/00_Execute_Script.bat.bak deleted file mode 100644 index 1ac8e28..0000000 --- a/00_Execute_Script.bat.bak +++ /dev/null @@ -1,69 +0,0 @@ -@echo off -rem 00_Execute_Script.bat -rem http://www.neko.ne.jp/~freewing/software/build_fritzing_100_windows/ -rem Copyright (c) 2023 FREE WING,Y.Sakamoto -echo %0 -rem Load configuration -if exist directories_config.bat call directories_config.bat - -cd /d %FRITZING_WORKSPACE_DIR% - -start /wait 02_Download_Requirement_Files.bat -start /wait 03_Install_Qt_653.bat -start /wait 04_Install_Visual_Studio_Build_Tools_2019.bat -start /wait 05_Extract_Requirement_Files.bat -start /wait 06_Download_from_Git.bat -start /wait 07_Build_Library.bat -start /wait 08_Fix_Library_place_Fritzing.bat -@echo off -rem 00_Execute_Script.bat -rem http://www.neko.ne.jp/~freewing/software/build_fritzing_100_windows/ -rem Copyright (c) 2023 FREE WING,Y.Sakamoto -echo %0 -rem Load configuration -if exist directories_config.bat call directories_config.bat - -cd /d %FRITZING_WORKSPACE_DIR% - -start /wait 02_Download_Requirement_Files.bat -start /wait 03_Install_Qt_653.bat -start /wait 04_Install_Visual_Studio_Build_Tools_2019.bat -start /wait 05_Extract_Requirement_Files.bat -start /wait 06_Download_from_Git.bat -start /wait 07_Build_Library.bat -start /wait 08_Fix_Library_place_Fritzing.bat - -start /wait 09_Download_Fritzing_Source_code.bat -start /wait 10_Download_Fritzing_Parts_Library.bat -start /wait 11_Fix_Fritzing_Source_code.bat -start /wait 12_Fix_Fritzing_Header_files.bat - -start /wait 13_Build_phoenix_pro_with_Qt.bat -start /wait 15_Copy_Fritzing_Requirement_DLL_files.bat -start /wait 16_Copy_Qt_Requirement_DLL_files.bat - -start /wait 17_1st_Build_Parts_DB_file.bat -start /wait 18_2nd_Launch_Fritzing.bat - -start /wait 19_Organize_unnecessary_files.bat -start /wait 20_Create_Fritzing_zip_package.bat - -exit - - -start /wait 09_Download_Fritzing_Source_code.bat -start /wait 10_Download_Fritzing_Parts_Library.bat -start /wait 11_Fix_Fritzing_Source_code.bat -start /wait 12_Fix_Fritzing_Header_files.bat - -start /wait 13_Build_phoenix_pro_with_Qt.bat -start /wait 15_Copy_Fritzing_Requirement_DLL_files.bat -start /wait 16_Copy_Qt_Requirement_DLL_files.bat - -start /wait 17_1st_Build_Parts_DB_file.bat -start /wait 18_2nd_Launch_Fritzing.bat - -start /wait 19_Organize_unnecessary_files.bat -start /wait 20_Create_Fritzing_zip_package.bat - -exit \ No newline at end of file From 310c5148eb1c1abbf02b1b0a7bb23fc51eccdc79 Mon Sep 17 00:00:00 2001 From: NonaSuomy Date: Wed, 2 Jul 2025 22:59:02 -0400 Subject: [PATCH 28/70] Delete 01_Create_Build_directory.bat.bak --- 01_Create_Build_directory.bat.bak | 12 ------------ 1 file changed, 12 deletions(-) delete mode 100644 01_Create_Build_directory.bat.bak diff --git a/01_Create_Build_directory.bat.bak b/01_Create_Build_directory.bat.bak deleted file mode 100644 index e6c80c5..0000000 --- a/01_Create_Build_directory.bat.bak +++ /dev/null @@ -1,12 +0,0 @@ -@echo off -rem 01_Create_Build_directory.bat -rem http://www.neko.ne.jp/~freewing/software/build_fritzing_100_windows/ -rem Copyright (c) 2023 FREE WING,Y.Sakamoto -echo %0 -rem Configure Fritzing workspace directory (default is \00_fritzing) -if "%FRITZING_WORKSPACE_DIR%" == "" set FRITZING_WORKSPACE_DIR=\00_fritzing -echo Using Fritzing workspace directory: %FRITZING_WORKSPACE_DIR% - -cd \ -mkdir %FRITZING_WORKSPACE_DIR% -cd /d %FRITZING_WORKSPACE_DIR% \ No newline at end of file From 50d146effae3f3560c88a25236e57827a1cfc016 Mon Sep 17 00:00:00 2001 From: NonaSuomy Date: Wed, 2 Jul 2025 22:59:11 -0400 Subject: [PATCH 29/70] Delete 02_Download_Requirement_Files.bat.bak --- 02_Download_Requirement_Files.bat.bak | 88 --------------------------- 1 file changed, 88 deletions(-) delete mode 100644 02_Download_Requirement_Files.bat.bak diff --git a/02_Download_Requirement_Files.bat.bak b/02_Download_Requirement_Files.bat.bak deleted file mode 100644 index 1c877ff..0000000 --- a/02_Download_Requirement_Files.bat.bak +++ /dev/null @@ -1,88 +0,0 @@ -@echo off -rem 02_Download_Requirement_Files.bat -rem http://www.neko.ne.jp/~freewing/software/build_fritzing_100_windows/ -rem Copyright (c) 2023-2024 FREE WING,Y.Sakamoto -echo %0 -timeout /T 10 /NOBREAK -rem Load configuration -if exist directories_config.bat call directories_config.bat - -cd /d %FRITZING_WORKSPACE_DIR% - -rem https://git-scm.com/download/win -echo Git - Downloading Package Download for Windows -if not exist PortableGit-2.42.0.2-64-bit.7z.exe DownloadFile https://github.com/git-for-windows/git/releases/download/v2.42.0.windows.2/PortableGit-2.42.0.2-64-bit.7z.exe PortableGit-2.42.0.2-64-bit.7z.exe - -rem https://www.7-zip.org/ -echo 7-Zip -rem if not exist 7z2301-x64.exe DownloadFile https://www.7-zip.org/a/7z2301-x64.exe 7z2301-x64.exe -if not exist 7zr.exe DownloadFile https://7-zip.org/a/7zr.exe 7zr.exe - -rem https://learn.microsoft.com/ja-jp/visualstudio/install/build-tools-container?view=vs-2019 -rem Build Tools -echo Visual Studio Build Tools 2019 -if not exist vs_BuildTools_2019.exe DownloadFile https://aka.ms/vs/16/release/vs_BuildTools.exe vs_BuildTools_2019.exe - -rem Visual Studio Build Tools 2022 -rem DownloadFile https://aka.ms/vs/17/release/vs_BuildTools.exe vs_BuildTools_2022.exe - -rem https://www.qt.io/download-qt-installer-oss -echo Qt Qt6 -if not exist qt-unified-windows-x64-4.6.1-online.exe DownloadFile https://d13lb3tujbc8s0.cloudfront.net/onlineinstallers/qt-unified-windows-x64-4.6.1-online.exe qt-unified-windows-x64-4.6.1-online.exe - -rem https://www.boost.org/users/history/version_1_85_0.html -echo Boost Version 1.85.0 -rem April 15th, 2024 17:38 GMT -if not exist boost_1_85_0.zip DownloadFile https://archives.boost.io/release/1.85.0/source/boost_1_85_0.zip boost_1_85_0.zip - -if not exist boost_1_85_0.zip DownloadFile https://sourceforge.net/projects/boost/files/boost/1.85.0/boost_1_85_0.zip boost_1_85_0.zip - -echo Check file hash for validate -certutil -hashfile .\boost_1_85_0.zip SHA256 | findstr e712fe7eb1b9ec37ac25102525412fb4d74e638996443944025791f48f29408a -if not "%ERRORLEVEL%" == "0" goto failed - -rem https://www.zlib.net/ -rem zlib Home Site -echo zlib most recent release -if not exist zlib.tar.gz DownloadFile https://www.zlib.net/current/zlib.tar.gz zlib.tar.gz - -rem https://sourceforge.net/projects/ngspice/files/ng-spice-rework/42/ -echo ngspice-42 ngspice Files -if not exist ngspice-42.tar.gz DownloadFile https://jaist.dl.sourceforge.net/project/ngspice/ng-spice-rework/old-releases/42/ngspice-42.tar.gz ngspice-42.tar.gz - -if not exist ngspice-42_dll_64.7z DownloadFile https://master.dl.sourceforge.net/project/ngspice/ng-spice-rework/old-releases/42/ngspice-42_dll_64.7z ngspice-42_dll_64.7z - -rem for Fritzing 1.0.2 -rem https://kb.firedaemon.com/support/solutions/articles/4000121705 -rem OpenSSL 3.0.12 -echo OpenSSL 3.0.12 -if not exist openssl-3.0.12.zip DownloadFile https://download.firedaemon.com/FireDaemon-OpenSSL/openssl-3.0.12.zip openssl-3.0.12.zip - -rem https://ports.macports.org/port/polyclipping/ -rem polyclipping v6.4.2 -echo polyclipping v6.4.2 -if not exist clipper_ver6.4.2.zip DownloadFile https://jaist.dl.sourceforge.net/project/polyclipping/clipper_ver6.4.2.zip clipper_ver6.4.2.zip - -rem check download files -if not exist PortableGit-2.42.0.2-64-bit.7z.exe goto failed -if not exist 7zr.exe goto failed -if not exist vs_BuildTools_2019.exe goto failed -if not exist qt-unified-windows-x64-4.6.1-online.exe goto failed -if not exist boost_1_85_0.zip goto failed -if not exist zlib.tar.gz goto failed -if not exist ngspice-42.tar.gz goto failed -if not exist ngspice-42_dll_64.7z goto failed -rem for Fritzing 1.0.2 -if not exist openssl-3.0.12.zip goto failed -if not exist clipper_ver6.4.2.zip goto failed - -exit - -:failed -@echo off -echo . -echo === -echo Download Error -echo === -rundll32 user32.dll,MessageBeep -pause \ No newline at end of file From ae02ccc408a9ed3b31133b54a4360183a5168868 Mon Sep 17 00:00:00 2001 From: NonaSuomy Date: Wed, 2 Jul 2025 22:59:20 -0400 Subject: [PATCH 30/70] Delete 03_Install_Qt_653.bat.bak --- 03_Install_Qt_653.bat.bak | 100 -------------------------------------- 1 file changed, 100 deletions(-) delete mode 100644 03_Install_Qt_653.bat.bak diff --git a/03_Install_Qt_653.bat.bak b/03_Install_Qt_653.bat.bak deleted file mode 100644 index 7009417..0000000 --- a/03_Install_Qt_653.bat.bak +++ /dev/null @@ -1,100 +0,0 @@ -@echo off -rem 03_Install_Qt_653.bat -rem http://www.neko.ne.jp/~freewing/software/build_fritzing_100_windows/ -rem Copyright (c) 2023 FREE WING,Y.Sakamoto -echo %0 -timeout /T 10 /NOBREAK -@echo off -cd /d \00_fritzing - -rem Load Qt directory configuration -if exist directories_config.bat call directories_config.bat - -if exist "%QT_INSTALL_DIR%\6.5.3\msvc2019_64" exit - - -echo . -echo === -echo MUST Require Qt Account -echo . -echo https://login.qt.io/register -echo === -echo Input Qt Account -rem Beep -rundll32 user32.dll,MessageBeep -if "%Qt_email%" == "" set /p Qt_email=Qt Account your_email ? -if "%Qt_passw%" == "" set /p Qt_passw=Qt Account your_password ? - -cls - -echo Check Admin Plivilege -whoami /groups | find "S-1-16-12288" > nul -if %ErrorLevel% == 0 goto is_admin - -echo . -echo . -echo . -echo === -echo User Account Control -echo === -echo Select Yes -rem Beep -rundll32 user32.dll,MessageBeep -pause - - -:is_admin - -if "%Qt_agree%" == "" goto manual_accept - -start SendKeys_Accept.vbs -goto auto_accept - - -:manual_accept -echo . -echo . -echo . -echo === -echo (Lesser) GNU General Public License v3 obligations: -echo Accept or Reject -echo === -rem Beep -rundll32 user32.dll,MessageBeep -pause - - -:auto_accept - -echo cd /d %cd%>qt_inst.bat -echo qt-unified-windows-x64-4.6.1-online.exe --root %QT_INSTALL_DIR% ^^>>qt_inst.bat -echo --email %Qt_email% ^^>>qt_inst.bat -echo --pw %Qt_passw% ^^>>qt_inst.bat -echo --accept-licenses ^^>>qt_inst.bat -echo --accept-messages ^^>>qt_inst.bat -echo --confirm-command ^^>>qt_inst.bat -echo --auto-answer telemetry-question=No ^^>>qt_inst.bat -echo install qt.qt6.653.win64_msvc2019_64 ^^>>qt_inst.bat -echo install qt.qt6.653.addons ^^>>qt_inst.bat -echo install qt.qt6.653.qt5compat>>qt_inst.bat - -@echo on - -start /wait powershell "Start-Process -FilePath 'qt_inst.bat' -WorkingDirectory '%cd%' -Verb RunAs -Wait" - -if exist %QT_INSTALL_DIR%\Tools\QtCreator\bin\jom\jom.exe goto end - -echo QtCreator jom.exe -cd /d \00_fritzing -if not exist jom_1_1_4.zip DownloadFile https://download.qt.io/official_releases/jom/jom_1_1_4.zip jom_1_1_4.zip - -rem Create jom directory if it doesn't exist -if not exist %QT_INSTALL_DIR%\Tools\QtCreator\bin\jom mkdir %QT_INSTALL_DIR%\Tools\QtCreator\bin\jom -UnZip.exe jom_1_1_4.zip %QT_INSTALL_DIR%\Tools\QtCreator\bin\jom\ - -:end -exit - - -rem include QtCreator -echo install qt.tools.qtcreator_gui ^^>>qt_inst.bat \ No newline at end of file From b70b3ae51f5cb97870ce8b39602b0141ddd48689 Mon Sep 17 00:00:00 2001 From: NonaSuomy Date: Wed, 2 Jul 2025 22:59:34 -0400 Subject: [PATCH 31/70] Delete 10_Download_Fritzing_Parts_Library.bat.bak --- 10_Download_Fritzing_Parts_Library.bat.bak | 23 ---------------------- 1 file changed, 23 deletions(-) delete mode 100644 10_Download_Fritzing_Parts_Library.bat.bak diff --git a/10_Download_Fritzing_Parts_Library.bat.bak b/10_Download_Fritzing_Parts_Library.bat.bak deleted file mode 100644 index cd562ac..0000000 --- a/10_Download_Fritzing_Parts_Library.bat.bak +++ /dev/null @@ -1,23 +0,0 @@ -@echo off -rem 10_Download_Fritzing_Parts_Library.bat -rem http://www.neko.ne.jp/~freewing/software/build_fritzing_100_windows/ -rem Copyright (c) 2023-2024 FREE WING,Y.Sakamoto -echo %0 -timeout /T 10 /NOBREAK -rem Load configuration -if exist qt_config.bat call qt_config.bat - -cd /d %FRITZING_WORKSPACE_DIR% - -Path=%cd%\PortableGit\bin;%Path% - -mkdir release64 -cd release64 - -rem Commits on Sep 30, 2024 -echo https://github.com/fritzing/fritzing-parts -git clone https://github.com/fritzing/fritzing-parts -b 1.0.5 - -cd .. - -exit \ No newline at end of file From ebd0e2cfd994733a5f1ffde304518d4bb98756cc Mon Sep 17 00:00:00 2001 From: NonaSuomy Date: Wed, 2 Jul 2025 22:59:47 -0400 Subject: [PATCH 32/70] Delete 11_Fix_Fritzing_Source_code.bat.bak --- 11_Fix_Fritzing_Source_code.bat.bak | 27 --------------------------- 1 file changed, 27 deletions(-) delete mode 100644 11_Fix_Fritzing_Source_code.bat.bak diff --git a/11_Fix_Fritzing_Source_code.bat.bak b/11_Fix_Fritzing_Source_code.bat.bak deleted file mode 100644 index c1ab143..0000000 --- a/11_Fix_Fritzing_Source_code.bat.bak +++ /dev/null @@ -1,27 +0,0 @@ -@echo off -rem 11_Fix_Fritzing_Source_code.bat -rem http://www.neko.ne.jp/~freewing/software/build_fritzing_100_windows/ -rem Copyright (c) 2023-2024 FREE WING,Y.Sakamoto -echo %0 -timeout /T 10 /NOBREAK -rem Load configuration -if exist qt_config.bat call qt_config.bat - -cd /d %FRITZING_WORKSPACE_DIR% - -cd fritzing-app - -cd .\src\model - -rem it fixed Fritzing 1.0.2 -rem https://github.com/fritzing/fritzing-app/commit/bd010ce4961bd90505fa540032dfcc97500e364c -rem only for Fritzing 1.0.1 or 1.0.0 -rem powershell -Command "gc modelbase.cpp | %% { $_ -creplace 'oldDoc.setContent\(&newFzp\);', 'oldDoc.setContent(&newFzp, nullptr);' } > modelbase.cpp_tmp" - -rem ren modelbase.cpp modelbase.cpp_bak -rem del modelbase.cpp -rem ren modelbase.cpp_tmp modelbase.cpp - -cd /d \00_fritzing - -exit \ No newline at end of file From 66d67d08881244262e594e6d47a9ab172d8eee3b Mon Sep 17 00:00:00 2001 From: NonaSuomy Date: Wed, 2 Jul 2025 22:59:57 -0400 Subject: [PATCH 33/70] Delete 12_Fix_Fritzing_Header_files.bat.bak --- 12_Fix_Fritzing_Header_files.bat.bak | 46 ---------------------------- 1 file changed, 46 deletions(-) delete mode 100644 12_Fix_Fritzing_Header_files.bat.bak diff --git a/12_Fix_Fritzing_Header_files.bat.bak b/12_Fix_Fritzing_Header_files.bat.bak deleted file mode 100644 index c2a4a61..0000000 --- a/12_Fix_Fritzing_Header_files.bat.bak +++ /dev/null @@ -1,46 +0,0 @@ -@echo off -rem 12_Fix_Fritzing_Header_files.bat -rem http://www.neko.ne.jp/~freewing/software/build_fritzing_100_windows/ -rem Copyright (c) 2023 FREE WING,Y.Sakamoto -echo %0 -timeout /T 10 /NOBREAK -rem Load configuration -if exist directories_config.bat call directories_config.bat - -cd /d %FRITZING_WORKSPACE_DIR% - -Path=%cd%\PortableGit\bin;%Path% - -cd fritzing-app - -if not exist ..\fritzing_h\ goto qmake_jom - -xcopy ..\fritzing_h\ ..\debug64\ -xcopy ..\fritzing_h\ ..\release64\ - -cd .. - -exit - - -:qmake_jom - -set currennt_dir=%cd% - -echo qtenv2.bat -call %QT_INSTALL_DIR%\6.5.3\msvc2019_64\bin\qtenv2.bat - -echo x64 Native Tools Command Prompt for VS 2019 -call "%VS_INSTALL_DIR%\VC\Auxiliary\Build\vcvars64.bat" - -cd /d %currennt_dir% - -%QT_INSTALL_DIR%\6.5.3\msvc2019_64\bin\qmake.exe -o Makefile phoenix.pro "QMAKE_TARGET.arch=x86_64" -%QT_INSTALL_DIR%\Tools\QtCreator\bin\jom\jom.exe -f Makefile.Debug compiler_uic_make_all -DIR ..\debug64\ui_*.h -xcopy ..\debug64\*.h ..\fritzing_h\ -xcopy ..\fritzing_h\ ..\release64\ - -cd .. - -exit \ No newline at end of file From 6182bb2244dc1ca18a4f4a7408fff7c456fa5fb5 Mon Sep 17 00:00:00 2001 From: NonaSuomy Date: Wed, 2 Jul 2025 23:00:09 -0400 Subject: [PATCH 34/70] Delete 13_Build_phoenix_pro_with_Qt.bat.bak --- 13_Build_phoenix_pro_with_Qt.bat.bak | 67 ---------------------------- 1 file changed, 67 deletions(-) delete mode 100644 13_Build_phoenix_pro_with_Qt.bat.bak diff --git a/13_Build_phoenix_pro_with_Qt.bat.bak b/13_Build_phoenix_pro_with_Qt.bat.bak deleted file mode 100644 index a819330..0000000 --- a/13_Build_phoenix_pro_with_Qt.bat.bak +++ /dev/null @@ -1,67 +0,0 @@ -@echo off -rem 13_Build_phoenix_pro_with_Qt.bat -rem http://www.neko.ne.jp/~freewing/software/build_fritzing_100_windows/ -rem Copyright (c) 2023 FREE WING,Y.Sakamoto -echo %0 -timeout /T 10 /NOBREAK -rem Load configuration -if exist directories_config.bat call directories_config.bat - -cd /d %FRITZING_WORKSPACE_DIR% - -Path=%cd%\PortableGit\bin;%Path% - -cd fritzing-app -git show --format='%%H' --no-patch - -git rev-parse --git-dir - -set currennt_dir=%cd% - -echo qtenv2.bat -call %QT_INSTALL_DIR%\6.5.3\msvc2019_64\bin\qtenv2.bat - -echo x64 Native Tools Command Prompt for VS 2019 -call "%VS_INSTALL_DIR%\VC\Auxiliary\Build\vcvars64.bat" - -cd /d %currennt_dir% - -echo qmake -%QT_INSTALL_DIR%/6.5.3/msvc2019_64/bin/qmake.exe phoenix.pro ^ - -spec win32-msvc ^ - INCLUDEPATH+="..\ngspice-42\src\include" - -rem Use svgpp 1.3.1 -rem https://github.com/fritzing/fritzing-app/commit/0a53e1b4a5e9752a27d3f11157cc505f3691f20c -rem INCLUDEPATH+="..\svgpp-1.3.1\include" - -%QT_INSTALL_DIR%/Tools/QtCreator/bin/jom/jom.exe qmake_all - - -echo Build -%QT_INSTALL_DIR%\Tools\QtCreator\bin\jom\jom.exe -f Makefile.Release - -cd .. - -cd .\release64 - -if not exist Fritzing.exe goto failed - -dir Fritzing.exe - -cd .. - -exit - -:failed -@echo off -echo . -echo === -echo failed -echo === -:failed_beep -rem Beep -rundll32 user32.dll,MessageBeep -timeout /T 5 /NOBREAK - -goto failed_beep \ No newline at end of file From 4abb66f6e626766fd80b3b36573753cf89415c9d Mon Sep 17 00:00:00 2001 From: NonaSuomy Date: Wed, 2 Jul 2025 23:00:19 -0400 Subject: [PATCH 35/70] Delete 15_Copy_Fritzing_Requirement_DLL_files.bat.bak --- ...opy_Fritzing_Requirement_DLL_files.bat.bak | 23 ------------------- 1 file changed, 23 deletions(-) delete mode 100644 15_Copy_Fritzing_Requirement_DLL_files.bat.bak diff --git a/15_Copy_Fritzing_Requirement_DLL_files.bat.bak b/15_Copy_Fritzing_Requirement_DLL_files.bat.bak deleted file mode 100644 index 30c2229..0000000 --- a/15_Copy_Fritzing_Requirement_DLL_files.bat.bak +++ /dev/null @@ -1,23 +0,0 @@ -@echo off -rem 15_Copy_Fritzing_Requirement_DLL_files.bat -rem http://www.neko.ne.jp/~freewing/software/build_fritzing_100_windows/ -rem Copyright (c) 2023-2024 FREE WING,Y.Sakamoto -echo %0 -timeout /T 10 /NOBREAK -rem Load configuration -if exist directories_config.bat call directories_config.bat - -cd /d %FRITZING_WORKSPACE_DIR% - -copy .\libgit2\build64\Release\git2.dll .\release64 -copy .\zlib-src\build64\Release\zlib.dll .\release64 -copy .\quazip-6.5.3-1.4\bin\quazip1-qt6.dll .\release64 -copy %QT_INSTALL_DIR%\6.5.3\msvc2019_64\bin\Qt6Core5Compat.dll .\release64 - -rem for Simulate function -copy .\Spice64_dll\dll-vs\*.dll .\release64 - -rem for Fritzing 1.0.2 -copy .\clipper1-6.4.2\lib\polyclipping.dll .\release64 - -exit \ No newline at end of file From 1bfb753118d421ae861131ab15ca01c5db78f340 Mon Sep 17 00:00:00 2001 From: NonaSuomy Date: Wed, 2 Jul 2025 23:00:28 -0400 Subject: [PATCH 36/70] Delete 16_Copy_Qt_Requirement_DLL_files.bat.bak --- 16_Copy_Qt_Requirement_DLL_files.bat.bak | 33 ------------------------ 1 file changed, 33 deletions(-) delete mode 100644 16_Copy_Qt_Requirement_DLL_files.bat.bak diff --git a/16_Copy_Qt_Requirement_DLL_files.bat.bak b/16_Copy_Qt_Requirement_DLL_files.bat.bak deleted file mode 100644 index d74dd6e..0000000 --- a/16_Copy_Qt_Requirement_DLL_files.bat.bak +++ /dev/null @@ -1,33 +0,0 @@ -@echo off -rem 16_Copy_Qt_Requirement_DLL_files.bat -rem http://www.neko.ne.jp/~freewing/software/build_fritzing_100_windows/ -rem Copyright (c) 2023 FREE WING,Y.Sakamoto -echo %0 -timeout /T 10 /NOBREAK -rem Load configuration -if exist directories_config.bat call directories_config.bat - -cd /d %FRITZING_WORKSPACE_DIR% - -cd .\release64 - -if not exist Fritzing.exe goto failed - -%QT_INSTALL_DIR%\6.5.3\msvc2019_64\bin\windeployqt6.exe Fritzing.exe - -cd .. - -exit - -:failed -@echo off -echo . -echo === -echo failed -echo === -:failed_beep -rem Beep -rundll32 user32.dll,MessageBeep -timeout /T 5 /NOBREAK - -goto failed_beep \ No newline at end of file From c490523593f059638584169df06707f83a2bf6bf Mon Sep 17 00:00:00 2001 From: NonaSuomy Date: Wed, 2 Jul 2025 23:00:35 -0400 Subject: [PATCH 37/70] Delete 17_1st_Build_Parts_DB_file.bat.bak --- 17_1st_Build_Parts_DB_file.bat.bak | 24 ------------------------ 1 file changed, 24 deletions(-) delete mode 100644 17_1st_Build_Parts_DB_file.bat.bak diff --git a/17_1st_Build_Parts_DB_file.bat.bak b/17_1st_Build_Parts_DB_file.bat.bak deleted file mode 100644 index 462e3b9..0000000 --- a/17_1st_Build_Parts_DB_file.bat.bak +++ /dev/null @@ -1,24 +0,0 @@ -@echo off -rem 17_1st_Build_Parts_DB_file.bat -rem http://www.neko.ne.jp/~freewing/software/build_fritzing_100_windows/ -rem Copyright (c) 2023 FREE WING,Y.Sakamoto -echo %0 -timeout /T 10 /NOBREAK -rem Load configuration -if exist qt_config.bat call qt_config.bat - -cd /d %FRITZING_WORKSPACE_DIR% - -cd .\release64 - -@echo off -echo . -echo === -echo * 1st execute to create parts.db DB file -Fritzing.exe -f "..\fritzing-app\" -parts "..\release64\fritzing-parts\" -db "..\release64\fritzing-parts\parts.db" -rem Beep -rundll32 user32.dll,MessageBeep - -cd .. - -exit \ No newline at end of file From 382fdaebe559ddb2689e8df11f6784a684969f67 Mon Sep 17 00:00:00 2001 From: NonaSuomy Date: Wed, 2 Jul 2025 23:00:44 -0400 Subject: [PATCH 38/70] Delete 18_2nd_Launch_Fritzing.bat.bak --- 18_2nd_Launch_Fritzing.bat.bak | 48 ---------------------------------- 1 file changed, 48 deletions(-) delete mode 100644 18_2nd_Launch_Fritzing.bat.bak diff --git a/18_2nd_Launch_Fritzing.bat.bak b/18_2nd_Launch_Fritzing.bat.bak deleted file mode 100644 index 5bbcdef..0000000 --- a/18_2nd_Launch_Fritzing.bat.bak +++ /dev/null @@ -1,48 +0,0 @@ -@echo off -rem 18_2nd_Launch_Fritzing.bat -rem http://www.neko.ne.jp/~freewing/software/build_fritzing_100_windows/ -rem Copyright (c) 2023 FREE WING,Y.Sakamoto -echo %0 -timeout /T 10 /NOBREAK -rem Load configuration -if exist qt_config.bat call qt_config.bat - -cd /d %FRITZING_WORKSPACE_DIR% - -cd .\release64 - -@echo off -echo . -echo === -echo * 2nd execute to Normally Launch Fritzing -rem Beep -rundll32 user32.dll,MessageBeep - -rem start /wait Fritzing.exe -start Fritzing.exe - -timeout /T 10 /NOBREAK - -cd .. - -if "%Qt_close%" == "" goto wait_close - -start SendKeys_AltF4.vbs - - -:wait_close -echo . -echo . -echo . -echo === -echo * 3rd -echo Waiting Close Fritzing app. -rem Beep -rundll32 user32.dll,MessageBeep - -timeout /T 5 /NOBREAK - -TASKLIST /FI "STATUS eq RUNNING" | findstr Fritzing.exe -if %ERRORLEVEL% EQU 0 goto wait_close - -exit \ No newline at end of file From 2229d1883dd72c5d6637a4cdf14fb4171cd139e5 Mon Sep 17 00:00:00 2001 From: NonaSuomy Date: Wed, 2 Jul 2025 23:00:54 -0400 Subject: [PATCH 39/70] Delete 19_Organize_unnecessary_files.bat.bak --- 19_Organize_unnecessary_files.bat.bak | 26 -------------------------- 1 file changed, 26 deletions(-) delete mode 100644 19_Organize_unnecessary_files.bat.bak diff --git a/19_Organize_unnecessary_files.bat.bak b/19_Organize_unnecessary_files.bat.bak deleted file mode 100644 index 48fe2da..0000000 --- a/19_Organize_unnecessary_files.bat.bak +++ /dev/null @@ -1,26 +0,0 @@ -@echo off -rem 19_Organize_unnecessary_files.bat -rem http://www.neko.ne.jp/~freewing/software/build_fritzing_100_windows/ -rem Copyright (c) 2023 FREE WING,Y.Sakamoto -echo %0 -timeout /T 10 /NOBREAK -rem Load configuration -if exist qt_config.bat call qt_config.bat - -cd /d %FRITZING_WORKSPACE_DIR% - -cd .\release64 - -mkdir .\_\ - -move *.cpp .\_\ -move *.h .\_\ -move *.obj .\_\ - -powershell compress-archive .\_ _.zip - -rmdir /S /Q .\_\ - -cd .. - -exit \ No newline at end of file From 01a6b1f283abdc32322749476e4dbd665d2d6ecc Mon Sep 17 00:00:00 2001 From: NonaSuomy Date: Wed, 2 Jul 2025 23:01:02 -0400 Subject: [PATCH 40/70] Delete 20_Create_Fritzing_zip_package.bat.bak --- 20_Create_Fritzing_zip_package.bat.bak | 34 -------------------------- 1 file changed, 34 deletions(-) delete mode 100644 20_Create_Fritzing_zip_package.bat.bak diff --git a/20_Create_Fritzing_zip_package.bat.bak b/20_Create_Fritzing_zip_package.bat.bak deleted file mode 100644 index 2172ff9..0000000 --- a/20_Create_Fritzing_zip_package.bat.bak +++ /dev/null @@ -1,34 +0,0 @@ -@echo off -rem 20_Create_Fritzing_zip_package.bat -rem http://www.neko.ne.jp/~freewing/software/build_fritzing_100_windows/ -rem Copyright (c) 2023-2024 FREE WING,Y.Sakamoto -echo %0 -timeout /T 10 /NOBREAK -rem Load configuration -if exist qt_config.bat call qt_config.bat - -cd /d %FRITZING_WORKSPACE_DIR% - -set Fritzing_XXX=Fritzing_105 - -ren release64 %Fritzing_XXX% - -powershell compress-archive .\%Fritzing_XXX% %Fritzing_XXX%.zip - -ren %Fritzing_XXX% release64 - -echo . -echo === -dir %Fritzing_XXX%.zip -rem Beep -rundll32 user32.dll,MessageBeep -timeout /T 1 /NOBREAK -rundll32 user32.dll,MessageBeep -timeout /T 1 /NOBREAK -rundll32 user32.dll,MessageBeep - -timeout /T 10 /NOBREAK - -start . - -exit \ No newline at end of file From a043bfe81742453f7f764848cc404e57d5c9b083 Mon Sep 17 00:00:00 2001 From: NonaSuomy Date: Wed, 2 Jul 2025 23:01:11 -0400 Subject: [PATCH 41/70] Delete LICENSE.bak --- LICENSE.bak | 674 ---------------------------------------------------- 1 file changed, 674 deletions(-) delete mode 100644 LICENSE.bak diff --git a/LICENSE.bak b/LICENSE.bak deleted file mode 100644 index e72bfdd..0000000 --- a/LICENSE.bak +++ /dev/null @@ -1,674 +0,0 @@ - GNU GENERAL PUBLIC LICENSE - Version 3, 29 June 2007 - - Copyright (C) 2007 Free Software Foundation, Inc. - Everyone is permitted to copy and distribute verbatim copies - of this license document, but changing it is not allowed. - - Preamble - - The GNU General Public License is a free, copyleft license for -software and other kinds of works. - - The licenses for most software and other practical works are designed -to take away your freedom to share and change the works. By contrast, -the GNU General Public License is intended to guarantee your freedom to -share and change all versions of a program--to make sure it remains free -software for all its users. We, the Free Software Foundation, use the -GNU General Public License for most of our software; it applies also to -any other work released this way by its authors. You can apply it to -your programs, too. - - When we speak of free software, we are referring to freedom, not -price. Our General Public Licenses are designed to make sure that you -have the freedom to distribute copies of free software (and charge for -them if you wish), that you receive source code or can get it if you -want it, that you can change the software or use pieces of it in new -free programs, and that you know you can do these things. - - To protect your rights, we need to prevent others from denying you -these rights or asking you to surrender the rights. Therefore, you have -certain responsibilities if you distribute copies of the software, or if -you modify it: responsibilities to respect the freedom of others. - - For example, if you distribute copies of such a program, whether -gratis or for a fee, you must pass on to the recipients the same -freedoms that you received. You must make sure that they, too, receive -or can get the source code. And you must show them these terms so they -know their rights. - - Developers that use the GNU GPL protect your rights with two steps: -(1) assert copyright on the software, and (2) offer you this License -giving you legal permission to copy, distribute and/or modify it. - - For the developers' and authors' protection, the GPL clearly explains -that there is no warranty for this free software. For both users' and -authors' sake, the GPL requires that modified versions be marked as -changed, so that their problems will not be attributed erroneously to -authors of previous versions. - - Some devices are designed to deny users access to install or run -modified versions of the software inside them, although the manufacturer -can do so. This is fundamentally incompatible with the aim of -protecting users' freedom to change the software. The systematic -pattern of such abuse occurs in the area of products for individuals to -use, which is precisely where it is most unacceptable. Therefore, we -have designed this version of the GPL to prohibit the practice for those -products. If such problems arise substantially in other domains, we -stand ready to extend this provision to those domains in future versions -of the GPL, as needed to protect the freedom of users. - - Finally, every program is threatened constantly by software patents. -States should not allow patents to restrict development and use of -software on general-purpose computers, but in those that do, we wish to -avoid the special danger that patents applied to a free program could -make it effectively proprietary. To prevent this, the GPL assures that -patents cannot be used to render the program non-free. - - The precise terms and conditions for copying, distribution and -modification follow. - - TERMS AND CONDITIONS - - 0. Definitions. - - "This License" refers to version 3 of the GNU General Public License. - - "Copyright" also means copyright-like laws that apply to other kinds of -works, such as semiconductor masks. - - "The Program" refers to any copyrightable work licensed under this -License. Each licensee is addressed as "you". "Licensees" and -"recipients" may be individuals or organizations. - - To "modify" a work means to copy from or adapt all or part of the work -in a fashion requiring copyright permission, other than the making of an -exact copy. The resulting work is called a "modified version" of the -earlier work or a work "based on" the earlier work. - - A "covered work" means either the unmodified Program or a work based -on the Program. - - To "propagate" a work means to do anything with it that, without -permission, would make you directly or secondarily liable for -infringement under applicable copyright law, except executing it on a -computer or modifying a private copy. Propagation includes copying, -distribution (with or without modification), making available to the -public, and in some countries other activities as well. - - To "convey" a work means any kind of propagation that enables other -parties to make or receive copies. Mere interaction with a user through -a computer network, with no transfer of a copy, is not conveying. - - An interactive user interface displays "Appropriate Legal Notices" -to the extent that it includes a convenient and prominently visible -feature that (1) displays an appropriate copyright notice, and (2) -tells the user that there is no warranty for the work (except to the -extent that warranties are provided), that licensees may convey the -work under this License, and how to view a copy of this License. If -the interface presents a list of user commands or options, such as a -menu, a prominent item in the list meets this criterion. - - 1. Source Code. - - The "source code" for a work means the preferred form of the work -for making modifications to it. "Object code" means any non-source -form of a work. - - A "Standard Interface" means an interface that either is an official -standard defined by a recognized standards body, or, in the case of -interfaces specified for a particular programming language, one that -is widely used among developers working in that language. - - The "System Libraries" of an executable work include anything, other -than the work as a whole, that (a) is included in the normal form of -packaging a Major Component, but which is not part of that Major -Component, and (b) serves only to enable use of the work with that -Major Component, or to implement a Standard Interface for which an -implementation is available to the public in source code form. A -"Major Component", in this context, means a major essential component -(kernel, window system, and so on) of the specific operating system -(if any) on which the executable work runs, or a compiler used to -produce the work, or an object code interpreter used to run it. - - The "Corresponding Source" for a work in object code form means all -the source code needed to generate, install, and (for an executable -work) run the object code and to modify the work, including scripts to -control those activities. However, it does not include the work's -System Libraries, or general-purpose tools or generally available free -programs which are used unmodified in performing those activities but -which are not part of the work. For example, Corresponding Source -includes interface definition files associated with source files for -the work, and the source code for shared libraries and dynamically -linked subprograms that the work is specifically designed to require, -such as by intimate data communication or control flow between those -subprograms and other parts of the work. - - The Corresponding Source need not include anything that users -can regenerate automatically from other parts of the Corresponding -Source. - - The Corresponding Source for a work in source code form is that -same work. - - 2. Basic Permissions. - - All rights granted under this License are granted for the term of -copyright on the Program, and are irrevocable provided the stated -conditions are met. This License explicitly affirms your unlimited -permission to run the unmodified Program. The output from running a -covered work is covered by this License only if the output, given its -content, constitutes a covered work. This License acknowledges your -rights of fair use or other equivalent, as provided by copyright law. - - You may make, run and propagate covered works that you do not -convey, without conditions so long as your license otherwise remains -in force. You may convey covered works to others for the sole purpose -of having them make modifications exclusively for you, or provide you -with facilities for running those works, provided that you comply with -the terms of this License in conveying all material for which you do -not control copyright. Those thus making or running the covered works -for you must do so exclusively on your behalf, under your direction -and control, on terms that prohibit them from making any copies of -your copyrighted material outside their relationship with you. - - Conveying under any other circumstances is permitted solely under -the conditions stated below. Sublicensing is not allowed; section 10 -makes it unnecessary. - - 3. Protecting Users' Legal Rights From Anti-Circumvention Law. - - No covered work shall be deemed part of an effective technological -measure under any applicable law fulfilling obligations under article -11 of the WIPO copyright treaty adopted on 20 December 1996, or -similar laws prohibiting or restricting circumvention of such -measures. - - When you convey a covered work, you waive any legal power to forbid -circumvention of technological measures to the extent such circumvention -is effected by exercising rights under this License with respect to -the covered work, and you disclaim any intention to limit operation or -modification of the work as a means of enforcing, against the work's -users, your or third parties' legal rights to forbid circumvention of -technological measures. - - 4. Conveying Verbatim Copies. - - You may convey verbatim copies of the Program's source code as you -receive it, in any medium, provided that you conspicuously and -appropriately publish on each copy an appropriate copyright notice; -keep intact all notices stating that this License and any -non-permissive terms added in accord with section 7 apply to the code; -keep intact all notices of the absence of any warranty; and give all -recipients a copy of this License along with the Program. - - You may charge any price or no price for each copy that you convey, -and you may offer support or warranty protection for a fee. - - 5. Conveying Modified Source Versions. - - You may convey a work based on the Program, or the modifications to -produce it from the Program, in the form of source code under the -terms of section 4, provided that you also meet all of these conditions: - - a) The work must carry prominent notices stating that you modified - it, and giving a relevant date. - - b) The work must carry prominent notices stating that it is - released under this License and any conditions added under section - 7. This requirement modifies the requirement in section 4 to - "keep intact all notices". - - c) You must license the entire work, as a whole, under this - License to anyone who comes into possession of a copy. This - License will therefore apply, along with any applicable section 7 - additional terms, to the whole of the work, and all its parts, - regardless of how they are packaged. This License gives no - permission to license the work in any other way, but it does not - invalidate such permission if you have separately received it. - - d) If the work has interactive user interfaces, each must display - Appropriate Legal Notices; however, if the Program has interactive - interfaces that do not display Appropriate Legal Notices, your - work need not make them do so. - - A compilation of a covered work with other separate and independent -works, which are not by their nature extensions of the covered work, -and which are not combined with it such as to form a larger program, -in or on a volume of a storage or distribution medium, is called an -"aggregate" if the compilation and its resulting copyright are not -used to limit the access or legal rights of the compilation's users -beyond what the individual works permit. Inclusion of a covered work -in an aggregate does not cause this License to apply to the other -parts of the aggregate. - - 6. Conveying Non-Source Forms. - - You may convey a covered work in object code form under the terms -of sections 4 and 5, provided that you also convey the -machine-readable Corresponding Source under the terms of this License, -in one of these ways: - - a) Convey the object code in, or embodied in, a physical product - (including a physical distribution medium), accompanied by the - Corresponding Source fixed on a durable physical medium - customarily used for software interchange. - - b) Convey the object code in, or embodied in, a physical product - (including a physical distribution medium), accompanied by a - written offer, valid for at least three years and valid for as - long as you offer spare parts or customer support for that product - model, to give anyone who possesses the object code either (1) a - copy of the Corresponding Source for all the software in the - product that is covered by this License, on a durable physical - medium customarily used for software interchange, for a price no - more than your reasonable cost of physically performing this - conveying of source, or (2) access to copy the - Corresponding Source from a network server at no charge. - - c) Convey individual copies of the object code with a copy of the - written offer to provide the Corresponding Source. This - alternative is allowed only occasionally and noncommercially, and - only if you received the object code with such an offer, in accord - with subsection 6b. - - d) Convey the object code by offering access from a designated - place (gratis or for a charge), and offer equivalent access to the - Corresponding Source in the same way through the same place at no - further charge. You need not require recipients to copy the - Corresponding Source along with the object code. If the place to - copy the object code is a network server, the Corresponding Source - may be on a different server (operated by you or a third party) - that supports equivalent copying facilities, provided you maintain - clear directions next to the object code saying where to find the - Corresponding Source. Regardless of what server hosts the - Corresponding Source, you remain obligated to ensure that it is - available for as long as needed to satisfy these requirements. - - e) Convey the object code using peer-to-peer transmission, provided - you inform other peers where the object code and Corresponding - Source of the work are being offered to the general public at no - charge under subsection 6d. - - A separable portion of the object code, whose source code is excluded -from the Corresponding Source as a System Library, need not be -included in conveying the object code work. - - A "User Product" is either (1) a "consumer product", which means any -tangible personal property which is normally used for personal, family, -or household purposes, or (2) anything designed or sold for incorporation -into a dwelling. In determining whether a product is a consumer product, -doubtful cases shall be resolved in favor of coverage. For a particular -product received by a particular user, "normally used" refers to a -typical or common use of that class of product, regardless of the status -of the particular user or of the way in which the particular user -actually uses, or expects or is expected to use, the product. A product -is a consumer product regardless of whether the product has substantial -commercial, industrial or non-consumer uses, unless such uses represent -the only significant mode of use of the product. - - "Installation Information" for a User Product means any methods, -procedures, authorization keys, or other information required to install -and execute modified versions of a covered work in that User Product from -a modified version of its Corresponding Source. The information must -suffice to ensure that the continued functioning of the modified object -code is in no case prevented or interfered with solely because -modification has been made. - - If you convey an object code work under this section in, or with, or -specifically for use in, a User Product, and the conveying occurs as -part of a transaction in which the right of possession and use of the -User Product is transferred to the recipient in perpetuity or for a -fixed term (regardless of how the transaction is characterized), the -Corresponding Source conveyed under this section must be accompanied -by the Installation Information. But this requirement does not apply -if neither you nor any third party retains the ability to install -modified object code on the User Product (for example, the work has -been installed in ROM). - - The requirement to provide Installation Information does not include a -requirement to continue to provide support service, warranty, or updates -for a work that has been modified or installed by the recipient, or for -the User Product in which it has been modified or installed. Access to a -network may be denied when the modification itself materially and -adversely affects the operation of the network or violates the rules and -protocols for communication across the network. - - Corresponding Source conveyed, and Installation Information provided, -in accord with this section must be in a format that is publicly -documented (and with an implementation available to the public in -source code form), and must require no special password or key for -unpacking, reading or copying. - - 7. Additional Terms. - - "Additional permissions" are terms that supplement the terms of this -License by making exceptions from one or more of its conditions. -Additional permissions that are applicable to the entire Program shall -be treated as though they were included in this License, to the extent -that they are valid under applicable law. If additional permissions -apply only to part of the Program, that part may be used separately -under those permissions, but the entire Program remains governed by -this License without regard to the additional permissions. - - When you convey a copy of a covered work, you may at your option -remove any additional permissions from that copy, or from any part of -it. (Additional permissions may be written to require their own -removal in certain cases when you modify the work.) You may place -additional permissions on material, added by you to a covered work, -for which you have or can give appropriate copyright permission. - - Notwithstanding any other provision of this License, for material you -add to a covered work, you may (if authorized by the copyright holders of -that material) supplement the terms of this License with terms: - - a) Disclaiming warranty or limiting liability differently from the - terms of sections 15 and 16 of this License; or - - b) Requiring preservation of specified reasonable legal notices or - author attributions in that material or in the Appropriate Legal - Notices displayed by works containing it; or - - c) Prohibiting misrepresentation of the origin of that material, or - requiring that modified versions of such material be marked in - reasonable ways as different from the original version; or - - d) Limiting the use for publicity purposes of names of licensors or - authors of the material; or - - e) Declining to grant rights under trademark law for use of some - trade names, trademarks, or service marks; or - - f) Requiring indemnification of licensors and authors of that - material by anyone who conveys the material (or modified versions of - it) with contractual assumptions of liability to the recipient, for - any liability that these contractual assumptions directly impose on - those licensors and authors. - - All other non-permissive additional terms are considered "further -restrictions" within the meaning of section 10. If the Program as you -received it, or any part of it, contains a notice stating that it is -governed by this License along with a term that is a further -restriction, you may remove that term. If a license document contains -a further restriction but permits relicensing or conveying under this -License, you may add to a covered work material governed by the terms -of that license document, provided that the further restriction does -not survive such relicensing or conveying. - - If you add terms to a covered work in accord with this section, you -must place, in the relevant source files, a statement of the -additional terms that apply to those files, or a notice indicating -where to find the applicable terms. - - Additional terms, permissive or non-permissive, may be stated in the -form of a separately written license, or stated as exceptions; -the above requirements apply either way. - - 8. Termination. - - You may not propagate or modify a covered work except as expressly -provided under this License. Any attempt otherwise to propagate or -modify it is void, and will automatically terminate your rights under -this License (including any patent licenses granted under the third -paragraph of section 11). - - However, if you cease all violation of this License, then your -license from a particular copyright holder is reinstated (a) -provisionally, unless and until the copyright holder explicitly and -finally terminates your license, and (b) permanently, if the copyright -holder fails to notify you of the violation by some reasonable means -prior to 60 days after the cessation. - - Moreover, your license from a particular copyright holder is -reinstated permanently if the copyright holder notifies you of the -violation by some reasonable means, this is the first time you have -received notice of violation of this License (for any work) from that -copyright holder, and you cure the violation prior to 30 days after -your receipt of the notice. - - Termination of your rights under this section does not terminate the -licenses of parties who have received copies or rights from you under -this License. If your rights have been terminated and not permanently -reinstated, you do not qualify to receive new licenses for the same -material under section 10. - - 9. Acceptance Not Required for Having Copies. - - You are not required to accept this License in order to receive or -run a copy of the Program. Ancillary propagation of a covered work -occurring solely as a consequence of using peer-to-peer transmission -to receive a copy likewise does not require acceptance. However, -nothing other than this License grants you permission to propagate or -modify any covered work. These actions infringe copyright if you do -not accept this License. Therefore, by modifying or propagating a -covered work, you indicate your acceptance of this License to do so. - - 10. Automatic Licensing of Downstream Recipients. - - Each time you convey a covered work, the recipient automatically -receives a license from the original licensors, to run, modify and -propagate that work, subject to this License. You are not responsible -for enforcing compliance by third parties with this License. - - An "entity transaction" is a transaction transferring control of an -organization, or substantially all assets of one, or subdividing an -organization, or merging organizations. If propagation of a covered -work results from an entity transaction, each party to that -transaction who receives a copy of the work also receives whatever -licenses to the work the party's predecessor in interest had or could -give under the previous paragraph, plus a right to possession of the -Corresponding Source of the work from the predecessor in interest, if -the predecessor has it or can get it with reasonable efforts. - - You may not impose any further restrictions on the exercise of the -rights granted or affirmed under this License. For example, you may -not impose a license fee, royalty, or other charge for exercise of -rights granted under this License, and you may not initiate litigation -(including a cross-claim or counterclaim in a lawsuit) alleging that -any patent claim is infringed by making, using, selling, offering for -sale, or importing the Program or any portion of it. - - 11. Patents. - - A "contributor" is a copyright holder who authorizes use under this -License of the Program or a work on which the Program is based. The -work thus licensed is called the contributor's "contributor version". - - A contributor's "essential patent claims" are all patent claims -owned or controlled by the contributor, whether already acquired or -hereafter acquired, that would be infringed by some manner, permitted -by this License, of making, using, or selling its contributor version, -but do not include claims that would be infringed only as a -consequence of further modification of the contributor version. For -purposes of this definition, "control" includes the right to grant -patent sublicenses in a manner consistent with the requirements of -this License. - - Each contributor grants you a non-exclusive, worldwide, royalty-free -patent license under the contributor's essential patent claims, to -make, use, sell, offer for sale, import and otherwise run, modify and -propagate the contents of its contributor version. - - In the following three paragraphs, a "patent license" is any express -agreement or commitment, however denominated, not to enforce a patent -(such as an express permission to practice a patent or covenant not to -sue for patent infringement). To "grant" such a patent license to a -party means to make such an agreement or commitment not to enforce a -patent against the party. - - If you convey a covered work, knowingly relying on a patent license, -and the Corresponding Source of the work is not available for anyone -to copy, free of charge and under the terms of this License, through a -publicly available network server or other readily accessible means, -then you must either (1) cause the Corresponding Source to be so -available, or (2) arrange to deprive yourself of the benefit of the -patent license for this particular work, or (3) arrange, in a manner -consistent with the requirements of this License, to extend the patent -license to downstream recipients. "Knowingly relying" means you have -actual knowledge that, but for the patent license, your conveying the -covered work in a country, or your recipient's use of the covered work -in a country, would infringe one or more identifiable patents in that -country that you have reason to believe are valid. - - If, pursuant to or in connection with a single transaction or -arrangement, you convey, or propagate by procuring conveyance of, a -covered work, and grant a patent license to some of the parties -receiving the covered work authorizing them to use, propagate, modify -or convey a specific copy of the covered work, then the patent license -you grant is automatically extended to all recipients of the covered -work and works based on it. - - A patent license is "discriminatory" if it does not include within -the scope of its coverage, prohibits the exercise of, or is -conditioned on the non-exercise of one or more of the rights that are -specifically granted under this License. You may not convey a covered -work if you are a party to an arrangement with a third party that is -in the business of distributing software, under which you make payment -to the third party based on the extent of your activity of conveying -the work, and under which the third party grants, to any of the -parties who would receive the covered work from you, a discriminatory -patent license (a) in connection with copies of the covered work -conveyed by you (or copies made from those copies), or (b) primarily -for and in connection with specific products or compilations that -contain the covered work, unless you entered into that arrangement, -or that patent license was granted, prior to 28 March 2007. - - Nothing in this License shall be construed as excluding or limiting -any implied license or other defenses to infringement that may -otherwise be available to you under applicable patent law. - - 12. No Surrender of Others' Freedom. - - If conditions are imposed on you (whether by court order, agreement or -otherwise) that contradict the conditions of this License, they do not -excuse you from the conditions of this License. If you cannot convey a -covered work so as to satisfy simultaneously your obligations under this -License and any other pertinent obligations, then as a consequence you may -not convey it at all. For example, if you agree to terms that obligate you -to collect a royalty for further conveying from those to whom you convey -the Program, the only way you could satisfy both those terms and this -License would be to refrain entirely from conveying the Program. - - 13. Use with the GNU Affero General Public License. - - Notwithstanding any other provision of this License, you have -permission to link or combine any covered work with a work licensed -under version 3 of the GNU Affero General Public License into a single -combined work, and to convey the resulting work. The terms of this -License will continue to apply to the part which is the covered work, -but the special requirements of the GNU Affero General Public License, -section 13, concerning interaction through a network will apply to the -combination as such. - - 14. Revised Versions of this License. - - The Free Software Foundation may publish revised and/or new versions of -the GNU General Public License from time to time. Such new versions will -be similar in spirit to the present version, but may differ in detail to -address new problems or concerns. - - Each version is given a distinguishing version number. If the -Program specifies that a certain numbered version of the GNU General -Public License "or any later version" applies to it, you have the -option of following the terms and conditions either of that numbered -version or of any later version published by the Free Software -Foundation. If the Program does not specify a version number of the -GNU General Public License, you may choose any version ever published -by the Free Software Foundation. - - If the Program specifies that a proxy can decide which future -versions of the GNU General Public License can be used, that proxy's -public statement of acceptance of a version permanently authorizes you -to choose that version for the Program. - - Later license versions may give you additional or different -permissions. However, no additional obligations are imposed on any -author or copyright holder as a result of your choosing to follow a -later version. - - 15. Disclaimer of Warranty. - - THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY -APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT -HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY -OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, -THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM -IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF -ALL NECESSARY SERVICING, REPAIR OR CORRECTION. - - 16. Limitation of Liability. - - IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING -WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS -THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY -GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE -USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF -DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD -PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), -EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF -SUCH DAMAGES. - - 17. Interpretation of Sections 15 and 16. - - If the disclaimer of warranty and limitation of liability provided -above cannot be given local legal effect according to their terms, -reviewing courts shall apply local law that most closely approximates -an absolute waiver of all civil liability in connection with the -Program, unless a warranty or assumption of liability accompanies a -copy of the Program in return for a fee. - - END OF TERMS AND CONDITIONS - - How to Apply These Terms to Your New Programs - - If you develop a new program, and you want it to be of the greatest -possible use to the public, the best way to achieve this is to make it -free software which everyone can redistribute and change under these terms. - - To do so, attach the following notices to the program. It is safest -to attach them to the start of each source file to most effectively -state the exclusion of warranty; and each file should have at least -the "copyright" line and a pointer to where the full notice is found. - - - Copyright (C) - - This program is free software: you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program. If not, see . - -Also add information on how to contact you by electronic and paper mail. - - If the program does terminal interaction, make it output a short -notice like this when it starts in an interactive mode: - - Copyright (C) - This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. - This is free software, and you are welcome to redistribute it - under certain conditions; type `show c' for details. - -The hypothetical commands `show w' and `show c' should show the appropriate -parts of the General Public License. Of course, your program's commands -might be different; for a GUI interface, you would use an "about box". - - You should also get your employer (if you work as a programmer) or school, -if any, to sign a "copyright disclaimer" for the program, if necessary. -For more information on this, and how to apply and follow the GNU GPL, see -. - - The GNU General Public License does not permit incorporating your program -into proprietary programs. If your program is a subroutine library, you -may consider it more useful to permit linking proprietary applications with -the library. If this is what you want to do, use the GNU Lesser General -Public License instead of this License. But first, please read -. \ No newline at end of file From 53f9bc2714f17da372f4bce929fa04300e48f400 Mon Sep 17 00:00:00 2001 From: NonaSuomy Date: Wed, 2 Jul 2025 23:01:20 -0400 Subject: [PATCH 42/70] Delete README.md.bak --- README.md.bak | 107 -------------------------------------------------- 1 file changed, 107 deletions(-) delete mode 100644 README.md.bak diff --git a/README.md.bak b/README.md.bak deleted file mode 100644 index 3eb65af..0000000 --- a/README.md.bak +++ /dev/null @@ -1,107 +0,0 @@ -# Build-Fritzing-1.0.5-Windows-script -Build Fritzing 1.0.5 Windows script - -2025/05/17 Update Build Fritzing 1.0.5 -2024/10/28 Update Build Fritzing 1.0.4 (Reconfirmed on 2025/01/05) -2024/07/14 Update Build Fritzing 1.0.3 -2024/01/11 Update Build Fritzing 1.0.2 (Reconfirmed on 2024/05/05) -2023/11/18 Update Build Fritzing 1.0.1 - -* How to Build Fritzing 1.0.5 from Source code in Windows with Visual Studio 2019 -http://www.neko.ne.jp/~freewing/software/build_fritzing_100_windows/ - -* Build Step -``` -* Open Command Prompt - -bitsadmin /TRANSFER hoge https://raw.githubusercontent.com/FREEWING-JP/Build-Fritzing-1.0.0-Windows-script/main/00_Download_Script.bat %cd%\00_Download_Script.bat - -# Optional: Set custom directories -# set QT_INSTALL_DIR=D:\CustomQtPath -# set FRITZING_WORKSPACE_DIR=D:\FritzingBuild -# set VS_INSTALL_DIR=D:\VisualStudio\2019\BuildTools -00_Download_Script.bat - -00_Execute_Script.bat - -* Wait an hour -``` - -## Directory Configuration - -The build scripts use a central configuration file called `directories_config.bat` to store all directory paths. This file is persistent and can be edited manually to customize your build environment. - -### Default Configuration - -The default configuration in `directories_config.bat` looks like this: - -```batch -@echo off -rem directories_config.bat -rem Configuration file for directory paths used in Fritzing build scripts -rem This file is meant to be persistent and can be edited manually - -rem Qt installation directory -set QT_INSTALL_DIR=F:\Qt - -rem Fritzing workspace directory -set FRITZING_WORKSPACE_DIR=\00_fritzing - -rem Visual Studio installation directory -set VS_INSTALL_DIR=C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools -``` - -### Setting Custom Directories - -You can customize the directories in two ways: - -#### Method 1: Set environment variables before running the scripts - -```batch -set QT_INSTALL_DIR=D:\CustomQtPath -set FRITZING_WORKSPACE_DIR=D:\FritzingBuild -set VS_INSTALL_DIR=D:\VisualStudio\2019\BuildTools -00_Download_Script.bat -``` - -#### Method 2: Edit the `directories_config.bat` file directly (recommended) - -After running the scripts once, you can edit the `directories_config.bat` file directly to change any of the directory paths. This is the recommended approach as your settings will be preserved between builds. - -### How It Works - -When you run `00_Download_Script.bat` for the first time, it checks if `directories_config.bat` exists: - -- If it exists, the script loads the configuration from it -- If it doesn't exist, the script creates it with default values - -All other scripts in the build process load this configuration file before executing their tasks, ensuring consistent settings across the entire build process. - -### Important Notes - -- The file is created automatically by `00_Download_Script.bat` if it doesn't exist -- Manual edits to this file will be preserved -- If you delete this file, it will be recreated with default values the next time you run `00_Download_Script.bat` -- Make sure the directories you specify exist or can be created by the script -- The workspace directory should be empty when you start the build process - -![ClipImage_20241028_142712_529](https://github.com/user-attachments/assets/e5e4fbf4-d4c5-42b7-8580-83737367361d) -![ClipImage_20241028_142942_938](https://github.com/user-attachments/assets/7fc6c5e8-69a7-400e-867e-ec8a69823dcc) - - -* Tested -Windows 11 Real -Windows 11 Windows Sandbox -Windows 10 Windows Sandbox - -* Fritzing 1.0.0を合法的に無料で使用する方法、Windows環境 VS2019でビルドする方法 -http://www.neko.ne.jp/~freewing/software/build_fritzing_100_windows/ - -* Donation Button -[![Donate](https://img.shields.io/badge/Donate-PayPal-green.svg)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=T79HPJ5H79PBU) - -* Youtube -[How to get Fritzing 1.0.0 for free - Compile Fritzing on Windows YouTube https://youtu.be/cC82PULJq6g](https://youtu.be/cC82PULJq6g) - -* Youtube -[Fritzing 1.0.0を無料でゲットする方法 YouTube https://youtu.be/wLDuyNqms_g](https://youtu.be/wLDuyNqms_g) From bb2373a7ba0b8575ef7f0d793fd44207dfdf5931 Mon Sep 17 00:00:00 2001 From: NonaSuomy Date: Wed, 2 Jul 2025 23:01:29 -0400 Subject: [PATCH 43/70] Delete SendKeys_Accept.vbs.bak --- SendKeys_Accept.vbs.bak | 18 ------------------ 1 file changed, 18 deletions(-) delete mode 100644 SendKeys_Accept.vbs.bak diff --git a/SendKeys_Accept.vbs.bak b/SendKeys_Accept.vbs.bak deleted file mode 100644 index 12f71e9..0000000 --- a/SendKeys_Accept.vbs.bak +++ /dev/null @@ -1,18 +0,0 @@ -Set WSHShell = WScript.CreateObject("WScript.Shell") -WScript.Sleep(5000) -WScript.Sleep(5000) - -WScript.Sleep(5000) -WScript.Sleep(5000) - -WScript.Sleep(5000) -WScript.Sleep(5000) - -WScript.Sleep(5000) -WScript.Sleep(5000) - -WScript.Sleep(5000) -WScript.Sleep(5000) - -WSHShell.SendKeys "Accept{ENTER}" - From 5c4af379311a4e2b6adbb42ce136ef42031de39a Mon Sep 17 00:00:00 2001 From: NonaSuomy Date: Wed, 2 Jul 2025 23:01:36 -0400 Subject: [PATCH 44/70] Delete SendKeys_AltF4.vbs.bak --- SendKeys_AltF4.vbs.bak | 21 --------------------- 1 file changed, 21 deletions(-) delete mode 100644 SendKeys_AltF4.vbs.bak diff --git a/SendKeys_AltF4.vbs.bak b/SendKeys_AltF4.vbs.bak deleted file mode 100644 index 0bb8296..0000000 --- a/SendKeys_AltF4.vbs.bak +++ /dev/null @@ -1,21 +0,0 @@ -Set WSHShell = WScript.CreateObject("WScript.Shell") -WScript.Sleep(5000) -WScript.Sleep(5000) - -WScript.Sleep(5000) -WScript.Sleep(5000) - -WScript.Sleep(5000) -WScript.Sleep(5000) - -WScript.Sleep(5000) -WScript.Sleep(5000) - -WScript.Sleep(5000) -WScript.Sleep(5000) - -WSHShell.AppActivate "Untitled Sketch.fzz - Fritzing" -WScript.Sleep(1000) - -WSHShell.SendKeys "%{F4}" - From 3ce943de9f8b9695b4b2ab2c0155e517b67607e7 Mon Sep 17 00:00:00 2001 From: NonaSuomy Date: Wed, 2 Jul 2025 23:01:44 -0400 Subject: [PATCH 45/70] Delete directories_config.bat.bak --- directories_config.bat.bak | 15 --------------- 1 file changed, 15 deletions(-) delete mode 100644 directories_config.bat.bak diff --git a/directories_config.bat.bak b/directories_config.bat.bak deleted file mode 100644 index f712b88..0000000 --- a/directories_config.bat.bak +++ /dev/null @@ -1,15 +0,0 @@ -@echo off -rem directories_config.bat -rem Configuration file for directory paths used in Fritzing build scripts -rem This file is meant to be persistent and can be edited manually - -rem Qt installation directory (default is C:\Qt) -set QT_INSTALL_DIR=C:\Qt - -rem Fritzing workspace directory (default is \00_fritzing) -set FRITZING_WORKSPACE_DIR=\00_fritzing - -rem Visual Studio installation directory (default is auto-detected) -set VS_INSTALL_DIR=C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools - -rem Additional configuration variables can be added here \ No newline at end of file From 0eb12742403df30f99a085178a35b904658055f4 Mon Sep 17 00:00:00 2001 From: NonaSuomy Date: Thu, 3 Jul 2025 11:41:53 -0400 Subject: [PATCH 46/70] Update 00_Download_Script.bat --- 00_Download_Script.bat | 1 + 1 file changed, 1 insertion(+) diff --git a/00_Download_Script.bat b/00_Download_Script.bat index 6e533ef..271b63d 100644 --- a/00_Download_Script.bat +++ b/00_Download_Script.bat @@ -87,3 +87,4 @@ if not exist directories_config.bat ( echo.>> directories_config.bat echo rem Created by 00_Download_Script.bat>> directories_config.bat ) + From bdb87142c77d6ea02d955576943452c4b5946c58 Mon Sep 17 00:00:00 2001 From: NonaSuomy Date: Thu, 3 Jul 2025 11:42:17 -0400 Subject: [PATCH 47/70] Update 00_Execute_Script.bat --- 00_Execute_Script.bat | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/00_Execute_Script.bat b/00_Execute_Script.bat index 1ac8e28..2847562 100644 --- a/00_Execute_Script.bat +++ b/00_Execute_Script.bat @@ -66,4 +66,5 @@ start /wait 18_2nd_Launch_Fritzing.bat start /wait 19_Organize_unnecessary_files.bat start /wait 20_Create_Fritzing_zip_package.bat -exit \ No newline at end of file +exit + From 66936bf43648693ee5395698e766393544ceb448 Mon Sep 17 00:00:00 2001 From: NonaSuomy Date: Thu, 3 Jul 2025 11:42:34 -0400 Subject: [PATCH 48/70] Update 01_Create_Build_directory.bat --- 01_Create_Build_directory.bat | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/01_Create_Build_directory.bat b/01_Create_Build_directory.bat index e6c80c5..9829547 100644 --- a/01_Create_Build_directory.bat +++ b/01_Create_Build_directory.bat @@ -9,4 +9,5 @@ echo Using Fritzing workspace directory: %FRITZING_WORKSPACE_DIR% cd \ mkdir %FRITZING_WORKSPACE_DIR% -cd /d %FRITZING_WORKSPACE_DIR% \ No newline at end of file +cd /d %FRITZING_WORKSPACE_DIR% + From 9cff7b2736bf159072efc81cc112790f4b5be49f Mon Sep 17 00:00:00 2001 From: NonaSuomy Date: Thu, 3 Jul 2025 11:42:57 -0400 Subject: [PATCH 49/70] Update 03_Install_Qt_653.bat --- 03_Install_Qt_653.bat | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/03_Install_Qt_653.bat b/03_Install_Qt_653.bat index 7009417..cc1afd1 100644 --- a/03_Install_Qt_653.bat +++ b/03_Install_Qt_653.bat @@ -97,4 +97,5 @@ exit rem include QtCreator -echo install qt.tools.qtcreator_gui ^^>>qt_inst.bat \ No newline at end of file +echo install qt.tools.qtcreator_gui ^^>>qt_inst.bat + From 581d15723de2b72e1d7ec7a818c1c7420a9c6715 Mon Sep 17 00:00:00 2001 From: NonaSuomy Date: Thu, 3 Jul 2025 11:43:19 -0400 Subject: [PATCH 50/70] Update 04_Install_Visual_Studio_Build_Tools_2019.bat --- 04_Install_Visual_Studio_Build_Tools_2019.bat | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/04_Install_Visual_Studio_Build_Tools_2019.bat b/04_Install_Visual_Studio_Build_Tools_2019.bat index 711e88b..1754394 100644 --- a/04_Install_Visual_Studio_Build_Tools_2019.bat +++ b/04_Install_Visual_Studio_Build_Tools_2019.bat @@ -55,4 +55,5 @@ vs_BuildTools_2019.exe --config %VSDIR%\VSBT_VS2019.vsconfig ^ --installPath "%VS_INSTALL_DIR%" ^ --norestart --passive --wait -exit \ No newline at end of file +exit + From 54596d9cfbeafe4e3da9f3fa888f41ac5891d9e0 Mon Sep 17 00:00:00 2001 From: NonaSuomy Date: Thu, 3 Jul 2025 11:43:46 -0400 Subject: [PATCH 51/70] Update 05_Extract_Requirement_Files.bat --- 05_Extract_Requirement_Files.bat | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/05_Extract_Requirement_Files.bat b/05_Extract_Requirement_Files.bat index ba46341..c0ee776 100644 --- a/05_Extract_Requirement_Files.bat +++ b/05_Extract_Requirement_Files.bat @@ -58,7 +58,9 @@ echo 7z2301-x64.exe /S /D=%cd%\7z>>7z_inst.bat start /wait powershell "Start-Process -FilePath '7z_inst.bat' -WorkingDirectory '%cd%' -Verb RunAs -Wait" + + .\7z\7z x PortableGit-2.42.0.2-64-bit.7z.exe -o.\PortableGit .\7z\7z x ngspice-42_dll_64.7z -o.\ -exit \ No newline at end of file +exit From d5e56f74eef389827a3a7abaea2d2f9c4a9be0f4 Mon Sep 17 00:00:00 2001 From: NonaSuomy Date: Thu, 3 Jul 2025 11:44:04 -0400 Subject: [PATCH 52/70] Update 06_Download_from_Git.bat --- 06_Download_from_Git.bat | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/06_Download_from_Git.bat b/06_Download_from_Git.bat index 03f2600..b6db176 100644 --- a/06_Download_from_Git.bat +++ b/06_Download_from_Git.bat @@ -23,4 +23,5 @@ rem https://github.com/libgit2/libgit2/releases/tag/v0.28.5 echo libgit2 v0.28.5 git clone https://github.com/libgit2/libgit2 -b v0.28.5 -exit \ No newline at end of file +exit + From c09743dc9f6aa24a1904846ebdbe1a170cbd9045 Mon Sep 17 00:00:00 2001 From: NonaSuomy Date: Thu, 3 Jul 2025 11:44:25 -0400 Subject: [PATCH 53/70] Update 07_Build_Library.bat --- 07_Build_Library.bat | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/07_Build_Library.bat b/07_Build_Library.bat index 27c220a..e5f9ac1 100644 --- a/07_Build_Library.bat +++ b/07_Build_Library.bat @@ -138,4 +138,5 @@ rem Beep rundll32 user32.dll,MessageBeep timeout /T 10 /NOBREAK -goto failed_beep \ No newline at end of file +goto failed_beep + From e5010590909969b93c7d7f36ceff506310001fe1 Mon Sep 17 00:00:00 2001 From: NonaSuomy Date: Thu, 3 Jul 2025 11:44:46 -0400 Subject: [PATCH 54/70] Update 08_Fix_Library_place_Fritzing.bat --- 08_Fix_Library_place_Fritzing.bat | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/08_Fix_Library_place_Fritzing.bat b/08_Fix_Library_place_Fritzing.bat index 7fa45d0..0ce7eb3 100644 --- a/08_Fix_Library_place_Fritzing.bat +++ b/08_Fix_Library_place_Fritzing.bat @@ -21,4 +21,5 @@ dir .\quazip-6.5.3-1.4\build64\Release\ rem https://github.com/fritzing/fritzing-app/commit/ba8ab8760d01dc0870299f8456940524f9b73a5c xcopy /E .\quazip-6.5.3-1.4 .\quazip-6.5.3-1.4intuisphere\ -exit \ No newline at end of file +exit + From ed8d5bffc4350d90429776f994433a9954088b68 Mon Sep 17 00:00:00 2001 From: NonaSuomy Date: Thu, 3 Jul 2025 11:45:06 -0400 Subject: [PATCH 55/70] Update 09_Download_Fritzing_Source_code.bat --- 09_Download_Fritzing_Source_code.bat | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/09_Download_Fritzing_Source_code.bat b/09_Download_Fritzing_Source_code.bat index 7fbbad3..a37824c 100644 --- a/09_Download_Fritzing_Source_code.bat +++ b/09_Download_Fritzing_Source_code.bat @@ -50,4 +50,5 @@ git rev-parse --git-dir cd .. -exit \ No newline at end of file +exit + From 4275e367099afa375f9596f5a9a9909fed5203f4 Mon Sep 17 00:00:00 2001 From: NonaSuomy Date: Thu, 3 Jul 2025 11:45:24 -0400 Subject: [PATCH 56/70] Update 10_Download_Fritzing_Parts_Library.bat --- 10_Download_Fritzing_Parts_Library.bat | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/10_Download_Fritzing_Parts_Library.bat b/10_Download_Fritzing_Parts_Library.bat index cd562ac..1269619 100644 --- a/10_Download_Fritzing_Parts_Library.bat +++ b/10_Download_Fritzing_Parts_Library.bat @@ -20,4 +20,5 @@ git clone https://github.com/fritzing/fritzing-parts -b 1.0.5 cd .. -exit \ No newline at end of file +exit + From e673699f7c4355528bb4a2ae51eda5e95f895991 Mon Sep 17 00:00:00 2001 From: NonaSuomy Date: Thu, 3 Jul 2025 11:45:43 -0400 Subject: [PATCH 57/70] Update 11_Fix_Fritzing_Source_code.bat --- 11_Fix_Fritzing_Source_code.bat | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/11_Fix_Fritzing_Source_code.bat b/11_Fix_Fritzing_Source_code.bat index c1ab143..d96049a 100644 --- a/11_Fix_Fritzing_Source_code.bat +++ b/11_Fix_Fritzing_Source_code.bat @@ -24,4 +24,5 @@ rem ren modelbase.cpp_tmp modelbase.cpp cd /d \00_fritzing -exit \ No newline at end of file +exit + From 7c557dea3112665d835ce4a45a3bf835c311a6d0 Mon Sep 17 00:00:00 2001 From: NonaSuomy Date: Thu, 3 Jul 2025 11:46:03 -0400 Subject: [PATCH 58/70] Update 12_Fix_Fritzing_Header_files.bat --- 12_Fix_Fritzing_Header_files.bat | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/12_Fix_Fritzing_Header_files.bat b/12_Fix_Fritzing_Header_files.bat index c2a4a61..31d856a 100644 --- a/12_Fix_Fritzing_Header_files.bat +++ b/12_Fix_Fritzing_Header_files.bat @@ -43,4 +43,5 @@ xcopy ..\fritzing_h\ ..\release64\ cd .. -exit \ No newline at end of file +exit + From 969229e0184708cf1cb2b27a9488ead80ccd946d Mon Sep 17 00:00:00 2001 From: NonaSuomy Date: Thu, 3 Jul 2025 11:46:26 -0400 Subject: [PATCH 59/70] Update 13_Build_phoenix_pro_with_Qt.bat --- 13_Build_phoenix_pro_with_Qt.bat | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/13_Build_phoenix_pro_with_Qt.bat b/13_Build_phoenix_pro_with_Qt.bat index a819330..c19913c 100644 --- a/13_Build_phoenix_pro_with_Qt.bat +++ b/13_Build_phoenix_pro_with_Qt.bat @@ -64,4 +64,5 @@ rem Beep rundll32 user32.dll,MessageBeep timeout /T 5 /NOBREAK -goto failed_beep \ No newline at end of file +goto failed_beep + From fef0f43752d14dcf57010dd934087b3545828b30 Mon Sep 17 00:00:00 2001 From: NonaSuomy Date: Thu, 3 Jul 2025 11:47:15 -0400 Subject: [PATCH 60/70] Update 15_Copy_Fritzing_Requirement_DLL_files.bat --- 15_Copy_Fritzing_Requirement_DLL_files.bat | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/15_Copy_Fritzing_Requirement_DLL_files.bat b/15_Copy_Fritzing_Requirement_DLL_files.bat index 30c2229..6a8f0a6 100644 --- a/15_Copy_Fritzing_Requirement_DLL_files.bat +++ b/15_Copy_Fritzing_Requirement_DLL_files.bat @@ -20,4 +20,5 @@ copy .\Spice64_dll\dll-vs\*.dll .\release64 rem for Fritzing 1.0.2 copy .\clipper1-6.4.2\lib\polyclipping.dll .\release64 -exit \ No newline at end of file +exit + From fec49b195b3aa981d96d0046e651912bdd179fba Mon Sep 17 00:00:00 2001 From: NonaSuomy Date: Thu, 3 Jul 2025 11:47:36 -0400 Subject: [PATCH 61/70] Update 16_Copy_Qt_Requirement_DLL_files.bat --- 16_Copy_Qt_Requirement_DLL_files.bat | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/16_Copy_Qt_Requirement_DLL_files.bat b/16_Copy_Qt_Requirement_DLL_files.bat index d74dd6e..b7dea74 100644 --- a/16_Copy_Qt_Requirement_DLL_files.bat +++ b/16_Copy_Qt_Requirement_DLL_files.bat @@ -30,4 +30,5 @@ rem Beep rundll32 user32.dll,MessageBeep timeout /T 5 /NOBREAK -goto failed_beep \ No newline at end of file +goto failed_beep + From cb56769b07cbf67a9941e167ec3b49be0eede608 Mon Sep 17 00:00:00 2001 From: NonaSuomy Date: Thu, 3 Jul 2025 11:48:12 -0400 Subject: [PATCH 62/70] Update 17_1st_Build_Parts_DB_file.bat --- 17_1st_Build_Parts_DB_file.bat | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/17_1st_Build_Parts_DB_file.bat b/17_1st_Build_Parts_DB_file.bat index 462e3b9..be1c588 100644 --- a/17_1st_Build_Parts_DB_file.bat +++ b/17_1st_Build_Parts_DB_file.bat @@ -21,4 +21,5 @@ rundll32 user32.dll,MessageBeep cd .. -exit \ No newline at end of file +exit + From d92e792b8ee6f8d247bf5e24ff1e65ea6f480ec6 Mon Sep 17 00:00:00 2001 From: NonaSuomy Date: Thu, 3 Jul 2025 11:48:40 -0400 Subject: [PATCH 63/70] Update 18_2nd_Launch_Fritzing.bat --- 18_2nd_Launch_Fritzing.bat | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/18_2nd_Launch_Fritzing.bat b/18_2nd_Launch_Fritzing.bat index 5bbcdef..8f9acf5 100644 --- a/18_2nd_Launch_Fritzing.bat +++ b/18_2nd_Launch_Fritzing.bat @@ -45,4 +45,5 @@ timeout /T 5 /NOBREAK TASKLIST /FI "STATUS eq RUNNING" | findstr Fritzing.exe if %ERRORLEVEL% EQU 0 goto wait_close -exit \ No newline at end of file +exit + From beb97f7d6816e7c20d28804bbe162097ec3e4cbe Mon Sep 17 00:00:00 2001 From: NonaSuomy Date: Thu, 3 Jul 2025 11:49:03 -0400 Subject: [PATCH 64/70] Update 19_Organize_unnecessary_files.bat --- 19_Organize_unnecessary_files.bat | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/19_Organize_unnecessary_files.bat b/19_Organize_unnecessary_files.bat index 48fe2da..77aaa22 100644 --- a/19_Organize_unnecessary_files.bat +++ b/19_Organize_unnecessary_files.bat @@ -23,4 +23,5 @@ rmdir /S /Q .\_\ cd .. -exit \ No newline at end of file +exit + From bf008746b3ce955b7b5588a446c40fe5e3a6c1b1 Mon Sep 17 00:00:00 2001 From: NonaSuomy Date: Thu, 3 Jul 2025 11:49:27 -0400 Subject: [PATCH 65/70] Update 20_Create_Fritzing_zip_package.bat --- 20_Create_Fritzing_zip_package.bat | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/20_Create_Fritzing_zip_package.bat b/20_Create_Fritzing_zip_package.bat index 2172ff9..2b74998 100644 --- a/20_Create_Fritzing_zip_package.bat +++ b/20_Create_Fritzing_zip_package.bat @@ -31,4 +31,5 @@ timeout /T 10 /NOBREAK start . -exit \ No newline at end of file +exit + From 5c0bbff8977785737172727a77e928d162d32012 Mon Sep 17 00:00:00 2001 From: NonaSuomy Date: Thu, 3 Jul 2025 11:49:58 -0400 Subject: [PATCH 66/70] Update LICENSE --- LICENSE | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/LICENSE b/LICENSE index e72bfdd..53d1f3d 100644 --- a/LICENSE +++ b/LICENSE @@ -671,4 +671,5 @@ into proprietary programs. If your program is a subroutine library, you may consider it more useful to permit linking proprietary applications with the library. If this is what you want to do, use the GNU Lesser General Public License instead of this License. But first, please read -. \ No newline at end of file +. + From bdfec2fe1ec7ba476e8a64fb03ea4b210e2a66c5 Mon Sep 17 00:00:00 2001 From: NonaSuomy Date: Thu, 3 Jul 2025 11:50:27 -0400 Subject: [PATCH 67/70] Update README.md --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 6faee68..da47a4d 100644 --- a/README.md +++ b/README.md @@ -105,3 +105,4 @@ http://www.neko.ne.jp/~freewing/software/build_fritzing_100_windows/ * Youtube [Fritzing 1.0.0を無料でゲットする方法 YouTube https://youtu.be/wLDuyNqms_g](https://youtu.be/wLDuyNqms_g) + From 6c774047b325f220bd4c332e27e1d8a08bd9407a Mon Sep 17 00:00:00 2001 From: NonaSuomy Date: Thu, 3 Jul 2025 11:50:50 -0400 Subject: [PATCH 68/70] Update directories_config.bat --- directories_config.bat | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/directories_config.bat b/directories_config.bat index f712b88..50538fc 100644 --- a/directories_config.bat +++ b/directories_config.bat @@ -12,4 +12,5 @@ set FRITZING_WORKSPACE_DIR=\00_fritzing rem Visual Studio installation directory (default is auto-detected) set VS_INSTALL_DIR=C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools -rem Additional configuration variables can be added here \ No newline at end of file +rem Additional configuration variables can be added here + From a07e2f1983606cddf4c230e750f0bfd1ef2cf705 Mon Sep 17 00:00:00 2001 From: NonaSuomy Date: Thu, 3 Jul 2025 11:55:33 -0400 Subject: [PATCH 69/70] Update README.md --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index da47a4d..9a76c30 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ http://www.neko.ne.jp/~freewing/software/build_fritzing_100_windows/ * Build Step ``` -* Open Command Prompt +* Open Command Prompt bitsadmin /TRANSFER hoge https://raw.githubusercontent.com/FREEWING-JP/Build-Fritzing-1.0.0-Windows-script/main/00_Download_Script.bat %cd%\00_Download_Script.bat @@ -20,11 +20,11 @@ bitsadmin /TRANSFER hoge https://raw.githubusercontent.com/FREEWING-JP/Build-Fri # set QT_INSTALL_DIR=D:\CustomQtPath # set FRITZING_WORKSPACE_DIR=D:\FritzingBuild # set VS_INSTALL_DIR=D:\VisualStudio\2019\BuildTools -00_Download_Script.bat +00_Download_Script.bat -00_Execute_Script.bat +00_Execute_Script.bat -* Wait an hour +* Wait an hour ``` ## Directory Configuration From 8a4d657442130ad79f3f81bed1b0a7a3bd568e56 Mon Sep 17 00:00:00 2001 From: NonaSuomy Date: Thu, 3 Jul 2025 12:01:41 -0400 Subject: [PATCH 70/70] Update 00_Execute_Script.bat --- 00_Execute_Script.bat | 37 +------------------------------------ 1 file changed, 1 insertion(+), 36 deletions(-) diff --git a/00_Execute_Script.bat b/00_Execute_Script.bat index 2847562..ba60fc7 100644 --- a/00_Execute_Script.bat +++ b/00_Execute_Script.bat @@ -1,7 +1,7 @@ @echo off rem 00_Execute_Script.bat rem http://www.neko.ne.jp/~freewing/software/build_fritzing_100_windows/ -rem Copyright (c) 2023 FREE WING,Y.Sakamoto +rem Copyright (c) 2025 FREE WING,Y.Sakamoto echo %0 rem Load configuration if exist directories_config.bat call directories_config.bat @@ -15,41 +15,6 @@ start /wait 05_Extract_Requirement_Files.bat start /wait 06_Download_from_Git.bat start /wait 07_Build_Library.bat start /wait 08_Fix_Library_place_Fritzing.bat -@echo off -rem 00_Execute_Script.bat -rem http://www.neko.ne.jp/~freewing/software/build_fritzing_100_windows/ -rem Copyright (c) 2023 FREE WING,Y.Sakamoto -echo %0 -rem Load configuration -if exist directories_config.bat call directories_config.bat - -cd /d %FRITZING_WORKSPACE_DIR% - -start /wait 02_Download_Requirement_Files.bat -start /wait 03_Install_Qt_653.bat -start /wait 04_Install_Visual_Studio_Build_Tools_2019.bat -start /wait 05_Extract_Requirement_Files.bat -start /wait 06_Download_from_Git.bat -start /wait 07_Build_Library.bat -start /wait 08_Fix_Library_place_Fritzing.bat - -start /wait 09_Download_Fritzing_Source_code.bat -start /wait 10_Download_Fritzing_Parts_Library.bat -start /wait 11_Fix_Fritzing_Source_code.bat -start /wait 12_Fix_Fritzing_Header_files.bat - -start /wait 13_Build_phoenix_pro_with_Qt.bat -start /wait 15_Copy_Fritzing_Requirement_DLL_files.bat -start /wait 16_Copy_Qt_Requirement_DLL_files.bat - -start /wait 17_1st_Build_Parts_DB_file.bat -start /wait 18_2nd_Launch_Fritzing.bat - -start /wait 19_Organize_unnecessary_files.bat -start /wait 20_Create_Fritzing_zip_package.bat - -exit - start /wait 09_Download_Fritzing_Source_code.bat start /wait 10_Download_Fritzing_Parts_Library.bat