[meta-ti] [PATCH 5/7] libgles-omap3: adjust packaging for all windowing systems to remove the magic esrev file

Denys Dmytriyenko denis at denix.org
Mon Jan 23 12:02:01 PST 2012


On Mon, Jan 23, 2012 at 03:18:27PM +0100, Koen Kooi wrote:
> Signed-off-by: Koen Kooi <koen at dominion.thruhere.net>
> ---
>  recipes-graphics/libgles/libgles-omap3.inc |   29 ++++++++++++++++++++++++++-
>  1 files changed, 27 insertions(+), 2 deletions(-)
> 
> diff --git a/recipes-graphics/libgles/libgles-omap3.inc b/recipes-graphics/libgles/libgles-omap3.inc
> index 289b7d5..722ac13 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 = "r21"
> +PR = "r22"
>  
>  COMPATIBLE_MACHINE = "(omap3|ti816x|ti33x)"
>  
> @@ -325,6 +325,7 @@ INSANE_SKIP_${PN}-flipwsegl = "ldflags"
>  INSANE_SKIP_${PN}-frontwsegl = "ldflags"
>  INSANE_SKIP_${PN}-linuxfbwsegl = "ldflags"
>  INSANE_SKIP_${PN}-x11wsegl = "ldflags dev-so"
> +INSANE_SKIP_${PN}-driwsegl = "ldflags dev-so"

While we can argue this entire patch can be squashed with #3, the above line 
definitely belongs to #3, when split this way...

-- 
Denys


>  INSANE_SKIP_${PN}-tests = "ldflags"
>  INSANE_SKIP_xserver-kdrive-powervrsgx = "ldflags"
>  
> @@ -339,8 +340,32 @@ INITSCRIPT_PARAMS = "start 30 5 2 . stop 40 0 1 6 ."
>  
>  # Append to update-rc.d postinst
>  pkg_postinst_${PN}_append() {
> -rm -f /etc/powervr-esrev
> +rm -f ${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
> +}
> +
> +pkg_postinst_${PN}-flipwsegl() {
> +rm -f ${sysconfdir}/powervr-esrev
> +}
> +
> +pkg_postinst_${PN}-frontwsegl() {
> +rm -f ${sysconfdir}/powervr-esrev
> +}
> +pkg_postinst_${PN}-linuxfbwsegl() {
> +rm -f ${sysconfdir}/powervr-esrev
> +}
> +
> +pkg_postinst_${PN}-x11wsegl() {
> +rm -f ${sysconfdir}/powervr-esrev
> +}
> +
> +pkg_postinst_${PN}-driwsegl() {
> +rm -f ${sysconfdir}/powervr-esrev
> +}
> +
> -- 
> 1.7.2.5
> 
> _______________________________________________
> meta-ti mailing list
> meta-ti at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-ti
> 



More information about the meta-ti mailing list