Skip to contentSkip to conversation

emenlow glx bugfix

PATCH New [email protected] 1 participant 2 messages Jul 14, 2011

lore
Share & tools
lore
#0 lore raw

cover emenlow glx bugfix

From: Tom Zanussi <[email protected]>

This is a fix for Yocto bug #1235.

The following changes since commit 92fc07a5f1b98779806cdcc2341487ff5ea5a238:
Dexuan Cui (1):

        emenlow: fix some .bbappend files' name: poky -> core, etc.

are available in the git repository at:

git://git.yoctoproject.org/meta-intel.git tzanussi/bug-1235
http://git.yoctoproject.org/cgit.cgi/meta-intel/log/?h=tzanussi/bug-1235

Tom Zanussi (1):
meta-emenlow: fix glx bug

 .../libdrm-poulsbo/libdrm-poulsbo_2.3.0.bb         |    6 +++++-
 .../recipes-graphics/xpsb-glx/xpsb-glx_0.18.bb     |    3 ++-
 2 files changed, 7 insertions(+), 2 deletions(-)
#1 lore raw

PATCH 1/1 meta-emenlow: fix glx bug

From: Tom Zanussi <[email protected]>

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]

---
 .../libdrm-poulsbo/libdrm-poulsbo_2.3.0.bb         |    6 +++++-
 .../recipes-graphics/xpsb-glx/xpsb-glx_0.18.bb     |    3 ++-
 2 files changed, 7 insertions(+), 2 deletions(-)
meta-emenlow/recipes-graphics/libdrm-poulsbo/libdrm-poulsbo_2.3.0.bb +5 -1
index d0e14a5..5153054 100644
@@ -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
+}
meta-emenlow/recipes-graphics/xpsb-glx/xpsb-glx_0.18.bb +2 -1
index f4b43ab..0d675c6 100644
@@ -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"
Signature · 1 line
1.7.0.4