Patchwork [meta-oe/meta-gnome,11/15] evince: 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-12-git-send-email-schnitzeltony@googlemail.com>
Download mbox | patch
Permalink /patch/49523/
State Accepted, archived
Commit 55ecab870eee9cde7fb5de4fad086f4a5d14665a
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/evince/evince_2.32.0.bb |   12 ++----------
 1 files changed, 2 insertions(+), 10 deletions(-)

Patch

diff --git a/meta-gnome/recipes-gnome/evince/evince_2.32.0.bb b/meta-gnome/recipes-gnome/evince/evince_2.32.0.bb
index 986cd71..f1c3563 100644
--- a/meta-gnome/recipes-gnome/evince/evince_2.32.0.bb
+++ b/meta-gnome/recipes-gnome/evince/evince_2.32.0.bb
@@ -4,9 +4,9 @@  LIC_FILES_CHKSUM = "file://COPYING;md5=96f2f8d5ee576a2163977938ea36fa7b"
 SECTION = "x11/office"
 DEPENDS = "gnome-icon-theme gnome-doc-utils-native libgnome-keyring nautilus tiff libxt ghostscript poppler libxml2 gtk+ gconf libglade"
 
-PR = "r3"
+PR = "r4"
 
-inherit gnome pkgconfig gtk-icon-cache
+inherit gnome pkgconfig gtk-icon-cache gsettings
 
 SRC_URI += "file://cross-compile-fix.patch"
 
@@ -36,11 +36,3 @@  FILES_${PN}-dev += "${libdir}/nautilus/extensions-2.0/*.la \
 FILES_${PN}-staticdev += "${libdir}/nautilus/extensions-2.0/*.a \
                           ${libdir}/evince/*/backends/*.a"
 FILES_${PN}-nautilus-extension = "${libdir}/nautilus/*/*so"
-
-pkg_postinst_${PN} () {
-if [ -n "$D" ]; then
-    exit 1
-fi
-
-glib-compile-schemas ${datadir}/glib-2.0/schemas
-}