From bc68929ceaa163e27d8e9860e2f816065c14d0fa Mon Sep 17 00:00:00 2001 From: Michael 'Mickey' Lauer Date: Thu, 11 Feb 2010 02:23:29 +0100 Subject: libeflvala: has moved from FSO git to EFL svn --- recipes/efl1/libeflvala_git.bb | 15 --------------- recipes/efl1/libeflvala_svn.bb | 15 +++++++++++++++ 2 files changed, 15 insertions(+), 15 deletions(-) delete mode 100644 recipes/efl1/libeflvala_git.bb create mode 100644 recipes/efl1/libeflvala_svn.bb (limited to 'recipes/efl1') diff --git a/recipes/efl1/libeflvala_git.bb b/recipes/efl1/libeflvala_git.bb deleted file mode 100644 index 9040bbd10a..0000000000 --- a/recipes/efl1/libeflvala_git.bb +++ /dev/null @@ -1,15 +0,0 @@ -DESCRIPTION = "Vala meets the Enlightenment Foundation Libraries" -AUTHOR = "Michael 'Mickey' Lauer " -LICENSE = "LGPL" -SECTION = "devel" -DEPENDS = "vala-native glib-2.0 dbus dbus-glib eina eet evas ecore edje elementary" -PV = "0.0.1.0+gitr${SRCREV}" -PR = "r0" - -SRC_URI = "${FREESMARTPHONE_GIT}/libeflvala;protocol=git;branch=master" -S = "${WORKDIR}/git" - -inherit autotools_stage pkgconfig vala - -PACKAGES =+ "${PN}-examples" -FILES_${PN}-examples = "${datadir}/libeflvala ${bindir}/*" diff --git a/recipes/efl1/libeflvala_svn.bb b/recipes/efl1/libeflvala_svn.bb new file mode 100644 index 0000000000..cbb6887ffb --- /dev/null +++ b/recipes/efl1/libeflvala_svn.bb @@ -0,0 +1,15 @@ +DESCRIPTION = "Vala meets the Enlightenment Foundation Libraries" +AUTHOR = "Michael 'Mickey' Lauer " +LICENSE = "LGPL" +SECTION = "devel" +DEPENDS = "vala-native glib-2.0 dbus dbus-glib eina eet evas ecore edje elementary" +PV = "0.5.0+svnr${SRCREV}" +PR = "r0" + +SRC_URI = "svn://svn.enlightenment.org/svn/e/trunk/BINDINGS;module=vala;proto=http" +S = "${WORKDIR}/vala" + +inherit autotools_stage pkgconfig vala + +PACKAGES =+ "${PN}-examples" +FILES_${PN}-examples = "${datadir}/libeflvala ${bindir}/*" -- cgit v1.2.3 From 063157b0168f590858ee2ae4f169f44deb06ca91 Mon Sep 17 00:00:00 2001 From: Martin Jansa Date: Thu, 11 Feb 2010 09:36:01 +0100 Subject: libeflvala: SRCREV->SRCPV is safe with svn recipes --- recipes/efl1/libeflvala_svn.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'recipes/efl1') diff --git a/recipes/efl1/libeflvala_svn.bb b/recipes/efl1/libeflvala_svn.bb index cbb6887ffb..8793857df5 100644 --- a/recipes/efl1/libeflvala_svn.bb +++ b/recipes/efl1/libeflvala_svn.bb @@ -3,7 +3,7 @@ AUTHOR = "Michael 'Mickey' Lauer " LICENSE = "LGPL" SECTION = "devel" DEPENDS = "vala-native glib-2.0 dbus dbus-glib eina eet evas ecore edje elementary" -PV = "0.5.0+svnr${SRCREV}" +PV = "0.5.0+svnr${SRCPV}" PR = "r0" SRC_URI = "svn://svn.enlightenment.org/svn/e/trunk/BINDINGS;module=vala;proto=http" -- cgit v1.2.3 From 16106219a622bcfe1f63c9b57d44e28970563133 Mon Sep 17 00:00:00 2001 From: Martin Jansa Date: Thu, 11 Feb 2010 12:20:58 +0100 Subject: EFL: some packages were moved from trunk/OLD to OLD, update SRC_URI Signed-off-by: Martin Jansa --- recipes/efl1/edb_svn.bb | 2 +- recipes/efl1/epeg_svn.bb | 2 +- recipes/efl1/epsilon_svn.bb | 2 +- recipes/efl1/etk_svn.bb | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) (limited to 'recipes/efl1') diff --git a/recipes/efl1/edb_svn.bb b/recipes/efl1/edb_svn.bb index 06d1cf7ed2..ec642781dd 100644 --- a/recipes/efl1/edb_svn.bb +++ b/recipes/efl1/edb_svn.bb @@ -6,4 +6,4 @@ PR = "r1" inherit efl -SRC_URI = "svn://svn.enlightenment.org/svn/e/trunk/OLD;module=edb;proto=http" +SRC_URI = "svn://svn.enlightenment.org/svn/e/OLD;module=edb;proto=http" diff --git a/recipes/efl1/epeg_svn.bb b/recipes/efl1/epeg_svn.bb index dac7284013..3b97262ce7 100644 --- a/recipes/efl1/epeg_svn.bb +++ b/recipes/efl1/epeg_svn.bb @@ -6,4 +6,4 @@ PR = "r2" inherit efl -SRC_URI = "svn://svn.enlightenment.org/svn/e/trunk/OLD;module=epeg;proto=http" +SRC_URI = "svn://svn.enlightenment.org/svn/e/OLD;module=epeg;proto=http" diff --git a/recipes/efl1/epsilon_svn.bb b/recipes/efl1/epsilon_svn.bb index b08e7afc1e..991c35e8ab 100644 --- a/recipes/efl1/epsilon_svn.bb +++ b/recipes/efl1/epsilon_svn.bb @@ -8,7 +8,7 @@ PR = "r4" inherit efl -SRC_URI = "svn://svn.enlightenment.org/svn/e/trunk/OLD;module=${SRCNAME};proto=http" +SRC_URI = "svn://svn.enlightenment.org/svn/e/OLD;module=${SRCNAME};proto=http" # a gstreamer thumbnailer would be nice now that we have emotion using gstreamer as well EXTRA_OECONF = "--disable-xine" diff --git a/recipes/efl1/etk_svn.bb b/recipes/efl1/etk_svn.bb index bb3e4a14c8..6deb2c00a3 100644 --- a/recipes/efl1/etk_svn.bb +++ b/recipes/efl1/etk_svn.bb @@ -6,7 +6,7 @@ PR = "r5" inherit efl -SRC_URI = "svn://svn.enlightenment.org/svn/e/trunk/OLD;module=${SRCNAME};proto=http \ +SRC_URI = "svn://svn.enlightenment.org/svn/e/OLD;module=${SRCNAME};proto=http \ file://mkinstalldirs" RRECOMMENDS_${PN} = "\ -- cgit v1.2.3 From 62d5022fe2602d7610d99ec4296727fbc9a3b066 Mon Sep 17 00:00:00 2001 From: Martin Jansa Date: Thu, 11 Feb 2010 13:28:22 +0100 Subject: epsilon: add ecore_data to compile latest epsilon Signed-off-by: Martin Jansa --- recipes/efl1/epsilon/add.ecore.to.depends.patch | 20 ++++++++++++++++++++ recipes/efl1/epsilon_svn.bb | 3 ++- 2 files changed, 22 insertions(+), 1 deletion(-) create mode 100644 recipes/efl1/epsilon/add.ecore.to.depends.patch (limited to 'recipes/efl1') diff --git a/recipes/efl1/epsilon/add.ecore.to.depends.patch b/recipes/efl1/epsilon/add.ecore.to.depends.patch new file mode 100644 index 0000000000..1e0b99bc3b --- /dev/null +++ b/recipes/efl1/epsilon/add.ecore.to.depends.patch @@ -0,0 +1,20 @@ +diff -uNr epsilon.orig/configure.ac epsilon/configure.ac +--- epsilon.orig/configure.ac 2010-02-11 13:17:14.000000000 +0100 ++++ epsilon/configure.ac 2010-02-11 13:16:53.000000000 +0100 +@@ -31,6 +31,7 @@ + ecore-evas >= 0.9.9 + ecore-file >= 0.9.9 + ecore-ipc >= 0.9.9 ++ ecore-data >= 0.9.9 + ] + ) + +@@ -78,7 +79,7 @@ + fi + AM_CONDITIONAL(HAVE_XINE, test $xine = "xine") + +-requirements="evas ecore-evas ecore-file ecore-ipc edje" ++requirements="evas ecore-evas ecore-file ecore-ipc ecore-data edje" + AC_SUBST(requirements) + + ##################################################################### diff --git a/recipes/efl1/epsilon_svn.bb b/recipes/efl1/epsilon_svn.bb index 991c35e8ab..6f6b842104 100644 --- a/recipes/efl1/epsilon_svn.bb +++ b/recipes/efl1/epsilon_svn.bb @@ -8,7 +8,8 @@ PR = "r4" inherit efl -SRC_URI = "svn://svn.enlightenment.org/svn/e/OLD;module=${SRCNAME};proto=http" +SRC_URI = "svn://svn.enlightenment.org/svn/e/OLD;module=${SRCNAME};proto=http \ + file://add.ecore.to.depends.patch;patch=1" # a gstreamer thumbnailer would be nice now that we have emotion using gstreamer as well EXTRA_OECONF = "--disable-xine" -- cgit v1.2.3 From 79b6c7fe7bebd64e28bff9c5e3b46aaec174777d Mon Sep 17 00:00:00 2001 From: Martin Jansa Date: Fri, 12 Feb 2010 11:34:31 +0100 Subject: EFL: bump SRCREV a bit, remove applied patch Signed-off-by: Martin Jansa --- recipes/efl1/epsilon/add.ecore.to.depends.patch | 20 -------------------- recipes/efl1/epsilon_svn.bb | 3 +-- 2 files changed, 1 insertion(+), 22 deletions(-) delete mode 100644 recipes/efl1/epsilon/add.ecore.to.depends.patch (limited to 'recipes/efl1') diff --git a/recipes/efl1/epsilon/add.ecore.to.depends.patch b/recipes/efl1/epsilon/add.ecore.to.depends.patch deleted file mode 100644 index 1e0b99bc3b..0000000000 --- a/recipes/efl1/epsilon/add.ecore.to.depends.patch +++ /dev/null @@ -1,20 +0,0 @@ -diff -uNr epsilon.orig/configure.ac epsilon/configure.ac ---- epsilon.orig/configure.ac 2010-02-11 13:17:14.000000000 +0100 -+++ epsilon/configure.ac 2010-02-11 13:16:53.000000000 +0100 -@@ -31,6 +31,7 @@ - ecore-evas >= 0.9.9 - ecore-file >= 0.9.9 - ecore-ipc >= 0.9.9 -+ ecore-data >= 0.9.9 - ] - ) - -@@ -78,7 +79,7 @@ - fi - AM_CONDITIONAL(HAVE_XINE, test $xine = "xine") - --requirements="evas ecore-evas ecore-file ecore-ipc edje" -+requirements="evas ecore-evas ecore-file ecore-ipc ecore-data edje" - AC_SUBST(requirements) - - ##################################################################### diff --git a/recipes/efl1/epsilon_svn.bb b/recipes/efl1/epsilon_svn.bb index 6f6b842104..991c35e8ab 100644 --- a/recipes/efl1/epsilon_svn.bb +++ b/recipes/efl1/epsilon_svn.bb @@ -8,8 +8,7 @@ PR = "r4" inherit efl -SRC_URI = "svn://svn.enlightenment.org/svn/e/OLD;module=${SRCNAME};proto=http \ - file://add.ecore.to.depends.patch;patch=1" +SRC_URI = "svn://svn.enlightenment.org/svn/e/OLD;module=${SRCNAME};proto=http" # a gstreamer thumbnailer would be nice now that we have emotion using gstreamer as well EXTRA_OECONF = "--disable-xine" -- cgit v1.2.3 From 4f499f5ed9139cc9a0ef1a01bb988246cacc533c Mon Sep 17 00:00:00 2001 From: Martin Jansa Date: Wed, 3 Mar 2010 09:49:10 +0100 Subject: efreet: include efreet_desktop_cache_create in main package, because it's needed for e-wm start * Without it will fail with: ESTART: 0.34227 [0.00036] - efreet sh: /usr/bin/efreet_desktop_cache_create: not found <<<< Enlightenment Error >>>> Enlightenment cannot initialize the FDO desktop system. Perhaps you are out of memory? E17: Begin shutdown procedure! Signed-off-by: Martin Jansa --- recipes/efl1/efreet_svn.bb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'recipes/efl1') diff --git a/recipes/efl1/efreet_svn.bb b/recipes/efl1/efreet_svn.bb index 0d0bcdf329..ae442eefd3 100644 --- a/recipes/efl1/efreet_svn.bb +++ b/recipes/efl1/efreet_svn.bb @@ -2,10 +2,13 @@ DESCRIPTION = "The Enlightenment freedesktop.org library" DEPENDS = "ecore" LICENSE = "MIT BSD" PV = "0.5.0.060+svnr${SRCPV}" -PR = "r1" +PR = "r2" inherit efl PACKAGES =+ "${PN}-mime ${PN}-trash" FILES_${PN}-mime = "${libdir}/libefreet_mime.so.*" FILES_${PN}-trash = "${libdir}/libefreet_trash.so.*" + +# efreet_desktop_cache_create is needed for e-wm start, don't include it in -tests +FILES_${PN} += "${bindir}/efreet_desktop_cache_create" -- cgit v1.2.3 From 1a037cc05da35944994498b99583314c7e3c706b Mon Sep 17 00:00:00 2001 From: Martin Jansa Date: Thu, 11 Mar 2010 09:45:17 +0100 Subject: ecore: split exit_uclibc patch, as one part needs maxrev=47076 * ecore_con_dns.c was removed in r47077 Signed-off-by: Martin Jansa --- recipes/efl1/ecore/exit_uclibc.patch | 13 ------------- recipes/efl1/ecore/exit_uclibc_dns.patch | 13 +++++++++++++ recipes/efl1/ecore_svn.bb | 1 + 3 files changed, 14 insertions(+), 13 deletions(-) create mode 100644 recipes/efl1/ecore/exit_uclibc_dns.patch (limited to 'recipes/efl1') diff --git a/recipes/efl1/ecore/exit_uclibc.patch b/recipes/efl1/ecore/exit_uclibc.patch index dea010c116..105aeedcb1 100644 --- a/recipes/efl1/ecore/exit_uclibc.patch +++ b/recipes/efl1/ecore/exit_uclibc.patch @@ -1,16 +1,3 @@ -Index: ecore/src/lib/ecore_con/ecore_con_dns.c -=================================================================== ---- ecore.orig/src/lib/ecore_con/ecore_con_dns.c 2009-11-14 00:12:04.279051754 +0100 -+++ ecore/src/lib/ecore_con/ecore_con_dns.c 2009-11-14 00:14:41.685708230 +0100 -@@ -135,7 +135,7 @@ - write(fd[1], "", 1); - } - close(fd[1]); --# ifdef __USE_ISOC99 -+# if defined(__USE_ISOC99) && !defined(__UCLIBC__) - _Exit(0); - # else - _exit(0); Index: ecore/src/lib/ecore_con/ecore_con_info.c =================================================================== --- ecore.orig/src/lib/ecore_con/ecore_con_info.c 2009-11-14 00:14:56.056955719 +0100 diff --git a/recipes/efl1/ecore/exit_uclibc_dns.patch b/recipes/efl1/ecore/exit_uclibc_dns.patch new file mode 100644 index 0000000000..0be2d3d6c0 --- /dev/null +++ b/recipes/efl1/ecore/exit_uclibc_dns.patch @@ -0,0 +1,13 @@ +Index: ecore/src/lib/ecore_con/ecore_con_dns.c +=================================================================== +--- ecore.orig/src/lib/ecore_con/ecore_con_dns.c 2009-11-14 00:12:04.279051754 +0100 ++++ ecore/src/lib/ecore_con/ecore_con_dns.c 2009-11-14 00:14:41.685708230 +0100 +@@ -135,7 +135,7 @@ + write(fd[1], "", 1); + } + close(fd[1]); +-# ifdef __USE_ISOC99 ++# if defined(__USE_ISOC99) && !defined(__UCLIBC__) + _Exit(0); + # else + _exit(0); diff --git a/recipes/efl1/ecore_svn.bb b/recipes/efl1/ecore_svn.bb index 178e9e95f3..2354673eb3 100644 --- a/recipes/efl1/ecore_svn.bb +++ b/recipes/efl1/ecore_svn.bb @@ -2,6 +2,7 @@ require ecore.inc PR = "r7" SRC_URI += "file://iconv.patch;patch=1;maxrev=43996 \ + file://exit_uclibc_dns.patch;patch=1;maxrev=47076 \ file://exit_uclibc.patch;patch=1 \ " -- cgit v1.2.3 From f86ca9a3415a7063e3d60d2d7810ac4928e8c9e6 Mon Sep 17 00:00:00 2001 From: Michael 'Mickey' Lauer Date: Sun, 14 Mar 2010 20:52:24 +0100 Subject: elementary: packaging updates --- recipes/efl1/elementary_svn.bb | 22 ++++++++++++++++------ 1 file changed, 16 insertions(+), 6 deletions(-) (limited to 'recipes/efl1') diff --git a/recipes/efl1/elementary_svn.bb b/recipes/efl1/elementary_svn.bb index db75d52160..e3a1e91ee5 100644 --- a/recipes/efl1/elementary_svn.bb +++ b/recipes/efl1/elementary_svn.bb @@ -6,32 +6,42 @@ PR = "r7" inherit efl -EXTRA_OECONF = " \ - --with-eet-eet=${STAGING_BINDIR_NATIVE}/eet \ - --with-edje-cc=${STAGING_BINDIR_NATIVE}/edje_cc \ +EXTRA_OECONF = "\ + --with-edje-cc=${STAGING_BINDIR_NATIVE}/edje_cc \ + --with-eet-eet=${STAGING_BINDIR_NATIVE}/eet \ " SRC_URI = "svn://svn.enlightenment.org/svn/e/trunk/TMP/st;module=elementary;proto=http" S = "${WORKDIR}/elementary" -RDEPENDS_${PN} = "elementary-themes" -RSUGGESTS_${PN} = "elementary-tests" - do_compile_append() { sed -i -e s:${STAGING_DIR_TARGET}::g \ -e s:/${TARGET_SYS}::g \ elementary.pc } +PACKAGES =+ "${PN}-configs" + +RDEPENDS_${PN} = "\ + elementary-themes \ + elementary-configs \ +" +RSUGGESTS_${PN} = "elementary-tests" + FILES_${PN}-themes = "\ ${datadir}/elementary/themes \ " +FILES_${PN}-configs = "\ + ${datadir}/elementary/config \ +" + FILES_${PN}-tests = "\ ${bindir}/elementary* \ ${datadir}/elementary/images \ ${datadir}/elementary/objects \ ${datadir}/applications/* \ ${datadir}/icons/* \ + ${libdir}/elementary/modules/test_entry/* \ " -- cgit v1.2.3 From 64eae2b3c9e74a84a3f27ed68bdd91e2da7a3b5b Mon Sep 17 00:00:00 2001 From: Michael 'Mickey' Lauer Date: Sun, 14 Mar 2010 20:52:30 +0100 Subject: ecore: add patch that fixes the ecore-fb touchscreen initialization With this patch, we have a working touchscreen in framebuffer mode again --- recipes/efl1/ecore.inc | 6 ++--- .../efl1/ecore/fix-ecore-fb-initialization.patch | 29 ++++++++++++++++++++++ recipes/efl1/ecore_svn.bb | 11 ++++---- 3 files changed, 38 insertions(+), 8 deletions(-) create mode 100644 recipes/efl1/ecore/fix-ecore-fb-initialization.patch (limited to 'recipes/efl1') diff --git a/recipes/efl1/ecore.inc b/recipes/efl1/ecore.inc index ef3ba55d55..69d3f7607c 100644 --- a/recipes/efl1/ecore.inc +++ b/recipes/efl1/ecore.inc @@ -5,10 +5,12 @@ DEPENDS = "gettext-native virtual/libiconv curl eet evas tslib glib-2.0 \ # optional # DEPENDS += "directfb libsdl-x11 openssl virtual/libiconv" PV = "0.9.9.060+svnr${SRCPV}" -PR = "r3" +PR = "r4" inherit efl +SRC_URI += "file://fix-ecore-fb-initialization.patch;patch=1" + do_configure_prepend() { touch ${S}/po/Makefile.in.in || true sed -i -e 's: po::g' ${S}/Makefile.am @@ -71,5 +73,3 @@ FILES_${PN}-txt = "${libdir}/libecore_txt*.so.*" FILES_${PN}-x = "${libdir}/libecore_x*.so.*" FILES_${PN}-input = "${libdir}/libecore_input*.so.*" - - diff --git a/recipes/efl1/ecore/fix-ecore-fb-initialization.patch b/recipes/efl1/ecore/fix-ecore-fb-initialization.patch new file mode 100644 index 0000000000..2ac61ca63c --- /dev/null +++ b/recipes/efl1/ecore/fix-ecore-fb-initialization.patch @@ -0,0 +1,29 @@ +# +# 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 +# + +Index: ecore/src/lib/ecore_fb/ecore_fb.c +=================================================================== +--- ecore.orig/src/lib/ecore_fb/ecore_fb.c ++++ ecore/src/lib/ecore_fb/ecore_fb.c +@@ -46,6 +46,9 @@ + + if (!ecore_fb_vt_init()) + return --_ecore_fb_init_count; ++ ++ if (!ecore_fb_ts_init()) ++ return --_ecore_fb_init_count; + + ECORE_FB_EVENT_KEY_DOWN = ecore_event_type_new(); + ECORE_FB_EVENT_KEY_UP = ecore_event_type_new(); +@@ -70,6 +73,7 @@ + if (--_ecore_fb_init_count != 0) + return _ecore_fb_init_count; + ++ ecore_fb_ts_shutdown(); + ecore_fb_vt_shutdown(); + + return _ecore_fb_init_count; diff --git a/recipes/efl1/ecore_svn.bb b/recipes/efl1/ecore_svn.bb index 2354673eb3..6fc4676214 100644 --- a/recipes/efl1/ecore_svn.bb +++ b/recipes/efl1/ecore_svn.bb @@ -1,10 +1,11 @@ require ecore.inc -PR = "r7" +PR = "r8" -SRC_URI += "file://iconv.patch;patch=1;maxrev=43996 \ - file://exit_uclibc_dns.patch;patch=1;maxrev=47076 \ - file://exit_uclibc.patch;patch=1 \ - " +SRC_URI += "\ + file://iconv.patch;patch=1;maxrev=43996 \ + file://exit_uclibc_dns.patch;patch=1;maxrev=47076 \ + file://exit_uclibc.patch;patch=1 \ +" EXTRA_OECONF = "\ --x-includes=${STAGING_INCDIR}/X11 \ -- cgit v1.2.3 From 084e6a701f3cd7a6256976b45d4ef5073f29e44e Mon Sep 17 00:00:00 2001 From: Frans Meulenbroeks Date: Sun, 14 Mar 2010 15:54:14 +0100 Subject: evas-native_svn: removed old_stage code this code was called by no-one --- recipes/efl1/evas-native_svn.bb | 54 ----------------------------------------- 1 file changed, 54 deletions(-) (limited to 'recipes/efl1') diff --git a/recipes/efl1/evas-native_svn.bb b/recipes/efl1/evas-native_svn.bb index 0cb192ca9f..5c46a01234 100644 --- a/recipes/efl1/evas-native_svn.bb +++ b/recipes/efl1/evas-native_svn.bb @@ -62,57 +62,3 @@ EXTRA_OECONF = "\ --disable-convert-32-rgb-rot-270" -# evas needs a different oe_libinstall, so copy/paste autotools_stage_all -do_oldstage() { - rm -rf ${STAGE_TEMP} - mkdir -p ${STAGE_TEMP} - oe_runmake DESTDIR="${STAGE_TEMP}" install - autotools_stage_dir ${STAGE_TEMP}/${includedir} ${STAGING_INCDIR} - if [ "${BUILD_SYS}" = "${HOST_SYS}" ]; then - autotools_stage_dir ${STAGE_TEMP}/${bindir} ${STAGING_DIR_HOST}${layout_bindir} - autotools_stage_dir ${STAGE_TEMP}/${sbindir} ${STAGING_DIR_HOST}${layout_sbindir} - autotools_stage_dir ${STAGE_TEMP}/${base_bindir} ${STAGING_DIR_HOST}${layout_base_bindir} - autotools_stage_dir ${STAGE_TEMP}/${base_sbindir} ${STAGING_DIR_HOST}${layout_base_sbindir} - autotools_stage_dir ${STAGE_TEMP}/${libexecdir} ${STAGING_DIR_HOST}${layout_libexecdir} - fi - if [ -d ${STAGE_TEMP}/${libdir} ] - then - olddir=`pwd` - cd ${STAGE_TEMP}/${libdir} - las=$(find . -name \*.la -type f) - cd $olddir - echo "Found la files: $las" - if [ -n "$las" ]; then - # If there are .la files then libtool was used in the - # build, so install them with magic mangling. - for i in $las - do - dir=$(dirname $i) - echo "oe_libinstall -C ${STAGE_TEMP}/${libdir}/${dir} -so $(basename $i .la) ${STAGING_LIBDIR}/${dir}" - oe_libinstall -C ${STAGE_TEMP}/${libdir}/${dir} -so $(basename $i .la) ${STAGING_LIBDIR}/${dir} - done - else - # Otherwise libtool wasn't used, and lib/ can be copied - # directly. - echo "cp -fpPR ${STAGE_TEMP}/${libdir}/* ${STAGING_LIBDIR}" - cp -fpPR ${STAGE_TEMP}/${libdir}/* ${STAGING_LIBDIR} - fi - - fi - # Ok, this is nasty. pkgconfig.bbclass is usually used to install .pc files, - # however some packages rely on the presence of .pc files to enable/disable - # their configurataions in which case we better should not install everything - # unconditionally, but rather depend on the actual results of make install. - # The good news though: a) there are not many packages doing this and - # b) packaged staging will fix that anyways. :M: - if [ "${AUTOTOOLS_STAGE_PKGCONFIG}" = "1" ] - then - echo "cp -f ${STAGE_TEMP}/${libdir}/pkgconfig/*.pc ${STAGING_LIBDIR}/pkgconfig/" - cp -f ${STAGE_TEMP}/${libdir}/pkgconfig/*.pc ${STAGING_LIBDIR}/pkgconfig/ - fi - rm -rf ${STAGE_TEMP}/${mandir} || true - rm -rf ${STAGE_TEMP}/${infodir} || true - autotools_stage_dir ${STAGE_TEMP}/${datadir} ${STAGING_DATADIR} - rm -rf ${STAGE_TEMP} - -} -- cgit v1.2.3 From d492d3c95a63c2074e8309839c9b6bedc2287750 Mon Sep 17 00:00:00 2001 From: Martin Jansa Date: Tue, 16 Mar 2010 09:23:32 +0100 Subject: elementary: add .debug from tests to -dbg package before including it in -tests Signed-off-by: Martin Jansa --- recipes/efl1/elementary_svn.bb | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'recipes/efl1') diff --git a/recipes/efl1/elementary_svn.bb b/recipes/efl1/elementary_svn.bb index e3a1e91ee5..fc4b451466 100644 --- a/recipes/efl1/elementary_svn.bb +++ b/recipes/efl1/elementary_svn.bb @@ -2,7 +2,7 @@ DESCRIPTION = "EFL based widget set for mobile devices" LICENSE = "LGPL" DEPENDS = "eet-native efreet evas ecore edje eet edbus" PV = "0.0.0+svnr${SRCPV}" -PR = "r7" +PR = "r8" inherit efl @@ -36,6 +36,10 @@ FILES_${PN}-configs = "\ ${datadir}/elementary/config \ " +FILES_${PN}-dbg += "\ + ${libdir}/elementary/modules/test_entry/*/.debug \ +" + FILES_${PN}-tests = "\ ${bindir}/elementary* \ ${datadir}/elementary/images \ -- cgit v1.2.3 From 950f0a1a5c1db70279b36bc137619f71e8cc5a9c Mon Sep 17 00:00:00 2001 From: Martin Jansa Date: Tue, 16 Mar 2010 17:23:23 +0100 Subject: evas: PR bump after libexpat soname change Signed-off-by: Martin Jansa --- recipes/efl1/evas-native_svn.bb | 2 +- recipes/efl1/evas_svn.bb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'recipes/efl1') diff --git a/recipes/efl1/evas-native_svn.bb b/recipes/efl1/evas-native_svn.bb index 5c46a01234..a76997626c 100644 --- a/recipes/efl1/evas-native_svn.bb +++ b/recipes/efl1/evas-native_svn.bb @@ -1,7 +1,7 @@ require evas.inc inherit native DEPENDS = "freetype-native libxext-native libpng-native jpeg-native eet-native eina-native libfribidi-native" -PR = "r2" +PR = "r3" EXTRA_OECONF = "\ --x-includes=${STAGING_INCDIR}/X11 \ diff --git a/recipes/efl1/evas_svn.bb b/recipes/efl1/evas_svn.bb index d74433e7c6..bdcffa13ca 100644 --- a/recipes/efl1/evas_svn.bb +++ b/recipes/efl1/evas_svn.bb @@ -1,5 +1,5 @@ require evas.inc -PR = "r5" +PR = "r6" EVAS_CPU_TWEAKS = "" EVAS_CPU_TWEAKS_armv7a = "--enable-cpu-neon" -- cgit v1.2.3 From fbe36876df725a259ef983d9b52daf3254b7b8a5 Mon Sep 17 00:00:00 2001 From: Martin Jansa Date: Tue, 16 Mar 2010 17:23:10 +0100 Subject: ecore: PR bump after libexpat soname change Signed-off-by: Martin Jansa --- recipes/efl1/ecore-native_svn.bb | 2 +- recipes/efl1/ecore_svn.bb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'recipes/efl1') diff --git a/recipes/efl1/ecore-native_svn.bb b/recipes/efl1/ecore-native_svn.bb index 22208b926e..7963574c7b 100644 --- a/recipes/efl1/ecore-native_svn.bb +++ b/recipes/efl1/ecore-native_svn.bb @@ -1,7 +1,7 @@ require ecore.inc inherit native DEPENDS = "eet-native evas-native" -PR = "r3" +PR = "r4" EXTRA_OECONF = "\ --enable-ecore-txt \ diff --git a/recipes/efl1/ecore_svn.bb b/recipes/efl1/ecore_svn.bb index 6fc4676214..e3fdf588bc 100644 --- a/recipes/efl1/ecore_svn.bb +++ b/recipes/efl1/ecore_svn.bb @@ -1,5 +1,5 @@ require ecore.inc -PR = "r8" +PR = "r9" SRC_URI += "\ file://iconv.patch;patch=1;maxrev=43996 \ -- cgit v1.2.3 From e5cb27071a47a6c49cd141d2a5549afabf74c45a Mon Sep 17 00:00:00 2001 From: Martin Jansa Date: Tue, 16 Mar 2010 17:23:41 +0100 Subject: edje: PR bump after libexpat soname change Signed-off-by: Martin Jansa --- recipes/efl1/edje-native_svn.bb | 2 +- recipes/efl1/edje-sdk_svn.bb | 2 +- recipes/efl1/edje_svn.bb | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'recipes/efl1') diff --git a/recipes/efl1/edje-native_svn.bb b/recipes/efl1/edje-native_svn.bb index 7b4b79a300..33fe06f41c 100644 --- a/recipes/efl1/edje-native_svn.bb +++ b/recipes/efl1/edje-native_svn.bb @@ -1,6 +1,6 @@ require edje_${PV}.bb inherit native -PR = "r3" +PR = "r4" DEPENDS = "lua5.1-native evas-native ecore-native eet-native embryo-native" diff --git a/recipes/efl1/edje-sdk_svn.bb b/recipes/efl1/edje-sdk_svn.bb index 1733380c0b..e91652e16d 100644 --- a/recipes/efl1/edje-sdk_svn.bb +++ b/recipes/efl1/edje-sdk_svn.bb @@ -1,7 +1,7 @@ require edje_svn.bb inherit sdk -PR = "r3" +PR = "r4" SRCNAME = "${@bb.data.getVar('PN', d, 1).replace('-sdk', '')}" DEPENDS = "evas-native ecore-native eet-native embryo-native" diff --git a/recipes/efl1/edje_svn.bb b/recipes/efl1/edje_svn.bb index 433ded5764..e438e1b30b 100644 --- a/recipes/efl1/edje_svn.bb +++ b/recipes/efl1/edje_svn.bb @@ -2,7 +2,7 @@ DESCRIPTION = "Edje is the Enlightenment graphical design & layout library" DEPENDS = "lua5.1 eet evas ecore embryo edje-native" LICENSE = "MIT BSD" PV = "0.9.92.060+svnr${SRCPV}" -PR = "r5" +PR = "r6" inherit efl -- cgit v1.2.3 From bd75858d8e523dfbed244bf4046b5ce01eeee690 Mon Sep 17 00:00:00 2001 From: Martin Jansa Date: Fri, 19 Mar 2010 18:14:59 +0100 Subject: efl: move epsilon/etk to obsolete, because they're not supported with newer ecore anymore Signed-off-by: Martin Jansa --- recipes/efl1/epsilon_svn.bb | 23 - recipes/efl1/etk-native_svn.bb | 5 - ...tk_scrolled_view_dragable_combined_bouncy.patch | 496 --------------------- recipes/efl1/etk_svn.bb | 42 -- 4 files changed, 566 deletions(-) delete mode 100644 recipes/efl1/epsilon_svn.bb delete mode 100644 recipes/efl1/etk-native_svn.bb delete mode 100644 recipes/efl1/etk/etk_scrolled_view_dragable_combined_bouncy.patch delete mode 100644 recipes/efl1/etk_svn.bb (limited to 'recipes/efl1') diff --git a/recipes/efl1/epsilon_svn.bb b/recipes/efl1/epsilon_svn.bb deleted file mode 100644 index 991c35e8ab..0000000000 --- a/recipes/efl1/epsilon_svn.bb +++ /dev/null @@ -1,23 +0,0 @@ -DESCRIPTION = "Epsilon is a flexible and powerful image thumbnailing library \ -that is compliant with the freedesktop.org Thumbnail Managing Standard." -LICENSE = "MIT BSD" -# can also depend on xine for movie thumbnails -DEPENDS = "libpng evas ecore edje perl-native" -PV = "0.3.0.012+svnr${SRCPV}" -PR = "r4" - -inherit efl - -SRC_URI = "svn://svn.enlightenment.org/svn/e/OLD;module=${SRCNAME};proto=http" - -# a gstreamer thumbnailer would be nice now that we have emotion using gstreamer as well -EXTRA_OECONF = "--disable-xine" - -# package the thumb daemon seperately -PACKAGES =+ "${PN}-thumbd" -FILES_${PN}-thumbd = "${bindir}/epsilon ${bindir}/epsilon_thumbd" -RRECOMMENDS_${PN} = "${PN}-thumbd" - -FILES_${PN}-dev += "${libdir}/${PN}/*/*.a ${libdir}/${PN}/*/*.la" -FILES_${PN}-dbg += "${libdir}/${PN}/plugins/.debug/*.so" - diff --git a/recipes/efl1/etk-native_svn.bb b/recipes/efl1/etk-native_svn.bb deleted file mode 100644 index 345802d25d..0000000000 --- a/recipes/efl1/etk-native_svn.bb +++ /dev/null @@ -1,5 +0,0 @@ -require etk_svn.bb -inherit native -DEPENDS = "evas-native ecore-native edje-native" - -SRC_URI += "file://no-tests.patch;patch=1" diff --git a/recipes/efl1/etk/etk_scrolled_view_dragable_combined_bouncy.patch b/recipes/efl1/etk/etk_scrolled_view_dragable_combined_bouncy.patch deleted file mode 100644 index 75ef0f95ea..0000000000 --- a/recipes/efl1/etk/etk_scrolled_view_dragable_combined_bouncy.patch +++ /dev/null @@ -1,496 +0,0 @@ -Hi All, - The attached patch lets etk_scrolled_view been dragable with -pressing on the panel directly and drag. If you drag fast, after -releasing the panel will still scrolling until it stop slowly. - -Adding the following functions. -void etk_scrolled_view_dragable_set(Etk_Scrolled_View -*scrolled_view, Etk_Bool dragable); -Etk_Bool etk_scrolled_view_dragable_get(Etk_Scrolled_View *scrolled_view); - -additional functions for detail control. (Most user don't need them) -double -etk_scrolled_view_drag_sample_interval_magic_set(Etk_Scrolled_View -*scrolled_view,double interval); -double -etk_scrolled_view_drag_sample_interval_magic_get(Etk_Scrolled_View -*scrolled_view); -unsigned int etk_scrolled_view_drag_damping_magic_set(Etk_Scrolled_View -*scrolled_view,unsigned int damping); -unsigned int etk_scrolled_view_drag_damping_magic_get(Etk_Scrolled_View -*scrolled_view); - -You can test this with etk_test after patching and adding two line in -etk_test - -Signed-off: Tick @ openmoko.org - -Index: etk/src/lib/etk_scrolled_view.c -=================================================================== ---- etk.orig/src/lib/etk_scrolled_view.c 2008-04-02 11:53:32.000000000 +0800 -+++ etk/src/lib/etk_scrolled_view.c 2008-04-05 00:41:47.000000000 +0800 -@@ -37,7 +37,15 @@ - static Etk_Bool _etk_scrolled_view_child_added_cb(Etk_Object *object, void *child, void *data); - static Etk_Bool _etk_scrolled_view_child_removed_cb(Etk_Object *object, void *child, void *data); - static Etk_Bool _etk_scrolled_view_child_scroll_size_changed_cb(Etk_Object *object, void *data); -+static int _etk_scrolled_view_motive_bounce(void *data); - -+ -+static Etk_Bool _etk_scrolled_view_mouse_down(Etk_Object *object, Etk_Event_Mouse_Down *event, void *data); -+static Etk_Bool _etk_scrolled_view_mouse_up(Etk_Object *object, Etk_Event_Mouse_Up *event, void *data); -+static Etk_Bool _etk_scrolled_view_mouse_click(Etk_Object *object, Etk_Event_Mouse_Up *event, void *data); -+static Etk_Bool _etk_scrolled_view_mouse_move(Etk_Object *object, Etk_Event_Mouse_Move *event, void *data); -+ -+static Etk_Bool _etk_scrolled_view_bar_mouse_down(Etk_Object *object, Etk_Event_Mouse_Down *event, void *data); - /************************** - * - * Implementation -@@ -173,6 +181,106 @@ - *vpolicy = scrolled_view ? scrolled_view->vpolicy : ETK_POLICY_AUTO; - } - -+/** -+ * @brief Set the scrolled view dragable or not -+ * @param scrolled_view a scrolled view -+ * @param dragable The scrolled view is dragable or not? -+ */ -+void etk_scrolled_view_dragable_set(Etk_Scrolled_View *scrolled_view, Etk_Bool dragable) -+{ -+ if (!scrolled_view) -+ return; -+ scrolled_view->drag.dragable = dragable; -+} -+ -+/** -+ * @brief Get the scrolled view dragable flag -+ * @param scrolled_view a scrolled view -+ * @return Returns ETK_TURE if the scrolled view is dragable -+ */ -+Etk_Bool etk_scrolled_view_dragable_get(Etk_Scrolled_View *scrolled_view) -+{ -+ if (!scrolled_view) -+ return ETK_FALSE; -+ return scrolled_view->drag.dragable; -+} -+ -+/** -+ * @brief Set the scrolled view boucy or not. -+ * @param scrolled_view a scrolled view -+ * @param bouncy The scrolled view is bouncy or not (Default TRUE) -+ */ -+void etk_scrolled_view_drag_bouncy_set(Etk_Scrolled_View *scrolled_view, Etk_Bool bouncy) -+{ -+ if (!scrolled_view) -+ return; -+ scrolled_view->drag.bouncy = bouncy; -+} -+ -+/** -+ * @brief Get the scrolled view bouncy flag -+ * @param scrolled_view a scrolled view -+ * @return Returns ETK_TURE if the scrolled view is bouncy -+ */ -+Etk_Bool etk_scrolled_view_drag_bouncy_get(Etk_Scrolled_View *scrolled_view) -+{ -+ if (!scrolled_view) -+ return ETK_FALSE; -+ return scrolled_view->drag.bouncy; -+} -+ -+/** -+ * @brief Set the scrolled view sample interval to calculate the scrolling speed. -+ * @param scrolled_view a scrolled view -+ * @param interval The interval of sampling latest scrolling speed (minimial 0.2 second, default 0.5 second) -+ * @return Returns the actual sampling interval set. If scrolled_view is NULL returns 0.0f. -+ */ -+double etk_scrolled_view_drag_sample_interval_magic_set(Etk_Scrolled_View *scrolled_view,double interval) -+{ -+ if (!scrolled_view) -+ return 0.0f; -+ interval = interval >= 0.2f ? interval : 0.2f; -+ scrolled_view->drag.sample_magic = interval; -+ return scrolled_view->drag.sample_magic; -+} -+ -+/** -+ * @brief Get the scrolled view sample interval to calculate the scrolling speed. -+ * @param scrolled_view a scrolled view -+ * @return Returns the sampling interval. If scrolled_view is NULL return 0.0f. -+ */ -+double etk_scrolled_view_drag_sample_interval_magic_get(Etk_Scrolled_View *scrolled_view) -+{ -+ if (!scrolled_view) -+ return 0.0f; -+ return scrolled_view->drag.sample_magic; -+} -+ -+/** -+ * @brief Set the damping magic number of a dragable scrolled view -+ * @param scrolled_view a scrolled view -+ * @param damping The damping factor of the dragable scrolled view (default 100) -+ * @return Returns the actual damping factor set -+ */ -+unsigned int etk_scrolled_view_drag_damping_magic_set(Etk_Scrolled_View *scrolled_view,unsigned int damping) -+{ -+ if (!scrolled_view) -+ return 0; -+ scrolled_view->drag.damping_magic = damping; -+ return scrolled_view->drag.damping_magic; -+} -+ -+/** -+ * @brief Get the damping magic number of a dragable scrolled view -+ * @param scrolled_view a scrolled view -+ * @return Returns the actual damping factor -+ */ -+unsigned int etk_scrolled_view_drag_damping_magic_get(Etk_Scrolled_View *scrolled_view) -+{ -+ if (!scrolled_view) -+ return 0; -+ return scrolled_view->drag.damping_magic; -+} - - /************************** - * -@@ -189,6 +297,14 @@ - scrolled_view->hpolicy = ETK_POLICY_AUTO; - scrolled_view->vpolicy = ETK_POLICY_AUTO; - -+ scrolled_view->drag.bar_pressed = ETK_FALSE; -+ scrolled_view->drag.dragable = ETK_FALSE; -+ scrolled_view->drag.bouncy = ETK_TRUE; -+ -+ // FIXME This can be put in etk_config (Make whole system be configured) -+ etk_scrolled_view_drag_sample_interval_magic_set(scrolled_view,0.5f); -+ etk_scrolled_view_drag_damping_magic_set(scrolled_view,100); -+ - scrolled_view->hscrollbar = etk_hscrollbar_new(0.0, 0.0, 0.0, 12.0, 50.0, 0.0); - etk_widget_theme_parent_set(scrolled_view->hscrollbar, ETK_WIDGET(scrolled_view)); - etk_widget_parent_set(scrolled_view->hscrollbar, ETK_WIDGET(scrolled_view)); -@@ -205,11 +321,18 @@ - ETK_WIDGET(scrolled_view)->size_allocate = _etk_scrolled_view_size_allocate; - - etk_signal_connect_by_code(ETK_WIDGET_KEY_DOWN_SIGNAL, ETK_OBJECT(scrolled_view), ETK_CALLBACK(_etk_scrolled_view_key_down_cb), NULL); -+ etk_signal_connect_by_code(ETK_WIDGET_MOUSE_DOWN_SIGNAL, ETK_OBJECT(scrolled_view), ETK_CALLBACK(_etk_scrolled_view_mouse_down), &scrolled_view->drag); -+ etk_signal_connect_by_code(ETK_WIDGET_MOUSE_UP_SIGNAL, ETK_OBJECT(scrolled_view), ETK_CALLBACK(_etk_scrolled_view_mouse_up), &scrolled_view->drag); -+ etk_signal_connect_by_code(ETK_WIDGET_MOUSE_CLICK_SIGNAL, ETK_OBJECT(scrolled_view), ETK_CALLBACK(_etk_scrolled_view_mouse_click), &scrolled_view->drag); -+ etk_signal_connect_by_code(ETK_WIDGET_MOUSE_MOVE_SIGNAL, ETK_OBJECT(scrolled_view), ETK_CALLBACK(_etk_scrolled_view_mouse_move), &scrolled_view->drag); - etk_signal_connect_by_code(ETK_WIDGET_MOUSE_WHEEL_SIGNAL, ETK_OBJECT(scrolled_view), ETK_CALLBACK(_etk_scrolled_view_mouse_wheel), NULL); - etk_signal_connect_by_code(ETK_CONTAINER_CHILD_ADDED_SIGNAL, ETK_OBJECT(scrolled_view), ETK_CALLBACK(_etk_scrolled_view_child_added_cb), NULL); - etk_signal_connect_by_code(ETK_CONTAINER_CHILD_REMOVED_SIGNAL, ETK_OBJECT(scrolled_view), ETK_CALLBACK(_etk_scrolled_view_child_removed_cb), NULL); - etk_signal_connect_by_code(ETK_RANGE_VALUE_CHANGED_SIGNAL, ETK_OBJECT(scrolled_view->hscrollbar), ETK_CALLBACK(_etk_scrolled_view_hscrollbar_value_changed_cb), scrolled_view); -+ etk_signal_connect_by_code(ETK_WIDGET_MOUSE_DOWN_SIGNAL, ETK_OBJECT(scrolled_view->hscrollbar), ETK_CALLBACK(_etk_scrolled_view_bar_mouse_down), scrolled_view); - etk_signal_connect_by_code(ETK_RANGE_VALUE_CHANGED_SIGNAL, ETK_OBJECT(scrolled_view->vscrollbar), ETK_CALLBACK(_etk_scrolled_view_vscrollbar_value_changed_cb), scrolled_view); -+ etk_signal_connect_by_code(ETK_WIDGET_MOUSE_DOWN_SIGNAL, ETK_OBJECT(scrolled_view->vscrollbar), ETK_CALLBACK(_etk_scrolled_view_bar_mouse_down), scrolled_view); -+ - } - - /* Sets the property whose id is "property_id" to the value "value" */ -@@ -390,6 +513,94 @@ - etk_widget_size_allocate(child, child_geometry); - } - -+/* Check if reaching the boundary */ -+static inline double _etk_scrolled_view_bounce_check (Etk_Range * range, double delta,double v) -+{ -+ double pos = (range->value + delta); -+ if (pos <= range->lower) -+ { -+ pos = range->lower + (range->lower - pos); -+ v *= -1; -+ } -+ etk_range_value_set(range, pos); -+ if (pos > range->value) -+ v *= -1; -+ return v; -+} -+ -+/* Animator for inertial scrolling */ -+static int _etk_scrolled_view_motive_bounce(void *data) -+{ -+ Etk_Scrolled_View *scrolled_view = ETK_SCROLLED_VIEW(data); -+ struct Etk_Scrolled_View_Mouse_Drag *drag; -+ Etk_Range *vscrollbar_range; -+ Etk_Range *hscrollbar_range; -+ double delta_time; -+ double delta_V; -+ double delta_x; -+ double delta_y; -+ if (!scrolled_view) -+ return 0; -+ drag = &scrolled_view->drag; -+ if (drag->mouse_down) -+ return 0; -+ -+ // Using trapezoid method to calculate the distance. -+ delta_time = ecore_time_get() - drag->timestamp; -+ delta_V = delta_time * (drag->damping_magic + abs(drag->Vx)+ abs(drag->Vy))/2; -+ delta_time = delta_time < 0.01f ? 0.01f: delta_time; -+ -+ if (drag->Vx < delta_V && drag->Vx > -delta_V) -+ { -+ delta_x = 0; -+ drag->Vx = 0; -+ } -+ else if (drag->Vx > 0) -+ { -+ delta_x = ((drag->Vx * 2) - delta_V) * delta_time / 2; -+ drag->Vx = drag->Vx - delta_V; -+ } -+ else -+ { -+ delta_x = ((drag->Vx * 2) + delta_V) * delta_time / 2; -+ drag->Vx = drag->Vx + delta_V; -+ } -+ -+ if (drag->Vy < delta_V && drag->Vy > -delta_V) -+ { -+ drag->Vy = 0; -+ delta_y = 0; -+ } -+ else if(drag->Vy > 0) -+ { -+ delta_y = ((drag->Vy * 2) - delta_V) * delta_time / 2; -+ drag->Vy = drag->Vy - delta_V; -+ } else -+ { -+ delta_y = ((drag->Vy * 2) + delta_V) * delta_time / 2; -+ drag->Vy = drag->Vy + delta_V; -+ } -+ -+ if (drag->Vx == 0 && drag->Vy == 0) -+ return 0; -+ -+ vscrollbar_range = ETK_RANGE(scrolled_view->vscrollbar); -+ hscrollbar_range = ETK_RANGE(scrolled_view->hscrollbar); -+ if (drag->bouncy) -+ { -+ drag->Vx = _etk_scrolled_view_bounce_check(hscrollbar_range, delta_x, drag->Vx); -+ drag->Vy = _etk_scrolled_view_bounce_check(vscrollbar_range, delta_y, drag->Vy); -+ } -+ else -+ { -+ drag->Vx = drag->Vx == _etk_scrolled_view_bounce_check(hscrollbar_range, delta_x, drag->Vx) ? drag->Vx : 0.0f; -+ drag->Vy = drag->Vy == _etk_scrolled_view_bounce_check(vscrollbar_range, delta_y, drag->Vy) ? drag->Vy : 0.0f; -+ } -+ drag->timestamp = ecore_time_get(); -+ return 1; -+} -+ -+ - /************************** - * - * Callbacks and handlers -@@ -431,6 +642,135 @@ - return propagate; - } - -+/* Called when mouse button has been pressed down */ -+static Etk_Bool _etk_scrolled_view_mouse_down(Etk_Object *object, Etk_Event_Mouse_Down *event, void *data) -+{ -+ Etk_Scrolled_View *scrolled_view; -+ Etk_Range *vscrollbar_range; -+ Etk_Range *hscrollbar_range; -+ struct Etk_Scrolled_View_Mouse_Drag *drag = (struct Etk_Scrolled_View_Mouse_Drag *) data; -+ -+ if (!(scrolled_view = ETK_SCROLLED_VIEW(object))) -+ return ETK_FALSE; -+ -+ if (!drag->dragable) -+ return ETK_FALSE; -+ -+ if (!drag->mouse_down && event->button) -+ { -+ vscrollbar_range = ETK_RANGE(scrolled_view->vscrollbar); -+ hscrollbar_range = ETK_RANGE(scrolled_view->hscrollbar); -+ drag->mouse_down = ETK_TRUE; -+ drag->timestamp = ecore_time_get(); -+ drag->old_timestamp = 0.0f; -+ drag->position = event->widget; -+ drag->bar_position.x = hscrollbar_range->value; -+ drag->bar_position.y = vscrollbar_range->value; -+ } -+ return ETK_FALSE; -+} -+ -+/* Called when mouse is dragging */ -+static Etk_Bool _etk_scrolled_view_mouse_move(Etk_Object *object, Etk_Event_Mouse_Move *event, void *data) -+{ -+ Etk_Scrolled_View *scrolled_view; -+ Etk_Range *vscrollbar_range; -+ Etk_Range *hscrollbar_range; -+ double delta_time; -+ struct Etk_Scrolled_View_Mouse_Drag *drag = (struct Etk_Scrolled_View_Mouse_Drag *) data; -+ -+ if (!(scrolled_view = ETK_SCROLLED_VIEW(object))) -+ return ETK_FALSE; -+ -+ if (!drag->dragable) -+ return ETK_FALSE; -+ -+ if (!drag->mouse_down) -+ return ETK_FALSE; -+ -+ if (!event->buttons) -+ return ETK_FALSE; -+ -+ vscrollbar_range = ETK_RANGE(scrolled_view->vscrollbar); -+ hscrollbar_range = ETK_RANGE(scrolled_view->hscrollbar); -+ if (drag->scroll_flag == 0) -+ { -+ drag->scroll_flag = (event->cur.widget.y - drag->position.y)/vscrollbar_range->step_increment || (event->cur.widget.x - drag->position.x)/hscrollbar_range->step_increment; -+ } -+ -+ if (drag->scroll_flag) -+ { -+ if (drag->bar_pressed==ETK_FALSE) -+ { -+ etk_range_value_set(vscrollbar_range, vscrollbar_range->value - (event->cur.widget.y - drag->position.y)); -+ etk_range_value_set(hscrollbar_range, hscrollbar_range->value - (event->cur.widget.x - drag->position.x)); -+ } -+ drag->position = event->cur.widget; -+ delta_time = ecore_time_get() - drag->timestamp; -+ // in case delta_time is zero -+ delta_time = delta_time == 0.0f ? drag->sample_magic : delta_time; -+ if (delta_time > drag->sample_magic || drag->old_timestamp == 0) -+ { -+ drag->old_timestamp = drag->timestamp; -+ drag->timestamp = ecore_time_get(); -+ drag->Vx = (hscrollbar_range->value - drag->bar_position.x) / delta_time; -+ drag->Vy = (vscrollbar_range->value - drag->bar_position.y) / delta_time; -+ drag->bar_position.x = hscrollbar_range->value; -+ drag->bar_position.y = vscrollbar_range->value; -+ } -+ return ETK_TRUE; -+ } -+ return ETK_FALSE; -+} -+ -+/* Called when mouse button has been released */ -+static Etk_Bool _etk_scrolled_view_mouse_up(Etk_Object *object, Etk_Event_Mouse_Up *event, void *data) -+{ -+ Etk_Scrolled_View *scrolled_view; -+ struct Etk_Scrolled_View_Mouse_Drag *drag = (struct Etk_Scrolled_View_Mouse_Drag *) data; -+ -+ if (!(scrolled_view = ETK_SCROLLED_VIEW(object))) -+ return ETK_FALSE; -+ -+ if (!drag->dragable) -+ return ETK_FALSE; -+ -+ if (!drag->mouse_down) -+ return ETK_FALSE; -+ -+ if (drag->bar_pressed == ETK_TRUE) -+ { -+ drag->bar_pressed = ETK_FALSE; -+ return ETK_FALSE; -+ } -+ -+ drag->mouse_down = ETK_FALSE; -+ -+ if (drag->scroll_flag) -+ { -+ drag->timestamp = ecore_time_get(); -+ ecore_animator_add(&_etk_scrolled_view_motive_bounce, scrolled_view); -+ return ETK_TRUE; -+ } -+ return ETK_FALSE; -+} -+ -+/* Called when mouse button has been clicked */ -+static Etk_Bool _etk_scrolled_view_mouse_click (Etk_Object *object, Etk_Event_Mouse_Up *event, void *data) -+{ -+ Etk_Scrolled_View *scrolled_view; -+ struct Etk_Scrolled_View_Mouse_Drag *drag = (struct Etk_Scrolled_View_Mouse_Drag *) data; -+ if (!(scrolled_view = ETK_SCROLLED_VIEW(object))) -+ return ETK_TRUE; -+ -+ if (drag->scroll_flag) -+ { -+ drag->scroll_flag = 0; -+ return ETK_TRUE; -+ } -+ return ETK_FALSE; -+} -+ - /* Called when the user wants to scroll the scrolled view with the mouse wheel */ - static Etk_Bool _etk_scrolled_view_mouse_wheel(Etk_Object *object, Etk_Event_Mouse_Wheel *event, void *data) - { -@@ -458,6 +798,18 @@ - return ETK_TRUE; - } - -+/* Called when dragging on the scrollbar */ -+static Etk_Bool _etk_scrolled_view_bar_mouse_down(Etk_Object *object, Etk_Event_Mouse_Down *event, void *data) -+{ -+ Etk_Scrolled_View *scrolled_view; -+ Etk_Widget *child; -+ if (!(scrolled_view = ETK_SCROLLED_VIEW(data)) || !(child = ETK_BIN(scrolled_view)->child) || !child->scroll) -+ return ETK_FALSE; -+ scrolled_view->drag.bar_pressed = ETK_TRUE; -+ return ETK_FALSE; -+} -+ -+ - /* Called when the value of the vscrollbar has changed */ - static Etk_Bool _etk_scrolled_view_vscrollbar_value_changed_cb(Etk_Object *object, double value, void *data) - { -Index: etk/src/lib/etk_scrolled_view.h -=================================================================== ---- etk.orig/src/lib/etk_scrolled_view.h 2008-04-02 11:53:32.000000000 +0800 -+++ etk/src/lib/etk_scrolled_view.h 2008-04-05 00:03:31.000000000 +0800 -@@ -33,9 +33,24 @@ - ETK_POLICY_AUTO, /**< The scrollbar is shown and hidden automatically whether or not the child can fit - * entirely in the scrolled view */ - ETK_POLICY_SHOW, /**< The scrollbar is always visible */ -- ETK_POLICY_HIDE /**< The scrollbar is always hidden */ -+ ETK_POLICY_HIDE, /**< The scrollbar is always hidden */ - } Etk_Scrolled_View_Policy; - -+struct Etk_Scrolled_View_Mouse_Drag -+{ -+ Etk_Bool mouse_down; -+ Etk_Bool bar_pressed; -+ Etk_Bool dragable; -+ Etk_Bool bouncy; -+ int scroll_flag; -+ Etk_Position position; -+ Etk_Position bar_position; -+ double sample_magic; -+ unsigned int damping_magic; -+ double timestamp; -+ double old_timestamp; -+ double Vx,Vy; -+}; - - /** - * @brief @widget The structure of a scrolled view -@@ -52,9 +67,12 @@ - - Etk_Scrolled_View_Policy hpolicy; - Etk_Scrolled_View_Policy vpolicy; -+ -+ struct Etk_Scrolled_View_Mouse_Drag drag; - }; - - -+ - Etk_Type *etk_scrolled_view_type_get(void); - Etk_Widget *etk_scrolled_view_new(void); - -@@ -63,6 +81,14 @@ - void etk_scrolled_view_add_with_viewport(Etk_Scrolled_View *scrolled_view, Etk_Widget *child); - void etk_scrolled_view_policy_set(Etk_Scrolled_View *scrolled_view, Etk_Scrolled_View_Policy hpolicy, Etk_Scrolled_View_Policy vpolicy); - void etk_scrolled_view_policy_get(Etk_Scrolled_View *scrolled_view, Etk_Scrolled_View_Policy *hpolicy, Etk_Scrolled_View_Policy *vpolicy); -+void etk_scrolled_view_dragable_set(Etk_Scrolled_View *scrolled_view, Etk_Bool dragable); -+Etk_Bool etk_scrolled_view_dragable_get(Etk_Scrolled_View *scrolled_view); -+void etk_scrolled_view_drag_bouncy_set(Etk_Scrolled_View *scrolled_view, Etk_Bool bouncy); -+Etk_Bool etk_scrolled_view_drag_bouncy_get(Etk_Scrolled_View *scrolled_view); -+double etk_scrolled_view_drag_sample_interval_magic_set(Etk_Scrolled_View *scrolled_view,double interval); -+double etk_scrolled_view_drag_sample_interval_magic_get(Etk_Scrolled_View *scrolled_view); -+unsigned int etk_scrolled_view_drag_damping_magic_set(Etk_Scrolled_View *scrolled_view,unsigned int damping); -+unsigned int etk_scrolled_view_drag_damping_magic_get(Etk_Scrolled_View *scrolled_view); - - /** @} */ - diff --git a/recipes/efl1/etk_svn.bb b/recipes/efl1/etk_svn.bb deleted file mode 100644 index 6deb2c00a3..0000000000 --- a/recipes/efl1/etk_svn.bb +++ /dev/null @@ -1,42 +0,0 @@ -DESCRIPTION = "Etk is an advanced widget toolkit based on the Enlightenment Foundation Libraries." -DEPENDS = "evas ecore edje" -LICENSE = "MIT" -PV = "0.1.0.042+svnr${SRCPV}" -PR = "r5" - -inherit efl - -SRC_URI = "svn://svn.enlightenment.org/svn/e/OLD;module=${SRCNAME};proto=http \ -file://mkinstalldirs" - -RRECOMMENDS_${PN} = "\ - etk-engines-software-x11 \ - etk-engines-evas \ - etk-engines-fb \ - etk-engines-x11 \ - etk-engines-software-x11-16 \ -" - -do_compile_prepend() { - touch ${S}/po/etk.pot - cp ${WORKDIR}/mkinstalldirs ${S} - sed -i -e 's:@MKINSTALLDIRS@:${S}/mkinstalldirs:g' ${S}/po/Makefile -} - -PACKAGES += "etk-engines-software-x11" -FILES_${PN}-engines-software-x11 = "${libdir}/etk/engines/ecore_evas_software_x11.so" - -PACKAGES =+ "etk-engines-gl-x11" -FILES_${PN}-engines-gl-x11 = "${libdir}/etk/engines/ecore_evas_gl_x11.so" - -PACKAGES =+ "etk-engines-evas" -FILES_${PN}-engines-evas = "${libdir}/etk/engines/ecore_evas.so" - -PACKAGES =+ "etk-engines-fb" -FILES_${PN}-engines-fb = "${libdir}/etk/engines/ecore_fb.so" - -PACKAGES =+ "etk-engines-x11" -FILES_${PN}-engines-x11 = "${libdir}/etk/engines/ecore_evas_x11.so" - -PACKAGES =+ "etk-engines-software-x11-16" -FILES_${PN}-engines-software-x11-16 = "${libdir}/etk/engines/ecore_evas_software_x11_16.so" -- cgit v1.2.3 From cfd545deb807faee0dcbecabb89e6698601120cc Mon Sep 17 00:00:00 2001 From: Martin Jansa Date: Tue, 2 Mar 2010 11:09:56 +0100 Subject: esmart: drop epsilon dependency, then we won't get thumb Signed-off-by: Martin Jansa --- recipes/efl1/esmart_svn.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'recipes/efl1') diff --git a/recipes/efl1/esmart_svn.bb b/recipes/efl1/esmart_svn.bb index 4e938753d9..57c74f2103 100644 --- a/recipes/efl1/esmart_svn.bb +++ b/recipes/efl1/esmart_svn.bb @@ -1,8 +1,8 @@ DESCRIPTION = "ESmart is a collection of smart Evas objects" LICENSE = "MIT BSD" -DEPENDS = "evas ecore edje imlib2 epsilon libtool" +DEPENDS = "evas ecore edje imlib2 libtool" PV = "0.9.0.050+svnr${SRCPV}" -PR = "r1" +PR = "r2" inherit efl -- cgit v1.2.3 From 049e78d95ff3cc32f6397923c9280359b78831f1 Mon Sep 17 00:00:00 2001 From: Martin Jansa Date: Wed, 3 Mar 2010 10:05:00 +0100 Subject: epdf: disable deprecated etk Signed-off-by: Martin Jansa --- recipes/efl1/epdf_svn.bb | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'recipes/efl1') diff --git a/recipes/efl1/epdf_svn.bb b/recipes/efl1/epdf_svn.bb index bc180450a8..be223d2c7a 100644 --- a/recipes/efl1/epdf_svn.bb +++ b/recipes/efl1/epdf_svn.bb @@ -1,8 +1,8 @@ DESCRIPTION = "Epdf is the glue between EFL and libpoppler" LICENSE = "MIT BSD" -DEPENDS = "poppler evas ecore etk ewl" +DEPENDS = "poppler evas ecore" PV = "0.1.0+svnr${SRCPV}" -PR = "r2" +PR = "r3" inherit efl @@ -12,7 +12,6 @@ SRC_URI = "svn://svn.enlightenment.org/svn/e/trunk/PROTO;module=epdf;proto=http" # recognize epsilon and doesn't build everything. The next one actually using # this package is welcome to fix it. -EXTRA_OECONF = "--enable-etk --enable-ewl" # add ewl additions FILES_${PN}-dev += "${libdir}/ewl/tests/*.a ${libdir}/ewl/tests/*.la" -- cgit v1.2.3 From 177e01f452107ade6c8f6b5832ea89c8e16c1c8d Mon Sep 17 00:00:00 2001 From: Martin Jansa Date: Fri, 19 Mar 2010 18:45:38 +0100 Subject: esmart: update SRC_URI as it was moved to OLD Signed-off-by: Martin Jansa --- recipes/efl1/esmart_svn.bb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'recipes/efl1') diff --git a/recipes/efl1/esmart_svn.bb b/recipes/efl1/esmart_svn.bb index 57c74f2103..bdcb6dbb53 100644 --- a/recipes/efl1/esmart_svn.bb +++ b/recipes/efl1/esmart_svn.bb @@ -6,6 +6,8 @@ PR = "r2" inherit efl +SRC_URI = "svn://svn.enlightenment.org/svn/e/OLD;module=${PN};proto=http" + EXTRA_OECONF = "--with-edje-cc=${STAGING_BINDIR_NATIVE}/edje_cc" PACKAGES =+ "${PN}-textentry \ -- cgit v1.2.3 From 0326bd8128981646b03364af4e03edb05290a63b Mon Sep 17 00:00:00 2001 From: Martin Jansa Date: Fri, 19 Mar 2010 19:33:44 +0100 Subject: ewl: doesn't depend on epsilon now, but still on Ecore_data/Ecore_txt Signed-off-by: Martin Jansa --- recipes/efl1/ewl_svn.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'recipes/efl1') diff --git a/recipes/efl1/ewl_svn.bb b/recipes/efl1/ewl_svn.bb index 910831ac00..871a43f884 100644 --- a/recipes/efl1/ewl_svn.bb +++ b/recipes/efl1/ewl_svn.bb @@ -1,8 +1,8 @@ DESCRIPTION = "The Enlightened Widget Library" -DEPENDS = "evas ecore edje emotion efreet epsilon" +DEPENDS = "evas ecore edje emotion efreet" LICENSE = "MIT BSD" PV = "0.5.3.050+svnr${SRCPV}" -PR = "r1" +PR = "r2" inherit efl -- cgit v1.2.3 From d6f29aecf1c0a857dcbbceb770b38da5040e980b Mon Sep 17 00:00:00 2001 From: Martin Jansa Date: Thu, 11 Mar 2010 10:25:44 +0100 Subject: ecore: convert BBCLASSEXTEND * different EXTRA_OECONF weren't used for -native as the diff seems rather unintentional when OECONF was updated only in non-native version, feel free to add it if really needed Signed-off-by: Martin Jansa --- recipes/efl1/ecore-native_svn.bb | 32 -------------------------------- recipes/efl1/ecore.inc | 7 +++++-- recipes/efl1/ecore_svn.bb | 10 ++++++++++ 3 files changed, 15 insertions(+), 34 deletions(-) delete mode 100644 recipes/efl1/ecore-native_svn.bb (limited to 'recipes/efl1') diff --git a/recipes/efl1/ecore-native_svn.bb b/recipes/efl1/ecore-native_svn.bb deleted file mode 100644 index 7963574c7b..0000000000 --- a/recipes/efl1/ecore-native_svn.bb +++ /dev/null @@ -1,32 +0,0 @@ -require ecore.inc -inherit native -DEPENDS = "eet-native evas-native" -PR = "r4" - -EXTRA_OECONF = "\ - --enable-ecore-txt \ - --enable-ecore-config \ - --disable-ecore-x-xcb \ - --disable-ecore-x \ - --enable-ecore-job \ - --disable-ecore-directfb \ - --disable-ecore-sdl \ - --enable-ecore-fb \ - --enable-ecore-evas \ - --enable-ecore-evas-fb \ - --disable-ecore-evas-x11-gl \ - --disable-ecore-evas-xrender \ - --disable-ecore-evas-dfb \ - --disable-ecore-evas-sdl \ - --disable-openssl \ - --enable-abstract-sockets \ - --enable-ecore-con \ - --enable-ecore-ipc \ - --enable-ecore-file \ - --enable-inotify \ - --disable-poll \ - --disable-curl \ - --disable-ecore-desktop \ - --disable-ecore-imf \ - --disable-ecore-imf_evas \ -" diff --git a/recipes/efl1/ecore.inc b/recipes/efl1/ecore.inc index 69d3f7607c..183f25203a 100644 --- a/recipes/efl1/ecore.inc +++ b/recipes/efl1/ecore.inc @@ -1,14 +1,17 @@ DESCRIPTION = "Ecore is the Enlightenment application framework library" LICENSE = "MIT BSD" -DEPENDS = "gettext-native virtual/libiconv curl eet evas tslib glib-2.0 \ +DEPENDS = "gettext-native virtual/libiconv tslib curl eet evas glib-2.0 \ libxtst libxcomposite libxinerama libxscrnsaver libxdamage libxrandr libxcursor libxprintutil" +DEPENDS_virtclass-native = "eet-native evas-native" # optional # DEPENDS += "directfb libsdl-x11 openssl virtual/libiconv" PV = "0.9.9.060+svnr${SRCPV}" -PR = "r4" +PR = "r5" inherit efl +BBCLASSEXTEND = "native" + SRC_URI += "file://fix-ecore-fb-initialization.patch;patch=1" do_configure_prepend() { diff --git a/recipes/efl1/ecore_svn.bb b/recipes/efl1/ecore_svn.bb index e3fdf588bc..5262c0c91f 100644 --- a/recipes/efl1/ecore_svn.bb +++ b/recipes/efl1/ecore_svn.bb @@ -35,3 +35,13 @@ EXTRA_OECONF = "\ --disable-openssl \ --disable-poll \ " + +# List of options which were different in ecore-native, +# I know it's SCM, but with missing -native.bb is much easier to check here +#EXTRA_OECONF_virtclass-native = "\ +# --disable-ecore-x \ +# --enable-ecore-evas-fb \ +# --disable-ecore-evas-x11-gl \ +# --disable-curl \ +# --disable-ecore-imf \ +# --disable-ecore-imf_evas \ -- cgit v1.2.3