summaryrefslogtreecommitdiff
path: root/recipes/xorg-xserver/xserver-xorg_1.8.99.906.bb
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/xorg-xserver/xserver-xorg_1.8.99.906.bb')
-rw-r--r--recipes/xorg-xserver/xserver-xorg_1.8.99.906.bb38
1 files changed, 38 insertions, 0 deletions
diff --git a/recipes/xorg-xserver/xserver-xorg_1.8.99.906.bb b/recipes/xorg-xserver/xserver-xorg_1.8.99.906.bb
new file mode 100644
index 0000000000..fc7530d71c
--- /dev/null
+++ b/recipes/xorg-xserver/xserver-xorg_1.8.99.906.bb
@@ -0,0 +1,38 @@
+# Assign it here, since the hal->udev transition happens post 1.7 in angstrom
+DISTRO_XORG_CONFIG_MANAGER_angstrom = "udev"
+
+require xorg-xserver-common.inc
+
+DESCRIPTION = "the X.Org X server"
+DEPENDS += "pixman libpciaccess openssl dri2proto glproto xorg-minimal-fonts font-util-native"
+PE = "2"
+PR = "${INC_PR}.3"
+
+# Needs newer mesa-dri, where is D_P = "-1"
+DEFAULT_PREFERENCE = "-1"
+DEFAULT_PREFERENCE_shr = "1"
+
+SRC_URI += " \
+ file://dolt-fix-1.7.0.patch \
+ file://randr-support-1.7.0.patch \
+ file://hack-fbdev-ignore-return-mode.patch \
+ file://0001-xf86Modes-make-sure-that-DisplayModeRec-name-is-init.patch \
+ "
+SRC_URI[archive.md5sum] = "d4ab361cacc35e2ed4587019980b7e57"
+SRC_URI[archive.sha256sum] = "7bb5e3d1e36b65e367d11707e7e11285d9eb087d3281c59c8143dfe90cf9977e"
+
+SRC_URI_append_angstrom = " file://hack-assume-pixman-supports-overlapped-blt.patch"
+SRC_URI_append_shr = " file://hack-assume-pixman-supports-overlapped-blt.patch"
+
+do_install_prepend() {
+ mkdir -p ${D}/${libdir}/X11/fonts
+}
+
+# The NVidia driver requires Xinerama support in the X server. Ion uses it.
+PACKAGE_ARCH_ion = "${MACHINE_ARCH}"
+XINERAMA = "${@['--disable-xinerama','--enable-xinerama'][bb.data.getVar('MACHINE',d) in ['ion']]}"
+
+EXTRA_OECONF += " ${CONFIG_MANAGER_OPTION} ${XINERAMA} --disable-kdrive --disable-xephyr --disable-xsdl --disable-xfake --disable-xfbdev --disable-dmx"
+EXTRA_OECONF += " --enable-dri2 --disable-unit-tests "
+
+export LDFLAGS += " -ldl "