[pitivi] pitivi-git-environment: Don't build glib unless necessary



commit d1e7c790a682b9fcfefddab0929ac485f874bd2c
Author: Jean-FranÃois Fortin Tam <nekohayo gmail com>
Date:   Tue Oct 9 13:25:34 2012 -0400

    pitivi-git-environment: Don't build glib unless necessary
    
    On recent distros, this will prevent the annoying GLib-GIO-Message:
    "Using the 'memory' GSettings backend.
    Your settings will not be saved or shared with other applications."
    
    ...which would, prevent AT-SPI/dogtail from working properly, among others.

 bin/pitivi-git-environment.sh |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/bin/pitivi-git-environment.sh b/bin/pitivi-git-environment.sh
index e0e420d..9be5a4b 100755
--- a/bin/pitivi-git-environment.sh
+++ b/bin/pitivi-git-environment.sh
@@ -19,7 +19,12 @@ GST_RELEASE_TAG="master"
 # Everything below this line shouldn't be edited!
 #
 
-MODULES_CORE="glib gobject-introspection pygobject"
+# For some reason, gobject-introspection won't compile with glib 2.32
+if pkg-config glib-2.0 --atleast-version=2.34; then
+    MODULES_CORE="gobject-introspection pygobject"
+else
+    MODULES_CORE="glib gobject-introspection pygobject"
+fi
 # Do NOT use the following two variables directly, use $MODULES instead
 MODULES_ALL="gstreamer gst-plugins-base gst-plugins-good gst-plugins-ugly gst-plugins-bad gst-ffmpeg gnonlin gst-editing-services gst-python"
 MODULES_MINIMAL="gnonlin gst-editing-services gst-python"



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