summaryrefslogtreecommitdiff
path: root/packages/nonworking
diff options
context:
space:
mode:
authorMichael Lauer <mickey@vanille-media.de>2007-06-21 03:55:38 +0000
committerMichael Lauer <mickey@vanille-media.de>2007-06-21 03:55:38 +0000
commitbdb62917622bbb63dc57c3535be15ca9dea4c13a (patch)
tree90732a754ab55f6dd69fbfe6b7a68cd2444df105 /packages/nonworking
parent923534e5bd8e956de3bb8a40b02c363bfe15ecdd (diff)
move older efl stuff to nonworking
Diffstat (limited to 'packages/nonworking')
-rw-r--r--packages/nonworking/efl/.mtn2git_empty0
-rw-r--r--packages/nonworking/efl/e/.mtn2git_empty0
-rw-r--r--packages/nonworking/efl/e/fix-configure.patch47
-rw-r--r--packages/nonworking/efl/ecore-fb_0.9.9.038.bb31
-rw-r--r--packages/nonworking/efl/ecore-native_0.9.9.038.bb6
-rw-r--r--packages/nonworking/efl/ecore-x11_0.9.9.038.bb30
-rw-r--r--packages/nonworking/efl/ecore.inc46
-rw-r--r--packages/nonworking/efl/ecore/.mtn2git_empty0
-rw-r--r--packages/nonworking/efl/ecore/add-tslib-support.patch104
-rw-r--r--packages/nonworking/efl/ecore/configure-abstract-sockets.patch16
-rw-r--r--packages/nonworking/efl/ecore/configure.patch21
-rw-r--r--packages/nonworking/efl/ecore/ecore_kernel_input_header.patch23
-rw-r--r--packages/nonworking/efl/ecore/fix-tslib-configure.patch12
-rw-r--r--packages/nonworking/efl/ecore/remove-bad-code.patch36
-rw-r--r--packages/nonworking/efl/ecore/remove-tslib-configure.patch15
-rw-r--r--packages/nonworking/efl/edb-native/.mtn2git_empty0
-rw-r--r--packages/nonworking/efl/edb-native/no-gtk-forkbomb.patch12
-rw-r--r--packages/nonworking/efl/edb-native_1.0.5.007.bb11
-rw-r--r--packages/nonworking/efl/edb-utils_1.0.5.007.bb19
-rw-r--r--packages/nonworking/efl/edb_1.0.5.007.bb14
-rw-r--r--packages/nonworking/efl/edje-native_0.5.0.038.bb20
-rw-r--r--packages/nonworking/efl/edje-utils_0.5.0.038.bb23
-rw-r--r--packages/nonworking/efl/edje_0.5.0.038.bb32
-rw-r--r--packages/nonworking/efl/eet-native_0.9.10.038.bb4
-rw-r--r--packages/nonworking/efl/eet_0.9.10.038.bb9
-rw-r--r--packages/nonworking/efl/efl.bbclass52
-rw-r--r--packages/nonworking/efl/efreet-native_0.0.3.002.bb3
-rw-r--r--packages/nonworking/efl/efreet_0.0.3.002.bb8
-rw-r--r--packages/nonworking/efl/embryo-native_0.9.1.038.bb7
-rw-r--r--packages/nonworking/efl/embryo-utils_0.9.1.038.bb18
-rw-r--r--packages/nonworking/efl/embryo_0.9.1.038.bb11
-rw-r--r--packages/nonworking/efl/emotion_20061116.bb18
-rw-r--r--packages/nonworking/efl/engrave_20060128.bb17
-rw-r--r--packages/nonworking/efl/epdf_20060418.bb9
-rw-r--r--packages/nonworking/efl/epeg_0.9.0.008.bb5
-rw-r--r--packages/nonworking/efl/epsilon/.mtn2git_empty0
-rw-r--r--packages/nonworking/efl/epsilon/compile-fix.patch15
-rw-r--r--packages/nonworking/efl/epsilon/server-is-not-client.patch11
-rw-r--r--packages/nonworking/efl/epsilon_0.3.0.008.bb17
-rw-r--r--packages/nonworking/efl/esmart-fb_0.9.0.008.bb16
-rw-r--r--packages/nonworking/efl/esmart-x11_0.9.0.008.bb24
-rw-r--r--packages/nonworking/efl/esmart.inc51
-rw-r--r--packages/nonworking/efl/esmart/.mtn2git_empty0
-rw-r--r--packages/nonworking/efl/esmart/compile-fix.patch16
-rw-r--r--packages/nonworking/efl/esmart/disable-x-only-features.patch25
-rw-r--r--packages/nonworking/efl/esmart/ecore-fix.patch10
-rw-r--r--packages/nonworking/efl/esmart/include-stdio.patch22
-rw-r--r--packages/nonworking/efl/etk_0.1.0.003.bb17
-rw-r--r--packages/nonworking/efl/evas-fb_0.9.9.038.bb47
-rw-r--r--packages/nonworking/efl/evas-native_0.9.9.038.bb5
-rw-r--r--packages/nonworking/efl/evas-x11_0.9.9.038.bb55
-rw-r--r--packages/nonworking/efl/evas.inc50
-rw-r--r--packages/nonworking/efl/evas/.mtn2git_empty0
-rw-r--r--packages/nonworking/efl/evas/fix-configure.patch36
-rw-r--r--packages/nonworking/efl/evas/pagesize.patch13
-rw-r--r--packages/nonworking/efl/ewl/.mtn2git_empty0
-rw-r--r--packages/nonworking/efl/ewl/ewl-configure.patch15
-rw-r--r--packages/nonworking/efl/ewl/minmax.patch18
-rw-r--r--packages/nonworking/efl/ewl/no-examples.patch22
-rw-r--r--packages/nonworking/efl/ewl_0.5.1.008.bb29
-rw-r--r--packages/nonworking/efl/files/.mtn2git_empty0
-rw-r--r--packages/nonworking/efl/files/pkg.m457
-rw-r--r--packages/nonworking/efl/imlib2-fb_1.3.0.001.bb6
-rw-r--r--packages/nonworking/efl/imlib2-native_1.3.0.001.bb8
-rw-r--r--packages/nonworking/efl/imlib2-x11_1.3.0.001.bb8
-rw-r--r--packages/nonworking/efl/imlib2.inc58
66 files changed, 1330 insertions, 0 deletions
diff --git a/packages/nonworking/efl/.mtn2git_empty b/packages/nonworking/efl/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/nonworking/efl/.mtn2git_empty
diff --git a/packages/nonworking/efl/e/.mtn2git_empty b/packages/nonworking/efl/e/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/nonworking/efl/e/.mtn2git_empty
diff --git a/packages/nonworking/efl/e/fix-configure.patch b/packages/nonworking/efl/e/fix-configure.patch
new file mode 100644
index 0000000000..02560fd7ab
--- /dev/null
+++ b/packages/nonworking/efl/e/fix-configure.patch
@@ -0,0 +1,47 @@
+diff -Nur e~/configure.in e/configure.in
+--- e~/configure.in 2005-09-29 13:17:29.000000000 -0700
++++ e/configure.in 2005-09-29 13:19:35.000000000 -0700
+@@ -114,9 +114,7 @@
+ AC_PATH_XTRA
+ AC_CHECK_HEADER(X11/X.h,
+ [
+- x_dir=${x_dir:-/usr/X11R6}
+- x_cflags=${x_cflags:--I${x_includes:-$x_dir/include}}
+- x_libs="${x_libs:--L${x_libraries:-$x_dir/lib}} -lX11 -lXext"
++ x_libs="-lX11 -lXext";
+ ],[
+ AC_MSG_ERROR([Cannot find X headers and libraries.])
+ ]
+diff -Nur e~/src/bin/Makefile.am e/src/bin/Makefile.am
+--- e~/src/bin/Makefile.am 2005-09-29 13:17:29.000000000 -0700
++++ e/src/bin/Makefile.am 2005-09-29 13:19:35.000000000 -0700
+@@ -1,6 +1,5 @@
+ MAINTAINERCLEANFILES = Makefile.in
+-INCLUDES = -I$(includedir) \
+- -I$(top_srcdir) \
++INCLUDES = -I$(top_srcdir) \
+ -I$(top_srcdir)/src/bin \
+ -I$(top_srcdir)/src/lib \
+ @e_cflags@ \
+diff -Nur e~/src/lib/Makefile.am e/src/lib/Makefile.am
+--- e~/src/lib/Makefile.am 2005-09-29 13:17:29.000000000 -0700
++++ e/src/lib/Makefile.am 2005-09-29 13:19:56.000000000 -0700
+@@ -1,6 +1,5 @@
+ MAINTAINERCLEANFILES = Makefile.in
+-INCLUDES = -I$(includedir) \
+- -I$(top_srcdir)/src/bin \
++INCLUDES = -I$(top_srcdir)/src/bin \
+ @e_cflags@
+
+ lib_LTLIBRARIES = libe.la
+diff -Nur e~/src/preload/Makefile.am e/src/preload/Makefile.am
+--- e~/src/preload/Makefile.am 2005-09-29 13:17:29.000000000 -0700
++++ e/src/preload/Makefile.am 2005-09-29 13:19:35.000000000 -0700
+@@ -2,7 +2,6 @@
+
+ INCLUDES = -I. \
+ -I$(top_srcdir) \
+- -I$(includedir) \
+ -I$(top_srcdir)src/preload \
+ @x_cflags@
+ pkgdir = $(libdir)/enlightenment/preload
diff --git a/packages/nonworking/efl/ecore-fb_0.9.9.038.bb b/packages/nonworking/efl/ecore-fb_0.9.9.038.bb
new file mode 100644
index 0000000000..b856d38bd9
--- /dev/null
+++ b/packages/nonworking/efl/ecore-fb_0.9.9.038.bb
@@ -0,0 +1,31 @@
+require ecore.inc
+PR = "r2"
+
+SRC_URI += "file://remove-bad-code.patch;patch=1"
+
+EXTRA_OECONF = "--enable-ecore-fb \
+ --enable-ecore-job \
+ --enable-ecore-file \
+ --enable-poll \
+ --enable-ecore-dbus \
+ --enable-ecore-evas \
+ --enable-ecore-evas-buffer \
+ --enable-ecore-evas-fb \
+ --disable-ecore-evas-x \
+ --disable-ecore-evas-xrender \
+ --disable-ecore-evas-gl \
+ --enable-ecore-con \
+ --enable-ecore-config \
+ --enable-ecore-ipc \
+ --enable-ecore-txt \
+ --disable-ecore-x \
+ --disable-curl \
+ --without-curl-config \
+ --enable-ecore-config \
+ --enable-ecore-desktop \
+ --disable-openssl"
+
+parts = "Ecore Ecore_Job Ecore_File Ecore_DBus \
+ Ecore_Txt Ecore_Fb Ecore_Con \
+ Ecore_Ipc Ecore_Evas Ecore_Config \
+ Ecore_Desktop"
diff --git a/packages/nonworking/efl/ecore-native_0.9.9.038.bb b/packages/nonworking/efl/ecore-native_0.9.9.038.bb
new file mode 100644
index 0000000000..7d7ed2370a
--- /dev/null
+++ b/packages/nonworking/efl/ecore-native_0.9.9.038.bb
@@ -0,0 +1,6 @@
+require ecore-fb_${PV}.bb
+inherit native
+# disable curl for now (see EXTRA_OECONF in ecore-fb), we may reenable it when we need it
+# DEPENDS = "curl-native eet-native evas-native"
+DEPENDS = "eet-native evas-native"
+PROVIDES = "ecore-native" \ No newline at end of file
diff --git a/packages/nonworking/efl/ecore-x11_0.9.9.038.bb b/packages/nonworking/efl/ecore-x11_0.9.9.038.bb
new file mode 100644
index 0000000000..1deb641326
--- /dev/null
+++ b/packages/nonworking/efl/ecore-x11_0.9.9.038.bb
@@ -0,0 +1,30 @@
+require ecore.inc
+DEPENDS += "evas-x11"
+PR = "r3"
+
+SRC_URI += "file://configure-abstract-sockets.patch;patch=1"
+
+EXTRA_OECONF = "--disable-ecore-fb \
+ --disable-ecore-dfb \
+ --enable-ecore-job \
+ --enable-ecore-file \
+ --enable-ecore-dbus \
+ --disable-ecore-evas-fb \
+ --disable-ecore-evas-dfb \
+ --enable-ecore-evas-x \
+ --enable-ecore-evas-buffer \
+ --disable-ecore-evas-gl \
+ --enable-ecore-con \
+ --enable-ecore-ipc \
+ --enable-ecore-txt \
+ --enable-ecore-x \
+ --enable-ecore-config \
+ --disable-openssl \
+ --enable-ecore-desktop \
+ --x-includes=${STAGING_INCDIR}/X11 \
+ --x-libraries=${STAGING_LIBDIR} "
+
+parts = "Ecore Ecore_Job Ecore_File Ecore_DBus \
+ Ecore_Txt Ecore_Fb Ecore_Con \
+ Ecore_Ipc Ecore_Evas Ecore_Config \
+ Ecore_X Ecore_Desktop"
diff --git a/packages/nonworking/efl/ecore.inc b/packages/nonworking/efl/ecore.inc
new file mode 100644
index 0000000000..60c18cacc3
--- /dev/null
+++ b/packages/nonworking/efl/ecore.inc
@@ -0,0 +1,46 @@
+DESCRIPTION = "Ecore is the core event abstraction layer for the enlightenment \
+foundation libraries. It makes makes doing selections, drag and drop, event loops, \
+timeouts and idle handlers fast, optimized, and convenient."
+LEAD_SONAME = "libecore.so"
+LICENSE = "MIT"
+# can also have openssl, dbus, iconv
+DEPENDS += "virtual/evas curl eet"
+PROVIDES += "virtual/ecore"
+
+inherit efl
+
+SRC_URI = "http://enlightenment.freedesktop.org/files/ecore-${PV}.tar.gz \
+ file://ecore_kernel_input_header.patch;patch=1 \
+ ${E_CVS};module=e17/libs/ecore/m4;date=20070501"
+# file://fix-tslib-configure.patch;patch=1 \
+# file://configure.patch;patch=1 \
+
+S = "${WORKDIR}/ecore-${PV}"
+FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/ecore"
+
+EXTRA_OECONF = "<override me>"
+
+libraries = ""
+headers = ""
+parts = "<override me>"
+
+do_configure_prepend() {
+ if [ -e "${WORKDIR}/m4" ]; then
+ install -d "${S}/m4"
+ install "${WORKDIR}/m4/"*.m4 "${S}/m4"
+ aclocal -I m4
+ fi
+}
+
+do_stage_append() {
+ for p in ${parts}; do
+ dir=`echo $p|tr A-Z a-z`
+ install -m 0644 ${S}/src/lib/$dir/$p*.h ${STAGING_INCDIR}/
+ oe_libinstall -C src/lib/$dir lib$dir ${STAGING_LIBDIR}/
+ done
+ install -m 0644 ${S}/src/lib/ecore/Ecore_Data.h ${STAGING_INCDIR}/
+# install -m 0644 ${S}/ecore.m4 ${STAGING_DATADIR}/aclocal/
+}
+
+FILES_${PN} += "${libdir}/ecore_config_ipc_ecore.so.*"
+FILES_${PN}-dev += "${libdir}/ecore_config_ipc_ecore.so"
diff --git a/packages/nonworking/efl/ecore/.mtn2git_empty b/packages/nonworking/efl/ecore/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/nonworking/efl/ecore/.mtn2git_empty
diff --git a/packages/nonworking/efl/ecore/add-tslib-support.patch b/packages/nonworking/efl/ecore/add-tslib-support.patch
new file mode 100644
index 0000000000..c125122a91
--- /dev/null
+++ b/packages/nonworking/efl/ecore/add-tslib-support.patch
@@ -0,0 +1,104 @@
+
+#
+# tslib support for ecore, (C) Michael 'Mickey' Lauer <mickey@Vanille.de>
+#
+
+--- ecore/src/lib/ecore_fb/ecore_fb.c~add-tslib-support.patch
++++ ecore/src/lib/ecore_fb/ecore_fb.c
+@@ -4,6 +4,13 @@
+ #include "Ecore_Fb.h"
+ #include "ecore_private.h"
+
++
++#ifdef HAVE_TSLIB
++#include <tslib.h>
++#include <errno.h>
++#endif
++
++
+ #include <fcntl.h>
+ #include <unistd.h>
+ #include <stdio.h>
+@@ -77,6 +84,11 @@
+ unsigned char z;
+ };
+
++#ifdef HAVE_TSLIB
++struct tsdev *_ecore_fb_tslib_tsdev = NULL;
++struct ts_sample _ecore_fb_tslib_event;
++#endif
++
+ static void _ecore_fb_size_get(int *w, int *h);
+ static int _ecore_fb_ts_fd_handler(void *data, Ecore_Fd_Handler *fd_handler);
+ static int _ecore_fb_kbd_fd_handler(void *data, Ecore_Fd_Handler *fd_handler);
+@@ -269,10 +281,39 @@
+ ecore_fb_init(const char *name __UNUSED__)
+ {
+ int prev_flags;
++#ifdef HAVE_TSLIB
++ char *tslib_tsdevice = NULL;
++#endif
+
+ _ecore_fb_init_count++;
+ if (_ecore_fb_init_count > 1) return _ecore_fb_init_count;
++#ifdef HAVE_TSLIB
++ if ( ( tslib_tsdevice = getenv("TSLIB_TSDEVICE") ) != NULL )
++ {
++ printf( "ECORE_FB: TSLIB_TSDEVICE = '%s'\n", tslib_tsdevice );
++ _ecore_fb_tslib_tsdev = ts_open( tslib_tsdevice, 1 ); /* 1 = nonblocking, 0 = blocking */
++
++ if ( !_ecore_fb_tslib_tsdev )
++ {
++ printf( "ECORE_FB: Can't ts_open (%s)\n", strerror( errno ) );
++ return 0;
++ }
++
++ if ( ts_config( _ecore_fb_tslib_tsdev ) )
++ {
++ printf( "ECORE_FB: Can't ts_config (%s)\n", strerror( errno ) );
++ return 0;
++ }
++ _ecore_fb_ts_fd = ts_fd( _ecore_fb_tslib_tsdev );
++ if ( _ecore_fb_ts_fd < 0 )
++ {
++ printf( "ECORE_FB: Can't open touchscreen (%s)\n", strerror( errno ) );
++ return 0;
++ }
++ }
++#else
+ _ecore_fb_ts_fd = open("/dev/touchscreen/0", O_RDONLY);
++#endif
+ if (_ecore_fb_ts_fd >= 0)
+ {
+ prev_flags = fcntl(_ecore_fb_ts_fd, F_GETFL);
+@@ -790,7 +831,21 @@
+ char *ptr;
+ double t;
+ int did_triple = 0;
+-
++
++#ifdef HAVE_TSLIB
++ if ( _ecore_fb_ts_apply_cal )
++ num = ts_read_raw( _ecore_fb_tslib_tsdev, &_ecore_fb_tslib_event, 1 );
++ else
++ num = ts_read( _ecore_fb_tslib_tsdev, &_ecore_fb_tslib_event, 1 );
++ if ( num != 1 )
++ {
++ return 1; /* no more samples at this time */
++ }
++ x = _ecore_fb_tslib_event.x;
++ y = _ecore_fb_tslib_event.y;
++ pressure = _ecore_fb_tslib_event.pressure;
++ v = 1; /* loop, there might be more samples */
++#else
+ ptr = (char *)&(_ecore_fb_ts_event);
+ ptr += _ecore_fb_ts_event_byte_count;
+ num = sizeof(Ecore_Fb_Ts_Event) - _ecore_fb_ts_event_byte_count;
+@@ -811,6 +866,7 @@
+ y = _ecore_fb_ts_event.y;
+ }
+ pressure = _ecore_fb_ts_event.pressure;
++#endif
+ /* add event to queue */
+ /* always add a move event */
+ if ((pressure) || (prev_pressure))
diff --git a/packages/nonworking/efl/ecore/configure-abstract-sockets.patch b/packages/nonworking/efl/ecore/configure-abstract-sockets.patch
new file mode 100644
index 0000000000..359203b163
--- /dev/null
+++ b/packages/nonworking/efl/ecore/configure-abstract-sockets.patch
@@ -0,0 +1,16 @@
+Index: ecore-0.9.9.038/configure.in
+===================================================================
+--- ecore-0.9.9.038.orig/configure.in
++++ ecore-0.9.9.038/configure.in
+@@ -541,10 +541,7 @@ AC_ARG_ENABLE(abstract-sockets,
+ [ want_abstract_sockets="yes"]
+ )
+ if test "x$want_abstract_sockets" = "xyes"; then
+- AC_ABSTRACT_SOCKET_TEST(
+- [AC_DEFINE(HAVE_ABSTRACT_SOCKETS, 1, [Have abstract sockets namespace])],
+- []
+- )
++ HAVE_ABSTRACT_SOCKETS = 1
+ fi
+
+ ECORE_CHECK_MODULE([Con], [yes])
diff --git a/packages/nonworking/efl/ecore/configure.patch b/packages/nonworking/efl/ecore/configure.patch
new file mode 100644
index 0000000000..23d8193b44
--- /dev/null
+++ b/packages/nonworking/efl/ecore/configure.patch
@@ -0,0 +1,21 @@
+--- ecore-0.9.9.036/configure.in.bak 2006-11-13 14:01:10.000000000 -0800
++++ ecore-0.9.9.036/configure.in 2006-11-13 14:02:15.000000000 -0800
+@@ -16,7 +16,6 @@
+ AC_CHECK_SIZEOF(long, 4)
+ AM_ENABLE_SHARED
+ AM_PROG_LIBTOOL
+-AC_C___ATTRIBUTE__
+
+ if test "x${bindir}" = 'xNONE'; then
+ if test "x${prefix}" = "xNONE"; then
+@@ -200,9 +199,7 @@
+ AM_CONDITIONAL(BUILD_ECORE_X, true)
+ AC_DEFINE(BUILD_ECORE_X, 1, [Build Ecore_X Module])
+ have_ecore_x="yes"
+- x_dir=${x_dir:-/usr/X11R6}
+- x_cflags=${x_cflags:--I${x_includes:-$x_dir/include}}
+- x_libs="${x_libs:--L${x_libraries:-$x_dir/lib}} -lX11 -lXext"
++ x_libs="-lX11 -lXext"
+ ecore_x_libs="-lecore_x $x_libs";
+ ],[
+ AM_CONDITIONAL(BUILD_ECORE_X, false)
diff --git a/packages/nonworking/efl/ecore/ecore_kernel_input_header.patch b/packages/nonworking/efl/ecore/ecore_kernel_input_header.patch
new file mode 100644
index 0000000000..99f57ddcff
--- /dev/null
+++ b/packages/nonworking/efl/ecore/ecore_kernel_input_header.patch
@@ -0,0 +1,23 @@
+Index: ecore-0.9.9.036/src/lib/ecore_fb/ecore_fb_li.c
+===================================================================
+--- ecore-0.9.9.036.orig/src/lib/ecore_fb/ecore_fb_li.c 2006-09-05 01:36:43.000000000 +0100
++++ ecore-0.9.9.036/src/lib/ecore_fb/ecore_fb_li.c 2006-12-02 21:55:54.000000000 +0000
+@@ -1,6 +1,18 @@
+ #include "Ecore_Fb.h"
+ #include "ecore_fb_private.h"
+
++struct input_absinfo {
++ __s32 value;
++ __s32 minimum;
++ __s32 maximum;
++ __s32 fuzz;
++ __s32 flat;
++};
++
++
++#define EV_SYN 0x00
++#define EV_PWR 0x16
++#define EV_FF_STATUS 0x17
+
+ /* Copyright (C) Brad Hards (1999-2002).
+ * this macro is used to tell if "bit" is set in "array"
diff --git a/packages/nonworking/efl/ecore/fix-tslib-configure.patch b/packages/nonworking/efl/ecore/fix-tslib-configure.patch
new file mode 100644
index 0000000000..2c82b2741e
--- /dev/null
+++ b/packages/nonworking/efl/ecore/fix-tslib-configure.patch
@@ -0,0 +1,12 @@
+diff -Nur ecore-0.9.9.037~/configure.in ecore-0.9.9.037/configure.in
+--- ecore-0.9.9.037~/configure.in 2007-01-14 20:21:42.000000000 -0800
++++ ecore-0.9.9.037/configure.in 2007-01-14 20:22:18.000000000 -0800
+@@ -578,7 +578,7 @@
+ if test "x$want_ecore_fb" = "xyes"; then
+ AC_CHECK_HEADER(tslib.h,
+ [
+- tslib_libs="-ltslib"
++ tslib_libs="-lts"
+ AC_DEFINE(HAVE_TSLIB, 1, [Build Ecore_FB Touchscreen Code])
+ ]
+ )
diff --git a/packages/nonworking/efl/ecore/remove-bad-code.patch b/packages/nonworking/efl/ecore/remove-bad-code.patch
new file mode 100644
index 0000000000..87a8d16bd6
--- /dev/null
+++ b/packages/nonworking/efl/ecore/remove-bad-code.patch
@@ -0,0 +1,36 @@
+Index: ecore-0.9.9.037/src/lib/ecore_fb/ecore_fb_private.h
+===================================================================
+--- ecore-0.9.9.037.orig/src/lib/ecore_fb/ecore_fb_private.h
++++ ecore-0.9.9.037/src/lib/ecore_fb/ecore_fb_private.h
+@@ -19,8 +19,8 @@
+ #define kernel_ulong_t unsigned long
+ #define BITS_PER_LONG 32
+ #include <linux/input.h>
+- #undef kernel_ulong_t <-added
+- #undef BITS_PER_LONG <-added
++ #undef kernel_ulong_t
++ #undef BITS_PER_LONG
+ #else
+ #include <linux/input.h>
+ #endif
+Index: ecore-0.9.9.037/src/lib/ecore_fb/ecore_fb_li.c
+===================================================================
+--- ecore-0.9.9.037.orig/src/lib/ecore_fb/ecore_fb_li.c
++++ ecore-0.9.9.037/src/lib/ecore_fb/ecore_fb_li.c
+@@ -1,6 +1,6 @@
+ #include "Ecore_Fb.h"
+ #include "ecore_fb_private.h"
+-
++/*
+ struct input_absinfo {
+ __s32 value;
+ __s32 minimum;
+@@ -8,7 +8,7 @@ struct input_absinfo {
+ __s32 fuzz;
+ __s32 flat;
+ };
+-
++*/
+
+ #define EV_SYN 0x00
+ #define EV_PWR 0x16
diff --git a/packages/nonworking/efl/ecore/remove-tslib-configure.patch b/packages/nonworking/efl/ecore/remove-tslib-configure.patch
new file mode 100644
index 0000000000..40ed1c2c33
--- /dev/null
+++ b/packages/nonworking/efl/ecore/remove-tslib-configure.patch
@@ -0,0 +1,15 @@
+--- ecore/configure.in.~1.125.~ 2005-11-29 01:13:26.000000000 -0800
++++ ecore/configure.in 2006-01-12 11:21:42.000000000 -0800
+@@ -101,12 +101,6 @@
+ AC_CHECK_FUNCS(gettimeofday)
+
+ tslib_libs=""
+-AC_CHECK_HEADER(tslib.h,
+- [
+- tslib_libs="-ltslib"
+- AC_DEFINE(HAVE_TSLIB, 1, [Build Ecore_X Module])
+- ]
+-)
+ AC_SUBST(tslib_libs)
+
+ AC_CHECK_HEADERS(netinet/in.h)
diff --git a/packages/nonworking/efl/edb-native/.mtn2git_empty b/packages/nonworking/efl/edb-native/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/nonworking/efl/edb-native/.mtn2git_empty
diff --git a/packages/nonworking/efl/edb-native/no-gtk-forkbomb.patch b/packages/nonworking/efl/edb-native/no-gtk-forkbomb.patch
new file mode 100644
index 0000000000..8fe226846e
--- /dev/null
+++ b/packages/nonworking/efl/edb-native/no-gtk-forkbomb.patch
@@ -0,0 +1,12 @@
+diff -Nur edb-1.0.5.007~/configure.in edb-1.0.5.007/configure.in
+--- edb-1.0.5.007~/configure.in 2007-01-15 01:01:31.000000000 -0800
++++ edb-1.0.5.007/configure.in 2007-01-15 01:01:40.000000000 -0800
+@@ -404,7 +404,7 @@
+ ncurses_ok=no
+ gtk_ok=no
+
+-GTK_CONFIG=`which gtk-config`
++GTK_CONFIG=
+ if test -x "$GTK_CONFIG"; then
+ AC_CHECK_LIB(gtk, gtk_init, gtk_ok=yes, gtk_ok=no, `$GTK_CONFIG --libs`)
+ fi
diff --git a/packages/nonworking/efl/edb-native_1.0.5.007.bb b/packages/nonworking/efl/edb-native_1.0.5.007.bb
new file mode 100644
index 0000000000..f3f94086ce
--- /dev/null
+++ b/packages/nonworking/efl/edb-native_1.0.5.007.bb
@@ -0,0 +1,11 @@
+require edb_${PV}.bb
+inherit native
+DEPENDS = "zlib-native"
+
+SRC_URI += "file://no-gtk-forkbomb.patch;patch=1"
+
+EXTRA_OECONF += "--disable-gtk --disable-ncurses"
+
+do_stage_append () {
+ install -m 0755 tools/.libs/edb_ed ${STAGING_BINDIR}
+}
diff --git a/packages/nonworking/efl/edb-utils_1.0.5.007.bb b/packages/nonworking/efl/edb-utils_1.0.5.007.bb
new file mode 100644
index 0000000000..8d47e068a7
--- /dev/null
+++ b/packages/nonworking/efl/edb-utils_1.0.5.007.bb
@@ -0,0 +1,19 @@
+DESCRIPTION = "EDB is a database convenience library wrapped around the \
+Berkeley DB 2.7.7 by Sleepycat Software."
+DEPENDS = "zlib ncurses"
+LICENSE = "BSD"
+PR = "r4"
+
+inherit efl
+
+EXTRA_OECONF += "--disable-gtk"
+
+PACKAGES = "edb-utils"
+FILES_${PN} = "${bindir}/edb_ed ${bindir}/edb_vt_ed ${bindir}/edb_gtk_ed"
+RDEPENDS_${PN} += "ncurses"
+
+SRC_URI = "${E_URI}/edb-${PV}.tar.gz"
+S = "${WORKDIR}/edb-${PV}"
+
+libraries = ""
+headers = ""
diff --git a/packages/nonworking/efl/edb_1.0.5.007.bb b/packages/nonworking/efl/edb_1.0.5.007.bb
new file mode 100644
index 0000000000..9632fc4acc
--- /dev/null
+++ b/packages/nonworking/efl/edb_1.0.5.007.bb
@@ -0,0 +1,14 @@
+DESCRIPTION = "EDB is a database convenience library wrapped around the \
+Berkeley DB 2.7.7 by Sleepycat Software."
+DEPENDS = "zlib ncurses"
+# can depend on gtk and tcl/tk
+LICENSE = "BSD"
+PR = "r4"
+
+inherit efl
+
+EXTRA_OECONF += "--disable-gtk"
+
+libdirectory = "src"
+
+FILES_${PN}-examples = "" \ No newline at end of file
diff --git a/packages/nonworking/efl/edje-native_0.5.0.038.bb b/packages/nonworking/efl/edje-native_0.5.0.038.bb
new file mode 100644
index 0000000000..4e878ab204
--- /dev/null
+++ b/packages/nonworking/efl/edje-native_0.5.0.038.bb
@@ -0,0 +1,20 @@
+require edje_${PV}.bb
+PR = "r4"
+
+inherit native
+
+DEPENDS = "evas-native ecore-native eet-native embryo-native"
+FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/edje"
+
+do_configure_prepend() {
+ sed -i 's:EMBRYO_PREFIX"/bin:"${STAGING_BINDIR}:' ${S}/src/bin/edje_cc_out.c
+ sed -i 's:cpp -I:/usr/bin/cpp -I:' ${S}/src/bin/edje_cc_parse.c
+ sed -i 's:gcc -I:/usr/bin/gcc -I:' ${S}/src/bin/edje_cc_parse.c
+}
+
+do_install_append() {
+ edje_data_dir=`${S}/edje-config --datadir`
+ # could also use ${STAGING_DATADIR}/edje/include
+ install -d $edje_data_dir/include
+ install -m 0644 data/include/edje.inc $edje_data_dir/include
+}
diff --git a/packages/nonworking/efl/edje-utils_0.5.0.038.bb b/packages/nonworking/efl/edje-utils_0.5.0.038.bb
new file mode 100644
index 0000000000..f8eb917e4d
--- /dev/null
+++ b/packages/nonworking/efl/edje-utils_0.5.0.038.bb
@@ -0,0 +1,23 @@
+DESCRIPTION = "Edje is a complex graphical design & layout library."
+DEPENDS = "edje embryo-utils gcc"
+LICENSE = "MIT"
+PR = "r6"
+
+inherit efl
+
+PACKAGES = "edje-utils"
+FILES_${PN} = "${bindir}/edje ${bindir}/edje_* ${datadir}/edje/data/template ${datadir}/edje/include"
+RDEPENDS_${PN} += "embryo-utils cpp cpp-symlinks gcc gcc-symlinks"
+
+SRC_URI = "${E_URI}/edje-${PV}.tar.gz \
+ ${E_CVS};module=e17/libs/edje/m4;date=20060101"
+S = "${WORKDIR}/edje-${PV}"
+
+libraries = ""
+headers = ""
+
+do_configure_prepend() {
+ install -d "${S}/m4"
+ install "${WORKDIR}/m4/"*.m4 "${S}/m4"
+ aclocal -I m4
+}
diff --git a/packages/nonworking/efl/edje_0.5.0.038.bb b/packages/nonworking/efl/edje_0.5.0.038.bb
new file mode 100644
index 0000000000..d51dd119e4
--- /dev/null
+++ b/packages/nonworking/efl/edje_0.5.0.038.bb
@@ -0,0 +1,32 @@
+DESCRIPTION = "Edje is a complex graphical design & layout library."
+# can also install vim data files
+DEPENDS = "virtual/evas virtual/ecore eet embryo edje-native"
+LICENSE = "MIT"
+PR = "r7"
+
+## package.bbclass kills packages when there are duplicates, this means
+## that efl.bbclass can't have PACKAGES += and so the FILES for previous
+## packages take precedence over -utils
+#PACKAGES = "edje-utils"
+#RPROVIDES_edje-utils += "libedje-utils"
+#FILES_edje-utils = "${bindir}/edje ${bindir}/edje_* ${datadir}/edje/data/template ${datadir}/edje/include"
+#RDEPENDS_edje-utils += "libembryo-utils cpp cpp-symlinks gcc gcc-symlinks"
+
+inherit efl
+
+SRC_URI += "${E_CVS};module=e17/libs/edje/m4;date=20060101"
+
+do_configure_prepend() {
+ install -d "${S}/m4"
+ install "${WORKDIR}/m4/"*.m4 "${S}/m4"
+ aclocal -I m4
+}
+
+LEAD_SONAME = "libedje.so"
+
+FILES_${PN}-examples = "${datadir}/edje/data/images \
+ ${datadir}/edje/data/src \
+ ${datadir}/edje/data/test \
+ ${datadir}/edje/data/*.sh"
+
+FILES_${SRCNAME}-themes = ""
diff --git a/packages/nonworking/efl/eet-native_0.9.10.038.bb b/packages/nonworking/efl/eet-native_0.9.10.038.bb
new file mode 100644
index 0000000000..9e2426ca9f
--- /dev/null
+++ b/packages/nonworking/efl/eet-native_0.9.10.038.bb
@@ -0,0 +1,4 @@
+require eet_${PV}.bb
+inherit native
+DEPENDS = "zlib-native jpeg-native"
+
diff --git a/packages/nonworking/efl/eet_0.9.10.038.bb b/packages/nonworking/efl/eet_0.9.10.038.bb
new file mode 100644
index 0000000000..6e6032e098
--- /dev/null
+++ b/packages/nonworking/efl/eet_0.9.10.038.bb
@@ -0,0 +1,9 @@
+DESCRIPTION = "EET is a tiny library designed to write an \
+arbitary set of chunks of data to a file and optionally compress \
+each chunk (very much like a zip file) and allow fast \
+random-access reading of the file later on."
+DEPENDS = "zlib jpeg"
+LICENSE = "BSD"
+PR = "r2"
+
+inherit efl
diff --git a/packages/nonworking/efl/efl.bbclass b/packages/nonworking/efl/efl.bbclass
new file mode 100644
index 0000000000..808bf2eaae
--- /dev/null
+++ b/packages/nonworking/efl/efl.bbclass
@@ -0,0 +1,52 @@
+inherit e
+
+SECTION = "e/libs"
+
+SRCNAME = "${@bb.data.getVar('PN', d, 1).replace('-native', '')}"
+SRC_URI = "${E_URI}/${SRCNAME}-${PV}.tar.gz"
+S = "${WORKDIR}/${SRCNAME}-${PV}"
+
+INHIBIT_AUTO_STAGE_INCLUDES = "1"
+INHIBIT_NATIVE_STAGE_INSTALL = "1"
+
+libdirectory = "src/lib"
+libraries = "lib${SRCNAME}"
+headers = "${@bb.data.getVar('SRCNAME',d,1).capitalize()}.h"
+
+def efl_is_native(d):
+ import bb
+ return ["","-native"][bb.data.inherits_class('native', d)]
+
+do_stage_append () {
+ for i in ${libraries}
+ do
+ oe_libinstall -C ${libdirectory} $i ${STAGING_LIBDIR}
+ done
+ for i in ${headers}
+ do
+ install -m 0644 ${libdirectory}/$i ${STAGING_INCDIR}
+ done
+
+ # Install binaries automatically for native builds
+ if [ "${@efl_is_native(d)}" = "-native" ]
+ then
+
+ # Most EFL binaries start with the package name
+ for i in src/bin/${SRCNAME}*
+ do
+ if [ -x $i -a -f $i ]
+ then
+
+ # Don't install anything with an extension (.so, etc)
+ if echo $i | grep -v \\.
+ then
+ ${HOST_SYS}-libtool --mode=install install -m 0755 $i ${STAGING_BINDIR}
+ fi
+ fi
+ done
+ fi
+}
+
+PACKAGES = "${PN}-dbg ${PN} ${PN}-themes ${PN}-dev ${PN}-examples"
+FILES_${PN}-dev += "${bindir}/${PN}-config ${libdir}/pkgconfig ${libdir}/lib*.?a ${libdir}/lib*.a"
+FILES_${PN}-examples = "${bindir} ${datadir}"
diff --git a/packages/nonworking/efl/efreet-native_0.0.3.002.bb b/packages/nonworking/efl/efreet-native_0.0.3.002.bb
new file mode 100644
index 0000000000..470d9e2dab
--- /dev/null
+++ b/packages/nonworking/efl/efreet-native_0.0.3.002.bb
@@ -0,0 +1,3 @@
+require efreet_${PV}.bb
+inherit native
+DEPENDS = "ecore-native"
diff --git a/packages/nonworking/efl/efreet_0.0.3.002.bb b/packages/nonworking/efl/efreet_0.0.3.002.bb
new file mode 100644
index 0000000000..2ef049eed7
--- /dev/null
+++ b/packages/nonworking/efl/efreet_0.0.3.002.bb
@@ -0,0 +1,8 @@
+DESCRIPTION = "An implementation of freedesktop.org specs for the EFL"
+DEPENDS = "virtual/ecore"
+LICENSE = "BSD"
+PR = "r0"
+
+inherit efl
+
+headers += "efreet_base.h efreet_desktop.h efreet_icon.h efreet_ini.h efreet_menu.h efreet_private.h efreet_utils.h efreet_xml.h"
diff --git a/packages/nonworking/efl/embryo-native_0.9.1.038.bb b/packages/nonworking/efl/embryo-native_0.9.1.038.bb
new file mode 100644
index 0000000000..76fe80fe3d
--- /dev/null
+++ b/packages/nonworking/efl/embryo-native_0.9.1.038.bb
@@ -0,0 +1,7 @@
+require embryo_${PV}.bb
+inherit native
+
+do_stage_append() {
+ install -d ${STAGING_DATADIR}/embryo/include
+ install -m 0644 include/default.inc ${STAGING_DATADIR}/embryo/include
+} \ No newline at end of file
diff --git a/packages/nonworking/efl/embryo-utils_0.9.1.038.bb b/packages/nonworking/efl/embryo-utils_0.9.1.038.bb
new file mode 100644
index 0000000000..d507c53cce
--- /dev/null
+++ b/packages/nonworking/efl/embryo-utils_0.9.1.038.bb
@@ -0,0 +1,18 @@
+DESCRIPTION = "Embryo implements a C like scripting language used in various parts \
+of the Enlightenment project, namely Edje. Embryo's scripting language is based on \
+CompuPhase's Small language that was introduced in Dr Dobb's Journal in 1999. \
+Embryo allows scripting capabilities in places that otherwise wouldn't support \
+basic programming structures such as in Edje EDCs."
+LICENSE = "MIT"
+PR = "r4"
+
+inherit efl
+
+SRC_URI = "${E_URI}/embryo-${PV}.tar.gz"
+S = "${WORKDIR}/embryo-${PV}"
+
+PACKAGES = "embryo-utils"
+FILES_${PN} = "${bindir}/embryo ${bindir}/embryo_* ${datadir}/embryo/include"
+
+libraries = ""
+headers = ""
diff --git a/packages/nonworking/efl/embryo_0.9.1.038.bb b/packages/nonworking/efl/embryo_0.9.1.038.bb
new file mode 100644
index 0000000000..0009c0a149
--- /dev/null
+++ b/packages/nonworking/efl/embryo_0.9.1.038.bb
@@ -0,0 +1,11 @@
+DESCRIPTION = "Embryo implements a C like scripting language used in various parts \
+of the Enlightenment project, namely Edje. Embryo's scripting language is based on \
+CompuPhase's Small language that was introduced in Dr Dobb's Journal in 1999. \
+Embryo allows scripting capabilities in places that otherwise wouldn't support \
+basic programming structures such as in Edje EDCs."
+LICENSE = "MIT"
+PR = "r4"
+
+inherit efl
+
+FILES_${PN}-examples = "${datadir}/${PN}/examples" \ No newline at end of file
diff --git a/packages/nonworking/efl/emotion_20061116.bb b/packages/nonworking/efl/emotion_20061116.bb
new file mode 100644
index 0000000000..59a3fa7269
--- /dev/null
+++ b/packages/nonworking/efl/emotion_20061116.bb
@@ -0,0 +1,18 @@
+DESCRIPTION = "Emotion is a multimedia library based on libxine"
+LICENSE = "MIT"
+DEPENDS = "eet virtual/evas edje virtual/ecore embryo gstreamer gst-plugins-base"
+# virtual/libxine
+#RPROVIDES += "emotion-themes emotion-plugins"
+RDEPENDS += "emotion-themes emotion-plugins"
+
+PR = "r1"
+
+#FIXME: Needs patch not to build the examples when building against ecore-fb, because the examples depend on ecore-x11
+
+inherit efl
+
+SRC_URI = "${E_CVS};module=e17/libs/emotion;date=${PV}"
+S = "${WORKDIR}/emotion"
+
+PACKAGES += "emotion-plugins"
+FILES_emotion-plugins = "${libdir}/xine/plugins/1.1.0/*.so ${libdir}/emotion/*.so"
diff --git a/packages/nonworking/efl/engrave_20060128.bb b/packages/nonworking/efl/engrave_20060128.bb
new file mode 100644
index 0000000000..63eb24eb1f
--- /dev/null
+++ b/packages/nonworking/efl/engrave_20060128.bb
@@ -0,0 +1,17 @@
+DESCRIPTION = "Engrave is an Edje Editing Library"
+LICENSE = "MIT"
+# also requires yacc and lex on host
+DEPENDS = "virtual/evas virtual/ecore"
+
+inherit efl
+
+SRC_URI = "${E_CVS};module=e17/libs/engrave;date=${PV}"
+S = "${WORKDIR}/engrave"
+
+do_stage_append() {
+ for i in src/lib/engrave*.h
+ do
+ install -m 0644 $i ${STAGING_INCDIR}
+ done
+}
+
diff --git a/packages/nonworking/efl/epdf_20060418.bb b/packages/nonworking/efl/epdf_20060418.bb
new file mode 100644
index 0000000000..9f7bd0a255
--- /dev/null
+++ b/packages/nonworking/efl/epdf_20060418.bb
@@ -0,0 +1,9 @@
+DESCRIPTION = "EPDF is the EFL PDF rendering library based on poppler"
+DEPENDS = "etk poppler"
+LICENSE = "MIT"
+PR = "r0"
+
+inherit efl
+
+SRC_URI = "${E_CVS};module=e17/proto/epdf;date=${PV}"
+S = "${WORKDIR}/epdf"
diff --git a/packages/nonworking/efl/epeg_0.9.0.008.bb b/packages/nonworking/efl/epeg_0.9.0.008.bb
new file mode 100644
index 0000000000..c35ec63606
--- /dev/null
+++ b/packages/nonworking/efl/epeg_0.9.0.008.bb
@@ -0,0 +1,5 @@
+DESCRIPTION = "Epeg is a small library for handling thumbnails."
+LICENSE = "MIT"
+DEPENDS = "jpeg"
+
+inherit efl
diff --git a/packages/nonworking/efl/epsilon/.mtn2git_empty b/packages/nonworking/efl/epsilon/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/nonworking/efl/epsilon/.mtn2git_empty
diff --git a/packages/nonworking/efl/epsilon/compile-fix.patch b/packages/nonworking/efl/epsilon/compile-fix.patch
new file mode 100644
index 0000000000..1c42cc59c4
--- /dev/null
+++ b/packages/nonworking/efl/epsilon/compile-fix.patch
@@ -0,0 +1,15 @@
+
+#
+# Patch managed by http://www.holgerschurig.de/patcher.html
+#
+
+--- epsilon-0.3.0.004/src/lib/exiftags/exif.c~compile-fix
++++ epsilon-0.3.0.004/src/lib/exiftags/exif.c
+@@ -48,7 +48,6 @@
+ #include <stdlib.h>
+ #include <string.h>
+ #include <errno.h>
+-#include <math.h>
+ #include <float.h>
+ #include <ctype.h>
+
diff --git a/packages/nonworking/efl/epsilon/server-is-not-client.patch b/packages/nonworking/efl/epsilon/server-is-not-client.patch
new file mode 100644
index 0000000000..e96e528b9e
--- /dev/null
+++ b/packages/nonworking/efl/epsilon/server-is-not-client.patch
@@ -0,0 +1,11 @@
+--- /tmp/epsilon_private.h 2006-12-01 12:06:30.000000000 +0100
++++ epsilon-0.3.0.007/src/include/epsilon_private.h 2006-12-01 12:07:10.928254000 +0100
+@@ -41,7 +41,7 @@
+ Epsilon_Message *epsilon_message_new(int clientid, char *path, char *dst, int status);
+
+ int epsilon_ipc_client_send(Ecore_Con_Client *cl, Epsilon_Message *msg);
+-int epsilon_ipc_server_send(Ecore_Con_Client *cl, Epsilon_Message *msg);
++int epsilon_ipc_server_send(Ecore_Con_Server *srv, Epsilon_Message *msg);
+
+ Epsilon_Message *epsilon_ipc_consume(Epsilon_Ipc_End *end);
+
diff --git a/packages/nonworking/efl/epsilon_0.3.0.008.bb b/packages/nonworking/efl/epsilon_0.3.0.008.bb
new file mode 100644
index 0000000000..d3c1cba1e4
--- /dev/null
+++ b/packages/nonworking/efl/epsilon_0.3.0.008.bb
@@ -0,0 +1,17 @@
+DESCRIPTION = "Epsilon is a flexable and powerful image thumbnailing library \
+that is complient with the freedesktop.org Thumbnail Managing Standard."
+LICENSE = "GPL"
+DEPENDS = "imlib2 epeg libpng evas ecore edje perl-native"
+PR = "r0"
+
+inherit efl1
+
+#SRC_URI += "file://compile-fix.patch;patch=1 \
+# ${E_CVS};module=e17/libs/epsilon/m4;date=20060101"
+# file://server-is-not-client.patch;patch=1 \
+
+#do_configure_prepend() {
+# install -d "${S}/m4"
+# install "${WORKDIR}/m4/"*.m4 "${S}/m4"
+# aclocal -I m4
+#}
diff --git a/packages/nonworking/efl/esmart-fb_0.9.0.008.bb b/packages/nonworking/efl/esmart-fb_0.9.0.008.bb
new file mode 100644
index 0000000000..a2fab3ca09
--- /dev/null
+++ b/packages/nonworking/efl/esmart-fb_0.9.0.008.bb
@@ -0,0 +1,16 @@
+require esmart.inc
+PR = "r0"
+
+SRC_URI += "file://disable-x-only-features.patch;patch=1"
+
+myheaders = "esmart_container/Esmart_Container.h \
+ esmart_draggies/Esmart_Draggies.h \
+ esmart_file_dialog/Esmart_File_Dialog.h \
+ esmart_text_entry/Esmart_Text_Entry.h \
+ esmart_thumb/Esmart_Thumb.h"
+
+mylibraries = "esmart_container \
+ esmart_draggies \
+ esmart_file_dialog \
+ esmart_text_entry \
+ esmart_thumb"
diff --git a/packages/nonworking/efl/esmart-x11_0.9.0.008.bb b/packages/nonworking/efl/esmart-x11_0.9.0.008.bb
new file mode 100644
index 0000000000..7b80b581a1
--- /dev/null
+++ b/packages/nonworking/efl/esmart-x11_0.9.0.008.bb
@@ -0,0 +1,24 @@
+require esmart.inc
+PR = "r2"
+
+SRC_URI += "file://include-stdio.patch;patch=1"
+
+myheaders = "esmart_container/Esmart_Container.h \
+ esmart_draggies/Esmart_Draggies.h \
+ esmart_file_dialog/Esmart_File_Dialog.h \
+ esmart_text_entry/Esmart_Text_Entry.h \
+ esmart_thumb/Esmart_Thumb.h \
+ esmart_trans_x11/Esmart_Trans_X11.h"
+# esmart_textarea/Esmart_Textarea.h \
+
+mylibraries = "esmart_container \
+ esmart_draggies \
+ esmart_file_dialog \
+ esmart_text_entry \
+ esmart_thumb \
+ esmart_trans_x11"
+# esmart_textarea \
+
+do_compile_prepend() {
+ find ${S} -type f -name "*.[ch]" | xargs sed -i 's:NULL:0:g'
+} \ No newline at end of file
diff --git a/packages/nonworking/efl/esmart.inc b/packages/nonworking/efl/esmart.inc
new file mode 100644
index 0000000000..9b8114de53
--- /dev/null
+++ b/packages/nonworking/efl/esmart.inc
@@ -0,0 +1,51 @@
+DESCRIPTION = "ESmart is a collection of smart Evas objects"
+LICENSE = "MIT"
+DEPENDS = "virtual/evas virtual/ecore virtual/imlib2 epsilon edje libtool"
+PROVIDES += "virtual/esmart"
+
+inherit efl
+
+SRC_URI = "http://enlightenment.freedesktop.org/files/esmart-${PV}.tar.gz \
+ ${E_CVS};module=e17/libs/esmart/m4;date=20060101"
+
+do_configure_prepend() {
+ install -d "${S}/m4"
+ install "${WORKDIR}/m4/"*.m4 "${S}/m4"
+ aclocal -I m4
+}
+
+S = "${WORKDIR}/esmart-${PV}"
+FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/esmart"
+
+headers = ""
+libraries = ""
+
+myheaders = "<override me>"
+mylibraries = "<override me>"
+
+do_stage_append() {
+ install -d ${STAGING_INCDIR}/Esmart/
+ for i in ${myheaders}; do
+ install -m 0644 ${S}/src/lib/$i ${STAGING_INCDIR}/Esmart/
+ done
+ oe_libinstall -C src/lib libsmart ${STAGING_LIBDIR}/
+ for i in ${mylibraries}; do
+ oe_libinstall -C src/lib/$i lib$i ${STAGING_LIBDIR}/
+ done
+}
+
+PACKAGES =+ "libesmart-textentry \
+ libesmart-thumb \
+ libesmart-container \
+ libesmart-container-plugins \
+ libesmart-file-dialog \
+ libesmart-draggies \
+ libesmart-trans-x11"
+FILES_libesmart-textentry = "${libdir}/libesmart_text_entry*.so*"
+FILES_libesmart-thumb = "${libdir}/libesmart_thumb*.so*"
+FILES_libesmart-container = "${libdir}/libesmart_container*"
+DEPENDS_libesmart-container += "libesmart-container-plugins"
+FILES_libesmart-container-plugins = "${libdir}/esmart/layout/*.so"
+FILES_libesmart-file-dialog = "${libdir}/libesmart_file_dialog*.so*"
+FILES_libesmart-draggies = "${libdir}/libesmart_draggies*.so*"
+FILES_libesmart-trans-x11 = "${libdir}/libesmart_trans_x11*.so*"
diff --git a/packages/nonworking/efl/esmart/.mtn2git_empty b/packages/nonworking/efl/esmart/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/nonworking/efl/esmart/.mtn2git_empty
diff --git a/packages/nonworking/efl/esmart/compile-fix.patch b/packages/nonworking/efl/esmart/compile-fix.patch
new file mode 100644
index 0000000000..08ca835aa7
--- /dev/null
+++ b/packages/nonworking/efl/esmart/compile-fix.patch
@@ -0,0 +1,16 @@
+
+#
+# Patch managed by http://www.holgerschurig.de/patcher.html
+#
+
+--- esmart-0.9.0.004/src/lib/esmart_container/esmart_container.c~compile-fix
++++ esmart-0.9.0.004/src/lib/esmart_container/esmart_container.c
+@@ -30,7 +30,7 @@
+ return _sort_func(o, oo);
+ }
+
+-void esmart_container_sort(Evas_Object *container, int (*func)(Evas_Object *, Evas_Object *$))
++void esmart_container_sort(Evas_Object *container, int (*func)(Evas_Object *, Evas_Object *))
+ {
+ Container *cont;
+
diff --git a/packages/nonworking/efl/esmart/disable-x-only-features.patch b/packages/nonworking/efl/esmart/disable-x-only-features.patch
new file mode 100644
index 0000000000..68dd363f74
--- /dev/null
+++ b/packages/nonworking/efl/esmart/disable-x-only-features.patch
@@ -0,0 +1,25 @@
+
+#
+# Patch managed by http://www.holgerschurig.de/patcher.html
+#
+
+--- esmart-0.9.0.007/src/lib/Makefile.am~disable-x-only-features.patch
++++ esmart-0.9.0.007/src/lib/Makefile.am
+@@ -1,9 +1,7 @@
+ SUBDIRS = \
+ esmart_container \
+- esmart_draggies \
+ esmart_text_entry \
+ esmart_file_dialog \
+- esmart_thumb \
+- esmart_trans_x11
++ esmart_thumb
+
+ # esmart_textarea
+--- esmart-0.9.0.007/src/Makefile.am~disable-x-only-features.patch
++++ esmart-0.9.0.007/src/Makefile.am
+@@ -1,3 +1,3 @@
+ MAINTAINERCLEANFILES = Makefile.in
+
+-SUBDIRS = lib bin
++SUBDIRS = lib
diff --git a/packages/nonworking/efl/esmart/ecore-fix.patch b/packages/nonworking/efl/esmart/ecore-fix.patch
new file mode 100644
index 0000000000..94deff0b95
--- /dev/null
+++ b/packages/nonworking/efl/esmart/ecore-fix.patch
@@ -0,0 +1,10 @@
+--- esmart-0.9.0.004/src/lib/esmart_trans_x11/esmart_trans_x11.c~ 2004-11-10 07:18:23.000000000 -0800
++++ esmart-0.9.0.004/src/lib/esmart_trans_x11/esmart_trans_x11.c 2005-09-29 11:22:52.000000000 -0700
+@@ -9,6 +9,7 @@
+ #include <X11/Xlib.h>
+ #include <Imlib2.h>
+ #include <Ecore.h>
++#include <Ecore_Data.h>
+ #include <Ecore_X.h>
+ #include <assert.h>
+
diff --git a/packages/nonworking/efl/esmart/include-stdio.patch b/packages/nonworking/efl/esmart/include-stdio.patch
new file mode 100644
index 0000000000..20a490f421
--- /dev/null
+++ b/packages/nonworking/efl/esmart/include-stdio.patch
@@ -0,0 +1,22 @@
+diff -Nur esmart-0.9.0.004~/src/bin/esmart_file_dialog_test.c esmart-0.9.0.004/src/bin/esmart_file_dialog_test.c
+--- esmart-0.9.0.004~/src/bin/esmart_file_dialog_test.c 2005-09-29 14:33:09.000000000 -0700
++++ esmart-0.9.0.004/src/bin/esmart_file_dialog_test.c 2005-09-29 14:33:48.000000000 -0700
+@@ -8,6 +8,7 @@
+ * $ esmart_file_dialog_test /path/to/my_custom/theme.eet
+ * to test a custom theme you've written for it
+ */
++#include <stdio.h>
+ #include <Ecore.h>
+ #include <Edje.h>
+ #include <Ecore_Evas.h>
+diff -Nur esmart-0.9.0.004~/src/lib/esmart_trans_x11/esmart_trans_x11.c esmart-0.9.0.004/src/lib/esmart_trans_x11/esmart_trans_x11.c
+--- esmart-0.9.0.004~/src/lib/esmart_trans_x11/esmart_trans_x11.c 2005-09-29 14:33:09.000000000 -0700
++++ esmart-0.9.0.004/src/lib/esmart_trans_x11/esmart_trans_x11.c 2005-09-29 14:33:19.000000000 -0700
+@@ -4,6 +4,7 @@
+ *
+ ***************************************************************************/
+
++#include <stdio.h>
+ #include <stdlib.h>
+ #include "config.h"
+ #include <X11/Xlib.h>
diff --git a/packages/nonworking/efl/etk_0.1.0.003.bb b/packages/nonworking/efl/etk_0.1.0.003.bb
new file mode 100644
index 0000000000..e283adef23
--- /dev/null
+++ b/packages/nonworking/efl/etk_0.1.0.003.bb
@@ -0,0 +1,17 @@
+DESCRIPTION = "Etk is an advanced widget toolkit based on the Enlightenment Foundation Libraries."
+DEPENDS = "evas-x11 ecore-x11 edje"
+LICENSE = "MIT"
+PR = "r1"
+
+inherit efl
+
+SRC_URI = "http://enlightenment.freedesktop.org/files/etk-${PV}.tar.gz"
+
+do_stage() {
+ autotools_stage_all
+}
+
+FILES_${PN} += "${libdir}/etk/engines/*.so"
+FILES_${PN}-dev += "${libdir}/etk/engines/*.a ${libdir}/etk/engines/*.la"
+FILES_${PN}-dbg += "${libdir}/etk/engines/*/.debug/"
+
diff --git a/packages/nonworking/efl/evas-fb_0.9.9.038.bb b/packages/nonworking/efl/evas-fb_0.9.9.038.bb
new file mode 100644
index 0000000000..4acc857982
--- /dev/null
+++ b/packages/nonworking/efl/evas-fb_0.9.9.038.bb
@@ -0,0 +1,47 @@
+require evas.inc
+PR = "r6"
+
+EXTRA_OECONF = "--enable-fb \
+ --disable-directfb \
+ --enable-buffer \
+ --disable-software-qtopia \
+ --disable-software-x11 \
+ --disable-gl-x11 \
+ --disable-xrender-x11 \
+ --enable-image-loader-eet \
+ --disable-image-loader-edb \
+ --enable-image-loader-png \
+ --enable-image-loader-jpeg \
+ --enable-small-dither-mask \
+ --enable-cpu-c \
+ --enable-font-loader-eet \
+ --enable-scale-sample \
+ --enable-scale-smooth \
+ --enable-convert-yuv \
+ --enable-convert-8-rgb-332 \
+ --enable-convert-8-rgb-666 \
+ --enable-convert-8-rgb-232 \
+ --enable-convert-8-rgb-222 \
+ --enable-convert-8-rgb-221 \
+ --enable-convert-8-rgb-121 \
+ --enable-convert-8-rgb-111 \
+ --enable-convert-16-rgb-565 \
+ --enable-convert-16-rgb-555 \
+ --enable-convert-16-rgb-444 \
+ --enable-convert-16-rgb-ipq \
+ --enable-convert-16-rgb-rot-0 \
+ --enable-convert-16-rgb-rot-90 \
+ --enable-convert-16-rgb-rot-270 \
+ --enable-convert-24-rgb-888 \
+ --enable-convert-24-bgr-888 \
+ --enable-convert-32-rgb-8888 \
+ --enable-convert-32-rgbx-8888 \
+ --enable-convert-32-bgr-8888 \
+ --enable-convert-32-bgrx-8888 \
+ --enable-convert-32-rgb-rot-0 \
+ --enable-convert-32-rgb-rot-90 \
+ --enable-convert-32-rgb-rot-270"
+
+headers = "../modules/engines/buffer/Evas_Engine_Buffer.h \
+ ../modules/engines/fb/Evas_Engine_FB.h \
+ Evas.h"
diff --git a/packages/nonworking/efl/evas-native_0.9.9.038.bb b/packages/nonworking/efl/evas-native_0.9.9.038.bb
new file mode 100644
index 0000000000..68dacbc809
--- /dev/null
+++ b/packages/nonworking/efl/evas-native_0.9.9.038.bb
@@ -0,0 +1,5 @@
+require evas-fb_${PV}.bb
+inherit native
+DEPENDS = "freetype-native libpng-native jpeg-native eet-native"
+PROVIDES = "evas-native"
+
diff --git a/packages/nonworking/efl/evas-x11_0.9.9.038.bb b/packages/nonworking/efl/evas-x11_0.9.9.038.bb
new file mode 100644
index 0000000000..4c5ef29515
--- /dev/null
+++ b/packages/nonworking/efl/evas-x11_0.9.9.038.bb
@@ -0,0 +1,55 @@
+require evas.inc
+DEPENDS += "edb virtual/libx11 libxext freetype"
+PR = "r10"
+
+EXTRA_OECONF = "--x-includes=${STAGING_INCDIR}/X11 \
+ --x-libraries=${STAGING_LIBDIR} \
+ --enable-fb \
+ --disable-directfb \
+ --enable-buffer \
+ --disable-software-qtopia \
+ --enable-software-x11 \
+ --enable-software-16-x11 \
+ --disable-gl-x11 \
+ --enable-image-loader-eet \
+ --enable-image-loader-edb \
+ --enable-image-loader-png \
+ --enable-image-loader-jpeg \
+ --enable-small-dither-mask \
+ --enable-cpu-c \
+ --enable-font-loader-eet \
+ --enable-scale-sample \
+ --enable-scale-smooth \
+ --enable-convert-yuv \
+ --disable-image-loader-svg \
+ --disable-convert-8-rgb-332 \
+ --disable-convert-8-rgb-666 \
+ --disable-convert-8-rgb-232 \
+ --disable-convert-8-rgb-222 \
+ --disable-convert-8-rgb-221 \
+ --disable-convert-8-rgb-121 \
+ --disable-convert-8-rgb-111 \
+ --enable-convert-16-rgb-565 \
+ --disable-convert-16-rgb-555 \
+ --disable-convert-16-rgb-444 \
+ --disable-convert-16-rgb-ipq \
+ --enable-convert-16-rgb-rot-0 \
+ --enable-convert-16-rgb-rot-90 \
+ --enable-convert-16-rgb-rot-270 \
+ --disable-convert-24-rgb-888 \
+ --disable-convert-24-bgr-888 \
+ --disable-convert-32-rgb-8888 \
+ --disable-convert-32-rgbx-8888 \
+ --enable-convert-32-bgr-8888 \
+ --enable-convert-32-bgrx-8888 \
+ --disable-convert-32-rgb-rot-0 \
+ --disable-convert-32-rgb-rot-90 \
+ --disable-convert-32-rgb-rot-270"
+
+headers = "../modules/engines/software_x11/Evas_Engine_Software_X11.h \
+ ../modules/engines/software_16_x11/Evas_Engine_Software_16_X11.h \
+ ../modules/engines/xrender_x11/Evas_Engine_XRender_X11.h \
+ ../modules/engines/buffer/Evas_Engine_Buffer.h \
+ ../modules/engines/fb/Evas_Engine_FB.h \
+ Evas.h"
+
diff --git a/packages/nonworking/efl/evas.inc b/packages/nonworking/efl/evas.inc
new file mode 100644
index 0000000000..a175099c31
--- /dev/null
+++ b/packages/nonworking/efl/evas.inc
@@ -0,0 +1,50 @@
+DESCRIPTION = "Evas is a hardware-accelerated canvas API that can draw \
+anti-aliased text, smooth super and sub-images, alpha-blend, as well as drop \
+down to using normal X11 primitives such as pixmaps, lines and rectangles if \
+your CPU or graphics hardware are too slow."
+LICENSE = "MIT"
+# can also depend on valgrind (?)
+DEPENDS = "freetype libpng jpeg eet"
+PROVIDES += "virtual/evas"
+
+inherit efl lib_package
+
+export FREETYPE_CONFIG = "${STAGING_BINDIR_CROSS}/freetype-config"
+
+SRC_URI = "http://enlightenment.freedesktop.org/files/evas-${PV}.tar.gz \
+ file://fix-configure.patch;patch=1 \
+ ${E_CVS};module=e17/libs/evas/m4;date=20060101"
+# file://pagesize.patch;patch=1 \
+
+S = "${WORKDIR}/evas-${PV}"
+FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/evas"
+
+EXTRA_OECONF = "<override me>"
+
+do_configure_prepend() {
+ if [ -e "${WORKDIR}/m4" ]; then
+ install -d "${S}/m4"
+ install "${WORKDIR}/m4/"*.m4 "${S}/m4"
+ aclocal -I m4
+ fi
+}
+
+#do_install_append() {
+# find "${S}" -name .debug -type d | xargs -iBLAH rm -rf "BLAH"
+#}
+
+do_stage_append() {
+ cd src
+ modules=`find modules -name ".libs"`
+ for module in $modules
+ do
+ install -d ${STAGING_LIBDIR}/evas/`dirname $module`/${TARGET_OS}-gnu-${TARGET_ARCH}
+ install -m 0755 $module/module.so ${STAGING_LIBDIR}/evas/`dirname $module`/${TARGET_OS}-gnu-${TARGET_ARCH}/module.so
+ done
+}
+
+headers = "<override me>"
+libraries = "libevas"
+FILES_${PN} += "/usr/lib/evas/modules/*/*/*/*.so"
+FILES_${PN}-dev += "/usr/lib/evas/modules/*/*/*/*.a /usr/lib/evas/modules/*/*/*/*.la"
+FILES_${PN}-dbg += "/usr/lib/evas/modules/*/*/*/.debug/"
diff --git a/packages/nonworking/efl/evas/.mtn2git_empty b/packages/nonworking/efl/evas/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/nonworking/efl/evas/.mtn2git_empty
diff --git a/packages/nonworking/efl/evas/fix-configure.patch b/packages/nonworking/efl/evas/fix-configure.patch
new file mode 100644
index 0000000000..abf9b94bdf
--- /dev/null
+++ b/packages/nonworking/efl/evas/fix-configure.patch
@@ -0,0 +1,36 @@
+diff -Nur evas-0.9.9.037~/configure.in evas-0.9.9.037/configure.in
+--- evas-0.9.9.037~/configure.in 2007-01-14 20:09:57.000000000 -0800
++++ evas-0.9.9.037/configure.in 2007-01-14 20:11:09.000000000 -0800
+@@ -161,9 +161,7 @@
+ AC_CHECK_HEADER(X11/X.h,
+ [
+ AC_DEFINE(BUILD_ENGINE_SOFTWARE_X11, 1, [Software X11 Rendering Backend])
+- x_dir=${x_dir:-/usr/X11R6}
+- x_cflags=${x_cflags:--I${x_includes:-$x_dir/include}}
+- x_libs="${x_libs:--L${x_libraries:-$x_dir/lib}} -lX11 -lXext"
++ x_libs="-lX11 -lXext"
+ ],
+ [
+ AC_MSG_RESULT(disabling software X11 engine)
+@@ -407,10 +405,10 @@
+ AC_DEFINE(BUILD_ENGINE_GL_X11, 1, [OpenGL X11 Rendering Backend])
+ AM_CONDITIONAL(BUILD_ENGINE_GL_COMMON, true)
+ AC_DEFINE(BUILD_ENGINE_GL_COMMON, 1, [Generic OpenGL Rendering Support])
+- x_dir=${x_dir:-/usr/X11R6};
++ x_dir=${x_dir:-};
+ x_cflags=${x_cflags:--I$x_dir/include}
+ x_libs="${x_libs:--L$x_dir/lib -lX11 -lXext}"
+- gl_cflags="-I/usr/include"
++ gl_cflags=""
+ gl_libs="-lGL -lGLU -lpthread"
+ gl_dir=""
+ ], [
+@@ -471,7 +469,7 @@
+ AC_DEFINE(BUILD_ENGINE_CAIRO_X11, 1, [Cairo X11 Rendering Backend])
+ AM_CONDITIONAL(BUILD_ENGINE_CAIRO_COMMON, true)
+ AC_DEFINE(BUILD_ENGINE_CAIRO_COMMON, 1, [Generic Cairo Rendering Support])
+- x_dir="/usr/X11R6";
++ x_dir="";
+ x_cflags="-I"$x_dir"/include"
+ x_libs="-L"$x_dir"/lib -lX11 -lXext"
+ ], [
diff --git a/packages/nonworking/efl/evas/pagesize.patch b/packages/nonworking/efl/evas/pagesize.patch
new file mode 100644
index 0000000000..5efd16a96e
--- /dev/null
+++ b/packages/nonworking/efl/evas/pagesize.patch
@@ -0,0 +1,13 @@
+diff --git a/src/modules/engines/fb/evas_fb_main.c b/src/modules/engines/fb/evas_fb_main.c
+index e26c171..75e0743 100644
+--- a/src/modules/engines/fb/evas_fb_main.c
++++ b/src/modules/engines/fb/evas_fb_main.c
+@@ -530,7 +530,7 @@ fb_postinit(FB_Mode *mode)
+ fb_cleanup();
+ exit(1);
+ }
+- mode->mem_offset = (unsigned)(fb_fix.smem_start) & (~PAGE_MASK);
++ mode->mem_offset = (unsigned)(fb_fix.smem_start) & (getpagesize()-1);
+ mode->mem = (unsigned char *)mmap(NULL, fb_fix.smem_len + mode->mem_offset,
+ PROT_WRITE | PROT_READ, MAP_SHARED, fb, 0);
+ if ((int)mode->mem == -1)
diff --git a/packages/nonworking/efl/ewl/.mtn2git_empty b/packages/nonworking/efl/ewl/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/nonworking/efl/ewl/.mtn2git_empty
diff --git a/packages/nonworking/efl/ewl/ewl-configure.patch b/packages/nonworking/efl/ewl/ewl-configure.patch
new file mode 100644
index 0000000000..a754e0f819
--- /dev/null
+++ b/packages/nonworking/efl/ewl/ewl-configure.patch
@@ -0,0 +1,15 @@
+
+#
+# Patch managed by http://www.holgerschurig.de/patcher.html
+#
+
+--- ewl-0.0.4.003/configure.in~fix-configure
++++ ewl-0.0.4.003/configure.in
+@@ -13,7 +13,6 @@
+ AC_C_CONST
+ AM_ENABLE_SHARED
+ AM_PROG_LIBTOOL
+-AC_C___ATTRIBUTE__
+
+ dnl Check for Solaris or other OS
+ case "$host" in
diff --git a/packages/nonworking/efl/ewl/minmax.patch b/packages/nonworking/efl/ewl/minmax.patch
new file mode 100644
index 0000000000..cd8723e9a3
--- /dev/null
+++ b/packages/nonworking/efl/ewl/minmax.patch
@@ -0,0 +1,18 @@
+diff -Nur ewl-0.0.4.004~/src/lib/Ewl.h.in ewl-0.0.4.004/src/lib/Ewl.h.in
+--- ewl-0.0.4.004~/src/lib/Ewl.h.in 2005-09-29 18:26:11.000000000 -0700
++++ ewl-0.0.4.004/src/lib/Ewl.h.in 2005-09-29 18:26:55.000000000 -0700
+@@ -254,6 +254,14 @@
+ extern"C" {
+ #endif
+
++#ifndef MAX
++#define MAX(a, b) (a > b ? a : b)
++#endif
++
++#ifndef MIN
++#define MIN(a, b) (a < b ? a : b)
++#endif
++
+ #include <Evas.h>
+ #include <Edje.h>
+ #include <Ecore.h>
diff --git a/packages/nonworking/efl/ewl/no-examples.patch b/packages/nonworking/efl/ewl/no-examples.patch
new file mode 100644
index 0000000000..402c50894c
--- /dev/null
+++ b/packages/nonworking/efl/ewl/no-examples.patch
@@ -0,0 +1,22 @@
+diff -Nur ewl-0.0.4.004~/src/Makefile.am ewl-0.0.4.004/src/Makefile.am
+--- ewl-0.0.4.004~/src/Makefile.am 2005-09-29 18:21:52.000000000 -0700
++++ ewl-0.0.4.004/src/Makefile.am 2005-09-29 18:22:17.000000000 -0700
+@@ -1,5 +1,5 @@
+
+-SUBDIRS = lib bin
++SUBDIRS = lib
+
+ MAINTAINERCLEANFILES = Makefile.in
+
+diff -Nur ewl-0.0.4.004~/src/Makefile.in ewl-0.0.4.004/src/Makefile.in
+--- ewl-0.0.4.004~/src/Makefile.in 2005-09-29 18:21:52.000000000 -0700
++++ ewl-0.0.4.004/src/Makefile.in 2005-09-29 18:22:07.000000000 -0700
+@@ -108,7 +108,7 @@
+ ewl_media_include = @ewl_media_include@
+ requirements = @requirements@
+
+-SUBDIRS = lib bin
++SUBDIRS = lib
+
+ MAINTAINERCLEANFILES = Makefile.in
+ mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
diff --git a/packages/nonworking/efl/ewl_0.5.1.008.bb b/packages/nonworking/efl/ewl_0.5.1.008.bb
new file mode 100644
index 0000000000..3a9313cb59
--- /dev/null
+++ b/packages/nonworking/efl/ewl_0.5.1.008.bb
@@ -0,0 +1,29 @@
+DESCRIPTION = "The Enlightened Widget Library, \
+a simple-to-use general purpose widget library based on the enlightenment foundation libraries."
+DEPENDS = "edb virtual/evas virtual/ecore edje"
+# emotion
+RDEPENDS += "ewl-themes"
+LICENSE = "MIT"
+PR = "r1"
+
+inherit efl
+
+SRC_URI += "file://ewl-configure.patch;patch=1 \
+ file://no-examples.patch;patch=1 \
+ file://minmax.patch;patch=1 \
+ ${E_CVS};module=e17/libs/evas/m4;date=20060501"
+
+do_configure_prepend() {
+ if [ -e "${WORKDIR}/m4" ]; then
+ install -d "${S}/m4"
+ install "${WORKDIR}/m4/"*.m4 "${S}/m4"
+ aclocal -I m4
+ fi
+}
+
+do_stage_append() {
+ for i in src/lib/ewl_*.h
+ do
+ install -m 0644 $i ${STAGING_INCDIR}
+ done
+}
diff --git a/packages/nonworking/efl/files/.mtn2git_empty b/packages/nonworking/efl/files/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/nonworking/efl/files/.mtn2git_empty
diff --git a/packages/nonworking/efl/files/pkg.m4 b/packages/nonworking/efl/files/pkg.m4
new file mode 100644
index 0000000000..c80e0acfc4
--- /dev/null
+++ b/packages/nonworking/efl/files/pkg.m4
@@ -0,0 +1,57 @@
+
+dnl PKG_CHECK_MODULES(GSTUFF, gtk+-2.0 >= 1.3 glib = 1.3.4, action-if, action-not)
+dnl defines GSTUFF_LIBS, GSTUFF_CFLAGS, see pkg-config man page
+dnl also defines GSTUFF_PKG_ERRORS on error
+AC_DEFUN(PKG_CHECK_MODULES, [
+ succeeded=no
+
+ if test -z "$PKG_CONFIG"; then
+ AC_PATH_PROG(PKG_CONFIG, pkg-config, no)
+ fi
+
+ if test "$PKG_CONFIG" = "no" ; then
+ echo "*** The pkg-config script could not be found. Make sure it is"
+ echo "*** in your path, or set the PKG_CONFIG environment variable"
+ echo "*** to the full path to pkg-config."
+ echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
+ else
+ PKG_CONFIG_MIN_VERSION=0.9.0
+ if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
+ AC_MSG_CHECKING(for $2)
+
+ if $PKG_CONFIG --exists "$2" ; then
+ AC_MSG_RESULT(yes)
+ succeeded=yes
+
+ AC_MSG_CHECKING($1_CFLAGS)
+ $1_CFLAGS=`$PKG_CONFIG --cflags "$2"`
+ AC_MSG_RESULT($$1_CFLAGS)
+
+ AC_MSG_CHECKING($1_LIBS)
+ $1_LIBS=`$PKG_CONFIG --libs "$2"`
+ AC_MSG_RESULT($$1_LIBS)
+ else
+ $1_CFLAGS=""
+ $1_LIBS=""
+ ## If we have a custom action on failure, don't print errors, but
+ ## do set a variable so people can do so.
+ $1_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$2"`
+ ifelse([$4], ,echo $$1_PKG_ERRORS,)
+ fi
+
+ AC_SUBST($1_CFLAGS)
+ AC_SUBST($1_LIBS)
+ else
+ echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
+ echo "*** See http://www.freedesktop.org/software/pkgconfig"
+ fi
+ fi
+
+ if test $succeeded = yes; then
+ ifelse([$3], , :, [$3])
+ else
+ ifelse([$4], , AC_MSG_ERROR([Library requirements ($2) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them.]), [$4])
+ fi
+])
+
+
diff --git a/packages/nonworking/efl/imlib2-fb_1.3.0.001.bb b/packages/nonworking/efl/imlib2-fb_1.3.0.001.bb
new file mode 100644
index 0000000000..f2ee48f5d9
--- /dev/null
+++ b/packages/nonworking/efl/imlib2-fb_1.3.0.001.bb
@@ -0,0 +1,6 @@
+require imlib2.inc
+PR = "r2"
+
+EXTRA_OECONF = "--without-x \
+ --disable-mmx"
+
diff --git a/packages/nonworking/efl/imlib2-native_1.3.0.001.bb b/packages/nonworking/efl/imlib2-native_1.3.0.001.bb
new file mode 100644
index 0000000000..65c5b672b2
--- /dev/null
+++ b/packages/nonworking/efl/imlib2-native_1.3.0.001.bb
@@ -0,0 +1,8 @@
+require imlib2.inc
+inherit native
+PROVIDES = "imlib2-native"
+DEPENDS = "freetype-native libpng-native jpeg-native"
+PR = "r2"
+
+EXTRA_OECONF = "--disable-mmx \
+ --without-x"
diff --git a/packages/nonworking/efl/imlib2-x11_1.3.0.001.bb b/packages/nonworking/efl/imlib2-x11_1.3.0.001.bb
new file mode 100644
index 0000000000..67ed947e08
--- /dev/null
+++ b/packages/nonworking/efl/imlib2-x11_1.3.0.001.bb
@@ -0,0 +1,8 @@
+require imlib2.inc
+DEPENDS += "virtual/libx11 libxext"
+PR = "r3"
+
+EXTRA_OECONF = "--disable-mmx \
+ --with-x \
+ --x-includes=${STAGING_INCDIR} \
+ --x-libraries=${STAGING_LIBDIR}"
diff --git a/packages/nonworking/efl/imlib2.inc b/packages/nonworking/efl/imlib2.inc
new file mode 100644
index 0000000000..6a040c5386
--- /dev/null
+++ b/packages/nonworking/efl/imlib2.inc
@@ -0,0 +1,58 @@
+DESCRIPTION = "A graphic library for file loading, saving, rendering, and manipulation."
+LICENSE = "BSD"
+# can also depend on tiff34, ungif or gif, z, bz2, id3tag
+DEPENDS = "freetype libpng jpeg"
+PROVIDES += "virtual/imlib2"
+
+inherit efl
+
+SRC_URI = "http://enlightenment.freedesktop.org/files/imlib2-${PV}.tar.gz"
+S = "${WORKDIR}/imlib2-${PV}"
+
+libraries = ""
+headers = ""
+
+do_stage_append() {
+ oe_libinstall -C src/lib libImlib2 ${STAGING_LIBDIR}/
+ install -m 0644 ${S}/src/lib/Imlib2.h ${STAGING_INCDIR}/
+
+ install -d ${STAGING_LIBDIR}/imlib2/loaders
+ for i in src/modules/loaders/.libs/*.so
+ do
+ install -m 0755 $i ${STAGING_LIBDIR}/imlib2/loaders
+ done
+
+ install -d ${STAGING_LIBDIR}/imlib2/filters
+ for i in src/modules/filters/.libs/*.so
+ do
+ install -m 0755 $i ${STAGING_LIBDIR}/imlib2/filters
+ done
+}
+
+do_install() {
+ install -d "${D}${includedir}"
+ oe_libinstall -C src/lib libImlib2 ${D}${libdir}/
+ install -m 0644 ${S}/src/lib/Imlib2.h ${D}${includedir}/
+
+ install -d ${D}${libdir}/imlib2/loaders
+ for i in src/modules/loaders/.libs/*.so
+ do
+ install -m 0755 $i ${D}${libdir}/imlib2/loaders
+ done
+
+ install -d ${D}${libdir}/imlib2/filters
+ for i in src/modules/filters/.libs/*.so
+ do
+ install -m 0755 $i ${D}${libdir}/imlib2/filters
+ done
+}
+
+PACKAGES =+ "imlib2-loaders-dbg imlib2-filters-dbg imlib2-loaders imlib2-filters"
+FILES_${PN} = "${libdir}/lib*.so.* ${libdir}/imlib2/*/*.so"
+FILES_${PN}-dbg = "${libdir}/.debug/"
+FILES_${PN}-dev += "${bindir}/imlib2-config ${libdir}/*.so ${includedir}"
+FILES_imlib2-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"