Hi,
I made a script and to generate a Geany installer. I had to make a few patches to Geany and it's probably not exactly stable/release-worthy, but it seems to work OK here, if not a bit slow.
I tested the 32 and 64-bit installers on Windows 10 and also the 32-bit one on Windows Vista.
Branch is here:
https://github.com/codebrainz/geany/tree/win32-installer
The script is in the branch, here:
https://github.com/codebrainz/geany/blob/win32-installer/scripts/win32-insta...
With a MSYS2 install and desired toolchain installed in it, after possibly editing the top of `scripts/win32-installer-msys2.sh` for a couple paths, run from appropriate 32 or 64-bit msys2 shell in a directory where the build cruft can go. After too many minutes it will output installer .exe in the current dir. Pass `i686` or `x86_64` as argument depending on the output architecture (default is i686). See top of the `win32-installer-msys2.sh` script for more details.
Please excuse my lack of Bash scripting skills.
Cheers, Matthew Brush
On 2015-11-22 10:30 PM, Matthew Brush wrote:
Hi,
I made a script [...]
I did some more hacking on it and made it to allow to specify which GTK+ major version to use. It accepts short command line arguments now like -a for architecture, -g for GTK+ version, and -d to enable a debug build.
Some of the TODO items:
- Make it use existing NSIS script somehow. - Find cause of and fix GTK+ 3 64-bit file dialog crashes - Remove related source code changes - For GTK3, take icons from Tango icon set, not Adwaita, to better fit with our custom icons. - Enable better theme (ms-windows?) for GTK. I forget how to do this per-app without modifying the source code. - Convert nice shallow intuitive program files directory structure back to confusing standalone Unix-style root file system (Bleh :) - Remove related source code changes - Move parts of the script into an Arch package recipe?
And whatever else...
Cheers, Matthew Brush