[pitivi/ges: 53/287] Check for GES at startup



commit 93465835e47fada81639c89d7e74459eb3ff9725
Author: Thibault Saunier <thibault saunier collabora com>
Date:   Wed Oct 5 18:22:14 2011 -0300

    Check for GES at startup

 configure.ac    |    1 +
 pitivi/check.py |    4 ++++
 2 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 7f206c1..a7eb307 100644
--- a/configure.ac
+++ b/configure.ac
@@ -35,6 +35,7 @@ AC_SUBST(GTK_REQ, 2.24.0)
 AC_SUBST(PYGTK_REQ, 2.17.0)
 AC_SUBST(PYGST_REQ, 0.10.19)
 AC_SUBST(GST_REQ, 0.10.28)
+AC_SUBST(GES_REQ, 0.10.01)
 AC_SUBST(GNONLIN_REQ, 0.10.16)
 AC_SUBST(PYCAIRO_REQ, 1.0.0)
 
diff --git a/pitivi/check.py b/pitivi/check.py
index dde62a6..6aaf86c 100644
--- a/pitivi/check.py
+++ b/pitivi/check.py
@@ -162,6 +162,10 @@ def initial_checks():
     if req:
         return (_("You do not have a recent enough version of the GNonLin GStreamer plugin (your version %s)") % inst,
                 _("Install a version of the GNonLin GStreamer plugin greater than or equal to %s.") % req)
+    if not __try_import__("ges"):
+        #FIXME enable version checking in GES
+        return (_("Could not import GStreamer Editing Services "),
+                _("Make sure you have GStreamer Editing Services installed."))
     if not __try_import__("zope.interface"):
         return (_("Could not import the Zope interface module"),
                 _("Make sure you have the zope.interface module installed."))



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