libgles-omap3: enable X11 windowing system when installing the X11 WS subpackage
PATCH 1/2 libgles-omap3: enable X11 windowing system when installing the X11 WS subpackage
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 <[email protected]>
--- recipes-graphics/libgles/libgles-omap3.inc | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-)
recipes-graphics/libgles/libgles-omap3.inc +4 -1
@@ -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() {
Signature · 1 line
1.7.2.5
PATCH 2/2 libgles-omap3: make postinsts safe for offline-root usage (e.g. do_rootfs)
Signed-off-by Koen Kooi <[email protected]>
--- recipes-graphics/libgles/libgles-omap3.inc | 16 ++++++++-------- 1 files changed, 8 insertions(+), 8 deletions(-)
recipes-graphics/libgles/libgles-omap3.inc +8 -8
@@ -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 = "r23" +PR = "r24" COMPATIBLE_MACHINE = "(omap3|ti816x|ti33x)"
@@ -340,35 +340,35 @@ INITSCRIPT_PARAMS = "start 30 5 2 . stop 40 0 1 6 ." # Append to update-rc.d postinst pkg_postinst_${PN}_append() { -rm -f ${sysconfdir}/powervr-esrev +rm -f $D${sysconfdir}/powervr-esrev ln -sf /usr/lib/libXdmcp.so.6.0.0 /usr/lib/libXdmcp.so.0 ln -sf /usr/lib/libXau.so.6.0.0 /usr/lib/libXau.so.0 } pkg_postinst_${PN}-blitwsegl() { -rm -f ${sysconfdir}/powervr-esrev +rm -f $D${sysconfdir}/powervr-esrev } pkg_postinst_${PN}-flipwsegl() { -rm -f ${sysconfdir}/powervr-esrev +rm -f $D${sysconfdir}/powervr-esrev } pkg_postinst_${PN}-frontwsegl() { -rm -f ${sysconfdir}/powervr-esrev +rm -f $D${sysconfdir}/powervr-esrev } pkg_postinst_${PN}-linuxfbwsegl() { -rm -f ${sysconfdir}/powervr-esrev +rm -f $D${sysconfdir}/powervr-esrev } pkg_postinst_${PN}-x11wsegl() { -rm -f ${sysconfdir}/powervr-esrev +rm -f $D${sysconfdir}/powervr-esrev echo "[default]" > $D${sysconfdir}/powervr.ini echo "WindowSystem=libpvrPVR2D_X11WSEGL.so.1" >> $D${sysconfdir}/powervr.ini } pkg_postinst_${PN}-driwsegl() { -rm -f ${sysconfdir}/powervr-esrev +rm -f $D${sysconfdir}/powervr-esrev }
Signature · 1 line
1.7.2.5