begin workup of C-language version of xdg-menugen