summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-graphics/xorg-driver
diff options
context:
space:
mode:
authorMartin Jansa <Martin.Jansa@gmail.com>2011-09-08 09:11:21 +0200
committerKoen Kooi <koen@dominion.thruhere.net>2011-09-17 11:17:40 +0200
commit0e0eff458095960c4e1af6c61474f8fc8e35f348 (patch)
treefeb3b377d124d8a97d4db485597f4525ceec951b /meta-oe/recipes-graphics/xorg-driver
parentf78f3f31c06c669006fcb567c8f503d4dbec68da (diff)
downloadmeta-openembedded-0e0eff458095960c4e1af6c61474f8fc8e35f348.tar.gz
xorg-driver: use .inc files from oe-core
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe/recipes-graphics/xorg-driver')
-rw-r--r--meta-oe/recipes-graphics/xorg-driver/xf86-input-tslib_0.0.6.bb4
-rw-r--r--meta-oe/recipes-graphics/xorg-driver/xf86-input-void_1.4.0.bb4
-rw-r--r--meta-oe/recipes-graphics/xorg-driver/xf86-video-fbdev_0.4.2.bb5
-rw-r--r--meta-oe/recipes-graphics/xorg-driver/xf86-video-geode_2.11.12.bb4
-rw-r--r--meta-oe/recipes-graphics/xorg-driver/xf86-video-glamo_git.bb4
-rw-r--r--meta-oe/recipes-graphics/xorg-driver/xf86-video-omapfb_git.bb5
-rw-r--r--meta-oe/recipes-graphics/xorg-driver/xorg-driver-common.inc40
-rw-r--r--meta-oe/recipes-graphics/xorg-driver/xorg-driver-input.inc4
-rw-r--r--meta-oe/recipes-graphics/xorg-driver/xorg-driver-video.inc4
9 files changed, 11 insertions, 63 deletions
diff --git a/meta-oe/recipes-graphics/xorg-driver/xf86-input-tslib_0.0.6.bb b/meta-oe/recipes-graphics/xorg-driver/xf86-input-tslib_0.0.6.bb
index d5d11ce15..fa590361f 100644
--- a/meta-oe/recipes-graphics/xorg-driver/xf86-input-tslib_0.0.6.bb
+++ b/meta-oe/recipes-graphics/xorg-driver/xf86-input-tslib_0.0.6.bb
@@ -1,4 +1,4 @@
1require xorg-driver-input.inc 1require recipes-graphics/xorg-driver/xf86-input-common.inc
2DESCRIPTION = "X.Org X server -- tslib input driver" 2DESCRIPTION = "X.Org X server -- tslib input driver"
3DEPENDS += "tslib" 3DEPENDS += "tslib"
4RRECOMMENDS_${PN} += "tslib-calibrate" 4RRECOMMENDS_${PN} += "tslib-calibrate"
@@ -8,7 +8,7 @@ RSUGGESTS_${PN} += "hal"
8LIC_FILES_CHKSUM = "file://src/tslib.c;endline=28;md5=bd62eaef222dcf5cd59e490a12bd795e \ 8LIC_FILES_CHKSUM = "file://src/tslib.c;endline=28;md5=bd62eaef222dcf5cd59e490a12bd795e \
9 file://COPYING;md5=4641deddaa80fe7ca88e944e1fd94a94" 9 file://COPYING;md5=4641deddaa80fe7ca88e944e1fd94a94"
10 10
11PR = "${INC_PR}.1" 11PR = "r16"
12 12
13SRC_URI = "http://www.pengutronix.de/software/xf86-input-tslib/download/xf86-input-tslib-${PV}.tar.bz2;name=archive \ 13SRC_URI = "http://www.pengutronix.de/software/xf86-input-tslib/download/xf86-input-tslib-${PV}.tar.bz2;name=archive \
14 file://double-free-crash.patch \ 14 file://double-free-crash.patch \
diff --git a/meta-oe/recipes-graphics/xorg-driver/xf86-input-void_1.4.0.bb b/meta-oe/recipes-graphics/xorg-driver/xf86-input-void_1.4.0.bb
index 32ebbeb5f..71b7cbc9d 100644
--- a/meta-oe/recipes-graphics/xorg-driver/xf86-input-void_1.4.0.bb
+++ b/meta-oe/recipes-graphics/xorg-driver/xf86-input-void_1.4.0.bb
@@ -1,6 +1,6 @@
1require xorg-driver-input.inc 1require recipes-graphics/xorg-driver/xf86-input-common.inc
2DESCRIPTION = "X.Org X server -- void input driver" 2DESCRIPTION = "X.Org X server -- void input driver"
3PR = "${INC_PR}.0" 3PR = "r16"
4 4
5LIC_FILES_CHKSUM = "file://COPYING;md5=4be6a915bfbf111cd88706fc6a6f141b" 5LIC_FILES_CHKSUM = "file://COPYING;md5=4be6a915bfbf111cd88706fc6a6f141b"
6 6
diff --git a/meta-oe/recipes-graphics/xorg-driver/xf86-video-fbdev_0.4.2.bb b/meta-oe/recipes-graphics/xorg-driver/xf86-video-fbdev_0.4.2.bb
index d555fbc4b..4c8570447 100644
--- a/meta-oe/recipes-graphics/xorg-driver/xf86-video-fbdev_0.4.2.bb
+++ b/meta-oe/recipes-graphics/xorg-driver/xf86-video-fbdev_0.4.2.bb
@@ -1,9 +1,8 @@
1require xorg-driver-video.inc 1require recipes-graphics/xorg-driver/xf86-video-common.inc
2LIC_FILES_CHKSUM = "file://COPYING;md5=d8cbd99fff773f92e844948f74ef0df8" 2LIC_FILES_CHKSUM = "file://COPYING;md5=d8cbd99fff773f92e844948f74ef0df8"
3 3
4DESCRIPTION = "X.Org X server -- fbdev display driver" 4DESCRIPTION = "X.Org X server -- fbdev display driver"
5PE = "1" 5PR = "r16"
6PR = "${INC_PR}.1"
7 6
8SRC_URI[md5sum] = "53a533d9e0c2da50962282526bace074" 7SRC_URI[md5sum] = "53a533d9e0c2da50962282526bace074"
9SRC_URI[sha256sum] = "93b271b4b41d7e5ca108849a583b9523e96c51813d046282285355b7001f82d5" 8SRC_URI[sha256sum] = "93b271b4b41d7e5ca108849a583b9523e96c51813d046282285355b7001f82d5"
diff --git a/meta-oe/recipes-graphics/xorg-driver/xf86-video-geode_2.11.12.bb b/meta-oe/recipes-graphics/xorg-driver/xf86-video-geode_2.11.12.bb
index 595ebee13..e44cf49c6 100644
--- a/meta-oe/recipes-graphics/xorg-driver/xf86-video-geode_2.11.12.bb
+++ b/meta-oe/recipes-graphics/xorg-driver/xf86-video-geode_2.11.12.bb
@@ -1,8 +1,8 @@
1require xorg-driver-video.inc 1require recipes-graphics/xorg-driver/xf86-video-common.inc
2LIC_FILES_CHKSUM = "file://COPYING;md5=f8ad89d9d9a024f19d7dcc5acb044a42" 2LIC_FILES_CHKSUM = "file://COPYING;md5=f8ad89d9d9a024f19d7dcc5acb044a42"
3 3
4DESCRIPTION = "X.org server -- Geode GX2/LX display driver" 4DESCRIPTION = "X.org server -- Geode GX2/LX display driver"
5PR = "${INC_PR}.0" 5PR = "r16"
6 6
7SRC_URI[md5sum] = "a99c521db731c2f1df309057a8465e4c" 7SRC_URI[md5sum] = "a99c521db731c2f1df309057a8465e4c"
8SRC_URI[sha256sum] = "28d845d727d99bfa4d4b93c5486ec01b72eb222e0910a766089db1103b1c2d92" 8SRC_URI[sha256sum] = "28d845d727d99bfa4d4b93c5486ec01b72eb222e0910a766089db1103b1c2d92"
diff --git a/meta-oe/recipes-graphics/xorg-driver/xf86-video-glamo_git.bb b/meta-oe/recipes-graphics/xorg-driver/xf86-video-glamo_git.bb
index b1030d910..3608fb205 100644
--- a/meta-oe/recipes-graphics/xorg-driver/xf86-video-glamo_git.bb
+++ b/meta-oe/recipes-graphics/xorg-driver/xf86-video-glamo_git.bb
@@ -1,4 +1,4 @@
1require xorg-driver-video.inc 1require recipes-graphics/xorg-driver/xf86-video-common.inc
2DESCRIPTION = "X.Org X server -- Glamo display driver with KMS support" 2DESCRIPTION = "X.Org X server -- Glamo display driver with KMS support"
3DEPENDS += "libdrm" 3DEPENDS += "libdrm"
4 4
@@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=d8cbd99fff773f92e844948f74ef0df8"
7RDEPENDS_${PN} = "xserver-xorg-extension-dri xserver-xorg-extension-dri2 xserver-xorg-extension-glx" 7RDEPENDS_${PN} = "xserver-xorg-extension-dri xserver-xorg-extension-dri2 xserver-xorg-extension-glx"
8PE = "2" 8PE = "2"
9PV = "1.0.0+gitr${SRCPV}" 9PV = "1.0.0+gitr${SRCPV}"
10PR = "${INC_PR}.6" 10PR = "r16"
11 11
12SRC_URI = "git://git.openmoko.org/git/xf86-video-glamo.git;protocol=git;branch=master \ 12SRC_URI = "git://git.openmoko.org/git/xf86-video-glamo.git;protocol=git;branch=master \
13 file://0001-glamo-kms-driver-drop-unused-xf86_config.patch \ 13 file://0001-glamo-kms-driver-drop-unused-xf86_config.patch \
diff --git a/meta-oe/recipes-graphics/xorg-driver/xf86-video-omapfb_git.bb b/meta-oe/recipes-graphics/xorg-driver/xf86-video-omapfb_git.bb
index 2cc744f41..e30972c9f 100644
--- a/meta-oe/recipes-graphics/xorg-driver/xf86-video-omapfb_git.bb
+++ b/meta-oe/recipes-graphics/xorg-driver/xf86-video-omapfb_git.bb
@@ -1,11 +1,8 @@
1require recipes-graphics/xorg-driver/xf86-driver-common.inc 1require recipes-graphics/xorg-driver/xf86-driver-common.inc
2 2
3INC_PR ?= "r15"
4
5DESCRIPTION = "X.Org X server -- OMAP display driver" 3DESCRIPTION = "X.Org X server -- OMAP display driver"
6PE = "1"
7PV = "0.1.1+${PR}+gitr${SRCREV}" 4PV = "0.1.1+${PR}+gitr${SRCREV}"
8PR = "${INC_PR}.4" 5PR = "r16"
9 6
10LICENSE = "MIT-X" 7LICENSE = "MIT-X"
11LIC_FILES_CHKSUM = "file://src/omapfb-driver.c;beginline=1;endline=30;md5=a44c2a37e04d1c2c5f0313afb493f833" 8LIC_FILES_CHKSUM = "file://src/omapfb-driver.c;beginline=1;endline=30;md5=a44c2a37e04d1c2c5f0313afb493f833"
diff --git a/meta-oe/recipes-graphics/xorg-driver/xorg-driver-common.inc b/meta-oe/recipes-graphics/xorg-driver/xorg-driver-common.inc
deleted file mode 100644
index c0f4a15ad..000000000
--- a/meta-oe/recipes-graphics/xorg-driver/xorg-driver-common.inc
+++ /dev/null
@@ -1,40 +0,0 @@
1DESCRIPTION = "X driver"
2HOMEPAGE = "http://www.x.org"
3SECTION = "x11/drivers"
4LICENSE = "MIT-X"
5INC_PR = "r15"
6
7DEPENDS = "randrproto virtual/xserver-xf86 xproto"
8
9SRC_URI = "${XORG_MIRROR}/individual/driver/${BPN}-${PV}.tar.bz2"
10
11S = "${WORKDIR}/${BPN}-${PV}"
12
13FILES_${PN} += " ${libdir}/xorg/modules"
14FILES_${PN}-dbg += "${libdir}/xorg/modules/*/.debug"
15
16inherit autotools pkgconfig
17
18TARGET_CPPFLAGS += "-I${STAGING_DIR_HOST}/usr/include/xorg"
19
20# Another sucky behavor from Xorg configure scripts.
21# They use AC_CHECK_FILE to check for DRI headers. Yuck!
22# Of course this will blow up when cross compiling.
23
24do_configure_prepend() {
25 incdir=${layout_includedir}/xorg
26 for f in dri.h sarea.h dristruct.h exa.h damage.h xf86Module.h; do
27 path="$incdir/$f"
28 if [ -f "${STAGING_DIR_HOST}/$path" ]; then
29 p=`echo "$path" | sed 'y%*+%pp%;s%[^_[:alnum:]]%_%g'`
30 eval "export ac_cv_file_$p=yes"
31 fi
32 done
33}
34
35# FIXME: We don't want to include the libtool archives (*.la) from modules
36# directory, as they serve no useful purpose. Upstream should fix Makefile.am
37do_install_append() {
38 find ${D}${libdir}/xorg/modules -regex ".*\.la$" | xargs rm -f --
39}
40
diff --git a/meta-oe/recipes-graphics/xorg-driver/xorg-driver-input.inc b/meta-oe/recipes-graphics/xorg-driver/xorg-driver-input.inc
deleted file mode 100644
index e44dbd58f..000000000
--- a/meta-oe/recipes-graphics/xorg-driver/xorg-driver-input.inc
+++ /dev/null
@@ -1,4 +0,0 @@
1include xorg-driver-common.inc
2
3DEPENDS = "randrproto inputproto xserver-xorg xproto"
4
diff --git a/meta-oe/recipes-graphics/xorg-driver/xorg-driver-video.inc b/meta-oe/recipes-graphics/xorg-driver/xorg-driver-video.inc
deleted file mode 100644
index 36b5b7595..000000000
--- a/meta-oe/recipes-graphics/xorg-driver/xorg-driver-video.inc
+++ /dev/null
@@ -1,4 +0,0 @@
1include xorg-driver-common.inc
2
3DEPENDS = "randrproto renderproto videoproto xextproto fontsproto xserver-xorg xproto"
4