xf86-video-glamo: adapt to xserver 1.14 API

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
Martin Jansa
2013-03-16 17:46:41 +01:00
parent b55fbf81be
commit eaae385828
2 changed files with 50 additions and 1 deletions
@@ -0,0 +1,48 @@
From 040ade8bb86a771fa4e71b41d2080254830ca9f3 Mon Sep 17 00:00:00 2001
From: Martin Jansa <Martin.Jansa@gmail.com>
Date: Sat, 16 Mar 2013 17:44:37 +0100
Subject: [PATCH] glamo*driver: remove references to mibstore
* fix build with xserver-1.14
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
src/glamo-driver.c | 2 --
src/glamo-kms-driver.c | 1 -
2 files changed, 3 deletions(-)
diff --git a/src/glamo-driver.c b/src/glamo-driver.c
index 10b7762..22f57d7 100644
--- a/src/glamo-driver.c
+++ b/src/glamo-driver.c
@@ -14,7 +14,6 @@
#include "xf86_OSproc.h"
#include "mipointer.h"
-#include "mibstore.h"
#include "micmap.h"
#include "colormapst.h"
#include "xf86cmap.h"
@@ -612,7 +611,6 @@ GlamoScreenInit(SCREEN_INIT_ARGS_DECL)
}
xf86SetBlackWhitePixels(pScreen);
- miInitializeBackingStore(pScreen);
xf86SetBackingStore(pScreen);
/* software cursor */
diff --git a/src/glamo-kms-driver.c b/src/glamo-kms-driver.c
index c5c7a00..f192398 100644
--- a/src/glamo-kms-driver.c
+++ b/src/glamo-kms-driver.c
@@ -415,7 +415,6 @@ Bool GlamoKMSScreenInit(int scrnIndex, ScreenPtr pScreen, int argc,
GlamoKMSExaInit(pScrn);
- miInitializeBackingStore(pScreen);
xf86SetBackingStore(pScreen);
xf86SetSilkenMouse(pScreen);
miDCInitialize(pScreen, xf86GetPointerScreenFuncs());
--
1.8.1.5
@@ -7,12 +7,13 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=d8cbd99fff773f92e844948f74ef0df8"
PE = "2"
PV = "1.0.0+gitr${SRCPV}"
PR = "${INC_PR}.3"
PR = "${INC_PR}.4"
SRC_URI = "git://git.openmoko.org/git/xf86-video-glamo.git;protocol=git;branch=master \
file://0001-glamo-kms-driver-drop-unused-xf86_config.patch \
file://0001-fix-build-with-KMS-disabled.patch \
file://0003-glamo-driver-adapt-to-xserver-0.13-video-API.patch \
file://0001-glamo-driver-remove-references-to-mibstore.patch \
"
S = "${WORKDIR}/git"