[mousetrap/gnome3-wip: 91/240] Remove dependency on Xlib and pyatspi
- From: Heidi Ellis <heidiellis src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mousetrap/gnome3-wip: 91/240] Remove dependency on Xlib and pyatspi
- Date: Mon, 8 Sep 2014 15:20:12 +0000 (UTC)
commit 986b041c3a8cb15f82e4a4f6fe523f5d43da3a64
Author: Kevin Brown <kbrown rediker com>
Date: Thu Jun 12 20:29:55 2014 -0400
Remove dependency on Xlib and pyatspi
These dependences have been replaced by the switch to using Gdk for
moving the mouse and performing the various actions. The check for
OpenCV has been switched to look for `cv2`, as `cv` is no longer
present in OpenCV 3 and `cv2` is the primary mainspace.
configure.ac | 4 +---
src/mousetrap/Makefile.am | 2 --
2 files changed, 1 insertions(+), 5 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 408e16d..e3bf493 100644
--- a/configure.ac
+++ b/configure.ac
@@ -54,9 +54,7 @@ AM_CHECK_PYTHON_HEADERS(,[AC_MSG_ERROR(Could not find python headers needed to b
AM_CHECK_PYMOD(gettext,,,[AC_MSG_ERROR(Could not find python module gettext)])
AM_CHECK_PYMOD(getopt,,,[AC_MSG_ERROR(Could not find python module getopt)])
-AM_CHECK_PYMOD(Xlib,,,[AC_MSG_ERROR(Could not find python module Xlib)])
-AM_CHECK_PYMOD(pyatspi,,,[AC_MSG_ERROR(Could not find python module pyatspi)])
-AM_CHECK_PYMOD(cv,,,[AC_MSG_ERROR(Could not find python module cv)])
+AM_CHECK_PYMOD(cv2,,,[AC_MSG_ERROR(Could not find python module cv2)])
AM_CONDITIONAL(WITH_LOUIS, test x$have_liblouis = "xyes")
diff --git a/src/mousetrap/Makefile.am b/src/mousetrap/Makefile.am
index 9e4e8de..0d728ac 100644
--- a/src/mousetrap/Makefile.am
+++ b/src/mousetrap/Makefile.am
@@ -1,4 +1,3 @@
-
mousetrapdir=$(bindir)
mousetrap_pathdir=$(pyexecdir)
@@ -16,4 +15,3 @@ mousetrap_pythondir=$(pyexecdir)/mousetrap/
install-exec-hook:
chmod a+r $(DESTDIR)$(mousetrap_pythondir) -R
-
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]