[oe-commits] Andreas Müller : dconf: fix/ remove postinst by inheriting gsettings

git at git.openembedded.org git at git.openembedded.org
Fri May 10 08:57:52 UTC 2013


Module: meta-openembedded.git
Branch: master
Commit: f06c454faa2cb798d3ab87ed392d827363022930
URL:    http://git.openembedded.org/?p=meta-openembedded.git&a=commit;h=f06c454faa2cb798d3ab87ed392d827363022930

Author: Andreas Müller <schnitzeltony at googlemail.com>
Date:   Mon Apr 29 16:50:06 2013 +0200

dconf: fix/remove postinst by inheriting gsettings

Signed-off-by: Andreas Müller <schnitzeltony at googlemail.com>
Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>

---

 meta-gnome/recipes-gnome/dconf/dconf_0.7.5.bb |   12 ++----------
 1 files changed, 2 insertions(+), 10 deletions(-)

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
-}





More information about the Openembedded-commits mailing list