After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 779427 - Sanity check all GtkBuilder *.ui files at build-time
Sanity check all GtkBuilder *.ui files at build-time
Status: RESOLVED OBSOLETE
Product: gnome-photos
Classification: Applications
Component: general
unspecified
Other All
: Normal normal
: ---
Assigned To: GNOME photos maintainer(s)
GNOME photos maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2017-03-01 17:00 UTC by Debarshi Ray
Modified: 2018-01-23 10:10 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Debarshi Ray 2017-03-01 17:00:15 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
Comment 1 GNOME Infrastructure Team 2018-01-23 10:10:13 UTC
-- 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.