[Geany-Devel] Geany 2.0 has bad or missing signing keys

2023-10-19 Thread Doug Henderson via Devel
Hi,

I always like to be able to download the pubkeys and signatures so I
can verify the downloads before doing the installation.

gpg2 gives me these diagnostics:

geany-2.0.tar.bz2.sig
Good signature from "Colomban Wendling " [expired]

geany-2.0.tar.gz.sig
Good signature from "Colomban Wendling " [expired]

geany-2.0_setup.exe.sig
Good signature from "Enrico Tröger " [unknown]

and for geany-plugins-2.0.*.sig

gpg: Signature made Oct 19, 2023 xx:xx:xx MDT
gpg:using EDDSA key 23C0ACC6C2A22D6EB8A98563EC3A8C6CF6546888
gpg: requesting key EC3A8C6CF6546888 from hkp://pgp.surf.nl
gpg: Can't check signature: No public key

In summary,  two expired keys were used to sign the geany 2.0 assets,
and the public key required to verify
the geany-plugins 2.0 assets does not seem to be available on the
geany.org site.

There are also no signatures for the .zip and .tar.gz files containing
the source code for both geany and geany-plugins.

With previous releases,  I have also used the MD5SUM, and SHA*SUM
files for additional verification.

TIA

Doug
-- 
Doug Henderson, Calgary, Alberta, Canada - from gmail.com
___
Devel mailing list -- devel@lists.geany.org
To unsubscribe send an email to devel-le...@lists.geany.org


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
file:///C:/Program%20Files/Geany/share/doc/geany/html/index.html:for
1.38beta1 on win10.



And a dump of that line:

$ head -8 index.html | tail -1 | od -c
000   <   m   e   t   a   n   a   m   e   =   "   a   u   t   h
020   o   r   s   "   c   o   n   t   e   n   t   =   "   E   n
040   r   i   c   o   T   r 303 203 302 266   g   e   r
060   N   i   c   k   T   r   e   l   e   a   v   e   n
100   F   r   a   n   k   L   a   n   i   t   z   C   o
120   l   o   m   b   a   n   W   e   n   d   l   i   n   g
140   M   a   t   t   h   e   w   B   r   u   s   h   "
160   /   >  \r  \n
164

This tells me that at some point the UTF8 content was loaded as ISO-8859-?

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 to recreate the problem on msys and cygwin for 1.31.1,
1.36, and 1.37.1 , I could not reproduce it because I have Python3
installed as the only Python on both systems. I spent more time than I
should have on this, and I think you may have found a solution
yourself.

Also this the results from the locale command:

Doug@mars MINGW64 ~/src/MINGW-packages/mingw-w64-geany
$ locale
LANG=en_CA.UTF-8
LC_CTYPE="en_CA.UTF-8"
LC_NUMERIC="en_CA.UTF-8"
LC_TIME="en_CA.UTF-8"
LC_COLLATE="en_CA.UTF-8"
LC_MONETARY="en_CA.UTF-8"
LC_MESSAGES="en_CA.UTF-8"
LC_ALL=

On cygwin, I get the same, but with LC_ALL having the same value.

Also:

Microsoft Windows [Version 10.0.19043.1165]
(c) Microsoft Corporation. All rights reserved.

Doug@MARS C:\Users\Doug
> chcp
Active code page: 65001

Code page 65001 specifies UTF-8

MINGW64_NT-10.0-19043 mars 3.2.0-340.x86_64 2021-08-02 16:30 UTC x86_64 Msys
CYGWIN_NT-10.0 mars 3.2.0(0.340/5/3) 2021-03-29 08:42 x86_64 Cygwin

Doug

--
Doug Henderson, Calgary, Alberta, Canada - from gmail.com
___
Devel mailing list
Devel@lists.geany.org
https://lists.geany.org/cgi-bin/mailman/listinfo/devel


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 "Windows10",
> it's more compact than the default theme
>

From your screen shots, it is clear that you have the win32 and
Windows10 themes installed.

The win32 theme works, but does not look as nice as the Windows10 theme.

How do you install a GTK3 theme on Windows? The linked page only
describes the install for *nix.

Google yields a confusing number of results that are full of
alternatives for the developer, but without much guidance for the post
installation user.

Thanks,
Doug.

-- 
Doug Henderson, Calgary, Alberta, Canada - from gmail.com
___
Devel mailing list
Devel@lists.geany.org
https://lists.geany.org/cgi-bin/mailman/listinfo/devel


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 who posted the wiki or how relevant it is (its a wiki after

> > Anyway, to get back to Doug's question:
> > I'm going to prepare Windows installers for the current master on the
> > weekend and so have some 1.38 beta or preview.
>
> The test installers are ready:
>
> https://download.geany.org/snapshots/geany-1.38beta1_setup.exe
> https://download.geany.org/snapshots/geany-plugins-1.38beta1_setup.exe

> Regards,
> Enrico

Thanks. I downloaded and installed both of these. So far they have
worked flawlessly, although I have not done much actual work, instead,
just re-exploring the interface and preferences.
I have a few observations, questions and suggestions.

- the slow project loading of 1.37.1 is corrected.

- the visual style of scrollbars on the edit window is different. The
scrollbars are now about half the width as formerly. The previous
scrollbars were about twice as wide, making it much easier to grab the
thumb. The Win10 style is a narrow scrollbar that gets wider when you
hover over them. Is it possible to have a choice, or at least an OS
style scrollbar?

- The help button does not work on any preference page. It reports, e.g.:
  21:16:09: Failed to open URI "C:/Program
Files/Geany/share/doc/geany/html/index.html#various-preferences": The
system cannot find the file specified.
 And in the Debug Messages:
 21:16:14: Geany WARNING: ShellExecute failed opening "C:/Program
Files/Geany/share/doc/geany/html/index.html#various-preferences" (code
2): The system cannot find the file specified.
  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"

- The help file does not declare its character encoding so the 3rd
non-blank line contains "Authors: Enrico Tröger".

- The menu item "Tools->Load Tags File..." uses a non-windows style
file search dialog.

- The menu item "Help->Debug Messages" opens a very small window.
Opening the window with a size of relative to the main geany window,
or perhaps safer, relative to the screen size would be nice. Some
messages do not have the timestamp prefix. Many debug messages have
the same time stamp, so adding the milliseconds value would be
helpful.

- The keybinding for entering unicode characters is documented, but
the key combo Ctrl-Shift-u does not seem to work at all in 1.38beta1.
The ability to enter unicode characters is almost a requirement for
me.

- Geany on Win10 can be crashed every time by opening the open file
dialog, shift-right-click on a filename and selecting "Copy as path".
Shortly after canceling the open file dialog, geany will crash. There
are two entries in the Event Viewer -> Windows Logs -> Application.
The following info from the Error entry (incomplete):

Faulting application name: geany.exe, version: 1.38.0.0, time stamp: 0x
Faulting module name: libcairo-2.dll, version: 0.0.0.0, time stamp: 0x
Exception code: 0xc005
Fault offset: 0x00050f63
Faulting application name: geany.exe, version: 1.38.0.0, time stamp: 0x
Faulting module name: libcairo-2.dll, version: 0.0.0.0, time stamp: 0x
Exception code: 0xc005
Fault offset: 0x00050f63

indicates the fault occured in libcairo-2.dll. The circumstances
suggest that the clipboard buffer for the copied file path is
incorrectly allocated or incorrectly identified as shared public or
some such thing, so that cairo attempts to free a memory block owned
by the clipboard. Does geany provide a callback to libcairo which
allocates memory? If this is a libcairo error, it should be occurring
for every GTK3 app on windows with a file opener dialog. In 2018,I
opened the issue "Win10 crash after "Copy as Path" from open file
dialog #1942" for geany 1.33
https://github.com/geany/geany/issues/1942 which seems to be  the same
problem.

I plan to continue to use this version of geany as my main editor/IDE.

Thanks,
Doug


-- 
Doug Henderson, Calgary, Alberta, Canada - from gmail.com
___
Devel mailing list
Devel@lists.geany.org
https://lists.geany.org/cgi-bin/mailman/listinfo/devel


[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 Windows (using MSYS2)" at https://wiki.geany.org/howtos/win32/msys2
to set up and build on a Windows 10 Pro laptop with Msys2 and Mingw64
installed. I have used msys2/mingw64 for several years and cygwin for
many years, as well as several *nix systems in the past.

In the "GTK+3 compilation" section, it appears that the required msys2
package list has evolved since the wiki page was last updated about 6
years ago. When I try to run "autoconfig.sh" to build ./configure, the
following lines in "configure.ac":

# GTK/GLib/GIO checks
gtk_modules="gtk+-3.0 >= 3.0 glib-2.0 >= 2.32"
gtk_modules_private="gio-2.0 >= 2.32 gmodule-no-export-2.0"
PKG_CHECK_MODULES([GTK], [$gtk_modules $gtk_modules_private])

appear to cause a failure about missing packages. I could not find a
"gmodule-no-export" package.

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.

Thanks,
Doug

-- 
Doug Henderson, Calgary, Alberta, Canada - from gmail.com
___
Devel mailing list
Devel@lists.geany.org
https://lists.geany.org/cgi-bin/mailman/listinfo/devel