r39518 - in /desktop/experimental/gtk+3.0/debian: changelog rules

pochu at users.alioth.debian.org pochu at users.alioth.debian.org
Mon Sep 9 18:36:17 UTC 2013


Author: pochu
Date: Mon Sep  9 18:36:15 2013
New Revision: 39518

URL: http://svn.debian.org/wsvn/pkg-gnome/?sc=1&rev=39518
Log:
* debian/rules:
  + Set XDG_DATA_DIRS and copy and copile the gsettings schemas so that
    gsettings can find them. Makes the test suite happy.

Modified:
    desktop/experimental/gtk+3.0/debian/changelog
    desktop/experimental/gtk+3.0/debian/rules

Modified: desktop/experimental/gtk+3.0/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/experimental/gtk%2B3.0/debian/changelog?rev=39518&op=diff
==============================================================================
--- desktop/experimental/gtk+3.0/debian/changelog	[utf-8] (original)
+++ desktop/experimental/gtk+3.0/debian/changelog	[utf-8] Mon Sep  9 18:36:15 2013
@@ -48,6 +48,9 @@
     + Build depend on dbus-x11 for the testsuite.
     + Build depend on at-spi2-core as libatspi2.0-0 seems to require it,
       tests that use dbus fail otherwise.
+  * debian/rules:
+    + Set XDG_DATA_DIRS and copy and copile the gsettings schemas so that
+      gsettings can find them. Makes the test suite happy.
 
  -- Sjoerd Simons <sjoerd at debian.org>  Mon, 26 Aug 2013 17:39:02 +0200
 

Modified: desktop/experimental/gtk+3.0/debian/rules
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/experimental/gtk%2B3.0/debian/rules?rev=39518&op=diff
==============================================================================
--- desktop/experimental/gtk+3.0/debian/rules	[utf-8] (original)
+++ desktop/experimental/gtk+3.0/debian/rules	[utf-8] Mon Sep  9 18:36:15 2013
@@ -84,6 +84,8 @@
 
 # Avoid test failures on buildd environments
 export HOME=$(CURDIR)/debian/build
+# So that gsettings can find the (uninstalled) gtk schemas
+export XDG_DATA_DIRS=/usr/share:$(CURDIR)/debian/build
 
 DEB_MAKE_CHECK_TARGET = -k check || true
 DEB_INSTALL_DOCS_ALL = AUTHORS
@@ -130,6 +132,12 @@
 	touch debian/control.in
 	rm -f $(call dh_subst_files,$(DEB_ALL_PACKAGES))
 
+# So that gsettings can find the (uninstalled) gtk schemas
+pre-build::
+	mkdir -p debian/build/glib-2.0/schemas/
+	cp gtk/org.gtk.* debian/build/glib-2.0/schemas/
+	glib-compile-schemas debian/build/glib-2.0/schemas/
+
 # Add dependencies to generate files from the debian/*.in ones
 build-indep: $(call dh_subst_files,$(DEB_INDEP_PACKAGES))
 build-arch: $(call dh_subst_files,$(DEB_ARCH_PACKAGES))




More information about the pkg-gnome-commits mailing list