Re: [Geany-Devel] Building geany using msys2 on Windows 10

2021-09-15 Thread Enrico Tröger
On 14.09.21 15:36, Doug Henderson wrote: On Mon, 13 Sept 2021 at 15:55, Enrico Tröger wrote: Doug, I'm assuming you mean the Enrico in the little Authors table at the top of the help manual? I guess yes because my name is broken there. Attached is an image of what I see: And here is

Re: [Geany-Devel] Building geany using msys2 on Windows 10

2021-09-15 Thread Enrico Tröger
On 14.09.21 00:34, Lex Trotman wrote: It's Python and not generally on Windows but on my box. On my Windows box, Python detects de-DE with cp1252 charset as locale and rst2html (which is written in Python) then seems to read the UTF-8 encoded geany.txt with cp1252 and this fails, obviously. I

Re: [Geany-Devel] Building geany using msys2 on Windows 10

2021-09-14 Thread Lex Trotman
On Wed, 15 Sept 2021 at 08:57, Lex Trotman wrote: > > > So looking at https://nightly.geany.org/win32/build_win32_geany.log, > > the problem is clear: the build is using Python 2.7. Python2 will read > > the file as ASCII by default, while Python3 will try to detect the > > encoding and fall back

Re: [Geany-Devel] Building geany using msys2 on Windows 10

2021-09-14 Thread Lex Trotman
> So looking at https://nightly.geany.org/win32/build_win32_geany.log, > the problem is clear: the build is using Python 2.7. Python2 will read > the file as ASCII by default, while Python3 will try to detect the > encoding and fall back to UTF-8. Plus Python2 is now unsupported. > > When I tried

Re: [Geany-Devel] Building geany using msys2 on Windows 10

2021-09-14 Thread Doug Henderson
On Mon, 13 Sept 2021 at 15:55, Enrico Tröger wrote: > > > Doug, I'm assuming you mean the Enrico in the little Authors table at > > the top of the help manual? > > I guess yes because my name is broken there. > Attached is an image of what I see: And here is the offending line from

Re: [Geany-Devel] Building geany using msys2 on Windows 10

2021-09-13 Thread Enrico Tröger
On 13.09.21 01:03, Lex Trotman wrote: The menu item "Help->help" and pressing "F1" correctly open the help file in Firefox Nightly at "file:///C:/Program%20Files/Geany/share/doc/geany/html/index.html" >>> >>> Not sure why this uses a different method to the other help, although

Re: [Geany-Devel] Building geany using msys2 on Windows 10

2021-09-12 Thread Lex Trotman
> >> The menu item "Help->help" and pressing "F1" correctly open the help > >> file in Firefox Nightly at > >> "file:///C:/Program%20Files/Geany/share/doc/geany/html/index.html" > > > > Not sure why this uses a different method to the other help, although > > It's the same method and that's

Re: [Geany-Devel] Building geany using msys2 on Windows 10

2021-09-12 Thread Doug Henderson
On Sun, 12 Sept 2021 at 06:13, Enrico Tröger wrote: > > I think this is rather the GTK3 default theme. > Attached are three screenshots of Geany with: > - the default theme (I assume it's Adwaita) > - the native "win32" theme > - a theme from https://www.gnome-look.org/p/1013580/ called

Re: [Geany-Devel] Building geany using msys2 on Windows 10

2021-09-12 Thread Lex Trotman
>> Some > > messages do not have the timestamp prefix. Many debug messages have > > the same time stamp, so adding the milliseconds value would be > > helpful. > > Request a feature addition, although I think the timestamp is added by > Glib, so we might not be able to control it. > And here is

Re: [Geany-Devel] Building geany using msys2 on Windows 10

2021-09-12 Thread Lex Trotman
On Sun, 12 Sept 2021 at 15:11, Doug Henderson wrote: > > On Sat, 11 Sept 2021 at 07:08, Enrico Tröger wrote: > > > > On 10.09.21 00:05, Enrico Tröger wrote: > > > Hi, > > > > > > On Thu, 9 Sept 2021 at 14:05, Doug Henderson wrote: > > >>> Can someone suggest how to correct this snippet of code

Re: [Geany-Devel] Building geany using msys2 on Windows 10

2021-09-11 Thread Doug Henderson
On Sat, 11 Sept 2021 at 07:08, Enrico Tröger wrote: > > On 10.09.21 00:05, Enrico Tröger wrote: > > Hi, > > > > On Thu, 9 Sept 2021 at 14:05, Doug Henderson wrote: > >>> Can someone suggest how to correct this snippet of code in the wiki > > On 09.09.21 06:31, Lex Trotman wrote: > >> Not sure

Re: [Geany-Devel] Building geany using msys2 on Windows 10

2021-09-11 Thread Enrico Tröger
On 10.09.21 00:05, Enrico Tröger wrote: > Hi, > > On Thu, 9 Sept 2021 at 14:05, Doug Henderson wrote: >>> Can someone suggest how to correct this snippet of code in the wiki >>> page to work now, or how to make a modified version of >>> "cross-build-mingw.sh" which will work for buildinig on

Re: [Geany-Devel] Building geany using msys2 on Windows 10

2021-09-10 Thread Lex Trotman
Attila, the windows build environment is completely different to the Linux one so your comment is irrelevant. Setting up the environment is the difficult part for most people. Also you can just give configure an argument --enable-gtk3 rather than editing configure.ac, also on the current Geany

Re: [Geany-Devel] Building geany using msys2 on Windows 10

2021-09-10 Thread Attila
Hi, I do not know the Windows compiler environment, but on Linux I switched back the Gtk3 to Gtk2 successfully. Just change the 'configure.ac' at line 79 to `[enable_gtk2=yes])`. And of course install the Gtk2-dev packages. You can see it (and my CI solution) here:

Re: [Geany-Devel] Building geany using msys2 on Windows 10

2021-09-09 Thread Enrico Tröger
Hi, On Thu, 9 Sept 2021 at 14:05, Doug Henderson wrote: >> Can someone suggest how to correct this snippet of code in the wiki >> page to work now, or how to make a modified version of >> "cross-build-mingw.sh" which will work for buildinig on mingw on a >> Windows machine. On 09.09.21 06:31,

Re: [Geany-Devel] Building geany using msys2 on Windows 10

2021-09-08 Thread Lex Trotman
Not sure who posted the wiki or how relevant it is (its a wiki after all :), for example Geany now only supports GTK3, not GTK2. The official Windows build processes are currently under upgrade as a result, see https://github.com/geany/geany/pull/2590 and

[Geany-Devel] Building geany using msys2 on Windows 10

2021-09-08 Thread Doug Henderson
The slow loading of projects in geany 1.37.1 and the missing plugins installer for 1.37.1 has prevented me from upgrading, and a bug that may be related to file dialogs, has prompted me to try building geany from source. I have been following the instructions on the wiki page "Build Geany on