]> code.ossystems Code Review - meta-freescale.git/commitdiff
mesa-demos: Rebase patches due to OE-Core changes
authorTom Hochstein <tom.hochstein@nxp.com>
Mon, 9 May 2016 19:13:42 +0000 (14:13 -0500)
committerOtavio Salvador <otavio@ossystems.com.br>
Mon, 16 May 2016 20:06:51 +0000 (17:06 -0300)
Update patch Add-OpenVG-demos-to-support-wayland.patch due to
changes applied in OE-Core:b851cb0a.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
recipes-graphics/mesa/mesa-demos/Add-OpenVG-demos-to-support-wayland.patch

index 726d67ba313ff07b86d72a36ba84b60f4f391df1..d87f7d26a97102b30efb8728d3285c37e23c6768 100644 (file)
@@ -11,11 +11,11 @@ Signed-off-by: Prabhu Sundararaj <prabhu.sundararaj@freescale.com>
  src/egl/openvg/Makefile.am | 33 +++++++++++++++++++++++++++++----
  2 files changed, 32 insertions(+), 7 deletions(-)
 
-diff --git a/src/egl/Makefile.am b/src/egl/Makefile.am
-index 4fe1ca8..65f4570 100644
---- a/src/egl/Makefile.am
-+++ b/src/egl/Makefile.am
-@@ -26,10 +26,10 @@ SUBDIRS = \
+Index: mesa-demos-8.2.0/src/egl/Makefile.am
+===================================================================
+--- mesa-demos-8.2.0.orig/src/egl/Makefile.am  2016-05-09 11:45:51.479100180 -0500
++++ mesa-demos-8.2.0/src/egl/Makefile.am       2016-05-09 11:45:51.475100160 -0500
+@@ -26,10 +26,10 @@
        eglut \
        opengles1 \
        opengles2 \
@@ -29,51 +29,39 @@ index 4fe1ca8..65f4570 100644
 -      openvg
 +      opengl
  endif
-diff --git a/src/egl/openvg/Makefile.am b/src/egl/openvg/Makefile.am
-index b545225..a2e0d94 100644
---- a/src/egl/openvg/Makefile.am
-+++ b/src/egl/openvg/Makefile.am
-@@ -46,31 +46,56 @@ EGL_X11_DEMOS += \
-       text
+Index: mesa-demos-8.2.0/src/egl/openvg/Makefile.am
+===================================================================
+--- mesa-demos-8.2.0.orig/src/egl/openvg/Makefile.am   2016-05-09 11:45:51.479100180 -0500
++++ mesa-demos-8.2.0/src/egl/openvg/Makefile.am        2016-05-09 12:39:30.000000000 -0500
+@@ -47,13 +47,26 @@
  endif
  endif
 +if HAVE_WAYLAND
 +EGL_WL_DEMOS = \
 +    lion_wayland \
 +    sp_wayland
++
 +if HAVE_FREETYPE2
 +EGL_WL_DEMOS += \
-+      vgtext_wayland 
++      vgtext_wayland
 +endif
 +endif
++
  if HAVE_EGL
  if HAVE_VG
  bin_PROGRAMS = \
-       lion_screen \
-       sp_screen \
 -      $(EGL_X11_DEMOS)
 +      $(EGL_X11_DEMOS) \
 +      $(EGL_WL_DEMOS)
  endif
  endif
  
- lion_screen_SOURCES = lion.c lion-render.c lion-render.h
-+lion_screen_LDADD = ../eglut/libeglut_screen.la
-+
- sp_screen_SOURCES = sp.c
-+sp_screen_LDADD = ../eglut/libeglut_screen.la
 +if HAVE_X11
  lion_x11_SOURCES = lion.c lion-render.c lion-render.h
  sp_x11_SOURCES = sp.c
  
--lion_screen_LDADD = ../eglut/libeglut_screen.la
--sp_screen_LDADD = ../eglut/libeglut_screen.la
--
- lion_x11_LDADD = ../eglut/libeglut_x11.la
- sp_x11_LDADD = ../eglut/libeglut_x11.la
+@@ -63,6 +76,20 @@
  text_SOURCES = text.c
  text_CFLAGS = $(AM_CFLAGS) @FREETYPE2_CFLAGS@
  text_LDADD = @FREETYPE2_LIBS@ ../eglut/libeglut_x11.la
@@ -94,6 +82,3 @@ index b545225..a2e0d94 100644
  
  SUBDIRS = \
        trivial
--- 
-2.3.5
-