[meta-ti] [PATCH 1/2] libgles-omap3: enable X11 windowing system when installing the X11 WS subpackage

Koen Kooi koen at dominion.thruhere.net
Thu Jan 26 03:00:32 PST 2012


The X11 WS is not installed by default, but currently won't work when being manually installed. This change has no effect existing X11-less installs/images/tasks.

Signed-off-by: Koen Kooi <koen at dominion.thruhere.net>
---
 recipes-graphics/libgles/libgles-omap3.inc |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/recipes-graphics/libgles/libgles-omap3.inc b/recipes-graphics/libgles/libgles-omap3.inc
index 016b991..3f792b1 100644
--- a/recipes-graphics/libgles/libgles-omap3.inc
+++ b/recipes-graphics/libgles/libgles-omap3.inc
@@ -3,7 +3,7 @@ LICENSE = "proprietary-binary"
 # 'TSPA.txt' might not be the best file to md5sum
 LIC_FILES_CHKSUM = "file://TSPA.txt;md5=c0d5d9c1e38b41677144c4e24d6ddee1"
 
-PR = "r22"
+PR = "r23"
 
 COMPATIBLE_MACHINE = "(omap3|ti816x|ti33x)"
 
@@ -363,6 +363,9 @@ rm -f ${sysconfdir}/powervr-esrev
 
 pkg_postinst_${PN}-x11wsegl() {
 rm -f ${sysconfdir}/powervr-esrev
+
+echo "[default]" > $D${sysconfdir}/powervr.ini
+echo "WindowSystem=libpvrPVR2D_X11WSEGL.so.1" >> $D${sysconfdir}/powervr.ini
 }
 
 pkg_postinst_${PN}-driwsegl() {
-- 
1.7.2.5




More information about the meta-ti mailing list