Fix EFL build for Tizen 86/22786/1
authorValentin Cupif <valentin.cupif@open.eurogiciel.org>
Wed, 11 Jun 2014 14:46:53 +0000 (16:46 +0200)
committerValentin Cupif <valentin.cupif@open.eurogiciel.org>
Wed, 11 Jun 2014 14:46:53 +0000 (16:46 +0200)
Change-Id: Ib2d0f98fbeb5cfd50183b6367ecee70acc47ef63
Signed-off-by: Valentin Cupif <valentin.cupif@open.eurogiciel.org>
recipes-efl/efl/efl/0001-Add-spec-file-and-enable-Tizen-build.patch [new file with mode: 0644]
recipes-efl/efl/efl/0002-Enable-gles-building-with-efl-and-disable-SHAD_TEXSA.patch [new file with mode: 0644]
recipes-efl/efl/efl/0003-Fix-ivi-building-issue.patch [new file with mode: 0644]
recipes-efl/efl/efl/0004-Enable-installing-examples-binaries.patch [new file with mode: 0644]
recipes-efl/efl/efl/0005-Enable-building-multiple-binary-packages.patch [new file with mode: 0644]
recipes-efl/efl/efl_1.9.3.bbappend [new file with mode: 0644]

diff --git a/recipes-efl/efl/efl/0001-Add-spec-file-and-enable-Tizen-build.patch b/recipes-efl/efl/efl/0001-Add-spec-file-and-enable-Tizen-build.patch
new file mode 100644 (file)
index 0000000..145ad6f
--- /dev/null
@@ -0,0 +1,61 @@
+diff --git a/configure.ac b/configure.ac
+index eb16920..98ef1d7 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -334,7 +334,7 @@ AM_CONDITIONAL([EFL_ENABLE_COVERAGE], [test "${want_coverage}" = "yes"])
+ # check unit testing library
+ if test "${want_tests}" = "yes"; then
+-   PKG_CHECK_MODULES([CHECK], [check >= 0.9.5])
++   PKG_CHECK_MODULES([CHECK], [check >= 0.9.4])
+ fi
+ AM_CONDITIONAL([EFL_ENABLE_TESTS], [test "${want_tests}" = "yes"])
+@@ -2909,7 +2909,7 @@ if test "x${want_x11_xlib}" = "xyes" ; then
+    ECORE_CHECK_X_EXTENSION([Xdpms], [dpms.h], [Xext], [DPMSQueryExtension])
+    ECORE_CHECK_X_EXTENSION([Xfixes], [Xfixes.h], [Xfixes], [XFixesExpandRegion])
+    ECORE_CHECK_X_EXTENSION([Xinerama], [Xinerama.h], [Xinerama], [XineramaQueryScreens])
+-   ECORE_CHECK_X_EXTENSION([Xprint], [Print.h], [Xp], [XpQueryScreens])
++   #ECORE_CHECK_X_EXTENSION([Xprint], [Print.h], [Xp], [XpQueryScreens])
+    ECORE_CHECK_X_EXTENSION([Xrandr], [Xrandr.h], [Xrandr], [XRRGetScreenResourcesCurrent])
+    ECORE_CHECK_X_EXTENSION([Xrender], [Xrender.h], [Xrender], [XRenderFindVisualFormat])
+    ECORE_CHECK_X_EXTENSION([Xtest], [XTest.h], [Xtst], [XTestFakeKeyEvent])
+@@ -2949,7 +2949,7 @@ fi
+ if test "${want_x11_xcb}" = "yes"; then
+ dnl note: added pixman-1 as ecore_xcb_region uses that
+    EFL_DEPEND_PKG([ECORE_X], [ECORE_X_XCB],
+-      [x11-xcb xcb xcb-shm xcb-event xcb-icccm >= 0.3.8 xcb-util >= 0.3.8 xcb-image xcb-keysyms >= 0.3.8 xcb-composite xcb-present xcb-damage xcb-dpms xcb-randr xcb-render xcb-screensaver xcb-shape xcb-sync xcb-xfixes xcb-xinerama xcb-xprint xcb-xtest xcb-renderutil pixman-1])
++      [x11-xcb xcb xcb-shm xcb-event xcb-icccm >= 0.3.8 xcb-util >= 0.3.8 xcb-image xcb-keysyms >= 0.3.8 xcb-composite xcb-present xcb-damage xcb-dpms xcb-randr xcb-render xcb-screensaver xcb-shape xcb-sync xcb-xfixes xcb-xinerama xcb-xtest xcb-renderutil pixman-1]) #xcb-xprint
+ dnl TODO: remove these ifdefs from code!
+    AC_DEFINE([ECORE_XCB_COMPOSITE], [1], [Build support for XCB composite])
+@@ -2962,7 +2962,7 @@ dnl TODO: remove these ifdefs from code!
+    AC_DEFINE([ECORE_XCB_SYNC], [1], [Build support for XCB sync])
+    AC_DEFINE([ECORE_XCB_XFIXES], [1], [Build support for XCB xfixes])
+    AC_DEFINE([ECORE_XCB_XINERAMA], [1], [Build support for XCB xinerama])
+-   AC_DEFINE([ECORE_XCB_XPRINT], [1], [Build support for XCB xprint])
++   #AC_DEFINE([ECORE_XCB_XPRINT], [1], [Build support for XCB xprint])
+    AC_DEFINE([ECORE_XCB_XTEST], [1], [Build support for XCB xtest])
+    AC_DEFINE([ECORE_XCB_CURSOR], [1], [Build support for XCB cursor])
+@@ -3239,7 +3239,7 @@ fi
+ ## modules
+ if test "${want_tizen}"  = "yes"; then
+-  PKG_CHECK_MODULES([TIZEN_SENSOR], [capi-system-sensor >= 0.1.17])
++  PKG_CHECK_MODULES([TIZEN_SENSOR], [capi-system-sensor])
+ fi
+ EFL_ADD_FEATURE([EEZE], [tizen])
+diff --git a/efl.manifest b/efl.manifest
+new file mode 100644
+index 0000000..81ace0c
+--- /dev/null
++++ b/efl.manifest
+@@ -0,0 +1,6 @@
++<manifest>
++      <request>
++              <domain name="_"/>
++      </request>
++</manifest>
++
diff --git a/recipes-efl/efl/efl/0002-Enable-gles-building-with-efl-and-disable-SHAD_TEXSA.patch b/recipes-efl/efl/efl/0002-Enable-gles-building-with-efl-and-disable-SHAD_TEXSA.patch
new file mode 100644 (file)
index 0000000..6c48ba8
--- /dev/null
@@ -0,0 +1,22 @@
+From: Quanxian Wang <quanxian.wang@intel.com>
+Date: Tue, 15 Oct 2013 11:34:55 +0800
+Subject: Enable gles building with efl,
+ and disable SHAD_TEXSAM for gl attraibute
+
+---
+ src/modules/evas/engines/gl_common/evas_gl_shader.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/modules/evas/engines/gl_common/evas_gl_shader.c b/src/modules/evas/engines/gl_common/evas_gl_shader.c
+index 5d6bceb..1d0e835 100644
+--- a/src/modules/evas/engines/gl_common/evas_gl_shader.c
++++ b/src/modules/evas/engines/gl_common/evas_gl_shader.c
+@@ -874,7 +874,7 @@ _evas_gl_common_shader_program_binary_init(Evas_GL_Program *p,
+    glBindAttribLocation(p->prog, SHAD_TEXUV2, "tex_coord2");
+    glBindAttribLocation(p->prog, SHAD_TEXUV3, "tex_coord3");
+    glBindAttribLocation(p->prog, SHAD_TEXM,   "tex_coordm");
+-   glBindAttribLocation(p->prog, SHAD_TEXSAM, "tex_sample");
++//   glBindAttribLocation(p->prog, SHAD_TEXSAM, "tex_sample");
+    glGetProgramiv(p->prog, GL_LINK_STATUS, &ok);
+    GLERR(__FUNCTION__, __FILE__, __LINE__, "");
diff --git a/recipes-efl/efl/efl/0003-Fix-ivi-building-issue.patch b/recipes-efl/efl/efl/0003-Fix-ivi-building-issue.patch
new file mode 100644 (file)
index 0000000..46a865f
--- /dev/null
@@ -0,0 +1,25 @@
+From: Quanxian Wang <quanxian.wang@intel.com>
+Date: Fri, 25 Oct 2013 16:23:04 +0800
+Subject: Fix ivi building issue
+
+Change-Id: Ide344ca8061311e403a0878a78743e666153106b
+Signed-off-by: Quanxian Wang <quanxian.wang@intel.com>
+---
+ configure.ac | 4 ++++
+ 1 file changed, 4 insertions(+)
+
+diff --git a/configure.ac b/configure.ac
+index 98ef1d7..99b4288 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -612,6 +612,10 @@ EFL_SELECT_WINDOWS_VERSION
+ ### Checks for libraries
++if test "${want_evas_engine_wayland_egl}" = "yes"; then
++   CFLAGS="$CFLAGS -I/usr/include/freetype2 -Ifribidi"
++fi
++
+ EVIL_DLFCN_LIBS=""
+ if test "${have_wince}" = "xyes"; then
+    EFL_ADD_LIBS([EVIL], [-lws2])
diff --git a/recipes-efl/efl/efl/0004-Enable-installing-examples-binaries.patch b/recipes-efl/efl/efl/0004-Enable-installing-examples-binaries.patch
new file mode 100644 (file)
index 0000000..05ed69b
--- /dev/null
@@ -0,0 +1,356 @@
+From: "Eduardo Lima (Etrunko)" <eduardo.lima@intel.com>
+Date: Tue, 25 Feb 2014 18:13:21 -0300
+Subject: Enable installing examples binaries
+
+Change-Id: If903ba43c2c6591bd68c841b326d0e5a61dcdc10
+Signed-off-by: Eduardo Lima (Etrunko) <eduardo.lima@intel.com>
+---
+ src/Makefile.am                        | 14 ++++++++++++--
+ src/examples/ecore/Makefile.am         | 17 +++++++++--------
+ src/examples/ecore_avahi/Makefile.am   |  5 +++++
+ src/examples/edje/Makefile.am          | 15 +++++----------
+ src/examples/eet/Makefile.am           |  7 ++-----
+ src/examples/eina/Makefile.am          |  7 ++-----
+ src/examples/eio/Makefile.am           |  7 ++-----
+ src/examples/eldbus/Makefile.am        |  7 ++-----
+ src/examples/emotion/Makefile.am       |  7 ++-----
+ src/examples/eo/Makefile.am            |  7 ++-----
+ src/examples/ephysics/Makefile.am      |  7 ++-----
+ src/examples/ethumb_client/Makefile.am |  7 ++-----
+ src/examples/evas/Makefile.am          |  9 +++------
+ 13 files changed, 50 insertions(+), 66 deletions(-)
+
+diff --git a/src/Makefile.am b/src/Makefile.am
+index e797d57..1abd6f0 100644
+--- a/src/Makefile.am
++++ b/src/Makefile.am
+@@ -78,10 +78,14 @@ examples/ecore \
+ examples/ecore_avahi \
+ examples/eio \
+ examples/eldbus \
+-examples/ephysics \
+ examples/edje \
+ examples/emotion \
+ examples/ethumb_client
++
++if HAVE_EPHYSICS
++EXAMPLES_SUBDIRS += examples/ephysics
++endif
++
+ if ALWAYS_BUILD_EXAMPLES
+ SUBDIRS += . $(EXAMPLES_SUBDIRS)
+ endif
+@@ -90,7 +94,7 @@ DIST_SUBDIRS += $(EXAMPLES_SUBDIRS)
+ examples: all-am
+       @for d in $(EXAMPLES_SUBDIRS); do \
+          echo "Making examples in $$d"; \
+-         $(MAKE) $(AM_MAKEFLAGS) -C $$d examples || exit 1; \
++         $(MAKE) $(AM_MAKEFLAGS) -C $$d || exit 1; \
+       done
+ install-examples:
+@@ -99,6 +103,12 @@ install-examples:
+          $(MAKE) $(AM_MAKEFLAGS) -C $$d install-examples || exit 1; \
+       done
++install-built-examples:
++      @for d in $(EXAMPLES_SUBDIRS); do \
++         echo "Making install-built-examples in $$d"; \
++         $(MAKE) $(AM_MAKEFLAGS) -C $$d install || exit 1; \
++      done
++
+ clean-local:
+       find . -type f -name '*.gcno' -delete
+       find . -type f -name '*.gcda' -delete
+diff --git a/src/examples/ecore/Makefile.am b/src/examples/ecore/Makefile.am
+index 914eb43..946609d 100644
+--- a/src/examples/ecore/Makefile.am
++++ b/src/examples/ecore/Makefile.am
+@@ -231,9 +231,6 @@ ecore_getopt_example_LDADD = $(ECORE_COMMON_LDADD)
+ SRCS = \
+ ecore_animator_example.c \
+-ecore_audio_custom.c \
+-ecore_audio_playback.c \
+-ecore_audio_to_ogg.c \
+ ecore_client_bench.c \
+ ecore_con_client_example.c \
+ ecore_con_client_simple_example.c \
+@@ -272,11 +269,19 @@ ecore_time_functions_example.c \
+ ecore_timer_example.c \
+ ecore_getopt_example.c
++if HAVE_ECORE_AUDIO
++#SRCS += \
++#ecore_audio_custom.c \
++#ecore_audio_playback.c \
++#ecore_audio_to_ogg.c
++endif
++
+ DATA_FILES = red.png Makefile.examples
+ EXTRA_DIST = $(DATA_FILES)
+-examples: $(EXTRA_PROGRAMS)
++examplesdir = $(libdir)/ecore/examples
++examples_PROGRAMS = $(EXTRA_PROGRAMS)
+ clean-local:
+       rm -f $(EXTRA_PROGRAMS)
+@@ -289,7 +294,3 @@ uninstall-local:
+       for f in $(SRCS) $(DATA_FILES); do \
+         rm -f $(datadir)/ecore/examples/$$f ; \
+       done
+-
+-if ALWAYS_BUILD_EXAMPLES
+-noinst_PROGRAMS = $(EXTRA_PROGRAMS)
+-endif
+diff --git a/src/examples/ecore_avahi/Makefile.am b/src/examples/ecore_avahi/Makefile.am
+index d447d65..61aa18b 100644
+--- a/src/examples/ecore_avahi/Makefile.am
++++ b/src/examples/ecore_avahi/Makefile.am
+@@ -24,6 +24,11 @@ $(top_builddir)/src/lib/eina/libeina.la \
+ examples: $(EXTRA_PROGRAMS)
++EXTRA_DIST = ecore_avahi_example.c
++
++examplesdir = $(libdir)/ecore_avahi/examples
++examples_PROGRAMS = $(EXTRA_PROGRAMS)
++
+ clean-local:
+       rm -f $(EXTRA_PROGRAMS)
+diff --git a/src/examples/edje/Makefile.am b/src/examples/edje/Makefile.am
+index 49d7df8..3e2d677 100644
+--- a/src/examples/edje/Makefile.am
++++ b/src/examples/edje/Makefile.am
+@@ -192,23 +192,18 @@ if HAVE_EPHYSICS
+ LDADD += $(top_builddir)/src/lib/ephysics/libephysics.la
+ endif
+-examples: $(EXTRA_PROGRAMS) $(EDJS)
++examplesdir = $(libdir)/edje/examples
++examples_PROGRAMS = $(EXTRA_PROGRAMS)
++examples_DATA = $(EDJS)
+ clean-local:
+       rm -f $(EXTRA_PROGRAMS) $(EDJS) $(CODEGEN_GENERATED)
+-install-examples: $(EDJS)
++install-examples:
+       mkdir -p $(datadir)/edje/examples
+-      $(install_sh_DATA) -c $(SRCS) $(EDJS) $(DIST_EDCS) $(DATA_FILES) $(datadir)/edje/examples
++      $(install_sh_DATA) -c $(SRCS) $(DIST_EDCS) $(DATA_FILES) $(datadir)/edje/examples
+ uninstall-local:
+       for f in $(SRCS) $(DIST_EDCS) $(DATA_FILES); do \
+         rm -f $(datadir)/edje/examples/$$f ; \
+       done
+-
+-if ALWAYS_BUILD_EXAMPLES
+-if BUILD_LOADER_PNG
+-noinst_PROGRAMS = $(EXTRA_PROGRAMS)
+-nodist_pkgdata_DATA = $(EDJS)
+-endif
+-endif
+diff --git a/src/examples/eet/Makefile.am b/src/examples/eet/Makefile.am
+index 800769a..ffe1f4a 100644
+--- a/src/examples/eet/Makefile.am
++++ b/src/examples/eet/Makefile.am
+@@ -44,7 +44,8 @@ DATA_FILES = Makefile.examples
+ EXTRA_DIST = $(DATA_FILES)
+-examples: $(EXTRA_PROGRAMS)
++examplesdir = $(libdir)/eet/examples
++examples_PROGRAMS = $(EXTRA_PROGRAMS)
+ clean-local:
+       rm -f $(EXTRA_PROGRAMS)
+@@ -57,7 +58,3 @@ uninstall-local:
+       for f in $(SRCS) $(DATA_FILES); do \
+         rm -f $(datadir)/eet/examples/$$f ; \
+       done
+-
+-if ALWAYS_BUILD_EXAMPLES
+-noinst_PROGRAMS = $(EXTRA_PROGRAMS)
+-endif
+diff --git a/src/examples/eina/Makefile.am b/src/examples/eina/Makefile.am
+index 6c1abde..09036f1 100644
+--- a/src/examples/eina/Makefile.am
++++ b/src/examples/eina/Makefile.am
+@@ -140,7 +140,8 @@ DATA_FILES = addr_book.txt chat.xml Makefile.examples
+ EXTRA_DIST = $(DATA_FILES)
+-examples: $(EXTRA_PROGRAMS)
++examplesdir = $(libdir)/eina/examples
++examples_PROGRAMS = $(EXTRA_PROGRAMS)
+ clean-local:
+       rm -f $(EXTRA_PROGRAMS)
+@@ -153,7 +154,3 @@ uninstall-local:
+       for f in $(SRCS) $(DATA_FILES); do \
+         rm -f $(datadir)/eina/examples/$$f ; \
+       done
+-
+-if ALWAYS_BUILD_EXAMPLES
+-noinst_PROGRAMS = $(EXTRA_PROGRAMS)
+-endif
+diff --git a/src/examples/eio/Makefile.am b/src/examples/eio/Makefile.am
+index 6b04de9..9fc5871 100644
+--- a/src/examples/eio/Makefile.am
++++ b/src/examples/eio/Makefile.am
+@@ -43,7 +43,8 @@ DATA_FILES = Makefile.examples
+ EXTRA_DIST = $(DATA_FILES)
+-examples: $(EXTRA_PROGRAMS)
++examplesdir = $(libdir)/eio/examples
++examples_PROGRAMS = $(EXTRA_PROGRAMS)
+ clean-local:
+       rm -f $(EXTRA_PROGRAMS)
+@@ -56,7 +57,3 @@ uninstall-local:
+       for f in $(SRCS) $(DATA_FILES); do \
+         rm -f $(datadir)/eio/examples/$$f ; \
+       done
+-
+-if ALWAYS_BUILD_EXAMPLES
+-noinst_PROGRAMS = $(EXTRA_PROGRAMS)
+-endif
+diff --git a/src/examples/eldbus/Makefile.am b/src/examples/eldbus/Makefile.am
+index e0c79b3..a4b90bc 100644
+--- a/src/examples/eldbus/Makefile.am
++++ b/src/examples/eldbus/Makefile.am
+@@ -77,7 +77,8 @@ DATA_FILES = Makefile.examples
+ EXTRA_DIST = $(DATA_FILES)
+-examples: $(EXTRA_PROGRAMS)
++examplesdir = $(libdir)/eldbus/examples
++examples_PROGRAMS = $(EXTRA_PROGRAMS)
+ clean-local:
+       rm -f $(EXTRA_PROGRAMS)
+@@ -90,7 +91,3 @@ uninstall-local:
+       for f in $(SRCS) $(DATA_FILES); do \
+         rm -f $(datadir)/eldbus/examples/$$f ; \
+       done
+-
+-if ALWAYS_BUILD_EXAMPLES
+-noinst_PROGRAMS = $(EXTRA_PROGRAMS)
+-endif
+diff --git a/src/examples/emotion/Makefile.am b/src/examples/emotion/Makefile.am
+index 4c66045..dd58e4a 100644
+--- a/src/examples/emotion/Makefile.am
++++ b/src/examples/emotion/Makefile.am
+@@ -43,7 +43,8 @@ DATA_FILES = Makefile.examples
+ EXTRA_DIST = $(DATA_FILES)
+-examples: $(EXTRA_PROGRAMS)
++examples_PROGRAMS = $(EXTRA_PROGRAMS)
++examplesdir = $(libdir)/emotion/examples
+ clean-local:
+       rm -f $(EXTRA_PROGRAMS)
+@@ -56,7 +57,3 @@ uninstall-local:
+       for f in $(SRCS) $(DATA_FILES); do \
+         rm -f $(datadir)/emotion/examples/$$f ; \
+       done
+-
+-if ALWAYS_BUILD_EXAMPLES
+-noinst_PROGRAMS = $(EXTRA_PROGRAMS)
+-endif
+diff --git a/src/examples/eo/Makefile.am b/src/examples/eo/Makefile.am
+index 8c47bb4..f02508a 100644
+--- a/src/examples/eo/Makefile.am
++++ b/src/examples/eo/Makefile.am
+@@ -68,7 +68,8 @@ DATA_FILES = Makefile.examples
+ EXTRA_DIST = $(DATA_FILES)
+-examples: $(EXTRA_PROGRAMS)
++examplesdir = $(libdir)/eo/examples
++examples_PROGRAMS = $(EXTRA_PROGRAMS)
+ clean-local:
+       rm -f $(EXTRA_PROGRAMS)
+@@ -98,7 +99,3 @@ uninstall-local:
+       for f in $(eo_evas_SOURCES) ; do \
+         rm -f $(datadir)/eo/examples/evas/$$f ; \
+       done
+-
+-if ALWAYS_BUILD_EXAMPLES
+-noinst_PROGRAMS = $(EXTRA_PROGRAMS)
+-endif
+diff --git a/src/examples/ephysics/Makefile.am b/src/examples/ephysics/Makefile.am
+index fc2c18f..ff982b7 100644
+--- a/src/examples/ephysics/Makefile.am
++++ b/src/examples/ephysics/Makefile.am
+@@ -75,7 +75,8 @@ EXTRA_DIST = $(SRCS)
+ # test_slider.c \
+ # test_velocity.c
+-examples: $(EXTRA_PROGRAMS)
++examplesdir = $(libdir)/ephysics/examples
++examples_PROGRAMS = $(EXTRA_PROGRAMS)
+ clean-local:
+       rm -f $(EXTRA_PROGRAMS)
+@@ -88,7 +89,3 @@ uninstall-local:
+       for f in $(SRCS) ; do \
+         rm -f $(datadir)/ephysics/examples/$$f ; \
+       done
+-
+-if ALWAYS_BUILD_EXAMPLES
+-noinst_PROGRAMS = $(EXTRA_PROGRAMS)
+-endif
+diff --git a/src/examples/ethumb_client/Makefile.am b/src/examples/ethumb_client/Makefile.am
+index f0bf7b4..7930263 100644
+--- a/src/examples/ethumb_client/Makefile.am
++++ b/src/examples/ethumb_client/Makefile.am
+@@ -44,7 +44,8 @@ DATA_FILES = Makefile.examples
+ EXTRA_DIST = $(DATA_FILES)
+-examples: $(EXTRA_PROGRAMS)
++examplesdir = $(libdir)/ethumb_client/examples
++examples_PROGRAMS = $(EXTRA_PROGRAMS)
+ clean-local:
+       rm -f $(EXTRA_PROGRAMS)
+@@ -57,7 +58,3 @@ uninstall-local:
+       for f in $(SRCS) $(DATA_FILES); do \
+         rm -f $(datadir)/ethumb_client/examples/$$f ; \
+       done
+-
+-if ALWAYS_BUILD_EXAMPLES
+-noinst_PROGRAMS = $(EXTRA_PROGRAMS)
+-endif
+diff --git a/src/examples/evas/Makefile.am b/src/examples/evas/Makefile.am
+index 2b1a7c1..48a3299 100644
+--- a/src/examples/evas/Makefile.am
++++ b/src/examples/evas/Makefile.am
+@@ -208,7 +208,9 @@ im1.png \
+ cube1.png \
+ Makefile.examples
+-examples: $(EXTRA_PROGRAMS) $(EDJS)
++examplesdir = $(libdir)/evas/examples
++examples_PROGRAMS = $(EXTRA_PROGRAMS)
++examples_DATA = $(EDJS)
+ clean-local:
+       rm -f $(EXTRA_PROGRAMS) $(EDJS)
+@@ -223,8 +225,3 @@ uninstall-local:
+       done
+ EXTRA_DIST = $(EDCS) $(DATA_FILES)
+-
+-if ALWAYS_BUILD_EXAMPLES
+-noinst_PROGRAMS = $(EXTRA_PROGRAMS)
+-nodist_pkgdata_DATA = $(EDJS)
+-endif
diff --git a/recipes-efl/efl/efl/0005-Enable-building-multiple-binary-packages.patch b/recipes-efl/efl/efl/0005-Enable-building-multiple-binary-packages.patch
new file mode 100644 (file)
index 0000000..e828b60
--- /dev/null
@@ -0,0 +1,49 @@
+From: "Eduardo Lima (Etrunko)" <eduardo.lima@intel.com>
+Date: Wed, 5 Feb 2014 15:05:49 -0200
+Subject: Enable building multiple binary packages
+
+With this change we now generate one package for each EFL module, just
+as it was done in the 1.7.x series when we had different repositories.
+This keeps the compatibility of the existing packages and removes the
+need of specifying "Provides" and "Obsoletes" tags.
+
+There is one additional package, efl-data, which ships the localization
+files and Efl_Config.h. This file contains only information about the
+version.
+
+Change-Id: Iab11c00d07663159d18af24035c8fb7ad6be23dd
+Signed-off-by: Philippe Coval <philippe.coval@open.eurogiciel.org>
+Signed-off-by: Eduardo Lima (Etrunko) <eduardo.lima@intel.com>
+---
+ configure.ac | 4 ----
+ efl.manifest | 6 ------
+ 2 files changed, 10 deletions(-)
+ delete mode 100644 efl.manifest
+
+diff --git a/configure.ac b/configure.ac
+index 99b4288..98ef1d7 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -612,10 +612,6 @@ EFL_SELECT_WINDOWS_VERSION
+ ### Checks for libraries
+-if test "${want_evas_engine_wayland_egl}" = "yes"; then
+-   CFLAGS="$CFLAGS -I/usr/include/freetype2 -Ifribidi"
+-fi
+-
+ EVIL_DLFCN_LIBS=""
+ if test "${have_wince}" = "xyes"; then
+    EFL_ADD_LIBS([EVIL], [-lws2])
+diff --git a/efl.manifest b/efl.manifest
+deleted file mode 100644
+index 81ace0c..0000000
+--- a/efl.manifest
++++ /dev/null
+@@ -1,6 +0,0 @@
+-<manifest>
+-      <request>
+-              <domain name="_"/>
+-      </request>
+-</manifest>
+-
diff --git a/recipes-efl/efl/efl_1.9.3.bbappend b/recipes-efl/efl/efl_1.9.3.bbappend
new file mode 100644 (file)
index 0000000..977be0a
--- /dev/null
@@ -0,0 +1,56 @@
+FILESEXTRAPATHS_prepend := "${THISDIR}/efl"
+
+
+
+DEPENDS_class-native = "sensor mesa freetype-native libxext-native libpng-native jpeg-native tiff-native libfribidi-native glib-2.0-native dbus-native "
+DEPENDS = " sensor mesa virtual/libiconv tslib curl glib-2.0 gnutls pkgconfig zlib jpeg openssl libsndfile1 dbus libexif librsvg libcheck freetype libpng tiff libxext virtual/libx11 libxrender fontconfig libfribidi giflib udev libxcursor libxcomposite libxinerama libxrandr libxtst libxscrnsaver efl-native"
+
+inherit efl gettext pkgconfig
+
+BBCLASSEXTEND = "native"
+
+PROVIDES += "ecore edje eet eeze efreet eina eio embryo emotion ethumb evas eldbus"
+
+# we don't have bullet for physics
+# You have chosen to disable physics support. This disables lots of
+# core functionality and is effectively never tested. You are going
+# to find features that suddenly don't work and as a result cause
+# a series of breakages. This is simply not tested so you are on
+# your own in terms of ensuring everything works if you do this
+
+FILESEXTRAPATHS_prepend := "${THISDIR}/efl:"
+
+#SRC_URI = "file://0001-Add-spec-file-and-enable-Tizen-build.patch"
+#SRC_URI += "file://0002-Enable-gles-building-with-efl-and-disable-SHAD_TEXSA.patch"
+#SRC_URI += "file://0003-Fix-ivi-building-issue.patch"
+#SRC_URI += "file://0004-Enable-installing-examples-binaries.patch"
+#SRC_URI += "file://0005-Enable-building-multiple-binary-packages.patch"
+
+EXTRA_OECONF = " \
+    --disable-physics \
+    --enable-i-really-know-what-i-am-doing-and-that-this-will-probably-break-things-and-i-will-fix-them-myself-and-send-patches-aaa \
+"
+EXTRA_OECONF_append_class-target = " \
+      --enable-tizen \
+      --enable-g-main-loop \
+      --disable-xim \
+      --disable-scim \
+      --disable-gesture \
+      --with-tests=regular \
+      --enable-wayland \
+      --enable-egl \
+      --with-opengl=es \
+      --enable-tile-rotate \
+      --disable-rpath \
+      --with-x11=none \
+      --enable-tile-rotate \
+      --disable-rpath \
+      --enable-systemd \
+      --enable-lua-old \
+      --enable-i-really-know-what-i-am-doing-and-that-this-will-probably-break-things-and-i-will-fix-them-myself-and-send-patches-aaa \
+      --with-tests=none \ 
+      --with-bin-edje-cc=${STAGING_BINDIR_NATIVE}/edje_cc \
+"
+EXTRA_OECONF_append_class-native = " \
+"
+