From acb200c519ea582abdfaeded33d19a78debaa9fb Mon Sep 17 00:00:00 2001 From: Ronan Le Martret Date: Fri, 25 Jul 2014 15:32:54 +0200 Subject: [PATCH] meta-tizen: Add efl from Tizen Change-Id: I50c4c53af95fd3bc56c45150480909f0a8bdc219 (From meta-tizen rev: 8138cedd8cf88215f0b176a76616820c651a0c52) Signed-off-by: Ronan Le Martret Signed-off-by: Patrick Ohly --- ...0001-Add-spec-file-and-enable-Tizen-build.patch | 61 -- ...-building-with-efl-and-disable-SHAD_TEXSA.patch | 22 - .../efl/efl/0003-Fix-ivi-building-issue.patch | 25 - .../0004-Enable-installing-examples-binaries.patch | 356 -------- ...-Enable-building-multiple-binary-packages.patch | 49 -- meta-tizen/recipes-efl/efl/efl_1.9.3.bbappend | 58 -- .../recipes-efl/efl/elementary_1.9.3.bbappend | 85 -- .../bluetooth-tools/bluetooth-tools_git.bb | 10 - .../dbus-python/dbus-python-extraconf.inc | 0 .../recipes-tizen/dbus-python/dbus-python.inc | 148 ++++ .../recipes-tizen/dbus-python/dbus-python_git.bb | 10 + meta-tizen/recipes-tizen/edbus/edbus-extraconf.inc | 0 meta-tizen/recipes-tizen/edbus/edbus.inc | 126 +++ meta-tizen/recipes-tizen/edbus/edbus_git.bb | 10 + meta-tizen/recipes-tizen/efl/efl-extraconf.inc | 113 +++ meta-tizen/recipes-tizen/efl/efl.inc | 969 +++++++++++++++++++++ meta-tizen/recipes-tizen/efl/efl_git.bb | 10 + .../elementary/elementary-extraconf.inc | 0 meta-tizen/recipes-tizen/elementary/elementary.inc | 151 ++++ .../recipes-tizen/elementary/elementary_git.bb | 10 + .../gobject-introspection/files/remove_ir.patch | 21 + .../gobject-introspection-extraconf.inc | 33 + .../gobject-introspection.inc | 218 +++++ .../gobject-introspection_git.bb | 10 + .../ibus/files/Remove_vala_test.patch | 17 + meta-tizen/recipes-tizen/ibus/ibus-extraconf.inc | 7 + meta-tizen/recipes-tizen/ibus/ibus.inc | 199 +++++ meta-tizen/recipes-tizen/ibus/ibus_git.bb | 10 + .../libbullet/libbullet-extraconf.inc | 0 meta-tizen/recipes-tizen/libbullet/libbullet.inc | 132 +++ .../recipes-tizen/libbullet/libbullet_git.bb | 10 + .../recipes-tizen/libtbm/libtbm-extraconf.inc | 0 meta-tizen/recipes-tizen/libtbm/libtbm.inc | 131 +++ meta-tizen/recipes-tizen/libtbm/libtbm_git.bb | 10 + 34 files changed, 2345 insertions(+), 666 deletions(-) delete mode 100644 meta-tizen/recipes-efl/efl/efl/0001-Add-spec-file-and-enable-Tizen-build.patch delete mode 100644 meta-tizen/recipes-efl/efl/efl/0002-Enable-gles-building-with-efl-and-disable-SHAD_TEXSA.patch delete mode 100644 meta-tizen/recipes-efl/efl/efl/0003-Fix-ivi-building-issue.patch delete mode 100644 meta-tizen/recipes-efl/efl/efl/0004-Enable-installing-examples-binaries.patch delete mode 100644 meta-tizen/recipes-efl/efl/efl/0005-Enable-building-multiple-binary-packages.patch delete mode 100644 meta-tizen/recipes-efl/efl/efl_1.9.3.bbappend delete mode 100644 meta-tizen/recipes-efl/efl/elementary_1.9.3.bbappend delete mode 100644 meta-tizen/recipes-tizen/bluetooth-tools/bluetooth-tools_git.bb create mode 100644 meta-tizen/recipes-tizen/dbus-python/dbus-python-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/dbus-python/dbus-python.inc create mode 100644 meta-tizen/recipes-tizen/dbus-python/dbus-python_git.bb create mode 100644 meta-tizen/recipes-tizen/edbus/edbus-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/edbus/edbus.inc create mode 100644 meta-tizen/recipes-tizen/edbus/edbus_git.bb create mode 100644 meta-tizen/recipes-tizen/efl/efl-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/efl/efl.inc create mode 100644 meta-tizen/recipes-tizen/efl/efl_git.bb create mode 100644 meta-tizen/recipes-tizen/elementary/elementary-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/elementary/elementary.inc create mode 100644 meta-tizen/recipes-tizen/elementary/elementary_git.bb create mode 100644 meta-tizen/recipes-tizen/gobject-introspection/files/remove_ir.patch create mode 100644 meta-tizen/recipes-tizen/gobject-introspection/gobject-introspection-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/gobject-introspection/gobject-introspection.inc create mode 100644 meta-tizen/recipes-tizen/gobject-introspection/gobject-introspection_git.bb create mode 100644 meta-tizen/recipes-tizen/ibus/files/Remove_vala_test.patch create mode 100644 meta-tizen/recipes-tizen/ibus/ibus-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/ibus/ibus.inc create mode 100644 meta-tizen/recipes-tizen/ibus/ibus_git.bb create mode 100644 meta-tizen/recipes-tizen/libbullet/libbullet-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/libbullet/libbullet.inc create mode 100644 meta-tizen/recipes-tizen/libbullet/libbullet_git.bb create mode 100644 meta-tizen/recipes-tizen/libtbm/libtbm-extraconf.inc create mode 100644 meta-tizen/recipes-tizen/libtbm/libtbm.inc create mode 100644 meta-tizen/recipes-tizen/libtbm/libtbm_git.bb diff --git a/meta-tizen/recipes-efl/efl/efl/0001-Add-spec-file-and-enable-Tizen-build.patch b/meta-tizen/recipes-efl/efl/efl/0001-Add-spec-file-and-enable-Tizen-build.patch deleted file mode 100644 index 145ad6f..0000000 --- a/meta-tizen/recipes-efl/efl/efl/0001-Add-spec-file-and-enable-Tizen-build.patch +++ /dev/null @@ -1,61 +0,0 @@ -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 @@ -+ -+ -+ -+ -+ -+ diff --git a/meta-tizen/recipes-efl/efl/efl/0002-Enable-gles-building-with-efl-and-disable-SHAD_TEXSA.patch b/meta-tizen/recipes-efl/efl/efl/0002-Enable-gles-building-with-efl-and-disable-SHAD_TEXSA.patch deleted file mode 100644 index 6c48ba8..0000000 --- a/meta-tizen/recipes-efl/efl/efl/0002-Enable-gles-building-with-efl-and-disable-SHAD_TEXSA.patch +++ /dev/null @@ -1,22 +0,0 @@ -From: Quanxian Wang -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/meta-tizen/recipes-efl/efl/efl/0003-Fix-ivi-building-issue.patch b/meta-tizen/recipes-efl/efl/efl/0003-Fix-ivi-building-issue.patch deleted file mode 100644 index 46a865f..0000000 --- a/meta-tizen/recipes-efl/efl/efl/0003-Fix-ivi-building-issue.patch +++ /dev/null @@ -1,25 +0,0 @@ -From: Quanxian Wang -Date: Fri, 25 Oct 2013 16:23:04 +0800 -Subject: Fix ivi building issue - -Change-Id: Ide344ca8061311e403a0878a78743e666153106b -Signed-off-by: Quanxian Wang ---- - 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/meta-tizen/recipes-efl/efl/efl/0004-Enable-installing-examples-binaries.patch b/meta-tizen/recipes-efl/efl/efl/0004-Enable-installing-examples-binaries.patch deleted file mode 100644 index 05ed69b..0000000 --- a/meta-tizen/recipes-efl/efl/efl/0004-Enable-installing-examples-binaries.patch +++ /dev/null @@ -1,356 +0,0 @@ -From: "Eduardo Lima (Etrunko)" -Date: Tue, 25 Feb 2014 18:13:21 -0300 -Subject: Enable installing examples binaries - -Change-Id: If903ba43c2c6591bd68c841b326d0e5a61dcdc10 -Signed-off-by: Eduardo Lima (Etrunko) ---- - 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/meta-tizen/recipes-efl/efl/efl/0005-Enable-building-multiple-binary-packages.patch b/meta-tizen/recipes-efl/efl/efl/0005-Enable-building-multiple-binary-packages.patch deleted file mode 100644 index e828b60..0000000 --- a/meta-tizen/recipes-efl/efl/efl/0005-Enable-building-multiple-binary-packages.patch +++ /dev/null @@ -1,49 +0,0 @@ -From: "Eduardo Lima (Etrunko)" -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 -Signed-off-by: Eduardo Lima (Etrunko) ---- - 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 @@ -- -- -- -- -- -- diff --git a/meta-tizen/recipes-efl/efl/efl_1.9.3.bbappend b/meta-tizen/recipes-efl/efl/efl_1.9.3.bbappend deleted file mode 100644 index 53af637..0000000 --- a/meta-tizen/recipes-efl/efl/efl_1.9.3.bbappend +++ /dev/null @@ -1,58 +0,0 @@ -FILESEXTRAPATHS_prepend := "${THISDIR}/efl" - - - -DEPENDS_class-native = "sensor mesa freetype-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 fontconfig libfribidi giflib udev 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 = " \ -" - - -RDEPENDS_ecore = "ecore-audio ecore-input-evas ecore-input ecore-imf-evas ecore-imf ecore-file ecore-con ecore-ipc ecore-evas" diff --git a/meta-tizen/recipes-efl/efl/elementary_1.9.3.bbappend b/meta-tizen/recipes-efl/efl/elementary_1.9.3.bbappend deleted file mode 100644 index f3a4309..0000000 --- a/meta-tizen/recipes-efl/efl/elementary_1.9.3.bbappend +++ /dev/null @@ -1,85 +0,0 @@ -DESCRIPTION = "EFL based widget set for mobile devices" -LICENSE = "LGPLv2.1" -LIC_FILES_CHKSUM = "file://COPYING;md5=a173054a93896e933df53e3382d472c2" -DEPENDS = "efl elementary-native poppler eio" -DEPENDS_class-native = "efl-native" - -inherit efl gettext - -EXTRA_OECONF_append_class-target = "\ - --disable-ecore-x \ - --disable-ecore-fb \ - --disable-ecore-psl1ght \ - --disable-ecore-sdl \ - --disable-ecore-cocoa \ - --disable-ecore-wince \ - --disable-ecore-win32 \ - --with-edje-cc=${STAGING_BINDIR_NATIVE}/edje_cc \ - --with-eet-eet=${STAGING_BINDIR_NATIVE}/eet \ - --with-elementary-codegen=${STAGING_BINDIR_NATIVE}/elementary_codegen \ - --with-elm-prefs-cc=${STAGING_BINDIR_NATIVE}/elm_prefs_cc \ -" - -BBCLASSEXTEND = "native" - -PACKAGECONFIG[eweather] = "--enable-eweather,--disable-eweather,libeweather" -PACKAGECONFIG[ewebkit] = "--with-elementary-web-backend=ewebkit,--with-elementary-web-backend=none,webkit-efl" - -do_compile_append_class-target() { - sed -i -e s:${STAGING_DIR_TARGET}::g \ - -e s:/${TARGET_SYS}::g \ - elementary.pc -} - - -RDEPENDS_${PN}_class-native = "" - -RDEPENDS_${PN} = "\ - ${PN}-themes \ - ${PN}-configs \ -" -RSUGGESTS_${PN} = "${PN}-tests ${PN}-accessibility" - -FILES_${PN} += "\ - ${libdir}/edje/modules/elm \ - ${libdir}/elementary/modules/datetime_input_ctxpopup/*/module.so \ - ${libdir}/elementary/modules/prefs/*/module.so \ - ${libdir}/elementary/modules/prefs/*/*.edj \ -" - -FILES_${PN}-dev += "\ - ${bindir}/elm_prefs_cc \ - ${libdir}/elementary/modules/*/*/module.la \ - ${libdir}/cmake \ -" - -FILES_${PN}-themes = "\ - ${datadir}/elementary/themes \ -" - -FILES_${PN}-configs = "\ - ${datadir}/elementary/config \ -" - -FILES_${PN}-dbg += "\ - ${libdir}/elementary/modules/*/*/.debug \ - ${libdir}/edje/modules/elm/*/.debug \ -" - -FILES_${PN}-tests = "\ - ${bindir}/elementary* \ - ${datadir}/elementary/images \ - ${datadir}/elementary/objects \ - ${datadir}/elementary/examples \ - ${datadir}/applications/* \ - ${datadir}/icons/* \ - ${libdir}/elementary/modules/test_entry/* \ - ${libdir}/elementary/modules/test_map/* \ -" - -FILES_${PN}-accessibility = "\ - ${libdir}/elementary/modules/access_output/* \ -" - -# Some upgrade path tweaking, as in evas -AUTO_LIBNAME_PKGS = "" diff --git a/meta-tizen/recipes-tizen/bluetooth-tools/bluetooth-tools_git.bb b/meta-tizen/recipes-tizen/bluetooth-tools/bluetooth-tools_git.bb deleted file mode 100644 index d8671ae..0000000 --- a/meta-tizen/recipes-tizen/bluetooth-tools/bluetooth-tools_git.bb +++ /dev/null @@ -1,10 +0,0 @@ -require bluetooth-tools.inc - -PRIORITY = "10" - -LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" - -SRC_URI += "git://review.tizen.org/platform/core/connectivity/bluetooth-tools;tag=896de069d8c212e32bf966ffb9adaddf8e1dd402;nobranch=1" - -BBCLASSEXTEND += " native " - diff --git a/meta-tizen/recipes-tizen/dbus-python/dbus-python-extraconf.inc b/meta-tizen/recipes-tizen/dbus-python/dbus-python-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/dbus-python/dbus-python.inc b/meta-tizen/recipes-tizen/dbus-python/dbus-python.inc new file mode 100644 index 0000000..9f5fb15 --- /dev/null +++ b/meta-tizen/recipes-tizen/dbus-python/dbus-python.inc @@ -0,0 +1,148 @@ +DESCRIPTION = "Python bindings for D-Bus" +HOMEPAGE = "http://www.freedesktop.org/wiki/Software/DBusBindings/" +SECTION = "System/Libraries" +LICENSE = "MIT" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by dbus-python-dev + + +#PROVIDES by dbus-python + + +RDEPENDS = "" +#RDEPENDS of dbus-python-dev (${PN}-dev) +RDEPENDS_${PN}-dev += "dbus" +RDEPENDS_${PN}-dev += "dbus-python" + +#RDEPENDS of dbus-python (${PN}) +RDEPENDS_${PN} += "python-xml" +RDEPENDS_${PN} += "dbus" +RDEPENDS_${PN} += "libxml2-python" + + +DEPENDS = "" +#DEPENDS of dbus-python +inherit pythonnative +DEPENDS += "dbus" +DEPENDS_append_class-native = " fdupes-native" +DEPENDS_append_class-target = " fdupes-native" +DEPENDS += "dbus-glib" + +do_prep() { + cd ${S} + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/dbus-python.manifest . + + +} +do_patch_append() { + bb.build.exec_func('do_prep', d) +} + +do_configure() { +} + +do_compile() { + cd ${S} + LANG=C + export LANG + unset DISPLAY + LD_AS_NEEDED=1; export LD_AS_NEEDED ; + + export CFLAGS="$CFLAGS -fstack-protector -fno-strict-aliasing -fPIC" + + autotools_do_configure + make ${PARALLEL_MAKE} + + + +} +EXTRA_OECONF += " --docdir=${prefix}/share/doc/packages/dbus-python" + +do_install() { + echo export RPM_BUILD_ROOT=${D} + cd ${S} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=${prefix}/bin \ + install + rm -f ${D}${infodir}/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + + + rm -rf ${D}${infodir} + rm -rf ${D}${prefix}/share/doc/packages + rm -rf ${D}${prefix}/share/doc/dbus-python + rm -rf ${D}${prefix}/share/doc/dbus-python-1.1.1 + rm -rf ${D}${prefix}/share/gtk-doc + rm -rf ${D}${prefix}/share/doc + rm -rf ${D}${prefix}/share/man + find ${D} -regex ".*/man/man./.*.[0-9]" | xargs rm -f -- + find ${D} -regex ".*/man/../man./.*.[0-9]" | xargs rm -f -- + find ${D} -regex ".*/man/man./.*.[0-9]pm" | xargs rm -f -- + + _target=""; + _symlinks=0; + _symlinks=1; + fdupes -q -n -r ${D} | + while read _file; do + if test -z "$_target" ; then + _target="$_file"; + else + if test -z "$_file" ; then + _target=""; + continue ; + fi ; + if test "$_symlinks" = 1; then + ln -sf "${_target#${D}}" "$_file"; + else + ln -f "$_target" "$_file"; + fi ; + fi ; + done + + +} + +PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" +PACKAGES += " dbus-python-dev " +PACKAGES += " dbus-python " + +dbus-python-dev_files = "" +dbus-python-dev_files += "${prefix}/include/dbus-1.0/dbus/dbus-python.h" +dbus-python-dev_files += "${prefix}/lib/pkgconfig/dbus-python.pc" +MANIFESTFILES_${PN}-dev = "dbus-python.manifest" + +dbus-python_files = "" +dbus-python_files += "${prefix}/lib/python2.7/site-packages/*" +dbus-python_files += "${prefix}/lib/python2.7/site-packages/*" +MANIFESTFILES_${PN} = "dbus-python.manifest" + +FILES_${PN}-dev = "${dbus-python-dev_files}" +FILES_${PN} = "${dbus-python_files}" + +PKG_dbus-python-dev= "dbus-python-dev" +PKG_dbus-python= "dbus-python" + +require dbus-python-extraconf.inc + diff --git a/meta-tizen/recipes-tizen/dbus-python/dbus-python_git.bb b/meta-tizen/recipes-tizen/dbus-python/dbus-python_git.bb new file mode 100644 index 0000000..745c52b --- /dev/null +++ b/meta-tizen/recipes-tizen/dbus-python/dbus-python_git.bb @@ -0,0 +1,10 @@ +require dbus-python.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/dbus-python;tag=0910bc53d2965584e7305b4f32158fa56af6197f;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/meta-tizen/recipes-tizen/edbus/edbus-extraconf.inc b/meta-tizen/recipes-tizen/edbus/edbus-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/edbus/edbus.inc b/meta-tizen/recipes-tizen/edbus/edbus.inc new file mode 100644 index 0000000..1e8d0f4 --- /dev/null +++ b/meta-tizen/recipes-tizen/edbus/edbus.inc @@ -0,0 +1,126 @@ +DESCRIPTION = "EFL Wrapper for DBus" +HOMEPAGE = "http://www.enlightenment.org/" +SECTION = "Graphics/EFL" +LICENSE = "BSD 2-clause" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by edbus-dev + + +#PROVIDES by edbus + + +RDEPENDS = "" +#RDEPENDS of edbus-dev (${PN}-dev) +RDEPENDS_${PN}-dev += "edbus" + + +DEPENDS = "" +#DEPENDS of edbus +DEPENDS += "dbus" +DEPENDS += "doxygen" +DEPENDS += "efl" + +do_prep() { + cd ${S} + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -n e_dbus-1.7.8 + cp ${S}/packaging/edbus.manifest . + + +} +do_patch_append() { + bb.build.exec_func('do_prep', d) +} + +do_configure() { +} + +do_compile() { + cd ${S} + LANG=C + export LANG + unset DISPLAY + LD_AS_NEEDED=1; export LD_AS_NEEDED ; + + + autotools_do_configure + make ${PARALLEL_MAKE} + + + +} +EXTRA_OECONF += " --disable-static" + +do_install() { + echo export RPM_BUILD_ROOT=${D} + cd ${S} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=${prefix}/bin \ + install + rm -f ${D}${infodir}/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + + + + +} + +pkg_postinst_${PN}() { + #!/bin/sh -e + + [ "x\$D" == "x" ] && ldconfig +} + +pkg_postrm_${PN}() { + #!/bin/sh -e + + [ "x\$D" == "x" ] && ldconfig +} + +PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" +PACKAGES += " edbus-dev " +PACKAGES += " edbus " + +edbus-dev_files = "" +edbus-dev_files += "${prefix}/include/e_dbus-1/*.h" +edbus-dev_files += "${prefix}/lib/*.so" +edbus-dev_files += "${prefix}/lib/pkgconfig/*.pc" +edbus-dev_files += "${prefix}/include/e_dbus-1/connman0_7x/E_Connman.h" +edbus-dev_files += "/usr/bin/e-notify-send" +MANIFESTFILES_${PN}-dev = "edbus.manifest" + +edbus_files = "" +edbus_files += "${prefix}/bin/e_dbus_*" +edbus_files += "/usr/bin/e-notify-send" +edbus_files += "${prefix}/lib/libe*.so.*" +edbus_files += "/usr/share/e_dbus/logo.png" +MANIFESTFILES_${PN} = "edbus.manifest" + +FILES_${PN}-dev = "${edbus-dev_files}" +FILES_${PN} = "${edbus_files}" + +PKG_edbus-dev= "edbus-dev" +PKG_edbus= "edbus" + +require edbus-extraconf.inc + diff --git a/meta-tizen/recipes-tizen/edbus/edbus_git.bb b/meta-tizen/recipes-tizen/edbus/edbus_git.bb new file mode 100644 index 0000000..8e99f8b --- /dev/null +++ b/meta-tizen/recipes-tizen/edbus/edbus_git.bb @@ -0,0 +1,10 @@ +require edbus.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/edbus;tag=2794ce43563454872e90515c795697773fc44088;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/meta-tizen/recipes-tizen/efl/efl-extraconf.inc b/meta-tizen/recipes-tizen/efl/efl-extraconf.inc new file mode 100644 index 0000000..41b1984 --- /dev/null +++ b/meta-tizen/recipes-tizen/efl/efl-extraconf.inc @@ -0,0 +1,113 @@ +INSANE_SKIP_${PN} = "dev-so" + +EXTRA_OECONF += " \ + --with-edje-cc=${STAGING_BINDIR_NATIVE}/edje_cc \ + --with-eolian-gen=${STAGING_BINDIR_NATIVE}/eolian_gen \ + --with-eolian-cxx=${STAGING_BINDIR_NATIVE}/eolian_cxx \ + --with-binary-edje-cc=${STAGING_BINDIR_NATIVE}/edje_cc \ + --disable-physics \ + --enable-always-build-examples=no \ +" + +EXTRA_OECONF_class-native = " \ + --disable-fontconfig \ + --disable-audio \ + --with-x11=none \ + --disable-image-loader-bmp \ + --disable-image-loader-eet \ + --disable-image-loader-generic \ + --disable-image-loader-gif \ + --disable-image-loader-ico \ + --disable-image-loader-jp2k \ + --disable-image-loader-pmaps \ + --disable-image-loader-psd \ + --disable-image-loader-tga \ + --disable-image-loader-wbmp \ + --disable-image-loader-webp \ + --disable-image-loader-xpm \ + --disable-systemd \ + --disable-gstreamer \ + --disable-gstreamer1 \ + --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 \ + --enable-lua-old \ +" + +DEPENDS_append_class-target = " efl-native " + +DEPENDS = " zlib tiff ibus harfbuzz openssl curl fontconfig gst-plugins-base systemd freetype wayland dlog glib-2.0 lua libtbm libbullet libpng sensor pixman libsndfile1 libcheck giflib udev gnutls mesa util-linux vconf libxkbcommon fribidi libjpeg-turbo dbus gstreamer pulseaudio libexif" +DEPENDS_class-native = " zlib tiff ibus harfbuzz openssl curl fontconfig gst-plugins-base freetype wayland dlog glib-2.0 lua libtbm libbullet libpng sensor pixman libcheck giflib udev gnutls util-linux vconf fribidi libjpeg-turbo dbus " + +# new efl doesn't have option to disable eeze build and we don't want to provide udev-native just to build eeze-native we don't need +do_configure_prepend_class-native() { + sed -i 's/EFL_LIB_START_OPTIONAL(\[Eeze\], \[test "${have_linux}" = "yes"\])/EFL_LIB_START_OPTIONAL([Eeze], [test "${no-we-really-dont-want-native-eeze}" = "yes"])/g' ${S}/configure.ac +} + +do_install_prepend () { + for i in `find ${B}/ -name "*.pc" -type f` ; do \ + sed -i -e 's:-L${STAGING_LIBDIR}:-L\$\{libdir\}:g' -e 's:-I${STAGING_LIBDIR}:-I\$\{libdir\}:g' -e 's:-I${STAGING_INCDIR}:-I\$\{includedir\}:g' $i + done +} + +do_install_class-native() { + echo export RPM_BUILD_ROOT=${D} + cd ${S} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + make \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=${prefix}/bin \ + install + rm -f ${D}${infodir}/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + rm -rf ${D}${prefix}/lib/ecore/system/upower + +} +do_install() { + echo export RPM_BUILD_ROOT=${D} + cd ${S} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=${prefix}/bin \ + install + rm -f ${D}${infodir}/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + rm -rf ${D}${prefix}/lib/ecore/system/upower + +} + +FILES_${PN}-dbg += "/usr/lib/eeze/modules/sensor/tizen/v-1.9/.debug" +FILES_${PN}-dbg += "/usr/lib/eeze/modules/sensor/udev/v-1.9/.debug" +FILES_${PN}-dbg += "/usr/lib/ecore_evas/engines/extn/v-1.9/.debug" +FILES_${PN}-dbg += "/usr/lib/ecore_evas/engines/wayland/v-1.9/.debug" +FILES_${PN}-dbg += "/usr/lib/ethumb/modules/emotion/v-1.9/.debug" +FILES_${PN}-dbg += "/usr/lib/ethumb_client/utils/v-1.9/.debug" +FILES_${PN}-dbg += "/usr/lib/edje/modules/emotion/v-1.9/.debug" +FILES_${PN}-dbg += "/usr/lib/edje/utils/v-1.9/.debug" +FILES_${PN}-dbg += "/usr/lib/emotion/modules/gstreamer1/v-1.9/.debug" +FILES_${PN}-dbg += "/usr/lib/efreet/v-1.9/.debug" +FILES_${PN}-dbg += "/usr/lib/evas/modules/savers/tiff/v-1.9/.debug" +FILES_${PN}-dbg += "/usr/lib/evas/modules/loaders/tiff/v-1.9/.debug" +FILES_${PN}-dbg += "/usr/lib/evas/modules/loaders/gif/v-1.9/.debug" +FILES_${PN}-dbg += "/usr/lib/evas/modules/engines/wayland_shm/v-1.9/.debug" +FILES_${PN}-dbg += "/usr/lib/evas/modules/engines/wayland_egl/v-1.9/.debug" +FILES_${PN}-dbg += "/usr/lib/ecore_imf/modules/wayland/v-1.9/.debug" +FILES_${PN}-dbg += "/usr/lib/ecore/system/systemd/v-1.9/.debug" +FILES_${PN}-dbg += "/usr/lib/ecore/system/tizen/v-1.9/.debug" diff --git a/meta-tizen/recipes-tizen/efl/efl.inc b/meta-tizen/recipes-tizen/efl/efl.inc new file mode 100644 index 0000000..51ed023 --- /dev/null +++ b/meta-tizen/recipes-tizen/efl/efl.inc @@ -0,0 +1,969 @@ +DESCRIPTION = "Enlightenment Foundation Libraries - set of libraries used (not only) by E17" +HOMEPAGE = "http://enlightenment.org/" +SECTION = "Graphics & UI Framework/API" +LICENSE = "LGPL-2.1" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by edje + + +#PROVIDES by ephysics-examples + + +#PROVIDES by eo + + +#PROVIDES by ephysics-dev + + +#PROVIDES by emotion-dev + + +#PROVIDES by eina + + +#PROVIDES by eina-examples + + +#PROVIDES by eo-examples + + +#PROVIDES by eet-dev + + +#PROVIDES by ephysics + + +#PROVIDES by eeze-dev + + +#PROVIDES by efl + + +#PROVIDES by efreet-dev + + +#PROVIDES by ecore-dev + + +#PROVIDES by ethumb-examples + + +#PROVIDES by ethumb + + +#PROVIDES by evas-dev + + +#PROVIDES by efl-data + + +#PROVIDES by evas + + +#PROVIDES by eeze + + +#PROVIDES by ethumb-dev + + +#PROVIDES by efreet + + +#PROVIDES by eldbus-dev + + +#PROVIDES by eet-examples + + +#PROVIDES by embryo-dev + + +#PROVIDES by eio-dev + + +#PROVIDES by ecore-examples + + +#PROVIDES by emotion + + +#PROVIDES by eldbus-examples + + +#PROVIDES by eo-dev + + +#PROVIDES by embryo +# the PROVIDES rules is ignore "embryo-bin " +PROVIDES += "embryo-bin" +RPROVIDES_embryo += "embryo-bin" + + +#PROVIDES by eio-examples + + +#PROVIDES by eet-tools +# the PROVIDES rules is ignore "eet-bin " +PROVIDES += "eet-bin" +RPROVIDES_eet-tools += "eet-bin" + + +#PROVIDES by edje-dev + + +#PROVIDES by edje-tools +# the PROVIDES rules is ignore "edje-bin " +PROVIDES += "edje-bin" +RPROVIDES_edje-tools += "edje-bin" + + +#PROVIDES by eet + + +#PROVIDES by eina-dev + + +#PROVIDES by evas-examples + + +#PROVIDES by emotion-examples + + +#PROVIDES by ecore + + +#PROVIDES by eldbus + + +#PROVIDES by edje-examples + + +#PROVIDES by eio + + +RDEPENDS = "" +#RDEPENDS of edje (edje) +RDEPENDS_edje += "efl-data" + +#RDEPENDS of ephysics-examples (ephysics-examples) +RDEPENDS_ephysics-examples += "ephysics" + +#RDEPENDS of eo (eo) +RDEPENDS_eo += "efl-data" + +#RDEPENDS of ephysics-dev (ephysics-dev) +RDEPENDS_ephysics-dev += "ephysics" + +#RDEPENDS of emotion-dev (emotion-dev) +RDEPENDS_emotion-dev += "efl" + +#RDEPENDS of eina (eina) +RDEPENDS_eina += "efl-data" + +#RDEPENDS of eina-examples (eina-examples) +RDEPENDS_eina-examples += "efl" + +#RDEPENDS of eo-examples (eo-examples) +RDEPENDS_eo-examples += "eo" + +#RDEPENDS of eet-dev (eet-dev) +RDEPENDS_eet-dev += "eet" + +#RDEPENDS of eeze-dev (eeze-dev) +RDEPENDS_eeze-dev += "eeze" + +#RDEPENDS of efreet-dev (efreet-dev) +RDEPENDS_efreet-dev += "efl" + +#RDEPENDS of ecore-dev (ecore-dev) +RDEPENDS_ecore-dev += "efl" + +#RDEPENDS of ethumb-examples (ethumb-examples) +RDEPENDS_ethumb-examples += "efl" + +#RDEPENDS of ethumb (ethumb) +RDEPENDS_ethumb += "efl-data" + +#RDEPENDS of evas-dev (evas-dev) +RDEPENDS_evas-dev += "evas" + +#RDEPENDS of evas (evas) +RDEPENDS_evas += "efl-data" + +#RDEPENDS of eeze (eeze) +RDEPENDS_eeze += "efl-data" + +#RDEPENDS of ethumb-dev (ethumb-dev) +RDEPENDS_ethumb-dev += "efl" + +#RDEPENDS of efreet (efreet) +RDEPENDS_efreet += "efl-data" + +#RDEPENDS of eldbus-dev (eldbus-dev) +RDEPENDS_eldbus-dev += "eldbus" + +#RDEPENDS of eet-examples (eet-examples) +RDEPENDS_eet-examples += "eet" + +#RDEPENDS of embryo-dev (embryo-dev) +RDEPENDS_embryo-dev += "embryo" + +#RDEPENDS of eio-dev (eio-dev) +RDEPENDS_eio-dev += "eio" + +#RDEPENDS of ecore-examples (ecore-examples) +RDEPENDS_ecore-examples += "efl" + +#RDEPENDS of emotion (emotion) +RDEPENDS_emotion += "efl-data" + +#RDEPENDS of eldbus-examples (eldbus-examples) +RDEPENDS_eldbus-examples += "eldbus" + +#RDEPENDS of eo-dev (eo-dev) +RDEPENDS_eo-dev += "eo" + +#RDEPENDS of embryo (embryo) +RDEPENDS_embryo += "efl-data" + +#RDEPENDS of eio-examples (eio-examples) +RDEPENDS_eio-examples += "eio" + +#RDEPENDS of eet-tools (eet-tools) +RDEPENDS_eet-tools += "eet" + +#RDEPENDS of edje-dev (edje-dev) +RDEPENDS_edje-dev += "edje-tools" + +#RDEPENDS of edje-tools (edje-tools) +RDEPENDS_edje-tools += "efl" + +#RDEPENDS of eet (eet) +RDEPENDS_eet += "efl-data" + +#RDEPENDS of eina-dev (eina-dev) +RDEPENDS_eina-dev += "efl" + +#RDEPENDS of evas-examples (evas-examples) +RDEPENDS_evas-examples += "evas" + +#RDEPENDS of emotion-examples (emotion-examples) +RDEPENDS_emotion-examples += "efl" + +#RDEPENDS of ecore (ecore) +RDEPENDS_ecore += "efl-data" + +#RDEPENDS of eldbus (eldbus) +RDEPENDS_eldbus += "efl-data" + +#RDEPENDS of edje-examples (edje-examples) +RDEPENDS_edje-examples += "efl" + +#RDEPENDS of eio (eio) +RDEPENDS_eio += "efl-data" + + +DEPENDS = "" +#DEPENDS of efl +DEPENDS += "zlib" +DEPENDS += "tiff" +DEPENDS += "ibus" +DEPENDS += "harfbuzz" +DEPENDS += "openssl" +DEPENDS += "curl" +DEPENDS += "fontconfig" +DEPENDS += "gst-plugins-base" +DEPENDS += "systemd" +DEPENDS += "freetype" +DEPENDS += "wayland" +DEPENDS += "dlog" +DEPENDS += "glib-2.0" +DEPENDS += "lua" +DEPENDS += "libtbm" +DEPENDS += "libbullet" +DEPENDS += "libpng" +DEPENDS += "sensor" +DEPENDS += "pixman" +DEPENDS += "libsndfile1" +DEPENDS += "libcheck" +DEPENDS += "giflib" +DEPENDS += "udev" +DEPENDS += "gnutls" +DEPENDS += "mesa" +DEPENDS += "util-linux" +DEPENDS += "vconf" +#Replace "DEPENDS" on gettext by "inherit gettext" +inherit gettext +DEPENDS += "libxkbcommon" +DEPENDS += "fribidi" +DEPENDS += "libjpeg-turbo" +DEPENDS += "dbus" +DEPENDS += "gstreamer" +DEPENDS += "pulseaudio" +DEPENDS += "libexif" + +do_prep() { + cd ${S} + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/efl.manifest . + + + +} +do_patch_append() { + bb.build.exec_func('do_prep', d) +} + +do_configure() { +} + +do_compile() { + cd ${S} + LANG=C + export LANG + unset DISPLAY + LD_AS_NEEDED=1; export LD_AS_NEEDED ; + + + CFLAGS+=" -DMESA_EGL_NO_X11_HEADERS " + + + autotools_do_configure + + oe_runmake ${PARALLEL_MAKE} + + + + +} +EXTRA_OECONF += " --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-always-build-examples --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" + +do_install() { + echo export RPM_BUILD_ROOT=${D} + cd ${S} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=${prefix}/bin \ + install + rm -f ${D}${infodir}/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + make datadir=${D}${prefix}/share install-examples + rm -rf ${D}${prefix}/lib/ecore/system/upower + + + +} + +pkg_postinst_eo() { + #!/bin/sh -e + + [ "x\$D" == "x" ] && ldconfig +} + +pkg_postinst_eldbus() { + #!/bin/sh -e + + [ "x\$D" == "x" ] && ldconfig +} + +pkg_postinst_efreet() { + #!/bin/sh -e + + [ "x\$D" == "x" ] && ldconfig +} + +pkg_postinst_embryo() { + #!/bin/sh -e + + [ "x\$D" == "x" ] && ldconfig +} + +pkg_postinst_ecore() { + #!/bin/sh -e + + [ "x\$D" == "x" ] && ldconfig +} + +pkg_postinst_evas() { + #!/bin/sh -e + + [ "x\$D" == "x" ] && ldconfig +} + +pkg_postinst_eet() { + #!/bin/sh -e + + [ "x\$D" == "x" ] && ldconfig +} + +pkg_postinst_ephysics() { + #!/bin/sh -e + + [ "x\$D" == "x" ] && ldconfig +} + +pkg_postinst_emotion() { + #!/bin/sh -e + + [ "x\$D" == "x" ] && ldconfig +} + +pkg_postinst_eio() { + #!/bin/sh -e + + [ "x\$D" == "x" ] && ldconfig +} + +pkg_postinst_edje() { + #!/bin/sh -e + + [ "x\$D" == "x" ] && ldconfig +} + +pkg_postinst_eina() { + #!/bin/sh -e + + [ "x\$D" == "x" ] && ldconfig +} + +pkg_postinst_ethumb() { + #!/bin/sh -e + + [ "x\$D" == "x" ] && ldconfig +} + +pkg_postinst_eeze() { + #!/bin/sh -e + + [ "x\$D" == "x" ] && ldconfig +} + +pkg_postrm_efreet() { + #!/bin/sh -e + + [ "x\$D" == "x" ] && ldconfig +} + +pkg_postrm_eo() { + #!/bin/sh -e + + [ "x\$D" == "x" ] && ldconfig +} + +pkg_postrm_eina() { + #!/bin/sh -e + + [ "x\$D" == "x" ] && ldconfig +} + +pkg_postrm_eet() { + #!/bin/sh -e + + [ "x\$D" == "x" ] && ldconfig +} + +pkg_postrm_eio() { + #!/bin/sh -e + + [ "x\$D" == "x" ] && ldconfig +} + +pkg_postrm_evas() { + #!/bin/sh -e + + [ "x\$D" == "x" ] && ldconfig +} + +pkg_postrm_embryo() { + #!/bin/sh -e + + [ "x\$D" == "x" ] && ldconfig +} + +pkg_postrm_emotion() { + #!/bin/sh -e + + [ "x\$D" == "x" ] && ldconfig +} + +pkg_postrm_ephysics() { + #!/bin/sh -e + + [ "x\$D" == "x" ] && ldconfig +} + +pkg_postrm_ethumb() { + #!/bin/sh -e + + [ "x\$D" == "x" ] && ldconfig +} + +pkg_postrm_eeze() { + #!/bin/sh -e + + [ "x\$D" == "x" ] && ldconfig +} + +pkg_postrm_eldbus() { + #!/bin/sh -e + + [ "x\$D" == "x" ] && ldconfig +} + +pkg_postrm_ecore() { + #!/bin/sh -e + + [ "x\$D" == "x" ] && ldconfig +} + +pkg_postrm_edje() { + #!/bin/sh -e + + [ "x\$D" == "x" ] && ldconfig +} + +PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" +PACKAGES += " emotion " +PACKAGES += " ephysics-examples " +PACKAGES += " eo " +PACKAGES += " ephysics-dev " +PACKAGES += " edje " +PACKAGES += " emotion-dev " +PACKAGES += " eina " +PACKAGES += " eina-examples " +PACKAGES += " eo-examples " +PACKAGES += " eet-dev " +PACKAGES += " ephysics " +PACKAGES += " eeze-dev " +PACKAGES += " efreet-dev " +PACKAGES += " ecore-dev " +PACKAGES += " eina-dev " +PACKAGES += " ethumb " +PACKAGES += " evas-dev " +PACKAGES += " efl-data " +PACKAGES += " evas " +PACKAGES += " eeze " +PACKAGES += " ethumb-dev " +PACKAGES += " efreet " +PACKAGES += " eldbus-dev " +PACKAGES += " eet-examples " +PACKAGES += " embryo-dev " +PACKAGES += " ethumb-examples " +PACKAGES += " eio-dev " +PACKAGES += " ecore-examples " +PACKAGES += " ecore " +PACKAGES += " eldbus-examples " +PACKAGES += " eo-dev " +PACKAGES += " embryo " +PACKAGES += " eio-examples " +PACKAGES += " eet-tools " +PACKAGES += " edje-dev " +PACKAGES += " edje-tools " +PACKAGES += " eet " +PACKAGES += " evas-examples " +PACKAGES += " emotion-examples " +PACKAGES += " eldbus " +PACKAGES += " edje-examples " +PACKAGES += " eio " + +emotion_files = "" +emotion_files += "${prefix}/lib/libemotion.so.*" +emotion_files += "${prefix}/lib/edje/modules/emotion/*/module.so" +emotion_files += "${prefix}/lib/emotion/modules/*/*/module.so" +emotion_files += "${prefix}/share/emotion/*" +emotion_files += "${prefix}/bin/emotion_test" +MANIFESTFILES_emotion = "efl.manifest" + +ephysics-examples_files = "" +ephysics-examples_files += "${prefix}/share/ephysics/examples/*" + +eo_files = "" +eo_files += "${prefix}/lib/libeo.so.*" +MANIFESTFILES_eo = "efl.manifest" + +ephysics-dev_files = "" +ephysics-dev_files += "${prefix}/lib/libephysics.so" +ephysics-dev_files += "${prefix}/lib/pkgconfig/ephysics.pc" +ephysics-dev_files += "${prefix}/include/ephysics-1/EPhysics.h" + +edje_files = "" +edje_files += "${prefix}/lib/libedje.so.*" +edje_files += "${prefix}/lib/edje/utils/*/*" +edje_files += "${prefix}/share/edje/include/edje.inc" +edje_files += "${prefix}/share/mime/packages/edje.xml" +MANIFESTFILES_edje = "efl.manifest" + +emotion-dev_files = "" +emotion-dev_files += "${prefix}/include/emotion-1/*" +emotion-dev_files += "${prefix}/lib/libemotion.so" +emotion-dev_files += "${prefix}/lib/pkgconfig/emotion*.pc" +emotion-dev_files += "${prefix}/lib/cmake/Emotion/*.cmake" +MANIFESTFILES_emotion-dev = "efl.manifest" + +eina_files = "" +eina_files += "${prefix}/lib/libeina.so.*" +eina_files += "${prefix}/bin/eina-bench-cmp" +MANIFESTFILES_eina = "efl.manifest" + +eina-examples_files = "" +eina-examples_files += "${prefix}/share/eina/examples/*" +eina-examples_files += "${prefix}/lib/eina/examples/*" +MANIFESTFILES_eina-examples = "efl.manifest" + +eo-examples_files = "" +eo-examples_files += "${prefix}/share/eo/examples/*" +eo-examples_files += "${prefix}/lib/eo/examples/*" +MANIFESTFILES_eo-examples = "efl.manifest" + +eet-dev_files = "" +eet-dev_files += "${prefix}/include/eet-1/*.h" +eet-dev_files += "${prefix}/lib/libeet.so" +eet-dev_files += "${prefix}/lib/pkgconfig/eet*.pc" +eet-dev_files += "${prefix}/lib/cmake/Eet/*.cmake" +MANIFESTFILES_eet-dev = "efl.manifest" + +ephysics_files = "" +ephysics_files += "${prefix}/lib/libephysics.so.*" + +eeze-dev_files = "" +eeze-dev_files += "${prefix}/include/eeze-1/*.h" +eeze-dev_files += "${prefix}/lib/libeeze.so" +eeze-dev_files += "${prefix}/lib/pkgconfig/eeze*.pc" +eeze-dev_files += "${prefix}/lib/cmake/Eeze/*.cmake" +MANIFESTFILES_eeze-dev = "efl.manifest" + +efreet-dev_files = "" +efreet-dev_files += "${prefix}/include/efreet-1/*.h" +efreet-dev_files += "${prefix}/lib/libefreet.so" +efreet-dev_files += "${prefix}/lib/libefreet_mime.so" +efreet-dev_files += "${prefix}/lib/libefreet_trash.so" +efreet-dev_files += "${prefix}/lib/pkgconfig/efreet*.pc" +efreet-dev_files += "${prefix}/lib/cmake/Efreet/*.cmake" +MANIFESTFILES_efreet-dev = "efl.manifest" + +ecore-dev_files = "" +ecore-dev_files += "${prefix}/include/ecore*/*.h" +ecore-dev_files += "${prefix}/lib/libecore.so" +ecore-dev_files += "${prefix}/lib/libecore_audio.so" +ecore-dev_files += "${prefix}/lib/libecore_avahi.so" +ecore-dev_files += "${prefix}/lib/libecore_con.so" +ecore-dev_files += "${prefix}/lib/libecore_evas.so" +ecore-dev_files += "${prefix}/lib/libecore_file.so" +ecore-dev_files += "${prefix}/lib/libecore_imf.so" +ecore-dev_files += "${prefix}/lib/libecore_imf_evas.so" +ecore-dev_files += "${prefix}/lib/libecore_input.so" +ecore-dev_files += "${prefix}/lib/libecore_input_evas.so" +ecore-dev_files += "${prefix}/lib/libecore_ipc.so" +ecore-dev_files += "${prefix}/lib/libecore_wayland.so" +ecore-dev_files += "${prefix}/lib/pkgconfig/ecore*.pc" +ecore-dev_files += "${prefix}/lib/cmake/Ecore/*.cmake" +MANIFESTFILES_ecore-dev = "efl.manifest" + +eina-dev_files = "" +eina-dev_files += "${prefix}/include/eina-1/*.h" +eina-dev_files += "${prefix}/include/eina-1/eina/*" +eina-dev_files += "${prefix}/lib/libeina.so" +eina-dev_files += "${prefix}/lib/pkgconfig/eina*.pc" +eina-dev_files += "${prefix}/lib/cmake/Eina/*.cmake" +MANIFESTFILES_eina-dev = "efl.manifest" + +ethumb_files = "" +ethumb_files += "${prefix}/lib/libethumb.so.*" +ethumb_files += "${prefix}/lib/libethumb_client.so.*" +ethumb_files += "${prefix}/share/dbus-1/services/org.enlightenment.Ethumb.service" +ethumb_files += "${prefix}/share/ethumb/*" +ethumb_files += "${prefix}/share/ethumb_client/*" +ethumb_files += "${prefix}/lib/ethumb/modules/*/*/module.so" +ethumb_files += "${prefix}/lib/ethumb/modules/*/*/template.edj" +ethumb_files += "${prefix}/lib/ethumb_client/utils/*/ethumbd_slave" +ethumb_files += "${prefix}/bin/ethumb" +ethumb_files += "${prefix}/bin/ethumbd" +ethumb_files += "${prefix}/bin/ethumbd_client" +MANIFESTFILES_ethumb = "efl.manifest" + +evas-dev_files = "" +evas-dev_files += "${prefix}/include/evas-1/*.h" +evas-dev_files += "${prefix}/lib/libevas.so" +evas-dev_files += "${prefix}/lib/pkgconfig/evas*.pc" +evas-dev_files += "${prefix}/lib/cmake/Evas/*.cmake" +MANIFESTFILES_evas-dev = "efl.manifest" + +efl-data_files = "" +efl-data_files += "${prefix}/share/locale/*/*/*.mo" +efl-data_files += "${prefix}/include/efl-1/Efl_Config.h" +MANIFESTFILES_${PN}-data = "efl.manifest" + +evas_files = "" +evas_files += "${prefix}/bin/evas_cserve2_client" +evas_files += "${prefix}/bin/evas_cserve2_debug" +evas_files += "${prefix}/bin/evas_cserve2_shm_debug" +evas_files += "${prefix}/bin/evas_cserve2_usage" +evas_files += "${prefix}/lib/evas/modules/*/*/*/module.so" +evas_files += "${prefix}/lib/libevas.so.*" +evas_files += "${prefix}/lib/evas/cserve2" +evas_files += "${prefix}/share/evas/checkme" +MANIFESTFILES_evas = "efl.manifest" + +eeze_files = "" +eeze_files += "${prefix}/lib/libeeze.so.*" +eeze_files += "${prefix}/bin/eeze_disk_ls" +eeze_files += "${prefix}/bin/eeze_mount" +eeze_files += "${prefix}/bin/eeze_scanner" +eeze_files += "${prefix}/bin/eeze_umount" +eeze_files += "${prefix}/lib/eeze/modules/sensor/*/*/module.so" +eeze_files += "${prefix}/share/eeze/checkme" +MANIFESTFILES_eeze = "efl.manifest" + +ethumb-dev_files = "" +ethumb-dev_files += "${prefix}/include/ethumb-1/*.h" +ethumb-dev_files += "${prefix}/include/ethumb-client-1/*.h" +ethumb-dev_files += "${prefix}/lib/libethumb.so" +ethumb-dev_files += "${prefix}/lib/libethumb_client.so" +ethumb-dev_files += "${prefix}/lib/pkgconfig/ethumb*.pc" +ethumb-dev_files += "${prefix}/lib/cmake/Ethumb/*.cmake" +ethumb-dev_files += "${prefix}/lib/cmake/EthumbClient/*.cmake" +MANIFESTFILES_ethumb-dev = "efl.manifest" + +efreet_files = "" +efreet_files += "${prefix}/share/dbus-1/services/org.enlightenment.Efreet.service" +efreet_files += "${prefix}/bin/efreetd" +efreet_files += "${prefix}/lib/efreet/*/efreet_desktop_cache_create" +efreet_files += "${prefix}/lib/efreet/*/efreet_icon_cache_create" +efreet_files += "${prefix}/lib/libefreet.so.*" +efreet_files += "${prefix}/lib/libefreet_mime.so.*" +efreet_files += "${prefix}/lib/libefreet_trash.so.*" +efreet_files += "${prefix}/share/efreet/*" +MANIFESTFILES_efreet = "efl.manifest" + +eldbus-dev_files = "" +eldbus-dev_files += "${prefix}/lib/libeldbus.so" +eldbus-dev_files += "${prefix}/lib/pkgconfig/eldbus*.pc" +eldbus-dev_files += "${prefix}/include/eldbus*/*" +eldbus-dev_files += "${prefix}/lib/cmake/Eldbus/*.cmake" +MANIFESTFILES_eldbus-dev = "efl.manifest" + +eet-examples_files = "" +eet-examples_files += "${prefix}/share/eet/examples/*" +eet-examples_files += "${prefix}/lib/eet/examples/*" +MANIFESTFILES_eet-examples = "efl.manifest" + +embryo-dev_files = "" +embryo-dev_files += "${prefix}/include/embryo-1/*.h" +embryo-dev_files += "${prefix}/lib/libembryo.so" +embryo-dev_files += "${prefix}/lib/pkgconfig/embryo*.pc" +MANIFESTFILES_embryo-dev = "efl.manifest" + +ethumb-examples_files = "" +ethumb-examples_files += "${prefix}/share/ethumb_client/examples/*" +ethumb-examples_files += "${prefix}/lib/ethumb_client/examples/*" +MANIFESTFILES_ethumb-examples = "efl.manifest" + +eio-dev_files = "" +eio-dev_files += "${prefix}/include/eio-1/*" +eio-dev_files += "${prefix}/lib/libeio.so" +eio-dev_files += "${prefix}/lib/pkgconfig/eio*.pc" +MANIFESTFILES_eio-dev = "efl.manifest" + +ecore-examples_files = "" +ecore-examples_files += "${prefix}/share/ecore*/examples/*" +ecore-examples_files += "${prefix}/lib/ecore*/examples/*" +MANIFESTFILES_ecore-examples = "efl.manifest" + +ecore_files = "" +ecore_files += "${prefix}/lib/libecore.so.*" +ecore_files += "${prefix}/lib/libecore_avahi.so.*" +ecore_files += "${prefix}/lib/libecore_audio.so.*" +ecore_files += "${prefix}/lib/libecore_avahi.so.*" +ecore_files += "${prefix}/lib/libecore_con.so.*" +ecore_files += "${prefix}/lib/libecore_evas.so.*" +ecore_files += "${prefix}/lib/libecore_file.so.*" +ecore_files += "${prefix}/lib/libecore_imf.so.*" +ecore_files += "${prefix}/lib/libecore_imf_evas.so.*" +ecore_files += "${prefix}/lib/libecore_input.so.*" +ecore_files += "${prefix}/lib/libecore_input_evas.so.*" +ecore_files += "${prefix}/lib/libecore_ipc.so.*" +ecore_files += "${prefix}/lib/libecore_wayland.so.*" +ecore_files += "${prefix}/lib/ecore_evas/engines/*/*/module.so" +ecore_files += "${prefix}/lib/ecore_imf/modules/*/*/module.so" +ecore_files += "${prefix}/lib/ecore/system/tizen/*/module.so" +ecore_files += "${prefix}/lib/ecore/system/systemd/v-*/module.so" +ecore_files += "${prefix}/share/ecore/checkme" +ecore_files += "${prefix}/share/ecore_imf/checkme" +MANIFESTFILES_ecore = "efl.manifest" + +eldbus-examples_files = "" +eldbus-examples_files += "${prefix}/share/eldbus/examples/*" +eldbus-examples_files += "${prefix}/lib/eldbus/examples/*" +MANIFESTFILES_eldbus-examples = "efl.manifest" + +eo-dev_files = "" +eo-dev_files += "${prefix}/include/eo-1/*.h" +eo-dev_files += "${prefix}/lib/libeo.so" +eo-dev_files += "${prefix}/lib/pkgconfig/eo*.pc" +eo-dev_files += "${prefix}/share/eo/gdb/eo_gdb.py" +eo-dev_files += "${prefix}/share/gdb/auto-load/usr/lib*/*" +eo-dev_files += "${prefix}/lib/cmake/Eo/*.cmake" +MANIFESTFILES_eo-dev = "efl.manifest" + +embryo_files = "" +embryo_files += "${prefix}/bin/embryo_cc" +embryo_files += "${prefix}/lib/libembryo.so.*" +embryo_files += "${prefix}/share/embryo/include/default.inc" +MANIFESTFILES_embryo = "efl.manifest" + +eio-examples_files = "" +eio-examples_files += "${prefix}/share/eio/examples/*" +eio-examples_files += "${prefix}/lib/eio/examples/*" +MANIFESTFILES_eio-examples = "efl.manifest" + +eet-tools_files = "" +eet-tools_files += "${prefix}/bin/eet" +MANIFESTFILES_eet-tools = "efl.manifest" + +edje-dev_files = "" +edje-dev_files += "${prefix}/include/edje-1/*.h" +edje-dev_files += "${prefix}/lib/libedje.so" +edje-dev_files += "${prefix}/lib/pkgconfig/edje*.pc" +edje-dev_files += "${prefix}/lib/cmake/Edje/*.cmake" +MANIFESTFILES_edje-dev = "efl.manifest" + +edje-tools_files = "" +edje-tools_files += "${prefix}/bin/edje*" +edje-tools_files += "${prefix}/share/edje/data/*" +MANIFESTFILES_edje-tools = "efl.manifest" + +eet_files = "" +eet_files += "${prefix}/lib/libeet*.so.*" +MANIFESTFILES_eet = "efl.manifest" + +evas-examples_files = "" +evas-examples_files += "${prefix}/share/evas/examples/*" +evas-examples_files += "${prefix}/lib/evas/examples/*" +MANIFESTFILES_evas-examples = "efl.manifest" + +emotion-examples_files = "" +emotion-examples_files += "${prefix}/share/emotion/examples/*" +emotion-examples_files += "${prefix}/lib/emotion/examples/*" +MANIFESTFILES_emotion-examples = "efl.manifest" + +eldbus_files = "" +eldbus_files += "${prefix}/lib/libeldbus.so.*" +eldbus_files += "${prefix}/bin/eldbus*" +MANIFESTFILES_eldbus = "efl.manifest" + +edje-examples_files = "" +edje-examples_files += "${prefix}/share/edje/examples/*" +edje-examples_files += "${prefix}/lib/edje/examples/*" +MANIFESTFILES_edje-examples = "efl.manifest" + +eio_files = "" +eio_files += "${prefix}/lib/libeio.so.*" +MANIFESTFILES_eio = "efl.manifest" + +FILES_emotion = "${emotion_files}" +FILES_ephysics-examples = "${ephysics-examples_files}" +FILES_eo = "${eo_files}" +FILES_ephysics-dev = "${ephysics-dev_files}" +FILES_edje = "${edje_files}" +FILES_emotion-dev = "${emotion-dev_files}" +FILES_eina = "${eina_files}" +FILES_eina-examples = "${eina-examples_files}" +FILES_eo-examples = "${eo-examples_files}" +FILES_eet-dev = "${eet-dev_files}" +FILES_ephysics = "${ephysics_files}" +FILES_eeze-dev = "${eeze-dev_files}" +FILES_efreet-dev = "${efreet-dev_files}" +FILES_ecore-dev = "${ecore-dev_files}" +FILES_eina-dev = "${eina-dev_files}" +FILES_ethumb = "${ethumb_files}" +FILES_evas-dev = "${evas-dev_files}" +FILES_${PN}-data = "${efl-data_files}" +FILES_evas = "${evas_files}" +FILES_eeze = "${eeze_files}" +FILES_ethumb-dev = "${ethumb-dev_files}" +FILES_efreet = "${efreet_files}" +FILES_eldbus-dev = "${eldbus-dev_files}" +FILES_eet-examples = "${eet-examples_files}" +FILES_embryo-dev = "${embryo-dev_files}" +FILES_ethumb-examples = "${ethumb-examples_files}" +FILES_eio-dev = "${eio-dev_files}" +FILES_ecore-examples = "${ecore-examples_files}" +FILES_ecore = "${ecore_files}" +FILES_eldbus-examples = "${eldbus-examples_files}" +FILES_eo-dev = "${eo-dev_files}" +FILES_embryo = "${embryo_files}" +FILES_eio-examples = "${eio-examples_files}" +FILES_eet-tools = "${eet-tools_files}" +FILES_edje-dev = "${edje-dev_files}" +FILES_edje-tools = "${edje-tools_files}" +FILES_eet = "${eet_files}" +FILES_evas-examples = "${evas-examples_files}" +FILES_emotion-examples = "${emotion-examples_files}" +FILES_eldbus = "${eldbus_files}" +FILES_edje-examples = "${edje-examples_files}" +FILES_eio = "${eio_files}" + +PKG_emotion= "emotion" +PKG_ephysics-examples= "ephysics-examples" +PKG_eo= "eo" +PKG_ephysics-dev= "ephysics-dev" +PKG_edje= "edje" +PKG_emotion-dev= "emotion-dev" +PKG_eina= "eina" +PKG_eina-examples= "eina-examples" +PKG_eo-examples= "eo-examples" +PKG_eet-dev= "eet-dev" +PKG_ephysics= "ephysics" +PKG_eeze-dev= "eeze-dev" +PKG_efreet-dev= "efreet-dev" +PKG_ecore-dev= "ecore-dev" +PKG_eina-dev= "eina-dev" +PKG_ethumb= "ethumb" +PKG_evas-dev= "evas-dev" +PKG_efl-data= "efl-data" +PKG_evas= "evas" +PKG_eeze= "eeze" +PKG_ethumb-dev= "ethumb-dev" +PKG_efreet= "efreet" +PKG_eldbus-dev= "eldbus-dev" +PKG_eet-examples= "eet-examples" +PKG_embryo-dev= "embryo-dev" +PKG_ethumb-examples= "ethumb-examples" +PKG_eio-dev= "eio-dev" +PKG_ecore-examples= "ecore-examples" +PKG_ecore= "ecore" +PKG_eldbus-examples= "eldbus-examples" +PKG_eo-dev= "eo-dev" +PKG_embryo= "embryo" +PKG_eio-examples= "eio-examples" +PKG_eet-tools= "eet-tools" +PKG_edje-dev= "edje-dev" +PKG_edje-tools= "edje-tools" +PKG_eet= "eet" +PKG_evas-examples= "evas-examples" +PKG_emotion-examples= "emotion-examples" +PKG_eldbus= "eldbus" +PKG_edje-examples= "edje-examples" +PKG_eio= "eio" + +require efl-extraconf.inc + diff --git a/meta-tizen/recipes-tizen/efl/efl_git.bb b/meta-tizen/recipes-tizen/efl/efl_git.bb new file mode 100644 index 0000000..7333211 --- /dev/null +++ b/meta-tizen/recipes-tizen/efl/efl_git.bb @@ -0,0 +1,10 @@ +require efl.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/efl;tag=44c41170575d811cc18c8ea57de593f7f4c46129;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/meta-tizen/recipes-tizen/elementary/elementary-extraconf.inc b/meta-tizen/recipes-tizen/elementary/elementary-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/elementary/elementary.inc b/meta-tizen/recipes-tizen/elementary/elementary.inc new file mode 100644 index 0000000..9c96c4a --- /dev/null +++ b/meta-tizen/recipes-tizen/elementary/elementary.inc @@ -0,0 +1,151 @@ +DESCRIPTION = "EFL toolkit for small touchscreens" +HOMEPAGE = "http://trac.enlightenment.org/e/wiki/Elementary" +SECTION = "Graphics/EFL" +LICENSE = "LGPL-2.1+" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by elementary + + +#PROVIDES by elementary-tools + + +#PROVIDES by elementary-dev + + +#PROVIDES by elementary-examples + + +RDEPENDS = "" +#RDEPENDS of elementary-dev (${PN}-dev) +RDEPENDS_${PN}-dev += "elementary" + + +DEPENDS = "" +#DEPENDS of elementary +inherit pythonnative +DEPENDS += "edbus" +DEPENDS += "doxygen" +DEPENDS += "efl" +#Replace "DEPENDS" on gettext by "inherit gettext" +inherit gettext + +do_prep() { + cd ${S} + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/elementary.manifest . + + +} +do_patch_append() { + bb.build.exec_func('do_prep', d) +} + +do_configure() { +} + +do_compile() { + cd ${S} + LANG=C + export LANG + unset DISPLAY + LD_AS_NEEDED=1; export LD_AS_NEEDED ; + + + + + autotools_do_configure + + make ${PARALLEL_MAKE} + + + +} +EXTRA_OECONF += " --disable-static --enable-ecore-wayland --disable-ecore-x --disable-build-examples #eol" + +do_install() { + echo export RPM_BUILD_ROOT=${D} + cd ${S} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=${prefix}/bin \ + install + rm -f ${D}${infodir}/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + #find_lang elementary + + +} + +pkg_postinst_${PN}() { + #!/bin/sh -e + + [ "x\$D" == "x" ] && ldconfig +} + +pkg_postrm_${PN}() { + #!/bin/sh -e + + [ "x\$D" == "x" ] && ldconfig +} + +PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" +PACKAGES += " elementary-tools " +PACKAGES += " elementary " +PACKAGES += " elementary-dev " + +elementary-tools_files = "" +elementary-tools_files += "${prefix}/share/applications/*" +elementary-tools_files += "${prefix}/bin/elementary_config" +elementary-tools_files += "${prefix}/bin/elementary_test*" +elementary-tools_files += "${prefix}/bin/elementary_codegen" +elementary-tools_files += "${prefix}/bin/elm_prefs_cc" +MANIFESTFILES_${PN}-tools = "elementary.manifest" + +elementary_files = "" +elementary_files += "${prefix}/bin/elementary_quicklaunch" +elementary_files += "${prefix}/bin/elementary_run" +elementary_files += "${prefix}/lib/edje/*" +elementary_files += "${prefix}/lib/elementary/modules/*" +elementary_files += "${prefix}/lib/*.so.*" +elementary_files += "${prefix}/share/elementary/*" +elementary_files += "${prefix}/share/icons/elementary.png" +MANIFESTFILES_${PN} = "elementary.manifest" + +elementary-dev_files = "" +elementary-dev_files += "${prefix}/include/elementary-1/*.h" +elementary-dev_files += "${prefix}/lib/*.so" +elementary-dev_files += "${prefix}/lib/pkgconfig/*.pc" +elementary-dev_files += "${prefix}/lib/cmake/Elementary/ElementaryConfig.cmake" +elementary-dev_files += "${prefix}/lib/cmake/Elementary/ElementaryConfigVersion.cmake" +MANIFESTFILES_${PN}-dev = "elementary.manifest" + +FILES_${PN}-tools = "${elementary-tools_files}" +FILES_${PN} = "${elementary_files}" +FILES_${PN}-dev = "${elementary-dev_files}" + +PKG_elementary-tools= "elementary-tools" +PKG_elementary= "elementary" +PKG_elementary-dev= "elementary-dev" + +require elementary-extraconf.inc + diff --git a/meta-tizen/recipes-tizen/elementary/elementary_git.bb b/meta-tizen/recipes-tizen/elementary/elementary_git.bb new file mode 100644 index 0000000..3554486 --- /dev/null +++ b/meta-tizen/recipes-tizen/elementary/elementary_git.bb @@ -0,0 +1,10 @@ +require elementary.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/elementary;tag=b92b97d80f2bdc64be66c9b7d6c79a4cdd35e7bb;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/meta-tizen/recipes-tizen/gobject-introspection/files/remove_ir.patch b/meta-tizen/recipes-tizen/gobject-introspection/files/remove_ir.patch new file mode 100644 index 0000000..edd9904 --- /dev/null +++ b/meta-tizen/recipes-tizen/gobject-introspection/files/remove_ir.patch @@ -0,0 +1,21 @@ +diff --git a/Makefile.am b/Makefile.am +index 736f3ad..c70cdd3 100644 +--- a/Makefile.am ++++ b/Makefile.am +@@ -19,14 +19,14 @@ include Makefile-cmph.am + include Makefile-girepository.am + include Makefile-giscanner.am + include Makefile-examples.am +-include Makefile-gir.am ++ + include Makefile-tools.am + include Makefile-msvcproj.am + + ## Process this file with automake to produce Makefile.in + ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS} + +-SUBDIRS = . docs tests build ++SUBDIRS = . docs build + + DIST_SUBDIRS = m4 $(SUBDIRS) + DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc diff --git a/meta-tizen/recipes-tizen/gobject-introspection/gobject-introspection-extraconf.inc b/meta-tizen/recipes-tizen/gobject-introspection/gobject-introspection-extraconf.inc new file mode 100644 index 0000000..20d815c --- /dev/null +++ b/meta-tizen/recipes-tizen/gobject-introspection/gobject-introspection-extraconf.inc @@ -0,0 +1,33 @@ +# required for pythong binding +export HOST_SYS +export BUILD_SYS +export STAGING_LIBDIR +export STAGING_INCDIR + +SRC_URI += "file://remove_ir.patch" + +do_install() { + echo export RPM_BUILD_ROOT=${D} + cd ${S} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=${prefix}/bin \ + install + rm -f ${D}${infodir}/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + install -D ${S}/packaging/gi-find-deps.sh ${D}/usr/share/spec2yocto/macro/gi-find-deps.sh + install -D ${S}/packaging/gobjectintrospection.attr -m 0644 ${D}/usr/share/spec2yocto/macro/fileattrs/gobjectintrospection.attr + + + + +} \ No newline at end of file diff --git a/meta-tizen/recipes-tizen/gobject-introspection/gobject-introspection.inc b/meta-tizen/recipes-tizen/gobject-introspection/gobject-introspection.inc new file mode 100644 index 0000000..ce3eaf9 --- /dev/null +++ b/meta-tizen/recipes-tizen/gobject-introspection/gobject-introspection.inc @@ -0,0 +1,218 @@ +DESCRIPTION = "GObject Introspection Tools" +HOMEPAGE = "http://live.gnome.org/GObjectIntrospection" +SECTION = "Development/Libraries" +LICENSE = "LGPL-2.1+ and GPL-2.0+" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by gobject-introspection + + +#PROVIDES by gobject-introspection-dev + + +#PROVIDES by girepository + + +#PROVIDES by libgirepository + + +#PROVIDES by gobject-introspection-docs + + +RDEPENDS = "" +#RDEPENDS of gobject-introspection (${PN}) +RDEPENDS_${PN} += "python-xml" +RDEPENDS_${PN} += "libgirepository" + +#RDEPENDS of gobject-introspection-dev (${PN}-dev) +RDEPENDS_${PN}-dev += "libffi" +RDEPENDS_${PN}-dev += "gobject-introspection" + +#RDEPENDS of girepository (girepository) +RDEPENDS_girepository += "libgirepository" + +#RDEPENDS of libgirepository (libgirepository) +RDEPENDS_libgirepository += "girepository" + + +DEPENDS = "" +#DEPENDS of gobject-introspection +DEPENDS += "flex" +inherit pythonnative +DEPENDS += "cairo" +DEPENDS += "python-xml" +DEPENDS_append_class-native = " libtool" +DEPENDS_append_class-target = " libtool-cross" +DEPENDS += "libffi" +DEPENDS_append_class-native = " bison-native" +DEPENDS_append_class-target = " bison-native" +DEPENDS_append_class-native = " fdupes-native" +DEPENDS_append_class-target = " fdupes-native" + +do_prep() { + cd ${S} + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/gobject-introspection.manifest . + + +} +do_patch_append() { + bb.build.exec_func('do_prep', d) +} + +do_configure() { +} + +do_compile() { + cd ${S} + LANG=C + export LANG + unset DISPLAY + LD_AS_NEEDED=1; export LD_AS_NEEDED ; + + [ -x ./autogen.sh ] && NOCONFIGURE=1 ./autogen.sh + #autoreconf -fi + + autotools_do_configure + oe_runmake ${PARALLEL_MAKE} V=1 + + + +} +EXTRA_OECONF += " --disable-gtk-doc " + +do_install() { + echo export RPM_BUILD_ROOT=${D} + cd ${S} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=${prefix}/bin \ + install + rm -f ${D}${infodir}/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + install -D ${S}/packaging/gi-find-deps.sh ${D}/usr/share/spec2yocto/macro/gi-find-deps.sh + install -D ${S}/packaging/gobjectintrospection.attr -m 0644 ${D}/usr/share/spec2yocto/macro/fileattrs/gobjectintrospection.attr + # comparing, if we provide all the symbols expected. + ls ${D}${prefix}/lib/girepository-1.0/*.typelib | sh ${S}/packaging/gi-find-deps.sh -P > gobject-introspection-typelib.installed + diff -s ${S}/packaging/gobject-introspection-typelib.template gobject-introspection-typelib.installed + + _target=""; + _symlinks=0; + + fdupes -q -n -r ${D} | + while read _file; do + if test -z "$_target" ; then + _target="$_file"; + else + if test -z "$_file" ; then + _target=""; + continue ; + fi ; + if test "$_symlinks" = 1; then + ln -sf "${_target#${D}}" "$_file"; + else + ln -f "$_target" "$_file"; + fi ; + fi ; + done + + + +} + +pkg_postinst_libgirepository() { + #!/bin/sh -e + + [ "x\$D" == "x" ] && ldconfig +} + +pkg_postrm_libgirepository() { + #!/bin/sh -e + + [ "x\$D" == "x" ] && ldconfig +} + +PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" +PACKAGES += " gobject-introspection " +PACKAGES += " gobject-introspection-dev " +PACKAGES += " girepository " +PACKAGES += " libgirepository " +PACKAGES += " gobject-introspection-docs " + +gobject-introspection_files = "" +gobject-introspection_files += "LGPL-2.1+ COPYING COPYING.GPL" +gobject-introspection_files += "${prefix}/bin/g-ir-annotation-tool" +gobject-introspection_files += "${prefix}/bin/g-ir-compiler" +gobject-introspection_files += "${prefix}/bin/g-ir-dep-tool" +gobject-introspection_files += "${prefix}/bin/g-ir-generate" +gobject-introspection_files += "${prefix}/bin/g-ir-scanner" +gobject-introspection_files += "${prefix}/share/aclocal/introspection.m4" +gobject-introspection_files += "${prefix}/share/gir-1.0/*.gir" +gobject-introspection_files += "${prefix}/lib/gobject-introspection" +gobject-introspection_files += "${prefix}/lib/gobject-introspection/giscanner/" +gobject-introspection_files += "${prefix}/share/gobject-introspection-1.0" +gobject-introspection_files += "${prefix}/share/gobject-introspection-1.0/Makefile.introspection" +gobject-introspection_files += "${prefix}/share/gobject-introspection-1.0/tests/" +gobject-introspection_files += "${prefix}/share/gobject-introspection-1.0/gdump.c" +gobject-introspection_files += "/usr/share/spec2yocto/macro/gi-find-deps.sh" +gobject-introspection_files += "/usr/share/spec2yocto/macro/fileattrs/gobjectintrospection.attr" +MANIFESTFILES_${PN} = "gobject-introspection.manifest" +DIRFILES_${PN} = "" +DIRFILES_${PN} += "${prefix}/lib/gobject-introspection" +DIRFILES_${PN} += "${prefix}/share/gobject-introspection-1.0" + +gobject-introspection-dev_files = "" +gobject-introspection-dev_files += "${prefix}/include/gobject-introspection-1.0/" +gobject-introspection-dev_files += "${prefix}/lib/libgirepository-1.0.so" +gobject-introspection-dev_files += "${prefix}/lib/pkgconfig/gobject-introspection-1.0.pc" +gobject-introspection-dev_files += "${prefix}/lib/pkgconfig/gobject-introspection-no-export-1.0.pc" +MANIFESTFILES_${PN}-dev = "gobject-introspection.manifest" + +girepository_files = "" +girepository_files += "${prefix}/lib/girepository-1.0/*.typelib" +MANIFESTFILES_girepository = "gobject-introspection.manifest" + +libgirepository_files = "" +libgirepository_files += "COPYING.LGPL" +libgirepository_files += "${prefix}/share/gir-1.0" +libgirepository_files += "${prefix}/lib/libgirepository-1.0.so.*" +libgirepository_files += "${prefix}/lib/girepository-1.0" +MANIFESTFILES_libgirepository = "gobject-introspection.manifest" +DIRFILES_libgirepository = "" +DIRFILES_libgirepository += "${prefix}/share/gir-1.0" +DIRFILES_libgirepository += "${prefix}/lib/girepository-1.0" + +gobject-introspection-docs_files = "" + +FILES_${PN} = "${gobject-introspection_files}" +FILES_${PN}-dev = "${gobject-introspection-dev_files}" +FILES_girepository = "${girepository_files}" +FILES_libgirepository = "${libgirepository_files}" +FILES_${PN}-docs = "${gobject-introspection-docs_files}" + +PKG_gobject-introspection= "gobject-introspection" +PKG_gobject-introspection-dev= "gobject-introspection-dev" +PKG_girepository= "girepository" +PKG_libgirepository= "libgirepository" +PKG_gobject-introspection-docs= "gobject-introspection-docs" + +require gobject-introspection-extraconf.inc + diff --git a/meta-tizen/recipes-tizen/gobject-introspection/gobject-introspection_git.bb b/meta-tizen/recipes-tizen/gobject-introspection/gobject-introspection_git.bb new file mode 100644 index 0000000..ed2183e --- /dev/null +++ b/meta-tizen/recipes-tizen/gobject-introspection/gobject-introspection_git.bb @@ -0,0 +1,10 @@ +require gobject-introspection.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/gobject-introspection;tag=6c15fe2f7415421fd1d38d03d8865c0e3e4c9967;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/meta-tizen/recipes-tizen/ibus/files/Remove_vala_test.patch b/meta-tizen/recipes-tizen/ibus/files/Remove_vala_test.patch new file mode 100644 index 0000000..8cd7cf9 --- /dev/null +++ b/meta-tizen/recipes-tizen/ibus/files/Remove_vala_test.patch @@ -0,0 +1,17 @@ +diff --git a/Makefile.am b/Makefile.am +index 54cdb01..e36f388 100644 +--- a/Makefile.am ++++ b/Makefile.am +@@ -50,12 +50,10 @@ SUBDIRS = \ + util \ + conf \ + client \ +- tools \ + data \ + m4 \ + po \ + docs \ +- $(ENGINE_DIR) \ + $(UI_DIR) \ + $(DAEMON_DIR) \ + $(PYTHON_LIB_DIRS) \ diff --git a/meta-tizen/recipes-tizen/ibus/ibus-extraconf.inc b/meta-tizen/recipes-tizen/ibus/ibus-extraconf.inc new file mode 100644 index 0000000..b598a7c --- /dev/null +++ b/meta-tizen/recipes-tizen/ibus/ibus-extraconf.inc @@ -0,0 +1,7 @@ +EXTRA_OECONF += " --disable-introspection " + +DEPENDS_append_class-target = " vala-native " + +SRC_URI += " file://Remove_vala_test.patch " + +FILES_${PN} += "/usr/lib/ibus/ibus-wayland" \ No newline at end of file diff --git a/meta-tizen/recipes-tizen/ibus/ibus.inc b/meta-tizen/recipes-tizen/ibus/ibus.inc new file mode 100644 index 0000000..0926493 --- /dev/null +++ b/meta-tizen/recipes-tizen/ibus/ibus.inc @@ -0,0 +1,199 @@ +DESCRIPTION = "Intelligent Input Bus for Linux OS" +HOMEPAGE = "http://nohomepage.org" +SECTION = "System/Libraries" +LICENSE = "LGPL-2.0+" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by ibus-dev + + +#PROVIDES by ibus-libs + + +#PROVIDES by ibus + + +RDEPENDS = "" +#RDEPENDS of ibus-dev (${PN}-dev) +RDEPENDS_${PN}-dev += "dbus" +RDEPENDS_${PN}-dev += "ibus-libs" +RDEPENDS_${PN}-dev += "ibus" +RDEPENDS_${PN}-dev += "glib-2.0" + +#RDEPENDS of ibus-libs (${PN}-libs) +RDEPENDS_${PN}-libs += "dbus" + +#RDEPENDS of ibus (${PN}) +RDEPENDS_${PN} += "ibus-libs" +RDEPENDS_${PN} += "python-pygobject" +RDEPENDS_${PN} += "dbus-python" +RDEPENDS_${PN} += "iso-codes" + + +DEPENDS = "" +#DEPENDS of ibus +DEPENDS_append_class-native = " intltool-native" +DEPENDS_append_class-target = " intltool-native" +DEPENDS += "python-pygobject" +DEPENDS += "iso-codes" +inherit pythonnative +DEPENDS += "vala" +DEPENDS += "libxkbcommon" +#Replace "DEPENDS" on gettext by "inherit gettext" +inherit gettext +DEPENDS += "wayland" +DEPENDS_append_class-native = " libtool" +DEPENDS_append_class-target = " libtool-cross" +DEPENDS += "gtk-doc-stub" +DEPENDS += "dbus-python" +DEPENDS += "dbus-glib" + +do_prep() { + cd ${S} + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/ibus.manifest . + + +} +do_patch_append() { + bb.build.exec_func('do_prep', d) +} + +do_configure() { +} + +do_compile() { + cd ${S} + LANG=C + export LANG + unset DISPLAY + LD_AS_NEEDED=1; export LD_AS_NEEDED ; + + + autotools_do_configure + + oe_runmake ${PARALLEL_MAKE} + + + +} +EXTRA_OECONF += " --disable-static --disable-tests --disable-gtk2 --disable-gtk3 --disable-xim --enable-wayland --disable-vala --disable-gtk-doc --disable-gconf --disable-setup --disable-dconf --enable-python-library --disable-ui --disable-libnotify --enable-introspection" + +do_install() { + echo export RPM_BUILD_ROOT=${D} + cd ${S} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + rm -rf ${D} + make DESTDIR=${D} install + rm -f ${D}${prefix}/lib/libibus-1.0.la + + rm -fr ${D}${prefix}/share/gtk-doc + + #find_lang ibus10 + + +} + +pkg_postinst_${PN}() { + #!/bin/sh -e + + [ "x\$D" == "x" ] && ldconfig +} + +pkg_postinst_${PN}() { + #!/bin/sh -e + + # create registry cache + [ -x $D${prefix}/bin/ibus ] && \ + $D${prefix}/bin/ibus write-cache --system &>/dev/null || : + +} + +pkg_postinst_${PN}() { + #!/bin/sh -e + + # recreate icon cache + touch --no-create $D${prefix}/share/icons/hicolor || : + [ -x $D${prefix}/bin/gtk-update-icon-cache ] && \ + $D${prefix}/bin/gtk-update-icon-cache --quiet $D${prefix}/share/icons/hicolor || : + +} + +pkg_postrm_${PN}() { + #!/bin/sh -e + + # recreate icon cache + touch --no-create $D${prefix}/share/icons/hicolor || : + [ -x $D${prefix}/bin/gtk-update-icon-cache ] && \ + $D${prefix}/bin/gtk-update-icon-cache --quiet $D${prefix}/share/icons/hicolor || : + # 'ibus write-cache --system' updates the system cache. + [ -f /var/cache/ibus/bus/registry ] && \ + rm /var/cache/ibus/bus/registry || : + +} + +pkg_postrm_${PN}() { + #!/bin/sh -e + + [ "x\$D" == "x" ] && ldconfig +} + +PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" +PACKAGES += " ibus-dev " +PACKAGES += " ibus-libs " +PACKAGES += " ibus " + +ibus-dev_files = "" +ibus-dev_files += "${prefix}/lib/lib*.so" +ibus-dev_files += "${prefix}/lib/pkgconfig/*" +ibus-dev_files += "${prefix}/include/*" +ibus-dev_files += "${prefix}/share/gir-1.0/IBus-1.0.gir" +MANIFESTFILES_${PN}-dev = "ibus.manifest" + +ibus-libs_files = "" +ibus-libs_files += "${prefix}/lib/libibus-1.0.so.*" +ibus-libs_files += "${prefix}/lib/girepository-1.0/IBus-1.0.typelib" +MANIFESTFILES_${PN}-libs = "ibus.manifest" + +ibus_files = "" +ibus_files += "AUTHORS COPYING README" +ibus_files += "${prefix}/lib/python2.7/site-packages/ibus" +ibus_files += "${prefix}/lib/python2.7/site-packages/ibus/*" +ibus_files += "${prefix}/share/ibus/" +ibus_files += "${prefix}/bin/ibus" +ibus_files += "${prefix}/bin/ibus-daemon" +ibus_files += "${prefix}/share/ibus/keymaps/*" +ibus_files += "${prefix}/share/icons/hicolor/*/apps/*" +ibus_files += "${prefix}/libexec/*" +ibus_files += "${prefix}/share/ibus/component/simple.xml" +ibus_files += "${prefix}/share/bash-completion/completions/ibus.bash" +ibus_files += "${prefix}/share/man/man1/*" +MANIFESTFILES_${PN} = "ibus.manifest" +DIRFILES_${PN} = "" +DIRFILES_${PN} += "${prefix}/lib/python2.7/site-packages/ibus" +DIRFILES_${PN} += "${prefix}/share/ibus/" + +FILES_${PN}-dev = "${ibus-dev_files}" +FILES_${PN}-libs = "${ibus-libs_files}" +FILES_${PN} = "${ibus_files}" + +PKG_ibus-dev= "ibus-dev" +PKG_ibus-libs= "ibus-libs" +PKG_ibus= "ibus" + +require ibus-extraconf.inc + diff --git a/meta-tizen/recipes-tizen/ibus/ibus_git.bb b/meta-tizen/recipes-tizen/ibus/ibus_git.bb new file mode 100644 index 0000000..532f34d --- /dev/null +++ b/meta-tizen/recipes-tizen/ibus/ibus_git.bb @@ -0,0 +1,10 @@ +require ibus.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/ibus;tag=87fae7bdb68169124c816704ad91ccc94ab7b1d4;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/meta-tizen/recipes-tizen/libbullet/libbullet-extraconf.inc b/meta-tizen/recipes-tizen/libbullet/libbullet-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/libbullet/libbullet.inc b/meta-tizen/recipes-tizen/libbullet/libbullet.inc new file mode 100644 index 0000000..d5b2d0a --- /dev/null +++ b/meta-tizen/recipes-tizen/libbullet/libbullet.inc @@ -0,0 +1,132 @@ +DESCRIPTION = "Bullet Continuous Collision Detection and Physics Library" +HOMEPAGE = "http://nohomepage.org" +SECTION = "System/Libraries" +LICENSE = "Zlib" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by bullet-dev + + +#PROVIDES by libbullet + + +#PROVIDES by bullet + + +RDEPENDS = "" +#RDEPENDS of bullet-dev (bullet-dev) +RDEPENDS_bullet-dev += "libbullet" + + +DEPENDS = "" +#DEPENDS of bullet +DEPENDS_append_class-native = " cmake-native" +DEPENDS_append_class-target = " cmake-native" + +do_prep() { + cd ${S} + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/bullet.manifest . + + +} +do_patch_append() { + bb.build.exec_func('do_prep', d) +} + +do_configure() { +} + +do_compile() { + cd ${S} + LANG=C + export LANG + unset DISPLAY + LD_AS_NEEDED=1; export LD_AS_NEEDED ; + + + + cmake \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DCMAKE_INSTALL_PREFIX:PATH=${prefix} \ + -DCMAKE_INSTALL_LIBDIR:PATH=${prefix}/lib \ + -DINCLUDE_INSTALL_DIR:PATH=${prefix}/include \ + -DLIB_INSTALL_DIR:PATH=${prefix}/lib \ + -DSYSCONF_INSTALL_DIR:PATH=${sysconfdir} \ + -DSHARE_INSTALL_PREFIX:PATH=${prefix}/share \ + -DCMAKE_SKIP_RPATH:BOOL=ON \ + -DBUILD_SHARED_LIBS:BOOL=ON \ + ${EXTRA_OECMAKE} . -G "Unix Makefiles" -DBUILD_SHARED_LIBS=ON -DBUILD_EXTRAS=OFF -DBUILD_DEMOS=OFF -DBUILD_CPU_DEMOS=OFF -DUSE_GRAPHICAL_BENCHMARK=OFF -DCMAKE_INSTALL_PREFIX=/usr -DUSE_GLUT=OFF + + make + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + cd ${S} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=${prefix}/bin \ + install + rm -f ${D}${infodir}/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + +} + +pkg_postinst_libbullet() { + #!/bin/sh -e + + [ "x\$D" == "x" ] && ldconfig +} + +pkg_postrm_libbullet() { + #!/bin/sh -e + + [ "x\$D" == "x" ] && ldconfig +} + +PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" +PACKAGES += " bullet-dev " +PACKAGES += " libbullet " + +bullet-dev_files = "" +bullet-dev_files += "${prefix}/include/*" +bullet-dev_files += "${prefix}/lib/*.so" +bullet-dev_files += "${prefix}/lib/pkgconfig/*" +MANIFESTFILES_bullet-dev = "bullet.manifest" + +libbullet_files = "" +libbullet_files += "${prefix}/lib/*.so.2.81" +libbullet_files += "" +MANIFESTFILES_${PN} = "bullet.manifest" + +FILES_bullet-dev = "${bullet-dev_files}" +FILES_${PN} = "${libbullet_files}" + +PKG_bullet-dev= "bullet-dev" +PKG_libbullet= "libbullet" + +require libbullet-extraconf.inc + diff --git a/meta-tizen/recipes-tizen/libbullet/libbullet_git.bb b/meta-tizen/recipes-tizen/libbullet/libbullet_git.bb new file mode 100644 index 0000000..2b4a243 --- /dev/null +++ b/meta-tizen/recipes-tizen/libbullet/libbullet_git.bb @@ -0,0 +1,10 @@ +require libbullet.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/libbullet;tag=03875b02d03ae029f38cb35dc90ee3ff6d5fe696;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/meta-tizen/recipes-tizen/libtbm/libtbm-extraconf.inc b/meta-tizen/recipes-tizen/libtbm/libtbm-extraconf.inc new file mode 100644 index 0000000..e69de29 diff --git a/meta-tizen/recipes-tizen/libtbm/libtbm.inc b/meta-tizen/recipes-tizen/libtbm/libtbm.inc new file mode 100644 index 0000000..8be2392 --- /dev/null +++ b/meta-tizen/recipes-tizen/libtbm/libtbm.inc @@ -0,0 +1,131 @@ +DESCRIPTION = "Tizen Buffer Manager Library" +HOMEPAGE = "http://nohomepage.org" +SECTION = "System/Libraries" +LICENSE = "MIT" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by libtbm + + +#PROVIDES by libtbm-dev + + +RDEPENDS = "" +#RDEPENDS of libtbm-dev (${PN}-dev) +RDEPENDS_${PN}-dev += "libtbm" +RDEPENDS_${PN}-dev += "libdrm" + + +DEPENDS = "" +#DEPENDS of libtbm +DEPENDS += "libdrm" +DEPENDS += "libpthread-stubs" + +do_prep() { + cd ${S} + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/libtbm.manifest . + + +} +do_patch_append() { + bb.build.exec_func('do_prep', d) +} + +do_configure() { +} + +do_compile() { + cd ${S} + LANG=C + export LANG + unset DISPLAY + LD_AS_NEEDED=1; export LD_AS_NEEDED ; + + + + autotools_do_configure + + make ${PARALLEL_MAKE} + + + +} +EXTRA_OECONF += " --prefix=${prefix} CFLAGS="${CFLAGS} -Wall -Werror" LDFLAGS="${LDFLAGS} -Wl,--hash-style=both -Wl,--as-needed"" + +do_install() { + echo export RPM_BUILD_ROOT=${D} + cd ${S} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + rm -rf ${D} + mkdir -p ${D}/usr/share/license + cp -af COPYING ${D}/usr/share/license/libtbm + + oe_runmake \ + DESTDIR=${D} \ + INSTALL_ROOT=${D} \ + BINDIR=${prefix}/bin \ + install + rm -f ${D}${infodir}/dir + find ${D} -regex ".*\.la$" | xargs rm -f -- + find ${D} -regex ".*\.a$" | xargs rm -f -- + + + +} + +pkg_postinst_${PN}() { + #!/bin/sh -e + + [ "x\$D" == "x" ] && ldconfig +} + +pkg_postrm_${PN}() { + #!/bin/sh -e + + [ "x\$D" == "x" ] && ldconfig +} + +PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" +PACKAGES += " libtbm " +PACKAGES += " libtbm-dev " + +libtbm_files = "" +libtbm_files += "/usr/share/license/libtbm" +libtbm_files += "${prefix}/lib/libtbm.so.*" +libtbm_files += "${prefix}/lib/libdrm_slp.so.*" +MANIFESTFILES_${PN} = "libtbm.manifest" + +libtbm-dev_files = "" +libtbm-dev_files += "${prefix}/include" +libtbm-dev_files += "${prefix}/include/tbm_bufmgr.h" +libtbm-dev_files += "${prefix}/include/tbm_bufmgr_backend.h" +libtbm-dev_files += "${prefix}/lib/libtbm.so" +libtbm-dev_files += "${prefix}/lib/libdrm_slp.so" +libtbm-dev_files += "${prefix}/lib/pkgconfig/libtbm.pc" +MANIFESTFILES_${PN}-dev = "libtbm.manifest" +DIRFILES_${PN}-dev = "" +DIRFILES_${PN}-dev += "${prefix}/include" + +FILES_${PN} = "${libtbm_files}" +FILES_${PN}-dev = "${libtbm-dev_files}" + +PKG_libtbm= "libtbm" +PKG_libtbm-dev= "libtbm-dev" + +require libtbm-extraconf.inc + diff --git a/meta-tizen/recipes-tizen/libtbm/libtbm_git.bb b/meta-tizen/recipes-tizen/libtbm/libtbm_git.bb new file mode 100644 index 0000000..362ce12 --- /dev/null +++ b/meta-tizen/recipes-tizen/libtbm/libtbm_git.bb @@ -0,0 +1,10 @@ +require libtbm.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/uifw/libtbm;tag=ae239898e9e011b8893c739e850c3ba3f1b76815;nobranch=1" + +BBCLASSEXTEND += " native " + -- 2.7.4