Patchwork [meta-oe/meta-gnome,12/15] dconf: fix/remove postinst by inheriting gsettings

login
register
mail settings
Submitter Andreas Müller
Date May 7, 2013, 10:41 p.m.
Message ID <1367966513-12566-13-git-send-email-schnitzeltony@googlemail.com>
Download mbox | patch
Permalink /patch/49519/
State Accepted, archived
Commit f06c454faa2cb798d3ab87ed392d827363022930
Headers show

Comments

Andreas Müller - May 7, 2013, 10:41 p.m.
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
---
 meta-gnome/recipes-gnome/dconf/dconf_0.7.5.bb |   12 ++----------
 1 files changed, 2 insertions(+), 10 deletions(-)

Patch

diff --git a/meta-gnome/recipes-gnome/dconf/dconf_0.7.5.bb b/meta-gnome/recipes-gnome/dconf/dconf_0.7.5.bb
index ba14e88..7d11cf8 100644
--- a/meta-gnome/recipes-gnome/dconf/dconf_0.7.5.bb
+++ b/meta-gnome/recipes-gnome/dconf/dconf_0.7.5.bb
@@ -4,7 +4,7 @@  LIC_FILES_CHKSUM = "file://COPYING;md5=2d5025d4aa3495befef8f17206a5b0a1"
 
 SECTION = "x11/gnome"
 
-inherit gnome
+inherit gnome gsettings
 SRC_URI[archive.md5sum] = "d784f8afca04473d194a72047595c28e"
 SRC_URI[archive.sha256sum] = "e2103e8207744903790e9fac6427fa394bb485a0c7f4e0d03b0fb43268c34f33"
 
@@ -12,7 +12,7 @@  DEPENDS = "glib-2.0 gtk+3"
 
 inherit vala
 
-PR = "r1"
+PR = "r2"
 
 PACKAGES =+ "dconf-editor"
 
@@ -21,11 +21,3 @@  FILES_${PN} += "${datadir}/dbus-1/ \
                 ${libdir}/gio/modules/*.so \
 "
 FILES_${PN}-dbg += "${libdir}/gio/modules/.debug/libdconfsettings.so"
-
-pkg_postinst_${PN} () {
-if [ -n "$D" ]; then
-    exit 1
-fi
-
-glib-compile-schemas ${datadir}/glib-2.0/schemas
-}