[...] Do you really think a niche solution contributes to a real solution?
hi Thaddy,
a solution that is agnostic to the installed widget-set seems to hardly be niche. in using YTK it is possible to create an ELF binary with Lazarus that (fingers crossed) only requires that X11 be present. i see Fred vS has posted a similar comment as i wrote this.
i say 'fingers crossed' in the sense that the remaining dynamic library dependencies of the generated ELF binary do still need to be closely examined to ensure that no "pieces of GTK" are still being made use of! testing will require finding a Linux distro that does
not include any GTK
x widget-set, create a VM running it, then copy into that VM a 'representative' set of ELF binaries created (outside of the VM) with Lazarus/FPC. if they run, all is good. if not, we may have a problem to resolve.
it is important that Lazarus not be loaded into the VM, as doing so may pull in pieces of GTK as a dependency - thereby tainting it.fifr: i also much appreciate your work; you have demonstrated what is possible. your comment, "I did not make any changes to fpc but only to the gtk2 package that is shipped with fpc. And I only removed deprecated functions that are not available in ytk and would lead to linking failures", in itself provides further useful information; that troublesome GTK2 package that is shipped with FPC is what kind-of kicked off the present discussion in
dbannon's thread:
https://forum.lazarus.freepascal.org/index.php/topic,73405.0.htmlcheers,
rob :-)