Patchwork evolution-data-server: enable deprecated glib API

login
register
mail settings
Submitter Martin Jansa
Date May 6, 2012, 7:28 a.m.
Message ID <1336289303-8255-1-git-send-email-Martin.Jansa@gmail.com>
Download mbox | patch
Permalink /patch/27189/
State Accepted
Commit 155ea975f5e0287f9ed49413785d1948c56601a5
Headers show

Comments

Martin Jansa - May 6, 2012, 7:28 a.m.
* we have very old version and deprecated g_atexit is used even in current master
  http://git.gnome.org/browse/evolution-data-server/log/libedataserver/e-categories.c

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
 meta/recipes-sato/eds/evolution-data-server_git.bb |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

Patch

diff --git a/meta/recipes-sato/eds/evolution-data-server_git.bb b/meta/recipes-sato/eds/evolution-data-server_git.bb
index b2aa08c..1d675dc 100644
--- a/meta/recipes-sato/eds/evolution-data-server_git.bb
+++ b/meta/recipes-sato/eds/evolution-data-server_git.bb
@@ -12,7 +12,7 @@  DEPENDS = "intltool-native glib-2.0 gtk+ gconf dbus db gnome-common virtual/libi
 
 SRCREV = "7337d11aed576e7caaa12b4e881ad8d33668799f"
 PV = "2.30+git${SRCPV}"
-PR = "r0"
+PR = "r1"
 
 SRC_URI = "git://git.gnome.org/evolution-data-server;protocol=git \
            file://oh-contact.patch;striplevel=0 \
@@ -41,6 +41,7 @@  do_configure_prepend () {
 
 do_configure_append () {
         cp ${WORKDIR}/iconv-detect.h ${S}
+        sed -i 's/-DG_DISABLE_DEPRECATED//g' ${S}/libedataserver/Makefile
 }
 
 EXTRA_OECONF = "--without-openldap --with-dbus --without-bug-buddy \