calibrateproto, libxcalibrate: Update recipes to SRCREV and a new tag since the patch...
authorRichard Purdie <rpurdie@rpsys.net>
Mon, 18 Feb 2008 16:20:58 +0000 (16:20 +0000)
committerRichard Purdie <rpurdie@rpsys.net>
Mon, 18 Feb 2008 16:20:58 +0000 (16:20 +0000)
12 files changed:
conf/distro/include/preferred-xorg-versions-X11R7.0.inc
conf/distro/include/preferred-xorg-versions-X11R7.1.inc
conf/distro/include/preferred-xorg-versions-X11R7.2.inc
conf/distro/include/preferred-xorg-versions-X11R7.3.inc
conf/distro/include/preferred-xorg-versions-X11R7.4.inc
conf/distro/include/preferred-xorg-versions.inc
packages/xorg-lib/libxcalibrate/.mtn2git_empty [deleted file]
packages/xorg-lib/libxcalibrate/coords.patch [deleted file]
packages/xorg-lib/libxcalibrate_git.bb
packages/xorg-proto/calibrateproto/.mtn2git_empty [deleted file]
packages/xorg-proto/calibrateproto/coords.patch [deleted file]
packages/xorg-proto/calibrateproto_git.bb

index 6db9d92..5a391aa 100644 (file)
@@ -339,3 +339,9 @@ PREFERRED_VERSION_util-macros-native = "X11R7.0-1.0.1"
 PREFERRED_VERSION_util-macros = "X11R7.0-1.0.1"
 PREFERRED_VERSION_xorg-cf-files = "X11R7.0-1.0.1"
 PREFERRED_VERSION_xserver-xorg = "X11R7.0-1.0.1"
+
+# Unreleased Packages
+SRCREV_pn-libxcalibrate ?= "7b8e29186097170e930de634a4a68072558aa056"
+PV_pn-libxcalibrate ?= "0.0-oe1-${SRCREV}"
+SRCREV_pn-calibrateproto ?= "1da6fd1e2c7a49648245c98481fabea8b9690a8c"
+PV_pn-calibrateproto ?= "0.0-oe1-${SRCREV}"
index 7825495..c387161 100644 (file)
@@ -183,3 +183,9 @@ PREFERRED_VERSION_util-macros ?= "X11R7.1-1.0.2"
 PREFERRED_VERSION_xorg-cf-files ?= "X11R7.1-1.0.2"
 PREFERRED_VERSION_xserver-kdrive ?= "X11R7.1-1.1.0"
 PREFERRED_VERSION_xserver-xorg ?= "X11R7.1-1.1.0"
+
+# Unreleased packages
+SRCREV_pn-libxcalibrate ?= "7b8e29186097170e930de634a4a68072558aa056"
+PV_pn-libxcalibrate ?= "0.0-oe1-${SRCREV}"
+SRCREV_pn-calibrateproto ?= "1da6fd1e2c7a49648245c98481fabea8b9690a8c"
+PV_pn-calibrateproto ?= "0.0-oe1-${SRCREV}"
index 59a481a..dc34a99 100644 (file)
@@ -269,3 +269,8 @@ PREFERRED_VERSION_xorg-cf-files ?= "X11R7.1-1.0.2"
 PREFERRED_VERSION_xserver-kdrive ?= "1.2.0"
 PREFERRED_VERSION_xserver-xorg ?= "1.2.0"
 
+# Unreleased packages
+SRCREV_pn-libxcalibrate ?= "7b8e29186097170e930de634a4a68072558aa056"
+PV_pn-libxcalibrate ?= "0.0-oe1-${SRCREV}"
+SRCREV_pn-calibrateproto ?= "1da6fd1e2c7a49648245c98481fabea8b9690a8c"
+PV_pn-calibrateproto ?= "0.0-oe1-${SRCREV}"
index d7e1928..648472e 100644 (file)
@@ -280,3 +280,8 @@ PREFERRED_VERSION_xorg-cf-files ?= "1.0.2"
 PREFERRED_VERSION_xserver-kdrive ?= "1.4"
 PREFERRED_VERSION_xserver-xorg ?= "1.4"
 
+# Unreleased packages
+SRCREV_pn-libxcalibrate ?= "7b8e29186097170e930de634a4a68072558aa056"
+PV_pn-libxcalibrate ?= "0.0-oe1-${SRCREV}"
+SRCREV_pn-calibrateproto ?= "1da6fd1e2c7a49648245c98481fabea8b9690a8c"
+PV_pn-calibrateproto ?= "0.0-oe1-${SRCREV}"
index b04f721..4af2405 100644 (file)
@@ -284,3 +284,9 @@ PREFERRED_VERSION_xorg-cf-files ?= "1.0.2"
 # xserver
 PREFERRED_VERSION_xserver-kdrive ?= "1.4"
 PREFERRED_VERSION_xserver-xorg ?= "1.4"
+
+# Unreleased packages
+SRCREV_pn-libxcalibrate ?= "7b8e29186097170e930de634a4a68072558aa056"
+PV_pn-libxcalibrate ?= "0.0-oe1-${SRCREV}"
+SRCREV_pn-calibrateproto ?= "1da6fd1e2c7a49648245c98481fabea8b9690a8c"
+PV_pn-calibrateproto ?= "0.0-oe1-${SRCREV}"
index f34b29f..0513613 100644 (file)
@@ -109,3 +109,7 @@ PREFERRED_VERSION_xtrans ?= "1.0.3"
 PREFERRED_VERSION_xtrans-native ?= "1.0.3"
 PREFERRED_VERSION_xinit ?= "1.0.4"
 PREFERRED_VERSION_xev ?= "1.0.2"
+SRCREV_pn-libxcalibrate ?= "7b8e29186097170e930de634a4a68072558aa056"
+PV_pn-libxcalibrate ?= "0.0-oe1-${SRCREV}"
+SRCREV_pn-calibrateproto ?= "1da6fd1e2c7a49648245c98481fabea8b9690a8c"
+PV_pn-calibrateproto ?= "0.0-oe1-${SRCREV}"
diff --git a/packages/xorg-lib/libxcalibrate/.mtn2git_empty b/packages/xorg-lib/libxcalibrate/.mtn2git_empty
deleted file mode 100644 (file)
index e69de29..0000000
diff --git a/packages/xorg-lib/libxcalibrate/coords.patch b/packages/xorg-lib/libxcalibrate/coords.patch
deleted file mode 100644 (file)
index 19cf163..0000000
+++ /dev/null
@@ -1,50 +0,0 @@
----
- xcalibrate.c |   26 ++++++++++++++++++++++++++
- xcalibrate.h |    2 ++
- 2 files changed, 28 insertions(+)
-
-Index: XCalibrate/xcalibrate.c
-===================================================================
---- XCalibrate.orig/xcalibrate.c       2007-06-30 14:12:22.000000000 +0100
-+++ XCalibrate/xcalibrate.c    2007-06-30 14:18:10.000000000 +0100
-@@ -227,3 +227,29 @@ XCalibrateSetRawMode (Display *dpy, Bool
-   SyncHandle ();
-   return 0;
- }
-+
-+Status 
-+XCalibrateScreenToCoord (Display *dpy, int *x, int *y)
-+{
-+  XExtDisplayInfo             *info = XCalibrateFindDisplay (dpy);
-+  xXCalibrateScreenToCoordReq *req;
-+  xXCalibrateScreenToCoordReply       rep;
-+  LockDisplay (dpy);
-+  GetReq (XCalibrateScreenToCoord, req);
-+  req->reqType = info->codes->major_opcode;
-+  req->xCalibrateReqType = X_XCalibrateScreenToCoord;
-+  req->x = *x;
-+  req->y = *y;
-+  if (!_XReply (dpy, (xReply *) &rep, 0, xFalse)) 
-+    {
-+      UnlockDisplay (dpy);
-+      SyncHandle ();
-+      return 1;
-+    }
-+  *x = rep.x;
-+  *y = rep.y;
-+  UnlockDisplay (dpy);
-+  SyncHandle ();
-+  return 0;
-+}
-+
-Index: XCalibrate/xcalibrate.h
-===================================================================
---- XCalibrate.orig/xcalibrate.h       2007-06-30 14:16:16.000000000 +0100
-+++ XCalibrate/xcalibrate.h    2007-06-30 14:16:38.000000000 +0100
-@@ -43,4 +43,6 @@ Status XCalibrateQueryVersion (Display *
- Status XCalibrateSetRawMode (Display *dpy, Bool enable);
-+Status XCalibrateScreenToCoord (Display *dpy, int *x, int *y);
-+
- #endif
index 99f11e4..24b4a1f 100644 (file)
@@ -3,11 +3,9 @@ require xorg-lib-common.inc
 DESCRIPTION = "        Touchscreen calibration client library"
 LICENSE = "BSD-X"
 DEPENDS = "virtual/libx11 calibrateproto libxext"
-PV = "0.0+git${SRCDATE}"
-PR = "r2"
+PV = "0.0+git${SRCREV}"
 
-SRC_URI = "git://anongit.freedesktop.org/git/xorg/lib/libXCalibrate;protocol=git;tag=4be232e30cd33a44a1ce6d3ec429ee6101540c62 \
-           file://coords.patch;patch=1"
+SRC_URI = "git://anongit.freedesktop.org/git/xorg/lib/libXCalibrate;protocol=git"
 
 S = "${WORKDIR}/git"
 
diff --git a/packages/xorg-proto/calibrateproto/.mtn2git_empty b/packages/xorg-proto/calibrateproto/.mtn2git_empty
deleted file mode 100644 (file)
index e69de29..0000000
diff --git a/packages/xorg-proto/calibrateproto/coords.patch b/packages/xorg-proto/calibrateproto/coords.patch
deleted file mode 100644 (file)
index 8f44b02..0000000
+++ /dev/null
@@ -1,56 +0,0 @@
----
- xcalibrateproto.h |   25 +++++++++++++++++++++++++
- xcalibratewire.h  |    3 ++-
- 2 files changed, 27 insertions(+), 1 deletion(-)
-
-Index: XCalibrateExt/xcalibrateproto.h
-===================================================================
---- XCalibrateExt.orig/xcalibrateproto.h       2004-06-02 20:18:47.000000000 +0100
-+++ XCalibrateExt/xcalibrateproto.h    2007-06-30 14:17:29.000000000 +0100
-@@ -78,6 +78,31 @@ typedef struct {
- #define sz_xXCalibrateRawModeReply    32
-+typedef struct {
-+    CARD8   reqType;
-+    CARD8   xCalibrateReqType;
-+    CARD16  length B16;
-+    CARD32  x B32;
-+    CARD32  y B32;
-+} xXCalibrateScreenToCoordReq;
-+
-+#define sz_xXCalibrateScreenToCoordReq        12
-+
-+typedef struct {
-+    BYTE    type;   /* X_Reply */
-+    BYTE    pad1;
-+    CARD16  sequenceNumber B16;
-+    CARD32  x;
-+    CARD32  y;
-+    CARD32  pad2 B32;
-+    CARD32  pad3 B32;
-+    CARD32  pad4 B32;
-+    CARD32  pad5 B32;
-+    CARD32  pad6 B32;
-+} xXCalibrateScreenToCoordReply;
-+
-+#define sz_xXCalibrateScreenToCoordReply      32
-+
- /* Events */
- typedef struct {
-Index: XCalibrateExt/xcalibratewire.h
-===================================================================
---- XCalibrateExt.orig/xcalibratewire.h        2004-06-02 20:18:47.000000000 +0100
-+++ XCalibrateExt/xcalibratewire.h     2007-06-30 14:17:29.000000000 +0100
-@@ -31,8 +31,9 @@
- #define X_XCalibrateQueryVersion              0
- #define X_XCalibrateRawMode                   1
-+#define X_XCalibrateScreenToCoord             2
--#define XCalibrateNumberRequests              (X_XCalibrateSetRawMode + 1)
-+#define XCalibrateNumberRequests              (X_XCalibrateScreenToCoord + 1)
- #define X_XCalibrateRawTouchscreen            0
index 6030860..02d20b5 100644 (file)
@@ -2,10 +2,8 @@ require xorg-proto-common.inc
 
 DESCRIPTION = "Touchscreen calibration protocol"
 
-PV = "0.0+git${SRCDATE}"
+PV = "0.0+git${SRCREV}"
 PR = "r1"
 
-SRC_URI = "git://anongit.freedesktop.org/git/xorg/proto/calibrateproto;protocol=git;tag=a1d5ef0c73fbef3e758c51b57ac69ba9567bae04 \
-           file://coords.patch;patch=1"
-
+SRC_URI = "git://anongit.freedesktop.org/git/xorg/proto/calibrateproto;protocol=git"
 S = "${WORKDIR}/git"