This issue is to make our Windows builds (nightly, CI and release builds) easier and better.
And also to satisfy @elextr 's long-time wish to have GTK3 Windows builds :).
My goal is to create Windows builds:
- with GTK3 only
- for x86_64 (aka amd64 aka 64bit) only
- fully automated on a Linux box
I've written a Dockerfile which sets up a cross-compilation environment with mingw64-gcc, wine and a couple other necessary tools. It also bootstraps a minimal MSYS2 environment so packages can be installed with `pacman`.
In the resulting build environment we start a script which does:
- clone Geany repository if necessary (i.e. if it is not bind-mounted into the container)
- cross-compile Geany for Windows 64bit and GTK3
- sign all binaries and installer (if /certificates exist and contains cert.pem and key.pem)
- download Geany-Themes for bundling
- create GTK3 bundle with all dependencies (including grep and sort)
- create the NSIS installer in ${OUTPUT_DIRECTORY}
- test the created NSIS installer and compiled Geany
- test uninstaller and check there is nothing left after uninstalling
This is already working pretty nicely (even digitally signing the binaries!!).
I guess I'll put the Dockerfile and the build script into a new repository.
However there are some tasks left for discussion and to do:
- do you think it is safe to switch to x86_64 builds only? I guess since Windows 7 almost everybody should have a x86_64 installation by default it she didn't anything against it on purpose. But I'm not sure enough and I didn't find proper resources on the net.
- there is a bug on Windows with GTK3 causing the message window to constantly loose some height between starts of Geany (#2591)
- we need to decide which GTK3 theme we use by default:
- the default theme (I think it's Adwaita) looks a bit alien on Windows, see screenshots below
- there is a "win32" theme natively in GTK3 which can be enabled in GTK3's `settings.ini`, it doesn't look quite right either :(.
I would say let's try with the default theme even GUI elements feel a bit huge.
Or we find another good looking theme or someone hacks something. I definitely won't work on this.
Dependant issues and PRs:
- [ ] #2591
- [ ] #2590
- [ ] #2572
Geany GTK3 Default Theme:
![Screenshot of Geany GTK3 Default Theme](https://user-images.githubusercontent.com/617017/93713709-2630b000-f…
Geany GTK3 Win32 Theme:
![Screenshot of Geany GTK3 Win32 Theme](https://user-images.githubusercontent.com/617017/93713710-28930a00-f…
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/2592
Without spyware, it's difficult to know how many users there are and what plugins and features they use. Even if having this information couldn't help developers guide development, it would make them feel good knowing that their work is being put to good use.
Anyone have any thoughts about this? Pros and cons? Implementation details? Etc.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/discussions/2918
Hi,
Geany has language support for Erlang.
Could we have support Elixir/Phoenix, as it compile to the same beam vm as Erlang?
Many thanks
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/2921
Hi,
Geany has language support for Erlang.
Could we have support Elixir/Phoenix, as it compile to the same beam vm as Erlang?
Many thanks
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany-plugins/issues/1117
Thanks to Geany-Preview (https://github.com/xiota/geany-preview), one can code within Geany on one side the code in the editor and see in the same window on the other side, in the sidebar, a preview of the code. Geany gives the possibility to switch with a shortcut to the editor and Geany gives the possibility to switch with a shortcut to the sidebar, but with different shortcuts (https://www.geany.org/manual/current/index.html#focus-keybindings). Better would be to use always one shortcut to toggle editor/sidebar.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/2914
Hello,
Often I have opened a file in read-write mode (default), then I later realize I shouldn't be editing it. So I have to close the file, and then navigate to its directory again and re-open it with the "view" button. This happens to me more often than you'd think!
I would find it very useful if there was a quick way to toggle whether an open file is in read-only or read-write mode. Perhaps there could be a menu item "Reload as read-only" under the "File" menu.
Of course, if the file is already modified (dirty) and read-only mode is then turned on, then the save dialog would have to be displayed, before going into read-only mode.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/2915