diff options
author | Patrick Williams <patrick@stwcx.xyz> | 2016-08-17 15:04:38 -0500 |
---|---|---|
committer | Patrick Williams <patrick@stwcx.xyz> | 2016-08-22 16:43:32 +0000 |
commit | b48b7b4109868a8c0ddda090992e936e821c7ea6 (patch) | |
tree | 696be8ea782f2548c0f63bb0188f4c8d3eeed681 /import-layers/meta-openembedded/meta-efl | |
parent | d849ec78de728ef9a2d383b92ccfeabf40f8f1d0 (diff) | |
download | talos-openbmc-b48b7b4109868a8c0ddda090992e936e821c7ea6.tar.gz talos-openbmc-b48b7b4109868a8c0ddda090992e936e821c7ea6.zip |
Squashed 'import-layers/meta-openembedded/' content from commit 247b126
Change-Id: I40827e9ce5fba63f1cca2a0be44976ae8383b4c0
git-subtree-dir: import-layers/meta-openembedded
git-subtree-split: 247b1267bbe95719cd4877d2d3cfbaf2a2f4865a
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Diffstat (limited to 'import-layers/meta-openembedded/meta-efl')
119 files changed, 4230 insertions, 0 deletions
diff --git a/import-layers/meta-openembedded/meta-efl/COPYING.MIT b/import-layers/meta-openembedded/meta-efl/COPYING.MIT new file mode 100644 index 000000000..fb950dc69 --- /dev/null +++ b/import-layers/meta-openembedded/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/import-layers/meta-openembedded/meta-efl/README b/import-layers/meta-openembedded/meta-efl/README new file mode 100644 index 000000000..438efc5e9 --- /dev/null +++ b/import-layers/meta-openembedded/meta-efl/README @@ -0,0 +1,18 @@ +This layer depends on: + +URI: git://github.com/openembedded/oe-core.git +branch: krogoth +revision: HEAD + +URI: git://github.com/openembedded/meta-oe.git +layers: meta-oe, meta-python +branch: krogoth +revision: HEAD + +Send pull requests to openembedded-devel@lists.openembedded.org with '[meta-efl][krogoth]' 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][krogoth][PATCH' + +krogoth branch maintainer(s): +Armin Kuster <akuster808@gmail.com> diff --git a/import-layers/meta-openembedded/meta-efl/classes/e-base.bbclass b/import-layers/meta-openembedded/meta-efl/classes/e-base.bbclass new file mode 100644 index 000000000..e0ae2285d --- /dev/null +++ b/import-layers/meta-openembedded/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/import-layers/meta-openembedded/meta-efl/classes/e.bbclass b/import-layers/meta-openembedded/meta-efl/classes/e.bbclass new file mode 100644 index 000000000..4ee80bf57 --- /dev/null +++ b/import-layers/meta-openembedded/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 ${B} -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/import-layers/meta-openembedded/meta-efl/classes/efl.bbclass b/import-layers/meta-openembedded/meta-efl/classes/efl.bbclass new file mode 100644 index 000000000..eb40e4bc3 --- /dev/null +++ b/import-layers/meta-openembedded/meta-efl/classes/efl.bbclass @@ -0,0 +1,66 @@ +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 ${B}/ -name "*.pc" -type f` ; do \ + sed -i -e 's:-L${STAGING_LIBDIR}:-L\$\{libdir\}:g' -e 's:-I${STAGING_LIBDIR}:-I\$\{libdir\}:g' -e 's:-I${STAGING_INCDIR}:-I\$\{includedir\}:g' $i + done +} + +PACKAGES =+ "${PN}-themes" +PACKAGES += "${PN}-tests" +PACKAGES += "${PN}-eolian" + +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}-eolian = " \ + ${datadir}/eolian/include \ +" + +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/import-layers/meta-openembedded/meta-efl/conf/distro/include/efl-from-svn-recipes.inc b/import-layers/meta-openembedded/meta-efl/conf/distro/include/efl-from-svn-recipes.inc new file mode 100644 index 000000000..23a8eaeca --- /dev/null +++ b/import-layers/meta-openembedded/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/import-layers/meta-openembedded/meta-efl/conf/layer.conf b/import-layers/meta-openembedded/meta-efl/conf/layer.conf new file mode 100644 index 000000000..ea90ce28d --- /dev/null +++ b/import-layers/meta-openembedded/meta-efl/conf/layer.conf @@ -0,0 +1,35 @@ +# 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" + +# This should only be incremented on significant changes that will +# cause compatibility issues with other layers +LAYERVERSION_efl-layer = "1" + +LAYERDEPENDS_efl-layer = "core openembedded-layer" + +E_MIRROR = "http://download.enlightenment.org/releases" +E_RELEASES = "http://download.enlightenment.org/rel" +E_SVN = "svn://svn.enlightenment.org/svn/e" + +# RDEPENDS on update-alternatives provider opkg-utils +SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS += "\ + exquisite-theme-illume->opkg-utils \ +" + +# RDEPENDS on e-wm +SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS += "\ + e-wm-theme-illume-efenniht->e-wm \ + e-wm-theme-illume-neo->e-wm \ + e-wm-theme-b-and-w->e-wm \ +" + +SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS += " \ + packagegroup-efl-sdk->packagegroup-core-sdk \ +" diff --git a/import-layers/meta-openembedded/meta-efl/recipes-core/meta/meta-toolchain-efl.bb b/import-layers/meta-openembedded/meta-efl/recipes-core/meta/meta-toolchain-efl.bb new file mode 100644 index 000000000..b7b7fca89 --- /dev/null +++ b/import-layers/meta-openembedded/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/import-layers/meta-openembedded/meta-efl/recipes-devtools/python/python-edbus.inc b/import-layers/meta-openembedded/meta-efl/recipes-devtools/python/python-edbus.inc new file mode 100644 index 000000000..3e72261e2 --- /dev/null +++ b/import-layers/meta-openembedded/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 <barbieri@gmail.com>" +# 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 -R --no-dereference --preserve=mode,links -v 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/import-layers/meta-openembedded/meta-efl/recipes-devtools/python/python-edbus_1.7.0.bb b/import-layers/meta-openembedded/meta-efl/recipes-devtools/python/python-edbus_1.7.0.bb new file mode 100644 index 000000000..9e5ff0a02 --- /dev/null +++ b/import-layers/meta-openembedded/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/import-layers/meta-openembedded/meta-efl/recipes-devtools/python/python-efl.inc b/import-layers/meta-openembedded/meta-efl/recipes-devtools/python/python-efl.inc new file mode 100644 index 000000000..92a26eddb --- /dev/null +++ b/import-layers/meta-openembedded/meta-efl/recipes-devtools/python/python-efl.inc @@ -0,0 +1,75 @@ +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 <barbieri@gmail.com>" +# 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 python-dbus lua efl elementary" +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 python-ethumb ${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 \ + ${libdir}/${PYTHON_DIR}/site-packages/efl/ecore \ +" +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 \ +" +FILES_python-ethumb = " \ + ${libdir}/${PYTHON_DIR}/site-packages/ethumb/ \ + ${libdir}/${PYTHON_DIR}/site-packages/efl/ethumb*so \ +" diff --git a/import-layers/meta-openembedded/meta-efl/recipes-devtools/python/python-efl_1.15.0.bb b/import-layers/meta-openembedded/meta-efl/recipes-devtools/python/python-efl_1.15.0.bb new file mode 100644 index 000000000..7abbc32d9 --- /dev/null +++ b/import-layers/meta-openembedded/meta-efl/recipes-devtools/python/python-efl_1.15.0.bb @@ -0,0 +1,4 @@ +require ${BPN}.inc + +SRC_URI[md5sum] = "f7c5d557336ea9df69bcca09c420711a" +SRC_URI[sha256sum] = "11e607b465cb66dafe05c66e02d61e09335b370fe9fd2a74d88282b3ee597bcc" diff --git a/import-layers/meta-openembedded/meta-efl/recipes-devtools/python/python-efl_git.bb b/import-layers/meta-openembedded/meta-efl/recipes-devtools/python/python-efl_git.bb new file mode 100644 index 000000000..83a01ac69 --- /dev/null +++ b/import-layers/meta-openembedded/meta-efl/recipes-devtools/python/python-efl_git.bb @@ -0,0 +1,9 @@ +require ${BPN}.inc + +SRCREV = "71ed20ebf662a7b72e60913df94ce6933236bf09" +PV = "1.12.0+git${SRCPV}" +DEFAULT_PREFERENCE = "-1" + +SRC_URI = "git://git.enlightenment.org/bindings/python/${BPN}.git;branch=python-efl-1.12" + +S = "${WORKDIR}/git" diff --git a/import-layers/meta-openembedded/meta-efl/recipes-efl/e17/cpu/configure.patch b/import-layers/meta-openembedded/meta-efl/recipes-efl/e17/cpu/configure.patch new file mode 100644 index 000000000..87c85de9f --- /dev/null +++ b/import-layers/meta-openembedded/meta-efl/recipes-efl/e17/cpu/configure.patch @@ -0,0 +1,13 @@ +Index: cpu/configure.ac +=================================================================== +--- cpu.orig/configure.ac 2014-07-17 20:39:48.000000000 +0000 ++++ cpu/configure.ac 2014-07-17 21:39:55.320555868 +0000 +@@ -10,7 +10,7 @@ + AC_CANONICAL_HOST + AC_ISC_POSIX + +-AM_INIT_AUTOMAKE(1.6) ++AM_INIT_AUTOMAKE([foreign]) + AM_CONFIG_HEADER(config.h) + m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])]) + diff --git a/import-layers/meta-openembedded/meta-efl/recipes-efl/e17/cpu_svn.bb b/import-layers/meta-openembedded/meta-efl/recipes-efl/e17/cpu_svn.bb new file mode 100644 index 000000000..14eb08f71 --- /dev/null +++ b/import-layers/meta-openembedded/meta-efl/recipes-efl/e17/cpu_svn.bb @@ -0,0 +1,10 @@ +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 + +SRC_URI += "file://configure.patch" diff --git a/import-layers/meta-openembedded/meta-efl/recipes-efl/e17/diskio_svn.bb b/import-layers/meta-openembedded/meta-efl/recipes-efl/e17/diskio_svn.bb new file mode 100644 index 000000000..a26186e44 --- /dev/null +++ b/import-layers/meta-openembedded/meta-efl/recipes-efl/e17/diskio_svn.bb @@ -0,0 +1,10 @@ +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://COPYING;md5=344895f253c32f38e182dcaf30fe8a35 \ + file://COPYING-PLAIN;md5=68be76d8126face2fbbecdf1bcbe2b10" + +PV = "0.0.1+svnr${SRCPV}" +PR = "${INC_PR}.0" + +PNBLACKLIST[diskio] ?= "broken: switch to https://git.enlightenment.org/enlightenment/modules/diskio.git/ and fix 0.0.1+svnr82070-r0.0/E-MODULES-EXTRA/diskio/e-module-diskio.edc:58. invalid state name: 'off'. "default" state must always be first." + +require e-module.inc diff --git a/import-layers/meta-openembedded/meta-efl/recipes-efl/e17/e-module.inc b/import-layers/meta-openembedded/meta-efl/recipes-efl/e17/e-module.inc new file mode 100644 index 000000000..092357572 --- /dev/null +++ b/import-layers/meta-openembedded/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/import-layers/meta-openembedded/meta-efl/recipes-efl/e17/e-tasks/0001-dbus-stuff-Convert-to-eldbus.patch b/import-layers/meta-openembedded/meta-efl/recipes-efl/e17/e-tasks/0001-dbus-stuff-Convert-to-eldbus.patch new file mode 100644 index 000000000..f92a772fe --- /dev/null +++ b/import-layers/meta-openembedded/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 <Martin.Jansa@gmail.com> +Date: Sat, 22 Feb 2014 14:36:38 +0100 +Subject: [PATCH] dbus-stuff: Convert to eldbus + +Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> +--- + 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 +- * <cchandel@yahoo.com> ++ * Copyright 2009 cchandel <cchandel@yahoo.com> + ****************************************************************************/ + + /* +@@ -21,51 +20,67 @@ + * Foundation, Inc., 51 Franklin Street, Fifth Floor Boston, MA 02110-1301, USA + */ + #include "dbus-stuff.h" +-#include <string.h> +-#include <E_DBus.h> +-#include <Elementary.h> ++#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 +- * <nidhin@nids-laptop.home> ++ * Copyright 2009 nidhin <nidhin@nids-laptop.home> + ****************************************************************************/ + + /* +@@ -22,11 +21,5 @@ + * Foundation, Inc., 51 Franklin Street, Fifth Floor Boston, MA 02110-1301, USA + */ + +-#include <E_DBus.h> +-#include <Elementary.h> +- +-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/import-layers/meta-openembedded/meta-efl/recipes-efl/e17/e-tasks_git.bb b/import-layers/meta-openembedded/meta-efl/recipes-efl/e17/e-tasks_git.bb new file mode 100644 index 000000000..606515783 --- /dev/null +++ b/import-layers/meta-openembedded/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/import-layers/meta-openembedded/meta-efl/recipes-efl/e17/e-wm-theme-b-and-w_svn.bb b/import-layers/meta-openembedded/meta-efl/recipes-efl/e17/e-wm-theme-b-and-w_svn.bb new file mode 100644 index 000000000..ae1b8a6c6 --- /dev/null +++ b/import-layers/meta-openembedded/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/import-layers/meta-openembedded/meta-efl/recipes-efl/e17/e-wm-theme-illume-efenniht/LICENSE b/import-layers/meta-openembedded/meta-efl/recipes-efl/e17/e-wm-theme-illume-efenniht/LICENSE new file mode 100644 index 000000000..61bb2f603 --- /dev/null +++ b/import-layers/meta-openembedded/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/import-layers/meta-openembedded/meta-efl/recipes-efl/e17/e-wm-theme-illume-efenniht_svn.bb b/import-layers/meta-openembedded/meta-efl/recipes-efl/e17/e-wm-theme-illume-efenniht_svn.bb new file mode 100644 index 000000000..965e4e995 --- /dev/null +++ b/import-layers/meta-openembedded/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/import-layers/meta-openembedded/meta-efl/recipes-efl/e17/e-wm.inc b/import-layers/meta-openembedded/meta-efl/recipes-efl/e17/e-wm.inc new file mode 100644 index 000000000..444ec8959 --- /dev/null +++ b/import-layers/meta-openembedded/meta-efl/recipes-efl/e17/e-wm.inc @@ -0,0 +1,202 @@ +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 pkgconfig +S = "${WORKDIR}/${SRCNAME}" + +PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'pam', '', d)} \ + ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd', '', d)}" +PACKAGECONFIG[pam] = "--enable-pam,--disable-pam,libpam" +PACKAGECONFIG[systemd] = "--enable-systemd,--disable-systemd,systemd" + + +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 + sed '/^ *EFL_PKG_CHECK_VAR/ s/systemduserunitdir/systemdsystemunitdir/g' -i ${S}/configure.ac +} + +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}-config-tiling \ + ${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} \ + efreet \ + evas-generic-loader-svg \ +" + +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}-config-tiling = "${datadir}/enlightenment/data/config/tiling" +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/import-layers/meta-openembedded/meta-efl/recipes-efl/e17/e-wm/0001-Fix-incorrect-message-type.patch b/import-layers/meta-openembedded/meta-efl/recipes-efl/e17/e-wm/0001-Fix-incorrect-message-type.patch new file mode 100644 index 000000000..e718ef3db --- /dev/null +++ b/import-layers/meta-openembedded/meta-efl/recipes-efl/e17/e-wm/0001-Fix-incorrect-message-type.patch @@ -0,0 +1,28 @@ +From 0aef43c9cd1656413cf2eb3dc7c19b355ee7ed52 Mon Sep 17 00:00:00 2001 +From: Carlos Rafael Giani <dv@pseudoterminal.org> +Date: Sun, 1 Jun 2014 14:45:49 +0200 +Subject: [PATCH] Fix incorrect message type + +Upstream-Status: Pending + +Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org> +--- + src/bin/e_desk.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/bin/e_desk.c b/src/bin/e_desk.c +index b156e19..77d7520 100644 +--- a/src/bin/e_desk.c ++++ b/src/bin/e_desk.c +@@ -221,7 +221,7 @@ e_desk_show(E_Desk *desk) + E_Event_Desk_Show *ev; + E_Event_Desk_Before_Show *eev; + E_Event_Desk_After_Show *eeev; +- Edje_Message_Float_Set *msg; ++ Edje_Message_Int_Set *msg; + Eina_List *l; + E_Shelf *es; + int was_zone = 0, x, y, dx = 0, dy = 0; +-- +1.8.3.2 + diff --git a/import-layers/meta-openembedded/meta-efl/recipes-efl/e17/e-wm/0001-configure.ac-add-foreign.patch b/import-layers/meta-openembedded/meta-efl/recipes-efl/e17/e-wm/0001-configure.ac-add-foreign.patch new file mode 100644 index 000000000..c7a574c90 --- /dev/null +++ b/import-layers/meta-openembedded/meta-efl/recipes-efl/e17/e-wm/0001-configure.ac-add-foreign.patch @@ -0,0 +1,29 @@ +From 19e59b6e8148388e7a17f10d4390176a50e2917f Mon Sep 17 00:00:00 2001 +From: Martin Jansa <Martin.Jansa@gmail.com> +Date: Mon, 25 Aug 2014 16:06:03 +0200 +Subject: [PATCH] configure.ac: add foreign + +* fixes: + | configure.ac:312: error: required file './ABOUT-NLS' not found + +Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> +--- + configure.ac | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/configure.ac b/configure.ac +index 51ad0ba..cd77739 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -34,7 +34,7 @@ AH_BOTTOM([ + #endif /* EFL_CONFIG_H__ */ + ]) + +-AM_INIT_AUTOMAKE([1.11 dist-bzip2 dist-xz -Wno-portability]) ++AM_INIT_AUTOMAKE([1.11 dist-bzip2 dist-xz -Wno-portability foreign]) + AM_SILENT_RULES([yes]) + + AC_USE_SYSTEM_EXTENSIONS +-- +2.3.0 + diff --git a/import-layers/meta-openembedded/meta-efl/recipes-efl/e17/e-wm/applications.menu b/import-layers/meta-openembedded/meta-efl/recipes-efl/e17/e-wm/applications.menu new file mode 100644 index 000000000..ed9b90662 --- /dev/null +++ b/import-layers/meta-openembedded/meta-efl/recipes-efl/e17/e-wm/applications.menu @@ -0,0 +1,105 @@ +<?xml version="1.0"?> +<!DOCTYPE Menu PUBLIC "-//freedesktop//DTD Menu 1.0//EN" "http://standards.freedesktop.org/menu-spec/menu-1.0.dtd"> +<Menu> + <Name>Applications</Name> + <!-- <Directory>Applications.directory</Directory> --> + + <!-- Read standard .directory and .desktop file locations --> + <DefaultAppDirs>/usr/share/applications</DefaultAppDirs> + <DefaultDirectoryDirs/> + + <Menu> + <Name>Office</Name> + <Directory>Office.directory</Directory> + <Include> + <And> + <Category>Office</Category> + </And> + </Include> + </Menu> + + <Menu> + <Name>Multimedia</Name> + <Directory>Multimedia.directory</Directory> + <Include> + <And> + <Category>AudioVideo</Category> + </And> + </Include> + </Menu> + + <Menu> + <Name>Graphics</Name> + <Directory>Graphics.directory</Directory> + <Include> + <And> + <Category>Graphics</Category> + </And> + </Include> + </Menu> + + <Menu> + <Name>Games</Name> + <Directory>Games.directory</Directory> + <Include> + <And> + <Or> + <Category>Game</Category> + <Category>Games</Category> + </Or> + </And> + </Include> + </Menu> + + <Menu> + <Name>Internet</Name> + <Directory>Internet.directory</Directory> + <Include> + <And> + <Or> + <Category>Internet</Category> + <Category>Network</Category> + </Or> + </And> + </Include> + </Menu> + + <Menu> + <Name>Settings</Name> + <Directory>Settings.directory</Directory> + <Include> + <And> + <Or> + <Category>SystemSettings</Category> + <Category>Settings</Category> + </Or> + <Not> + <Category>System</Category> + </Not> + </And> + </Include> + </Menu> + + <Menu> + <Name>Accessories</Name> + <Directory>Accessories.directory</Directory> + <Include> + <And> + <Or> + <Category>Applications</Category> + <Category>Utility</Category> + </Or> + <Not> + <Category>System</Category> + <Category>Office</Category> + <Category>Internet</Category> + <Category>AudioVideo</Category> + <Category>Graphics</Category> + <Category>Games</Category> + </Not> + </And> + </Include> + </Menu> + +</Menu> + diff --git a/import-layers/meta-openembedded/meta-efl/recipes-efl/e17/e-wm/enlightenment_start.oe b/import-layers/meta-openembedded/meta-efl/recipes-efl/e17/e-wm/enlightenment_start.oe new file mode 100644 index 000000000..ff8617275 --- /dev/null +++ b/import-layers/meta-openembedded/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/import-layers/meta-openembedded/meta-efl/recipes-efl/e17/e-wm_0.18.8.bb b/import-layers/meta-openembedded/meta-efl/recipes-efl/e17/e-wm_0.18.8.bb new file mode 100644 index 000000000..6b4c9fc54 --- /dev/null +++ b/import-layers/meta-openembedded/meta-efl/recipes-efl/e17/e-wm_0.18.8.bb @@ -0,0 +1,15 @@ +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 \ + file://0001-Fix-incorrect-message-type.patch \ +" + +SRC_URI[md5sum] = "79c9f524e1d0510061c62c4b038a8ece" +SRC_URI[sha256sum] = "14c9bde4334d2f8b0776c6113d02b923ab159eea1cbf7013489e4f3bf37a51bb" diff --git a/import-layers/meta-openembedded/meta-efl/recipes-efl/e17/e-wm_0.19.10.bb b/import-layers/meta-openembedded/meta-efl/recipes-efl/e17/e-wm_0.19.10.bb new file mode 100644 index 000000000..86ce03d81 --- /dev/null +++ b/import-layers/meta-openembedded/meta-efl/recipes-efl/e17/e-wm_0.19.10.bb @@ -0,0 +1,19 @@ +require ${BPN}.inc + +SRCNAME = "enlightenment" + +S = "${WORKDIR}/${SRCNAME}-${PV}" + +# couple of modules needed for illume2 (mobile) profile were removed in +# http://git.enlightenment.org/core/enlightenment.git/commit/src/modules/Makefile.mk?id=1be76d599ca27f820b58b8186c5f73d9844c67ca +# and replacements aren't included yet, if you want to use e-wm on device with small screen, better stay with 0.18 release +DEFAULT_PREFERENCE = "-1" + +SRC_URI = "\ + ${E_RELEASES}/apps/${SRCNAME}/${SRCNAME}-${SRCVER}.tar.gz \ + file://enlightenment_start.oe \ + file://applications.menu \ +" + +SRC_URI[md5sum] = "9063617760329445ada8635270a4e627" +SRC_URI[sha256sum] = "484d305bcf403303b18c46a3a498445b93689cd325010ae8d0601551926469d8" diff --git a/import-layers/meta-openembedded/meta-efl/recipes-efl/e17/e-wm_git.bb b/import-layers/meta-openembedded/meta-efl/recipes-efl/e17/e-wm_git.bb new file mode 100644 index 000000000..9eb839bea --- /dev/null +++ b/import-layers/meta-openembedded/meta-efl/recipes-efl/e17/e-wm_git.bb @@ -0,0 +1,14 @@ +require ${BPN}.inc + +PV = "0.19.4+git${SRCPV}" +DEFAULT_PREFERENCE = "-2" + +SRC_URI = " \ + git://git.enlightenment.org/core/enlightenment.git;branch=enlightenment-0.19 \ + file://0001-configure.ac-add-foreign.patch \ + file://enlightenment_start.oe \ + file://applications.menu \ +" +S = "${WORKDIR}/git" + +SRCREV = "4545d4a70031e0b2565b8d83d5f756bff1a584d0" diff --git a/import-layers/meta-openembedded/meta-efl/recipes-efl/e17/edje-viewer_svn.bb b/import-layers/meta-openembedded/meta-efl/recipes-efl/e17/edje-viewer_svn.bb new file mode 100644 index 000000000..2b927a0dd --- /dev/null +++ b/import-layers/meta-openembedded/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/import-layers/meta-openembedded/meta-efl/recipes-efl/e17/elbow_git.bb b/import-layers/meta-openembedded/meta-efl/recipes-efl/e17/elbow_git.bb new file mode 100644 index 000000000..06ed2c959 --- /dev/null +++ b/import-layers/meta-openembedded/meta-efl/recipes-efl/e17/elbow_git.bb @@ -0,0 +1,26 @@ +SUMMARY = "EFL based browser" +LICENSE = "GPLv3" +LIC_FILES_CHKSUM = "file://COPYING;md5=6a6a8e020838b23406c81b19c1d46df6" +DEPENDS = "evas ecore edje eina elementary webkit-efl sqlite3" + +PV = "0.0.1+gitr${SRCPV}" +SRCREV = "b41fd0bc9514ff61bb2a50d957efe4155fa3e6a8" + +# webkit-efl isn't available for < armv7a +COMPATIBLE_MACHINE = "(-)" +COMPATIBLE_MACHINE_x86 = "(.*)" +COMPATIBLE_MACHINE_x86-64 = "(.*)" +COMPATIBLE_MACHINE_armv7a = "(.*)" + +inherit e gettext cmake + +EXTRA_OECMAKE = "-DDATA_INSTALL_DIR=${datadir}" + +SRC_URI = " \ + git://github.com/bunhere/elbow.git;protocol=https \ +" +S = "${WORKDIR}/git" + +FILES_${PN} += "${datadir}/themes" + +PNBLACKLIST[elbow] ?= "Depends on blacklisted webkit-efl" diff --git a/import-layers/meta-openembedded/meta-efl/recipes-efl/e17/elfe_git.bb b/import-layers/meta-openembedded/meta-efl/recipes-efl/e17/elfe_git.bb new file mode 100644 index 000000000..fcb97a972 --- /dev/null +++ b/import-layers/meta-openembedded/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/import-layers/meta-openembedded/meta-efl/recipes-efl/e17/elmdentica/configure.patch b/import-layers/meta-openembedded/meta-efl/recipes-efl/e17/elmdentica/configure.patch new file mode 100644 index 000000000..79a981b47 --- /dev/null +++ b/import-layers/meta-openembedded/meta-efl/recipes-efl/e17/elmdentica/configure.patch @@ -0,0 +1,13 @@ +Index: elmdentica/configure.ac +=================================================================== +--- elmdentica.orig/configure.ac 2014-07-17 21:46:14.712566207 +0000 ++++ elmdentica/configure.ac 2014-07-17 21:51:34.960574935 +0000 +@@ -3,7 +3,7 @@ + AM_CONFIG_HEADER(config.h) + AC_CONFIG_MACRO_DIR([m4]) + +-AM_INIT_AUTOMAKE ++AM_INIT_AUTOMAKE([foreign]) + + AC_PROG_CC + AC_GNU_SOURCE diff --git a/import-layers/meta-openembedded/meta-efl/recipes-efl/e17/elmdentica_svn.bb b/import-layers/meta-openembedded/meta-efl/recipes-efl/e17/elmdentica_svn.bb new file mode 100644 index 000000000..56a74c5a7 --- /dev/null +++ b/import-layers/meta-openembedded/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" + +SRC_URI += "file://configure.patch" + +PNBLACKLIST[elmdentica] ?= "OLD and depends on broken azy" diff --git a/import-layers/meta-openembedded/meta-efl/recipes-efl/e17/emprint_svn.bb b/import-layers/meta-openembedded/meta-efl/recipes-efl/e17/emprint_svn.bb new file mode 100644 index 000000000..e4c9816fd --- /dev/null +++ b/import-layers/meta-openembedded/meta-efl/recipes-efl/e17/emprint_svn.bb @@ -0,0 +1,14 @@ +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" + +PNBLACKLIST[emprint] ?= "if you want to use these modules with E18, then you need to update it to git recipe fetching newer sources from http://git.enlightenment.org/apps/emprint.git/" diff --git a/import-layers/meta-openembedded/meta-efl/recipes-efl/e17/enjoy/0001-always-use-position-as-percent-and-define-a-1-second.patch b/import-layers/meta-openembedded/meta-efl/recipes-efl/e17/enjoy/0001-always-use-position-as-percent-and-define-a-1-second.patch new file mode 100644 index 000000000..09624503b --- /dev/null +++ b/import-layers/meta-openembedded/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 <prahal@yahoo.com> +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/import-layers/meta-openembedded/meta-efl/recipes-efl/e17/enjoy/configure.patch b/import-layers/meta-openembedded/meta-efl/recipes-efl/e17/enjoy/configure.patch new file mode 100644 index 000000000..6e0ed7461 --- /dev/null +++ b/import-layers/meta-openembedded/meta-efl/recipes-efl/e17/enjoy/configure.patch @@ -0,0 +1,13 @@ +Index: git/configure.ac +=================================================================== +--- git.orig/configure.ac 2014-07-17 21:48:51.284570474 +0000 ++++ git/configure.ac 2014-07-17 21:53:39.104578318 +0000 +@@ -26,7 +26,7 @@ + AC_CANONICAL_HOST + AC_ISC_POSIX + +-AM_INIT_AUTOMAKE(1.6 dist-bzip2) ++AM_INIT_AUTOMAKE([dist-bzip2 foreign]) + AC_CONFIG_HEADERS(config.h) + _XTERM_COLORS + m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])]) diff --git a/import-layers/meta-openembedded/meta-efl/recipes-efl/e17/enjoy_git.bb b/import-layers/meta-openembedded/meta-efl/recipes-efl/e17/enjoy_git.bb new file mode 100644 index 000000000..297cbd523 --- /dev/null +++ b/import-layers/meta-openembedded/meta-efl/recipes-efl/e17/enjoy_git.bb @@ -0,0 +1,48 @@ +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 \ + file://configure.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/import-layers/meta-openembedded/meta-efl/recipes-efl/e17/ephoto/configure.patch b/import-layers/meta-openembedded/meta-efl/recipes-efl/e17/ephoto/configure.patch new file mode 100644 index 000000000..59466f8af --- /dev/null +++ b/import-layers/meta-openembedded/meta-efl/recipes-efl/e17/ephoto/configure.patch @@ -0,0 +1,13 @@ +Index: ephoto/configure.ac +=================================================================== +--- ephoto.orig/configure.ac 2014-07-17 21:48:51.028570467 +0000 ++++ ephoto/configure.ac 2014-07-17 21:52:56.120577146 +0000 +@@ -27,7 +27,7 @@ + AC_CANONICAL_HOST + AC_ISC_POSIX + +-AM_INIT_AUTOMAKE(1.6 dist-bzip2) ++AM_INIT_AUTOMAKE([dist-bzip2 foreign]) + AM_CONFIG_HEADER(src/bin/config.h) + m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])]) + diff --git a/import-layers/meta-openembedded/meta-efl/recipes-efl/e17/ephoto_svn.bb b/import-layers/meta-openembedded/meta-efl/recipes-efl/e17/ephoto_svn.bb new file mode 100644 index 000000000..5cecda588 --- /dev/null +++ b/import-layers/meta-openembedded/meta-efl/recipes-efl/e17/ephoto_svn.bb @@ -0,0 +1,19 @@ +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}" + +# autotools-brokensep +B = "${S}" + +SRC_URI += "file://configure.patch" diff --git a/import-layers/meta-openembedded/meta-efl/recipes-efl/e17/exalt-client/configure.patch b/import-layers/meta-openembedded/meta-efl/recipes-efl/e17/exalt-client/configure.patch new file mode 100644 index 000000000..d4ff801ce --- /dev/null +++ b/import-layers/meta-openembedded/meta-efl/recipes-efl/e17/exalt-client/configure.patch @@ -0,0 +1,28 @@ +Index: exalt-client/configure.ac +=================================================================== +--- exalt-client.orig/configure.ac 2014-07-17 21:46:14.712566207 +0000 ++++ exalt-client/configure.ac 2014-07-17 21:47:56.880568991 +0000 +@@ -10,7 +10,7 @@ + AC_CANONICAL_HOST + AC_ISC_POSIX + +-AM_INIT_AUTOMAKE(1.8) ++AM_INIT_AUTOMAKE([foreign]) + AM_CONFIG_HEADER(config.h) + + AC_PROG_CC +@@ -29,7 +29,6 @@ + + m4_ifdef([AM_GNU_GETTEXT], [ + AM_GNU_GETTEXT([external]) +-po_makefile_in=po/Makefile.in + AM_CONDITIONAL([HAVE_PO], [true]) + ],[ + AM_CONDITIONAL([HAVE_PO], [false]) +@@ -101,6 +100,5 @@ + src/Makefile + module.desktop + e_modules-exalt-client.spec +-$po_makefile_in + ], [ + ]) diff --git a/import-layers/meta-openembedded/meta-efl/recipes-efl/e17/exalt-client_svn.bb b/import-layers/meta-openembedded/meta-efl/recipes-efl/e17/exalt-client_svn.bb new file mode 100644 index 000000000..f70860154 --- /dev/null +++ b/import-layers/meta-openembedded/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 ${S}/configure.ac + sed -i -e s:\ po::g ${S}/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" + +SRC_URI += "file://configure.patch"
\ No newline at end of file diff --git a/import-layers/meta-openembedded/meta-efl/recipes-efl/e17/exalt_svn.bb b/import-layers/meta-openembedded/meta-efl/recipes-efl/e17/exalt_svn.bb new file mode 100644 index 000000000..1f1c8505d --- /dev/null +++ b/import-layers/meta-openembedded/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 ${S}/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 ${B}/org.e.Exalt.service ${D}${datadir}/dbus-1/system-services/ +} + +FILES_${PN} += "${datadir}/dbus-1" + diff --git a/import-layers/meta-openembedded/meta-efl/recipes-efl/e17/exquisite-theme-illume.bb b/import-layers/meta-openembedded/meta-efl/recipes-efl/e17/exquisite-theme-illume.bb new file mode 100644 index 000000000..aad064647 --- /dev/null +++ b/import-layers/meta-openembedded/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/import-layers/meta-openembedded/meta-efl/recipes-efl/e17/exquisite-theme-illume/LICENSE b/import-layers/meta-openembedded/meta-efl/recipes-efl/e17/exquisite-theme-illume/LICENSE new file mode 100644 index 000000000..61bb2f603 --- /dev/null +++ b/import-layers/meta-openembedded/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/import-layers/meta-openembedded/meta-efl/recipes-efl/e17/exquisite/exquisite-init b/import-layers/meta-openembedded/meta-efl/recipes-efl/e17/exquisite/exquisite-init new file mode 100644 index 000000000..2de6774ff --- /dev/null +++ b/import-layers/meta-openembedded/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/import-layers/meta-openembedded/meta-efl/recipes-efl/e17/exquisite/splashfuncs b/import-layers/meta-openembedded/meta-efl/recipes-efl/e17/exquisite/splashfuncs new file mode 100644 index 000000000..ada2a96dd --- /dev/null +++ b/import-layers/meta-openembedded/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/import-layers/meta-openembedded/meta-efl/recipes-efl/e17/exquisite_svn.bb b/import-layers/meta-openembedded/meta-efl/recipes-efl/e17/exquisite_svn.bb new file mode 100644 index 000000000..8f2d25d7d --- /dev/null +++ b/import-layers/meta-openembedded/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/import-layers/meta-openembedded/meta-efl/recipes-efl/e17/flame/configure.patch b/import-layers/meta-openembedded/meta-efl/recipes-efl/e17/flame/configure.patch new file mode 100644 index 000000000..87c85de9f --- /dev/null +++ b/import-layers/meta-openembedded/meta-efl/recipes-efl/e17/flame/configure.patch @@ -0,0 +1,13 @@ +Index: cpu/configure.ac +=================================================================== +--- cpu.orig/configure.ac 2014-07-17 20:39:48.000000000 +0000 ++++ cpu/configure.ac 2014-07-17 21:39:55.320555868 +0000 +@@ -10,7 +10,7 @@ + AC_CANONICAL_HOST + AC_ISC_POSIX + +-AM_INIT_AUTOMAKE(1.6) ++AM_INIT_AUTOMAKE([foreign]) + AM_CONFIG_HEADER(config.h) + m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])]) + diff --git a/import-layers/meta-openembedded/meta-efl/recipes-efl/e17/flame_svn.bb b/import-layers/meta-openembedded/meta-efl/recipes-efl/e17/flame_svn.bb new file mode 100644 index 000000000..58c79a840 --- /dev/null +++ b/import-layers/meta-openembedded/meta-efl/recipes-efl/e17/flame_svn.bb @@ -0,0 +1,15 @@ +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 ${S}/configure.ac + sed -i -e s:\ po::g ${S}/Makefile.am +} + +SRC_URI += "file://configure.patch" diff --git a/import-layers/meta-openembedded/meta-efl/recipes-efl/e17/forecasts/configure.patch b/import-layers/meta-openembedded/meta-efl/recipes-efl/e17/forecasts/configure.patch new file mode 100644 index 000000000..87c85de9f --- /dev/null +++ b/import-layers/meta-openembedded/meta-efl/recipes-efl/e17/forecasts/configure.patch @@ -0,0 +1,13 @@ +Index: cpu/configure.ac +=================================================================== +--- cpu.orig/configure.ac 2014-07-17 20:39:48.000000000 +0000 ++++ cpu/configure.ac 2014-07-17 21:39:55.320555868 +0000 +@@ -10,7 +10,7 @@ + AC_CANONICAL_HOST + AC_ISC_POSIX + +-AM_INIT_AUTOMAKE(1.6) ++AM_INIT_AUTOMAKE([foreign]) + AM_CONFIG_HEADER(config.h) + m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])]) + diff --git a/import-layers/meta-openembedded/meta-efl/recipes-efl/e17/forecasts_svn.bb b/import-layers/meta-openembedded/meta-efl/recipes-efl/e17/forecasts_svn.bb new file mode 100644 index 000000000..473bdb9d4 --- /dev/null +++ b/import-layers/meta-openembedded/meta-efl/recipes-efl/e17/forecasts_svn.bb @@ -0,0 +1,10 @@ +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 + +SRC_URI += "file://configure.patch" diff --git a/import-layers/meta-openembedded/meta-efl/recipes-efl/e17/illume-keyboards-shr/0001-Makefile-update-KEYBOARDS_DIR-for-new-illume2.patch b/import-layers/meta-openembedded/meta-efl/recipes-efl/e17/illume-keyboards-shr/0001-Makefile-update-KEYBOARDS_DIR-for-new-illume2.patch new file mode 100644 index 000000000..b18a69b0b --- /dev/null +++ b/import-layers/meta-openembedded/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 <Martin.Jansa@gmail.com> +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/import-layers/meta-openembedded/meta-efl/recipes-efl/e17/illume-keyboards-shr/LICENSE b/import-layers/meta-openembedded/meta-efl/recipes-efl/e17/illume-keyboards-shr/LICENSE new file mode 100644 index 000000000..61bb2f603 --- /dev/null +++ b/import-layers/meta-openembedded/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/import-layers/meta-openembedded/meta-efl/recipes-efl/e17/illume-keyboards-shr_git.bb b/import-layers/meta-openembedded/meta-efl/recipes-efl/e17/illume-keyboards-shr_git.bb new file mode 100644 index 000000000..6925c872a --- /dev/null +++ b/import-layers/meta-openembedded/meta-efl/recipes-efl/e17/illume-keyboards-shr_git.bb @@ -0,0 +1,100 @@ +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" + +CLEANBROKEN = "1" + +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/import-layers/meta-openembedded/meta-efl/recipes-efl/e17/news_svn.bb b/import-layers/meta-openembedded/meta-efl/recipes-efl/e17/news_svn.bb new file mode 100644 index 000000000..f08cab60a --- /dev/null +++ b/import-layers/meta-openembedded/meta-efl/recipes-efl/e17/news_svn.bb @@ -0,0 +1,14 @@ +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 +} + +PNBLACKLIST[news] ?= "if you want to use these modules with E18, then you need to update it to git recipe fetching newer sources from http://git.enlightenment.org/enlightenment/modules/news.git/" diff --git a/import-layers/meta-openembedded/meta-efl/recipes-efl/e17/places/configure.patch b/import-layers/meta-openembedded/meta-efl/recipes-efl/e17/places/configure.patch new file mode 100644 index 000000000..f8f48345c --- /dev/null +++ b/import-layers/meta-openembedded/meta-efl/recipes-efl/e17/places/configure.patch @@ -0,0 +1,13 @@ +Index: places/configure.ac +=================================================================== +--- places.orig/configure.ac 2014-07-17 21:51:01.276574017 +0000 ++++ places/configure.ac 2014-07-17 21:52:07.096575810 +0000 +@@ -10,7 +10,7 @@ + AC_CANONICAL_HOST + AC_ISC_POSIX + +-AM_INIT_AUTOMAKE(1.8) ++AM_INIT_AUTOMAKE([foreign]) + m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])]) + AM_CONFIG_HEADER(config.h) + diff --git a/import-layers/meta-openembedded/meta-efl/recipes-efl/e17/places_svn.bb b/import-layers/meta-openembedded/meta-efl/recipes-efl/e17/places_svn.bb new file mode 100644 index 000000000..54f0e0154 --- /dev/null +++ b/import-layers/meta-openembedded/meta-efl/recipes-efl/e17/places_svn.bb @@ -0,0 +1,16 @@ +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" + +SRC_URI += "file://configure.patch" diff --git a/import-layers/meta-openembedded/meta-efl/recipes-efl/e17/rage_svn.bb b/import-layers/meta-openembedded/meta-efl/recipes-efl/e17/rage_svn.bb new file mode 100644 index 000000000..a65aa9eb6 --- /dev/null +++ b/import-layers/meta-openembedded/meta-efl/recipes-efl/e17/rage_svn.bb @@ -0,0 +1,15 @@ +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}" + +PNBLACKLIST[rage] ?= "if you want to use these modules with E18, then you need to update it to git recipe fetching newer sources from http://git.enlightenment.org/apps/rage.git/" diff --git a/import-layers/meta-openembedded/meta-efl/recipes-efl/e17/rain/configure.patch b/import-layers/meta-openembedded/meta-efl/recipes-efl/e17/rain/configure.patch new file mode 100644 index 000000000..87c85de9f --- /dev/null +++ b/import-layers/meta-openembedded/meta-efl/recipes-efl/e17/rain/configure.patch @@ -0,0 +1,13 @@ +Index: cpu/configure.ac +=================================================================== +--- cpu.orig/configure.ac 2014-07-17 20:39:48.000000000 +0000 ++++ cpu/configure.ac 2014-07-17 21:39:55.320555868 +0000 +@@ -10,7 +10,7 @@ + AC_CANONICAL_HOST + AC_ISC_POSIX + +-AM_INIT_AUTOMAKE(1.6) ++AM_INIT_AUTOMAKE([foreign]) + AM_CONFIG_HEADER(config.h) + m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])]) + diff --git a/import-layers/meta-openembedded/meta-efl/recipes-efl/e17/rain_svn.bb b/import-layers/meta-openembedded/meta-efl/recipes-efl/e17/rain_svn.bb new file mode 100644 index 000000000..cf67a4cd5 --- /dev/null +++ b/import-layers/meta-openembedded/meta-efl/recipes-efl/e17/rain_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 ${S}/configure.ac + sed -i -e s:\ po::g ${S}/Makefile.am +} + +SRC_URI += "file://configure.patch" diff --git a/import-layers/meta-openembedded/meta-efl/recipes-efl/e17/screenshot/screenshot-fix-mkinstalldirs.patch b/import-layers/meta-openembedded/meta-efl/recipes-efl/e17/screenshot/screenshot-fix-mkinstalldirs.patch new file mode 100644 index 000000000..14f1141f1 --- /dev/null +++ b/import-layers/meta-openembedded/meta-efl/recipes-efl/e17/screenshot/screenshot-fix-mkinstalldirs.patch @@ -0,0 +1,23 @@ +From: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> +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 <dbaryshkov@gmail.com> + +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/import-layers/meta-openembedded/meta-efl/recipes-efl/e17/screenshot_svn.bb b/import-layers/meta-openembedded/meta-efl/recipes-efl/e17/screenshot_svn.bb new file mode 100644 index 000000000..6dec194d6 --- /dev/null +++ b/import-layers/meta-openembedded/meta-efl/recipes-efl/e17/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 +} + +PNBLACKLIST[screenshot] ?= "depends on blacklisted emprint" diff --git a/import-layers/meta-openembedded/meta-efl/recipes-efl/e17/terminology.inc b/import-layers/meta-openembedded/meta-efl/recipes-efl/e17/terminology.inc new file mode 100644 index 000000000..24f789f59 --- /dev/null +++ b/import-layers/meta-openembedded/meta-efl/recipes-efl/e17/terminology.inc @@ -0,0 +1,22 @@ +DESCRIPTION = "Enlightenment Terminal Emulator" +LICENSE = "MIT & BSD-2-Clause" +LIC_FILES_CHKSUM = "file://COPYING;md5=4efac6b05b3256ba7da66301ac1ee6c6" +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/import-layers/meta-openembedded/meta-efl/recipes-efl/e17/terminology_0.9.1.bb b/import-layers/meta-openembedded/meta-efl/recipes-efl/e17/terminology_0.9.1.bb new file mode 100644 index 000000000..482bd60d4 --- /dev/null +++ b/import-layers/meta-openembedded/meta-efl/recipes-efl/e17/terminology_0.9.1.bb @@ -0,0 +1,8 @@ +require ${BPN}.inc + +SRC_URI = "\ + ${E_RELEASES}/apps/${SRCNAME}/${SRCNAME}-${SRCVER}.tar.gz \ +" + +SRC_URI[md5sum] = "c7ce2e8ebc5f311d3d3f59ecfdf18f61" +SRC_URI[sha256sum] = "7fb864a14202490e9181c5f254a7e772019216a3aa75c3952d0f12cd32113896" diff --git a/import-layers/meta-openembedded/meta-efl/recipes-efl/e17/uptime/configure.patch b/import-layers/meta-openembedded/meta-efl/recipes-efl/e17/uptime/configure.patch new file mode 100644 index 000000000..87c85de9f --- /dev/null +++ b/import-layers/meta-openembedded/meta-efl/recipes-efl/e17/uptime/configure.patch @@ -0,0 +1,13 @@ +Index: cpu/configure.ac +=================================================================== +--- cpu.orig/configure.ac 2014-07-17 20:39:48.000000000 +0000 ++++ cpu/configure.ac 2014-07-17 21:39:55.320555868 +0000 +@@ -10,7 +10,7 @@ + AC_CANONICAL_HOST + AC_ISC_POSIX + +-AM_INIT_AUTOMAKE(1.6) ++AM_INIT_AUTOMAKE([foreign]) + AM_CONFIG_HEADER(config.h) + m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])]) + diff --git a/import-layers/meta-openembedded/meta-efl/recipes-efl/e17/uptime_svn.bb b/import-layers/meta-openembedded/meta-efl/recipes-efl/e17/uptime_svn.bb new file mode 100644 index 000000000..5c9bfa9ea --- /dev/null +++ b/import-layers/meta-openembedded/meta-efl/recipes-efl/e17/uptime_svn.bb @@ -0,0 +1,10 @@ +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 + +SRC_URI += "file://configure.patch" diff --git a/import-layers/meta-openembedded/meta-efl/recipes-efl/e17/waker/0001-waker-remove-old-ecore_string_init-and-ecore_string_.patch b/import-layers/meta-openembedded/meta-efl/recipes-efl/e17/waker/0001-waker-remove-old-ecore_string_init-and-ecore_string_.patch new file mode 100644 index 000000000..2e9d1046d --- /dev/null +++ b/import-layers/meta-openembedded/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 <Martin.Jansa@gmail.com> +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 <Martin.Jansa@gmail.com> +--- + 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/import-layers/meta-openembedded/meta-efl/recipes-efl/efl/azy_svn.bb b/import-layers/meta-openembedded/meta-efl/recipes-efl/efl/azy_svn.bb new file mode 100644 index 000000000..dec247516 --- /dev/null +++ b/import-layers/meta-openembedded/meta-efl/recipes-efl/efl/azy_svn.bb @@ -0,0 +1,37 @@ +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_class-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 ${B}/src/bin/lemon ${D}/${bindir}/azy_lemon +} + +inherit efl + +SRC_URI = "${E_SVN}/trunk/PROTO;module=${SRCNAME};protocol=http;scmdata=keep" +S = "${WORKDIR}/${SRCNAME}" + +# azy/2_1.0.0+svnr82070-r2/azy/src/lib/extras/pugixml.cpp:33: +# sysroots/qemuarm/usr/include/c++/5.2.0/bits/basic_string.h:4780:5: error: reference to 'basic_string' is ambiguous +# basic_string<_CharT, _Traits, _Alloc> +# ^ +PNBLACKLIST[azy] ?= "OLD and doesn't build with gcc-5" diff --git a/import-layers/meta-openembedded/meta-efl/recipes-efl/efl/e-wm-illume-dict-pl_git.bb b/import-layers/meta-openembedded/meta-efl/recipes-efl/efl/e-wm-illume-dict-pl_git.bb new file mode 100644 index 000000000..657adcd92 --- /dev/null +++ b/import-layers/meta-openembedded/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/import-layers/meta-openembedded/meta-efl/recipes-efl/efl/ecore/fix-ecore-fb-initialization.patch b/import-layers/meta-openembedded/meta-efl/recipes-efl/efl/ecore/fix-ecore-fb-initialization.patch new file mode 100644 index 000000000..55773a3b9 --- /dev/null +++ b/import-layers/meta-openembedded/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 <Martin.Jansa@gmail.com> +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 <mlauer@vanille-media.de> +Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> +--- + 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/import-layers/meta-openembedded/meta-efl/recipes-efl/efl/edb_svn.bb b/import-layers/meta-openembedded/meta-efl/recipes-efl/efl/edb_svn.bb new file mode 100644 index 000000000..7c6abdaf0 --- /dev/null +++ b/import-layers/meta-openembedded/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/import-layers/meta-openembedded/meta-efl/recipes-efl/efl/edbus.inc b/import-layers/meta-openembedded/meta-efl/recipes-efl/efl/edbus.inc new file mode 100644 index 000000000..03d0ee58d --- /dev/null +++ b/import-layers/meta-openembedded/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/import-layers/meta-openembedded/meta-efl/recipes-efl/efl/edbus_1.7.9.bb b/import-layers/meta-openembedded/meta-efl/recipes-efl/efl/edbus_1.7.9.bb new file mode 100644 index 000000000..64e77e61a --- /dev/null +++ b/import-layers/meta-openembedded/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/import-layers/meta-openembedded/meta-efl/recipes-efl/efl/edje-fpu.inc b/import-layers/meta-openembedded/meta-efl/recipes-efl/efl/edje-fpu.inc new file mode 100644 index 000000000..3f2aacffb --- /dev/null +++ b/import-layers/meta-openembedded/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/import-layers/meta-openembedded/meta-efl/recipes-efl/efl/efl.inc b/import-layers/meta-openembedded/meta-efl/recipes-efl/efl/efl.inc new file mode 100644 index 000000000..31aff8731 --- /dev/null +++ b/import-layers/meta-openembedded/meta-efl/recipes-efl/efl/efl.inc @@ -0,0 +1,287 @@ +SUMMARY = "EFL" +LICENSE = "MIT & BSD & LGPL-2.1" +LIC_FILES_CHKSUM = "file://COPYING;md5=ca7873210523dcfd32694b94286dca60" + +DEPENDS_class-native = "freetype-native libxext-native libpng-native jpeg-native tiff-native libfribidi-native glib-2.0-native dbus-native openssl-native" +DEPENDS = "virtual/libiconv tslib curl glib-2.0 gnutls pkgconfig zlib jpeg openssl libsndfile1 dbus libexif librsvg freetype libpng tiff libxext virtual/libx11 libxdamage libxrender fontconfig libfribidi giflib udev libxcursor libxcomposite libxinerama libxrandr libxtst libxscrnsaver efl-native util-linux libunwind" + +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-aba \ +" +EXTRA_OECONF_append_class-target = " \ + --with-edje-cc=${STAGING_BINDIR_NATIVE}/edje_cc \ + --with-eolian-gen=${STAGING_BINDIR_NATIVE}/eolian_gen \ + --with-eolian-cxx=${STAGING_BINDIR_NATIVE}/eolian_cxx \ + --with-elua=${STAGING_BINDIR_NATIVE}/elua \ +" +EXTRA_OECONF_append_class-native = " \ + --disable-fontconfig \ + --disable-audio \ + --disable-physics \ + --disable-multisense \ + --disable-cserve \ + --disable-libeeze \ + --with-x11=none \ + --disable-image-loader-bmp \ + --disable-image-loader-eet \ + --disable-image-loader-generic \ + --disable-image-loader-gif \ + --disable-image-loader-ico \ + --disable-image-loader-jp2k \ + --disable-image-loader-pmaps \ + --disable-image-loader-psd \ + --disable-image-loader-tga \ + --disable-image-loader-wbmp \ + --disable-image-loader-webp \ + --disable-image-loader-xpm \ + --disable-image-loader-tgv \ + --disable-image-loader-dds \ +" + +PACKAGECONFIG ?= "egl opengl-es gstreamer1 pulseaudio luajit ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'wayland', '', d)}" +PACKAGECONFIG_class-native = "luajit" + +PACKAGECONFIG[wayland] = "--enable-wayland --enable-wayland-ivi-shell,--disable-wayland --disable-wayland-ivi-shell,wayland" +PACKAGECONFIG[egl] = "--enable-egl,--disable-egl,virtual/egl" +# 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,," +# be aware when enabling this for efl-native, we don't provide gcc-native so you need to make +# sure that all your builders have g++ which supports -std=gnu++11 +PACKAGECONFIG[c++11] = "--enable-cxx-bindings,--disable-cxx-bindings" +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" +PACKAGECONFIG[luajit] = "--disable-lua-old,--enable-lua-old,luajit" +PACKAGECONFIG[lua-old] = "--enable-lua-old,--disable-lua-old,lua" +PACKAGECONFIG[avahi] = "--enable-avahi,--disable-avahi,avahi" +# currently we don't provide doxygen-native +PACKAGECONFIG[doc] = "--enable-doc,--disable-doc,doxygen-native" + +do_install_append() { + # don't ship precompiled lua files + rm -f ${datadir}/elua/*/*.luac +} + +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 elua" + +# 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 += "evas-loader-png evas-engine-software-generic evas-engine-fb" +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} \ + ${libdir}/ecore_x/bin/v-*/ecore_x_vsync \ +" +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 \ + ${bindir}/eetpack \ + ${bindir}/vieet \ + ${bindir}/diffeet \ + ${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_elua = " \ + ${bindir}/elua \ + ${datadir}/elua \ +" +FILES_${PN}-dbg += " \ + ${libdir}/efreet/*/.debug \ + ${libdir}/ecore*/*/*/*/.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/import-layers/meta-openembedded/meta-efl/recipes-efl/efl/efl/0001-configure.ac-Don-t-check-for-Xprint-extension.patch b/import-layers/meta-openembedded/meta-efl/recipes-efl/efl/efl/0001-configure.ac-Don-t-check-for-Xprint-extension.patch new file mode 100644 index 000000000..fa85f817e --- /dev/null +++ b/import-layers/meta-openembedded/meta-efl/recipes-efl/efl/efl/0001-configure.ac-Don-t-check-for-Xprint-extension.patch @@ -0,0 +1,27 @@ +From 27aedcdcdafbf079dc022bab72ec309cf7db3172 Mon Sep 17 00:00:00 2001 +From: Martin Jansa <Martin.Jansa@gmail.com> +Date: Fri, 10 Jan 2014 17:07:13 +0100 +Subject: [PATCH 1/3] configure.ac: Don't check for Xprint extension + +* it's long gone + +Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> +--- + configure.ac | 1 - + 1 file changed, 1 deletion(-) + +diff --git a/configure.ac b/configure.ac +index c108b1b..f019bfc 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -3474,7 +3474,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]) +-- +2.3.0 + diff --git a/import-layers/meta-openembedded/meta-efl/recipes-efl/efl/efl/0001-evas_3d-Add-Eet.h-includes.patch b/import-layers/meta-openembedded/meta-efl/recipes-efl/efl/efl/0001-evas_3d-Add-Eet.h-includes.patch new file mode 100644 index 000000000..d0f26c7dd --- /dev/null +++ b/import-layers/meta-openembedded/meta-efl/recipes-efl/efl/efl/0001-evas_3d-Add-Eet.h-includes.patch @@ -0,0 +1,51 @@ +From 2e50fd2dfc68b77e7acddc79550f22987778a897 Mon Sep 17 00:00:00 2001 +From: Martin Jansa <Martin.Jansa@gmail.com> +Date: Tue, 2 Dec 2014 12:21:10 +0100 +Subject: [PATCH] evas_3d: Add Eet.h includes + +* with some very restrictive options like we use in efl-native, the build is complaining + about missing symbols from Eet.h, add include where needed + +Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> +--- + src/lib/evas/canvas/evas_canvas3d_eet.c | 1 + + src/modules/evas/model_loaders/eet/evas_model_load_eet.c | 1 + + src/modules/evas/model_savers/eet/evas_model_save_eet.c | 1 + + 3 files changed, 3 insertions(+) + +diff --git a/src/lib/evas/canvas/evas_canvas3d_eet.c b/src/lib/evas/canvas/evas_canvas3d_eet.c +index 281f69d..a604076 100644 +--- a/src/lib/evas/canvas/evas_canvas3d_eet.c ++++ b/src/lib/evas/canvas/evas_canvas3d_eet.c +@@ -1,3 +1,4 @@ ++#include <Eet.h> + #include <stdio.h> + #include "evas_common_private.h" + #include "evas_private.h" +diff --git a/src/modules/evas/model_loaders/eet/evas_model_load_eet.c b/src/modules/evas/model_loaders/eet/evas_model_load_eet.c +index 803846d..7ebaf8e 100644 +--- a/src/modules/evas/model_loaders/eet/evas_model_load_eet.c ++++ b/src/modules/evas/model_loaders/eet/evas_model_load_eet.c +@@ -3,6 +3,7 @@ + #endif + + #include <Eo.h> ++#include <Eet.h> + #include <stdio.h> + #include "evas_common_private.h" + #include "evas_private.h" +diff --git a/src/modules/evas/model_savers/eet/evas_model_save_eet.c b/src/modules/evas/model_savers/eet/evas_model_save_eet.c +index 71e094a..4d56977 100644 +--- a/src/modules/evas/model_savers/eet/evas_model_save_eet.c ++++ b/src/modules/evas/model_savers/eet/evas_model_save_eet.c +@@ -2,6 +2,7 @@ + #include "config.h" + #endif + ++#include <Eet.h> + #include <stdio.h> + #include "evas_common_private.h" + #include "evas_private.h" +-- +2.5.0 + diff --git a/import-layers/meta-openembedded/meta-efl/recipes-efl/efl/efl/0002-evas_3d-Add-Eet.h-includes.patch b/import-layers/meta-openembedded/meta-efl/recipes-efl/efl/efl/0002-evas_3d-Add-Eet.h-includes.patch new file mode 100644 index 000000000..aa7fd4bf5 --- /dev/null +++ b/import-layers/meta-openembedded/meta-efl/recipes-efl/efl/efl/0002-evas_3d-Add-Eet.h-includes.patch @@ -0,0 +1,51 @@ +From b3cbe31c38a088af7b0dade82545475fc9b72492 Mon Sep 17 00:00:00 2001 +From: Martin Jansa <Martin.Jansa@gmail.com> +Date: Tue, 2 Dec 2014 12:21:10 +0100 +Subject: [PATCH 2/3] evas_3d: Add Eet.h includes + +* with some very restrictive options like we use in efl-native, the build is complaining + about missing symbols from Eet.h, add include where needed + +Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> +--- + src/lib/evas/canvas/evas_3d_eet.c | 1 + + src/modules/evas/model_loaders/eet/evas_model_load_eet.c | 1 + + src/modules/evas/model_savers/eet/evas_model_save_eet.c | 1 + + 3 files changed, 3 insertions(+) + +diff --git a/src/lib/evas/canvas/evas_3d_eet.c b/src/lib/evas/canvas/evas_3d_eet.c +index 1515f5a..a438217 100644 +--- a/src/lib/evas/canvas/evas_3d_eet.c ++++ b/src/lib/evas/canvas/evas_3d_eet.c +@@ -1,3 +1,4 @@ ++#include <Eet.h> + #include <stdio.h> + #include "evas_common_private.h" + #include "evas_private.h" +diff --git a/src/modules/evas/model_loaders/eet/evas_model_load_eet.c b/src/modules/evas/model_loaders/eet/evas_model_load_eet.c +index 815b9f1..bff2cea 100644 +--- a/src/modules/evas/model_loaders/eet/evas_model_load_eet.c ++++ b/src/modules/evas/model_loaders/eet/evas_model_load_eet.c +@@ -3,6 +3,7 @@ + #endif + + #include <Eo.h> ++#include <Eet.h> + #include <stdio.h> + #include "evas_common_private.h" + #include "evas_private.h" +diff --git a/src/modules/evas/model_savers/eet/evas_model_save_eet.c b/src/modules/evas/model_savers/eet/evas_model_save_eet.c +index e445dca..2e1cf4e 100644 +--- a/src/modules/evas/model_savers/eet/evas_model_save_eet.c ++++ b/src/modules/evas/model_savers/eet/evas_model_save_eet.c +@@ -2,6 +2,7 @@ + #include "config.h" + #endif + ++#include <Eet.h> + #include <stdio.h> + #include "evas_common_private.h" + #include "evas_private.h" +-- +2.3.0 + diff --git a/import-layers/meta-openembedded/meta-efl/recipes-efl/efl/efl_1.15.1.bb b/import-layers/meta-openembedded/meta-efl/recipes-efl/efl/efl_1.15.1.bb new file mode 100644 index 000000000..9f18531de --- /dev/null +++ b/import-layers/meta-openembedded/meta-efl/recipes-efl/efl/efl_1.15.1.bb @@ -0,0 +1,29 @@ +require ${BPN}.inc + +SRC_URI = "\ + ${E_RELEASES}/libs/${SRCNAME}/${SRCNAME}-${SRCVER}.tar.gz \ + file://0001-configure.ac-Don-t-check-for-Xprint-extension.patch \ + file://0001-evas_3d-Add-Eet.h-includes.patch \ +" + +SRC_URI[md5sum] = "dc91bcab73275f678e1748a2dea8d88a" +SRC_URI[sha256sum] = "2a6d0ab28020b4741be20b32ad0ffeb8f97f766c5c32175bacc2f2d0dc52f98c" + +# 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 = "" + +#EFL_RUN_IN_TREE=1 ../src/bin/eolian/eolian_gen --eo --legacy -I/OE/build/shr-core/tmp-eglibc/work/x86_64-linux/efl-native/2_1.10.0-r0/efl-1.10.0/src/lib/eo -I/OE/build/shr-core/tmp-eglibc/work/x86_64-linux/efl-native/2_1.10.0-r0/efl-1.10.0/src/lib/evas/canvas -I/OE/build/shr-core/tmp-eglibc/work/x86_64-linux/efl-native/2_1.10.0-r0/efl-1.10.0/src/lib/edje -I/OE/build/shr-core/tmp-eglibc/work/x86_64-linux/efl-native/2_1.10.0-r0/efl-1.10.0/src/lib/ecore_audio --gc -o lib/evas/canvas/evas_line.eo.c /OE/build/shr-core/tmp-eglibc/work/x86_64-linux/efl-native/2_1.10.0-r0/efl-1.10.0/src/lib/evas/canvas/evas_line.eo +#ERR<32439>:eolian_gen /OE/build/shr-core/tmp-eglibc/work/x86_64-linux/efl-native/2_1.10.0-r0/efl-1.10.0/src/bin/eolian/main.c:103 _generate_c_file() Couldnt open file lib/evas/canvas/evas_line.eo.c for writing +#Makefile:30738: recipe for target 'lib/evas/canvas/evas_line.eo.c' failed +#make[2]: *** [lib/evas/canvas/evas_line.eo.c] Error 1 +#Makefile:2163: recipe for target 'all-recursive' failed +# autotools-brokensep +B = "${S}" + +#ld: error: modules/evas/image_loaders/png/bin_evas_evas_cserve2_slave-evas_image_load_png.o: requires unsupported dynamic reloc R_ARM_MOVW_ABS_NC; recompile with -fPIC +#ld: error: modules/evas/image_loaders/png/bin_evas_evas_cserve2_slave-evas_image_load_png.o: requires unsupported dynamic reloc R_ARM_MOVW_ABS_NC; recompile with -fPIC +CFLAGS += "-fPIC" diff --git a/import-layers/meta-openembedded/meta-efl/recipes-efl/efl/elementary-theme-efenniht/LICENSE b/import-layers/meta-openembedded/meta-efl/recipes-efl/efl/elementary-theme-efenniht/LICENSE new file mode 100644 index 000000000..61bb2f603 --- /dev/null +++ b/import-layers/meta-openembedded/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/import-layers/meta-openembedded/meta-efl/recipes-efl/efl/elementary-theme-efenniht_svn.bb b/import-layers/meta-openembedded/meta-efl/recipes-efl/efl/elementary-theme-efenniht_svn.bb new file mode 100644 index 000000000..494e743f5 --- /dev/null +++ b/import-layers/meta-openembedded/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/import-layers/meta-openembedded/meta-efl/recipes-efl/efl/elementary.inc b/import-layers/meta-openembedded/meta-efl/recipes-efl/efl/elementary.inc new file mode 100644 index 000000000..f0a92dfe9 --- /dev/null +++ b/import-layers/meta-openembedded/meta-efl/recipes-efl/efl/elementary.inc @@ -0,0 +1,89 @@ +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 \ + --with-eolian-gen=${STAGING_BINDIR_NATIVE}/eolian_gen \ + --with-eolian-cxx=${STAGING_BINDIR_NATIVE}/eolian_cxx \ +" + +BBCLASSEXTEND = "native" + +PACKAGECONFIG[eweather] = "--enable-eweather,--disable-eweather,libeweather" +PACKAGECONFIG[ewebkit] = "--with-elementary-web-backend=ewebkit,--with-elementary-web-backend=none,webkit-efl" +# be aware when enabling this for efl-native, we don't provide gcc-native so you need to make +# sure that all your builders have g++ which supports -std=gnu++11 +PACKAGECONFIG[c++11] = "--enable-cxx-bindings,--disable-cxx-bindings" + +do_configure_prepend() { + # prefix returned eolian paths with STAGING_DIR_HOST + sed -i 's%^\(DEPS_EOLIAN_FLAGS=`.*\)`$%\1 | sed "s#-I\\${prefix}#-I\\${STAGING_DIR_HOST}\\${prefix}#g"`%g' ${S}/configure.ac +} + +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/import-layers/meta-openembedded/meta-efl/recipes-efl/efl/elementary/0001-Makefile-Use-elementary_codegen-defined-in-configure.patch b/import-layers/meta-openembedded/meta-efl/recipes-efl/efl/elementary/0001-Makefile-Use-elementary_codegen-defined-in-configure.patch new file mode 100644 index 000000000..9524c70d7 --- /dev/null +++ b/import-layers/meta-openembedded/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 <Martin.Jansa@gmail.com> +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 <Martin.Jansa@gmail.com> +--- + 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/import-layers/meta-openembedded/meta-efl/recipes-efl/efl/elementary_1.15.1.bb b/import-layers/meta-openembedded/meta-efl/recipes-efl/efl/elementary_1.15.1.bb new file mode 100644 index 000000000..f53eb44a7 --- /dev/null +++ b/import-layers/meta-openembedded/meta-efl/recipes-efl/efl/elementary_1.15.1.bb @@ -0,0 +1,16 @@ +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] = "bde4d85fa10ee8a7c0aeb74e69d7cd06" +SRC_URI[sha256sum] = "ae5540c2103fcdc69fd7469277ce25a8a00a0f701fc2c20771dc0108401e53a0" + +# autotools-brokensep - configure updates Elementary.h correctly in ${B}, but then build is using Elementary.h from ${S} +# which includes #define ELM_EMAP (instead of #undef ELM_EMAP) and building fails +B = "${S}" diff --git a/import-layers/meta-openembedded/meta-efl/recipes-efl/efl/emotion-generic-players.inc b/import-layers/meta-openembedded/meta-efl/recipes-efl/efl/emotion-generic-players.inc new file mode 100644 index 000000000..4ab89ae32 --- /dev/null +++ b/import-layers/meta-openembedded/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/import-layers/meta-openembedded/meta-efl/recipes-efl/efl/emotion-generic-players_1.15.0.bb b/import-layers/meta-openembedded/meta-efl/recipes-efl/efl/emotion-generic-players_1.15.0.bb new file mode 100644 index 000000000..1a184bd04 --- /dev/null +++ b/import-layers/meta-openembedded/meta-efl/recipes-efl/efl/emotion-generic-players_1.15.0.bb @@ -0,0 +1,8 @@ +require ${BPN}.inc + +SRC_URI = "\ + ${E_RELEASES}/libs/${SRCNAME}/${SRCNAME}-${SRCVER}.tar.gz \ +" + +SRC_URI[md5sum] = "68627c1aabf5b7fe084299adcc0b73c1" +SRC_URI[sha256sum] = "10bad633480a691585b0ba470c573b14da0a010008d9d59d0792cea8c621d423" diff --git a/import-layers/meta-openembedded/meta-efl/recipes-efl/efl/engrave_svn.bb b/import-layers/meta-openembedded/meta-efl/recipes-efl/efl/engrave_svn.bb new file mode 100644 index 000000000..f34be98e0 --- /dev/null +++ b/import-layers/meta-openembedded/meta-efl/recipes-efl/efl/engrave_svn.bb @@ -0,0 +1,15 @@ +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 flex" +PV = "0.0.0+svnr${SRCPV}" +SRCREV = "${EFL_SRCREV}" + +inherit efl autotools-brokensep +SRC_URI = "${E_SVN}/OLD;module=${SRCNAME};protocol=http;scmdata=keep" +S = "${WORKDIR}/${SRCNAME}" + +# engrave.l:5:35: fatal error: libengrave_la-engrave.h: No such file or directory +# http://errors.yoctoproject.org/Errors/Details/56597/ +PNBLACKLIST[engrave] ?= "BROKEN: fails to build with latest oe-core" diff --git a/import-layers/meta-openembedded/meta-efl/recipes-efl/efl/entrance/0001-pam-use-common-auth-instead-of-system-auth.patch b/import-layers/meta-openembedded/meta-efl/recipes-efl/efl/entrance/0001-pam-use-common-auth-instead-of-system-auth.patch new file mode 100644 index 000000000..a82d1ed3c --- /dev/null +++ b/import-layers/meta-openembedded/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 <Martin.Jansa@gmail.com> +Date: Thu, 24 Nov 2011 13:25:33 +0100 +Subject: [PATCH] pam: use common-auth instead of system-auth + +Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> +--- + 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/import-layers/meta-openembedded/meta-efl/recipes-efl/efl/entrance/entrance.service b/import-layers/meta-openembedded/meta-efl/recipes-efl/efl/entrance/entrance.service new file mode 100644 index 000000000..482868695 --- /dev/null +++ b/import-layers/meta-openembedded/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/import-layers/meta-openembedded/meta-efl/recipes-efl/efl/entrance_svn.bb b/import-layers/meta-openembedded/meta-efl/recipes-efl/efl/entrance_svn.bb new file mode 100644 index 000000000..2888dc8dc --- /dev/null +++ b/import-layers/meta-openembedded/meta-efl/recipes-efl/efl/entrance_svn.bb @@ -0,0 +1,43 @@ +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}" + +PNBLACKLIST[entrance] ?= "broken: switch to https://git.enlightenment.org/misc/entrance.git and fix 0.0.4+svnr82070-r7/entrance/data/themes/old/default.edc:678. invalid state name: 'defaault'. "default" state must always be first." + +PACKAGECONFIG ??= "" +PACKAGECONFIG[consolekit] = "--enable-consolekit,--disable-consolekit,consolekit" + +EXTRA_OECONF = "--with-edje-cc=${STAGING_BINDIR_NATIVE}/edje_cc ${@bb.utils.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/import-layers/meta-openembedded/meta-efl/recipes-efl/efl/epdf/0001-remove-antialias-functions-poppler-has-dropped-them-.patch b/import-layers/meta-openembedded/meta-efl/recipes-efl/efl/epdf/0001-remove-antialias-functions-poppler-has-dropped-them-.patch new file mode 100644 index 000000000..728ffa6e3 --- /dev/null +++ b/import-layers/meta-openembedded/meta-efl/recipes-efl/efl/epdf/0001-remove-antialias-functions-poppler-has-dropped-them-.patch @@ -0,0 +1,132 @@ +From 6691ac5fcbac0e766d4410ae649a13957ae85289 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@googlemail.com> +Date: Thu, 22 Oct 2015 16:27:52 +0200 +Subject: [PATCH 1/2] remove antialias functions - poppler has dropped them in + the API +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +The functions removed were not used. + +Upstream-Status: pending + +Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com> +--- + src/lib/epdf_main.h | 45 ----------------------------------- + src/lib/mupdf/epdf_mupdf_main.c | 18 -------------- + src/lib/poppler/epdf_poppler_main.cpp | 21 ---------------- + 3 files changed, 84 deletions(-) + +diff --git a/src/lib/epdf_main.h b/src/lib/epdf_main.h +index 54a57ca..0a79bad 100644 +--- a/src/lib/epdf_main.h ++++ b/src/lib/epdf_main.h +@@ -29,49 +29,4 @@ EAPI int epdf_shutdown(); + */ + EAPI const char *epdf_backend_version_get (void); + +-/** +- * @brief Return the state of fonts antialiasing in Poppler +- * +- * @return EINA_TRUE if fonts antialiasing enabled, EINA_FALSE otherwise. +- * +- * Return EINA_TRUE if the state of fonts antialiasing is enabled in +- * Poppler, EINA_FALSE otherwise. +- * +- * @ingroup Epdf_Main +- */ +-EAPI Eina_Bool epdf_fonts_antialias_get (void); +- +-/** +- * @brief Sets fonts antialiasing mode in Poppler +- * +- * @param on EINA_TRUE to enable fonts antialiasing, EINA_FALSE to disable +- * +- * Set @p on to EINA_TRUE to enable fonts antialiasing in Poppler, +- * EINA_FALSE to disable it. +- */ +-EAPI void epdf_fonts_antialias_set (Eina_Bool on); +- +-/** +- * @brief Return the state of lines antialiasing in Poppler +- * +- * @return EINA_TRUE if lines antialiasing enabled, EINA_FALSE otherwise. +- * +- * Return EINA_TRUE if the state of lines antialiasing is enabled in +- * Poppler, EINA_FALSE otherwise. +- * +- * @ingroup Epdf_Main +- */ +-EAPI Eina_Bool epdf_lines_antialias_get (void); +- +-/** +- * @brief Sets lines antialiasing mode in Poppler +- * +- * @param on EINA_TRUE to enable lines antialiasing, EINA_FALSE to disable +- * +- * Set @p on to EINA_TRUE to enable lines antialiasing in Poppler, +- * EINA_FALSE to disable it. +- */ +-EAPI void epdf_lines_antialias_set (Eina_Bool on); +- +- + #endif /* __EPDF_MAIN_H__ */ +diff --git a/src/lib/mupdf/epdf_mupdf_main.c b/src/lib/mupdf/epdf_mupdf_main.c +index 17bb830..27c6de2 100644 +--- a/src/lib/mupdf/epdf_mupdf_main.c ++++ b/src/lib/mupdf/epdf_mupdf_main.c +@@ -37,21 +37,3 @@ epdf_backend_version_get (void) + { + return "0.5"; + } +- +-Eina_Bool epdf_fonts_antialias_get(void) +-{ +- return EINA_TRUE; +-} +- +-void epdf_fonts_antialias_set(Eina_Bool on) +-{ +-} +- +-Eina_Bool epdf_lines_antialias_get(void) +-{ +- return EINA_TRUE; +-} +- +-void epdf_lines_antialias_set(Eina_Bool on) +-{ +-} +diff --git a/src/lib/poppler/epdf_poppler_main.cpp b/src/lib/poppler/epdf_poppler_main.cpp +index 9841987..9efdbe8 100644 +--- a/src/lib/poppler/epdf_poppler_main.cpp ++++ b/src/lib/poppler/epdf_poppler_main.cpp +@@ -46,24 +46,3 @@ epdf_backend_version_get (void) + { + return POPPLER_VERSION; + } +- +-Eina_Bool epdf_fonts_antialias_get (void) +-{ +- return globalParams->getAntialias(); +-} +- +-void epdf_fonts_antialias_set (Eina_Bool on) +-{ +- /* Nice API */ +- globalParams->setAntialias((char*)(on ? "yes" : "no")); +-} +- +-Eina_Bool epdf_lines_antialias_get (void) +-{ +- return globalParams->getVectorAntialias(); +-} +- +-void epdf_lines_antialias_set (Eina_Bool on) +-{ +- globalParams->setVectorAntialias((char*)(on ? "yes" : "no")); +-} +-- +2.1.0 + diff --git a/import-layers/meta-openembedded/meta-efl/recipes-efl/efl/epdf/0002-epdf_poppler_postscript.cpp-fix-build-for-poppler-AP.patch b/import-layers/meta-openembedded/meta-efl/recipes-efl/efl/epdf/0002-epdf_poppler_postscript.cpp-fix-build-for-poppler-AP.patch new file mode 100644 index 000000000..c9adaa731 --- /dev/null +++ b/import-layers/meta-openembedded/meta-efl/recipes-efl/efl/epdf/0002-epdf_poppler_postscript.cpp-fix-build-for-poppler-AP.patch @@ -0,0 +1,45 @@ +From a84c16fdc606f22b993f870b1cea56dd060a35e6 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@googlemail.com> +Date: Thu, 22 Oct 2015 16:55:30 +0200 +Subject: [PATCH 2/2] epdf_poppler_postscript.cpp: fix build for poppler API + change +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Poppler API was changed in [1]. The patch not only shows the change but also +inspires how to fix. + +[1] http://cgit.freedesktop.org/poppler/poppler/commit/?id=9caf7525409d699c16896653528486451123b485 + +Upstream-Status: Pending + +Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com> +--- + src/lib/poppler/epdf_poppler_postscript.cpp | 7 +++++-- + 1 file changed, 5 insertions(+), 2 deletions(-) + +diff --git a/src/lib/poppler/epdf_poppler_postscript.cpp b/src/lib/poppler/epdf_poppler_postscript.cpp +index 0c2836b..656193b 100644 +--- a/src/lib/poppler/epdf_poppler_postscript.cpp ++++ b/src/lib/poppler/epdf_poppler_postscript.cpp +@@ -82,11 +82,14 @@ epdf_postscript_print (const Epdf_Postscript *postscript) + + // FIXME: fix postscript title + #ifdef HAVE_POPPLER_0_20 ++ std::vector<int> pages; ++ for (int i = postscript->first_page; i <= postscript->last_page; ++i) { ++ pages.push_back(i); ++ } + PSOutputDev ps_dev(postscript->filename, + postscript->pdfdoc, + (char *)"PS title", +- postscript->first_page, +- postscript->last_page, ++ pages, + psModePS, + (int)postscript->width, + (int)postscript->height, +-- +2.1.0 + diff --git a/import-layers/meta-openembedded/meta-efl/recipes-efl/efl/epdf_svn.bb b/import-layers/meta-openembedded/meta-efl/recipes-efl/efl/epdf_svn.bb new file mode 100644 index 000000000..e32a5fdb0 --- /dev/null +++ b/import-layers/meta-openembedded/meta-efl/recipes-efl/efl/epdf_svn.bb @@ -0,0 +1,27 @@ +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 \ + file://0001-remove-antialias-functions-poppler-has-dropped-them-.patch \ + file://0002-epdf_poppler_postscript.cpp-fix-build-for-poppler-AP.patch \ +" +S = "${WORKDIR}/${SRCNAME}" + +EXTRA_OECONF = "\ + --enable-poppler \ + --disable-mupdf \ +" + +# Some upgrade path tweaking, as in evas +AUTO_LIBNAME_PKGS = "" diff --git a/import-layers/meta-openembedded/meta-efl/recipes-efl/efl/evas-generic-loaders.inc b/import-layers/meta-openembedded/meta-efl/recipes-efl/efl/evas-generic-loaders.inc new file mode 100644 index 000000000..5cd9ec188 --- /dev/null +++ b/import-layers/meta-openembedded/meta-efl/recipes-efl/efl/evas-generic-loaders.inc @@ -0,0 +1,71 @@ +DESCRIPTION = "Evas generic loaders" +LICENSE = "GPLv2" +LIC_FILES_CHKSUM = "file://COPYING;md5=a87563ed30add2b0e3460272d3138a00" +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 += "evas-generic-loader-svg" +PACKAGES_DYNAMIC += "^evas-generic-loader-.* ^evas-generic-pdf-loader-.*" diff --git a/import-layers/meta-openembedded/meta-efl/recipes-efl/efl/evas-generic-loaders_1.15.0.bb b/import-layers/meta-openembedded/meta-efl/recipes-efl/efl/evas-generic-loaders_1.15.0.bb new file mode 100644 index 000000000..911ce8ca4 --- /dev/null +++ b/import-layers/meta-openembedded/meta-efl/recipes-efl/efl/evas-generic-loaders_1.15.0.bb @@ -0,0 +1,8 @@ +require ${BPN}.inc + +SRC_URI = "\ + ${E_RELEASES}/libs/${SRCNAME}/${SRCNAME}-${SRCVER}.tar.gz \ +" + +SRC_URI[md5sum] = "3ca8443b8cbf177845595c5e02fbc49c" +SRC_URI[sha256sum] = "caa22c9ba1ae9629c16a3fe809ea927f60b8f0d80cdb7f145159b997b9ae2bcd" diff --git a/import-layers/meta-openembedded/meta-efl/recipes-efl/efl/expedite.inc b/import-layers/meta-openembedded/meta-efl/recipes-efl/efl/expedite.inc new file mode 100644 index 000000000..60e85974c --- /dev/null +++ b/import-layers/meta-openembedded/meta-efl/recipes-efl/efl/expedite.inc @@ -0,0 +1,25 @@ +DESCRIPTION = "Expedite is a comprehensive benchmarking suite for Evas" +DEPENDS = "eet evas libsdl" +LICENSE = "MIT & BSD" +LIC_FILES_CHKSUM = "file://COPYING;md5=d70bc65d46237e4ef386beebe7d0fe5b" + +INC_PR = "r0" + +inherit e + +EXTRA_OECONF = "\ + --x-includes=${STAGING_INCDIR}/X11 \ + --x-libraries=${STAGING_LIBDIR} \ + --enable-simple-x11 \ +\ + --enable-software-x11 \ + --enable-xrender-x11 \ + --enable-software-16-x11 \ + --enable-opengl-x11 \ + --enable-fb \ + --disable-software-ddraw \ + --disable-direct3d \ +" + +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/import-layers/meta-openembedded/meta-efl/recipes-efl/efl/expedite_1.7.9.bb b/import-layers/meta-openembedded/meta-efl/recipes-efl/efl/expedite_1.7.9.bb new file mode 100644 index 000000000..cee2d607b --- /dev/null +++ b/import-layers/meta-openembedded/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/import-layers/meta-openembedded/meta-efl/recipes-efl/efl/expedite_git.bb b/import-layers/meta-openembedded/meta-efl/recipes-efl/efl/expedite_git.bb new file mode 100644 index 000000000..5b44cf039 --- /dev/null +++ b/import-layers/meta-openembedded/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/import-layers/meta-openembedded/meta-efl/recipes-efl/efl/imlib2_git.bb b/import-layers/meta-openembedded/meta-efl/recipes-efl/efl/imlib2_git.bb new file mode 100644 index 000000000..355b3341f --- /dev/null +++ b/import-layers/meta-openembedded/meta-efl/recipes-efl/efl/imlib2_git.bb @@ -0,0 +1,45 @@ +SUMMARY = "A graphic library for file loading, saving, rendering, and manipulation" +LICENSE = "MIT & BSD" +LIC_FILES_CHKSUM = "file://COPYING;md5=344895f253c32f38e182dcaf30fe8a35" + +DEPENDS = "freetype libpng jpeg virtual/libx11 libxext" +PROVIDES = "virtual/imlib2" +PV = "1.4.6+gitr${SRCPV}" +SRCREV = "560a58e61778d84953944f744a025af6ce986334" + +inherit efl binconfig +SRC_URI = "git://git.enlightenment.org/legacy/${BPN}.git" +S = "${WORKDIR}/git" + +# autotools-brokensep +B = "${S}" + +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/import-layers/meta-openembedded/meta-efl/recipes-efl/efl/libeflvala/disable.eina.test.patch b/import-layers/meta-openembedded/meta-efl/recipes-efl/efl/libeflvala/disable.eina.test.patch new file mode 100644 index 000000000..84be133f6 --- /dev/null +++ b/import-layers/meta-openembedded/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 <Martin.Jansa@gmail.com> + +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<string> 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/import-layers/meta-openembedded/meta-efl/recipes-efl/efl/libeflvala_svn.bb b/import-layers/meta-openembedded/meta-efl/recipes-efl/efl/libeflvala_svn.bb new file mode 100644 index 000000000..4922b1b37 --- /dev/null +++ b/import-layers/meta-openembedded/meta-efl/recipes-efl/efl/libeflvala_svn.bb @@ -0,0 +1,21 @@ +SUMMARY = "Vala meets the Enlightenment Foundation Libraries" +AUTHOR = "Michael 'Mickey' Lauer <mlauer@vanille-media.de>" +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-brokensep 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/import-layers/meta-openembedded/meta-efl/recipes-efl/efl/libeweather_svn.bb b/import-layers/meta-openembedded/meta-efl/recipes-efl/efl/libeweather_svn.bb new file mode 100644 index 000000000..eff858617 --- /dev/null +++ b/import-layers/meta-openembedded/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/import-layers/meta-openembedded/meta-efl/recipes-efl/packagegroups/packagegroup-efl-sdk.bb b/import-layers/meta-openembedded/meta-efl/recipes-efl/packagegroups/packagegroup-efl-sdk.bb new file mode 100644 index 000000000..5ead412ef --- /dev/null +++ b/import-layers/meta-openembedded/meta-efl/recipes-efl/packagegroups/packagegroup-efl-sdk.bb @@ -0,0 +1,17 @@ +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}" + +RDEPENDS_${PN} = "\ + packagegroup-core-sdk \ + ${SDK-EFL} \ + ${SDK-EXTRAS}" diff --git a/import-layers/meta-openembedded/meta-efl/recipes-efl/packagegroups/packagegroup-efl-sdk.inc b/import-layers/meta-openembedded/meta-efl/recipes-efl/packagegroups/packagegroup-efl-sdk.inc new file mode 100644 index 000000000..f2b0456d4 --- /dev/null +++ b/import-layers/meta-openembedded/meta-efl/recipes-efl/packagegroups/packagegroup-efl-sdk.inc @@ -0,0 +1,12 @@ +SDK-EFL = " \ + efl-dev \ + elementary-dev \ + edbus-dev \ + luajit-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/import-layers/meta-openembedded/meta-efl/recipes-efl/packagegroups/packagegroup-efl-standalone-sdk-target.bb b/import-layers/meta-openembedded/meta-efl/recipes-efl/packagegroups/packagegroup-efl-standalone-sdk-target.bb new file mode 100644 index 000000000..6a3f33dc6 --- /dev/null +++ b/import-layers/meta-openembedded/meta-efl/recipes-efl/packagegroups/packagegroup-efl-standalone-sdk-target.bb @@ -0,0 +1,17 @@ +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" + +RDEPENDS_${PN} = "\ + packagegroup-core-standalone-sdk-target \ + ${SDK-EFL} \ + ${SDK-EXTRAS}" diff --git a/import-layers/meta-openembedded/meta-efl/recipes-efl/packagegroups/packagegroup-x11-illume.bb b/import-layers/meta-openembedded/meta-efl/recipes-efl/packagegroups/packagegroup-x11-illume.bb new file mode 100644 index 000000000..999782868 --- /dev/null +++ b/import-layers/meta-openembedded/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" + +RRECOMMENDS_${PN} = "\ + ${ETHEME} \ +" + +RDEPENDS_${PN} = "\ + packagegroup-core-x11-xserver \ + packagegroup-core-x11-utils \ + \ + e-wm \ + ${ECONFIG} \ +" diff --git a/import-layers/meta-openembedded/meta-efl/recipes-efl/webkit/webkit-efl.inc b/import-layers/meta-openembedded/meta-efl/recipes-efl/webkit/webkit-efl.inc new file mode 100644 index 000000000..c6ef97612 --- /dev/null +++ b/import-layers/meta-openembedded/meta-efl/recipes-efl/webkit/webkit-efl.inc @@ -0,0 +1,69 @@ +DESCRIPTION = "Webkit browser engine, EFL edition" +LICENSE = "GPLv2+ & LGPL-2.1" +LIC_FILES_CHKSUM = " \ + file://Source/JavaScriptCore/COPYING.LIB;md5=d0c6d6397a5d84286dda758da57bd691 \ + file://Source/WebCore/LICENSE-APPLE;md5=4646f90082c40bcf298c285f8bab0b12 \ + file://Source/WebCore/LICENSE-LGPL-2.1;md5=a778a33ef338abbaf8b8a7c36b6eec80 \ + file://Source/WebCore/LICENSE-LGPL-2;md5=36357ffde2b64ae177b2494445b79d21 \ +" + +# 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 elementary" + +PE = "1" + +SRCVER ?= "${PV}" +SRC_URI = "\ + ${E_RELEASES}/libs/webkit-efl/ewebkit-${SRCVER}.tar.xz \ +" +S = "${WORKDIR}/ewebkit" + +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_x86 = "(.*)" +COMPATIBLE_MACHINE_x86-64 = "(.*)" +COMPATIBLE_MACHINE_armv7a = "(.*)" + +LEAD_SONAME = "libewebkit.so" +PACKAGES =+ "${PN}launcher-dbg ${PN}launcher ${PN}-inspector" + +FILES_${PN} += "${datadir}/ewebkit2-1/themes/default.edj" +FILES_${PN}-dev += "${libdir}/cmake" +FILES_${PN}launcher = "${bindir}/EWebLauncher" +FILES_${PN}launcher-dbg = "${bindir}/.debug/EWebLauncher" +FILES_${PN}-inspector += "${datadir}/ewebkit2-1/inspector" + +# http://errors.yoctoproject.org/Errors/Details/40659/ +PNBLACKLIST[webkit-efl] ?= "Old and unmaintaned fork with many security issues" diff --git a/import-layers/meta-openembedded/meta-efl/recipes-efl/webkit/webkit-efl/0001-OptionsCommon.cmake-don-t-mix-CXX_FLAGS-into-C_FLAGS.patch b/import-layers/meta-openembedded/meta-efl/recipes-efl/webkit/webkit-efl/0001-OptionsCommon.cmake-don-t-mix-CXX_FLAGS-into-C_FLAGS.patch new file mode 100644 index 000000000..19b7bb88d --- /dev/null +++ b/import-layers/meta-openembedded/meta-efl/recipes-efl/webkit/webkit-efl/0001-OptionsCommon.cmake-don-t-mix-CXX_FLAGS-into-C_FLAGS.patch @@ -0,0 +1,46 @@ +From e6caaf6e80b9c80dc2b860b471a8f05e825f6dfa Mon Sep 17 00:00:00 2001 +From: Martin Jansa <Martin.Jansa@gmail.com> +Date: Thu, 14 Aug 2014 01:00:21 +0200 +Subject: [PATCH 1/3] OptionsCommon.cmake: don't mix CXX_FLAGS into C_FLAGS + +* it was added in https://bugs.webkit.org/show_bug.cgi?id=130261 +* causes build failures in udis86 which explicitly asks for gcc but then + gets g++ flags from CMAKE_CXX_FLAGS. + +cc1: error: command line option '-fvisibility-inlines-hidden' is valid +for C++/ObjC++ but not for C [-Werror] +cc1: error: command line option '-fpermissive' is valid for C++/ObjC++ +but not for C [-Werror] +cc1: all warnings being treated as errors +Source/JavaScriptCore/CMakeFiles/JavaScriptCore.dir/build.make:11182: +recipe for target +'Source/JavaScriptCore/CMakeFiles/JavaScriptCore.dir/disassembler/udis86/udis86.c.o' +failed +make[2]: *** +[Source/JavaScriptCore/CMakeFiles/JavaScriptCore.dir/disassembler/udis86/udis86.c.o] +Error 1 +make[2]: *** Waiting for unfinished jobs.... +make[2]: Leaving directory +'/OE/build/oe-core/tmp-eglibc/work/core2-64-oe-linux/webkit-efl/1_1.10.0+1.11.0-beta1-r0/build' + +Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> +--- + Source/cmake/OptionsCommon.cmake | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/Source/cmake/OptionsCommon.cmake b/Source/cmake/OptionsCommon.cmake +index e304a99..045c614 100644 +--- a/Source/cmake/OptionsCommon.cmake ++++ b/Source/cmake/OptionsCommon.cmake +@@ -25,7 +25,7 @@ endif () + set_property(GLOBAL PROPERTY USE_FOLDERS ON) + + if (CMAKE_COMPILER_IS_GNUCXX OR "${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang") +- set(CMAKE_C_FLAGS "${CMAKE_CXX_FLAGS} -fno-exceptions -fno-strict-aliasing") ++ set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fno-exceptions -fno-strict-aliasing") + set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -fno-exceptions -fno-strict-aliasing -fno-rtti") + endif () + +-- +2.1.3 + diff --git a/import-layers/meta-openembedded/meta-efl/recipes-efl/webkit/webkit-efl/0002-WebKitHelpers.cmake-Add-Wno-error-deprecated-declara.patch b/import-layers/meta-openembedded/meta-efl/recipes-efl/webkit/webkit-efl/0002-WebKitHelpers.cmake-Add-Wno-error-deprecated-declara.patch new file mode 100644 index 000000000..627a9e82b --- /dev/null +++ b/import-layers/meta-openembedded/meta-efl/recipes-efl/webkit/webkit-efl/0002-WebKitHelpers.cmake-Add-Wno-error-deprecated-declara.patch @@ -0,0 +1,45 @@ +From de93951f89e851b6689718022eebb4b8b1d14c06 Mon Sep 17 00:00:00 2001 +From: Martin Jansa <Martin.Jansa@gmail.com> +Date: Mon, 13 Jan 2014 17:21:25 +0100 +Subject: [PATCH 2/3] WebKitHelpers.cmake: Add + -Wno-error=deprecated-declarations -Wno-error=cast-align + -Wno-error=type-limits + +Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> +--- + Source/cmake/WebKitHelpers.cmake | 10 ++++++++++ + 1 file changed, 10 insertions(+) + +diff --git a/Source/cmake/WebKitHelpers.cmake b/Source/cmake/WebKitHelpers.cmake +index 227b9ee..ae52ef6 100644 +--- a/Source/cmake/WebKitHelpers.cmake ++++ b/Source/cmake/WebKitHelpers.cmake +@@ -40,6 +40,25 @@ macro(WEBKIT_SET_EXTRA_COMPILER_FLAGS _target) + # 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 -Wno-error=literal-suffix ${OLD_COMPILE_FLAGS}") ++ # libsoup-2.4/libsoup/soup-proxy-uri-resolver.h:13:84: error: 'GType soup_proxy_uri_resolver_get_type()' is deprecated (declared at /OE/build/oe-core/tmp-eglibc/sysroots/qemux86-64/usr/include/libsoup-2.4/libsoup/soup-proxy-uri-resolver.h:48) [-Werror=deprecated-declarations] ++ set(OLD_COMPILE_FLAGS "-Wno-error=deprecated-declarations ${OLD_COMPILE_FLAGS}") ++ # webkit-efl/1_1.10.0+1.11.0-beta1-r0/ewebkit/Source/WTF/wtf/text/StringImpl.h:742:87: error: cast from 'uint8_t* {aka unsigned char*}' to 'WTF::StringImpl**' increases required alignment of target type [-Werror=cast-align] ++ set(OLD_COMPILE_FLAGS "-Wno-error=cast-align ${OLD_COMPILE_FLAGS}") ++ # webkit-efl/1_1.10.0+1.11.0-beta1-r0/ewebkit/Source/WebKit2/Shared/linux/WebMemorySamplerLinux.cpp:70:16: error: comparison is always false due to limited range of data type [-Werror=type-limits] ++ set(OLD_COMPILE_FLAGS "-Wno-error=type-limits ${OLD_COMPILE_FLAGS}") ++ # webkit-efl/1_1.11.0-r0/ewebkit/Source/WebKit2/UIProcess/API/efl/EwkView.cpp:832:5: error: missing initializer for member '_Evas_GL_Config::gles_version' [-Werror=missing-field-initializers] ++ # this one is new with efl-1.12 ++ set(OLD_COMPILE_FLAGS "-Wno-error=missing-field-initializers ${OLD_COMPILE_FLAGS}") ++ # webkit-efl/1_1.11.0-r0/ewebkit/Source/WTF/wtf/dtoa/bignum.cc:105:10: error: assuming signed overflow does not occur when assuming that (X + c) < X is always false [-Werror=strict-overflow] ++ # this one is new with gcc-5.2 ++ set(OLD_COMPILE_FLAGS "-Wno-error=strict-overflow ${OLD_COMPILE_FLAGS}") ++ # webkit-efl/1_1.11.0-r0/ewebkit/Source/WTF/wtf/SaturatedArithmetic.h:46:26: error: suggest parentheses around operand of '!' or change '&' to '&&' or '!' to '~' [-Werror=parentheses] ++ # this one is new with gcc-5.2 ++ set(OLD_COMPILE_FLAGS "-Wno-error=parentheses ${OLD_COMPILE_FLAGS}") ++ # webkit-efl/1_1.11.0-r0/ewebkit/Source/WebCore/loader/cache/CachedScript.cpp:103:108: error: logical not is only applied to the left hand side of comparison [-Werror=logical-not-parentheses] ++ # this one is new with gcc-5.2 ++ set(OLD_COMPILE_FLAGS "-Wno-error=logical-not-parentheses ${OLD_COMPILE_FLAGS}") ++ + endif () + + set_target_properties(${_target} PROPERTIES +-- +2.1.3 + diff --git a/import-layers/meta-openembedded/meta-efl/recipes-efl/webkit/webkit-efl/0003-FEBlendNEON.h-fix-missing-semicolon.patch b/import-layers/meta-openembedded/meta-efl/recipes-efl/webkit/webkit-efl/0003-FEBlendNEON.h-fix-missing-semicolon.patch new file mode 100644 index 000000000..e718ee1c1 --- /dev/null +++ b/import-layers/meta-openembedded/meta-efl/recipes-efl/webkit/webkit-efl/0003-FEBlendNEON.h-fix-missing-semicolon.patch @@ -0,0 +1,35 @@ +From a076d76b8e8862bd641cd991190e82cfd478cc66 Mon Sep 17 00:00:00 2001 +From: Martin Jansa <Martin.Jansa@gmail.com> +Date: Wed, 20 Aug 2014 00:52:03 +0200 +Subject: [PATCH 3/3] FEBlendNEON.h: fix missing semicolon + +* Otherwise fails with: +In file included from ewebkit/Source/WebCore/platform/graphics/filters/FEBlend.cpp:29:0: +ewebkit/Source/WebCore/platform/graphics/cpu/arm/filters/FEBlendNEON.h: In member function 'virtual void WebCore::FEBlend::platformApplySoftware()': +ewebkit/Source/WebCore/platform/graphics/cpu/arm/filters/FEBlendNEON.h:130:5: error: expected primary-expression before '}' token + } + ^ +ewebkit/Source/WebCore/platform/graphics/cpu/arm/filters/FEBlendNEON.h:130:5: error: return-statement with a value, in function returning 'void' [-fpermissive] +ewebkit/Source/WebCore/platform/graphics/cpu/arm/filters/FEBlendNEON.h:130:5: error: expected ';' before '}' token + +Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> +--- + Source/WebCore/platform/graphics/cpu/arm/filters/FEBlendNEON.h | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/Source/WebCore/platform/graphics/cpu/arm/filters/FEBlendNEON.h b/Source/WebCore/platform/graphics/cpu/arm/filters/FEBlendNEON.h +index 1c50765..f4b6f46 100644 +--- a/Source/WebCore/platform/graphics/cpu/arm/filters/FEBlendNEON.h ++++ b/Source/WebCore/platform/graphics/cpu/arm/filters/FEBlendNEON.h +@@ -126,7 +126,7 @@ void FEBlend::platformApplySoftware() + + if (pixelArrayLength >= 8) { + platformApplyNEON(srcPixelArrayA->data(), srcPixelArrayB->data(), dstPixelArray->data(), pixelArrayLength); +- return ++ return; + } + // If there is just one pixel we expand it to two. + ASSERT(pixelArrayLength > 0); +-- +2.1.3 + diff --git a/import-layers/meta-openembedded/meta-efl/recipes-efl/webkit/webkit-efl/0004-Fix-the-build-with-EFL-1.12-https-bugs.webkit.org-sh.patch b/import-layers/meta-openembedded/meta-efl/recipes-efl/webkit/webkit-efl/0004-Fix-the-build-with-EFL-1.12-https-bugs.webkit.org-sh.patch new file mode 100644 index 000000000..bfa3052b1 --- /dev/null +++ b/import-layers/meta-openembedded/meta-efl/recipes-efl/webkit/webkit-efl/0004-Fix-the-build-with-EFL-1.12-https-bugs.webkit.org-sh.patch @@ -0,0 +1,146 @@ +From baebc004111289ef658c78a42f8332f3dceef41e Mon Sep 17 00:00:00 2001 +From: "ryuan.choi@navercorp.com" <ryuan.choi@navercorp.com> +Date: Thu, 13 Nov 2014 07:07:16 +0000 +Subject: [PATCH 4/4] Fix the build with EFL 1.12 + https://bugs.webkit.org/show_bug.cgi?id=138245 + +Reviewed by Gyuyoung Kim. + +Source/WebKit2: + +* UIProcess/API/efl/EwkView.cpp: +First, modified to use Evas_GL raw pointer instead of UniquePtrEfl because +Evas_GL.h can't be included in UniquePtrEfl.h +It should be moved into EvasGLContext because WebKit/EFL use only one Evas_GL. +Second, provided the version of GLES in Evas_GL_Config not to break build with +EFL 1.12 +(EwkView::EwkView): +(EwkView::~EwkView): +(EwkView::displayTimerFired): +(EwkView::createGLSurface): +* UIProcess/API/efl/EwkView.h: + +Source/WTF: + +* wtf/efl/UniquePtrEfl.h: +Removed Evas_GL.h from UniquePtrEfl.h, which is commonly included, because +it should not be included with official GL headers. + +git-svn-id: http://svn.webkit.org/repository/webkit/trunk@176066 268f45cc-cd09-0410-ab3c-d52691b4dbfc +--- + Source/WTF/wtf/efl/UniquePtrEfl.h | 2 -- + Source/WebKit2/UIProcess/API/efl/EwkView.cpp | 24 ++++++++++++++++-------- + Source/WebKit2/UIProcess/API/efl/EwkView.h | 3 ++- + 3 files changed, 18 insertions(+), 11 deletions(-) + +diff --git a/Source/WTF/wtf/efl/UniquePtrEfl.h b/Source/WTF/wtf/efl/UniquePtrEfl.h +index ba0110a..038d3fb 100644 +--- a/Source/WTF/wtf/efl/UniquePtrEfl.h ++++ b/Source/WTF/wtf/efl/UniquePtrEfl.h +@@ -33,7 +33,6 @@ + #include <Ecore_IMF.h> + #include <Eina.h> + #include <Evas.h> +-#include <Evas_GL.h> + + namespace WTF { + +@@ -51,7 +50,6 @@ using EflUniquePtr = std::unique_ptr<T, EflPtrDeleter<T>>; + macro(Eina_Hash, eina_hash_free) \ + macro(Eina_Module, eina_module_free) \ + macro(Evas_Object, evas_object_del) \ +- macro(Evas_GL, evas_gl_free) + + #define WTF_DEFINE_EFLPTR_DELETER(typeName, deleterFunc) \ + template<> struct EflPtrDeleter<typeName> \ +diff --git a/Source/WebKit2/UIProcess/API/efl/EwkView.cpp b/Source/WebKit2/UIProcess/API/efl/EwkView.cpp +index 50d34ed..6ff3394 100755 +--- a/Source/WebKit2/UIProcess/API/efl/EwkView.cpp ++++ b/Source/WebKit2/UIProcess/API/efl/EwkView.cpp +@@ -299,9 +299,11 @@ EwkView::EwkView(WKViewRef view, Evas_Object* evasObject) + + // FIXME: Remove when possible. + static_cast<WebViewEfl*>(webView())->setEwkView(this); +- m_evasGL = EflUniquePtr<Evas_GL>(evas_gl_new(evas_object_evas_get(m_evasObject))); ++ ++ // FIXME: Consider it to move into EvasGLContext. ++ m_evasGL = evas_gl_new(evas_object_evas_get(m_evasObject)); + if (m_evasGL) +- m_evasGLContext = EvasGLContext::create(m_evasGL.get()); ++ m_evasGLContext = EvasGLContext::create(m_evasGL); + + if (!m_evasGLContext) { + WARN("Failed to create Evas_GL, falling back to software mode."); +@@ -333,6 +335,9 @@ EwkView::~EwkView() + { + ASSERT(wkPageToEvasObjectMap().get(wkPage()) == m_evasObject); + wkPageToEvasObjectMap().remove(wkPage()); ++ ++ if (m_evasGL) ++ evas_gl_free(m_evasGL); + } + + EwkView* EwkView::create(WKViewRef webView, Evas* canvas, Evas_Smart* smart) +@@ -587,7 +592,7 @@ void EwkView::displayTimerFired(Timer<EwkView>*) + return; + } + +- evas_gl_make_current(m_evasGL.get(), m_evasGLSurface->surface(), m_evasGLContext->context()); ++ evas_gl_make_current(m_evasGL, m_evasGLSurface->surface(), m_evasGLContext->context()); + + WKViewPaintToCurrentGLContext(wkView()); + +@@ -828,21 +833,24 @@ bool EwkView::createGLSurface() + EVAS_GL_DEPTH_BIT_8, + EVAS_GL_STENCIL_NONE, + EVAS_GL_OPTIONS_NONE, +- EVAS_GL_MULTISAMPLE_NONE ++ EVAS_GL_MULTISAMPLE_NONE, ++#if defined(EVAS_GL_API_VERSION) && EVAS_GL_API_VERSION >= 2 ++ EVAS_GL_GLES_2_X ++#endif + }; + + // Recreate to current size: Replaces if non-null, and frees existing surface after (OwnPtr). +- m_evasGLSurface = EvasGLSurface::create(m_evasGL.get(), &evasGLConfig, deviceSize()); ++ m_evasGLSurface = EvasGLSurface::create(m_evasGL, &evasGLConfig, deviceSize()); + if (!m_evasGLSurface) + return false; + + Evas_Native_Surface nativeSurface; +- evas_gl_native_surface_get(m_evasGL.get(), m_evasGLSurface->surface(), &nativeSurface); ++ evas_gl_native_surface_get(m_evasGL, m_evasGLSurface->surface(), &nativeSurface); + evas_object_image_native_surface_set(smartData()->image, &nativeSurface); + +- evas_gl_make_current(m_evasGL.get(), m_evasGLSurface->surface(), m_evasGLContext->context()); ++ evas_gl_make_current(m_evasGL, m_evasGLSurface->surface(), m_evasGLContext->context()); + +- Evas_GL_API* gl = evas_gl_api_get(m_evasGL.get()); ++ Evas_GL_API* gl = evas_gl_api_get(m_evasGL); + + WKPoint boundsEnd = WKViewUserViewportToScene(wkView(), WKPointMake(deviceSize().width(), deviceSize().height())); + gl->glViewport(0, 0, boundsEnd.x, boundsEnd.y); +diff --git a/Source/WebKit2/UIProcess/API/efl/EwkView.h b/Source/WebKit2/UIProcess/API/efl/EwkView.h +index 1c482cf..68dab87 100644 +--- a/Source/WebKit2/UIProcess/API/efl/EwkView.h ++++ b/Source/WebKit2/UIProcess/API/efl/EwkView.h +@@ -39,6 +39,7 @@ + #endif + + typedef struct _cairo_surface cairo_surface_t; ++typedef struct _Evas_GL Evas_GL; + + namespace WebKit { + class ContextMenuClientEfl; +@@ -241,7 +242,7 @@ private: + Evas_Object* m_evasObject; + RefPtr<EwkContext> m_context; + RefPtr<EwkPageGroup> m_pageGroup; +- EflUniquePtr<Evas_GL> m_evasGL; ++ Evas_GL* m_evasGL; + std::unique_ptr<WebCore::EvasGLContext> m_evasGLContext; + std::unique_ptr<WebCore::EvasGLSurface> m_evasGLSurface; + bool m_pendingSurfaceResize; +-- +2.1.3 + diff --git a/import-layers/meta-openembedded/meta-efl/recipes-efl/webkit/webkit-efl/0005-Fix-the-build-with-cmake-3.patch b/import-layers/meta-openembedded/meta-efl/recipes-efl/webkit/webkit-efl/0005-Fix-the-build-with-cmake-3.patch new file mode 100644 index 000000000..7e8e295c7 --- /dev/null +++ b/import-layers/meta-openembedded/meta-efl/recipes-efl/webkit/webkit-efl/0005-Fix-the-build-with-cmake-3.patch @@ -0,0 +1,104 @@ +From a00a7097b85567ae6eb7a00b3ce7ef021841203c Mon Sep 17 00:00:00 2001 +From: Martin Jansa <Martin.Jansa@gmail.com> +Date: Thu, 24 Sep 2015 18:03:52 +0200 +Subject: [PATCH 5/5] Fix the build with cmake 3 + +* the same issue as in GTK port: + https://bugs.webkit.org/show_bug.cgi?id=141796 + http://trac.webkit.org/changeset/180502 + +* otherwise linking fails with couple undefined symbols +| CMakeFiles/WebKit2.dir/PluginProcess/unix/PluginProcessMainUnix.cpp.o: In function `WebKit::webkitXError(_XDisplay*, XErrorEvent*)': +| ewebkit/Source/WebKit2/PluginProcess/unix/PluginProcessMainUnix.cpp:63: undefined reference to `XGetErrorText' +| CMakeFiles/WebKit2.dir/PluginProcess/unix/PluginProcessMainUnix.cpp.o: In function `WebKit::PluginProcessMain::parseCommandLine(int, char**)': +| ewebkit/Source/WebKit2/PluginProcess/unix/PluginProcessMainUnix.cpp:102: undefined reference to `XSetErrorHandler' +| ewebkit/Source/WebKit2/PluginProcess/unix/PluginProcessMainUnix.cpp:102: undefined reference to `XSetErrorHandler' +| CMakeFiles/WebKit2.dir/WebProcess/efl/WebProcessMainEfl.cpp.o: In function `WebKit::WebProcessMain::platformInitialize()': +| ewebkit/Source/WebKit2/WebProcess/efl/WebProcessMainEfl.cpp:67: undefined reference to `XSetExtensionErrorHandler' +| ewebkit/Source/WebKit2/WebProcess/efl/WebProcessMainEfl.cpp:67: undefined reference to `XSetExtensionErrorHandler' +| CMakeFiles/WebKit2.dir/WebProcess/Plugins/Netscape/x11/NetscapePluginX11.cpp.o: In function `WebKit::NetscapePlugin::platformPostInitializeWindowed(bool, unsigned long)': +| ewebkit/Source/WebKit2/WebProcess/Plugins/Netscape/x11/NetscapePluginX11.cpp:170: undefined reference to `XFlush' +| CMakeFiles/WebKit2.dir/WebProcess/Plugins/Netscape/x11/NetscapePluginX11.cpp.o: In function `WebKit::NetscapePlugin::platformPostInitializeWindowless()': +| ewebkit/Source/WebKit2/WebProcess/Plugins/Netscape/x11/NetscapePluginX11.cpp:195: undefined reference to `XGetVisualInfo' +| ewebkit/Source/WebKit2/WebProcess/Plugins/Netscape/x11/NetscapePluginX11.cpp:199: undefined reference to `XFree' +| ewebkit/Source/WebKit2/WebProcess/Plugins/Netscape/x11/NetscapePluginX11.cpp:202: undefined reference to `XCreateColormap' +| CMakeFiles/WebKit2.dir/WebProcess/Plugins/Netscape/x11/NetscapePluginX11.cpp.o: In function `WebKit::NetscapePlugin::platformDestroy()': +| ewebkit/Source/WebKit2/WebProcess/Plugins/Netscape/x11/NetscapePluginX11.cpp:251: undefined reference to `XFreeColormap' +| ewebkit/Source/WebKit2/WebProcess/Plugins/Netscape/x11/NetscapePluginX11.cpp:255: undefined reference to `XFreePixmap' +| CMakeFiles/WebKit2.dir/WebProcess/Plugins/Netscape/x11/NetscapePluginX11.cpp.o: In function `WebKit::NetscapePlugin::platformGeometryDidChange()': +| ewebkit/Source/WebKit2/WebProcess/Plugins/Netscape/x11/NetscapePluginX11.cpp:293: undefined reference to `XCreatePixmap' +| ewebkit/Source/WebKit2/WebProcess/Plugins/Netscape/x11/NetscapePluginX11.cpp:286: undefined reference to `XFreePixmap' +| ewebkit/Source/WebKit2/WebProcess/Plugins/Netscape/x11/NetscapePluginX11.cpp:295: undefined reference to `XSync' +| CMakeFiles/WebKit2.dir/WebProcess/Plugins/Netscape/x11/NetscapePluginX11.cpp.o: In function `WebKit::NetscapePlugin::platformPaint(WebCore::GraphicsContext*, WebCore::IntRect const&, bool)': +| ewebkit/Source/WebKit2/WebProcess/Plugins/Netscape/x11/NetscapePluginX11.cpp:343: undefined reference to `XSync' +| collect2: error: ld returned 1 exit status +| Source/WebKit2/CMakeFiles/WebKit2.dir/build.make:16145: recipe for target 'lib/libewebkit2.so.1.11.0' failed +| make[2]: *** [lib/libewebkit2.so.1.11.0] Error 1 + +Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> +--- + Source/WebCore/PlatformEfl.cmake | 1 + + Source/WebKit2/PlatformEfl.cmake | 3 +++ + Source/cmake/OptionsEfl.cmake | 1 + + Tools/WebKitTestRunner/PlatformEfl.cmake | 1 + + 4 files changed, 6 insertions(+) + +diff --git a/Source/WebCore/PlatformEfl.cmake b/Source/WebCore/PlatformEfl.cmake +index 41ffc15..63b7861 100644 +--- a/Source/WebCore/PlatformEfl.cmake ++++ b/Source/WebCore/PlatformEfl.cmake +@@ -404,6 +404,7 @@ if (WTF_USE_3D_GRAPHICS) + ) + endif () + ++ find_package(X11 REQUIRED) + list(APPEND WebCore_LIBRARIES + ${X11_X11_LIB} + ) +diff --git a/Source/WebKit2/PlatformEfl.cmake b/Source/WebKit2/PlatformEfl.cmake +index 8c66d1b..d96f0bd 100644 +--- a/Source/WebKit2/PlatformEfl.cmake ++++ b/Source/WebKit2/PlatformEfl.cmake +@@ -331,12 +331,15 @@ if (ENABLE_SECCOMP_FILTERS) + endif () + + if (ENABLE_ECORE_X) ++ find_package(X11 REQUIRED) + list(APPEND WebProcess_LIBRARIES + ${ECORE_X_LIBRARIES} + ${X11_Xext_LIB} + ) + list(APPEND WebKit2_LIBRARIES + ${ECORE_X_LIBRARIES} ++ ${X11_X11_LIB} ++ ${X11_Xext_LIB} + ) + endif () + +diff --git a/Source/cmake/OptionsEfl.cmake b/Source/cmake/OptionsEfl.cmake +index 8585f19..1aa9002 100644 +--- a/Source/cmake/OptionsEfl.cmake ++++ b/Source/cmake/OptionsEfl.cmake +@@ -181,6 +181,7 @@ endif () + + if (WTF_OS_UNIX) + set(ENABLE_X11_TARGET ON) ++ find_package(X11 REQUIRED) + add_definitions(-DXP_UNIX) + endif (WTF_OS_UNIX) + +diff --git a/Tools/WebKitTestRunner/PlatformEfl.cmake b/Tools/WebKitTestRunner/PlatformEfl.cmake +index 1873279..a905f2a 100644 +--- a/Tools/WebKitTestRunner/PlatformEfl.cmake ++++ b/Tools/WebKitTestRunner/PlatformEfl.cmake +@@ -53,6 +53,7 @@ list(APPEND WebKitTestRunnerInjectedBundle_LIBRARIES + ) + + if (ENABLE_ECORE_X) ++ find_package(X11 REQUIRED) + list(APPEND WebKitTestRunner_INCLUDE_DIRECTORIES + ${ECORE_X_INCLUDE_DIRS} + ) +-- +2.6.0 + diff --git a/import-layers/meta-openembedded/meta-efl/recipes-efl/webkit/webkit-efl/0006-OptionsEfl.cmake-Fix-build-with-newer-CMake-3.4.patch b/import-layers/meta-openembedded/meta-efl/recipes-efl/webkit/webkit-efl/0006-OptionsEfl.cmake-Fix-build-with-newer-CMake-3.4.patch new file mode 100644 index 000000000..05626349b --- /dev/null +++ b/import-layers/meta-openembedded/meta-efl/recipes-efl/webkit/webkit-efl/0006-OptionsEfl.cmake-Fix-build-with-newer-CMake-3.4.patch @@ -0,0 +1,30 @@ +From 993882f81fe991b8baf1099392703337cc13fac0 Mon Sep 17 00:00:00 2001 +From: Martin Jansa <Martin.Jansa@gmail.com> +Date: Wed, 27 Jan 2016 18:40:23 +0100 +Subject: [PATCH] OptionsEfl.cmake: Fix build with newer CMake 3.4 + +* otherwise it fails with: + | CMake Error at Source/cmake/OptionsEfl.cmake:251 (CHECK_INCLUDE_FILES): + | Unknown CMake command "CHECK_INCLUDE_FILES". +* https://bugs.webkit.org/show_bug.cgi?id=150117 + +Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> +--- + Source/cmake/OptionsEfl.cmake | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/Source/cmake/OptionsEfl.cmake b/Source/cmake/OptionsEfl.cmake +index 1aa9002..05216d0 100644 +--- a/Source/cmake/OptionsEfl.cmake ++++ b/Source/cmake/OptionsEfl.cmake +@@ -253,6 +253,7 @@ if (ENABLE_WEBGL OR WTF_USE_TILED_BACKING_STORE) + set(WTF_USE_EGL 1) + add_definitions(-DWTF_USE_EGL=1) + else () ++ include(CheckIncludeFiles) + CHECK_INCLUDE_FILES("GL/glx.h" OPENGLX_FOUND) + add_definitions(-DWTF_USE_GLX=1) + endif () +-- +2.7.0 + diff --git a/import-layers/meta-openembedded/meta-efl/recipes-efl/webkit/webkit-efl_1.11.0.bb b/import-layers/meta-openembedded/meta-efl/recipes-efl/webkit/webkit-efl_1.11.0.bb new file mode 100644 index 000000000..96ad83029 --- /dev/null +++ b/import-layers/meta-openembedded/meta-efl/recipes-efl/webkit/webkit-efl_1.11.0.bb @@ -0,0 +1,12 @@ +require ${BPN}.inc + +SRC_URI += "\ + file://0001-OptionsCommon.cmake-don-t-mix-CXX_FLAGS-into-C_FLAGS.patch \ + file://0002-WebKitHelpers.cmake-Add-Wno-error-deprecated-declara.patch \ + file://0003-FEBlendNEON.h-fix-missing-semicolon.patch \ + file://0004-Fix-the-build-with-EFL-1.12-https-bugs.webkit.org-sh.patch \ + file://0005-Fix-the-build-with-cmake-3.patch \ + file://0006-OptionsEfl.cmake-Fix-build-with-newer-CMake-3.4.patch \ +" +SRC_URI[md5sum] = "90fa970ebf8646319d292c2bb5bff5db" +SRC_URI[sha256sum] = "d8d21e27f4a21cd77c41914548c184ddb98693ba23851aa66c8e51c0be4b90b7" diff --git a/import-layers/meta-openembedded/meta-efl/recipes-multimedia/lightmediascanner/files/id3-plugin-support-out-of-tree-build.patch b/import-layers/meta-openembedded/meta-efl/recipes-multimedia/lightmediascanner/files/id3-plugin-support-out-of-tree-build.patch new file mode 100644 index 000000000..9528bec79 --- /dev/null +++ b/import-layers/meta-openembedded/meta-efl/recipes-multimedia/lightmediascanner/files/id3-plugin-support-out-of-tree-build.patch @@ -0,0 +1,11 @@ +--- a/src/plugins/Makefile.am 2015-10-25 16:12:29.331415823 +0000 ++++ b/src/plugins/Makefile.am 2015-10-25 16:14:37.593415808 +0000 +@@ -93,7 +93,7 @@ + id3_id3_la_SOURCES = id3/id3.c id3/id3v1_genres.c + id3_id3_la_LIBADD = $(PLUGINS_LIBADD) + +-id3/id3v1_genres.c: $(srcdir)/id3/id3v1_genres.def $(srcdir)/id3/id3v1_genres_gen.awk ++$(srcdir)/id3/id3v1_genres.c: $(srcdir)/id3/id3v1_genres.def $(srcdir)/id3/id3v1_genres_gen.awk + $(AWK) -f $(srcdir)/id3/id3v1_genres_gen.awk $(srcdir)/id3/id3v1_genres.def > $@ + + EXTRA_DIST += id3/id3v1_genres.def id3/id3v1_genres_gen.awk diff --git a/import-layers/meta-openembedded/meta-efl/recipes-multimedia/lightmediascanner/lightmediascanner_0.5.1.bb b/import-layers/meta-openembedded/meta-efl/recipes-multimedia/lightmediascanner/lightmediascanner_0.5.1.bb new file mode 100644 index 000000000..9870fac3d --- /dev/null +++ b/import-layers/meta-openembedded/meta-efl/recipes-multimedia/lightmediascanner/lightmediascanner_0.5.1.bb @@ -0,0 +1,62 @@ +SUMMARY = "Lightweight media scanner" +DESCRIPTION = "Lightweight media scanner meant to be used in not-so-powerful devices, like embedded systems or old machines." +SECTION = "libs/multimedia" + +LICENSE = "LGPLv2.1+" +LIC_FILES_CHKSUM = "file://COPYING;md5=a6f89e2100d9b6cdffcea4f398e37343 \ + file://src/lib/lightmediascanner.c;endline=21;md5=6d8889bccb4c6c27e8b786342a3eb267" + +DEPENDS = "file gawk glib-2.0 sqlite3" + +PV = "0.5.1+git${SRCPV}" +SRCREV = "adfddb3486276a5ed2f5008c9e43a811e1271cc9" +SRC_URI = "git://github.com/profusion/lightmediascanner.git \ + file://id3-plugin-support-out-of-tree-build.patch \ + " + +S = "${WORKDIR}/git" + +inherit autotools pkgconfig + +EXTRA_OECONF = "--enable-static --disable-mp4" + +PACKAGECONFIG ??= "ogg flac wave id3 m3u pls asf rm jpeg png" +PACKAGECONFIG[generic] = "--enable-generic,--disable-generic,libav" +PACKAGECONFIG[ogg] = "--enable-ogg,--disable-ogg,libogg libvorbis libtheora" +PACKAGECONFIG[flac] = "--enable-flac,--disable-flac,flac" +PACKAGECONFIG[wave] = "--enable-wave,--disable-wave" +PACKAGECONFIG[id3] = "--enable-id3,--disable-id3" +PACKAGECONFIG[m3u] = "--enable-m3u,--disable-m3u" +PACKAGECONFIG[pls] = "--enable-pls,--disable-pls" +PACKAGECONFIG[asf] = "--enable-asf,--disable-asf" +PACKAGECONFIG[rm] = "--enable-rm,--disable-rm" +PACKAGECONFIG[jpeg] = "--enable-jpeg,--disable-jpeg" +PACKAGECONFIG[png] = "--enable-png,--disable-png" + +do_install_append() { + # Install "test" binary for corresponding package + install -d ${D}/${bindir} + install -m 755 ${B}/src/bin/.libs/test ${D}/${bindir}/test-lms + # Remove .la files for loadable modules + rm -f ${D}/${libdir}/${PN}/plugins/*.la +} + +FILES_${PN} += "${datadir}/dbus-1" +FILES_${PN}-dbg += "${libdir}/${PN}/plugins/.debug" + +PACKAGES_prepend = "${PN}-test " +FILES_${PN}-test_prepend = "${bindir}/test-lms " + +PACKAGES += "${PN}-meta" +ALLOW_EMPTY_${PN}-meta = "1" + +PACKAGES_DYNAMIC = "${PN}-plugin-*" + +python populate_packages_prepend () { + lms_libdir = d.expand('${libdir}/${PN}') + pkgs = [] + + pkgs += do_split_packages(d, oe.path.join(lms_libdir, "plugins"), '^(.*)\.so$', d.expand('${PN}-plugin-%s'), 'LightMediaScanner plugin for %s', prepend=True, extra_depends=d.expand('${PN}')) + metapkg = d.getVar('PN', True) + '-meta' + d.setVar('RDEPENDS_' + metapkg, ' '.join(pkgs)) +} diff --git a/import-layers/meta-openembedded/meta-efl/recipes-navigation/mcnavi/mcnavi_0.3.4.bb b/import-layers/meta-openembedded/meta-efl/recipes-navigation/mcnavi/mcnavi_0.3.4.bb new file mode 100644 index 000000000..2b5722b47 --- /dev/null +++ b/import-layers/meta-openembedded/meta-efl/recipes-navigation/mcnavi/mcnavi_0.3.4.bb @@ -0,0 +1,19 @@ +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 intltool-native" + +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 + +PNBLACKLIST[mcnavi] ?= "BROKEN: latest version 0.3.4 is 3 years old and now broken with more strict ejde_cc from efl-1.13" +# | edje_cc: Error. parse error 0.3.4-r0/mcnavi/data/themes/Default/main.edc:126. invalid state name: 'none'. "default" state must always be first. +# | edje_cc: Error. parse error 0.3.4-r0/mcnavi/data/themes/Default/itinerary.edc:84. invalid state name: 'none'. "default" state must always be first. +# | edje_cc: Error. parse error 0.3.4-r0/mcnavi/data/themes/Default/text.edc:1129. invalid state name: 'none'. "default" state must always be first. +# | edje_cc: Error. parse error 0.3.4-r0/mcnavi/data/themes/Default/fileopen.edc:78. invalid state name: 'off'. "default" state must always be first. |