diff options
author | 2011-07-13 23:45:00 -0500 | |
---|---|---|
committer | 2011-07-15 15:59:18 -0700 | |
commit | 738d2bc6d1a0d7ff6589000893c1c8b4f983d76f (patch) | |
tree | b4c6e78226af9668682e574858ed77f1732289f0 | |
parent | 92fc07a5f1b98779806cdcc2341487ff5ea5a238 (diff) | |
download | meta-intel-738d2bc6d1a0d7ff6589000893c1c8b4f983d76f.tar.gz meta-intel-738d2bc6d1a0d7ff6589000893c1c8b4f983d76f.tar.bz2 meta-intel-738d2bc6d1a0d7ff6589000893c1c8b4f983d76f.zip |
meta-emenlow: fix glx bug1.1_M2.rc31.1_M2.final1.1_M2
AIGLX wasn't finding a couple libraries, causing errors such as Yocto
bug #1235 - 'Running glxinfo and glxgears commands failed.'. This
provides symlinks allowing it to find the needed libraries.
Fixes [YOCTO #1235]
Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
-rw-r--r-- | meta-emenlow/recipes-graphics/libdrm-poulsbo/libdrm-poulsbo_2.3.0.bb | 6 | ||||
-rw-r--r-- | meta-emenlow/recipes-graphics/xpsb-glx/xpsb-glx_0.18.bb | 3 |
2 files changed, 7 insertions, 2 deletions
diff --git a/meta-emenlow/recipes-graphics/libdrm-poulsbo/libdrm-poulsbo_2.3.0.bb b/meta-emenlow/recipes-graphics/libdrm-poulsbo/libdrm-poulsbo_2.3.0.bb index d0e14a56..5153054c 100644 --- a/meta-emenlow/recipes-graphics/libdrm-poulsbo/libdrm-poulsbo_2.3.0.bb +++ b/meta-emenlow/recipes-graphics/libdrm-poulsbo/libdrm-poulsbo_2.3.0.bb @@ -1,7 +1,7 @@ DESCRIPTION = "Userspace interface to kernel DRM services" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://MIT_License.txt;md5=732825ecdcf420261531d935fcd914a7" -PR = "r4" +PR = "r5" PROVIDES = "libdrm-poulsbo" @@ -17,3 +17,7 @@ do_configure_prepend() { sed -e 's/-ldrm/-ldrm_poulsbo/' -e 's/libdrm/libdrm_poulsbo/' \ < ${S}/libdrm.pc.in > ${S}/libdrm_poulsbo.pc.in } + +do_install_append() { + ln -s libdrm_poulsbo.so.2.3.0 ${D}${libdir}/libdrm.so.2 +} diff --git a/meta-emenlow/recipes-graphics/xpsb-glx/xpsb-glx_0.18.bb b/meta-emenlow/recipes-graphics/xpsb-glx/xpsb-glx_0.18.bb index f4b43ab0..0d675c6d 100644 --- a/meta-emenlow/recipes-graphics/xpsb-glx/xpsb-glx_0.18.bb +++ b/meta-emenlow/recipes-graphics/xpsb-glx/xpsb-glx_0.18.bb @@ -4,7 +4,7 @@ DESCRIPTION = "X11 drivers for Poulsbo (psb) 3D acceleration" # not Intel proprietary, but it has no obvious license attached to it. LICENSE = "Intel-binary-only" LIC_FILES_CHKSUM = "file://${WORKDIR}/${PN}-${PV}/COPYING;md5=02c597a2f082b4581596065bb5a521a8" -PR = "r6" +PR = "r7" inherit autotools @@ -29,6 +29,7 @@ do_install() { ${D}/${libdir}/xorg/modules/dri install -m 0644 ${WORKDIR}/${PN}-${PV}/drivers/* \ ${D}/${libdir}/xorg/modules/drivers + ln -s ${libdir}/xorg/modules/dri ${D}${libdir}/dri } S = "${WORKDIR}/${PN}-${PV}/mesa" |