From 1b8dfe266937a37a4c642f96ceb2347bf4c00a17 Mon Sep 17 00:00:00 2001 From: Tudor Florea Date: Fri, 10 Oct 2014 03:20:04 +0200 Subject: initial commit for Enea Linux 4.0-140929 Migrated from the internal git server on the daisy-enea-point-release branch Signed-off-by: Tudor Florea --- meta-efl/COPYING.MIT | 17 ++ meta-efl/README | 17 ++ meta-efl/classes/e-base.bbclass | 14 ++ meta-efl/classes/e.bbclass | 22 ++ meta-efl/classes/efl.bbclass | 61 +++++ .../conf/distro/include/efl-from-svn-recipes.inc | 43 ++++ meta-efl/conf/layer.conf | 13 + meta-efl/recipes-core/meta/meta-toolchain-efl.bb | 6 + meta-efl/recipes-devtools/python/python-edbus.inc | 50 ++++ .../recipes-devtools/python/python-edbus_1.7.0.bb | 6 + meta-efl/recipes-devtools/python/python-efl.inc | 70 ++++++ .../recipes-devtools/python/python-efl_1.9.0.bb | 4 + meta-efl/recipes-efl/e17/cpu_svn.bb | 8 + meta-efl/recipes-efl/e17/diskio_svn.bb | 8 + meta-efl/recipes-efl/e17/e-module.inc | 19 ++ .../0001-dbus-stuff-Convert-to-eldbus.patch | 204 ++++++++++++++++ meta-efl/recipes-efl/e17/e-tasks_git.bb | 32 +++ meta-efl/recipes-efl/e17/e-wm-theme-b-and-w_svn.bb | 31 +++ .../e17/e-wm-theme-illume-efenniht/LICENSE | 25 ++ .../e17/e-wm-theme-illume-efenniht_svn.bb | 35 +++ meta-efl/recipes-efl/e17/e-wm.inc | 195 +++++++++++++++ meta-efl/recipes-efl/e17/e-wm/applications.menu | 105 ++++++++ .../recipes-efl/e17/e-wm/enlightenment_start.oe | 9 + meta-efl/recipes-efl/e17/e-wm_0.18.7.bb | 20 ++ meta-efl/recipes-efl/e17/edje-viewer_svn.bb | 16 ++ meta-efl/recipes-efl/e17/elfe_git.bb | 15 ++ meta-efl/recipes-efl/e17/elmdentica_svn.bb | 23 ++ ...position-as-percent-and-define-a-1-second.patch | 133 +++++++++++ meta-efl/recipes-efl/e17/enjoy_git.bb | 47 ++++ meta-efl/recipes-efl/e17/ephoto_svn.bb | 14 ++ ...me-updated-for-Openmoko-Freerunner-screen.patch | 102 ++++++++ .../e17/eve/0002-adapt-to-webkit-efl-changes.patch | 109 +++++++++ meta-efl/recipes-efl/e17/eve_git.bb | 34 +++ meta-efl/recipes-efl/e17/exalt-client_svn.bb | 25 ++ meta-efl/recipes-efl/e17/exalt_svn.bb | 34 +++ meta-efl/recipes-efl/e17/exquisite-theme-illume.bb | 35 +++ .../recipes-efl/e17/exquisite-theme-illume/LICENSE | 25 ++ meta-efl/recipes-efl/e17/exquisite/exquisite-init | 40 ++++ meta-efl/recipes-efl/e17/exquisite/splashfuncs | 29 +++ meta-efl/recipes-efl/e17/exquisite_svn.bb | 41 ++++ meta-efl/recipes-efl/e17/flame_svn.bb | 16 ++ meta-efl/recipes-efl/e17/forecasts_svn.bb | 12 + ...file-update-KEYBOARDS_DIR-for-new-illume2.patch | 23 ++ .../recipes-efl/e17/illume-keyboards-shr/LICENSE | 25 ++ .../recipes-efl/e17/illume-keyboards-shr_git.bb | 98 ++++++++ meta-efl/recipes-efl/e17/nonworking/emprint_svn.bb | 12 + meta-efl/recipes-efl/e17/nonworking/news_svn.bb | 12 + meta-efl/recipes-efl/e17/nonworking/rage_svn.bb | 13 + .../screenshot/screenshot-fix-mkinstalldirs.patch | 23 ++ .../recipes-efl/e17/nonworking/screenshot_svn.bb | 16 ++ meta-efl/recipes-efl/e17/places_svn.bb | 14 ++ meta-efl/recipes-efl/e17/rain_svn.bb | 17 ++ meta-efl/recipes-efl/e17/terminology.inc | 22 ++ meta-efl/recipes-efl/e17/terminology_0.4.0.bb | 8 + meta-efl/recipes-efl/e17/terminology_svn.bb | 9 + meta-efl/recipes-efl/e17/uptime_svn.bb | 12 + ...e-old-ecore_string_init-and-ecore_string_.patch | 54 +++++ meta-efl/recipes-efl/efl/azy_svn.bb | 32 +++ .../recipes-efl/efl/e-wm-illume-dict-pl_git.bb | 18 ++ .../efl/ecore/fix-ecore-fb-initialization.patch | 41 ++++ meta-efl/recipes-efl/efl/edb_svn.bb | 16 ++ meta-efl/recipes-efl/efl/edbus.inc | 29 +++ meta-efl/recipes-efl/efl/edbus_1.7.9.bb | 8 + meta-efl/recipes-efl/efl/edje-fpu.inc | 6 + meta-efl/recipes-efl/efl/efl.inc | 266 +++++++++++++++++++++ ...igure.ac-Don-t-check-for-Xprint-extension.patch | 27 +++ meta-efl/recipes-efl/efl/efl_1.9.3.bb | 17 ++ .../efl/elementary-theme-efenniht/LICENSE | 25 ++ .../efl/elementary-theme-efenniht_svn.bb | 38 +++ meta-efl/recipes-efl/efl/elementary.inc | 79 ++++++ ...e-elementary_codegen-defined-in-configure.patch | 29 +++ meta-efl/recipes-efl/efl/elementary_1.9.3.bb | 12 + .../recipes-efl/efl/emotion-generic-players.inc | 14 ++ .../efl/emotion-generic-players_1.9.0.bb | 8 + meta-efl/recipes-efl/efl/engrave_svn.bb | 11 + ...am-use-common-auth-instead-of-system-auth.patch | 26 ++ meta-efl/recipes-efl/efl/entrance/entrance.service | 8 + meta-efl/recipes-efl/efl/entrance_svn.bb | 41 ++++ meta-efl/recipes-efl/efl/epdf_svn.bb | 25 ++ meta-efl/recipes-efl/efl/epeg_svn.bb | 12 + meta-efl/recipes-efl/efl/evas-generic-loaders.inc | 70 ++++++ .../recipes-efl/efl/evas-generic-loaders_1.9.0.bb | 8 + meta-efl/recipes-efl/efl/expedite.inc | 31 +++ meta-efl/recipes-efl/efl/expedite_1.7.9.bb | 8 + meta-efl/recipes-efl/efl/expedite_git.bb | 11 + meta-efl/recipes-efl/efl/imlib2_svn.bb | 42 ++++ .../efl/libeflvala/disable.eina.test.patch | 44 ++++ meta-efl/recipes-efl/efl/libeflvala_svn.bb | 21 ++ meta-efl/recipes-efl/efl/libeweather_svn.bb | 46 ++++ .../packagegroups/packagegroup-efl-sdk.bb | 20 ++ .../packagegroups/packagegroup-efl-sdk.inc | 12 + .../packagegroup-efl-standalone-sdk-target.bb | 20 ++ .../packagegroups/packagegroup-x11-illume.bb | 24 ++ meta-efl/recipes-efl/webkit/webkit-efl.inc | 67 ++++++ ...KitHelpers.cmake-Add-Wno-error-cast-align.patch | 30 +++ ...r.h-Don-t-generate-BKPT-and-BLX-for-armv4.patch | 80 +++++++ .../webkit/webkit-efl/0003-Fix-linking-issue.patch | 63 +++++ .../recipes-efl/webkit/webkit-efl/CMakeLists.txt | 166 +++++++++++++ .../webkit/webkit-efl_2.3.4+svnr164189.bb | 12 + meta-efl/recipes-efl/webkit/webkit-efl_svn.bb | 22 ++ .../lightmediascanner/lightmediascanner_0.4.4.bb | 39 +++ meta-efl/recipes-navigation/mcnavi/mcnavi_0.3.4.bb | 13 + 102 files changed, 3759 insertions(+) create mode 100644 meta-efl/COPYING.MIT create mode 100644 meta-efl/README create mode 100644 meta-efl/classes/e-base.bbclass create mode 100644 meta-efl/classes/e.bbclass create mode 100644 meta-efl/classes/efl.bbclass create mode 100644 meta-efl/conf/distro/include/efl-from-svn-recipes.inc create mode 100644 meta-efl/conf/layer.conf create mode 100644 meta-efl/recipes-core/meta/meta-toolchain-efl.bb create mode 100644 meta-efl/recipes-devtools/python/python-edbus.inc create mode 100644 meta-efl/recipes-devtools/python/python-edbus_1.7.0.bb create mode 100644 meta-efl/recipes-devtools/python/python-efl.inc create mode 100644 meta-efl/recipes-devtools/python/python-efl_1.9.0.bb create mode 100644 meta-efl/recipes-efl/e17/cpu_svn.bb create mode 100644 meta-efl/recipes-efl/e17/diskio_svn.bb create mode 100644 meta-efl/recipes-efl/e17/e-module.inc create mode 100644 meta-efl/recipes-efl/e17/e-tasks/0001-dbus-stuff-Convert-to-eldbus.patch create mode 100644 meta-efl/recipes-efl/e17/e-tasks_git.bb create mode 100644 meta-efl/recipes-efl/e17/e-wm-theme-b-and-w_svn.bb create mode 100644 meta-efl/recipes-efl/e17/e-wm-theme-illume-efenniht/LICENSE create mode 100644 meta-efl/recipes-efl/e17/e-wm-theme-illume-efenniht_svn.bb create mode 100644 meta-efl/recipes-efl/e17/e-wm.inc create mode 100644 meta-efl/recipes-efl/e17/e-wm/applications.menu create mode 100644 meta-efl/recipes-efl/e17/e-wm/enlightenment_start.oe create mode 100644 meta-efl/recipes-efl/e17/e-wm_0.18.7.bb create mode 100644 meta-efl/recipes-efl/e17/edje-viewer_svn.bb create mode 100644 meta-efl/recipes-efl/e17/elfe_git.bb create mode 100644 meta-efl/recipes-efl/e17/elmdentica_svn.bb create mode 100644 meta-efl/recipes-efl/e17/enjoy/0001-always-use-position-as-percent-and-define-a-1-second.patch create mode 100644 meta-efl/recipes-efl/e17/enjoy_git.bb create mode 100644 meta-efl/recipes-efl/e17/ephoto_svn.bb create mode 100644 meta-efl/recipes-efl/e17/eve/0001-eve-theme-updated-for-Openmoko-Freerunner-screen.patch create mode 100644 meta-efl/recipes-efl/e17/eve/0002-adapt-to-webkit-efl-changes.patch create mode 100644 meta-efl/recipes-efl/e17/eve_git.bb create mode 100644 meta-efl/recipes-efl/e17/exalt-client_svn.bb create mode 100644 meta-efl/recipes-efl/e17/exalt_svn.bb create mode 100644 meta-efl/recipes-efl/e17/exquisite-theme-illume.bb create mode 100644 meta-efl/recipes-efl/e17/exquisite-theme-illume/LICENSE create mode 100644 meta-efl/recipes-efl/e17/exquisite/exquisite-init create mode 100644 meta-efl/recipes-efl/e17/exquisite/splashfuncs create mode 100644 meta-efl/recipes-efl/e17/exquisite_svn.bb create mode 100644 meta-efl/recipes-efl/e17/flame_svn.bb create mode 100644 meta-efl/recipes-efl/e17/forecasts_svn.bb create mode 100644 meta-efl/recipes-efl/e17/illume-keyboards-shr/0001-Makefile-update-KEYBOARDS_DIR-for-new-illume2.patch create mode 100644 meta-efl/recipes-efl/e17/illume-keyboards-shr/LICENSE create mode 100644 meta-efl/recipes-efl/e17/illume-keyboards-shr_git.bb create mode 100644 meta-efl/recipes-efl/e17/nonworking/emprint_svn.bb create mode 100644 meta-efl/recipes-efl/e17/nonworking/news_svn.bb create mode 100644 meta-efl/recipes-efl/e17/nonworking/rage_svn.bb create mode 100644 meta-efl/recipes-efl/e17/nonworking/screenshot/screenshot-fix-mkinstalldirs.patch create mode 100644 meta-efl/recipes-efl/e17/nonworking/screenshot_svn.bb create mode 100644 meta-efl/recipes-efl/e17/places_svn.bb create mode 100644 meta-efl/recipes-efl/e17/rain_svn.bb create mode 100644 meta-efl/recipes-efl/e17/terminology.inc create mode 100644 meta-efl/recipes-efl/e17/terminology_0.4.0.bb create mode 100644 meta-efl/recipes-efl/e17/terminology_svn.bb create mode 100644 meta-efl/recipes-efl/e17/uptime_svn.bb create mode 100644 meta-efl/recipes-efl/e17/waker/0001-waker-remove-old-ecore_string_init-and-ecore_string_.patch create mode 100644 meta-efl/recipes-efl/efl/azy_svn.bb create mode 100644 meta-efl/recipes-efl/efl/e-wm-illume-dict-pl_git.bb create mode 100644 meta-efl/recipes-efl/efl/ecore/fix-ecore-fb-initialization.patch create mode 100644 meta-efl/recipes-efl/efl/edb_svn.bb create mode 100644 meta-efl/recipes-efl/efl/edbus.inc create mode 100644 meta-efl/recipes-efl/efl/edbus_1.7.9.bb create mode 100644 meta-efl/recipes-efl/efl/edje-fpu.inc create mode 100644 meta-efl/recipes-efl/efl/efl.inc create mode 100644 meta-efl/recipes-efl/efl/efl/0001-configure.ac-Don-t-check-for-Xprint-extension.patch create mode 100644 meta-efl/recipes-efl/efl/efl_1.9.3.bb create mode 100644 meta-efl/recipes-efl/efl/elementary-theme-efenniht/LICENSE create mode 100644 meta-efl/recipes-efl/efl/elementary-theme-efenniht_svn.bb create mode 100644 meta-efl/recipes-efl/efl/elementary.inc create mode 100644 meta-efl/recipes-efl/efl/elementary/0001-Makefile-Use-elementary_codegen-defined-in-configure.patch create mode 100644 meta-efl/recipes-efl/efl/elementary_1.9.3.bb create mode 100644 meta-efl/recipes-efl/efl/emotion-generic-players.inc create mode 100644 meta-efl/recipes-efl/efl/emotion-generic-players_1.9.0.bb create mode 100644 meta-efl/recipes-efl/efl/engrave_svn.bb create mode 100644 meta-efl/recipes-efl/efl/entrance/0001-pam-use-common-auth-instead-of-system-auth.patch create mode 100644 meta-efl/recipes-efl/efl/entrance/entrance.service create mode 100644 meta-efl/recipes-efl/efl/entrance_svn.bb create mode 100644 meta-efl/recipes-efl/efl/epdf_svn.bb create mode 100644 meta-efl/recipes-efl/efl/epeg_svn.bb create mode 100644 meta-efl/recipes-efl/efl/evas-generic-loaders.inc create mode 100644 meta-efl/recipes-efl/efl/evas-generic-loaders_1.9.0.bb create mode 100644 meta-efl/recipes-efl/efl/expedite.inc create mode 100644 meta-efl/recipes-efl/efl/expedite_1.7.9.bb create mode 100644 meta-efl/recipes-efl/efl/expedite_git.bb create mode 100644 meta-efl/recipes-efl/efl/imlib2_svn.bb create mode 100644 meta-efl/recipes-efl/efl/libeflvala/disable.eina.test.patch create mode 100644 meta-efl/recipes-efl/efl/libeflvala_svn.bb create mode 100644 meta-efl/recipes-efl/efl/libeweather_svn.bb create mode 100644 meta-efl/recipes-efl/packagegroups/packagegroup-efl-sdk.bb create mode 100644 meta-efl/recipes-efl/packagegroups/packagegroup-efl-sdk.inc create mode 100644 meta-efl/recipes-efl/packagegroups/packagegroup-efl-standalone-sdk-target.bb create mode 100644 meta-efl/recipes-efl/packagegroups/packagegroup-x11-illume.bb create mode 100644 meta-efl/recipes-efl/webkit/webkit-efl.inc create mode 100644 meta-efl/recipes-efl/webkit/webkit-efl/0001-WebKitHelpers.cmake-Add-Wno-error-cast-align.patch create mode 100644 meta-efl/recipes-efl/webkit/webkit-efl/0002-ARMAssembler.h-Don-t-generate-BKPT-and-BLX-for-armv4.patch create mode 100644 meta-efl/recipes-efl/webkit/webkit-efl/0003-Fix-linking-issue.patch create mode 100644 meta-efl/recipes-efl/webkit/webkit-efl/CMakeLists.txt create mode 100644 meta-efl/recipes-efl/webkit/webkit-efl_2.3.4+svnr164189.bb create mode 100644 meta-efl/recipes-efl/webkit/webkit-efl_svn.bb create mode 100644 meta-efl/recipes-multimedia/lightmediascanner/lightmediascanner_0.4.4.bb create mode 100644 meta-efl/recipes-navigation/mcnavi/mcnavi_0.3.4.bb (limited to 'meta-efl') diff --git a/meta-efl/COPYING.MIT b/meta-efl/COPYING.MIT new file mode 100644 index 0000000000..fb950dc69f --- /dev/null +++ b/meta-efl/COPYING.MIT @@ -0,0 +1,17 @@ +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. diff --git a/meta-efl/README b/meta-efl/README new file mode 100644 index 0000000000..f8b929e668 --- /dev/null +++ b/meta-efl/README @@ -0,0 +1,17 @@ +This layer depends on: + +URI: git://github.com/openembedded/oe-core.git +branch: master +revision: HEAD + +URI: git://github.com/openembedded/meta-oe.git +branch: master +revision: HEAD + +Send pull requests to openembedded-devel@lists.openembedded.org with '[meta-efl]' in the subject' + +When sending single patches, please using something like: +'git send-email -M -1 --to openembedded-devel@lists.openembedded.org --subject-prefix=meta-efl][PATCH' + +Interim layer maintainers: Koen Kooi + Martin Jansa diff --git a/meta-efl/classes/e-base.bbclass b/meta-efl/classes/e-base.bbclass new file mode 100644 index 0000000000..e0ae2285d8 --- /dev/null +++ b/meta-efl/classes/e-base.bbclass @@ -0,0 +1,14 @@ +HOMEPAGE = "http://www.enlightenment.org" +SRCNAME ?= "${BPN}" +SRCVER ?= "${PV}" + +EFL_SRCREV ?= "82070" + +ARM_INSTRUCTION_SET = "arm" + +S = "${WORKDIR}/${SRCNAME}-${SRCVER}" + +# each efl or e17 module is installing module.so in different directory, disable shlibs providers for them +# evas-engine-gl-x11-1.7.7 evas-engine-software-16-1.7.7 evas-engine-software-16-x11-1.7.7 evas-engine-software-x11-1.7.7 evas-engine-wayland-shm-1.7.7 evas-cserve2-bmp-1.7.7 evas-cserve2-eet-1.7.7 evas-cserve2-ico-1.7.7 evas-cserve2-jpeg-1.7.7 evas-cserve2-pmaps-1.7.7 evas-cserve2-png-1.7.7 evas-cserve2-psd-1.7.7 evas-cserve2-tga-1.7.7 evas-cserve2-tiff-1.7.7 evas-cserve2-wbmp-1.7.7 evas-cserve2-xpm-1.7.7 evas-loader-bmp-1.7.7 evas-loader-generic-1.7.7 evas-loader-gif-1.7.7 evas-loader-ico-1.7.7 evas-loader-jpeg-1.7.7 evas-loader-pmaps-1.7.7 evas-loader-png-1.7.7 evas-loader-psd-1.7.7 evas-loader-tga-1.7.7 evas-loader-tiff-1.7.7 evas-loader-wbmp-1.7.7 evas-loader-xpm-1.7.7 evas-saver-jpeg-1.7.7 evas-saver-png-1.7.7 evas-saver-tiff-1.7.7 evas-engine-fb-1.7.7 +# emotion-1.7.7 elementary-1.7.7 elementary-tests-1.7.7 elementary-accessibility-1.7.7 e-wm-0.17.3 elfe-0.0.1+svnr82070 shr-e-gadgets-0.0.0+gitr1+27b6c17d73 cpu-0.0.1+svnr82070 places-0.1.0+svnr82070 forecasts-0.2.0+svnr82070 uptime-0.0.2+svnr82070 screenshot-0.3.0+svnr82070 exalt-client-0.0.1+svnr82070 diskio-0.0.1+svnr82070 rain-0.0.3+svnr82070 news-0.1.0+svnr82070 flame-0.0.3+svnr82070 +PRIVATE_LIBS = "module.so" diff --git a/meta-efl/classes/e.bbclass b/meta-efl/classes/e.bbclass new file mode 100644 index 0000000000..4bcc2bc7e1 --- /dev/null +++ b/meta-efl/classes/e.bbclass @@ -0,0 +1,22 @@ +SECTION = "e/apps" + +inherit e-base autotools pkgconfig binconfig + +do_prepsources () { + make clean distclean || true +} +addtask prepsources after do_patch before do_configure + +do_configure_append() { + find ${S} -name Makefile | xargs sed -i s:'-I$(includedir)':'-I.':g +} + +export CURL_CONFIG = "${STAGING_BINDIR_CROSS}/curl-config" +export FREETYPE_CONFIG = "${STAGING_BINDIR_CROSS}/freetype-config" + +PACKAGES =+ "${PN}-themes" +PACKAGES += "${PN}-lib" + +FILES_${PN}-lib = "${libdir}/lib*.so.*" +FILES_${PN}-themes = "${datadir}/${PN}/themes ${datadir}/${PN}/data ${datadir}/${PN}/fonts ${datadir}/${PN}/pointers ${datadir}/${PN}/images ${datadir}/${PN}/users ${datadir}/${PN}/images ${datadir}/${PN}/styles" +FILES_${PN}-dev += "${includedir} ${libdir}/lib*.so" diff --git a/meta-efl/classes/efl.bbclass b/meta-efl/classes/efl.bbclass new file mode 100644 index 0000000000..bdb58347d3 --- /dev/null +++ b/meta-efl/classes/efl.bbclass @@ -0,0 +1,61 @@ +SECTION = "e/libs" +LICENSE = "MIT BSD" +DEPENDS += "pkgconfig-native" + +# revision 0d93ec84b30bc1bee2caaee72d667f87bc468a70 made SRCDATE and hence PV go backwards, so we need to up PE to unbreak builds and feeds :( +PE = "2" + +inherit e-base autotools + +# evas-native looks at this var, so keep it + +do_configure_prepend() { + autopoint || touch config.rpath +} + +do_install_prepend () { + for i in `find ${S}/ -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 +} + +PACKAGES =+ "${PN}-themes" +PACKAGES += "${PN}-tests" + +FILES_${PN} = "${libdir}/*.so.* \ + ${libdir}/edje/modules/${PN}/*/module.so \ + ${libdir}/${PN}/plugins/*.so \ + ${datadir}/dbus-1/services/* \ +" + + +FILES_${PN}-themes = "${datadir}/${PN}/themes \ + ${datadir}/${PN}/data \ + ${libdir}/${PN}/plugins/data/*.edj \ + ${datadir}/${PN}/fonts \ + ${datadir}/${PN}/pointers \ + ${datadir}/${PN}/images \ + ${datadir}/${PN}/users \ + ${datadir}/${PN}/images \ + ${datadir}/${PN}/styles" + +FILES_${PN}-dev += "${bindir}/${PN}-config \ + ${libdir}/pkgconfig/* \ + ${libdir}/lib*.la \ + ${libdir}/*.so \ + ${libdir}/${PN}/*.la \ + ${libdir}/${PN}/*/*.la \ + ${datadir}/${PN}/edje_externals \ + ${libdir}/edje/modules/${PN}/*/module.la \ +" + +FILES_${PN}-staticdev += "${libdir}/${BPN}/*/*.a" + +FILES_${PN}-dbg += "${libdir}/${PN}/.debug \ + ${libdir}/${PN}/*/.debug \ + ${libdir}/edje/modules/${PN}/*/.debug/module.so \ +" + +FILES_${PN}-tests = "${bindir}/${PN} \ + ${bindir}/*_* \ + ${datadir}/${PN}" diff --git a/meta-efl/conf/distro/include/efl-from-svn-recipes.inc b/meta-efl/conf/distro/include/efl-from-svn-recipes.inc new file mode 100644 index 0000000000..23a8eaeca2 --- /dev/null +++ b/meta-efl/conf/distro/include/efl-from-svn-recipes.inc @@ -0,0 +1,43 @@ +EFL_PREFERRED_VERSION ?= "1.7.4+svn%" +EFL_PREFERRED_PYTHON_VERSION ?= "1.7.0+svn%" + +PREFERRED_VERSION_e-wm ?= "0.17.0+svnr%" + +PREFERRED_VERSION_ecore ?= "${EFL_PREFERRED_VERSION}" +PREFERRED_VERSION_ecore-native ?= "${EFL_PREFERRED_VERSION}" +PREFERRED_VERSION_edbus ?= "${EFL_PREFERRED_VERSION}" +PREFERRED_VERSION_edbus-native ?= "${EFL_PREFERRED_VERSION}" +PREFERRED_VERSION_edje ?= "${EFL_PREFERRED_VERSION}" +PREFERRED_VERSION_edje-native ?= "${EFL_PREFERRED_VERSION}" +PREFERRED_VERSION_edje-nativesdk ?= "${EFL_PREFERRED_VERSION}" +PREFERRED_VERSION_eeze ?= "${EFL_PREFERRED_VERSION}" +PREFERRED_VERSION_eeze-native ?= "${EFL_PREFERRED_VERSION}" +PREFERRED_VERSION_efreet ?= "${EFL_PREFERRED_VERSION}" +PREFERRED_VERSION_efreet-native ?= "${EFL_PREFERRED_VERSION}" +PREFERRED_VERSION_eina ?= "${EFL_PREFERRED_VERSION}" +PREFERRED_VERSION_eina-native ?= "${EFL_PREFERRED_VERSION}" +PREFERRED_VERSION_embryo ?= "${EFL_PREFERRED_VERSION}" +PREFERRED_VERSION_embryo-native ?= "${EFL_PREFERRED_VERSION}" +PREFERRED_VERSION_evas ?= "${EFL_PREFERRED_VERSION}" +PREFERRED_VERSION_evas-generic-loaders ?= "${EFL_PREFERRED_VERSION}" +PREFERRED_VERSION_evas-native ?= "${EFL_PREFERRED_VERSION}" +PREFERRED_VERSION_expedite ?= "${EFL_PREFERRED_VERSION}" +PREFERRED_VERSION_expedite-native ?= "${EFL_PREFERRED_VERSION}" + +PREFERRED_VERSION_eet ?= "${EFL_PREFERRED_VERSION}" +PREFERRED_VERSION_eet-native ?= "${EFL_PREFERRED_VERSION}" + +PREFERRED_VERSION_eio ?= "${EFL_PREFERRED_VERSION}" +PREFERRED_VERSION_eio-native ?= "${EFL_PREFERRED_VERSION}" +PREFERRED_VERSION_emotion ?= "${EFL_PREFERRED_VERSION}" +PREFERRED_VERSION_ethumb ?= "${EFL_PREFERRED_VERSION}" +PREFERRED_VERSION_elementary ?= "${EFL_PREFERRED_VERSION}" + +PREFERRED_VERSION_python-elementary ?= "${EFL_PREFERRED_PYTHON_VERSION}" +PREFERRED_VERSION_python-ecore ?= "${EFL_PREFERRED_PYTHON_VERSION}" +PREFERRED_VERSION_python-edbus ?= "${EFL_PREFERRED_PYTHON_VERSION}" +PREFERRED_VERSION_python-edje ?= "${EFL_PREFERRED_PYTHON_VERSION}" +PREFERRED_VERSION_python-emotion ?= "${EFL_PREFERRED_PYTHON_VERSION}" +PREFERRED_VERSION_python-evas ?= "${EFL_PREFERRED_PYTHON_VERSION}" + +PREFERRED_VERSION_terminology ?= "0.2.0+svn%" diff --git a/meta-efl/conf/layer.conf b/meta-efl/conf/layer.conf new file mode 100644 index 0000000000..5ed7bd676f --- /dev/null +++ b/meta-efl/conf/layer.conf @@ -0,0 +1,13 @@ +# We have a conf and classes directory, append to BBPATH +BBPATH .= ":${LAYERDIR}" + +# We have a recipes directory, add to BBFILES +BBFILES += "${LAYERDIR}/recipes-*/*/*.bb ${LAYERDIR}/recipes-*/*/*.bbappend" + +BBFILE_COLLECTIONS += "efl-layer" +BBFILE_PATTERN_efl-layer := "^${LAYERDIR}/" +BBFILE_PRIORITY_efl-layer = "7" + +E_MIRROR = "http://download.enlightenment.org/releases" +E_RELEASES = "http://download.enlightenment.org/rel" +E_SVN = "svn://svn.enlightenment.org/svn/e" diff --git a/meta-efl/recipes-core/meta/meta-toolchain-efl.bb b/meta-efl/recipes-core/meta/meta-toolchain-efl.bb new file mode 100644 index 0000000000..b7b7fca895 --- /dev/null +++ b/meta-efl/recipes-core/meta/meta-toolchain-efl.bb @@ -0,0 +1,6 @@ +TOOLCHAIN_TARGET_EFLTASK ?= "packagegroup-efl-standalone-sdk-target packagegroup-efl-standalone-sdk-target-dbg" +TOOLCHAIN_TARGET_TASK = "${TOOLCHAIN_TARGET_EFLTASK}" +TOOLCHAIN_OUTPUTNAME = "${SDK_NAME}-toolchain-efl-${DISTRO_VERSION}" +require recipes-core/meta/meta-toolchain.bb + +TOOLCHAIN_NEED_CONFIGSITE_CACHE += "zlib" diff --git a/meta-efl/recipes-devtools/python/python-edbus.inc b/meta-efl/recipes-devtools/python/python-edbus.inc new file mode 100644 index 0000000000..1d8098f60d --- /dev/null +++ b/meta-efl/recipes-devtools/python/python-edbus.inc @@ -0,0 +1,50 @@ +DESCRIPTION = "${PN} bindings" +LICENSE = "LGPLv2.1" +LIC_FILES_CHKSUM = "file://COPYING;md5=fbc093901857fcd118f065f900982c24" +AUTHOR = "Gustavo Sverzut Barbieri " +# NOTE: Due to a bug in distutils, even if we don't use pyrex but cython, +# we need to build pyrex otherwise cython doesn't get called to build +# the extension modules. +DEPENDS = "python-cython-native python-pyrex-native python-numeric eina edbus python-dbus" +RDEPENDS_${PN} += "python-lang python-dbus" + +# necessary to let the call for python-config succeed +export BUILD_SYS +export HOST_SYS + +inherit e-base autotools pkgconfig distutils-base + +SRCNAME = "python-e_dbus" +SRCVER = "${PV}" + +SRC_URI = "\ + ${E_MIRROR}/BINDINGS/python/${SRCNAME}-${SRCVER}.tar.bz2 \ +" +S = "${WORKDIR}/${SRCNAME}-${SRCVER}" + + +do_configure_prepend() { + # prefix CYTHON_.*_INCLUDEDIR with path to STAGING_DIR_HOST also use $PKG_CONFIG instead of pkg-config directly + sed -i "s#=\`\$PKG_CONFIG --variable=includedir \"python-evas#=${STAGING_DIR_HOST}\`\$PKG_CONFIG --variable=includedir \"python-evas#g" ${S}/configure.ac +} + +do_install_append() { + if [ -e examples ]; then + for i in `find examples -name "*.edc"`; do + cd ${S}/`dirname $i` + echo "Generating .edj file for $i..." + edje_cc `basename $i` + echo "Removing sources in this directory..." + rm -f *.edc *.png *.ttf *.jpeg + done + cd ${S} + install -d ${D}${datadir}/${PN}/ + cp -a examples ${D}${datadir}/${PN}/ + find ${D}${datadir}/${PN}/examples -name ".svn" | xargs rm -rf + fi +} + +FILES_${PN}-dbg += "${libdir}/${PYTHON_DIR}/site-packages/*.egg/*/*/.debug" + +PACKAGES += "${PN}-examples" +FILES_${PN}-examples = "${datadir}/${PN}/examples" diff --git a/meta-efl/recipes-devtools/python/python-edbus_1.7.0.bb b/meta-efl/recipes-devtools/python/python-edbus_1.7.0.bb new file mode 100644 index 0000000000..9e5ff0a02f --- /dev/null +++ b/meta-efl/recipes-devtools/python/python-edbus_1.7.0.bb @@ -0,0 +1,6 @@ +require ${BPN}.inc + +PR = "r1" + +SRC_URI[md5sum] = "40b479444bb06147429a276127981890" +SRC_URI[sha256sum] = "78e5ca334ee25185748660b4e612f984f4d3bced018f062278701429868f117b" diff --git a/meta-efl/recipes-devtools/python/python-efl.inc b/meta-efl/recipes-devtools/python/python-efl.inc new file mode 100644 index 0000000000..6ac7ad8a69 --- /dev/null +++ b/meta-efl/recipes-devtools/python/python-efl.inc @@ -0,0 +1,70 @@ +DESCRIPTION = "${PN} bindings" + +LICENSE = "LGPL-3.0" +LIC_FILES_CHKSUM = "file://COPYING.LESSER;md5=e6a600fd5e1d9cbde2d983680233ad02" +# there is also GPLv3.0 in COPYING;md5=d32239bcb673463ab874e80d47fae504 but no file seems to use that + +AUTHOR = "Gustavo Sverzut Barbieri " +# NOTE: Due to a bug in distutils, even if we don't use pyrex but cython, +# we need to build pyrex otherwise cython doesn't get called to build +# the extension modules. +DEPENDS = "python-cython-native python-pyrex-native python-numeric eina" +RDEPENDS_${PN} += "python-lang" + +PROVIDES = "python-ecore python-eldbus python-edje python-elementary python-emotion python-evas" + +# necessary to let the call for python-config succeed +export BUILD_SYS +export HOST_SYS + +inherit e-base distutils pkgconfig + +SRCVER = "${PV}" + +SRC_URI = "\ + ${E_RELEASES}/bindings/python/${SRCNAME}-${SRCVER}.tar.gz \ +" +S = "${WORKDIR}/${SRCNAME}-${SRCVER}" + +do_install_append() { + # drop all .pyo, pyc files + find ${D}${libdir}/${PYTHON_DIR}/site-packages -name \*.pyo -o -name \*.pyc | xargs rm -f +} + +PACKAGES += "python-ecore python-eldbus python-edje python-elementary python-emotion python-evas ${PN}-examples" + +FILES_${PN} = " \ + ${libdir}/${PYTHON_DIR}/site-packages/python_efl*egg-info \ + ${libdir}/${PYTHON_DIR}/site-packages/efl/eo.so \ + ${libdir}/${PYTHON_DIR}/site-packages/efl/utils \ + ${libdir}/${PYTHON_DIR}/site-packages/efl/__init__.py \ +" +FILES_${PN}-dbg += "${libdir}/${PYTHON_DIR}/site-packages/*.egg/*/*/.debug" +FILES_${PN}-dev += "${libdir}/${PYTHON_DIR}/site-packages/*/*.la" + +FILES_${PN}-examples = "${datadir}/${PN}/examples" + +FILES_python-ecore = " \ + ${libdir}/${PYTHON_DIR}/site-packages/ecore/ \ + ${libdir}/${PYTHON_DIR}/site-packages/efl/ecore.so \ +" +FILES_python-eldbus = " \ + ${libdir}/${PYTHON_DIR}/site-packages/e_dbus/ \ + ${libdir}/${PYTHON_DIR}/site-packages/efl/dbus_mainloop.so \ +" +FILES_python-edje = " \ + ${libdir}/${PYTHON_DIR}/site-packages/edje/ \ + ${libdir}/${PYTHON_DIR}/site-packages/efl/edje*so \ +" +FILES_python-elementary = " \ + ${libdir}/${PYTHON_DIR}/site-packages/elementary/ \ + ${libdir}/${PYTHON_DIR}/site-packages/efl/elementary/ \ +" +FILES_python-emotion = " \ + ${libdir}/${PYTHON_DIR}/site-packages/emotion/ \ + ${libdir}/${PYTHON_DIR}/site-packages/efl/emotion.so \ +" +FILES_python-evas = " \ + ${libdir}/${PYTHON_DIR}/site-packages/evas/ \ + ${libdir}/${PYTHON_DIR}/site-packages/efl/evas.so \ +" diff --git a/meta-efl/recipes-devtools/python/python-efl_1.9.0.bb b/meta-efl/recipes-devtools/python/python-efl_1.9.0.bb new file mode 100644 index 0000000000..f34e428426 --- /dev/null +++ b/meta-efl/recipes-devtools/python/python-efl_1.9.0.bb @@ -0,0 +1,4 @@ +require ${BPN}.inc + +SRC_URI[md5sum] = "c643d66157cac9b2892af8b6d1a803b1" +SRC_URI[sha256sum] = "f6d6fecca20df016acc79a12348ae0a0f6db82e6cceaf53c4b46d7ca72bb8f07" diff --git a/meta-efl/recipes-efl/e17/cpu_svn.bb b/meta-efl/recipes-efl/e17/cpu_svn.bb new file mode 100644 index 0000000000..c0ad6a42c6 --- /dev/null +++ b/meta-efl/recipes-efl/e17/cpu_svn.bb @@ -0,0 +1,8 @@ +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://COPYING;md5=344895f253c32f38e182dcaf30fe8a35 \ + file://COPYING-PLAIN;md5=c910b645eda0005ccec46f75203dc96e" + +PV = "0.0.1+svnr${SRCREV}" +PR = "${INC_PR}.0" + +require e-module.inc diff --git a/meta-efl/recipes-efl/e17/diskio_svn.bb b/meta-efl/recipes-efl/e17/diskio_svn.bb new file mode 100644 index 0000000000..01a65761eb --- /dev/null +++ b/meta-efl/recipes-efl/e17/diskio_svn.bb @@ -0,0 +1,8 @@ +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://COPYING;md5=344895f253c32f38e182dcaf30fe8a35 \ + file://COPYING-PLAIN;md5=68be76d8126face2fbbecdf1bcbe2b10" + +PV = "0.0.1+svnr${SRCPV}" +PR = "${INC_PR}.0" + +require e-module.inc diff --git a/meta-efl/recipes-efl/e17/e-module.inc b/meta-efl/recipes-efl/e17/e-module.inc new file mode 100644 index 0000000000..0923575725 --- /dev/null +++ b/meta-efl/recipes-efl/e17/e-module.inc @@ -0,0 +1,19 @@ +DESCRIPTION = "E17 ${PN} module" +SECTION = "x11/multimedia" +DEPENDS = "e-wm" + +SRCREV = "${EFL_SRCREV}" +INC_PR = "r0" + +SRCNAME = "E-MODULES-EXTRA/${PN}" + +inherit e gettext +SRC_URI = "${E_SVN}/trunk;module=${SRCNAME};protocol=http;scmdata=keep" +S = "${WORKDIR}/${SRCNAME}" + +EXTRA_OECONF = "--with-edje-cc=${STAGING_BINDIR_NATIVE}/edje_cc" + +FILES_${PN} += "${libdir}/enlightenment/modules/${PN}" +FILES_${PN}-dbg += "${libdir}/enlightenment/modules/${PN}/*/.debug" +FILES_${PN}-staticdev += "${libdir}/enlightenment/modules/${PN}/*/*.a" + diff --git a/meta-efl/recipes-efl/e17/e-tasks/0001-dbus-stuff-Convert-to-eldbus.patch b/meta-efl/recipes-efl/e17/e-tasks/0001-dbus-stuff-Convert-to-eldbus.patch new file mode 100644 index 0000000000..f92a772fe1 --- /dev/null +++ b/meta-efl/recipes-efl/e17/e-tasks/0001-dbus-stuff-Convert-to-eldbus.patch @@ -0,0 +1,204 @@ +From 37223289b3d85ea8876e7ba7c9ff97ec428073ba Mon Sep 17 00:00:00 2001 +From: Martin Jansa +Date: Sat, 22 Feb 2014 14:36:38 +0100 +Subject: [PATCH] dbus-stuff: Convert to eldbus + +Signed-off-by: Martin Jansa +--- + configure.ac | 2 +- + src/Makefile.am | 2 +- + src/dbus-stuff.c | 95 ++++++++++++++++++++++++++++++++------------------------ + src/dbus-stuff.h | 13 ++------ + src/main.c | 2 +- + 5 files changed, 61 insertions(+), 53 deletions(-) + +diff --git a/configure.ac b/configure.ac +index b3e4d12..4ace32a 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -15,7 +15,7 @@ AC_HEADER_STDC + + AM_PROG_LIBTOOL + +-PKG_CHECK_MODULES(TASKS, [elementary eina dbus-1 edbus sqlite3]) ++PKG_CHECK_MODULES(TASKS, [elementary eina dbus-1 eldbus sqlite3]) + + AC_OUTPUT([ + Makefile +diff --git a/src/Makefile.am b/src/Makefile.am +index 2143dc9..31d5253 100644 +--- a/src/Makefile.am ++++ b/src/Makefile.am +@@ -8,7 +8,7 @@ AM_CPPFLAGS = \ + $(TASKS_CFLAGS) + + AM_CFLAGS =\ +- $(EDBUS_CFLAGS) \ ++ $(ELDBUS_CFLAGS) \ + -Wall\ + -g + +diff --git a/src/dbus-stuff.c b/src/dbus-stuff.c +index 50809bc..9f02ef3 100644 +--- a/src/dbus-stuff.c ++++ b/src/dbus-stuff.c +@@ -1,8 +1,7 @@ + /*************************************************************************** + * dbus-stuff.c + * +- * Copyright 2009 cchandel +- * ++ * Copyright 2009 cchandel + ****************************************************************************/ + + /* +@@ -21,51 +20,67 @@ + * Foundation, Inc., 51 Franklin Street, Fifth Floor Boston, MA 02110-1301, USA + */ + #include "dbus-stuff.h" +-#include +-#include +-#include ++#include "Eldbus.h" + +-void occupy_cpu(void) ++void on_usage_cb(void *data EINA_UNUSED, const Eldbus_Message *msg, Eldbus_Pending *pending EINA_UNUSED) ++{ ++ const char *errname, *errmsg; ++ if (eldbus_message_error_get(msg, &errname, &errmsg)) ++ fprintf(stderr, "Error: %s %s\n", errname, errmsg); ++} ++ ++int ousaged_resource(const char *resource, int used) + { +- e_dbus_init(); +- conn = e_dbus_bus_get(DBUS_BUS_SYSTEM); +- +- DBusMessage *msg; +- msg = dbus_message_new_method_call( +- "org.freesmartphone.ousaged", +- "/org/freesmartphone/Usage", +- "org.freesmartphone.Usage", +- "RequestResource" +- ); +- +- const char *resource = "CPU"; +- dbus_message_append_args (msg, DBUS_TYPE_STRING, &resource, DBUS_TYPE_INVALID); ++ eldbus_init(); ++ const char *REQUEST = "RequestResource"; ++ const char *RELEASE = "ReleaseResource"; ++ const int PREQUEST = 1; + +- e_dbus_message_send(conn, msg, dbus_reply_cb, -1, NULL); +- dbus_message_unref(msg); +-} ++ Eldbus_Connection *conn; ++ Eldbus_Object *obj; ++ Eldbus_Proxy *usage; ++ Eldbus_Pending *pending; ++ conn = eldbus_connection_get(ELDBUS_CONNECTION_TYPE_SYSTEM); ++ if (!conn) ++ { ++ fprintf(stderr, "Error: could not get system bus\n"); ++ return EXIT_FAILURE; ++ } + +-void release_cpu(void) +-{ +- DBusMessage *msg; +- msg = dbus_message_new_method_call( +- "org.freesmartphone.ousaged", +- "/org/freesmartphone/Usage", +- "org.freesmartphone.Usage", +- "ReleaseResource" +- ); +- +- const char *resource = "CPU"; +- dbus_message_append_args (msg, DBUS_TYPE_STRING, &resource, DBUS_TYPE_INVALID); ++ obj = eldbus_object_get(conn, "org.freesmartphone.ousaged", "/org/freesmartphone/Usage"); ++ if (!obj) ++ { ++ fprintf(stderr, "Error: could not get object\n"); ++ return EXIT_FAILURE; ++ } + +- e_dbus_message_send(conn, msg, dbus_reply_cb, -1, NULL); +- dbus_message_unref(msg); ++ usage = eldbus_proxy_get(obj, "org.freesmartphone.Usage"); ++ if (!usage) ++ { ++ fprintf(stderr, "Error: could not get proxy\n"); ++ return EXIT_FAILURE; ++ } ++ ++ pending = eldbus_proxy_call(usage, used == PREQUEST ? REQUEST : RELEASE, on_usage_cb, NULL, -1, "ss", resource); ++ if (!pending) ++ { ++ fprintf(stderr, "Error: could not call\n"); ++ return EXIT_FAILURE; ++ } ++ eldbus_proxy_unref(usage); ++ eldbus_object_unref(obj); ++ eldbus_connection_unref(conn); ++ ++ eldbus_shutdown(); ++ return EXIT_SUCCESS; + } + +-void dbus_reply_cb(void *data, DBusMessage *replymsg, DBusError *error) ++int request_cpu(void) + { +- if (dbus_error_is_set(error)) { +- printf("Error: %s - %s\n", error->name, error->message); +- } ++ return ousaged_resource("CPU", 1); + } + ++int release_cpu(void) ++{ ++ return ousaged_resource("CPU" , 0); ++} +diff --git a/src/dbus-stuff.h b/src/dbus-stuff.h +index 83d4778..a3c72cb 100644 +--- a/src/dbus-stuff.h ++++ b/src/dbus-stuff.h +@@ -2,8 +2,7 @@ + * dbus.h + * + * Fri Mar 6 12:32:57 2009 +- * Copyright 2009 nidhin +- * ++ * Copyright 2009 nidhin + ****************************************************************************/ + + /* +@@ -22,11 +21,5 @@ + * Foundation, Inc., 51 Franklin Street, Fifth Floor Boston, MA 02110-1301, USA + */ + +-#include +-#include +- +-void occupy_cpu(void); +-void release_cpu(void); +-void dbus_reply_cb(void *data, DBusMessage *replymsg, DBusError *error); +- +-E_DBus_Connection *conn; ++int request_cpu(void); ++int release_cpu(void); +diff --git a/src/main.c b/src/main.c +index 92d21de..4e4bbe2 100644 +--- a/src/main.c ++++ b/src/main.c +@@ -76,7 +76,7 @@ elm_main(int argc, char **argv) + //restore state + restore_state(); + +- occupy_cpu(); ++ request_cpu(); + + elm_run(); + //clean up stuff +-- +1.8.5.3 + diff --git a/meta-efl/recipes-efl/e17/e-tasks_git.bb b/meta-efl/recipes-efl/e17/e-tasks_git.bb new file mode 100644 index 0000000000..6065157839 --- /dev/null +++ b/meta-efl/recipes-efl/e17/e-tasks_git.bb @@ -0,0 +1,32 @@ +SUMMARY = "e-tasks is a todo program for Openmoko phones" +HOMEPAGE = "http://code.google.com/p/e-tasks/" +AUTHOR = "cchandel" +LICENSE = "GPLv3" +LIC_FILES_CHKSUM = "file://COPYING;md5=8f0e2cd40e05189ec81232da84bd6e1a" +SECTION = "e/apps" +DEPENDS = "elementary eina eldbus sqlite3" + +inherit autotools + +SRCREV = "890f5ee37d1a5fd1ceb2495950d15151d4cf756b" +PV = "0.0.2+gitr${SRCPV}" + +SRC_URI = "git://github.com/shr-project/e-tasks.git" +SRC_URI += "file://0001-dbus-stuff-Convert-to-eldbus.patch" + +S = "${WORKDIR}/git" + +do_install_append() { + install -d "${D}/${datadir}/pixmaps" + install -m 0644 "${S}/resources/e-tasks.png" "${D}/${datadir}/pixmaps" + install -d "${D}/${datadir}/applications" + install -m 0644 "${S}/resources/e-tasks.desktop" "${D}/${datadir}/applications" + install -d "${D}/${datadir}/e-tasks" + for ico in "${S}/resources/"*.png; do + if [ "$(basename $ico)" != "e-tasks.png" ]; then + install -m 0644 $ico "${D}/${datadir}/e-tasks" + fi + done +} + +FILES_${PN} += "/usr/share/e-tasks/* /usr/share/applications/* /usr/share/pixmaps/*" diff --git a/meta-efl/recipes-efl/e17/e-wm-theme-b-and-w_svn.bb b/meta-efl/recipes-efl/e17/e-wm-theme-b-and-w_svn.bb new file mode 100644 index 0000000000..af32a355a4 --- /dev/null +++ b/meta-efl/recipes-efl/e17/e-wm-theme-b-and-w_svn.bb @@ -0,0 +1,31 @@ +DESCRIPTION = "b-and-w theme was default E17 theme before alpha3 and some people still prefers it." +SECTION = "e/utils" +DEPENDS = "edje-native" +RDEPENDS_${PN} = "e-wm" +LICENSE = "MIT BSD" +# upstream was asked to include license infor in THEME dir +LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" + +inherit allarch + +SRCREV = "${EFL_SRCREV}" +PV = "0.0+svnr${SRCPV}" + +inherit e-base + +SRCNAME = "b_and_w" +SRC_URI = "${E_SVN}/trunk/THEMES;module=${SRCNAME};protocol=http" +S = "${WORKDIR}/${SRCNAME}/e" + +do_compile() { + # unfortunately hardcoded edje_cc in Makefile + sed -i "s#\tedje_cc#\t${STAGING_BINDIR_NATIVE}/edje_cc#g" Makefile + make +} + +do_install() { + install -d ${D}${datadir}/enlightenment/data/themes/ + install -m 0644 ${S}/b_and_w.edj ${D}${datadir}/enlightenment/data/themes/ +} + +FILES_${PN} = "${datadir}/enlightenment/data/themes/" diff --git a/meta-efl/recipes-efl/e17/e-wm-theme-illume-efenniht/LICENSE b/meta-efl/recipes-efl/e17/e-wm-theme-illume-efenniht/LICENSE new file mode 100644 index 0000000000..61bb2f603d --- /dev/null +++ b/meta-efl/recipes-efl/e17/e-wm-theme-illume-efenniht/LICENSE @@ -0,0 +1,25 @@ +Copyright notice for Enlightenment: + +Copyright (C) 2000-2010 Carsten Haitzler and various contributors (see AUTHORS) + +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + +THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, +INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND +FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE +COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, +INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, +OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF +LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/meta-efl/recipes-efl/e17/e-wm-theme-illume-efenniht_svn.bb b/meta-efl/recipes-efl/e17/e-wm-theme-illume-efenniht_svn.bb new file mode 100644 index 0000000000..1bf5f1de09 --- /dev/null +++ b/meta-efl/recipes-efl/e17/e-wm-theme-illume-efenniht_svn.bb @@ -0,0 +1,35 @@ +DESCRIPTION = "efenniht illume theme - Efenniht was devised to be clean \ +and neutral. Its name (which means equinox) comes from the chromatic duality \ +that was decided at the very beginning, with a dark theme (black and orange) \ +and a bright one (white and blue) to be developed so that more people feel \ +comfortable using it. Efenniht uses few animations, discrete contrasts between \ +shades of gray and fine lines (colored) that outline the selected elements." +SECTION = "e/utils" +HOMEPAGE = "http://trac.enlightenment.org/e/wiki/Themes#Efenniht" +DEPENDS = "edje-native" +RDEPENDS_${PN} = "e-wm" +RSUGGESTS_${PN} = "elementary-theme-efenniht" +LICENSE = "MIT BSD" +LIC_FILES_CHKSUM = "file://${WORKDIR}/LICENSE;md5=f523ab5986cc79b52a90d2ac3d5454a2" + +SRCREV = "${EFL_SRCREV}" +PV = "0.0+svnr${SRCPV}" + +inherit e-base allarch + +SRCNAME = "efenniht" +SRC_URI = "${E_SVN}/trunk/THEMES;module=${SRCNAME};protocol=http \ + file://LICENSE \ +" +S = "${WORKDIR}/${SRCNAME}" + +do_compile() { + ${STAGING_BINDIR_NATIVE}/edje_cc -id ${S}/images ${S}/efenniht.edc -o ${S}/efenniht.edj +} + +do_install() { + install -d ${D}${datadir}/enlightenment/data/themes/ + install -m 0644 ${S}/efenniht.edj ${D}${datadir}/enlightenment/data/themes/ +} + +FILES_${PN} = "${datadir}/enlightenment/data/themes/" diff --git a/meta-efl/recipes-efl/e17/e-wm.inc b/meta-efl/recipes-efl/e17/e-wm.inc new file mode 100644 index 0000000000..08fe25fce6 --- /dev/null +++ b/meta-efl/recipes-efl/e17/e-wm.inc @@ -0,0 +1,195 @@ +DESCRIPTION = "The Enlightenment Window Manager Version 17" +DEPENDS = "eet evas eina ecore edje efreet edbus eeze eio elementary libxcb xcb-util-keysyms" +LICENSE = "MIT BSD" +LIC_FILES_CHKSUM = "file://COPYING;md5=76de290eb3fdda12121830191c152a7d" +SRCNAME = "e" + +inherit e update-alternatives gettext +S = "${WORKDIR}/${SRCNAME}" + +PACKAGECONFIG ??= "${@base_contains('DISTRO_FEATURES', 'pam', 'pam', '', d)} \ + ${@base_contains('DISTRO_FEATURES', 'systemd', 'systemd', '', d)}" +PACKAGECONFIG[pam] = "--enable-pam,--disable-pam,libpam" + +EXTRA_OECONF = "\ + --with-edje-cc=${STAGING_BINDIR_NATIVE}/edje_cc \ + --with-eet-eet=${STAGING_BINDIR_NATIVE}/eet \ + --x-includes=${STAGING_INCDIR}/X11 \ + --x-libraries=${STAGING_LIBDIR} \ + --enable-simple-x11 \ +" + +do_configure_prepend() { + autopoint || true +} + +do_install_append() { + # customising - should rather make this simple upstream + install -m 755 ${WORKDIR}/enlightenment_start.oe ${D}/${bindir} + + # security reasons, e-wm checks that in runtime + # xinit[418]: ERROR: CONFIGURATION FILE HAS BAD PERMISSIONS + chmod 600 ${D}/${sysconfdir}/enlightenment/sysactions.conf + + install -d ${D}/${sysconfdir}/xdg/menus + install -m 644 ${WORKDIR}/applications.menu ${D}/${sysconfdir}/xdg/menus/ + for I in `find ${D}/${libdir}/enlightenment -name "*.a" -print`; do rm -f $I; done + for I in `find ${D}/${libdir}/enlightenment -name "*.la" -print`; do rm -f $I; done + + # work around for issue caused in r78978, more infor in: + # http://sourceforge.net/mailarchive/forum.php?thread_name=20121118194904.GA3438%40jama.jama.net&forum_name=enlightenment-devel + mv ${D}/${libdir}/enlightenment/modules/policies ${D}/${libdir}/enlightenment/modules/illume2/ \ + || echo "illume2 policies are in correct place now" + mv ${D}/${libdir}/enlightenment/modules/keyboards ${D}/${libdir}/enlightenment/modules/illume2/ \ + || echo "illume2 keyboards are in correct place now" +} + +RDEPENDS_${PN} += "\ + shared-mime-info \ + mime-support \ + setxkbmap \ + edje-utils \ + ${PN}-utils \ + dbus-x11 \ +" + +# Uclibc build don't have 'glibc-utils' +RDEPENDS_${PN}_append_libc-glibc = " glibc-utils " + +# The systray module used to be external, but is part of e-wm now +RREPLACES_${PN} = "systray" + +RREPLACES_${PN}-config-mobile = "${PN}-config-illume2" +RCONFLICTS_${PN}-config-mobile = "${PN}-config-illume2" +RPROVIDES_${PN}-config-mobile = "${PN}-config-illume2" + +PACKAGES =+ "\ + ${PN}-config-default \ + ${PN}-config-mobile \ + ${PN}-config-minimalist \ + ${PN}-config-netbook \ + ${PN}-config-scaleable \ + ${PN}-config-standard \ + ${PN}-theme-default \ + ${PN}-background-dark-gradient \ + ${PN}-background-light-gradient \ + ${PN}-backgrounds \ + ${PN}-images \ + ${PN}-icons \ + ${PN}-other \ + ${PN}-input-methods \ + ${PN}-sysactions \ + ${PN}-utils \ + ${PN}-menu \ + efm-desktop-icon \ + illume-keyboard-default-alpha \ + illume-keyboard-default-numeric \ + illume-keyboard-default-terminal \ +" + +ESYSACTIONS ?= "${PN}-sysactions" + +RRECOMMENDS_${PN} = "\ + ${PN}-config-default \ + ${PN}-images \ + ${PN}-icons \ + ${PN}-other \ + ${PN}-input-methods \ + ${ESYSACTIONS} \ +" + +FILES_${PN} = "\ + ${bindir}/* \ + ${libdir}/enlightenment/utils/* \ + ${libdir}/enlightenment/modules/*/*.* \ + ${libdir}/enlightenment/modules/*/*/* \ + ${libdir}/enlightenment/modules/*/*/.order \ + ${libdir}/enlightenment/modules/keyboards/ignore_built_in_keyboards \ + ${libdir}/enlightenment/*plugins/*/*/* \ + ${libdir}/enlightenment/preload/e_precache.so \ + ${datadir}/enlightenment/data/icons \ + ${datadir}/enlightenment/data/favorites \ + ${datadir}/enlightenment/data/input_methods \ + ${datadir}/enlightenment/data/config/profile.cfg \ + ${datadir}/enlightenment/AUTHORS \ + ${datadir}/enlightenment/COPYING \ + ${datadir}/xsessions/enlightenment.desktop \ + ${sysconfdir}/xdg \ + ${systemd_unitdir} \ +" + +FILES_${PN}-config-default = "${datadir}/enlightenment/data/config/default" +FILES_${PN}-config-mobile = "${datadir}/enlightenment/data/config/mobile" +FILES_${PN}-config-minimalist = "${datadir}/enlightenment/data/config/minimalist" +FILES_${PN}-config-netbook = "${datadir}/enlightenment/data/config/netbook" +FILES_${PN}-config-scaleable = "${datadir}/enlightenment/data/config/scaleable" +FILES_${PN}-config-standard = "${datadir}/enlightenment/data/config/standard" +FILES_${PN}-theme-default = "${datadir}/enlightenment/data/themes/default.edj" +FILES_${PN}-theme-default = "${datadir}/enlightenment/data/themes/default.edj" +FILES_${PN}-background-dark-gradient = "${datadir}/enlightenment/data/backgrounds/Dark_Gradient.edj" +FILES_${PN}-background-light-gradient = "${datadir}/enlightenment/data/backgrounds/Light_Gradient.edj" +FILES_${PN}-backgrounds = "${datadir}/enlightenment/data/backgrounds/*.edj" +FILES_${PN}-images = "${datadir}/enlightenment/data/images ${datadir}/enlightenment/data/flags" +FILES_${PN}-icons = "${datadir}/enlightenment/data/icons" +FILES_${PN}-other = "${datadir}/enlightenment/data/other" +FILES_${PN}-input-methods = "${datadir}/enlightenment/data/input_methods" +FILES_${PN}-sysactions = "${sysconfdir}/enlightenment/sysactions.conf" +FILES_${PN}-utils = "${libdir}/enlightenment/utils/*" +FILES_${PN}-menu = "${sysconfdir}/xdg/menus/applications.menu" + +FILES_efm-desktop-icon = "\ + ${datadir}/applications/efm.desktop \ + ${datadir}/applications/enlightenment_filemanager.desktop \ + ${datadir}/icons/e-module-fileman.png \ +" + +KEYBOARDS_DIR="${libdir}/enlightenment/modules/illume-keyboard/keyboards" +FILES_illume-keyboard-default-alpha = "\ + ${KEYBOARDS_DIR}/Default.kbd \ + ${KEYBOARDS_DIR}/alpha.png \ +" +FILES_illume-keyboard-default-numeric = "\ + ${KEYBOARDS_DIR}/Numbers.kbd \ + ${KEYBOARDS_DIR}/numeric.png \ +" +FILES_illume-keyboard-default-terminal = "\ + ${KEYBOARDS_DIR}/Terminal.kbd \ + ${KEYBOARDS_DIR}/qwerty.png \ +" + +RRECOMMENDS_${PN}-config-default = "${PN}-theme-default" +RRECOMMENDS_${PN}-config-mobile = "\ + illume-keyboard-default-alpha \ + illume-keyboard-default-numeric \ + illume-keyboard-default-terminal \ +" + +RRECOMMENDS_${PN}-config-minimalist = "\ + ${PN}-background-light-gradient \ + ${PN}-theme-default \ +" +RRECOMMENDS_${PN}-config-netbook = "\ + ${PN}-background-dark-gradient \ + ${PN}-theme-default \ +" +RRECOMMENDS_${PN}-config-scaleable = "${PN}-theme-default" +RRECOMMENDS_${PN}-config-standard = "${PN}-theme-default" + +FILES_${PN}-dbg += "\ + ${libdir}/enlightenment/modules/*/*/.debug/ \ + ${libdir}/enlightenment/modules/policies/.debug/ \ + ${libdir}/enlightenment/preload/.debug/ \ + ${libdir}/enlightenment/utils/.debug/ \ + ${libdir}/enlightenment/*plugins/*/*/.debug \ +" + +FILES_${PN}-doc += "\ + ${datadir}/enlightenment/doc \ +" + +CONFFILES_${PN}-menu = "${sysconfdir}/xdg/menus/applications.menu" +CONFFILES_${PN}-sysactions = "/etc/enlightenment/sysactions.conf" + +ALTERNATIVE_${PN} = "x-window-manager" +ALTERNATIVE_TARGET[x-window-manager] = "${bindir}/enlightenment_start.oe" +ALTERNATIVE_PRIORITY[x-window-manager] = "16" diff --git a/meta-efl/recipes-efl/e17/e-wm/applications.menu b/meta-efl/recipes-efl/e17/e-wm/applications.menu new file mode 100644 index 0000000000..ed9b906621 --- /dev/null +++ b/meta-efl/recipes-efl/e17/e-wm/applications.menu @@ -0,0 +1,105 @@ + + + + Applications + + + + /usr/share/applications + + + + Office + Office.directory + + + Office + + + + + + Multimedia + Multimedia.directory + + + AudioVideo + + + + + + Graphics + Graphics.directory + + + Graphics + + + + + + Games + Games.directory + + + + Game + Games + + + + + + + Internet + Internet.directory + + + + Internet + Network + + + + + + + Settings + Settings.directory + + + + SystemSettings + Settings + + + System + + + + + + + Accessories + Accessories.directory + + + + Applications + Utility + + + System + Office + Internet + AudioVideo + Graphics + Games + + + + + + + diff --git a/meta-efl/recipes-efl/e17/e-wm/enlightenment_start.oe b/meta-efl/recipes-efl/e17/e-wm/enlightenment_start.oe new file mode 100644 index 0000000000..ff86172752 --- /dev/null +++ b/meta-efl/recipes-efl/e17/e-wm/enlightenment_start.oe @@ -0,0 +1,9 @@ +#!/bin/sh + +E_PROFILE="" +if [ -r /etc/enlightenment/default_profile ]; then + . /etc/enlightenment/default_profile +fi + +renice -2 -p $$ +exec enlightenment_start $E_PROFILE diff --git a/meta-efl/recipes-efl/e17/e-wm_0.18.7.bb b/meta-efl/recipes-efl/e17/e-wm_0.18.7.bb new file mode 100644 index 0000000000..0e3972702e --- /dev/null +++ b/meta-efl/recipes-efl/e17/e-wm_0.18.7.bb @@ -0,0 +1,20 @@ +require ${BPN}.inc + +SRCNAME = "enlightenment" + +S = "${WORKDIR}/${SRCNAME}-${PV}" + +SRC_URI = "\ + ${E_RELEASES}/apps/${SRCNAME}/${SRCNAME}-${SRCVER}.tar.gz \ + file://enlightenment_start.oe \ + file://applications.menu \ +" + +SRC_URI[md5sum] = "499b92ef38347881c72729f1e066eb20" +SRC_URI[sha256sum] = "1b05a1d986643a6603b1c20ac87b6864325d0aea22a3d1d096f4063b4fba2f4d" + +do_configure_prepend() { + sed '/^ *EFL_PKG_CHECK_VAR/ s/systemduserunitdir/systemdsystemunitdir/g' -i ${S}/configure.ac +} + +PACKAGECONFIG[systemd] = "--enable-systemd,--disable-systemd,systemd" diff --git a/meta-efl/recipes-efl/e17/edje-viewer_svn.bb b/meta-efl/recipes-efl/e17/edje-viewer_svn.bb new file mode 100644 index 0000000000..2b927a0dda --- /dev/null +++ b/meta-efl/recipes-efl/e17/edje-viewer_svn.bb @@ -0,0 +1,16 @@ +SUMMARY = "Edje_Viewer is just that" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://COPYING;md5=344895f253c32f38e182dcaf30fe8a35 \ + file://COPYING-PLAIN;md5=e01359041001e8bf24c09acca556e792" + +DEPENDS = "elementary" +PV = "0.0.0+svnr${SRCPV}" +SRCREV = "${EFL_SRCREV}" + +inherit e + +SRCNAME = "edje_viewer" +SRC_URI = "${E_SVN}/trunk;module=${SRCNAME};protocol=http;scmdata=keep" +S = "${WORKDIR}/${SRCNAME}" + +FILES_${PN} += "${datadir}" diff --git a/meta-efl/recipes-efl/e17/elfe_git.bb b/meta-efl/recipes-efl/e17/elfe_git.bb new file mode 100644 index 0000000000..fcb97a972d --- /dev/null +++ b/meta-efl/recipes-efl/e17/elfe_git.bb @@ -0,0 +1,15 @@ +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://COPYING;md5=344895f253c32f38e182dcaf30fe8a35" +PV = "0.0.1+gitr${SRCPV}" +PE = "1" + +require e-module.inc + +SRC_URI = " \ + git://git.enlightenment.org/enlightenment/modules/${BPN}.git \ +" +S = "${WORKDIR}/git" + +SRCREV = "1ec0e7713c3ca901014811ff78277d9e2aaac981" + +DEPENDS += "elementary" diff --git a/meta-efl/recipes-efl/e17/elmdentica_svn.bb b/meta-efl/recipes-efl/e17/elmdentica_svn.bb new file mode 100644 index 0000000000..94bcbac268 --- /dev/null +++ b/meta-efl/recipes-efl/e17/elmdentica_svn.bb @@ -0,0 +1,23 @@ +SUMMARY = "A indenti.ca client for E" +DEPENDS = "glib-2.0 gconf curl elementary sqlite3-native azy" +LICENSE = "GPLv3+" +LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" + +SECTION = "e/apps" +HOMEPAGE = "http://elmdentica.googlecode.com" +AUTHOR = "seabra" + +inherit e gettext +SRC_URI = "${E_SVN}/trunk;module=${SRCNAME};protocol=http;scmdata=keep" +S = "${WORKDIR}/${SRCNAME}" + +EXTRA_OECONF = "--with-edje-cc=${STAGING_BINDIR_NATIVE}/edje_cc" + +PV = "0.9.9+svnr${SRCPV}" +SRCREV = "${EFL_SRCREV}" + +RDEPENDS_${PN} = "${PN}-themes" + +do_configure_prepend() { + autopoint --force +} diff --git a/meta-efl/recipes-efl/e17/enjoy/0001-always-use-position-as-percent-and-define-a-1-second.patch b/meta-efl/recipes-efl/e17/enjoy/0001-always-use-position-as-percent-and-define-a-1-second.patch new file mode 100644 index 0000000000..09624503b3 --- /dev/null +++ b/meta-efl/recipes-efl/e17/enjoy/0001-always-use-position-as-percent-and-define-a-1-second.patch @@ -0,0 +1,133 @@ +From 751505501e0db31cf766ec0ae95a6968b4d1eb93 Mon Sep 17 00:00:00 2001 +From: Alban Browaeys +Date: Wed, 5 Sep 2012 02:58:26 +0000 +Subject: [PATCH] always use position as percent and define a 1 seconds + tolerance. + +Fix "reverb" effect: ie loop between setting the slider to match +the position and handling slider to position (seek). +--- + data/themes/default.edc | 8 +++----- + src/bin/win.c | 28 ++++++++++++++++++++++------ + 2 files changed, 25 insertions(+), 11 deletions(-) + +diff --git a/data/themes/default.edc b/data/themes/default.edc +index ebf8ba4..7a906b1 100644 +--- a/data/themes/default.edc ++++ b/data/themes/default.edc +@@ -186,7 +186,6 @@ collections { + group { + name: "nowplaying"; + script { +- public cur_length; + public mute; + + public get_time_str(Float:time, time_str[6]) +@@ -201,16 +200,15 @@ collections { + new Float:position = getfarg(2); + new Float:length = getfarg(3); + if (length > 0) +- external_param_set_float(PART:"progress.slider", "value", position / length * 100); ++ external_param_set_float(PART:"progress.slider", "value", position * 100); + else + external_param_set_float(PART:"progress.slider", "value", 0); + + new time_str[6]; +- get_time_str(position, time_str); ++ get_time_str(position * length, time_str); + set_text(PART:"ejy.text.current_time", time_str); + get_time_str(length, time_str); + set_text(PART:"ejy.text.total_time", time_str); +- set_float(cur_length, length); + } else if (type == MSG_INT && id == MSG_SHUFFLE) { + external_param_set_bool(PART:"buttons.shuffle", "state", getarg(2)); + } else if (type == MSG_INT && id == MSG_LOOP) { +@@ -689,7 +687,7 @@ collections { + source: "progress.slider"; + signal: "changed"; + script { +- send_message(MSG_FLOAT, MSG_POSITION, (external_param_get_float(PART:"progress.slider", "value") * get_float(cur_length) / 100)); ++ send_message(MSG_FLOAT, MSG_POSITION, (external_param_get_float(PART:"progress.slider", "value") / 100)); + } + } + program { +diff --git a/src/bin/win.c b/src/bin/win.c +index 2f65953..428e268 100644 +--- a/src/bin/win.c ++++ b/src/bin/win.c +@@ -194,8 +194,8 @@ _win_play_eval(Win *w) + { + Edje_Message_Float_Set *mf; + +- w->play.position = emotion_object_position_get(w->emotion); + w->play.length = emotion_object_play_length_get(w->emotion); ++ w->play.position = emotion_object_position_get(w->emotion) / w->play.length; + + if ((w->song) && (w->song->length != (int)w->play.length)) + db_song_length_set(w->db, w->song, w->play.length); +@@ -542,8 +542,14 @@ _win_edje_msg(void *data, Evas_Object *o __UNUSED__, Edje_Message_Type type, int + else + { + Edje_Message_Float *m = msg; ++ ++ if ((((m->val - w->play.position) * w->play.length) < 1.0) ++ && (((w->play.position - m->val) * w->play.length) < 1.0)) ++ return; ++ + w->play.position = m->val; +- emotion_object_position_set(w->emotion, w->play.position); ++ emotion_object_position_set(w->emotion, w->play.position ++ * w->play.length); + ecore_event_add(ENJOY_EVENT_POSITION_CHANGE, NULL, NULL, NULL); + } + break; +@@ -617,16 +623,21 @@ enjoy_control_seek(uint64_t position) + { + Win *w = &_win; + double seek_to; ++ double new_pos = w->play.length / ((double)position / 1e6); + + if (!w->db) return; +- seek_to = w->play.position + w->play.length / ((double)position / 1e6); ++ ++ if ((((new_pos - w->play.position) * w->play.length) < 1.0) ++ && (((w->play.position - new_pos) * w->play.length) < 1.0)) return; ++ ++ seek_to = w->play.position + new_pos; + if (seek_to <= 0.0) + seek_to = 0.0; + else if (seek_to >= 1.0) + seek_to = 1.0; + + w->play.position = seek_to; +- emotion_object_position_set(w->emotion, w->play.position); ++ emotion_object_position_set(w->emotion, w->play.position * w->play.length); + ecore_event_add(ENJOY_EVENT_POSITION_CHANGE, NULL, NULL, NULL); + } + +@@ -692,15 +703,20 @@ EAPI void + enjoy_position_set(int32_t position) + { + Win *w = &_win; ++ double new_pos = w->play.length / ((double)position / 1e6); + + if (!w->db) return; +- w->play.position = w->play.length / ((double)position / 1e6); ++ ++ if ((((new_pos - w->play.position) * w->play.length) < 1.0) ++ && (((w->play.position - new_pos) * w->play.length) < 1.0)) return; ++ ++ w->play.position = new_pos; + if (w->play.position < 0.0) + w->play.position = 0.0; + else if (w->play.position > 1.0) + w->play.position = 1.0; + +- emotion_object_position_set(w->emotion, w->play.position); ++ emotion_object_position_set(w->emotion, w->play.position * w->play.length); + ecore_event_add(ENJOY_EVENT_POSITION_CHANGE, NULL, NULL, NULL); + } + +-- +1.8.5.2 + diff --git a/meta-efl/recipes-efl/e17/enjoy_git.bb b/meta-efl/recipes-efl/e17/enjoy_git.bb new file mode 100644 index 0000000000..bc3168e6a3 --- /dev/null +++ b/meta-efl/recipes-efl/e17/enjoy_git.bb @@ -0,0 +1,47 @@ +SUMMARY = "Enjoy music player" +LICENSE = "LGPLv3" +LIC_FILES_CHKSUM = "file://COPYING;md5=6a6a8e020838b23406c81b19c1d46df6" +DEPENDS = "evas ecore edje elementary emotion lightmediascanner eldbus gst-plugins-good" + +SRCREV = "aa8fec69e885eec048a849c2b34059ec58404e02" +PV = "0.1.0+gitr${SRCPV}" + +#1st needed for all formats +#2nd needed for mp3 playback +#3d needed for ogg playback +#4th needed for flac playback +#5th needed binary to create db +RDEPENDS_${PN} += "\ + gst-plugins-base-typefindfunctions gst-plugins-base-playbin gst-plugins-base-volume gst-plugins-base-decodebin2 gst-plugins-good-autodetect \ + gst-plugins-base-ogg gst-plugins-base-ivorbisdec \ + gst-plugins-good-flac \ + lightmediascanner-test \ +" + +inherit e gettext +SRC_URI = " \ + git://git.enlightenment.org/apps/enjoy.git \ + file://0001-always-use-position-as-percent-and-define-a-1-second.patch \ +" +S = "${WORKDIR}/git" + +FILES_${PN} += "${datadir}/icons/" + +EXTRA_OECONF = "\ + --with-edje-cc=${STAGING_BINDIR_NATIVE}/edje_cc \ +" + +PACKAGECONFIG[mad] = ",,gst-plugins-ugly,gst-plugins-ugly-mad" +PACKAGECONFIG[id3demux] = ",,,gst-plugins-good-id3demux" + +do_configure_prepend() { + autopoint || touch config.rpath +} + +pkg_postinst_${PN} () { + echo "enjoy: SCAN and LIBRARY MANAGER are not implemeted yet!" + echo "enjoy: Meanwhile please run:" + echo "enjoy: test-lms -m mono -p id3 -i 5000 -s /path/to/your/music/dir /home/root/.config/enjoy/media.db" + echo "enjoy:" + echo "enjoy: Use test-lms -P to see available formats that can be scanned" +} diff --git a/meta-efl/recipes-efl/e17/ephoto_svn.bb b/meta-efl/recipes-efl/e17/ephoto_svn.bb new file mode 100644 index 0000000000..def68aff7f --- /dev/null +++ b/meta-efl/recipes-efl/e17/ephoto_svn.bb @@ -0,0 +1,14 @@ +LICENSE = "MIT GPL-3.0" +PV = "0.1.0+svnr${SRCREV}" +PR = "${INC_PR}.0" + +LIC_FILES_CHKSUM = "file://COPYING;md5=fdffcddb366d0cc78e0e46c4ea70c8d9 \ + file://COPYING.icons;md5=8f0e2cd40e05189ec81232da84bd6e1a" + +require e-module.inc + +inherit gettext + +DEPENDS += "elementary ethumb ecore eio" + +SRCNAME = "${PN}" diff --git a/meta-efl/recipes-efl/e17/eve/0001-eve-theme-updated-for-Openmoko-Freerunner-screen.patch b/meta-efl/recipes-efl/e17/eve/0001-eve-theme-updated-for-Openmoko-Freerunner-screen.patch new file mode 100644 index 0000000000..a3c5cdaaae --- /dev/null +++ b/meta-efl/recipes-efl/e17/eve/0001-eve-theme-updated-for-Openmoko-Freerunner-screen.patch @@ -0,0 +1,102 @@ +From 203aabbb95a98fa455363f78ff07e2ed217b0086 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Marco=20Trevisan=20=28Trevi=C3=B1o=29?= +Date: Wed, 17 Nov 2010 16:38:47 +0100 +Subject: [PATCH 1/2] eve: theme updated for Openmoko Freerunner screen + +--- + data/themes/default.edc | 24 +++++++++++------------- + 1 file changed, 11 insertions(+), 13 deletions(-) + +diff --git a/data/themes/default.edc b/data/themes/default.edc +index feeac4f..848ca5c 100644 +--- a/data/themes/default.edc ++++ b/data/themes/default.edc +@@ -1,8 +1,8 @@ +-#define TOP_PANEL_HEIGHT 64 ++#define TOP_PANEL_HEIGHT 80 + #define BOTTOM_PANEL_HEIGHT 85 + #define TOOLBAR_ITEMS 5 + #define TOOLBAR_MIDDLE_ITEM 3 +-#define TOOLBAR_ITEM_SIZE 90 ++#define TOOLBAR_ITEM_SIZE 87 + #define URLBAR_ITEM_SIZE 40 + + #define TOOLBAR_POSITION(_item_number) ((_item_number)*(TOOLBAR_ITEM_SIZE)-((TOOLBAR_ITEM_SIZE)*(TOOLBAR_MIDDLE_ITEM))) +@@ -295,7 +295,6 @@ collections { + type: RECT; + description { state: "default" 0.0; + color: 0 0 0 255; +- min: 240 320; + } + } + } +@@ -526,7 +525,6 @@ collections { + type: RECT; + description { state: "default" 0.0; + color: 0 0 0 255; +- min: 240 320; + } + } + part { name: "view"; +@@ -920,17 +918,17 @@ collections { + type: IMAGE; + description { state: "default" 0.0; + visible: 0; +- min: 30 27; +- max: 30 27; ++ min: 80 78; ++ max: 80 78; + fixed: 1 1; + image.normal: "panel-top-triangle.png"; + rel1 { + relative: 1.0 0.0; +- offset: 60 60; ++ offset: 0 0; + } + rel2 { + relative: 1.0 0.0; +- offset: 60 60; ++ offset: 0 0; + } + } + description { state: "visible" 0.0; +@@ -939,11 +937,11 @@ collections { + image.normal: "panel-top-triangle.png"; + rel1 { + relative: 1.0 0.0; +- offset: -15 13; ++ offset: -40 38; + } + rel2 { + relative: 1.0 0.0; +- offset: -15 13; ++ offset: -40 38; + } + } + description { state: "pressed" 0.0; +@@ -1033,11 +1031,11 @@ collections { + rel2 { + to_y: "panel-top"; + relative: 1.0 0.0; +- offset: -1 24; ++ offset: -1 26; + } + text { + font: "Sans,Edje-Vera"; +- size: 8; ++ size: 11; + text: "Untitled"; + min: 0 1; + align: 0.5 0.5; +@@ -1053,7 +1051,7 @@ collections { + rel1 { + to_y: "panel-top"; + relative: 0.0 0.0; +- offset: (URLBAR_ITEM_SIZE+20) 68; ++ offset: (URLBAR_ITEM_SIZE+20) 70; + } + rel2 { + to_y: "panel-top"; +-- +1.9.1 + diff --git a/meta-efl/recipes-efl/e17/eve/0002-adapt-to-webkit-efl-changes.patch b/meta-efl/recipes-efl/e17/eve/0002-adapt-to-webkit-efl-changes.patch new file mode 100644 index 0000000000..4b5e64ee57 --- /dev/null +++ b/meta-efl/recipes-efl/e17/eve/0002-adapt-to-webkit-efl-changes.patch @@ -0,0 +1,109 @@ +From c1cb2a7b6d8b4661fde442ea4725df6842a94816 Mon Sep 17 00:00:00 2001 +From: Martin Jansa +Date: Fri, 18 Apr 2014 11:52:18 +0200 +Subject: [PATCH 2/2] adapt to webkit-efl changes + +WIP: just fixes the build, probably doesn't render correctly + +https://trac.webkit.org/changeset/164168 +removed cairo.h from public headers and ewk_view_paint_contents + +https://trac.webkit.org/changeset/162581 +removed ewk_view_pre_render methods (with whole tiled support) + +https://git.enlightenment.org/core/elementary.git/commit/?id=0e465290be2016f12adcbc8c8d74645b3e6a1d9a +ewk_view_tiled_smart_set is gone and ewk_view_single_smart_set is +ewk_view_smart_set + +Signed-off-by: Martin Jansa +--- + src/bin/chrome.c | 4 +++- + src/bin/view.c | 22 +++++++--------------- + 2 files changed, 10 insertions(+), 16 deletions(-) + +diff --git a/src/bin/chrome.c b/src/bin/chrome.c +index ee8f0c4..b46b29d 100644 +--- a/src/bin/chrome.c ++++ b/src/bin/chrome.c +@@ -5,6 +5,8 @@ + #include + #include + ++#include ++ + #include + #include + +@@ -1997,7 +1999,7 @@ view_screenshot_add(Evas *evas, const Evas_Object *view) + if (cairo_status(cairo) != CAIRO_STATUS_SUCCESS) + goto error_cairo_create; + +- if (!ewk_view_paint_contents(priv, cairo, &rect)) ++ if (!ewk_view_screenshot_contents_get(priv, &rect, 1)) + { + evas_object_del(img); + img = NULL; +diff --git a/src/bin/view.c b/src/bin/view.c +index 54de6c1..2b07511 100644 +--- a/src/bin/view.c ++++ b/src/bin/view.c +@@ -335,7 +335,7 @@ _view_load_finished(void *data, Evas_Object *view, void *event_info __UNUSED__) + h *= 2; + + INF("load finished, pre-render %d,%d+%dx%d at %0.2f", x, y, w, h, zoom); +- ewk_view_pre_render_region(view, x, y, w, h, zoom); ++ //ewk_view_pre_render_region(view, x, y, w, h, zoom); + } + + /* stop animators, we changed page */ +@@ -435,7 +435,7 @@ _view_pan_pre_render(View_Smart_Data *sd, Evas_Coord dx, Evas_Coord dy) + + INF("pre-render region %d,%d+%dx%d at %0.2f (viewport=%d,%d+%dx%d)", + px, py, pw, ph, zoom, x, y, w, h); +- ewk_view_pre_render_region(sd->base.self, px, py, pw, ph, zoom); ++ //ewk_view_pre_render_region(sd->base.self, px, py, pw, ph, zoom); + } + + static unsigned int +@@ -611,7 +611,7 @@ _view_pan_start(View_Smart_Data *sd, const Evas_Event_Mouse_Down *ev) + + sd->pan.last_move = *p; + +- ewk_view_pre_render_cancel(sd->base.self); ++ //ewk_view_pre_render_cancel(sd->base.self); + + /* register function to collect samples and apply scrolls at fixed interval*/ + if (!sd->animator.pan) +@@ -816,7 +816,7 @@ _view_zoom_start(View_Smart_Data *sd, const Evas_Event_Mouse_Down *ev) + Evas_Coord cw, ch, vw, vh; + float z, zx, zy; + +- ewk_view_pre_render_cancel(sd->base.self); ++ //ewk_view_pre_render_cancel(sd->base.self); + + /* remember starting point so we have a reference */ + sd->zoom.start.zoom = ewk_frame_page_zoom_get(frame); +@@ -1512,17 +1512,9 @@ view_add(Evas_Object *parent, Backing_Store bs) + /* create ewk_view_single subclass, this is done only once! */ + static Ewk_View_Smart_Class api = EWK_VIEW_SMART_CLASS_INIT_NAME_VERSION("EWK_View_Demo"); + +- /* set current and parent apis to vanilla ewk_view_single methods */ +- if (bs == BACKING_STORE_TILED) +- { +- ewk_view_tiled_smart_set(&api); +- ewk_view_tiled_smart_set(&_parent_sc); +- } +- else +- { +- ewk_view_single_smart_set(&api); +- ewk_view_single_smart_set(&_parent_sc); +- } ++ /* set current and parent apis to vanilla ewk_view methods */ ++ ewk_view_smart_set(&api); ++ ewk_view_smart_set(&_parent_sc); + + /* override methods we want custom behavior */ + api.sc.add = _view_smart_add; +-- +1.9.1 + diff --git a/meta-efl/recipes-efl/e17/eve_git.bb b/meta-efl/recipes-efl/e17/eve_git.bb new file mode 100644 index 0000000000..7879d6a8fc --- /dev/null +++ b/meta-efl/recipes-efl/e17/eve_git.bb @@ -0,0 +1,34 @@ +SUMMARY = "Enlightenment Web Browser" +LICENSE = "LGPLv3" +LIC_FILES_CHKSUM = "file://COPYING;md5=6a6a8e020838b23406c81b19c1d46df6" +DEPENDS = "evas ecore edje elementary webkit-efl eldbus" + +PE = "1" +PV = "0.3.0+gitr${SRCPV}" +SRCREV = "7bd6549982f4fc5e26e5d11e6c536601358892e3" + +# webkit-efl isn't available for < armv7a +COMPATIBLE_MACHINE = "(-)" +COMPATIBLE_MACHINE_i586 = "(.*)" +COMPATIBLE_MACHINE_x86-64 = "(.*)" +COMPATIBLE_MACHINE_armv7a = "(.*)" + +inherit e gettext +SRC_URI = " \ + git://git.enlightenment.org/apps/${BPN}.git \ + file://0001-eve-theme-updated-for-Openmoko-Freerunner-screen.patch \ + file://0002-adapt-to-webkit-efl-changes.patch \ +" +S = "${WORKDIR}/git" + +do_configure_prepend() { + autopoint || touch config.rpath +} + +EXTRA_OECONF = "\ + --with-edje-cc=${STAGING_BINDIR_NATIVE}/edje_cc \ +" + +FILES_${PN} += "\ + ${datadir}/icons/eve.png \ +" diff --git a/meta-efl/recipes-efl/e17/exalt-client_svn.bb b/meta-efl/recipes-efl/e17/exalt-client_svn.bb new file mode 100644 index 0000000000..b8c204d019 --- /dev/null +++ b/meta-efl/recipes-efl/e17/exalt-client_svn.bb @@ -0,0 +1,25 @@ +LICENSE = "LGPL-2.0" +LIC_FILES_CHKSUM = "file://COPYING;md5=fbc093901857fcd118f065f900982c24" + +PV = "0.0.1+svnr${SRCPV}" + +require e-module.inc + +DEPENDS += "elementary exalt edje-native" + +CFLAGS += " -I${STAGING_INCDIR}/exalt -I${STAGING_INCDIR}/exalt_dbus" + +do_configure_prepend() { + sed -i -e /po/d configure.ac + sed -i -e s:\ po::g Makefile.am +} + +FILES_${PN} += "${libdir}/enlightenment/modules/*/*.desktop \ + ${libdir}/enlightenment/modules/*/*.edj \ + ${libdir}/enlightenment/modules/*/*/*.so" + +FILES_${PN}-staticdev += "${libdir}/enlightenment/modules/*/*/*.a" +FILES_${PN}-dev += "${libdir}/enlightenment/modules/*/*/*.la" +FILES_${PN}-dbg += "${libdir}/enlightenment/modules/*/*/.debug" + + diff --git a/meta-efl/recipes-efl/e17/exalt_svn.bb b/meta-efl/recipes-efl/e17/exalt_svn.bb new file mode 100644 index 0000000000..2993f5c910 --- /dev/null +++ b/meta-efl/recipes-efl/e17/exalt_svn.bb @@ -0,0 +1,34 @@ +SUMMARY = "Exalt is a network manager for the windows manager Enlightenment DR17" +HOMEPAGE = "http://watchwolf.fr/wiki/doku.php?id=exalt" + +LICENSE = "LGPLv2.1" +LIC_FILES_CHKSUM = "file://COPYING;md5=fbc093901857fcd118f065f900982c24" + +DEPENDS = "elementary vpnc wpa-supplicant ecore eet edbus" +RDEPENDS_${PN} = "vpnc wpa-supplicant" + +PV = "0.9+svnr${SRCPV}" +SRCREV = "${EFL_SRCREV}" + +inherit e +SRC_URI = "${E_SVN}/trunk;module=${SRCNAME};protocol=http;scmdata=keep" +S = "${WORKDIR}/${SRCNAME}" + +EXTRA_OECONF = " \ +--with-wpa_supplicant=${sbindir}/wpa_supplicant \ +--with-vpnc=${sbindir}/vpnc \ +--with-vpnc-disconnect=${sbindir}/vpnc-disconnect \ +" + +do_install_append() { + # install dbus config file + install -d ${D}${sysconfdir}/dbus-1/system.d/ + install -m 0644 data/daemon/dbus/exalt.conf ${D}${sysconfdir}/dbus-1/system.d/exalt.conf + + # install dbus service file + install -d ${D}${datadir}/dbus-1/system-services/ + install -m 0644 org.e.Exalt.service ${D}${datadir}/dbus-1/system-services/ +} + +FILES_${PN} += "${datadir}/dbus-1" + diff --git a/meta-efl/recipes-efl/e17/exquisite-theme-illume.bb b/meta-efl/recipes-efl/e17/exquisite-theme-illume.bb new file mode 100644 index 0000000000..5948e20731 --- /dev/null +++ b/meta-efl/recipes-efl/e17/exquisite-theme-illume.bb @@ -0,0 +1,35 @@ +DDESCRIPTION = "A theme for exquisite" +LICENSE = "MIT BSD" +LIC_FILES_CHKSUM = "file://${WORKDIR}/LICENSE;md5=f523ab5986cc79b52a90d2ac3d5454a2" +SECTION = "x11" +DEPENDS = "edje-native" +PV = "1.0+svnr${SRCPV}" +SRCREV = "${EFL_SRCREV}" + +inherit e-base update-alternatives allarch + +ALTERNATIVE_NAME = "exquisite-config" +ALTERNATIVE_LINK = "${sysconfdir}/exquisite/config" +ALTERNATIVE_PATH = "${sysconfdir}/exquisite/config-illume" +ALTERNATIVE_PRIORITY = "10" + +SRCNAME = "b_and_w" + +SRC_URI = "${E_SVN}/trunk/THEMES;module=${SRCNAME};protocol=http \ + file://LICENSE \ +" +S = "${WORKDIR}/${SRCNAME}" + +do_compile() { + ${STAGING_BINDIR_NATIVE}/edje_cc exquisite.edc illume.edj +} + +do_install() { + install -d ${D}${sysconfdir}/exquisite + install -d ${D}${datadir}/exquisite/data/themes + install -m 0644 ${S}/illume.edj ${D}${datadir}/exquisite/data/themes/ + echo 'THEME="-t illume"' > ${D}${sysconfdir}/exquisite/config-illume +} + +CONFFILES_${PN} = "${sysconfdir}/exquisite/config-illume" +FILES_${PN} = "${sysconfdir}/exquisite ${datadir}/exquisite/data/themes" diff --git a/meta-efl/recipes-efl/e17/exquisite-theme-illume/LICENSE b/meta-efl/recipes-efl/e17/exquisite-theme-illume/LICENSE new file mode 100644 index 0000000000..61bb2f603d --- /dev/null +++ b/meta-efl/recipes-efl/e17/exquisite-theme-illume/LICENSE @@ -0,0 +1,25 @@ +Copyright notice for Enlightenment: + +Copyright (C) 2000-2010 Carsten Haitzler and various contributors (see AUTHORS) + +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + +THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, +INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND +FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE +COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, +INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, +OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF +LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/meta-efl/recipes-efl/e17/exquisite/exquisite-init b/meta-efl/recipes-efl/e17/exquisite/exquisite-init new file mode 100644 index 0000000000..2de6774ffb --- /dev/null +++ b/meta-efl/recipes-efl/e17/exquisite/exquisite-init @@ -0,0 +1,40 @@ +#!/bin/sh + +for x in $(cat /proc/cmdline); do + case $x in + splash=false) + echo "Splash Disabled" + exit 0; + ;; + esac +done + +. /etc/init.d/functions + +### Default config here - gets overriden later +THEME="-t default" +FPS="-fps 30" +### Override config - if there is a config file - load it. +if test -f /etc/exquisite/config; then + . /etc/exquisite/config +fi + +args='' +case `machine_id` in + "hp_ipaq_h3100"|"hp_ipaq_h3800") + args='-rot 90' ;; + "hp_ipaq_3600"|"hp_ipaq_3700"|"hp_ipaq_h3900"|"htc_universal"|*collie|*poodle|*akita|*spitz|*borzoi) + args='-rot 270' ;; +esac +args=$args" $FPS $THEME" + +export EXDIR=/mnt/.splash +export EXQUISITE_IPC=$EXDIR/exquisite +mount tmpfs -t tmpfs $EXDIR -o,size=40k +exquisite -fb -fs $args & + +exquisite-write -wait 120 +exquisite-write "PULSATE" +setterm -blank 0 +setterm -powersave off +setterm -powerdown 0 diff --git a/meta-efl/recipes-efl/e17/exquisite/splashfuncs b/meta-efl/recipes-efl/e17/exquisite/splashfuncs new file mode 100644 index 0000000000..ada2a96dd4 --- /dev/null +++ b/meta-efl/recipes-efl/e17/exquisite/splashfuncs @@ -0,0 +1,29 @@ +status() { + if type splash-write >/dev/null 2>&1; then + (TMPDIR="/mnt/.splash" EXQUISITE_IPC="$TMPDIR/exquisite" splash-write "$1" || true) & + fi +} + +status_position() { + status "PROGRESS $1" +} + +status_title() { + status "TITLE $1" +} + +status_text() { + if test -n "$1"; then + status "MSG $1" + else + status "CLEAR" + fi +} + +status_pulse() { + status "PULSATE" +} + +status_tick() { + status "TICK" +} diff --git a/meta-efl/recipes-efl/e17/exquisite_svn.bb b/meta-efl/recipes-efl/e17/exquisite_svn.bb new file mode 100644 index 0000000000..dc46a94abd --- /dev/null +++ b/meta-efl/recipes-efl/e17/exquisite_svn.bb @@ -0,0 +1,41 @@ +SUMMARY = "A psplash replacement for display" +LICENSE = "MIT BSD" +LIC_FILES_CHKSUM = "file://COPYING;md5=14defa372a91118e755133bc8e6aff83" +DEPENDS = "eet evas ecore embryo edje" +PV = "0.0.1+svnr${SRCPV}" +SRCREV = "${EFL_SRCREV}" +RRECOMMENDS_${PN} = "exquisite-themes" +RCONFLICTS_${PN} = "psplash virtual-psplash" + +SRCNAME = "exquisite" + +inherit e +SRC_URI = "${E_SVN}/trunk;module=${SRCNAME};protocol=http;scmdata=keep" +S = "${WORKDIR}/${SRCNAME}" + +EXTRA_OECONF = "--with-edje-cc=${STAGING_BINDIR_NATIVE}/edje_cc" + +SRC_URI += "file://exquisite-init" +SRC_URI += "file://splashfuncs" + +inherit update-rc.d + +do_install_prepend() { + install -d ${D}/mnt/.splash/ + install -d ${D}${sysconfdir}/init.d + install -m 0755 ${WORKDIR}/exquisite-init ${D}${sysconfdir}/init.d/exquisite + install -d ${D}${sysconfdir}/default + install -m 0755 ${WORKDIR}/splashfuncs ${D}${sysconfdir}/default/splashfuncs + install -d ${D}${bindir} + ln -s exquisite-write ${D}${bindir}/splash-write +} + + +do_install_append() { + rm -rf ${D}${datadir}/exquisite/data/fonts/* +} + +INITSCRIPT_NAME = "exquisite" +INITSCRIPT_PARAMS = "start 01 S . stop 20 0 1 6 ." + +FILES_${PN} += "/mnt/.splash/" diff --git a/meta-efl/recipes-efl/e17/flame_svn.bb b/meta-efl/recipes-efl/e17/flame_svn.bb new file mode 100644 index 0000000000..97683ddb01 --- /dev/null +++ b/meta-efl/recipes-efl/e17/flame_svn.bb @@ -0,0 +1,16 @@ +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://COPYING;md5=344895f253c32f38e182dcaf30fe8a35 \ + file://COPYING-PLAIN;md5=c910b645eda0005ccec46f75203dc96e" + +PV = "0.0.3+svnr${SRCPV}" +PR = "${INC_PR}.0" + +require e-module.inc + +do_configure_prepend() { + sed -i -e /po/d configure.ac + sed -i -e s:\ po::g Makefile.am +} + + + diff --git a/meta-efl/recipes-efl/e17/forecasts_svn.bb b/meta-efl/recipes-efl/e17/forecasts_svn.bb new file mode 100644 index 0000000000..a030952239 --- /dev/null +++ b/meta-efl/recipes-efl/e17/forecasts_svn.bb @@ -0,0 +1,12 @@ +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://COPYING;md5=344895f253c32f38e182dcaf30fe8a35 \ + file://COPYING-PLAIN;md5=51328cfb73bfec3eed7cfd3dbed73988" + +PV = "0.2.0+svnr${SRCREV}" +PR = "${INC_PR}.0" + +require e-module.inc + + + + diff --git a/meta-efl/recipes-efl/e17/illume-keyboards-shr/0001-Makefile-update-KEYBOARDS_DIR-for-new-illume2.patch b/meta-efl/recipes-efl/e17/illume-keyboards-shr/0001-Makefile-update-KEYBOARDS_DIR-for-new-illume2.patch new file mode 100644 index 0000000000..b18a69b0ba --- /dev/null +++ b/meta-efl/recipes-efl/e17/illume-keyboards-shr/0001-Makefile-update-KEYBOARDS_DIR-for-new-illume2.patch @@ -0,0 +1,23 @@ +From 9316e3973c44b981e73b953b2861060c6902de47 Mon Sep 17 00:00:00 2001 +From: Martin Jansa +Date: Mon, 23 Aug 2010 12:54:05 +0200 +Subject: [PATCH] Makefile: update KEYBOARDS_DIR for new illume2 + +--- + Makefile | 2 +- + 1 files changed, 1 insertions(+), 1 deletions(-) + +diff --git a/Makefile b/Makefile +index 46e9420..3d8757c 100644 +--- a/Makefile ++++ b/Makefile +@@ -1,5 +1,5 @@ + +-INSTBASE = /usr/lib/enlightenment/modules/illume/keyboards ++INSTBASE = /usr/lib/enlightenment/modules/illume-keyboard/keyboards + + FILES-arabic = Arabic.kbd Arabic.png + FILES-persian = Persian.kbd Persian.png +-- +1.7.2 + diff --git a/meta-efl/recipes-efl/e17/illume-keyboards-shr/LICENSE b/meta-efl/recipes-efl/e17/illume-keyboards-shr/LICENSE new file mode 100644 index 0000000000..61bb2f603d --- /dev/null +++ b/meta-efl/recipes-efl/e17/illume-keyboards-shr/LICENSE @@ -0,0 +1,25 @@ +Copyright notice for Enlightenment: + +Copyright (C) 2000-2010 Carsten Haitzler and various contributors (see AUTHORS) + +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + +THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, +INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND +FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE +COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, +INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, +OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF +LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/meta-efl/recipes-efl/e17/illume-keyboards-shr_git.bb b/meta-efl/recipes-efl/e17/illume-keyboards-shr_git.bb new file mode 100644 index 0000000000..55f3282b7b --- /dev/null +++ b/meta-efl/recipes-efl/e17/illume-keyboards-shr_git.bb @@ -0,0 +1,98 @@ +SECTION = "x11/data" + +SRC_URI = "git://git.shr-project.org/repo/illume-keyboards.git;protocol=http;branch=master \ + file://0001-Makefile-update-KEYBOARDS_DIR-for-new-illume2.patch \ + file://LICENSE" +S = "${WORKDIR}/git" + +SRCREV = "4064489f359a1addf572089b582f317dff5f50e1" +PV = "0.0+gitr${SRCPV}" +PE = "1" +PR = "r5" +LICENSE = "MIT BSD" +LIC_FILES_CHKSUM = "file://${WORKDIR}/LICENSE;md5=f523ab5986cc79b52a90d2ac3d5454a2" + +PACKAGES = "\ +illume-keyboard-alpha \ +illume-keyboard-arabic \ +illume-keyboard-browse \ +illume-keyboard-danish \ +illume-keyboard-default-alt \ +illume-keyboard-dutch \ +illume-keyboard-dvorak \ +illume-keyboard-finnish \ +illume-keyboard-french \ +illume-keyboard-german \ +illume-keyboard-hebrew \ +illume-keyboard-numeric-alt \ +illume-keyboard-russian \ +illume-keyboard-russian-terminal \ +illume-keyboard-persian \ +" + +inherit allarch +KEYBOARDS_DIR="${libdir}/enlightenment/modules/illume-keyboard/keyboards" + +AUTHOR_illume-keyboard-alpha = "Jesus McCloud" +DESCRIPTION_illume-keyboard-alpha = "Illume keyboard with phone-like layout" +FILES_illume-keyboard-alpha = "${KEYBOARDS_DIR}/Alpha.kbd" + +AUTHOR_illume-keyboard-arabic = "Mohammad Fahmi / Tom Hacohen" +DESCRIPTION_illume-keyboard-arabic = "Illume keyboard with arabic layout" +FILES_illume-keyboard-arabic = "${KEYBOARDS_DIR}/Arabic.kbd ${KEYBOARDS_DIR}/Arabic.png" + +AUTHOR_illume-keyboard-browse = "Pander" +DESCRIPTION_illume-keyboard-browse = "Illume keyboard with a layout optimized for browsing" +FILES_illume-keyboard-browse = "${KEYBOARDS_DIR}/Browse.kbd ${KEYBOARDS_DIR}/end-browse.png ${KEYBOARDS_DIR}/pagedown-browse.png ${KEYBOARDS_DIR}/browse.png ${KEYBOARDS_DIR}/home-browse.png ${KEYBOARDS_DIR}/pageup-browse.png ${KEYBOARDS_DIR}/space-browse.png" + +AUTHOR_illume-keyboard-danish = "Esben Damgaard" +DESCRIPTION_illume-keyboard-danish = "Illume keyboard with danish layout" +FILES_illume-keyboard-danish = "${KEYBOARDS_DIR}/Danish.kbd ${KEYBOARDS_DIR}/danish.png" + +AUTHOR_illume-keyboard-default-alt = "Pander" +DESCRIPTION_illume-keyboard-default-alt = "Illume keyboard with an alternative default layout" +FILES_illume-keyboard-default-alt = "${KEYBOARDS_DIR}/Default-alt.kbd" + +AUTHOR_illume-keyboard-dutch = "Pander" +DESCRIPTION_illume-keyboard-dutch = "Illume keyboard with dutch layout" +FILES_illume-keyboard-dutch = "${KEYBOARDS_DIR}/capslock-negative.png ${KEYBOARDS_DIR}/end.png ${KEYBOARDS_DIR}/pagedown.png ${KEYBOARDS_DIR}/qwerty-dutch-nl.png ${KEYBOARDS_DIR}/Terminal-dutch-nl.kbd ${KEYBOARDS_DIR}/capslock.png ${KEYBOARDS_DIR}/home.png ${KEYBOARDS_DIR}/pageup.png ${KEYBOARDS_DIR}/space.png" + +AUTHOR_illume-keyboard-dvorak = "Gabor Adam TOTH" +DESCRIPTION_illume-keyboard-dvorak = "Illume keyboard with dvorak layout" +FILES_illume-keyboard-dvorak = "${KEYBOARDS_DIR}/Dvorak.kbd ${KEYBOARDS_DIR}/dvorak.png" + +AUTHOR_illume-keyboard-finnish = "Olof Sjöbergh / Jussi Timperi" +DESCRIPTION_illume-keyboard-finnish = "Illume keyboard with finnish layout" +FILES_illume-keyboard-finnish = "${KEYBOARDS_DIR}/Finnish.kbd ${KEYBOARDS_DIR}/Finnish.png" + +DESCRIPTION_illume-keyboard-french = "Illume keyboard with french layout" +FILES_illume-keyboard-french = "${KEYBOARDS_DIR}/Azerty.kbd ${KEYBOARDS_DIR}/Azerty.png" + +AUTHOR_illume-keyboard-german = "Florian Hackenberger" +DESCRIPTION_illume-keyboard-german = "Illume keyboard with german layout" +FILES_illume-keyboard-german = "${KEYBOARDS_DIR}/German.kbd ${KEYBOARDS_DIR}/German.png" + +AUTHOR_illume-keyboard-hebrew = "Tom Hacohen" +DESCRIPTION_illume-keyboard-hebrew = "Illume keyboard with hebrew layout" +FILES_illume-keyboard-hebrew = "${KEYBOARDS_DIR}/Hebrew.kbd ${KEYBOARDS_DIR}/Alpha-hebrew-il.png" + +AUTHOR_illume-keyboard-numeric-alt = "Pander" +DESCRIPTION_illume-keyboard-numeric-alt = "Illume keyboard with an alternative numeric layout" +FILES_illume-keyboard-numeric-alt = "${KEYBOARDS_DIR}/Numbers-alt.kbd ${KEYBOARDS_DIR}/numeric-alt.png" + +AUTHOR_illume-keyboard-russian = "lucky" +DESCRIPTION_illume-keyboard-russian = "Illume keyboard with russian layout" +FILES_illume-keyboard-russian = "${KEYBOARDS_DIR}/X8_Russian.kbd ${KEYBOARDS_DIR}/X8-russian-ru.png" + +AUTHOR_illume-keyboard-russian-terminal = "lucky" +DESCRIPTION_illume-keyboard-russian-terminal = "Illume keyboard with russian layout for the Terminal" +FILES_illume-keyboard-russian-terminal = "${KEYBOARDS_DIR}/Terminal_Russian.kbd ${KEYBOARDS_DIR}/Terminal-russian-ru.png" + +AUTHOR_illume-keyboard-persian = "slave" +DESCRIPTION_illume-keyboard-persian = "Illume keyboard with persian layout" +FILES_illume-keyboard-persian = "${KEYBOARDS_DIR}/Persian.kbd ${KEYBOARDS_DIR}/Persian.png" + +do_install() { + make DESTDIR=${D} install +} + diff --git a/meta-efl/recipes-efl/e17/nonworking/emprint_svn.bb b/meta-efl/recipes-efl/e17/nonworking/emprint_svn.bb new file mode 100644 index 0000000000..777e30218d --- /dev/null +++ b/meta-efl/recipes-efl/e17/nonworking/emprint_svn.bb @@ -0,0 +1,12 @@ +DESCRIPTION = "Emprint is a utility for taking screenshots of the entire screen, a specific window, or a specific region." +LICENSE = "MIT BSD" +DEPENDS = "imlib2 virtual/libx11 ecore evas edje eina" +PV = "0.0.1+svnr${SRCPV}" +LIC_FILES_CHKSUM = "file://COPYING;md5=344895f253c32f38e182dcaf30fe8a35" +SRCREV = "${EFL_SRCREV}" + +inherit e +SRC_URI = "${E_SVN}/trunk;module=${SRCNAME};protocol=http;scmdata=keep" +S = "${WORKDIR}/${SRCNAME}" + +FILES_${PN}-dbg += "${libdir}/${PN}/modules/.debug" diff --git a/meta-efl/recipes-efl/e17/nonworking/news_svn.bb b/meta-efl/recipes-efl/e17/nonworking/news_svn.bb new file mode 100644 index 0000000000..9b89d80315 --- /dev/null +++ b/meta-efl/recipes-efl/e17/nonworking/news_svn.bb @@ -0,0 +1,12 @@ +LICENSE = "GPL-2.0" +LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f" + +PV = "0.1.0+svnr${SRCPV}" +PR = "${INC_PR}.0" + +require e-module.inc + +do_configure_prepend() { + sed -i -e /po/d configure.ac + sed -i -e s:\ po::g Makefile.am +} diff --git a/meta-efl/recipes-efl/e17/nonworking/rage_svn.bb b/meta-efl/recipes-efl/e17/nonworking/rage_svn.bb new file mode 100644 index 0000000000..3cf576f08f --- /dev/null +++ b/meta-efl/recipes-efl/e17/nonworking/rage_svn.bb @@ -0,0 +1,13 @@ +SUMMARY = "Rage is a media center application based on EFL" +AUTHOR = "Carsten 'The Rasterman' Haitzler" +HOMEPAGE = "http://www.rasterman.com" +LICENSE = "MIT BSD" +LIC_FILES_CHKSUM = "file://COPYING;md5=344895f253c32f38e182dcaf30fe8a35" +DEPENDS = "emotion evas ecore edje" +SECTION = "x11/multimedia" +PV = "0.3.0.042+svnr${SRCPV}" +SRCREV = "${EFL_SRCREV}" + +inherit e +SRC_URI = "${E_SVN}/trunk;module=${SRCNAME};protocol=http;scmdata=keep" +S = "${WORKDIR}/${SRCNAME}" diff --git a/meta-efl/recipes-efl/e17/nonworking/screenshot/screenshot-fix-mkinstalldirs.patch b/meta-efl/recipes-efl/e17/nonworking/screenshot/screenshot-fix-mkinstalldirs.patch new file mode 100644 index 0000000000..14f1141f1b --- /dev/null +++ b/meta-efl/recipes-efl/e17/nonworking/screenshot/screenshot-fix-mkinstalldirs.patch @@ -0,0 +1,23 @@ +From: Dmitry Eremin-Solenikov +Subject: fix screenshot po/ building +Upstream-Status: Pending + +Somehow configure doesn't substitute @MKINSTALLDIRS@ by default anymore, +however this substitution is required for po/Makefile + +Fix that by calling AM_MKINSTALLDIRS from configure.ac + +Signed-off-by: Dmitry Eremin-Solenikov + +Index: E-MODULES-EXTRA/screenshot/configure.ac +=================================================================== +--- E-MODULES-EXTRA.orig/screenshot/configure.ac 2011-08-17 15:49:22.000000000 +0400 ++++ E-MODULES-EXTRA/screenshot/configure.ac 2011-08-17 15:49:34.000000000 +0400 +@@ -24,6 +24,7 @@ + define([AC_LIBTOOL_LANG_F77_CONFIG], [:])dnl + AC_PROG_LIBTOOL + ++AM_MKINSTALLDIRS + m4_ifdef([AM_GNU_GETTEXT_VERSION], [ + AM_GNU_GETTEXT_VERSION([0.14]) + ]) diff --git a/meta-efl/recipes-efl/e17/nonworking/screenshot_svn.bb b/meta-efl/recipes-efl/e17/nonworking/screenshot_svn.bb new file mode 100644 index 0000000000..9689f4679a --- /dev/null +++ b/meta-efl/recipes-efl/e17/nonworking/screenshot_svn.bb @@ -0,0 +1,16 @@ +LICENSE = "MIT" +PV = "0.3.0+svnr${SRCREV}" +PR = "${INC_PR}.0" +LIC_FILES_CHKSUM = "file://COPYING;md5=344895f253c32f38e182dcaf30fe8a35" +SRC_URI += "file://screenshot-fix-mkinstalldirs.patch" + +require e-module.inc + +DEPENDS += "emprint" +RDEPENDS_${PN} += "emprint" + +do_configure_prepend() { + sed -i -e 's:AC_MSG_ERROR(emprint not found):echo foo:g' ${S}/configure.ac +} + + diff --git a/meta-efl/recipes-efl/e17/places_svn.bb b/meta-efl/recipes-efl/e17/places_svn.bb new file mode 100644 index 0000000000..6a6184be72 --- /dev/null +++ b/meta-efl/recipes-efl/e17/places_svn.bb @@ -0,0 +1,14 @@ +LICENSE = "BSD" +LIC_FILES_CHKSUM = "file://COPYING;md5=344895f253c32f38e182dcaf30fe8a35" + +PV = "0.1.0+svnr${SRCPV}" +PR = "${INC_PR}.0" + +require e-module.inc + +do_configure_prepend() { + autopoint || touch config.rpath +} + +# Calls /usr/bin/eject for media +RRECOMMENDS_${PN} += "eject" diff --git a/meta-efl/recipes-efl/e17/rain_svn.bb b/meta-efl/recipes-efl/e17/rain_svn.bb new file mode 100644 index 0000000000..d5e680339a --- /dev/null +++ b/meta-efl/recipes-efl/e17/rain_svn.bb @@ -0,0 +1,17 @@ +LICENSE = "MIT" + +LIC_FILES_CHKSUM = "file://COPYING;md5=344895f253c32f38e182dcaf30fe8a35 \ + file://COPYING-PLAIN;md5=c910b645eda0005ccec46f75203dc96e" + +PV = "0.0.3+svnr${SRCPV}" +PR = "${INC_PR}.0" + +require e-module.inc + +do_configure_prepend() { + sed -i -e /po/d configure.ac + sed -i -e s:\ po::g Makefile.am +} + + + diff --git a/meta-efl/recipes-efl/e17/terminology.inc b/meta-efl/recipes-efl/e17/terminology.inc new file mode 100644 index 0000000000..89c9ee5ff7 --- /dev/null +++ b/meta-efl/recipes-efl/e17/terminology.inc @@ -0,0 +1,22 @@ +DESCRIPTION = "Enlightenment Terminal Emulator" +LICENSE = "MIT BSD" +LIC_FILES_CHKSUM = "file://COPYING;md5=03f6c2cf2bef233fadf7d0769f5bfda7" +DEPENDS = "evas ecore edje elementary eina eet emotion" + +inherit e gettext + +# Because latest release we have is 0.1.0 which sorts lower then 0.1.0+svnr${SRCPV} already in feeds +PE = "2" + +EXTRA_OECONF = "\ + --with-edje-cc=${STAGING_BINDIR_NATIVE}/edje_cc \ +" + +FILES_${PN} += "\ + ${datadir}/icons/terminology.png \ +" + +# doesn't start without own theme +# ERR<770>:terminology utils.c:26 theme_apply() Could not load any theme for group=terminology/background: No Error +# CRI<770>:terminology main.c:448 elm_main() Couldn't find terminology theme! Forgot 'make install'? +RDEPENDS_${PN} += "${PN}-themes" diff --git a/meta-efl/recipes-efl/e17/terminology_0.4.0.bb b/meta-efl/recipes-efl/e17/terminology_0.4.0.bb new file mode 100644 index 0000000000..83ceee84d5 --- /dev/null +++ b/meta-efl/recipes-efl/e17/terminology_0.4.0.bb @@ -0,0 +1,8 @@ +require ${BPN}.inc + +SRC_URI = "\ + ${E_RELEASES}/apps/${SRCNAME}/${SRCNAME}-${SRCVER}.tar.gz \ +" + +SRC_URI[md5sum] = "5a2eee4849d4fa44db4caf743b3beb37" +SRC_URI[sha256sum] = "63f2d1fa584ecda6c4ef61b05b8956415feb955c4bb13c0872c11d98024dcfc6" diff --git a/meta-efl/recipes-efl/e17/terminology_svn.bb b/meta-efl/recipes-efl/e17/terminology_svn.bb new file mode 100644 index 0000000000..2518dbac92 --- /dev/null +++ b/meta-efl/recipes-efl/e17/terminology_svn.bb @@ -0,0 +1,9 @@ +require ${BPN}.inc + +DEFAULT_PREFERENCE = "-1" +PV = "0.2.0+svnr${SRCPV}" +PR = "${INC_PR}.0" +SRCREV = "${EFL_SRCREV}" + +SRC_URI = "${E_SVN}/trunk;module=${SRCNAME};protocol=http;scmdata=keep" +S = "${WORKDIR}/${SRCNAME}" diff --git a/meta-efl/recipes-efl/e17/uptime_svn.bb b/meta-efl/recipes-efl/e17/uptime_svn.bb new file mode 100644 index 0000000000..a296a5ec75 --- /dev/null +++ b/meta-efl/recipes-efl/e17/uptime_svn.bb @@ -0,0 +1,12 @@ +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://COPYING;md5=344895f253c32f38e182dcaf30fe8a35 \ + file://COPYING-PLAIN;md5=c910b645eda0005ccec46f75203dc96e" + +PV = "0.0.2+svnr${SRCREV}" +PR = "${INC_PR}.0" + +require e-module.inc + + + + diff --git a/meta-efl/recipes-efl/e17/waker/0001-waker-remove-old-ecore_string_init-and-ecore_string_.patch b/meta-efl/recipes-efl/e17/waker/0001-waker-remove-old-ecore_string_init-and-ecore_string_.patch new file mode 100644 index 0000000000..2e9d1046dd --- /dev/null +++ b/meta-efl/recipes-efl/e17/waker/0001-waker-remove-old-ecore_string_init-and-ecore_string_.patch @@ -0,0 +1,54 @@ +From b6296958d5516a735053ee4140e85e2b3a896182 Mon Sep 17 00:00:00 2001 +From: Martin Jansa +Date: Sun, 30 Jan 2011 00:27:57 +0100 +Subject: [PATCH] waker: remove old ecore_string_init and ecore_string_shutdown + +Signed-off-by: Martin Jansa +--- + src/bin/waker_main.c | 2 -- + src/bin/waker_tool.c | 2 -- + 2 files changed, 0 insertions(+), 4 deletions(-) + +diff --git a/src/bin/waker_main.c b/src/bin/waker_main.c +index b229cf0..dd54b31 100644 +--- a/src/bin/waker_main.c ++++ b/src/bin/waker_main.c +@@ -568,7 +568,6 @@ main(int argc, char **argv) + E_DBus_Connection *c; + + ecore_init(); +- ecore_string_init(); + ecore_app_args_set(argc, (const char **)argv); + e_dbus_init(); + +@@ -586,7 +585,6 @@ main(int argc, char **argv) + + e_dbus_connection_close(c); + e_dbus_shutdown(); +- ecore_string_shutdown(); + ecore_shutdown(); + + return 0; +diff --git a/src/bin/waker_tool.c b/src/bin/waker_tool.c +index 3344fd2..52515c9 100644 +--- a/src/bin/waker_tool.c ++++ b/src/bin/waker_tool.c +@@ -93,7 +93,6 @@ main(int argc, char **argv) + } + + ecore_init(); +- ecore_string_init(); + ecore_app_args_set(argc, (const char **)argv); + e_dbus_init(); + +@@ -301,7 +300,6 @@ main(int argc, char **argv) + + e_dbus_connection_close(c); + e_dbus_shutdown(); +- ecore_string_shutdown(); + ecore_shutdown(); + + return 0; +-- +1.7.4.rc3 + diff --git a/meta-efl/recipes-efl/efl/azy_svn.bb b/meta-efl/recipes-efl/efl/azy_svn.bb new file mode 100644 index 0000000000..97c509be8d --- /dev/null +++ b/meta-efl/recipes-efl/efl/azy_svn.bb @@ -0,0 +1,32 @@ +DESCRIPTION = "Azy is a library meant for implementing rpc clients and servers in a simple manner." +DEPENDS = "pkgconfig zlib openssl eina gnutls ecore libxml2 re2c-native mysql5 azy-native glib-2.0" +DEPENDS_virtclass-native = "pkgconfig-native zlib-native openssl-native eina-native gnutls-native ecore-native libxml2-native re2c-native mysql5-native glib-2.0-native" +LICENSE = "LGPLv2.1+" +LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c" + +PV = "1.0.0+svnr${SRCPV}" +PR = "r2" + +SRCREV = "${EFL_SRCREV}" + +# to provide native lemon binary +BBCLASSEXTEND = "native" + +EXTRA_OECONF += " --disable-mysql-tests" + +do_configure_prepend_class-target() { + sed -i "s#\./lemon#${STAGING_BINDIR_NATIVE}/azy_lemon#g" ${S}/src/bin/Makefile.am + sed -i "s#\$(top_builddir)/src/bin/azy_parser -H -p -o#${STAGING_BINDIR_NATIVE}/azy_parser -H -p -o#g" ${S}/src/tests/Makefile.am + sed -i "s#\$(top_builddir)/src/bin/azy_parser -eHn -m#${STAGING_BINDIR_NATIVE}/azy_parser -eHn -m#g" ${S}/src/tests/identi.ca/Makefile.am +} + +do_install_append_class-native() { + install -d ${D}/${bindir} + install -m 0755 ${S}/src/bin/lemon ${D}/${bindir}/azy_lemon +} + +inherit efl + +SRC_URI = "${E_SVN}/trunk/PROTO;module=${SRCNAME};protocol=http;scmdata=keep" +S = "${WORKDIR}/${SRCNAME}" + diff --git a/meta-efl/recipes-efl/efl/e-wm-illume-dict-pl_git.bb b/meta-efl/recipes-efl/efl/e-wm-illume-dict-pl_git.bb new file mode 100644 index 0000000000..17f668b98f --- /dev/null +++ b/meta-efl/recipes-efl/efl/e-wm-illume-dict-pl_git.bb @@ -0,0 +1,18 @@ +SUMMARY = "Polish dictionary for Illume keyboard" +SECTION = "x11/data" +SRCREV = "38fdd9bb0d8296e984bb6443466801eea6f62f00" +PV = "1.0+gitr${SRCPV}" +PE = "1" +LICENSE = "MIT BSD" +LIC_FILES_CHKSUM = "file://LICENSE;md5=f523ab5986cc79b52a90d2ac3d5454a2" + +SRC_URI = "git://git.shr-project.org/repo/shr-themes.git;protocol=http;branch=master" + +S = "${WORKDIR}/git/e-wm/${PN}" + +FILES_${PN} = "${libdir}/enlightenment/modules/illume/dicts/Polish.dic" + +do_install() { + install -d ${D}${libdir}/enlightenment/modules/illume/dicts + install -m 0644 ${S}/Polish.dic ${D}${libdir}/enlightenment/modules/illume/dicts/Polish.dic +} diff --git a/meta-efl/recipes-efl/efl/ecore/fix-ecore-fb-initialization.patch b/meta-efl/recipes-efl/efl/ecore/fix-ecore-fb-initialization.patch new file mode 100644 index 0000000000..55773a3b98 --- /dev/null +++ b/meta-efl/recipes-efl/efl/ecore/fix-ecore-fb-initialization.patch @@ -0,0 +1,41 @@ +From 657571197c9d369e12ae31b6777a1929fe3680ef Mon Sep 17 00:00:00 2001 +From: Martin Jansa +Date: Sat, 29 Oct 2011 00:16:55 +0200 +Subject: [PATCH] ecore-fb: fix ts init + +Upstream-Status: Pending + +The whole ecore-fb init logic is somewhat flawed; with this patch we +get at least a working touchscreen w/ tslib again. + +Signed-off-by: Michael 'Mickey' Lauer +Signed-off-by: Martin Jansa +--- + ecore/src/lib/ecore_fb/ecore_fb.c | 4 ++++ + 1 files changed, 4 insertions(+), 0 deletions(-) + +diff --git a/src/lib/ecore_fb/ecore_fb.c b/src/lib/ecore_fb/ecore_fb.c +index 5b2b84b..a1904b3 100644 +--- a/src/lib/ecore_fb/ecore_fb.c ++++ b/src/lib/ecore_fb/ecore_fb.c +@@ -46,6 +46,9 @@ ecore_fb_init(const char *name __UNUSED__) + if (!ecore_fb_vt_init()) + return --_ecore_fb_init_count; + ++ if (!ecore_fb_ts_init()) ++ return --_ecore_fb_init_count; ++ + if (!oldhand) + { + oldhand = signal(SIGINT, nosigint); +@@ -77,6 +80,7 @@ ecore_fb_shutdown(void) + oldhand = NULL; + } + ++ ecore_fb_ts_shutdown(); + ecore_fb_vt_shutdown(); + + return _ecore_fb_init_count; +-- +1.7.8.6 + diff --git a/meta-efl/recipes-efl/efl/edb_svn.bb b/meta-efl/recipes-efl/efl/edb_svn.bb new file mode 100644 index 0000000000..a895cb31bf --- /dev/null +++ b/meta-efl/recipes-efl/efl/edb_svn.bb @@ -0,0 +1,16 @@ +SUMMARY = "Edb is the Enlightenment database library" +LICENSE = "MIT BSD" +LIC_FILES_CHKSUM = "file://COPYING;md5=d8a7c08df3bc3280208b959be7215c25 \ + file://COPYING-PLAIN;md5=f59cacc08235a546b0c34a5422133035" + +DEPENDS = "zlib" +PV = "1.0.5.050+svnr${SRCPV}" +SRCREV = "${EFL_SRCREV}" + +inherit efl + +PACKAGECONFIG ??= "" +PACKAGECONFIG[ncurses] = "--enable-ncurses,--disable-ncurses,ncurses" + +SRC_URI = "${E_SVN}/OLD;module=${SRCNAME};protocol=http;scmdata=keep" +S = "${WORKDIR}/${SRCNAME}" diff --git a/meta-efl/recipes-efl/efl/edbus.inc b/meta-efl/recipes-efl/efl/edbus.inc new file mode 100644 index 0000000000..7b11af54bb --- /dev/null +++ b/meta-efl/recipes-efl/efl/edbus.inc @@ -0,0 +1,29 @@ +DESCRIPTION = "DBus and HAL convenience wrappers for EFL" +DEPENDS = "dbus ecore eina" +LICENSE = "MIT BSD" +LIC_FILES_CHKSUM = "file://COPYING;md5=550b8cea13dacc4bf00508a8cce1074c" + +inherit efl + +# -dev and -dbg packages wants ${PN} which is empty here +ALLOW_EMPTY_${PN} = "1" + +BBCLASSEXTEND = "native" +INC_PR = "r0" + +SRCNAME = "e_dbus" + +# it needs to be disabled, because creates circular dependency on elementary +EXTRA_OECONF += "--disable-edbus-performance-test" + +PACKAGES =+ "${PN}-enotify ${PN}-edbus ${PN}-enm ${PN}-ehal ${PN}-econnman ${PN}-eofono ${PN}-eukit ${PN}-ebluez" +FILES_${PN}-enotify = "${libdir}/libenotify.so.* ${bindir}/e-notify-send" +FILES_${PN}-edbus = "${libdir}/libedbus.so.*" +FILES_${PN}-enm = "${libdir}/libenm.so.*" +FILES_${PN}-ehal = "${libdir}/libehal.so.*" +FILES_${PN}-econnman = "${libdir}/libeconnman.so.* ${libdir}/libeconnman0_7x.so.*" +FILES_${PN}-eofono = "${libdir}/libeofono.so.*" +FILES_${PN}-eukit = "${libdir}/libeukit.so.*" +FILES_${PN}-ebluez = "${libdir}/libebluez.so.*" +FILES_${PN} += "${datadir}/e_dbus/logo.png" + diff --git a/meta-efl/recipes-efl/efl/edbus_1.7.9.bb b/meta-efl/recipes-efl/efl/edbus_1.7.9.bb new file mode 100644 index 0000000000..64e77e61a0 --- /dev/null +++ b/meta-efl/recipes-efl/efl/edbus_1.7.9.bb @@ -0,0 +1,8 @@ +require ${BPN}.inc + +SRC_URI = "\ + ${E_MIRROR}/${SRCNAME}-${SRCVER}.tar.gz \ +" + +SRC_URI[md5sum] = "8f72da14e5664aad8c45eeeca0e3ff5f" +SRC_URI[sha256sum] = "c328c4cf1424629cb67c83689ccc1f95967abcb4c03dffd437e93b799ff151c1" diff --git a/meta-efl/recipes-efl/efl/edje-fpu.inc b/meta-efl/recipes-efl/efl/edje-fpu.inc new file mode 100644 index 0000000000..3f2aacffbf --- /dev/null +++ b/meta-efl/recipes-efl/efl/edje-fpu.inc @@ -0,0 +1,6 @@ + +def get_edje_fpu_setting(bb, d): + if d.getVar('TARGET_FPU', 1) in [ 'soft' ]: + return "--enable-fixed-point" + return "" + diff --git a/meta-efl/recipes-efl/efl/efl.inc b/meta-efl/recipes-efl/efl/efl.inc new file mode 100644 index 0000000000..929fc20f0c --- /dev/null +++ b/meta-efl/recipes-efl/efl/efl.inc @@ -0,0 +1,266 @@ +SUMMARY = "EFL" +LICENSE = "MIT BSD LGPL-2.1" +LIC_FILES_CHKSUM = "file://COPYING;md5=a1809a807e39dd48ddcf7be98477d130" + +DEPENDS_class-native = "freetype-native libxext-native libpng-native jpeg-native tiff-native libfribidi-native glib-2.0-native dbus-native" +DEPENDS = "virtual/libiconv tslib curl glib-2.0 gnutls pkgconfig zlib jpeg openssl libsndfile1 dbus libexif librsvg freetype libpng tiff libxext virtual/libx11 libxrender fontconfig libfribidi giflib udev libxcursor libxcomposite libxinerama libxrandr libxtst libxscrnsaver efl-native" + +inherit efl gettext pkgconfig + +BBCLASSEXTEND = "native" + +PROVIDES += "ecore edje eet eeze efreet eina eio embryo emotion ethumb evas eldbus" + +# we don't have bullet for physics +# You have chosen to disable physics support. This disables lots of +# core functionality and is effectively never tested. You are going +# to find features that suddenly don't work and as a result cause +# a series of breakages. This is simply not tested so you are on +# your own in terms of ensuring everything works if you do this +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 = " \ + --with-bin-edje-cc=${STAGING_BINDIR_NATIVE}/edje_cc \ +" +EXTRA_OECONF_append_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 \ +" + +PACKAGECONFIG ?= "opengl-es gstreamer1 pulseaudio lua-old" +PACKAGECONFIG_class-native = "lua-old" + +# sort of tri-state +PACKAGECONFIG[opengl-full] = "--with-opengl=full,,virtual/libgl" +PACKAGECONFIG[opengl-es] = "--with-opengl=es,,virtual/libgles2" +PACKAGECONFIG[opengl-none] = "--with-opengl=none,," +PACKAGECONFIG[gstreamer] = "--enable-gstreamer,--disable-gstreamer,gstreamer" +PACKAGECONFIG[gstreamer1] = "--enable-gstreamer1,--disable-gstreamer1,gstreamer1.0 gstreamer1.0-plugins-base" +PACKAGECONFIG[pulseaudio] = "--enable-pulseaudio,--disable-pulseaudio,pulseaudio" +PACKAGECONFIG[systemd] = "--enable-systemd,--disable-systemd,systemd" +# we don't have luajit-native now, so use old lua for -native and +# for target it's also currently failing with luajit +# | /OE/build/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/libexec/core2-64-oe-linux/gcc/x86_64-oe-linux/4.8.2/ld: /OE/build/shr-core/tmp-eglibc/sysroots/qemux86-64/usr/lib/libluajit-5.1.a(lj_err.o): relocation R_X86_64_32S against `.rodata' can not be used when making a shared object; recompile with -fPIC +# | /OE/build/shr-core/tmp-eglibc/sysroots/qemux86-64/usr/lib/libluajit-5.1.a: error adding symbols: Bad value +# | collect2: error: ld returned 1 exit status +# | Makefile:12007: recipe for target 'lib/edje/libedje.la' failed +PACKAGECONFIG[luajit] = "--disable-lua-old,--enable-lua-old,luajit" +PACKAGECONFIG[lua-old] = "--enable-lua-old,--disable-lua-old,lua5.1" + +# 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 +} + +PACKAGES =+ "edje-utils embryo-utils embryo-tests efreet-trash efreet-mime libeet libefreet ecore-audio ecore-input-evas ecore-input ecore-imf-evas ecore-imf ecore-file ecore-con ecore-ipc ecore-x ecore-evas libemotion eo ecore edje eet eeze efreet eina eio embryo emotion ethumb evas eldbus" + +# upgrade path from 1.7 +DEBIAN_NOAUTONAME_ecore-audio = "1" +DEBIAN_NOAUTONAME_ecore-input-evas = "1" +DEBIAN_NOAUTONAME_ecore-input = "1" +DEBIAN_NOAUTONAME_ecore-imf-evas = "1" +DEBIAN_NOAUTONAME_ecore-imf = "1" +DEBIAN_NOAUTONAME_ecore-file = "1" +DEBIAN_NOAUTONAME_ecore-con = "1" +DEBIAN_NOAUTONAME_ecore-ipc = "1" +DEBIAN_NOAUTONAME_ecore-x = "1" +DEBIAN_NOAUTONAME_ecore-evas = "1" +DEBIAN_NOAUTONAME_embryo = "1" + +ALLOW_EMPTY_ecore = "1" +RDEPENDS_ecore = "ecore-audio ecore-input-evas ecore-input ecore-imf-evas ecore-imf ecore-file ecore-con ecore-ipc ecore-x ecore-evas" + +python populate_packages_prepend () { + for plugin_type in "engines loaders savers".split(): + bb.note( "splitting packages for evas %s..." % plugin_type ) + basedir = d.expand( '${libdir}/evas/modules/%s' % plugin_type) + + do_split_packages(d, basedir, '^(.*)', + output_pattern = 'evas-' + plugin_type[:-1] + "-%s", + description = 'Evas module %s', + allow_dirs=True, recursive=False, extra_depends="" ) + + plugin_type = "cserve2" + bb.note( "splitting packages for evas %s..." % plugin_type ) + basedir = d.expand( '${libdir}/evas/%s/loaders' % plugin_type) + + do_split_packages(d, basedir, '^(.*)', + output_pattern = 'evas-' + plugin_type + "-%s", + description = 'Evas csever2 loader module %s', + allow_dirs=True, recursive=False, extra_depends="" ) +} + +PACKAGES_DYNAMIC += "^evas-engine-.* ^evas-loader-.* ^evas-saver-.* ^evas-cserve2-.*" + +# PACKAGES_DYNAMIC + do_split_packages isn't used for all libe libs, +# because PACKAGES_DYNAMIC would be catching too many patterns +# (or need to list all possible prefixes) and not all original packages +# were splitted like that, so it would need RCONFLICTS/RPROVIDES/RREPLACES +# combos at least in few places for upgrade path. + +FILES_efreet-trash = " \ + ${libdir}/libefreet_trash${SOLIBS} \ +" +FILES_efreet-mime = " \ + ${libdir}/libefreet_mime${SOLIBS} \ +" +FILES_libeet = " \ + ${libdir}/libeet${SOLIBS} \ +" +FILES_libefreet = " \ + ${libdir}/libefreet${SOLIBS} \ +" +FILES_ecore-audio = "\ + ${libdir}/libecore_audio${SOLIBS} \ +" +FILES_ecore-input-evas = "\ + ${libdir}/libecore_input_evas${SOLIBS} \ +" +FILES_ecore-input = "\ + ${libdir}/libecore_input${SOLIBS} \ +" +FILES_ecore-imf-evas = "\ + ${libdir}/libecore_imf_evas${SOLIBS} \ + ${libdir}/ecore-imf/modules/*/*/module.so \ +" +FILES_ecore-imf = "\ + ${libdir}/libecore_imf${SOLIBS} \ +" + +FILES_ecore-file = "\ + ${libdir}/libecore_file${SOLIBS} \ +" +FILES_ecore-con = "\ + ${libdir}/libecore_con${SOLIBS} \ +" +FILES_ecore-ipc = "\ + ${libdir}/libecore_ipc${SOLIBS} \ +" +FILES_ecore-x = "\ + ${libdir}/libecore_x${SOLIBS} \ +" +FILES_ecore-evas = "\ + ${libdir}/libecore_evas${SOLIBS} \ + ${libdir}/ecore-evas/engines/*/*/module.so \ +" +FILES_eio = "\ + ${libdir}/libeio${SOLIBS} \ +" +FILES_eina = "\ + ${libdir}/libeina${SOLIBS} \ + ${bindir}/eina-bench-cmp \ +" +FILES_edje-utils = "\ + ${bindir}/edje_* \ + ${datadir}/edje/include/edje.inc \ +" +FILES_eldbus = "\ + ${libdir}/libeldbus${SOLIBS} \ +" +FILES_eo = "\ + ${libdir}/libeo${SOLIBS} \ +" +FILES_libemotion = "\ + ${libdir}/libemotion${SOLIBS} \ +" +FILES_efreet = " \ + ${datadir}/dbus-1/services/*Efreet* \ + ${libdir}/efreet/*/efreet*create \ + ${bindir}/efreetd \ + ${datadir}/efreet \ +" +FILES_eet = " \ + ${bindir}/eet \ + ${libdir}/libeet${SOLIBS} \ +" +FILES_emotion = " \ + ${datadir}/emotion \ + ${libdir}/emotion/modules/gstreamer1/*/module.so \ +" +FILES_embryo-tests = " \ + ${datadir}/embryo/ \ +" +FILES_embryo-utils = " \ + ${binddir}/embryo_* \ +" +FILES_embryo = " \ + ${libdir}/libembryo${SOLIBS} \ +" +FILES_ethumb = " \ + ${datadir}/dbus-1/services/*Ethumb* \ + ${libdir}/libethumb${SOLIBS} \ + ${libdir}/libethumb_client${SOLIBS} \ + ${bindir}/ethumbd \ + ${bindir}/ethumbd_client \ + ${bindir}/ethumb \ + ${libdir}/ethumb/*/*/*/module.so \ + ${libdir}/ethumb/*/*/*/*.edj \ + ${libdir}/ethumb_client/utils/*/ethumbd_slave \ + ${datadir}/ethumb* \ +" +FILES_ecore = " \ + ${libdir}/libecore${SOLIBS} \ + ${libdir}/ecore*/*/*/*/module.so \ + ${datadir}/ecore* \ +" +FILES_evas = " \ + ${libdir}/libevas${SOLIBS} \ + ${libdir}/evas*/*/*/*/*/module.so \ + ${libdir}/evas*/*/*/*/*/*.edj \ + ${libdir}/evas/cserve2/bin/*/evas_cserve2* \ + ${datadir}/evas* \ + ${bindir}/evas_cserve2_* \ +" + +FILES_eeze = " \ + ${libdir}/libeeze${SOLIBS} \ + ${libdir}/eeze*/*/*/*/*/module.so \ + ${datadir}/eeze \ + ${bindir}/eeze_* \ +" +FILES_edje = " \ + ${libdir}/libedje${SOLIBS} \ + ${libdir}/edje*/*/*/*/module.so \ + ${libdir}/edje/utils/*/epp \ + ${datadir}/edje \ + ${datadir}/mime \ +" +FILES_${PN}-dbg += " \ + ${libdir}/efreet/*/.debug \ + ${libdir}/ecore*/*/*/*/.debug \ + ${libdir}/evas*/*/*/*/*/.debug \ + ${libdir}/evas/cserve2/bin/*/.debug \ + ${libdir}/eeze*/*/*/*/*/.debug \ + ${libdir}/edje*/*/*/*/.debug \ + ${libdir}/edje/utils/*/.debug \ + ${libdir}/ethumb/*/*/*/.debug \ + ${libdir}/ethumb_client/utils/*/.debug \ + ${libdir}/emotion/modules/gstreamer1/*/.debug \ +" +FILES_${PN}-dev += " \ + ${libdir}/cmake \ + ${libdir}/ecore*/*/*/*/module.la \ + ${libdir}/evas*/*/*/*/*/module.la \ + ${libdir}/ethumb*/*/*/*/module.la \ + ${libdir}/eeze*/*/*/*/*/module.la \ + ${libdir}/edje*/*/*/*/module.la \ + ${libdir}/emotion/modules/gstreamer1/*/module.la \ + ${datadir}/gdb/auto-load \ + ${datadir}/eo/gdb \ + ${bindir}/eldbus-codegen \ +" diff --git a/meta-efl/recipes-efl/efl/efl/0001-configure.ac-Don-t-check-for-Xprint-extension.patch b/meta-efl/recipes-efl/efl/efl/0001-configure.ac-Don-t-check-for-Xprint-extension.patch new file mode 100644 index 0000000000..012810b1ea --- /dev/null +++ b/meta-efl/recipes-efl/efl/efl/0001-configure.ac-Don-t-check-for-Xprint-extension.patch @@ -0,0 +1,27 @@ +From 7097b46383a6ec96662bf1bf0a04190a38d25a20 Mon Sep 17 00:00:00 2001 +From: Martin Jansa +Date: Fri, 10 Jan 2014 17:07:13 +0100 +Subject: [PATCH] configure.ac: Don't check for Xprint extension + +* it's long gone + +Signed-off-by: Martin Jansa +--- + configure.ac | 1 - + 1 file changed, 1 deletion(-) + +diff --git a/configure.ac b/configure.ac +index 0d8c4cc..0a08330 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -2769,7 +2769,6 @@ 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([Xrandr], [Xrandr.h], [Xrandr], [XRRGetScreenResourcesCurrent]) + ECORE_CHECK_X_EXTENSION([Xrender], [Xrender.h], [Xrender], [XRenderFindVisualFormat]) + ECORE_CHECK_X_EXTENSION([Xtest], [XTest.h], [Xtst], [XTestFakeKeyEvent]) +-- +1.8.5.2 + diff --git a/meta-efl/recipes-efl/efl/efl_1.9.3.bb b/meta-efl/recipes-efl/efl/efl_1.9.3.bb new file mode 100644 index 0000000000..61e6a9e50e --- /dev/null +++ b/meta-efl/recipes-efl/efl/efl_1.9.3.bb @@ -0,0 +1,17 @@ +require ${BPN}.inc + +SRC_URI = "\ + ${E_RELEASES}/libs/${SRCNAME}/${SRCNAME}-${SRCVER}.tar.gz \ +" + +SRC_URI[md5sum] = "102acebaf453346d745b0974f736a5e6" +SRC_URI[sha256sum] = "46da18ce5ec6ded559dbf461ff58113f82937efb6e26a098a82b2f360e8faf88" + +# Temporary disable until error like the one following are fixed +# efl-native/2_1.8.4-r0/efl-1.8.4/src/lib/eet/.libs/libeet.so: file not recognized: File truncated +# collect2: error: ld returned 1 exit status +# x86_64-linux-libtool: install: error: relink `modules/evas/savers/tiff/module.la' with the above command before installing it +# Makefile:11031: recipe for target 'install-savertiffpkgLTLIBRARIES' failed +PARALLEL_MAKE_class-native = "" + +SRC_URI += "file://0001-configure.ac-Don-t-check-for-Xprint-extension.patch" diff --git a/meta-efl/recipes-efl/efl/elementary-theme-efenniht/LICENSE b/meta-efl/recipes-efl/efl/elementary-theme-efenniht/LICENSE new file mode 100644 index 0000000000..61bb2f603d --- /dev/null +++ b/meta-efl/recipes-efl/efl/elementary-theme-efenniht/LICENSE @@ -0,0 +1,25 @@ +Copyright notice for Enlightenment: + +Copyright (C) 2000-2010 Carsten Haitzler and various contributors (see AUTHORS) + +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + +THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, +INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND +FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE +COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, +INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, +OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF +LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/meta-efl/recipes-efl/efl/elementary-theme-efenniht_svn.bb b/meta-efl/recipes-efl/efl/elementary-theme-efenniht_svn.bb new file mode 100644 index 0000000000..fa635c0d81 --- /dev/null +++ b/meta-efl/recipes-efl/efl/elementary-theme-efenniht_svn.bb @@ -0,0 +1,38 @@ +DESCRIPTION = "efenniht elementary theme - Efenniht was devised to be clean \ +and neutral. Its name (which means equinox) comes from the chromatic duality \ +that was decided at the very beginning, with a dark theme (black and orange) \ +and a bright one (white and blue) to be developed so that more people feel \ +comfortable using it. Efenniht uses few animations, discrete contrasts between \ +shades of gray and fine lines (colored) that outline the selected elements." +SECTION = "e/utils" +HOMEPAGE = "http://trac.enlightenment.org/e/wiki/Themes#Efenniht" +DEPENDS = "edje-native" +RSUGGESTS_${PN} = "e-wm-theme-illume-efenniht" +LICENSE = "MIT BSD" +LIC_FILES_CHKSUM = "file://${WORKDIR}/LICENSE;md5=f523ab5986cc79b52a90d2ac3d5454a2" + +SRCREV_THM_REV ?= "${EFL_SRCREV}" +SRCREV_ELM_REV ?= "${EFL_SRCREV}" + +SRCREV_FORMAT = "THM_REV" +PV = "0.0+svnr${SRCPV}" +PR = "r1" + +inherit e-base allarch + +SRCNAME = "efenniht" +SRC_URI = "${E_SVN}/trunk/THEMES;module=${SRCNAME};protocol=http;name=THM_REV" +SRC_URI += "${E_SVN}/trunk/elementary/data;module=themes;protocol=http;name=ELM_REV" +SRC_URI += "file://LICENSE" +S = "${WORKDIR}/${SRCNAME}" + +do_compile() { + ${STAGING_BINDIR_NATIVE}/edje_cc -id ${S}/images -id ${WORKDIR}/themes/images ${S}/elm-efenniht.edc -o ${S}/elm-efenniht.edj +} + +do_install() { + install -d ${D}${datadir}/elementary/themes/ + install -m 0644 ${S}/elm-efenniht.edj ${D}${datadir}/elementary/themes/ +} + +FILES_${PN} = "${datadir}/elementary/themes/" diff --git a/meta-efl/recipes-efl/efl/elementary.inc b/meta-efl/recipes-efl/efl/elementary.inc new file mode 100644 index 0000000000..dd18abe2f2 --- /dev/null +++ b/meta-efl/recipes-efl/efl/elementary.inc @@ -0,0 +1,79 @@ +DESCRIPTION = "EFL based widget set for mobile devices" +LICENSE = "LGPLv2.1" +LIC_FILES_CHKSUM = "file://COPYING;md5=a173054a93896e933df53e3382d472c2" +DEPENDS = "eet-native edje-native elementary-native efreet evas ecore edje eet eldbus ethumb poppler eio" +DEPENDS_class-native = "efl-native" + +inherit efl gettext + +EXTRA_OECONF_append_class-target = "\ + --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 +} + +PACKAGES += "${PN}-configs ${PN}-accessibility" + +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-efl/recipes-efl/efl/elementary/0001-Makefile-Use-elementary_codegen-defined-in-configure.patch b/meta-efl/recipes-efl/efl/elementary/0001-Makefile-Use-elementary_codegen-defined-in-configure.patch new file mode 100644 index 0000000000..9524c70d7d --- /dev/null +++ b/meta-efl/recipes-efl/efl/elementary/0001-Makefile-Use-elementary_codegen-defined-in-configure.patch @@ -0,0 +1,29 @@ +From 75d104d105aa03dd9d446fa7d84fa95e0f566cf9 Mon Sep 17 00:00:00 2001 +From: Martin Jansa +Date: Sat, 11 Jan 2014 12:55:59 +0100 +Subject: [PATCH] Makefile: Use elementary_codegen defined in configure + +* using binaries from top_buildir doesn't work when cross-compiling elementary + where we need to pass native binaries in configure params + +Signed-off-by: Martin Jansa +--- + src/examples/Makefile.am | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/examples/Makefile.am b/src/examples/Makefile.am +index fc35c75..1e10b0b 100644 +--- a/src/examples/Makefile.am ++++ b/src/examples/Makefile.am +@@ -29,7 +29,7 @@ LDADD = \ + @ELEMENTARY_X_LIBS@ \ + $(top_builddir)/src/lib/libelementary.la + +-ELEMENTARY_CODEGEN = $(top_builddir)/src/bin/@ELEMENTARY_CODEGEN_PRG@ ++ELEMENTARY_CODEGEN = @elementary_codegen@ + ELEMENTARY_CODEGEN_FLAGS = --prefix=codegen_example + + SRCS = \ +-- +1.9.0 + diff --git a/meta-efl/recipes-efl/efl/elementary_1.9.3.bb b/meta-efl/recipes-efl/efl/elementary_1.9.3.bb new file mode 100644 index 0000000000..32ae6632bb --- /dev/null +++ b/meta-efl/recipes-efl/efl/elementary_1.9.3.bb @@ -0,0 +1,12 @@ +require ${BPN}.inc + +SRC_URI = "\ + ${E_RELEASES}/libs/${SRCNAME}/${SRCNAME}-${SRCVER}.tar.gz \ +" + +# only for target, because configure doesn't default to sane default when +# these paths aren't passed in -native build +SRC_URI_append_class-target = " file://0001-Makefile-Use-elementary_codegen-defined-in-configure.patch" + +SRC_URI[md5sum] = "cc75bb1c7c4c49de120ec33e413130ce" +SRC_URI[sha256sum] = "49f896066b72ba51eefd8e92f0b7e7b8e190b0dd26323b12cbd4f26216f578fb" diff --git a/meta-efl/recipes-efl/efl/emotion-generic-players.inc b/meta-efl/recipes-efl/efl/emotion-generic-players.inc new file mode 100644 index 0000000000..4ab89ae32f --- /dev/null +++ b/meta-efl/recipes-efl/efl/emotion-generic-players.inc @@ -0,0 +1,14 @@ +DESCRIPTION = "Emotion generic players" +LICENSE = "GPLv2" +LIC_FILES_CHKSUM = "file://COPYING;md5=a0f11eedf8706bf6d4d6639fb67eb8ae" + +DEPENDS = "emotion" + +inherit efl + +SRCNAME = "emotion_generic_players" + +# creates empty packages until you get vlc-2 and enable it here +PACKAGECONFIG ?= "" +# needs eina and ecore from efl and vlc-2 (currently we have 1.11) +PACKAGECONFIG[vlc] = "--with-vlc,--without-vlc,vlc efl" diff --git a/meta-efl/recipes-efl/efl/emotion-generic-players_1.9.0.bb b/meta-efl/recipes-efl/efl/emotion-generic-players_1.9.0.bb new file mode 100644 index 0000000000..0337751975 --- /dev/null +++ b/meta-efl/recipes-efl/efl/emotion-generic-players_1.9.0.bb @@ -0,0 +1,8 @@ +require ${BPN}.inc + +SRC_URI = "\ + ${E_RELEASES}/libs/${SRCNAME}/${SRCNAME}-${SRCVER}.tar.gz \ +" + +SRC_URI[md5sum] = "dc897ba540560fce0787bbff8455c022" +SRC_URI[sha256sum] = "d26546adf61db7521f9d46f2baedcb645af72497fc259e93907026970d42d794" diff --git a/meta-efl/recipes-efl/efl/engrave_svn.bb b/meta-efl/recipes-efl/efl/engrave_svn.bb new file mode 100644 index 0000000000..3e35c9caf0 --- /dev/null +++ b/meta-efl/recipes-efl/efl/engrave_svn.bb @@ -0,0 +1,11 @@ +SUMMARY = "Engrave is an Edje Editing Library" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://COPYING;md5=edf2d968b9eb026bfa82cccbd0e6f9f5" +# also requires yacc and lex on host +DEPENDS = "evas ecore" +PV = "0.0.0+svnr${SRCPV}" +SRCREV = "${EFL_SRCREV}" + +inherit efl +SRC_URI = "${E_SVN}/OLD;module=${SRCNAME};protocol=http;scmdata=keep" +S = "${WORKDIR}/${SRCNAME}" diff --git a/meta-efl/recipes-efl/efl/entrance/0001-pam-use-common-auth-instead-of-system-auth.patch b/meta-efl/recipes-efl/efl/entrance/0001-pam-use-common-auth-instead-of-system-auth.patch new file mode 100644 index 0000000000..a82d1ed3c8 --- /dev/null +++ b/meta-efl/recipes-efl/efl/entrance/0001-pam-use-common-auth-instead-of-system-auth.patch @@ -0,0 +1,26 @@ +From 14396c52a2556b1ab778a310a318ec19c2829735 Mon Sep 17 00:00:00 2001 +From: Martin Jansa +Date: Thu, 24 Nov 2011 13:25:33 +0100 +Subject: [PATCH] pam: use common-auth instead of system-auth + +Signed-off-by: Martin Jansa +--- + PROTO/entrance/data/entrance | 8 ++++---- + 1 files changed, 4 insertions(+), 4 deletions(-) + +diff --git a/data/entrance b/data/entrance +index 872c83d..2b98c3a 100644 +--- a/data/entrance ++++ b/data/entrance +@@ -1,4 +1,4 @@ +-auth include system-auth +-account include system-auth +-password include system-auth +-session include system-auth ++auth include common-auth ++account include common-account ++password include common-password ++session include common-session +-- +1.7.8.6 + diff --git a/meta-efl/recipes-efl/efl/entrance/entrance.service b/meta-efl/recipes-efl/efl/entrance/entrance.service new file mode 100644 index 0000000000..4828686952 --- /dev/null +++ b/meta-efl/recipes-efl/efl/entrance/entrance.service @@ -0,0 +1,8 @@ +[Unit] +Description=Login manager for Enlightenment + +[Service] +ExecStart=/usr/sbin/entrance + +[Install] +Alias=display-manager.service diff --git a/meta-efl/recipes-efl/efl/entrance_svn.bb b/meta-efl/recipes-efl/efl/entrance_svn.bb new file mode 100644 index 0000000000..198fe03404 --- /dev/null +++ b/meta-efl/recipes-efl/efl/entrance_svn.bb @@ -0,0 +1,41 @@ +SUMMARY = "Login manager for Enlightenment" +DEPENDS = "efreet eina eet ecore elementary" +LICENSE = "GPLv3+" +LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" +SECTION = "e/apps" + +inherit e gettext systemd +SRC_URI = "${E_SVN}/trunk/PROTO;module=${SRCNAME};protocol=http;scmdata=keep \ + file://0001-pam-use-common-auth-instead-of-system-auth.patch \ + file://entrance.service \ +" +S = "${WORKDIR}/${SRCNAME}" + +PACKAGECONFIG ??= "" +PACKAGECONFIG[consolekit] = "--enable-consolekit,--disable-consolekit,consolekit" + +EXTRA_OECONF = "--with-edje-cc=${STAGING_BINDIR_NATIVE}/edje_cc ${@base_contains('DISTRO_FEATURES', 'pam', '', '--disable-pam', d)}" + +PR = "r7" +PV = "0.0.4+svnr${SRCPV}" +SRCREV = "${EFL_SRCREV}" + +RDEPENDS_${PN} += "${PN}-themes sessreg xauth" +CONFFILES_${PN} += "${sysconfdir}/entrance.conf" + +RCONFLICTS_${PN} += "xserver-nodm-init" +RREPLACES_${PN} += "xserver-nodm-init" + +RCONFLICTS_${PN} += "xserver-nodm-init-systemd" +RREPLACES_${PN} += "xserver-nodm-init-systemd" + +RPROVIDES_${PN} += "${PN}-systemd" +RREPLACES_${PN} += "${PN}-systemd" +RCONFLICTS_${PN} += "${PN}-systemd" + +SYSTEMD_SERVICE_${PN} = "entrance.service" + +do_install_append() { + install -d ${D}${systemd_unitdir}/system + install -m 0644 ${WORKDIR}/entrance.service ${D}${systemd_unitdir}/system +} diff --git a/meta-efl/recipes-efl/efl/epdf_svn.bb b/meta-efl/recipes-efl/efl/epdf_svn.bb new file mode 100644 index 0000000000..63e8436f69 --- /dev/null +++ b/meta-efl/recipes-efl/efl/epdf_svn.bb @@ -0,0 +1,25 @@ +SUMMARY = "Epdf is the glue between EFL and libpoppler" + +DEPENDS = "poppler evas ecore" +PV = "0.1.0+svnr${SRCPV}" +SRCREV = "${EFL_SRCREV}" + +inherit efl + +LICENSE = "GPLv2 LGPLv3" +LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe \ + file://COPYING.LESSER;md5=6a6a8e020838b23406c81b19c1d46df6 \ +" + +SRC_URI = "${E_SVN}/trunk/PROTO;module=${SRCNAME};protocol=http;scmdata=keep \ +" +S = "${WORKDIR}/${SRCNAME}" + +EXTRA_OECONF = "\ + --enable-poppler \ + --disable-mupdf \ +" + +# Some upgrade path tweaking, as in evas +AUTO_LIBNAME_PKGS = "" + diff --git a/meta-efl/recipes-efl/efl/epeg_svn.bb b/meta-efl/recipes-efl/efl/epeg_svn.bb new file mode 100644 index 0000000000..1b24d91957 --- /dev/null +++ b/meta-efl/recipes-efl/efl/epeg_svn.bb @@ -0,0 +1,12 @@ +SUMMARY = "Epeg is a small library for handling thumbnails" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://COPYING;md5=344895f253c32f38e182dcaf30fe8a35 \ + file://COPYING-PLAIN;md5=f59cacc08235a546b0c34a5422133035" + +DEPENDS = "jpeg" +PV = "0.9.0+svnr${SRCPV}" +SRCREV = "${EFL_SRCREV}" + +inherit efl +SRC_URI = "${E_SVN}/OLD;module=${SRCNAME};protocol=http;scmdata=keep" +S = "${WORKDIR}/${SRCNAME}" diff --git a/meta-efl/recipes-efl/efl/evas-generic-loaders.inc b/meta-efl/recipes-efl/efl/evas-generic-loaders.inc new file mode 100644 index 0000000000..e64fa88741 --- /dev/null +++ b/meta-efl/recipes-efl/efl/evas-generic-loaders.inc @@ -0,0 +1,70 @@ +DESCRIPTION = "Evas generic loaders" +LICENSE = "GPLv2" +LIC_FILES_CHKSUM = "file://COPYING;md5=f3877fbaaa46306051a559814451883c" +DEPENDS = "eina poppler librsvg cairo" + +inherit efl + +SRCNAME = "evas_generic_loaders" + +EXTRA_OECONF = " \ + --enable-poppler \ + --enable-svg \ + --disable-gstreamer \ + --disable-libraw \ + --disable-spectre \ +" + +PACKAGESPLITFUNCS_prepend = "split_evas_loader_packages " + +python split_evas_loader_packages () { + bb.note( "splitting packages for evas generic loaders" ) + basedir = d.expand( '${libdir}/evas/utils') + + do_split_packages(d, basedir, 'evas_image_loader\.(.*)$', + output_pattern = "evas-generic-loader-%s", + description = 'Evas generic loaders - module %s', + allow_dirs=True, recursive=False, extra_depends="" ) + + do_split_packages(d, basedir, 'evas_generic_pdf_loader\.(.*)$', + output_pattern = "evas-generic-pdf-loader-%s", + description = 'Evas generic pdf loaders - module %s', + allow_dirs=True, recursive=False, extra_depends="" ) +} + +# add symlinks for different format (it doesn't make much sense to package them in separate packages) +FILES_evas-generic-loader-xcf += " \ + ${libdir}/evas/utils/evas_image_loader.xcf.gz \ +" +FILES_evas-generic-loader-svg += " \ + ${libdir}/evas/utils/evas_image_loader.svg.gz \ + ${libdir}/evas/utils/evas_image_loader.svgz \ +" +FILES_evas-generic-loader-pdf += " \ + ${libdir}/evas/utils/evas_image_loader.doc \ + ${libdir}/evas/utils/evas_image_loader.docx \ + ${libdir}/evas/utils/evas_image_loader.odp \ + ${libdir}/evas/utils/evas_image_loader.ods \ + ${libdir}/evas/utils/evas_image_loader.odt \ + ${libdir}/evas/utils/evas_image_loader.ppt \ + ${libdir}/evas/utils/evas_image_loader.pptx \ + ${libdir}/evas/utils/evas_image_loader.rtf \ + ${libdir}/evas/utils/evas_image_loader.xls \ + ${libdir}/evas/utils/evas_image_loader.xlsx \ +" +FILES_evas-generic-pdf-loader-libreoffice += " \ + ${libdir}/evas/utils/evas_generic_pdf_loader.doc \ + ${libdir}/evas/utils/evas_generic_pdf_loader.docx \ + ${libdir}/evas/utils/evas_generic_pdf_loader.odp \ + ${libdir}/evas/utils/evas_generic_pdf_loader.ods \ + ${libdir}/evas/utils/evas_generic_pdf_loader.odt \ + ${libdir}/evas/utils/evas_generic_pdf_loader.ppt \ + ${libdir}/evas/utils/evas_generic_pdf_loader.pptx \ + ${libdir}/evas/utils/evas_generic_pdf_loader.rtf \ + ${libdir}/evas/utils/evas_generic_pdf_loader.xls \ + ${libdir}/evas/utils/evas_generic_pdf_loader.xlsx \ +" + +FILES_${PN}-dbg += "${libdir}/evas/utils/.debug" + +PACKAGES_DYNAMIC += "^evas-generic-loader-.* ^evas-generic-pdf-loader-.*" diff --git a/meta-efl/recipes-efl/efl/evas-generic-loaders_1.9.0.bb b/meta-efl/recipes-efl/efl/evas-generic-loaders_1.9.0.bb new file mode 100644 index 0000000000..38d0518c10 --- /dev/null +++ b/meta-efl/recipes-efl/efl/evas-generic-loaders_1.9.0.bb @@ -0,0 +1,8 @@ +require ${BPN}.inc + +SRC_URI = "\ + ${E_RELEASES}/libs/${SRCNAME}/${SRCNAME}-${SRCVER}.tar.gz \ +" + +SRC_URI[md5sum] = "bec6d27fc4afd2f5e4829da5aeccdc0b" +SRC_URI[sha256sum] = "9447839047b087b0293b2ed6c453249919f66e5c4f62e252a7b7e4f996c2ac5f" diff --git a/meta-efl/recipes-efl/efl/expedite.inc b/meta-efl/recipes-efl/efl/expedite.inc new file mode 100644 index 0000000000..6a83be1212 --- /dev/null +++ b/meta-efl/recipes-efl/efl/expedite.inc @@ -0,0 +1,31 @@ +DESCRIPTION = "Expedite is a comprehensive benchmarking suite for Evas" +DEPENDS = "eet evas" +LICENSE = "MIT BSD" +LIC_FILES_CHKSUM = "file://COPYING;md5=d70bc65d46237e4ef386beebe7d0fe5b" + +INC_PR = "r0" + +inherit e + +PACKAGECONFIG ??= "" +PACKAGECONFIG[sdl] = "--enable-opengl-sdl,--disable-opengl-sdl,libsdl" + +EXTRA_OECONF = "\ + --x-includes=${STAGING_INCDIR}/X11 \ + --x-libraries=${STAGING_LIBDIR} \ + --enable-simple-x11 \ +\ + --disable-opengl-glew \ + --enable-software-x11 \ + --enable-xrender-x11 \ + --enable-software-16-x11 \ + --enable-opengl-x11 \ + --enable-fb \ + --disable-software-ddraw \ + --disable-software-16-ddraw \ + --disable-direct3d \ + --disable-software-sdl \ +" + +FILES_${PN} += "${datadir}" +RDEPENDS_${PN} = "expedite-themes evas-engine-fb evas-engine-software-generic evas-engine-software-x11 evas-engine-gl-x11 evas-loader-png" diff --git a/meta-efl/recipes-efl/efl/expedite_1.7.9.bb b/meta-efl/recipes-efl/efl/expedite_1.7.9.bb new file mode 100644 index 0000000000..cee2d607bd --- /dev/null +++ b/meta-efl/recipes-efl/efl/expedite_1.7.9.bb @@ -0,0 +1,8 @@ +require ${BPN}.inc + +SRC_URI = "\ + ${E_MIRROR}/${SRCNAME}-${SRCVER}.tar.gz \ +" + +SRC_URI[md5sum] = "954fe8e40fec6a561190ff0fb75b6bdd" +SRC_URI[sha256sum] = "a05be096c911e0d66d4bdc497ebb935a04ad23696de9084aed9959b5172a593e" diff --git a/meta-efl/recipes-efl/efl/expedite_git.bb b/meta-efl/recipes-efl/efl/expedite_git.bb new file mode 100644 index 0000000000..5b44cf0392 --- /dev/null +++ b/meta-efl/recipes-efl/efl/expedite_git.bb @@ -0,0 +1,11 @@ +require ${BPN}.inc + +SRCREV = "a5e6af917af52877b378090811cf836c16d0bfbb" +PV = "1.7.99+gitr${SRCPV}" + +DEFAULT_PREFERENCE = "-1" + +SRC_URI = "\ + git://git.enlightenment.org/tools/${BPN}.git \ +" +S = "${WORKDIR}/${SRCNAME}" diff --git a/meta-efl/recipes-efl/efl/imlib2_svn.bb b/meta-efl/recipes-efl/efl/imlib2_svn.bb new file mode 100644 index 0000000000..8bd803215a --- /dev/null +++ b/meta-efl/recipes-efl/efl/imlib2_svn.bb @@ -0,0 +1,42 @@ +SUMMARY = "A graphic library for file loading, saving, rendering, and manipulation" +LICENSE = "MIT BSD" +LIC_FILES_CHKSUM = "file://COPYING;md5=344895f253c32f38e182dcaf30fe8a35" +# can also depend on tiff34, ungif or gif, z, bz2, id3tag +DEPENDS = "freetype libpng jpeg virtual/libx11 libxext" +PROVIDES = "virtual/imlib2" +PV = "1.4.5+svnr${SRCPV}" +SRCREV = "${EFL_SRCREV}" + +inherit efl binconfig +SRC_URI = "${E_SVN}/trunk;module=${SRCNAME};protocol=http;scmdata=keep" +S = "${WORKDIR}/${SRCNAME}" + +PACKAGECONFIG ??= "" +PACKAGECONFIG[gif] = "--with-gif,--without-gif,giflib" +PACKAGECONFIG[tiff] = "--with-tiff,--without-tiff,tiff" +PACKAGECONFIG[bzip2] = "--with-bzip2,--without-bzip2,bzip2" +PACKAGECONFIG[id3] = "--with-id3,--without-id3,libid3tag" + +EXTRA_OECONF = "--with-x \ + --x-includes=${STAGING_INCDIR} \ + --x-libraries=${STAGING_LIBDIR} " + +# TODO: Use more fine granular version +#OE_LT_RPATH_ALLOW=":${libdir}/imlib2/loaders:${libdir}/imlib2/filters:" +OE_LT_RPATH_ALLOW = "any" +OE_LT_RPATH_ALLOW[export]="1" + +PACKAGES =+ "imlib2-loaders-dbg imlib2-filters-dbg imlib2-loaders imlib2-filters" +FILES_${PN} = "${libdir}/lib*.so.* ${libdir}/imlib2/*/*.so" +FILES_${PN}-dbg = "${libdir}/.debug/ ${bindir}/.debug/ ${prefix}/src/debug/" +FILES_${PN}-dev += "${bindir}/imlib2-config ${libdir}/*.so ${includedir}" +FILES_${PN}-bin = "${bindir}" +FILES_imlib2-loaders = "${libdir}/imlib2/loaders/*.so" +FILES_imlib2-filters = "${libdir}/imlib2/filters/*.so" +FILES_imlib2-loaders-dbg += "${libdir}/imlib2/loaders/.debug" +FILES_imlib2-filters-dbg += "${libdir}/imlib2/filters/.debug" + +# png.so jpeg.so id3.so are also provided by lightmediascanner +PRIVATE_LIBS_imlib2-loaders = "pnm.so lbm.so argb.so tiff.so zlib.so bmp.so tga.so gif.so xpm.so bz2.so" + +PRIVATE_LIBS_imlib2-filters = "bumpmap.so colormod.so testfilter.so" diff --git a/meta-efl/recipes-efl/efl/libeflvala/disable.eina.test.patch b/meta-efl/recipes-efl/efl/libeflvala/disable.eina.test.patch new file mode 100644 index 0000000000..84be133f6a --- /dev/null +++ b/meta-efl/recipes-efl/efl/libeflvala/disable.eina.test.patch @@ -0,0 +1,44 @@ +It causes testeina.c build to fail linking to internal eina_.*_{init,shutdown} symbols +as reported in: +http://lists.alioth.debian.org/pipermail/pkg-fso-maint/2010-May/003056.html + +Upstream-Status: Pending + +Signed-off-by: Martin Jansa + +diff -uNr vala/tests/testeina.vala ../../../arm920tt-oe-linux-gnueabi/libeflvala/1_2011.01.13.1+svnr82070-r2/vala/tests/testeina.vala +--- vala/tests/testeina.vala 2014-01-13 16:16:53.984999035 +0100 ++++ ../../../arm920tt-oe-linux-gnueabi/libeflvala/1_2011.01.13.1+svnr82070-r2/vala/tests/testeina.vala 2010-02-26 09:02:06.000000000 +0100 +@@ -153,22 +153,22 @@ + + void test_eina_benchmark() + { +- assert( Eina.Module.init() ); +- assert( Eina.List.init() ); +- assert( Eina.Array.init() ); +- assert( Eina.Benchmark.init() ); +- assert( Eina.Mempool.init() ); ++// assert( Eina.Module.init() ); ++// assert( Eina.List.init() ); ++// assert( Eina.Array.init() ); ++// assert( Eina.Benchmark.init() ); ++// assert( Eina.Mempool.init() ); + var b = new Eina.Benchmark( "test", "test"); + assert( b.register( "bogus", spec_one, 0, 100, 5 ) ); + unowned Eina.Array result = b.run(); + assert( result.count_get() == 2 ); + result = null; + b = null; +- assert( Eina.Mempool.shutdown() ); +- assert( Eina.Benchmark.shutdown() ); +- assert( Eina.Array.shutdown() ); +- assert( Eina.List.shutdown() ); +- assert( Eina.Module.shutdown() ); ++// assert( Eina.Mempool.shutdown() ); ++// assert( Eina.Benchmark.shutdown() ); ++// assert( Eina.Array.shutdown() ); ++// assert( Eina.List.shutdown() ); ++// assert( Eina.Module.shutdown() ); + } + + //=========================================================================== diff --git a/meta-efl/recipes-efl/efl/libeflvala_svn.bb b/meta-efl/recipes-efl/efl/libeflvala_svn.bb new file mode 100644 index 0000000000..b27590f5b0 --- /dev/null +++ b/meta-efl/recipes-efl/efl/libeflvala_svn.bb @@ -0,0 +1,21 @@ +SUMMARY = "Vala meets the Enlightenment Foundation Libraries" +AUTHOR = "Michael 'Mickey' Lauer " +LICENSE = "GPLv2" +LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552" +SECTION = "devel" +DEPENDS = "vala-native glib-2.0 dbus dbus-glib eina eet evas ecore edje elementary tiff" +PV = "2011.01.13.1+svnr${SRCPV}" +PE = "1" +PR = "r2" +SRCREV = "${EFL_SRCREV}" +SRCNAME = "vala" + +inherit e-base autotools pkgconfig vala + +SRC_URI = "${E_SVN}/trunk/BINDINGS;module=${SRCNAME};protocol=http \ + file://disable.eina.test.patch \ +" +S = "${WORKDIR}/${SRCNAME}" + +PACKAGES =+ "${PN}-examples" +FILES_${PN}-examples = "${datadir}/libeflvala ${bindir}/*" diff --git a/meta-efl/recipes-efl/efl/libeweather_svn.bb b/meta-efl/recipes-efl/efl/libeweather_svn.bb new file mode 100644 index 0000000000..eff8586173 --- /dev/null +++ b/meta-efl/recipes-efl/efl/libeweather_svn.bb @@ -0,0 +1,46 @@ +SUMMARY = "EFL-based weather widget library" +LICENSE = "LGPL-2.1" +LIC_FILES_CHKSUM = "file://COPYING;md5=fbc093901857fcd118f065f900982c24 \ + file://COPYING-PLAIN;md5=c910b645eda0005ccec46f75203dc96e" + +DEPENDS = "ecore edje" +PV = "0.0.0+svnr${SRCPV}" +SRCREV = "${EFL_SRCREV}" + +inherit efl +SRC_URI = "${E_SVN}/trunk/PROTO;module=${SRCNAME};protocol=http;scmdata=keep" +S = "${WORKDIR}/${SRCNAME}" + +EXTRA_OECONF = "--with-edje-cc=${STAGING_BINDIR_NATIVE}/edje_cc" + +RSUGGESTS_${PN} = "elementary-tests" + +do_compile_append() { + sed -i -e s:${STAGING_DIR_TARGET}::g \ + -e s:/${TARGET_SYS}::g \ + eweather.pc +} + +PACKAGES += "${PN}-plugins" + +FILES_${PN}-themes = "\ + ${datadir} \ +" + +FILES_${PN}-plugins = "\ + ${libdir}/eweather/plugins/*.so \ +" + +FILES_${PN}-dbg += "\ + ${libdir}/eweather/plugins/.debug \ +" + +FILES_${PN}-dev += "\ + ${libdir}/eweather/plugins/*.a \ + ${libdir}/eweather/plugins/*.la \ +" + +RRECOMMENDS_${PN} = "\ + ${PN}-themes \ + ${PN}-plugins \ +" diff --git a/meta-efl/recipes-efl/packagegroups/packagegroup-efl-sdk.bb b/meta-efl/recipes-efl/packagegroups/packagegroup-efl-sdk.bb new file mode 100644 index 0000000000..4e5ce789f2 --- /dev/null +++ b/meta-efl/recipes-efl/packagegroups/packagegroup-efl-sdk.bb @@ -0,0 +1,20 @@ +SUMMARY = "Efl Software Development Kit" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=4d92cd373abda3937c2bc47fbc49d690 \ + file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" + +ALLOW_EMPTY_${PN} = "1" + +PR = "r1" + +require packagegroup-efl-sdk.inc + +PACKAGES = "${PN}" + +RPROVIDES_${PN} += "task-efl-sdk" +RREPLACES_${PN} += "task-efl-sdk" +RCONFLICTS_${PN} += "task-efl-sdk" +RDEPENDS_${PN} = "\ + packagegroup-core-sdk \ + ${SDK-EFL} \ + ${SDK-EXTRAS}" diff --git a/meta-efl/recipes-efl/packagegroups/packagegroup-efl-sdk.inc b/meta-efl/recipes-efl/packagegroups/packagegroup-efl-sdk.inc new file mode 100644 index 0000000000..64c034cb06 --- /dev/null +++ b/meta-efl/recipes-efl/packagegroups/packagegroup-efl-sdk.inc @@ -0,0 +1,12 @@ +SDK-EFL = " \ + efl-dev \ + elementary-dev \ + edbus-dev \ + lua5.1-dev \ +" + +SDK-EXTRAS ?= "" +SDK-EXTRAS_qemux86 ?= " valgrind lttng-ust-dev" +SDK-EXTRAS_qemux86-64 ?= " lttng-ust-dev" +SDK-EXTRAS_qemuppc ?= " lttng-ust-dev" +SDK-EXTRAS_qemuarm ?= " lttng-ust-dev" diff --git a/meta-efl/recipes-efl/packagegroups/packagegroup-efl-standalone-sdk-target.bb b/meta-efl/recipes-efl/packagegroups/packagegroup-efl-standalone-sdk-target.bb new file mode 100644 index 0000000000..1bcac45f89 --- /dev/null +++ b/meta-efl/recipes-efl/packagegroups/packagegroup-efl-standalone-sdk-target.bb @@ -0,0 +1,20 @@ +SUMMARY = "Efl Software Development Kit" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=4d92cd373abda3937c2bc47fbc49d690 \ + file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" + +ALLOW_EMPTY_${PN} = "1" + +PR = "r1" + +require packagegroup-efl-sdk.inc + +PACKAGES = "${PN} ${PN}-dbg" + +RPROVIDES_${PN} += "task-efl-standalone-sdk-target" +RREPLACES_${PN} += "task-efl-standalone-sdk-target" +RCONFLICTS_${PN} += "task-efl-standalone-sdk-target" +RDEPENDS_${PN} = "\ + packagegroup-core-standalone-sdk-target \ + ${SDK-EFL} \ + ${SDK-EXTRAS}" diff --git a/meta-efl/recipes-efl/packagegroups/packagegroup-x11-illume.bb b/meta-efl/recipes-efl/packagegroups/packagegroup-x11-illume.bb new file mode 100644 index 0000000000..47f758a820 --- /dev/null +++ b/meta-efl/recipes-efl/packagegroups/packagegroup-x11-illume.bb @@ -0,0 +1,24 @@ +DESCRIPTION = "The Illume Windowing Environment -- install this task to get the Enlightenment Window Manager + the Illume environment." +SECTION = "x11/wm" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://${TOPDIR}/meta-openembedded/meta-efl/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" +PV = "1.0" +PR = "r5" + +inherit packagegroup allarch + +# Default theme and config +ETHEME ?= "e-wm-theme-default" +ECONFIG ?= "e-wm-config-mobile" + +RPROVIDES_${PN} += "task-x11-illume" +RREPLACES_${PN} += "task-x11-illume" +RCONFLICTS_${PN} += "task-x11-illume" +RDEPENDS_${PN} = "\ + packagegroup-core-x11-xserver \ + packagegroup-core-x11-utils \ + \ + e-wm \ + ${ECONFIG} \ + ${ETHEME} \ +" diff --git a/meta-efl/recipes-efl/webkit/webkit-efl.inc b/meta-efl/recipes-efl/webkit/webkit-efl.inc new file mode 100644 index 0000000000..44ef9d48f2 --- /dev/null +++ b/meta-efl/recipes-efl/webkit/webkit-efl.inc @@ -0,0 +1,67 @@ +DESCRIPTION = "Webkit browser engine, EFL edition" +LICENSE = "GPLv2+" +LIC_FILES_CHKSUM = "file://Source/WebKit/LICENSE;md5=4646f90082c40bcf298c285f8bab0b12 \ + file://Source/JavaScriptCore/COPYING.LIB;md5=d0c6d6397a5d84286dda758da57bd691 \ + file://Source/WebKit/efl/ewk/EWebKit.h;endline=20;md5=55ea170b1582797d2c69712de850f2fa \ +" + +# you need harfbuzz with icu enabled, you can add this to your config: +# PACKAGECONFIG_append_pn-harfbuzz = " icu" +DEPENDS = "icu libxslt sqlite3 gperf-native bison-native flex-native jpeg \ + libpng libxt fontconfig cairo freetype glib-2.0 libsoup-2.4 \ + libxml2 pango eina ecore evas edje eldbus harfbuzz enchant \ + ruby-native" + +SRC_URI = "\ + ${E_RELEASES}/libs/webkit-efl/webkit-efl-164189.tar.xz \ + file://0001-WebKitHelpers.cmake-Add-Wno-error-cast-align.patch \ + file://0002-ARMAssembler.h-Don-t-generate-BKPT-and-BLX-for-armv4.patch \ + file://0003-Fix-linking-issue.patch \ +" +SRC_URI[md5sum] = "731513fc042ec8e03840bc1ab6a66771" +SRC_URI[sha256sum] = "660aefd65c0e5c6494eaec30539cda5f40fbdff17f28e7e83d341b245227cccd" + +S = "${WORKDIR}/efl-webkit" + +inherit cmake lib_package pkgconfig perlnative pythonnative + +ARM_INSTRUCTION_SET = "arm" + +EXTRA_OECMAKE = " \ + -DPORT=Efl \ + -DSHARED_CORE=On \ + -DENABLE_DRAG_SUPPORT=On \ + -DENABLE_WEB_AUDIO=Off \ + -DENABLE_VIDEO=Off \ + -DENABLE_VIDEO_TRACK=Off \ + -DENABLE_ACCESSIBILITY=Off \ + -DENABLE_BATTERY_STATUS=Off \ +" +# generated ASM code isn't compatible with armv[45] +# it was removed from macro assembler in upstream commit 121885 +# https://bugs.webkit.org/show_bug.cgi?id=90198 +EXTRA_OECMAKE_append_armv4 = " -DENABLE_LLINT=Off -DENABLE_JIT=Off -DENABLE_DFG_JIT=Off -DENABLE_FTL_JIT=Off" +EXTRA_OECMAKE_append_armv5 = " -DENABLE_LLINT=Off -DENABLE_JIT=Off -DENABLE_DFG_JIT=Off -DENABLE_FTL_JIT=Off" + +# hack it in OptionsEfl.cmake because that overrules -DENABLE_LLINT=Off +do_configure_prepend_armv4() { + sed -i 's/WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_LLINT ON)/WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_LLINT OFF)/g' ${S}/Source/cmake/OptionsEfl.cmake +} +do_configure_prepend_armv5() { + sed -i 's/WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_LLINT ON)/WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_LLINT OFF)/g' ${S}/Source/cmake/OptionsEfl.cmake +} + +# and disabled LLINT currently isn't supported, so restrict to armv7a and x86* +COMPATIBLE_MACHINE = "(-)" +COMPATIBLE_MACHINE_i586 = "(.*)" +COMPATIBLE_MACHINE_x86-64 = "(.*)" +COMPATIBLE_MACHINE_armv7a = "(.*)" + +LEAD_SONAME = "libewebkit.so" +PACKAGES =+ "${PN}launcher-dbg ${PN}launcher ${PN}-inspector" + +FILES_${PN} += "${datadir}/webkit-1.0/theme/default.edj ${datadir}/ewebkit-0/themes/default.edj" +FILES_${PN}-dev += "${libdir}/cmake" +FILES_${PN}launcher = "${bindir}/EWebLauncher" +FILES_${PN}launcher-dbg = "${bindir}/.debug/EWebLauncher" +FILES_${PN}-inspector += "${datadir}/ewebkit-0/inspector" diff --git a/meta-efl/recipes-efl/webkit/webkit-efl/0001-WebKitHelpers.cmake-Add-Wno-error-cast-align.patch b/meta-efl/recipes-efl/webkit/webkit-efl/0001-WebKitHelpers.cmake-Add-Wno-error-cast-align.patch new file mode 100644 index 0000000000..864b9c914f --- /dev/null +++ b/meta-efl/recipes-efl/webkit/webkit-efl/0001-WebKitHelpers.cmake-Add-Wno-error-cast-align.patch @@ -0,0 +1,30 @@ +From b37711ca03ea9410e795f29398069fed9e9c2d30 Mon Sep 17 00:00:00 2001 +From: Martin Jansa +Date: Mon, 13 Jan 2014 17:21:25 +0100 +Subject: [PATCH 1/3] WebKitHelpers.cmake: Add -Wno-error=cast-align + +Signed-off-by: Martin Jansa +--- + Source/cmake/WebKitHelpers.cmake | 6 +++++- + 1 file changed, 5 insertions(+), 1 deletion(-) + +diff --git a/Source/cmake/WebKitHelpers.cmake b/Source/cmake/WebKitHelpers.cmake +index 409931c..345b346 100644 +--- a/Source/cmake/WebKitHelpers.cmake ++++ b/Source/cmake/WebKitHelpers.cmake +@@ -44,7 +44,11 @@ macro(WEBKIT_SET_EXTRA_COMPILER_FLAGS _target) + + # Enable errors on warning + if (OPTION_ENABLE_WERROR) +- set(OLD_COMPILE_FLAGS "-Werror -Wno-error=unused-parameter ${OLD_COMPILE_FLAGS}") ++ # FIXME: When we use -fno-tree-dce to support the jsCStack branch merge, build error occurs due to the uninitialization. Temporarily we set ++ # uninitialized as build warning in order to support the jsCStack merge. https://bugs.webkit.org/show_bug.cgi?id=127777. ++ set(OLD_COMPILE_FLAGS "-Werror -Wno-error=unused-parameter -Wno-error=uninitialized ${OLD_COMPILE_FLAGS}") ++ # | /OE/build/shr-core/tmp-eglibc/work/arm920tt-oe-linux-gnueabi/webkit-efl/2.3.2+svnr159807-r0/webkit-efl/Source/JavaScriptCore/runtime/JSDataViewPrototype.cpp:161:104: error: cast from 'uint8_t* {aka unsigned char*}' to 'JSC::FloatTypedArrayAdaptor, JSC::JSGenericTypedArrayView, (JSC::TypedArrayType)9u>::Type* {aka double*}' increases required alignment of target type [-Werror=cast-align] ++ set(OLD_COMPILE_FLAGS "-Wno-error=cast-align -Wno-error=array-bounds -Wno-error=deprecated-declarations ${OLD_COMPILE_FLAGS}") + endif () + + set_target_properties(${_target} PROPERTIES +-- +1.9.0 + diff --git a/meta-efl/recipes-efl/webkit/webkit-efl/0002-ARMAssembler.h-Don-t-generate-BKPT-and-BLX-for-armv4.patch b/meta-efl/recipes-efl/webkit/webkit-efl/0002-ARMAssembler.h-Don-t-generate-BKPT-and-BLX-for-armv4.patch new file mode 100644 index 0000000000..9f005bcd33 --- /dev/null +++ b/meta-efl/recipes-efl/webkit/webkit-efl/0002-ARMAssembler.h-Don-t-generate-BKPT-and-BLX-for-armv4.patch @@ -0,0 +1,80 @@ +From e284e92da00011e55d8f79383034e0c9c1a8a106 Mon Sep 17 00:00:00 2001 +From: Martin Jansa +Date: Thu, 27 Feb 2014 13:40:43 +0100 +Subject: [PATCH 2/3] ARMAssembler.h: Don't generate BKPT and BLX for armv4* + +* I haven't tested it in runtime yet, but it's better than to wait for asm failure later: + {standard input}: Assembler messages: + {standard input}:35: Error: selected processor does not support ARM mode `bkpt #0' + {standard input}:62: Error: selected processor does not support ARM mode `blx llint_throw_stack_overflow_error' + ... + +Signed-off-by: Martin Jansa +--- + Source/JavaScriptCore/assembler/ARMAssembler.h | 19 +++++++++++++++++++ + 1 file changed, 19 insertions(+) + +diff --git a/Source/JavaScriptCore/assembler/ARMAssembler.h b/Source/JavaScriptCore/assembler/ARMAssembler.h +index 087d31c..1b40ded 100644 +--- a/Source/JavaScriptCore/assembler/ARMAssembler.h ++++ b/Source/JavaScriptCore/assembler/ARMAssembler.h +@@ -211,7 +211,9 @@ namespace JSC { + LDMIA = 0x08b00000, + B = 0x0a000000, + BL = 0x0b000000, ++#if WTF_ARM_ARCH_AT_LEAST(5) + BX = 0x012fff10, ++#endif + VMOV_VFP64 = 0x0c400a10, + VMOV_ARM64 = 0x0c500a10, + VMOV_VFP32 = 0x0e000a10, +@@ -223,8 +225,10 @@ namespace JSC { + VCVT_F64_F32 = 0x0eb70ac0, + VMRS_APSR = 0x0ef1fa10, + CLZ = 0x016f0f10, ++#if WTF_ARM_ARCH_AT_LEAST(5) + BKPT = 0xe1200070, + BLX = 0x012fff30, ++#endif + #if WTF_ARM_ARCH_AT_LEAST(7) + MOVW = 0x03000000, + MOVT = 0x03400000, +@@ -689,7 +693,11 @@ namespace JSC { + + void bkpt(ARMWord value) + { ++#if WTF_ARM_ARCH_AT_LEAST(5) + m_buffer.putInt(BKPT | ((value & 0xff0) << 4) | (value & 0xf)); ++#else ++ // BKPT is available in ARMv5T and above, skip it here ++#endif + } + + void nop() +@@ -704,12 +712,23 @@ namespace JSC { + + void bx(int rm, Condition cc = AL) + { ++#if WTF_ARM_ARCH_AT_LEAST(5) + emitInstruction(toARMWord(cc) | BX, 0, 0, RM(rm)); ++#else ++ // BX is available in ARMv5T and above. ++ emitInstruction(toARMWord(cc) | MOV, ARMRegisters::pc, ARMRegisters::lr, 0); ++#endif + } + + AssemblerLabel blx(int rm, Condition cc = AL) + { ++#if WTF_ARM_ARCH_AT_LEAST(5) + emitInstruction(toARMWord(cc) | BLX, 0, 0, RM(rm)); ++#else ++ // BLX is available in ARMv5T and above. ++ emitInstruction(toARMWord(cc) | MOV, ARMRegisters::lr, ARMRegisters::pc, 0); ++ emitInstruction(toARMWord(cc) | MOV, ARMRegisters::pc, RM(rm), 0); ++#endif + return m_buffer.label(); + } + +-- +1.9.0 + diff --git a/meta-efl/recipes-efl/webkit/webkit-efl/0003-Fix-linking-issue.patch b/meta-efl/recipes-efl/webkit/webkit-efl/0003-Fix-linking-issue.patch new file mode 100644 index 0000000000..ce1c6872d0 --- /dev/null +++ b/meta-efl/recipes-efl/webkit/webkit-efl/0003-Fix-linking-issue.patch @@ -0,0 +1,63 @@ +From 09088da56f3de17ab1cc537627cda6bf808eaf4c Mon Sep 17 00:00:00 2001 +From: Martin Jansa +Date: Thu, 27 Feb 2014 14:17:29 +0100 +Subject: [PATCH 3/3] Fix linking issue + +* inline function is sometimes not included soon enough + + Partialy taken from: + https://bugs.webkit.org/show_bug.cgi?id=124152 + +Signed-off-by: Martin Jansa +--- + Source/JavaScriptCore/llint/LLIntEntrypoint.cpp | 3 +++ + Source/JavaScriptCore/runtime/FunctionExecutableDump.cpp | 3 +++ + Source/JavaScriptCore/runtime/SymbolTable.cpp | 4 ++++ + 3 files changed, 10 insertions(+) + +diff --git a/Source/JavaScriptCore/llint/LLIntEntrypoint.cpp b/Source/JavaScriptCore/llint/LLIntEntrypoint.cpp +index 5d91be6..73cba31 100644 +--- a/Source/JavaScriptCore/llint/LLIntEntrypoint.cpp ++++ b/Source/JavaScriptCore/llint/LLIntEntrypoint.cpp +@@ -31,6 +31,9 @@ + #include "CodeBlock.h" + #include "JITCode.h" + #include "JSObject.h" ++#include "JSCellInlines.h" ++#include "JSDestructibleObject.h" ++#include "SlotVisitorInlines.h" + #include "LLIntThunks.h" + #include "LowLevelInterpreter.h" + #include "MaxFrameExtentForSlowPathCall.h" +diff --git a/Source/JavaScriptCore/runtime/FunctionExecutableDump.cpp b/Source/JavaScriptCore/runtime/FunctionExecutableDump.cpp +index d0583fc..4be5ec3 100644 +--- a/Source/JavaScriptCore/runtime/FunctionExecutableDump.cpp ++++ b/Source/JavaScriptCore/runtime/FunctionExecutableDump.cpp +@@ -25,6 +25,9 @@ + + #include "config.h" + #include "FunctionExecutableDump.h" ++#include "JSCellInlines.h" ++#include "JSDestructibleObject.h" ++#include "SlotVisitorInlines.h" + + #include "CodeBlock.h" + +diff --git a/Source/JavaScriptCore/runtime/SymbolTable.cpp b/Source/JavaScriptCore/runtime/SymbolTable.cpp +index 6eb0239..21450df 100644 +--- a/Source/JavaScriptCore/runtime/SymbolTable.cpp ++++ b/Source/JavaScriptCore/runtime/SymbolTable.cpp +@@ -33,6 +33,10 @@ + #include "JSCInlines.h" + #include "SlotVisitorInlines.h" + ++#include "JSCellInlines.h" ++#include "JSDestructibleObject.h" ++#include "SlotVisitorInlines.h" ++ + namespace JSC { + + const ClassInfo SymbolTable::s_info = { "SymbolTable", 0, 0, 0, CREATE_METHOD_TABLE(SymbolTable) }; +-- +1.9.0 + diff --git a/meta-efl/recipes-efl/webkit/webkit-efl/CMakeLists.txt b/meta-efl/recipes-efl/webkit/webkit-efl/CMakeLists.txt new file mode 100644 index 0000000000..8071d61f97 --- /dev/null +++ b/meta-efl/recipes-efl/webkit/webkit-efl/CMakeLists.txt @@ -0,0 +1,166 @@ +CMAKE_MINIMUM_REQUIRED(VERSION 2.8) +PROJECT(WebKit) + +# Set a default build type if and only if user did not define one as command +# line options and he did not give custom CFLAGS or CXXFLAGS. Otherwise, flags +# from default build type would overwrite user-defined ones. +IF (NOT CMAKE_BUILD_TYPE AND NOT CMAKE_C_FLAGS AND NOT CMAKE_CXX_FLAGS) + SET(CMAKE_BUILD_TYPE Release) +ENDIF () + +# ----------------------------------------------------------------------------- +# Default library type +# ----------------------------------------------------------------------------- +SET(ENABLE_WEBCORE ON) + +IF (NOT ENABLE_WEBKIT AND NOT ENABLE_WEBKIT2) + SET(ENABLE_WEBKIT ON) +ENDIF () + +SET(ENABLE_TOOLS ON) + +SET(WTF_DIR "${CMAKE_SOURCE_DIR}/Source/WTF") +SET(JAVASCRIPTCORE_DIR "${CMAKE_SOURCE_DIR}/Source/JavaScriptCore") +SET(WEBCORE_DIR "${CMAKE_SOURCE_DIR}/Source/WebCore") +SET(WEBKIT_DIR "${CMAKE_SOURCE_DIR}/Source/WebKit") +SET(WEBKIT2_DIR "${CMAKE_SOURCE_DIR}/Source/WebKit2") +SET(THIRDPARTY_DIR "${CMAKE_SOURCE_DIR}/Source/ThirdParty") + +SET(TOOLS_DIR "${CMAKE_SOURCE_DIR}/Tools") + +SET(DERIVED_SOURCES_DIR "${CMAKE_BINARY_DIR}/DerivedSources") +SET(DERIVED_SOURCES_JAVASCRIPTCORE_DIR "${CMAKE_BINARY_DIR}/DerivedSources/JavaScriptCore") +SET(DERIVED_SOURCES_WEBCORE_DIR "${CMAKE_BINARY_DIR}/DerivedSources/WebCore") +SET(DERIVED_SOURCES_WEBKIT_DIR "${CMAKE_BINARY_DIR}/DerivedSources/WebKit") +SET(DERIVED_SOURCES_WEBKIT2_DIR "${CMAKE_BINARY_DIR}/DerivedSources/WebKit2") + +SET(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/Source/cmake") + +SET(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib) +SET(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib) +SET(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin) + +INCLUDE(WebKitMacros) +INCLUDE(WebKitFS) +INCLUDE(WebKitHelpers) +INCLUDE(WebKitFeatures) + +# ----------------------------------------------------------------------------- +# Determine which port will be built +# ----------------------------------------------------------------------------- +SET(ALL_PORTS Efl WinCE BlackBerry) +SET(PORT "NOPORT" CACHE STRING "choose which WebKit port to build (one of ${ALL_PORTS})") + +LIST(FIND ALL_PORTS ${PORT} RET) +IF (${RET} EQUAL -1) + MESSAGE(FATAL_ERROR "Please choose which WebKit port to build (one of ${ALL_PORTS})") +ENDIF () + +STRING(TOLOWER ${PORT} WEBKIT_PORT_DIR) + +# ----------------------------------------------------------------------------- +# Find common packages (used by all ports) +# ----------------------------------------------------------------------------- +FIND_PACKAGE(BISON REQUIRED) +FIND_PACKAGE(FLEX REQUIRED) +FIND_PACKAGE(Gperf REQUIRED) +FIND_PACKAGE(Perl REQUIRED) +FIND_PACKAGE(PythonInterp REQUIRED) + +# ----------------------------------------------------------------------------- +# Determine the target processor +# ----------------------------------------------------------------------------- +STRING(TOLOWER ${CMAKE_SYSTEM_PROCESSOR} LOWERCASE_CMAKE_SYSTEM_PROCESSOR) +IF (LOWERCASE_CMAKE_SYSTEM_PROCESSOR MATCHES "^arm") + SET(WTF_CPU_ARM 1) +ELSEIF (LOWERCASE_CMAKE_SYSTEM_PROCESSOR MATCHES "^mips") + SET(WTF_CPU_MIPS 1) +ELSEIF (LOWERCASE_CMAKE_SYSTEM_PROCESSOR MATCHES "(x86_64|amd64)") + SET(WTF_CPU_X86_64 1) +ELSEIF (LOWERCASE_CMAKE_SYSTEM_PROCESSOR MATCHES "(i[3-6]86|x86)") + SET(WTF_CPU_X86 1) +ELSE () + MESSAGE(FATAL_ERROR "Unknown CPU '${CMAKE_SYSTEM_PROCESSOR}'") +ENDIF () + +# ----------------------------------------------------------------------------- +# Determine the operating system +# ----------------------------------------------------------------------------- +IF (UNIX) + IF (APPLE) + SET(WTF_OS_MAC_OS_X 1) + ELSE () + SET(WTF_OS_UNIX 1) + ENDIF () +ELSEIF (CMAKE_SYSTEM_NAME MATCHES "Windows") + SET(WTF_OS_WINDOWS 1) +ELSEIF (CMAKE_SYSTEM_NAME MATCHES "QNX") + SET(WTF_OS_QNX 1) + SET(WTF_OS_UNIX 1) +ELSE () + MESSAGE(FATAL_ERROR "Unknown OS '${CMAKE_SYSTEM_NAME}'") +ENDIF () + +# ----------------------------------------------------------------------------- +# Default target names (can be overrriden in Options${PORT}.cmake file) +# ----------------------------------------------------------------------------- +SET(JSC_EXECUTABLE_NAME JSC) +SET(WTF_LIBRARY_NAME WTF) +SET(JavaScriptCore_LIBRARY_NAME JavaScriptCore) +SET(WebCore_LIBRARY_NAME WebCore) +SET(WebKit_LIBRARY_NAME WebKit) +SET(WebKit2_LIBRARY_NAME WebKit2) +SET(WebCoreTestSupport_LIBRARY_NAME WebCoreTestSupport) + +# ----------------------------------------------------------------------------- +# Default library types +# ----------------------------------------------------------------------------- +OPTION(SHARED_CORE "build JavaScriptCore and WebCore as shared libraries") + +IF (SHARED_CORE) + SET(JavaScriptCore_LIBRARY_TYPE SHARED) + SET(WebCore_LIBRARY_TYPE SHARED) +ELSE () + SET(JavaScriptCore_LIBRARY_TYPE STATIC) + SET(WebCore_LIBRARY_TYPE STATIC) +ENDIF () + +SET(WebKit_LIBRARY_TYPE SHARED) +SET(WebKit2_LIBRARY_TYPE SHARED) +SET(WebCoreTestSupport_LIBRARY_TYPE STATIC) + +# ----------------------------------------------------------------------------- +# Port-specific options +# ----------------------------------------------------------------------------- +INCLUDE(OptionsCommon) +INCLUDE(Options${PORT}) + +# ----------------------------------------------------------------------------- +# Enable API unit tests and create a target for the test runner +# ----------------------------------------------------------------------------- +IF (ENABLE_API_TESTS) + ENABLE_TESTING() +ENDIF () + +# ----------------------------------------------------------------------------- +# Install JavaScript shell +# ----------------------------------------------------------------------------- +OPTION(SHOULD_INSTALL_JS_SHELL "generate an installation rule to install the built JavaScript shell") + +# ----------------------------------------------------------------------------- +# Define packaging +# ----------------------------------------------------------------------------- +INCLUDE(WebKitPackaging) + +# ----------------------------------------------------------------------------- +# Add module directories +# ----------------------------------------------------------------------------- +ADD_SUBDIRECTORY(Source) + +# ----------------------------------------------------------------------------- +# Add tools +# ----------------------------------------------------------------------------- +IF (ENABLE_TOOLS) + ADD_SUBDIRECTORY(Tools) +ENDIF () + diff --git a/meta-efl/recipes-efl/webkit/webkit-efl_2.3.4+svnr164189.bb b/meta-efl/recipes-efl/webkit/webkit-efl_2.3.4+svnr164189.bb new file mode 100644 index 0000000000..65418ca9a2 --- /dev/null +++ b/meta-efl/recipes-efl/webkit/webkit-efl_2.3.4+svnr164189.bb @@ -0,0 +1,12 @@ +require ${BPN}.inc + +SRC_URI = "\ + ${E_RELEASES}/libs/webkit-efl/webkit-efl-164189.tar.xz \ + file://0001-WebKitHelpers.cmake-Add-Wno-error-cast-align.patch \ + file://0002-ARMAssembler.h-Don-t-generate-BKPT-and-BLX-for-armv4.patch \ + file://0003-Fix-linking-issue.patch \ +" +SRC_URI[md5sum] = "731513fc042ec8e03840bc1ab6a66771" +SRC_URI[sha256sum] = "660aefd65c0e5c6494eaec30539cda5f40fbdff17f28e7e83d341b245227cccd" + +S = "${WORKDIR}/efl-webkit" diff --git a/meta-efl/recipes-efl/webkit/webkit-efl_svn.bb b/meta-efl/recipes-efl/webkit/webkit-efl_svn.bb new file mode 100644 index 0000000000..e50139c8de --- /dev/null +++ b/meta-efl/recipes-efl/webkit/webkit-efl_svn.bb @@ -0,0 +1,22 @@ +require ${BPN}.inc + +SRCREV = "164189" +PV = "2.3.4+svnr${SRCPV}" + +SRCREV_FORMAT = "source" + +SRC_URI = "\ + svn://svn.webkit.org/repository/webkit/trunk;module=Source;name=source;protocol=http;subdir=src \ + svn://svn.webkit.org/repository/webkit/trunk/;module=WebKitLibraries;protocol=http;subdir=src \ + svn://svn.webkit.org/repository/webkit/trunk/;module=Tools;protocol=http;subdir=src \ + file://CMakeLists.txt \ + file://0001-WebKitHelpers.cmake-Add-Wno-error-cast-align.patch \ + file://0002-ARMAssembler.h-Don-t-generate-BKPT-and-BLX-for-armv4.patch \ + file://0003-Fix-linking-issue.patch \ +" + +S = "${WORKDIR}/src" + +do_configure_prepend() { + cp ${WORKDIR}/CMakeLists.txt ${S}; +} diff --git a/meta-efl/recipes-multimedia/lightmediascanner/lightmediascanner_0.4.4.bb b/meta-efl/recipes-multimedia/lightmediascanner/lightmediascanner_0.4.4.bb new file mode 100644 index 0000000000..2b12a87b5c --- /dev/null +++ b/meta-efl/recipes-multimedia/lightmediascanner/lightmediascanner_0.4.4.bb @@ -0,0 +1,39 @@ +SUMMARY = "Lightweight media scanner meant to be used in not-so-powerful devices" +AUTHOR = "ProFUSION" +HOMEPAGE = "http://lms.garage.maemo.org/" +SECTION = "libs/multimedia" +LICENSE = "LGPLv2.1+" +LIC_FILES_CHKSUM = "file://COPYING;md5=a6f89e2100d9b6cdffcea4f398e37343" +DEPENDS = "sqlite3 flac virtual/libiconv" + +PR = "r2" + +SRC_URI = "http://git.profusion.mobi/cgit.cgi/lightmediascanner.git/snapshot/release_${PV}.tar.bz2 \ +" +SRC_URI[md5sum] = "f423376a70f8f321af69b12563b176fe" +SRC_URI[sha256sum] = "302a7f6cc355467cd20332f4e02c8b87ba6c0c7a6818a6a987e007aace19b41e" + +S = "${WORKDIR}/release_${PV}" + +PACKAGECONFIG ??= "" +PACKAGECONFIG[ogg] = "--enable-ogg,--disable-ogg,libvorbis" + +inherit autotools pkgconfig + +do_install_append() { + install -d ${D}/${bindir}/ + install -m 755 ${S}/src/bin/.libs/test ${D}/${bindir}/test-lms +} + +PACKAGES =+ "${PN}-test" + +FILES_${PN}-test = "${bindir}/test-lms" + +FILES_${PN}-dbg += "${libdir}/${PN}/plugins/.debug" +FILES_${PN}-staticdev += "${libdir}/${PN}/plugins/*.a" + +# otherwise fails with ERROR: could not add conversion charset 'UTF-16BE': Invalid argument +RDEPENDS_${PN}-test_append_libc-glibc = " glibc-gconv-utf-16" + +# png.so jpeg.so id3.so are provided also by imlib2-loaders +PRIVATE_LIBS_${PN} = "video-dummy.so png.so jpeg.so id3.so pls.so audio-dummy.so rm.so ogg.so dummy.so m3u.so flac.so asf.so" diff --git a/meta-efl/recipes-navigation/mcnavi/mcnavi_0.3.4.bb b/meta-efl/recipes-navigation/mcnavi/mcnavi_0.3.4.bb new file mode 100644 index 0000000000..d07b1435f3 --- /dev/null +++ b/meta-efl/recipes-navigation/mcnavi/mcnavi_0.3.4.bb @@ -0,0 +1,13 @@ +SUMMARY = "Free GPS navigation for car and outdoor with OpenStreetMap maps" +HOMEPAGE = "http://www.gps-routes.info/index.php?name=Content&pa=showpage&pid=1" +LICENSE = "GPLv3" +LIC_FILES_CHKSUM = "file://COPYING;md5=8f0e2cd40e05189ec81232da84bd6e1a" +DEPENDS = "ecore evas imlib2 gpsd edje edje-native mysql5" + +SRC_URI = "http://www.gps-routes.info/debian/pool/main/m/mcnavi/mcnavi_${PV}.tar.gz" +SRC_URI[md5sum] = "6860cde5c02a9f93c829da4b10e5a226" +SRC_URI[sha256sum] = "ee7f65155e91386175875fc4f72f4bc94e4e9cdb8258112632da94520ef2c349" + +S = "${WORKDIR}/${PN}" + +inherit autotools -- cgit v1.2.3-54-g00ecf