[Buildroot] [PATCH 3/3] gvfs: fix installation of gsettings schemas

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Wed Jul 13 17:11:35 UTC 2011


Le Wed, 13 Jul 2011 18:54:49 +0200,
Sven Neumann <s.neumann at raumfeld.com> a écrit :

> -GVFS_POST_INSTALL_TARGET_HOOKS += GVFS_REMOVE_USELESS_BINARY
> +define GVFS_REMOVE_TARGET_SCHEMAS
> +	rm $(TARGET_DIR)/usr/share/glib-2.0/schemas/*.xml
> +endef
> +
> +define GVFS_COMPILE_SCHEMAS
> +	$(HOST_DIR)/usr/bin/glib-compile-schemas --targetdir=$(TARGET_DIR)/usr/share/glib-2.0/schemas $(STAGING_DIR)/usr/share/glib-2.0/schemas
> +endef
> +
> +GVFS_POST_INSTALL_TARGET_HOOKS += \
> +	GVFS_REMOVE_USELESS_BINARY	\
> +	GVFS_REMOVE_TARGET_SCHEMAS	\
> +	GVFS_COMPILE_SCHEMAS

I have no idea what those schemas are, but why do you remove them in
GVFS_REMOVE_TARGET_SCHEMAS to generate them again in
GVFS_COMPILE_SCHEMAS ?

Thomas
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com



More information about the buildroot mailing list