When you pass --pkg to g-ir-scanner it uses pkg-config.
And without mingw pkg-config it might use msys pkg-config which
leads to weird errors, see https://github.com/Alexpux/MINGW-packages/issues/2198
Better depend on it.
* Add exe launchers to glib2 to fix the upgrade naming conflict as pacman
can't see the difference between the new Python script without extension
and the old .exe file.
* Also add exe laucnhers for gobject-introspection so that meson can execute them.
The scripts currently have a broken shebang including an absolute path
(also the case on Linux), and fixing that would at least work for meson as it has
a shebang parser. But the exe launcher seems less error prone and also works
with other tools.
* The last update to json-glib disabled introspection due to the above mentioned
bug. This reenables it and also enables gtk-doc building while at it.
(first package fully build using only mingw tools \o/)
* Remove rmtree debugging patch
It is shadowing exceptions thrown from the main "try" block of
GDumpParser._execute_binary_get_tree().
There does seem to be a race condition, but it seems to be related to
subprocess.check_call() and what it does on Windows. At the point
xml.[blah].parse() is called, "dump.xml" is often absent!
* More tolerant rmtreeing
If shutil.rmtree() is failing due to some funky race condition that results
in files the walk doesn't know about being left, then don't worry about it
and continue.
This may leave uniquely named junk lying around in the build tree, but that
is by design not a problem with g-i-scanner. Just don't install the
tmp-introspectXXXXXX folder by accident.
* giscanner debugging: asserts and waits
Make absence of dump.xml or functions.txt fatal, but only after giving them
plenty of time time to appear.
Yes, this is horrible code. But it fixes broken builds almost completely on
my 64-bit Win7 with NTFS.
* Wait for XML to be parsed completely
It's possible that dump.xml might exist but be incompletely written. This
nasty sleep-till-it-parses loop covers that case.
Plus the usual logging so we can see if it's really needed ☺
* gobject-introspection: bump pkgrel
* upgrade some broken packages
* correct some broken urls/checksums
* use secure urls where possible
* update PKGBUILD templates
* remove line-ending whitespace
* minor typos/fixes
Remaining md5sums either didn't download or
didn't pass checksum tests.