<div dir="ltr"><div>John,</div><div><br></div><div>I will give it a go...</div><div><br></div><div>Regards,</div><div>Bob<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, 3 Sept 2024 at 16:50, John Ralls <<a href="mailto:jralls@ceridwen.us">jralls@ceridwen.us</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div>Bob,<div><br></div><div>Thanks for the recap. Can I entice you into putting your patches into a PR?</div><div><br></div><div>The MSYS2 package archive lives at <a href="https://repo.msys2.org/mingw/mingw32/" target="_blank">https://repo.msys2.org/mingw/mingw32/</a>. It does have postgresql and xmlsec. It doesn’t have mariadbclient but does have mysqlclient but it’s not an active package. The other two are:</div><div><a href="https://github.com/msys2/MINGW-packages/tree/master/mingw-w64-postgresql" target="_blank">https://github.com/msys2/MINGW-packages/tree/master/mingw-w64-postgresql</a></div><div><a href="https://github.com/msys2/MINGW-packages/tree/master/mingw-w64-xmlsec" target="_blank">https://github.com/msys2/MINGW-packages/tree/master/mingw-w64-xmlsec</a><br id="m_6355450659992905174lineBreakAtBeginningOfMessage"><div><br></div><div>I guess we need to add a module for mariadbclient and that it’s time for another round of banging my head against the webkit-on-windows wall.</div><div><br></div><div>Regards,</div><div>John Ralls</div><div><br><blockquote type="cite"><div>On Sep 3, 2024, at 06:33, Robert Fewell <<a href="mailto:14ubobit@gmail.com" target="_blank">14ubobit@gmail.com</a>> wrote:</div><br><div><div dir="ltr"><div>Hi,</div><div><br></div><div>I have just finished refreshing my
build VM's so they are upto date and decided I would try to do a fresh
build install on my Windows build machine by doing the following and
logging any problems / fixes...</div><div><br></div><div>Note: I left HTML workshop and Inno Setup installed<br><br>Copied Working c:\gcdev64 as a backup<br><br>Uninstall existing Msys2<br><br>Created new empty c:\gcdev64 directory<br><br>Download "setup-mingw64.ps1"<br><br>Start Powershell terminal<br>Run setup-mingw64.ps1 by specifying full path.<br>Complete Msys2 install<br><br>Gets stuck on 'Updating trust database..." after signing key, I have had this before and just Ctrl-C and rerun setup-mingw64.ps1<br><br>Setup completed but looking at the terminal I can see errors...<br><br>## Error retrieving mingw-w64-i686-webkitgtk3-2.4.11-999.51-any.pkg.tar.zst.sig, Maximum file size exceeded. <br><br>Download sig file from sourceforge and copied to c:\gcdev64\msys2\var\cache\pacman\pkg<br><br>## Error retrieving mingw-w64-i686-libmariadbclient and mingw-w64-i686-postgresql,<br><br>Rerun "setup-mingw64.ps1" which downloads more files.<br><br>There will still be an error for 'libmariadbclient and postgresql, will be fixed in Msys2 mingw32 terminal<br><br>Closed Powershell.<br><br>Start Msys2 mingw32 terminal<br><br>Copied mingw-w64-i686-libmariadbclient-3.1.13-1-any.pkg.tar.zst and sig file from backup folder<br>Copied mingw-w64-i686-postgresql-16.1-1-any.pkg.tar.zst and sig file from backup folder<br></div><div></div><div><br></div><div>cd /var/cache/pacman/pkg/<br>pacman -U mingw-w64-i686-libmariadbclient-3.1.13-1-any.pkg.tar.zst<br>pacman -U mingw-w64-i686-postgresql-16.1-1-any.pkg.tar.zst<br></div><div></div><div>** Note, I do not think these files exist from Msys2 Packages, maybe from an archive somewhere. **</div><div><br></div><div>As I know webkit requires specific dependency versions, I did the following after copying the files from my backup directory...<br><br>pacman -U mingw-w64-i686-boost-1.84.0-1-any.pkg.tar.zst<br>pacman -U mingw-w64-i686-icu-74.2-1-any.pkg.tar.zst<br>pacman -U mingw-w64-i686-harfbuzz-8.3.0-1-any.pkg.tar.zst<br></div><div>** Note, I do not think these files exist from Msys2 Packages, maybe from an archive somewhere. **</div><div><br></div><div>And then updated /etc/pacman.d/gnucash-ignores.pacman with this so they will not be updated...<br>IgnorePkg = mingw-w64-i686-boost<br>IgnorePkg = mingw-w64-i686-icu<br>IgnorePkg = mingw-w64-i686-harfbuzz<br><br>From a first run, I know we need this package, copied from my backup folder...<br><br>pacman -U mingw-w64-i686-xmlsec-1.2.39-1-any.pkg.tar.zst<br>** Note, I do not think this file exists from Msys2 Packages, maybe from an archive somewhere. **</div><div><br></div><div>And these two for the install process...<br><br>pacman -S mingw-w64-i686-libsecret<br>pacman -S mingw-w64-i686-iso-codes<br><br>cd /c/gcdev64/src/gnucash-on-windows.git/<br>TARGET=gnucash-stable jhbuild -f jhbuildrc build<br><br>## jhbuild Failed, no module named 'distutils', I think this is due to python upgrade<br><br>to fix do this...<br>pacman -S python-setuptools<br><br>Rerun, build started, 1 of 12...<br><br>## jhbuild Failed on last part of OpenSP build,<br><br>I think the jhbuild patch needs to be changed for utils/packagedb.py to...<br><br>+ if (self.manifest):<br>+ writer.fp.write('\n'.join(self.manifest).encode('utf-8', 'backslashreplace') + b'\n')<br><br><br>## gwenhywfar failed so I used 'Hai Liang Wang' fix in tools/gcttool/main.c, line 182<br><br> GWEN_Gui_SetKeyDataFromTextOpenSslFn(gui, (GWEN_GUI_KEYDATAFROMTEXT_OPENSSL_FN)getKeyDataFromTextOpenSSL);<br><br>## bdwgc failed so I changed mark.c, line 514<br><br> er.ex_reg.handler = (PEXCEPTION_ROUTINE)mark_ex_handler;<br><br>Rerun build phase...<br><br>## guile2 failed, missing function getpagesize<br><br>Added this to unistd.h, not sure if correct or correct location but it allowed guile to build...<br><br>#ifdef _WIN32<br>#define getpagesize() 65536<br>#endif<br><br>Rerun build phase...<br><br>### Build Completes ###<br><br>Open PowerShell<br>cd c:\gcdev64\src\gnucash-on-windows.git\<br>.\bundle-mingw64.ps1 -root_dir c:\gcdev64 -target_dir c:\gcdev64\gnucash\stable -package gnucash -git_build $true<br><br>Setup file created in c:\gcdev64\gnucash\stable, execute it and git version of Gnucash is Installed.<br><br></div><div>Regards,</div><div>Bob</div></div>
_______________________________________________<br>gnucash-devel mailing list<br><a href="mailto:gnucash-devel@gnucash.org" target="_blank">gnucash-devel@gnucash.org</a><br><a href="https://lists.gnucash.org/mailman/listinfo/gnucash-devel" target="_blank">https://lists.gnucash.org/mailman/listinfo/gnucash-devel</a><br></div></blockquote></div><br></div></div></blockquote></div>