Shims we need

onre

Administrator
Staff member
Feb 8, 2019
58
18
8
There are certain shims that would make life a lot easier. Some are really easy, some are closer to the pipedream section of the department store.

  • posix_spawn emulation. Not that hard - basically a fork-exec thing with a list of file descriptors to set up before forking. This would give us ninja - a lot of modern stuff is built with meson and ninja, of which meson is Python3 and already working.
  • Xrender - at least in theory one could write an OpenGL shim for this. This is the primary reason we don't have QT4 Webkit.
I'll keep on updating the list.
 

hammy

Member
Jun 1, 2019
35
12
8
UK
There are certain shims that would make life a lot easier. Some are really easy, some are closer to the pipedream section of the department store.
...
This sounds and smells a little like writing some "compatibility" shim library and headers we can include using CFLAGS/LDFLAGS - we talked about fixing up the crappy printf and strtod as well, it's the same principle AFAICT.

One possibility - there is the gnulib sources that provide a number of compatibility patches - maybe one avenue might be to see if building something with that could serve these purposes (and this would be the natural place for extensions, too).

Linky: https://www.gnu.org/software/gnulib/
 

onre

Administrator
Staff member
Feb 8, 2019
58
18
8
Actually I just wrote another post about a compatibility library as a separate thing. :D GNUlib is certainly an option.