[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-commit] [SCM] Gnash branch, master, updated. release_0_8_9_final-
From: |
Rob Savoye |
Subject: |
[Gnash-commit] [SCM] Gnash branch, master, updated. release_0_8_9_final-1171-g4b95aac |
Date: |
Sat, 10 Sep 2011 13:04:52 +0000 |
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Gnash".
The branch, master has been updated
via 4b95aac89c07bdfadab3b013220a1ef280893acf (commit)
via db274d5cb80a3725da4e023efbc2cb5848ad86be (commit)
via a93be4b29e6dc1ec3b9dfaf80f5d7b63ffffb498 (commit)
from cd22e41cab8d5283656e71d8a95b410f07c1fd05 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://git.savannah.gnu.org/cgit//commit/?id=4b95aac89c07bdfadab3b013220a1ef280893acf
commit 4b95aac89c07bdfadab3b013220a1ef280893acf
Author: Rob Savoye <address@hidden>
Date: Sat Sep 10 07:02:17 2011 -0600
include errno to keep Lenny happy, and optionally use inpout event field
for resolution
diff --git a/libdevice/events/EventDevice.cpp b/libdevice/events/EventDevice.cpp
index f09d94e..788ddf0 100644
--- a/libdevice/events/EventDevice.cpp
+++ b/libdevice/events/EventDevice.cpp
@@ -26,6 +26,7 @@
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
+#include <errno.h>
#include <linux/input.h>
#include <linux/kd.h>
@@ -208,7 +209,9 @@ EventDevice::init(const std::string &filespec, size_t /*
size */)
abs.minimum = 0;
abs.fuzz = 4;
abs.flat = 8;
+#ifdef ABSINFO_RESOLUTION
abs.resolution = 0;
+#endif
abs.maximum = 800;
if (ioctl(_fd, EVIOCSABS(ABS_X), &abs) < 0) {
perror("ioctl(EVIOCSABS(ABS_X))");
http://git.savannah.gnu.org/cgit//commit/?id=db274d5cb80a3725da4e023efbc2cb5848ad86be
commit db274d5cb80a3725da4e023efbc2cb5848ad86be
Author: Rob Savoye <address@hidden>
Date: Sat Sep 10 07:01:32 2011 -0600
include errno to keep Lenny happy
diff --git a/libdevice/events/InputDevice.cpp b/libdevice/events/InputDevice.cpp
index 14704e8..f0f32ae 100644
--- a/libdevice/events/InputDevice.cpp
+++ b/libdevice/events/InputDevice.cpp
@@ -24,6 +24,7 @@
#include "InputDevice.h"
#include "GnashKey.h"
#include "iostream"
+#include <errno.h>
namespace gnash {
diff --git a/libdevice/events/MouseDevice.cpp b/libdevice/events/MouseDevice.cpp
index 7bc0ea1..7f38189 100644
--- a/libdevice/events/MouseDevice.cpp
+++ b/libdevice/events/MouseDevice.cpp
@@ -23,6 +23,7 @@
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
+#include <errno.h>
#include <boost/shared_array.hpp>
#include "GnashSleep.h"
http://git.savannah.gnu.org/cgit//commit/?id=a93be4b29e6dc1ec3b9dfaf80f5d7b63ffffb498
commit a93be4b29e6dc1ec3b9dfaf80f5d7b63ffffb498
Author: Rob Savoye <address@hidden>
Date: Sat Sep 10 07:01:00 2011 -0600
add test for resolution field for input events
diff --git a/configure.ac b/configure.ac
index 7d46552..0042107 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1096,6 +1096,13 @@ AC_ARG_ENABLE(device,
done
)
+dnl Lenny doesn't support this filed for Linux Input events
+AC_TRY_COMPILE([#include <linux/input.h>], [
+ struct input_absinfo abs;
+ abs.resolution = 0;; ],
+ AC_DEFINE([ABSINFO_RESOLUTION], [1], [ABS Resolution field])
+)
+
if test x"${have_ffmpeg_vaapi}" = x"yes" -a x"${build_vaapi_device}" = x"yes";
then
use_libva=no
use_libva_x11=no
-----------------------------------------------------------------------
Summary of changes:
configure.ac | 7 +++++++
libdevice/events/EventDevice.cpp | 3 +++
libdevice/events/InputDevice.cpp | 1 +
libdevice/events/MouseDevice.cpp | 1 +
4 files changed, 12 insertions(+), 0 deletions(-)
hooks/post-receive
--
Gnash
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Gnash-commit] [SCM] Gnash branch, master, updated. release_0_8_9_final-1171-g4b95aac,
Rob Savoye <=