[bijiben] config: glib-genmarshal 2.53.4 fix



commit dff862e4a3f83f022f264dd9d61f3b461f682ee0
Author: Isaque Galdino <igaldino gmail com>
Date:   Tue Aug 8 23:31:32 2017 -0300

    config: glib-genmarshal 2.53.4 fix
    
    New glib version has rewritten glib-genmarshal and it's back compatible
    with versions prior 2.53.2.
    
    Build script was changed to accomodate that change. This is a workaround
    and it'll be removed from build scripts once we make glib 2.53.4 the
    minimum requirement.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=785291

 configure.ac |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 42a6a39..44835e3 100644
--- a/configure.ac
+++ b/configure.ac
@@ -69,7 +69,10 @@ PKG_CHECK_MODULES([TRACKER], [tracker-sparql-1.0], [sparql_version="tracker-spar
 
 PKG_CHECK_MODULES([GENMARSHAL],
   [glib-2.0 >= 2.53.2],
-  [include_marshalers=""],
+  [PKG_CHECK_MODULES([GENMARSHAL],
+    [glib-2.0 >= 2.53.4],
+    [include_marshalers="#include \\\"biji-marshalers.h\\\""],
+    [include_marshalers=""])],
   [include_marshalers="#include \\\"biji-marshalers.h\\\""])
 AC_SUBST([include_marshalers])
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]