Re: gnome-keyring [PATCH 1/9] ui: use glib resources



On 13.12.2016 19:20, Lubomir Rintel wrote:
It has some rather minor overhead advantages, but more importantly the
widget templates I'd like to use are not able to load .ui files from
files.

I've applied this patch into git master while fixing the following rule
to use $(srcdir) instead of $builddir).

+ui/gcr-resources.c: ui/gcr.gresource.xml $(shell $(GLIB_COMPILE_RESOURCES) --sourcedir=$(srcdir)/ui 
--generate-dependencies $(builddir)/ui/gcr.gresource.xml)
+     $(AM_V_GEN) $(GLIB_COMPILE_RESOURCES) $< --target=$@ --sourcedir=$(srcdir)/ui --generate-source 
--internal

And I've added ui/gcr.gresource.xml and the resources to to EXTRA_DIST.

Thanks!

Stef



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]