[gevice] Add news check of libraries.
- From: Alejandro Valdes Jimenez <avaldes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gevice] Add news check of libraries.
- Date: Wed, 25 Jul 2012 04:20:18 +0000 (UTC)
commit 2af9c97532cbc8e254fe94717a220e71d0ca7889
Author: Alejandro Valdes J <avaldes primate utalca cl>
Date: Wed Jul 25 00:19:02 2012 -0400
Add news check of libraries.
ChangeLog | 4 ++++
configure.ac | 30 ++++++++++++++++++++++++++++++
src/gevicemaintainer.py | 1 -
3 files changed, 34 insertions(+), 1 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index deca41c..3c24153 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2012-07-25 Alejandro Valdes J. <avaldes gnome org>
+ * configure.ac: Add news check of libraries.
+ * src/gevicemaintainer.py:
+
2012-07-18 Alejandro Valdes Jimenez <avaldes gnome org>
* src/gevice.py: Cleaning code.
diff --git a/configure.ac b/configure.ac
index 2620fd7..ce7a41c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -70,6 +70,36 @@ else
exit 1
fi
+MODULE_NAME="Gtk"
+$PYTHONC -c "from gi.repository import $MODULE_NAME" 2>/dev/null
+if test $? -eq 0
+then
+ AC_MSG_RESULT(checking for python module: $MODULE_NAME: found)
+else
+ AC_MSG_RESULT(checking for python module: $MODULE_NAME: not found)
+ exit 1
+fi
+
+MODULE_NAME="Vte"
+$PYTHONC -c "from gi.repository import $MODULE_NAME" 2>/dev/null
+if test $? -eq 0
+then
+ AC_MSG_RESULT(checking for python module: $MODULE_NAME: found)
+else
+ AC_MSG_RESULT(checking for python module: $MODULE_NAME: not found)
+ exit 1
+fi
+
+MODULE_NAME="sqlite3"
+$PYTHONC -c "import $MODULE_NAME" 2>/dev/null
+if test $? -eq 0
+then
+ AC_MSG_RESULT(checking for python module: $MODULE_NAME: found)
+else
+ AC_MSG_RESULT(checking for python module: $MODULE_NAME: not found)
+ exit 1
+fi
+
# i18n
ALL_LINGUAS="es"
GETTEXT_PACKAGE=gevice
diff --git a/src/gevicemaintainer.py b/src/gevicemaintainer.py
index 5432ade..a28865b 100644
--- a/src/gevicemaintainer.py
+++ b/src/gevicemaintainer.py
@@ -1,6 +1,5 @@
from gi.repository import Gtk
import os
-import psycopg2
import config
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]