GNOME Bugzilla – Bug 752516
use GResource to bundle UI files
Last modified: 2015-08-03 06:36:15 UTC
When I was experimenting a few UI changes, I found it a bit cumbersome to run "make install" every time I made changes to *.xml. This series of patches switch to GResource and fix some minor build issues.
Created attachment 307594 [details] [review] build: Suppress compiler warnings Add missing casts related to search provider.
Created attachment 307595 [details] [review] build: Don't remove version controlled C files Since all *.c and *.h files generated from *.vala are registered to BUILT_SOURCES by sub-Makefiles, we don't need to clean them manually. Otherwise, version controlled source code will be removed on "make clean".
Created attachment 307596 [details] [review] build: Embed UI files as GResource To make it possible to test UI changes without installing UI files, bundle them in the seahorse executable, using GResource.
Created attachment 308046 [details] [review] build: Bundle data files as GResource To make it possible to test UI changes without installing UI files, bundle them in the seahorse executable, using GResource.
Comment on attachment 307596 [details] [review] build: Embed UI files as GResource Removed seahorse.gresource.xml itself from seahorse.gresource.xml, and moved it under libseahorse for consistency.
Created attachment 308626 [details] [review] build: Bundle data files as GResource To make it possible to test UI changes without installing UI files, bundle them in the seahorse executable, using GResource. -- Changes from the previous patch: - generate seahorse.gresource.xml on-the-fly, in a similar way to gtk+: https://git.gnome.org/browse/gtk+/tree/gtk/Makefile.am#n1148 - try to make code changes minimal
Awesome. Thanks! Merged. Attachment 307594 [details] pushed as b2d9320 - build: Suppress compiler warnings Attachment 307595 [details] pushed as 015aae7 - build: Don't remove version controlled C files Attachment 308626 [details] pushed as 9d12b99 - build: Bundle data files as GResource