removed alarm/xf86-video-armsoc-chromium

This commit is contained in:
Kevin Mihelich 2017-01-13 03:43:03 +00:00
parent bc442919ab
commit ce48c523da
2 changed files with 0 additions and 148 deletions

View file

@ -1,101 +0,0 @@
From a55a580a886eaf7bb108e407f412031a444d26d1 Mon Sep 17 00:00:00 2001
From: Kevin Mihelich <kevin@archlinuxarm.org>
Date: Fri, 23 May 2014 21:01:56 -0600
Subject: [PATCH] compat for newer xorg
---
src/bo_exynos.c | 1 +
src/compat-api.h | 2 +-
src/drmmode_display.c | 5 -----
src/omap_driver.c | 1 -
src/omap_driver.h | 1 -
src/omap_dumb.c | 1 +
6 files changed, 3 insertions(+), 8 deletions(-)
diff --git a/src/bo_exynos.c b/src/bo_exynos.c
index 93604fe..e961d1e 100644
--- a/src/bo_exynos.c
+++ b/src/bo_exynos.c
@@ -24,6 +24,7 @@
#include <sys/mman.h>
#include <assert.h>
#include <errno.h>
+#include <xorg-server.h>
#include <xf86.h>
#include <xf86drm.h>
#include <xf86drmMode.h>
diff --git a/src/compat-api.h b/src/compat-api.h
index fa0f352..b74a582 100644
--- a/src/compat-api.h
+++ b/src/compat-api.h
@@ -46,7 +46,7 @@
#define SCREEN_ARG_TYPE int
#define SCREEN_PTR(arg1) ScreenPtr pScreen = screenInfo.screens[(arg1)]
-#define SCREEN_INIT_ARGS_DECL int scrnIndex, ScreenPtr pScreen, int argc, char **argv
+#define SCREEN_INIT_ARGS_DECL int i, ScreenPtr pScreen, int argc, char **argv
#define BLOCKHANDLER_ARGS_DECL int arg, pointer blockData, pointer pTimeout, pointer pReadmask
#define BLOCKHANDLER_ARGS arg, blockData, pTimeout, pReadmask
diff --git a/src/drmmode_display.c b/src/drmmode_display.c
index d318d51..cf8fa9a 100644
--- a/src/drmmode_display.c
+++ b/src/drmmode_display.c
@@ -58,9 +58,6 @@
#include "compiler.h"
#include "mipointer.h"
-/* All drivers implementing backing store need this */
-#include "mibstore.h"
-
#include "micmap.h"
#include "xf86DDC.h"
@@ -1687,8 +1684,6 @@ Bool drmmode_pre_init(ScrnInfoPtr pScrn, int fd)
TRACE_ENTER();
- pScrn->canDoBGNoneRoot = TRUE;
-
xf86CrtcConfigInit(pScrn, &drmmode_xf86crtc_config_funcs);
mode_res = drmModeGetResources(fd);
diff --git a/src/omap_driver.c b/src/omap_driver.c
index 65fff85..5223d97 100644
--- a/src/omap_driver.c
+++ b/src/omap_driver.c
@@ -693,7 +693,6 @@ OMAPScreenInit(SCREEN_INIT_ARGS_DECL)
}
/* Initialize backing store: */
- miInitializeBackingStore(pScreen);
xf86SetBackingStore(pScreen);
/* Cause the cursor position to be updated by the mouse signal handler: */
diff --git a/src/omap_driver.h b/src/omap_driver.h
index 9862651..b974f13 100644
--- a/src/omap_driver.h
+++ b/src/omap_driver.h
@@ -40,7 +40,6 @@
* XXX - figure out what can be removed..
*/
#include "mipointer.h"
-#include "mibstore.h"
#include "micmap.h"
#include "colormapst.h"
#include "xf86cmap.h"
diff --git a/src/omap_dumb.c b/src/omap_dumb.c
index a3b5152..7acf169 100644
--- a/src/omap_dumb.c
+++ b/src/omap_dumb.c
@@ -26,6 +26,7 @@
#include <assert.h>
#include <errno.h>
+#include <xorg-server.h>
#include <xf86.h>
#include <xf86drm.h>
#include <xf86drmMode.h>
--
2.3.0

View file

@ -1,47 +0,0 @@
# ArmSoc (OMAP + Mali) FrameBuffer driver for Xorg from Chromium.
# Maintainer: Kevin Mihelich <kevin@archlinuxarm.org>
# Contributor: Erik Andersson <erik.h.andersson@gmail.com>
# Contributor: Mauro Ribeiro <mauro.ribeiro@hardkernel.com>
buildarch=4
pkgname=xf86-video-armsoc-chromium
pkgver=r243.30370e9
pkgrel=3
epoch=1
pkgdesc='X.org graphics driver for ARM graphics - ChromiumOS'
arch=('armv7h')
url="https://chromium.googlesource.com/chromiumos/third_party/xf86-video-armsoc"
license=('GPL2')
makedepends=('git' 'pkgconfig' 'xorg-server-devel' 'resourceproto' 'scrnsaverproto')
options=('!libtool')
conflicts=(xf86-video-armsoc)
provides=(xf86-video-armsoc)
source=("$pkgname::git+https://chromium.googlesource.com/chromiumos/third_party/xf86-video-armsoc"
'0001-compat-for-newer-xorg.patch')
md5sums=('SKIP'
'06e739dc692095b1b50ad431f30e7f0b')
pkgver() {
cd $pkgname
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
prepare() {
cd $pkgname
git apply ../0001-compat-for-newer-xorg.patch
}
build() {
cd $pkgname
CFLAGS=`echo $CFLAGS | sed -e 's/vfpv3-d16/neon/'` && CXXFLAGS="$CFLAGS"
./autogen.sh --prefix=/usr --with-driver=exynos
make
}
package() {
cd $pkgname
make DESTDIR="${pkgdir}" install
}