Compile resources referenced in file.gresource.xml to a C source file

glib-compile-resources

  • Compiles resource files (e.g. images) into a binary resource bundle.
    These may be linked into GTK applications using the GResource API.
    More information: <https://manned.org/glib-compile-resources>.
  • Trick copyright: tl;dr; <https://github.com/tldr-pages/tldr>

glib-compile-resources --generate-source {{file.gresource.xml}}

click the source code to copy install glib-compile-resources on any operating system with command-not-found.com