GNOME Bugzilla – Bug 779427
Sanity check all GtkBuilder *.ui files at build-time
Last modified: 2018-01-23 10:10:13 UTC
As GtkBuilder *.ui files get more widely used, it becomes more and more important to ensure their validity during the build. Otherwise it is hard to guarantee that the application will actually work at run-time. Hitori does this. Here are the relevant snippets: https://git.gnome.org/browse/hitori/tree/configure.ac#n51: PKG_CHECK_VAR([GTK_PREFIX],[gtk+-3.0],[prefix]) AC_PATH_PROG([XMLLINT],[xmllint]) https://git.gnome.org/browse/hitori/tree/Makefile.am#n95: check-builder: $(ui_data) [ "$(XMLLINT)" = "" ] || \ $(XMLLINT) --nonet --noblanks --noout --relaxng $(GTK_PREFIX)/share/gtk-3.0/gtkbuilder.rng $^ check-local: check-builder
-- GitLab Migration Automatic Message -- This bug has been migrated to GNOME's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/gnome-photos/issues/61.