simplify Evil code by replacing its fnmatch code by the one in ewpi regex one
It seems to me like it should be possible to greatly simplify the meson parts by just adding regexp to the eina deps so that it gets pulled into everything else without being explicitly added?
that's my way of doing things : i add symbols only when needed.
if it is the way t go (adding a lib in eina so that all the libs/bins have that lib), then why not adding all the libs to eina and none to the other libs ?
there are several meson.build where some libs are explicitely added.
Right, but this is a corner case as it only affects the Windows build. In general, linking with meson and modern build toolchains is triggered as-needed, so even if this is added for every library/binary in the tree then it should only end up being functionally included in the places where it is used.
It is not *wrong* but it can be improved, and i pretty much second mikes opinion here. Imagine someone will start to use a regex at some point somewhere in the lib. On linux nothing will happen it will just work out of the box. However, it would break *again* windows without the author noticing it.
So this way of doing it is just putting a burdon onto every dev that tries to use regex in the future, while it could be solved so much easier. So PLEASE, just add it as a public dep to evil and everything is good.
it's not my fault if you use an old mingw-w64 which does not have AddClipboardFormatListener (). this function is there since vista (cf https://docs.microsoft.com/sr-latn-rs/windows/desktop/api/winuser/nf-winuser-addclipboardformatlistener ) and has been in minw-w64 for 4 years (see https://sourceforge.net/p/mingw-w64/mailman/message/34033485/ ). It works perfectly on my computer with win7. So what is broken is not D8644, it's your CI for windows.