mirror of
https://git.yoctoproject.org/poky
synced 2026-03-05 14:59:41 +01:00
gtk+: Add Upstream-Status ed: Add Upstream-Status gnome-common: Add Upstream-Status libmatchbox: Add Upstream-Status matchbox-wm: Add Upstream-Status x11vnc: Add Upstream-Status xtscal: Add Upstream-Status eds-dbus: Add Upstream-Status matchbox-desktop: Add Upstream-Status matchbox-keyboard: Add Upstream-Status matchbox-stroke: Add Upstream-Status matchbox-theme-sato: Add Upstream-Status owl-video-widget: Add Upstream-Status beecrypt: Add Upstream-Status gnome-icon-theme: Add Upstream-Status tslib: Add Upstream-Status libowl-av: Add Upstream-Status sato-icon-theme: Add Upstream-Status web-webkit: Add Upstream-Status metacity: Add Upstream-Status apr: Add Upstream-Status gdk-pixbuf: Add Upstream-Status pcmanfm: Add Upstream-Status gpgme: Add Upstream-Status eee-acpi-scripts: Add Upstream-Status libgalago: Add Upstream-Status python-pygtk: Add Upstream-Status gnome-mime-data: Add Upstream-Status clutter: Add Upstream-Status clutter-gtk: Add Upstream-Status tidy: Add Upstream-Status mutter: Add Upstream-Status xcursor-transparent-theme: Add Upstream-Status leafpad: Add Upstream-Status matchbox-config-gtk: Add Upstream-Status contacts: Add Upstream-Status dates: Add Upstream-Status web: Add Upstream-Status webkit: Add Upstream-Status - Also removed empty fix_im.patch apr-util: Add Upstream-Status libcroco: Add Upstream-Status liboil: Add Upstream-Status libxslt: Add Upstream-Status libglade: Add Upstream-Status gnome-terminal: Add Upstream-Status xev: Add Upstream-Status claws-mail: Add Upstream-Status clipboard-manager: Add Upstream-Status epdfview: Add Upstream-Status kf: Add Upstream-Status qemu: Add Upstream-Status clutter-gst: Add Upstream-Status table: Add Upstream-Status matchbox-panel-2: Add Upstream-Status (From OE-Core rev: 10bdb737c2c4c6996fd035849109a1e07580a6b9) Signed-off-by: Zhai Edwin <edwin.zhai@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
56 lines
1.7 KiB
Diff
56 lines
1.7 KiB
Diff
#! /bin/sh /usr/share/dpatch/dpatch-run
|
|
## 030-32bitBE-support.dpatch by Neil Williams <codehelp@debian.org>
|
|
##
|
|
## All lines beginning with `## DP:' are a description of the patch.
|
|
## DP: See bug #496759 - being tested upstream for 32bit BE devices
|
|
|
|
@DPATCH@
|
|
|
|
Upstream-Status: Pending
|
|
|
|
diff -urNad tslib-1.0~/plugins/input-raw.c tslib-1.0/plugins/input-raw.c
|
|
--- tslib-1.0~/plugins/input-raw.c 2008-12-09 10:56:47.000000000 +0000
|
|
+++ tslib-1.0/plugins/input-raw.c 2008-12-09 11:05:41.000000000 +0000
|
|
@@ -44,25 +44,33 @@
|
|
int using_syn;
|
|
};
|
|
|
|
+#define BITS_PER_LONG (sizeof(long) * 8)
|
|
+#ifndef EV_CNT
|
|
+#define EV_CNT (EV_MAX+1)
|
|
+#endif
|
|
+#ifndef ABS_CNT
|
|
+#define ABS_CNT (ABS_MAX+1)
|
|
+#endif
|
|
+
|
|
static int check_fd(struct tslib_input *i)
|
|
{
|
|
struct tsdev *ts = i->module.dev;
|
|
int version;
|
|
- u_int32_t bit;
|
|
- u_int64_t absbit;
|
|
+ unsigned long bit[EV_CNT / BITS_PER_LONG + 1];
|
|
+ unsigned long absbit[ABS_MAX / BITS_PER_LONG + 1];
|
|
|
|
if (! ((ioctl(ts->fd, EVIOCGVERSION, &version) >= 0) &&
|
|
(version == EV_VERSION) &&
|
|
- (ioctl(ts->fd, EVIOCGBIT(0, sizeof(bit) * 8), &bit) >= 0) &&
|
|
- (bit & (1 << EV_ABS)) &&
|
|
- (ioctl(ts->fd, EVIOCGBIT(EV_ABS, sizeof(absbit) * 8), &absbit) >= 0) &&
|
|
- (absbit & (1 << ABS_X)) &&
|
|
- (absbit & (1 << ABS_Y)) && (absbit & (1 << ABS_PRESSURE)))) {
|
|
+ (ioctl(ts->fd, EVIOCGBIT(0, sizeof(bit)), bit) >= 0) &&
|
|
+ (bit[0] & (1 << EV_ABS)) &&
|
|
+ (ioctl(ts->fd, EVIOCGBIT(EV_ABS, sizeof(absbit)), absbit) >= 0) &&
|
|
+ (absbit[0] & (1 << ABS_X)) &&
|
|
+ (absbit[0] & (1 << ABS_Y)) && (absbit[0] & (1 << ABS_PRESSURE)))) {
|
|
fprintf(stderr, "selected device is not a touchscreen I understand\n");
|
|
return -1;
|
|
}
|
|
|
|
- if (bit & (1 << EV_SYN))
|
|
+ if (bit[0] & (1 << EV_SYN))
|
|
i->using_syn = 1;
|
|
|
|
return 0;
|