diff options
Diffstat (limited to 'meta')
| -rw-r--r-- | meta/conf/distro/poky.conf | 3 | ||||
| -rw-r--r-- | meta/packages/xorg-lib/libxcalibrate/coords.patch | 50 | ||||
| -rw-r--r-- | meta/packages/xorg-lib/libxcalibrate_git.bb | 4 |
3 files changed, 3 insertions, 54 deletions
diff --git a/meta/conf/distro/poky.conf b/meta/conf/distro/poky.conf index 92cfbe7484..c11623a97f 100644 --- a/meta/conf/distro/poky.conf +++ b/meta/conf/distro/poky.conf | |||
| @@ -116,7 +116,8 @@ SRCREV_pn-matchbox-desktop-sato ?= "76" | |||
| 116 | SRCREV_pn-evince ?= "2437" | 116 | SRCREV_pn-evince ?= "2437" |
| 117 | SRCREV_pn-oh-puzzles ?= "22" | 117 | SRCREV_pn-oh-puzzles ?= "22" |
| 118 | SRCREV_pn-libowl ?= "354" | 118 | SRCREV_pn-libowl ?= "354" |
| 119 | SRCREV_pn-libxcalibrate ?= "95c1708a48ab470971dc37df31b2733ad1aeb220" | 119 | SRCREV_pn-libxcalibrate ?= "7b8e29186097170e930de634a4a68072558aa056" |
| 120 | PV_pn-libxcalibrate ?= "0.0-poky1-${SRCREV}" | ||
| 120 | SRCREV_pn-calibrateproto ?= "1da6fd1e2c7a49648245c98481fabea8b9690a8c" | 121 | SRCREV_pn-calibrateproto ?= "1da6fd1e2c7a49648245c98481fabea8b9690a8c" |
| 121 | PV_pn-calibrateproto ?= "0.0-poky1-${SRCREV}" | 122 | PV_pn-calibrateproto ?= "0.0-poky1-${SRCREV}" |
| 122 | SRCDATE_gtk-theme-torturer ?= "20060821" | 123 | SRCDATE_gtk-theme-torturer ?= "20060821" |
diff --git a/meta/packages/xorg-lib/libxcalibrate/coords.patch b/meta/packages/xorg-lib/libxcalibrate/coords.patch deleted file mode 100644 index 19cf1639f6..0000000000 --- a/meta/packages/xorg-lib/libxcalibrate/coords.patch +++ /dev/null | |||
| @@ -1,50 +0,0 @@ | |||
| 1 | --- | ||
| 2 | xcalibrate.c | 26 ++++++++++++++++++++++++++ | ||
| 3 | xcalibrate.h | 2 ++ | ||
| 4 | 2 files changed, 28 insertions(+) | ||
| 5 | |||
| 6 | Index: XCalibrate/xcalibrate.c | ||
| 7 | =================================================================== | ||
| 8 | --- XCalibrate.orig/xcalibrate.c 2007-06-30 14:12:22.000000000 +0100 | ||
| 9 | +++ XCalibrate/xcalibrate.c 2007-06-30 14:18:10.000000000 +0100 | ||
| 10 | @@ -227,3 +227,29 @@ XCalibrateSetRawMode (Display *dpy, Bool | ||
| 11 | SyncHandle (); | ||
| 12 | return 0; | ||
| 13 | } | ||
| 14 | + | ||
| 15 | +Status | ||
| 16 | +XCalibrateScreenToCoord (Display *dpy, int *x, int *y) | ||
| 17 | +{ | ||
| 18 | + XExtDisplayInfo *info = XCalibrateFindDisplay (dpy); | ||
| 19 | + xXCalibrateScreenToCoordReq *req; | ||
| 20 | + xXCalibrateScreenToCoordReply rep; | ||
| 21 | + LockDisplay (dpy); | ||
| 22 | + GetReq (XCalibrateScreenToCoord, req); | ||
| 23 | + req->reqType = info->codes->major_opcode; | ||
| 24 | + req->xCalibrateReqType = X_XCalibrateScreenToCoord; | ||
| 25 | + req->x = *x; | ||
| 26 | + req->y = *y; | ||
| 27 | + if (!_XReply (dpy, (xReply *) &rep, 0, xFalse)) | ||
| 28 | + { | ||
| 29 | + UnlockDisplay (dpy); | ||
| 30 | + SyncHandle (); | ||
| 31 | + return 1; | ||
| 32 | + } | ||
| 33 | + *x = rep.x; | ||
| 34 | + *y = rep.y; | ||
| 35 | + UnlockDisplay (dpy); | ||
| 36 | + SyncHandle (); | ||
| 37 | + return 0; | ||
| 38 | +} | ||
| 39 | + | ||
| 40 | Index: XCalibrate/xcalibrate.h | ||
| 41 | =================================================================== | ||
| 42 | --- XCalibrate.orig/xcalibrate.h 2007-06-30 14:16:16.000000000 +0100 | ||
| 43 | +++ XCalibrate/xcalibrate.h 2007-06-30 14:16:38.000000000 +0100 | ||
| 44 | @@ -43,4 +43,6 @@ Status XCalibrateQueryVersion (Display * | ||
| 45 | |||
| 46 | Status XCalibrateSetRawMode (Display *dpy, Bool enable); | ||
| 47 | |||
| 48 | +Status XCalibrateScreenToCoord (Display *dpy, int *x, int *y); | ||
| 49 | + | ||
| 50 | #endif | ||
diff --git a/meta/packages/xorg-lib/libxcalibrate_git.bb b/meta/packages/xorg-lib/libxcalibrate_git.bb index 7ddc831d3f..24b4a1f067 100644 --- a/meta/packages/xorg-lib/libxcalibrate_git.bb +++ b/meta/packages/xorg-lib/libxcalibrate_git.bb | |||
| @@ -4,10 +4,8 @@ DESCRIPTION = " Touchscreen calibration client library" | |||
| 4 | LICENSE = "BSD-X" | 4 | LICENSE = "BSD-X" |
| 5 | DEPENDS = "virtual/libx11 calibrateproto libxext" | 5 | DEPENDS = "virtual/libx11 calibrateproto libxext" |
| 6 | PV = "0.0+git${SRCREV}" | 6 | PV = "0.0+git${SRCREV}" |
| 7 | PR = "r3" | ||
| 8 | 7 | ||
| 9 | SRC_URI = "git://anongit.freedesktop.org/git/xorg/lib/libXCalibrate;protocol=git;tag=${SRCREV} \ | 8 | SRC_URI = "git://anongit.freedesktop.org/git/xorg/lib/libXCalibrate;protocol=git" |
| 10 | file://coords.patch;patch=1" | ||
| 11 | 9 | ||
| 12 | S = "${WORKDIR}/git" | 10 | S = "${WORKDIR}/git" |
| 13 | 11 | ||
