From 4c87123f6bebc0029f4e4fa501c83ae7524a754a Mon Sep 17 00:00:00 2001 From: Michael Lauer Date: Thu, 21 Jun 2007 03:45:25 +0000 Subject: massive E revamp. all shiny and new. no more binconfig madness, no longer m4 patch madness, much less hackish and fragile. all hail pkgconfig --- packages/efl1/.mtn2git_empty | 0 packages/efl1/ecore-native_0.9.9.038.bb | 28 ++++++ packages/efl1/ecore.inc | 52 +++++++++++ packages/efl1/ecore/.mtn2git_empty | 0 packages/efl1/ecore/add-tslib-support.patch | 104 +++++++++++++++++++++ .../efl1/ecore/configure-abstract-sockets.patch | 16 ++++ packages/efl1/ecore/configure.patch | 21 +++++ .../efl1/ecore/ecore_kernel_input_header.patch | 23 +++++ packages/efl1/ecore/fix-directfb-include.patch | 13 +++ packages/efl1/ecore/fix-tslib-configure.patch | 19 ++++ packages/efl1/ecore/remove-bad-code.patch | 36 +++++++ packages/efl1/ecore_0.9.9.038.bb | 26 ++++++ packages/efl1/edb_cvs.bb | 14 +++ packages/efl1/edje-native_0.5.0.038.bb | 16 ++++ packages/efl1/edje_0.5.0.038.bb | 20 ++++ packages/efl1/eet-native_0.9.10.038.bb | 4 + packages/efl1/eet_0.9.10.038.bb | 11 +++ packages/efl1/efreet_0.0.3.002.bb | 10 ++ packages/efl1/embryo-native_0.9.1.038.bb | 3 + packages/efl1/embryo_0.9.1.038.bb | 11 +++ packages/efl1/emotion_0.0.1.006.bb | 16 ++++ packages/efl1/engrave_cvs.bb | 16 ++++ packages/efl1/enhance_cvs.bb | 15 +++ packages/efl1/epeg_0.9.0.009.bb | 8 ++ packages/efl1/epsilon/.mtn2git_empty | 0 packages/efl1/epsilon/compile-fix.patch | 15 +++ packages/efl1/epsilon/server-is-not-client.patch | 11 +++ packages/efl1/epsilon_0.3.0.009.bb | 12 +++ packages/efl1/esmart_0.9.0.009.bb | 23 +++++ packages/efl1/etk_0.1.0.003.bb | 13 +++ packages/efl1/evas-native_0.9.9.038.bb | 60 ++++++++++++ packages/efl1/evas.inc | 57 +++++++++++ packages/efl1/evas/.mtn2git_empty | 0 packages/efl1/evas/fix-configure.patch | 36 +++++++ packages/efl1/evas/pagesize.patch | 13 +++ packages/efl1/evas_0.9.9.038.bb | 58 ++++++++++++ packages/efl1/ewl_0.5.1.009.bb | 11 +++ packages/efl1/exml_cvs.bb | 13 +++ packages/efl1/imlib2_1.4.0.001.bb | 16 ++++ 39 files changed, 820 insertions(+) create mode 100644 packages/efl1/.mtn2git_empty create mode 100644 packages/efl1/ecore-native_0.9.9.038.bb create mode 100644 packages/efl1/ecore.inc create mode 100644 packages/efl1/ecore/.mtn2git_empty create mode 100644 packages/efl1/ecore/add-tslib-support.patch create mode 100644 packages/efl1/ecore/configure-abstract-sockets.patch create mode 100644 packages/efl1/ecore/configure.patch create mode 100644 packages/efl1/ecore/ecore_kernel_input_header.patch create mode 100644 packages/efl1/ecore/fix-directfb-include.patch create mode 100644 packages/efl1/ecore/fix-tslib-configure.patch create mode 100644 packages/efl1/ecore/remove-bad-code.patch create mode 100644 packages/efl1/ecore_0.9.9.038.bb create mode 100644 packages/efl1/edb_cvs.bb create mode 100644 packages/efl1/edje-native_0.5.0.038.bb create mode 100644 packages/efl1/edje_0.5.0.038.bb create mode 100644 packages/efl1/eet-native_0.9.10.038.bb create mode 100644 packages/efl1/eet_0.9.10.038.bb create mode 100644 packages/efl1/efreet_0.0.3.002.bb create mode 100644 packages/efl1/embryo-native_0.9.1.038.bb create mode 100644 packages/efl1/embryo_0.9.1.038.bb create mode 100644 packages/efl1/emotion_0.0.1.006.bb create mode 100644 packages/efl1/engrave_cvs.bb create mode 100644 packages/efl1/enhance_cvs.bb create mode 100644 packages/efl1/epeg_0.9.0.009.bb create mode 100644 packages/efl1/epsilon/.mtn2git_empty create mode 100644 packages/efl1/epsilon/compile-fix.patch create mode 100644 packages/efl1/epsilon/server-is-not-client.patch create mode 100644 packages/efl1/epsilon_0.3.0.009.bb create mode 100644 packages/efl1/esmart_0.9.0.009.bb create mode 100644 packages/efl1/etk_0.1.0.003.bb create mode 100644 packages/efl1/evas-native_0.9.9.038.bb create mode 100644 packages/efl1/evas.inc create mode 100644 packages/efl1/evas/.mtn2git_empty create mode 100644 packages/efl1/evas/fix-configure.patch create mode 100644 packages/efl1/evas/pagesize.patch create mode 100644 packages/efl1/evas_0.9.9.038.bb create mode 100644 packages/efl1/ewl_0.5.1.009.bb create mode 100644 packages/efl1/exml_cvs.bb create mode 100644 packages/efl1/imlib2_1.4.0.001.bb diff --git a/packages/efl1/.mtn2git_empty b/packages/efl1/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 diff --git a/packages/efl1/ecore-native_0.9.9.038.bb b/packages/efl1/ecore-native_0.9.9.038.bb new file mode 100644 index 0000000000..7b3212dc1a --- /dev/null +++ b/packages/efl1/ecore-native_0.9.9.038.bb @@ -0,0 +1,28 @@ +require ecore.inc +inherit native +DEPENDS = "eet-native evas-native" + +EXTRA_OECONF = "\ + --enable-ecore-txt \ + --disable-ecore-x-xcb \ + --enable-ecore-x \ + --enable-ecore-job \ + --enable-ecore-directfb \ + --enable-ecore-fb \ + --enable-ecore-evas \ + --disable-ecore-evas-gl \ + --disable-ecore-evas-xrender \ + --disable-ecore-evas-dfb \ + --disable-openssl \ + --enable-abstract-sockets \ + --enable-ecore-con \ + --enable-ecore-ipc \ + --enable-ecore-dbus \ + --enable-ecore-file \ + --enable-inotify \ + --disable-poll \ + --disable-curl \ + --disable-ecore-desktop \ + --x-includes=${STAGING_INCDIR}/X11 \ + --x-libraries=${STAGING_LIBDIR} " + diff --git a/packages/efl1/ecore.inc b/packages/efl1/ecore.inc new file mode 100644 index 0000000000..7f67d2f281 --- /dev/null +++ b/packages/efl1/ecore.inc @@ -0,0 +1,52 @@ +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." +LICENSE = "MIT" +DEPENDS = "curl dbus directfb eet evas tslib" +# optional +# DEPENDS += "openssl iconv" + +inherit efl1 + +SRC_URI = "http://enlightenment.freedesktop.org/files/ecore-${PV}.tar.gz \ + file://configure-abstract-sockets.patch;patch=1 \ + file://fix-tslib-configure.patch;patch=1 \ + file://fix-directfb-include.patch;patch=1" + +S = "${WORKDIR}/ecore-${PV}" +FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/ecore" + +EXTRA_OECONF = "" + +do_stage() { + autotools_stage_all +} + +PACKAGES += "\ + ${PN}-con \ + ${PN}-config \ + ${PN}-dbus \ + ${PN}-desktop \ + ${PN}-directfb \ + ${PN}-evas \ + ${PN}-fb \ + ${PN}-file \ + ${PN}-ipc \ + ${PN}-job \ + ${PN}-txt \ + ${PN}-x \ + " +FILES_${PN} = "${libdir}/libecore.so*" +FILES_${PN}-con = "${libdir}/libecore_con.so*" +FILES_${PN}-config = "${libdir}/libecore_config.so*" +FILES_${PN}-dbus = "${libdir}/libecore_dbus.so*" +FILES_${PN}-desktop = "${libdir}/libecore_desktop.so*" +FILES_${PN}-directfb = "${libdir}/libecore_directfb.so*" +FILES_${PN}-evas = "${libdir}/libecore_evas.so*" +FILES_${PN}-fb = "${libdir}/libecore_fb.so*" +FILES_${PN}-file = "${libdir}/libecore_file.so*" +FILES_${PN}-ipc = "${libdir}/libecore_ipc.so*" +FILES_${PN}-job = "${libdir}/libecore_job.so*" +FILES_${PN}-txt = "${libdir}/libecore_txt.so*" +FILES_${PN}-x = "${libdir}/libecore_x.so*" + diff --git a/packages/efl1/ecore/.mtn2git_empty b/packages/efl1/ecore/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 diff --git a/packages/efl1/ecore/add-tslib-support.patch b/packages/efl1/ecore/add-tslib-support.patch new file mode 100644 index 0000000000..c125122a91 --- /dev/null +++ b/packages/efl1/ecore/add-tslib-support.patch @@ -0,0 +1,104 @@ + +# +# tslib support for ecore, (C) Michael 'Mickey' Lauer +# + +--- 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 ++#include ++#endif ++ ++ + #include + #include + #include +@@ -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/efl1/ecore/configure-abstract-sockets.patch b/packages/efl1/ecore/configure-abstract-sockets.patch new file mode 100644 index 0000000000..359203b163 --- /dev/null +++ b/packages/efl1/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/efl1/ecore/configure.patch b/packages/efl1/ecore/configure.patch new file mode 100644 index 0000000000..23d8193b44 --- /dev/null +++ b/packages/efl1/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/efl1/ecore/ecore_kernel_input_header.patch b/packages/efl1/ecore/ecore_kernel_input_header.patch new file mode 100644 index 0000000000..99f57ddcff --- /dev/null +++ b/packages/efl1/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/efl1/ecore/fix-directfb-include.patch b/packages/efl1/ecore/fix-directfb-include.patch new file mode 100644 index 0000000000..b1c06f7f43 --- /dev/null +++ b/packages/efl1/ecore/fix-directfb-include.patch @@ -0,0 +1,13 @@ +Index: ecore-0.9.9.038/src/lib/ecore_directfb/Ecore_DirectFB.h +=================================================================== +--- ecore-0.9.9.038.orig/src/lib/ecore_directfb/Ecore_DirectFB.h ++++ ecore-0.9.9.038/src/lib/ecore_directfb/Ecore_DirectFB.h +@@ -23,7 +23,7 @@ + #endif + + #include +-#include ++#include + + + #ifdef __cplusplus diff --git a/packages/efl1/ecore/fix-tslib-configure.patch b/packages/efl1/ecore/fix-tslib-configure.patch new file mode 100644 index 0000000000..a1fbb21326 --- /dev/null +++ b/packages/efl1/ecore/fix-tslib-configure.patch @@ -0,0 +1,19 @@ +Index: ecore-0.9.9.038/configure.in +=================================================================== +--- ecore-0.9.9.038.orig/configure.in ++++ ecore-0.9.9.038/configure.in +@@ -1,4 +1,4 @@ +-dnl Process this file with autoconf to produce a configure script. ++ +- #undef kernel_ulong_t <-added +- #undef BITS_PER_LONG <-added ++ #undef kernel_ulong_t ++ #undef BITS_PER_LONG + #else + #include + #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/efl1/ecore_0.9.9.038.bb b/packages/efl1/ecore_0.9.9.038.bb new file mode 100644 index 0000000000..d61aeab3a1 --- /dev/null +++ b/packages/efl1/ecore_0.9.9.038.bb @@ -0,0 +1,26 @@ +require ecore.inc +PR = "r1" + +EXTRA_OECONF = "\ + --enable-ecore-txt \ + --disable-ecore-x-xcb \ + --enable-ecore-x \ + --enable-ecore-job \ + --enable-ecore-directfb \ + --enable-ecore-fb \ + --enable-ecore-evas \ + --disable-ecore-evas-gl \ + --enable-ecore-evas-xrender \ + --enable-ecore-evas-dfb \ + --disable-openssl \ + --enable-abstract-sockets \ + --enable-ecore-con \ + --enable-ecore-ipc \ + --enable-ecore-dbus \ + --enable-ecore-file \ + --enable-inotify \ + --disable-poll \ + --enable-curl \ + --enable-ecore-desktop \ + --x-includes=${STAGING_INCDIR}/X11 \ + --x-libraries=${STAGING_LIBDIR} " diff --git a/packages/efl1/edb_cvs.bb b/packages/efl1/edb_cvs.bb new file mode 100644 index 0000000000..365f857e1c --- /dev/null +++ b/packages/efl1/edb_cvs.bb @@ -0,0 +1,14 @@ +DESCRIPTION = "Edb is a database library" +LICENSE = "MIT" +PV = "0.0.0+cvs${SRCDATE}" + +inherit efl1 + +SRC_URI = "${E_CVS};module=e17/libs/edb" +S = "${WORKDIR}/edb" + +PACKAGES =+ "${PN}-tests" +FILES_${PN}-tests = "${bindir}/*_* ${datadir}" +FILES_${PN}-dev += "${bindir}/*-config" +FILES_${PN} = "${libdir}/*.so*" + diff --git a/packages/efl1/edje-native_0.5.0.038.bb b/packages/efl1/edje-native_0.5.0.038.bb new file mode 100644 index 0000000000..8f3ef51fa7 --- /dev/null +++ b/packages/efl1/edje-native_0.5.0.038.bb @@ -0,0 +1,16 @@ +require edje_${PV}.bb +inherit native +PR = "r4" + +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_stage_append() { + efl_stage_bin +} diff --git a/packages/efl1/edje_0.5.0.038.bb b/packages/efl1/edje_0.5.0.038.bb new file mode 100644 index 0000000000..7db9951e8d --- /dev/null +++ b/packages/efl1/edje_0.5.0.038.bb @@ -0,0 +1,20 @@ +DESCRIPTION = "Edje is a complex graphical design & layout library." +# can also install vim data files +DEPENDS = "eet evas ecore embryo edje-native" +LICENSE = "MIT" +PR = "r7" + +inherit efl1 lib_package + +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 +} + +FILES_${PN}-dev =+ "${bindir} ${datadir}" +FILES_${PN}-examples = "" +FILES_${PN}-bin = "" + diff --git a/packages/efl1/eet-native_0.9.10.038.bb b/packages/efl1/eet-native_0.9.10.038.bb new file mode 100644 index 0000000000..9e2426ca9f --- /dev/null +++ b/packages/efl1/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/efl1/eet_0.9.10.038.bb b/packages/efl1/eet_0.9.10.038.bb new file mode 100644 index 0000000000..08935df750 --- /dev/null +++ b/packages/efl1/eet_0.9.10.038.bb @@ -0,0 +1,11 @@ +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 = "r0" + +inherit efl1 + +SRC_URI = "http://download.enlightenment.org/snapshots/2007-05-06/eet-${PV}.tar.gz" diff --git a/packages/efl1/efreet_0.0.3.002.bb b/packages/efl1/efreet_0.0.3.002.bb new file mode 100644 index 0000000000..b387ee89a0 --- /dev/null +++ b/packages/efl1/efreet_0.0.3.002.bb @@ -0,0 +1,10 @@ +DESCRIPTION = "An implementation of freedesktop.org specs for the \ +Enlightenment Foundation Libraries" +DEPENDS = "ecore" +LICENSE = "BSD" +PR = "r0" + +inherit efl1 + +PACKAGES =+ "efreet-tests" +FILES_efreet-tests = "${bindir}/*_* ${datadir}" diff --git a/packages/efl1/embryo-native_0.9.1.038.bb b/packages/efl1/embryo-native_0.9.1.038.bb new file mode 100644 index 0000000000..2fc3faddfd --- /dev/null +++ b/packages/efl1/embryo-native_0.9.1.038.bb @@ -0,0 +1,3 @@ +require embryo_${PV}.bb +inherit native + diff --git a/packages/efl1/embryo_0.9.1.038.bb b/packages/efl1/embryo_0.9.1.038.bb new file mode 100644 index 0000000000..0728ef563b --- /dev/null +++ b/packages/efl1/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 = "r0" + +inherit efl1 lib_package + +FILES_${PN}-examples = "${datadir}/${PN}/examples" diff --git a/packages/efl1/emotion_0.0.1.006.bb b/packages/efl1/emotion_0.0.1.006.bb new file mode 100644 index 0000000000..bdfcbebee1 --- /dev/null +++ b/packages/efl1/emotion_0.0.1.006.bb @@ -0,0 +1,16 @@ +DESCRIPTION = "Emotion is a multimedia library with backends: gstreamer and libxine" +LICENSE = "MIT" +# we no longer build the libxine backend, since the gstreamer backend seems more promising +DEPENDS = "eet evas ecore edje gstreamer gst-plugins-base" +RRECOMMENDS_${PN} = "emotion-backend-gstreamer" +PR = "r0" + +inherit efl1 + +SRC_URI = "http://download.enlightenment.org/snapshots/2007-06-17/emotion-${PV}.tar.gz" + +EXTRA_OECONF = "--disable-xine --enable-gstreamer" + +PACKAGES =+ "emotion-backend-gstreamer emotion-test" +FILES_emotion-backend-gstreamer = "${libdir}/emotion/*.so" +FILES_emotion-test = "${bindir}/emotion_test ${datadir}" diff --git a/packages/efl1/engrave_cvs.bb b/packages/efl1/engrave_cvs.bb new file mode 100644 index 0000000000..169ba856a7 --- /dev/null +++ b/packages/efl1/engrave_cvs.bb @@ -0,0 +1,16 @@ +DESCRIPTION = "Engrave is an Edje Editing Library" +LICENSE = "MIT" +# also requires yacc and lex on host +DEPENDS = "evas ecore" +PV = "0.0.0+cvs${SRCDATE}" + +inherit efl1 + +SRC_URI = "${E_CVS};module=e17/libs/engrave" +S = "${WORKDIR}/engrave" + +PACKAGES =+ "${PN}-tests" +FILES_${PN}-tests = "${bindir}/*_* ${datadir}" +FILES_${PN}-dev += "${bindir}/*-config" +FILES_${PN} = "${libdir}/*.so*" + diff --git a/packages/efl1/enhance_cvs.bb b/packages/efl1/enhance_cvs.bb new file mode 100644 index 0000000000..8e30cf0033 --- /dev/null +++ b/packages/efl1/enhance_cvs.bb @@ -0,0 +1,15 @@ +DESCRIPTION = "Enhance translates between glade .xml files and ETK" +LICENSE = "MIT" +DEPENDS = "exml" +PV = "0.0.0+cvs${SRCDATE}" + +inherit efl1 + +SRC_URI = "${E_CVS};module=e17/libs/enhance" +S = "${WORKDIR}/enhance" + +PACKAGES =+ "${PN}-tests" +FILES_${PN}-tests = "${bindir}/*_* ${datadir}" +FILES_${PN}-dev += "${bindir}/*-config" +FILES_${PN} = "${libdir}/*.so*" + diff --git a/packages/efl1/epeg_0.9.0.009.bb b/packages/efl1/epeg_0.9.0.009.bb new file mode 100644 index 0000000000..6a99269291 --- /dev/null +++ b/packages/efl1/epeg_0.9.0.009.bb @@ -0,0 +1,8 @@ +DESCRIPTION = "Epeg is a small library for handling thumbnails." +LICENSE = "MIT" +DEPENDS = "jpeg" + +inherit efl1 + +FILES_${PN} = "${libdir}/lib*.so*" +FILES_${PN}-dev += "${bindir}/*-config" diff --git a/packages/efl1/epsilon/.mtn2git_empty b/packages/efl1/epsilon/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 diff --git a/packages/efl1/epsilon/compile-fix.patch b/packages/efl1/epsilon/compile-fix.patch new file mode 100644 index 0000000000..1c42cc59c4 --- /dev/null +++ b/packages/efl1/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 + #include + #include +-#include + #include + #include + diff --git a/packages/efl1/epsilon/server-is-not-client.patch b/packages/efl1/epsilon/server-is-not-client.patch new file mode 100644 index 0000000000..e96e528b9e --- /dev/null +++ b/packages/efl1/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/efl1/epsilon_0.3.0.009.bb b/packages/efl1/epsilon_0.3.0.009.bb new file mode 100644 index 0000000000..eba3a11e34 --- /dev/null +++ b/packages/efl1/epsilon_0.3.0.009.bb @@ -0,0 +1,12 @@ +DESCRIPTION = "Epsilon is a flexible and powerful image thumbnailing library \ +that is compliant with the freedesktop.org Thumbnail Managing Standard." +LICENSE = "LGPL" +DEPENDS = "imlib2 epeg libpng evas ecore edje perl-native" + +inherit efl1 + +PR = "r0" + +PACKAGES =+ "epsilon-tests" +FILES_epsilon-tests = "${bindir}/*_* ${datadir}" +FILES_${PN} = "${libdir}/lib*.so*" diff --git a/packages/efl1/esmart_0.9.0.009.bb b/packages/efl1/esmart_0.9.0.009.bb new file mode 100644 index 0000000000..8d2ce2eb3e --- /dev/null +++ b/packages/efl1/esmart_0.9.0.009.bb @@ -0,0 +1,23 @@ +DESCRIPTION = "ESmart is a collection of smart Evas objects" +LICENSE = "MIT" +DEPENDS = "evas ecore edje imlib2 epsilon libtool" + +inherit efl1 + +S = "${WORKDIR}/esmart-${PV}" + +PACKAGES =+ "${PN}-textentry \ + ${PN}-thumb \ + ${PN}-container \ + ${PN}-container-plugins \ + ${PN}-file-dialog \ + ${PN}-draggies \ + ${PN}-trans-x11" +FILES_${PN}-textentry = "${libdir}/libesmart_text_entry*.so*" +FILES_${PN}-thumb = "${libdir}/libesmart_thumb*.so*" +FILES_${PN}-container = "${libdir}/libesmart_container*" +DEPENDS_${PN}-container += "${PN}-container-plugins" +FILES_${PN}-container-plugins = "${libdir}/esmart/layout/*.so" +FILES_${PN}-file-dialog = "${libdir}/libesmart_file_dialog*.so*" +FILES_${PN}-draggies = "${libdir}/libesmart_draggies*.so*" +FILES_${PN}-trans-x11 = "${libdir}/libesmart_trans_x11*.so*" diff --git a/packages/efl1/etk_0.1.0.003.bb b/packages/efl1/etk_0.1.0.003.bb new file mode 100644 index 0000000000..569b5c9242 --- /dev/null +++ b/packages/efl1/etk_0.1.0.003.bb @@ -0,0 +1,13 @@ +DESCRIPTION = "Etk is an advanced widget toolkit based on the Enlightenment Foundation Libraries." +DEPENDS = "evas ecore edje" +LICENSE = "MIT" +PR = "r1" + +inherit efl1 + +PACKAGES =+ "etk-engines" +FILES_${PN} = "${libdir}/libetk.so*" +FILES_${PN}-examples += "${bindir}" +FILES_${PN}-engines = "${libdir}/etk/engines/*.so ${datadir}" +FILES_${PN}-dev += "${libdir}/etk/engines/*.a ${libdir}/etk/engines/*.la" +FILES_${PN}-dbg += "${libdir}/etk/engines/*/.debug/" diff --git a/packages/efl1/evas-native_0.9.9.038.bb b/packages/efl1/evas-native_0.9.9.038.bb new file mode 100644 index 0000000000..e79695c1f2 --- /dev/null +++ b/packages/efl1/evas-native_0.9.9.038.bb @@ -0,0 +1,60 @@ +require evas.inc +inherit native +DEPENDS = "freetype-native libpng-native jpeg-native eet-native" +PR = "r9" + +EXTRA_OECONF = "\ + --x-includes=${STAGING_INCDIR}/X11 \ + --x-libraries=${STAGING_LIBDIR} \ + --disable-fb \ + --disable-directfb \ + --enable-buffer \ + --disable-software-ddraw \ + --disable-software-qtopia \ + --disable-software-x11 \ + --disable-software-16-x11 \ + --disable-software-xcb \ + --disable-gl-x11 \ + --disable-xrender-x11 \ + --disable-xrender-xcb \ + --disable-glitz-x11 \ + --enable-image-loader-eet \ + --disable-image-loader-edb \ + --disable-image-loader-gif \ + --enable-image-loader-png \ + --enable-image-loader-jpeg \ + --enable-image-loader-tiff \ + --enable-image-loader-xpm \ + --disable-image-loader-svg \ + --enable-cpu-c \ + --enable-fontconfig \ + --enable-font-loader-eet \ + --enable-scale-sample \ + --enable-scale-smooth \ + --enable-convert-yuv \ + --enable-small-dither-mask \ + --disable-no-dither-mask \ + --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 \ + --disable-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 \ + --disable-convert-32-bgr-8888 \ + --disable-convert-32-bgrx-8888 \ + --disable-convert-32-rgb-rot-0 \ + --disable-convert-32-rgb-rot-90 \ + --disable-convert-32-rgb-rot-270" + diff --git a/packages/efl1/evas.inc b/packages/efl1/evas.inc new file mode 100644 index 0000000000..f3d78f0255 --- /dev/null +++ b/packages/efl1/evas.inc @@ -0,0 +1,57 @@ +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 = "directfb eet freetype jpeg virtual/libx11 libxext" + +inherit efl1 + +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" + +S = "${WORKDIR}/evas-${PV}" +FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/evas" + +EXTRA_OECONF = "" + +do_configure_prepend() { + if [ -e "${WORKDIR}/m4" ]; then + install -d "${S}/m4" + install "${WORKDIR}/m4/"*.m4 "${S}/m4" + aclocal -I m4 + fi +} + +python populate_packages_prepend () { + for plugin_type in "engines loaders savers".split(): + bb.note( "splitting packages for evas %s..." % plugin_type ) + basedir = bb.data.expand( '${libdir}/evas/modules/%s' % plugin_type, d ) + + do_split_packages(d, basedir, '^(.*)', + output_pattern = 'evas-' + plugin_type[:-1] + "-%s", + description = 'Evas module %s', + allow_dirs=True, recursive=False ) +} + +do_install_append() { + find "${D}" -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 +#} + +FILES_${PN}-dev += "${libdir}/evas/modules/*/*/*/*.a ${libdir}/evas/modules/*/*/*/*.la" +FILES_${PN}-dbg += "${libdir}/evas/modules/*/*/*/.debug/" +FILES_${PN} = "${libdir}/libevas*.so*" diff --git a/packages/efl1/evas/.mtn2git_empty b/packages/efl1/evas/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 diff --git a/packages/efl1/evas/fix-configure.patch b/packages/efl1/evas/fix-configure.patch new file mode 100644 index 0000000000..abf9b94bdf --- /dev/null +++ b/packages/efl1/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/efl1/evas/pagesize.patch b/packages/efl1/evas/pagesize.patch new file mode 100644 index 0000000000..5efd16a96e --- /dev/null +++ b/packages/efl1/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/efl1/evas_0.9.9.038.bb b/packages/efl1/evas_0.9.9.038.bb new file mode 100644 index 0000000000..79fdd42173 --- /dev/null +++ b/packages/efl1/evas_0.9.9.038.bb @@ -0,0 +1,58 @@ +require evas.inc +PR = "r9" + +EXTRA_OECONF = "\ + --x-includes=${STAGING_INCDIR}/X11 \ + --x-libraries=${STAGING_LIBDIR} \ + --enable-fb \ + --enable-directfb \ + --enable-buffer \ + --disable-software-ddraw \ + --disable-software-qtopia \ + --enable-software-x11 \ + --enable-software-16-x11 \ + --disable-software-xcb \ + --disable-gl-x11 \ + --enable-xrender-x11 \ + --disable-xrender-xcb \ + --disable-glitz-x11 \ + --enable-image-loader-eet \ + --disable-image-loader-edb \ + --disable-image-loader-gif \ + --enable-image-loader-png \ + --enable-image-loader-jpeg \ + --enable-image-loader-tiff \ + --enable-image-loader-xpm \ + --enable-image-loader-svg \ + --enable-cpu-c \ + --enable-fontconfig \ + --enable-font-loader-eet \ + --enable-scale-sample \ + --enable-scale-smooth \ + --enable-convert-yuv \ + --enable-small-dither-mask \ + --disable-no-dither-mask \ + --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 \ + --disable-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 \ + --disable-convert-32-bgr-8888 \ + --disable-convert-32-bgrx-8888 \ + --disable-convert-32-rgb-rot-0 \ + --disable-convert-32-rgb-rot-90 \ + --disable-convert-32-rgb-rot-270" + diff --git a/packages/efl1/ewl_0.5.1.009.bb b/packages/efl1/ewl_0.5.1.009.bb new file mode 100644 index 0000000000..9d60a67b82 --- /dev/null +++ b/packages/efl1/ewl_0.5.1.009.bb @@ -0,0 +1,11 @@ +DESCRIPTION = "The Enlightened Widget Library, \ +a simple-to-use general purpose widget library \ +based on the enlightenment foundation libraries." +DEPENDS = "evas ecore edje emotion efreet" +RSUGGESTS_${PN} += "ewl-themes" +LICENSE = "MIT" +PR = "r0" + +inherit efl1 + +SRC_URI = "http://download.enlightenment.org/snapshots/2007-06-17/ewl-${PV}.tar.gz" diff --git a/packages/efl1/exml_cvs.bb b/packages/efl1/exml_cvs.bb new file mode 100644 index 0000000000..5ffdaef266 --- /dev/null +++ b/packages/efl1/exml_cvs.bb @@ -0,0 +1,13 @@ +DESCRIPTION = "Exml is a generic XML parser wrapper." +LICENSE = "MIT" +DEPENDS = "libxml2 libxslt ecore" + +inherit efl1 + +SRC_URI = "${E_CVS};module=e17/libs/exml" +S = "${WORKDIR}/exml" + +PACKAGES =+ "${PN}-tests" +FILES_${PN}-tests = "${bindir}/*_* ${datadir}" +FILES_${PN}-dev += "${bindir}/*-config" +FILES_${PN} = "${libdir}/*.so*" diff --git a/packages/efl1/imlib2_1.4.0.001.bb b/packages/efl1/imlib2_1.4.0.001.bb new file mode 100644 index 0000000000..8b056b1ed2 --- /dev/null +++ b/packages/efl1/imlib2_1.4.0.001.bb @@ -0,0 +1,16 @@ +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" + +inherit efl1 + +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_${PN}-bin = "${bindir}" +FILES_imlib2-loaders = "${libdir}/imlib2/loaders/*.so" +FILES_imlib2-filters = "${libdir}/imlib2/filters/*.so" +FILES_imlib2-loaders-dbg += "${libdir}/imlib2/loaders/.debug" +FILES_imlib2-filters-dbg += "${libdir}/imlib2/filters/.debug" -- cgit v1.2.3