diff options
Diffstat (limited to 'packages/efl1')
47 files changed, 841 insertions, 0 deletions
diff --git a/packages/efl1/.mtn2git_empty b/packages/efl1/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/packages/efl1/.mtn2git_empty diff --git a/packages/efl1/ecore-native_cvs.bb b/packages/efl1/ecore-native_cvs.bb new file mode 100644 index 0000000000..92a30397e1 --- /dev/null +++ b/packages/efl1/ecore-native_cvs.bb @@ -0,0 +1,29 @@ +require ecore.inc +inherit native +DEPENDS = "eet-native evas-native" +PR = "r2" + +EXTRA_OECONF = "\ + --enable-ecore-txt \ + --disable-ecore-x-xcb \ + --disable-ecore-x \ + --enable-ecore-job \ + --disable-ecore-directfb \ + --disable-ecore-sdl \ + --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-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..9e1bc18f5c --- /dev/null +++ b/packages/efl1/ecore.inc @@ -0,0 +1,45 @@ +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 directfb eet evas tslib" +# optional +# DEPENDS += "openssl virtual/libiconv" +PV = "0.9.9+cvs${SRCDATE}" + +inherit efl_library + +SRC_URI += "\ + file://fix-tslib-configure.patch;patch=1 \ + file://fix-directfb-include.patch;patch=1 \ +" + +FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/ecore" + +PACKAGES += "\ + ${PN}-con \ + ${PN}-config \ + ${PN}-desktop \ + ${PN}-directfb \ + ${PN}-sdl \ + ${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}-desktop = "${libdir}/libecore_desktop.so.*" +FILES_${PN}-directfb = "${libdir}/libecore_directfb.so.*" +FILES_${PN}-sdl = "${libdir}/libecore_sdl.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 --- /dev/null +++ b/packages/efl1/ecore/.mtn2git_empty 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 <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/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 <Ecore_Data.h> +-#include <directfb.h> ++#include <directfb/directfb.h> + + + #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. ++<dnl Process this file with autoconf to produce a configure script. + + AC_INIT(configure.in) + AC_CANONICAL_BUILD +@@ -321,7 +321,7 @@ tslib_libs="" + if test "x$have_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/efl1/ecore/remove-bad-code.patch b/packages/efl1/ecore/remove-bad-code.patch new file mode 100644 index 0000000000..87a8d16bd6 --- /dev/null +++ b/packages/efl1/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/efl1/ecore_cvs.bb b/packages/efl1/ecore_cvs.bb new file mode 100644 index 0000000000..dd6c467c54 --- /dev/null +++ b/packages/efl1/ecore_cvs.bb @@ -0,0 +1,26 @@ +require ecore.inc +PR = "r5" + +EXTRA_OECONF = "\ + --enable-ecore-txt \ + --disable-ecore-x-xcb \ + --enable-ecore-x \ + --enable-ecore-job \ + --enable-ecore-directfb \ + --enable-ecore-sdl \ + --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-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..b7c85e8663 --- /dev/null +++ b/packages/efl1/edb_cvs.bb @@ -0,0 +1,5 @@ +DESCRIPTION = "Edb is a database library" +LICENSE = "MIT" +PV = "0.0.0+cvs${SRCDATE}" + +inherit efl_library diff --git a/packages/efl1/edbus_cvs.bb b/packages/efl1/edbus_cvs.bb new file mode 100644 index 0000000000..db1547c3d4 --- /dev/null +++ b/packages/efl1/edbus_cvs.bb @@ -0,0 +1,12 @@ +DESCRIPTION = "DBus and HAL convenience wrappers for EFL" +DEPENDS = "dbus ecore" +LICENSE = "MIT" +PR = "r0" + +inherit efl_library + +SRC_URI = "${E_CVS};module=e17/proto/e_dbus" +S = "${WORKDIR}/e_dbus" + +# TODO increase package granularity + diff --git a/packages/efl1/edje-native_cvs.bb b/packages/efl1/edje-native_cvs.bb new file mode 100644 index 0000000000..2c52b69a0c --- /dev/null +++ b/packages/efl1/edje-native_cvs.bb @@ -0,0 +1,12 @@ +require edje_${PV}.bb +inherit native +PR = "r0" + +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 +} diff --git a/packages/efl1/edje_cvs.bb b/packages/efl1/edje_cvs.bb new file mode 100644 index 0000000000..79336b74b5 --- /dev/null +++ b/packages/efl1/edje_cvs.bb @@ -0,0 +1,11 @@ +DESCRIPTION = "Edje is a complex graphical design & layout library." +# can also install vim data files +DEPENDS = "eet evas ecore embryo edje-native" +LICENSE = "MIT" +PV = "0.5.0+cvs${SRCDATE}" +PR = "r0" + +inherit efl_library + +# NOTE: Packaging needs work. edje_cc should actually be in the -dev package etc. + diff --git a/packages/efl1/eet-native_cvs.bb b/packages/efl1/eet-native_cvs.bb new file mode 100644 index 0000000000..de162df5d5 --- /dev/null +++ b/packages/efl1/eet-native_cvs.bb @@ -0,0 +1,3 @@ +require eet_cvs.bb +inherit native +DEPENDS = "zlib-native jpeg-native" diff --git a/packages/efl1/eet_cvs.bb b/packages/efl1/eet_cvs.bb new file mode 100644 index 0000000000..2c9c641b6c --- /dev/null +++ b/packages/efl1/eet_cvs.bb @@ -0,0 +1,10 @@ +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" +PV = "0.9.10+cvs${SRCDATE}" +PR = "r0" + +inherit efl_library diff --git a/packages/efl1/eflpp_cvs.bb b/packages/efl1/eflpp_cvs.bb new file mode 100644 index 0000000000..ce01d89112 --- /dev/null +++ b/packages/efl1/eflpp_cvs.bb @@ -0,0 +1,12 @@ +DESCRIPTION = "EFLpp are C++ bindings to the EFL" +AUTHOR = "Michael 'Mickey' Lauer <mlauer@vanille-media.de>" +HOMEPAGE = "http://www.vanille-media.de/site/index.php/projects/efl/" +LICENSE = "LGPL" +DEPENDS = "evas ecore edje emotion esmart etk ewl libsigc++-2.0" +PV = "0.1.0+cvs${SRCDATE}" + +inherit efl_library + +EXTRA_OECONF = "--with-edje-cc=${STAGING_BINDIR_NATIVE}/edje_cc" + +SRC_URI = "${E_CVS};module=e17/proto/${SRCNAME}" diff --git a/packages/efl1/efreet_cvs.bb b/packages/efl1/efreet_cvs.bb new file mode 100644 index 0000000000..dba9a3c9fb --- /dev/null +++ b/packages/efl1/efreet_cvs.bb @@ -0,0 +1,12 @@ +DESCRIPTION = "An implementation of freedesktop.org specs for the \ +Enlightenment Foundation Libraries" +DEPENDS = "ecore" +LICENSE = "BSD" +PV = "0.0.3+cvs${SRCDATE}" +PR = "r0" + +inherit efl_library + +PACKAGES =+ "${PN}-mime" +FILES_${PN}-mime = "${libdir}/libefreet_mime.so.*" + diff --git a/packages/efl1/embryo-native_cvs.bb b/packages/efl1/embryo-native_cvs.bb new file mode 100644 index 0000000000..2fc3faddfd --- /dev/null +++ b/packages/efl1/embryo-native_cvs.bb @@ -0,0 +1,3 @@ +require embryo_${PV}.bb +inherit native + diff --git a/packages/efl1/embryo_cvs.bb b/packages/efl1/embryo_cvs.bb new file mode 100644 index 0000000000..45b75f503d --- /dev/null +++ b/packages/efl1/embryo_cvs.bb @@ -0,0 +1,10 @@ +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" +PV = "0.9.1+cvs${SRCDATE}" +PR = "r0" + +inherit efl_library diff --git a/packages/efl1/emotion_cvs.bb b/packages/efl1/emotion_cvs.bb new file mode 100644 index 0000000000..84302e4793 --- /dev/null +++ b/packages/efl1/emotion_cvs.bb @@ -0,0 +1,15 @@ +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" +PV = "0.0.1+cvs${SRCDATE}" +PR = "r0" + +inherit efl_library + +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..689e254fc1 --- /dev/null +++ b/packages/efl1/engrave_cvs.bb @@ -0,0 +1,7 @@ +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 efl_library diff --git a/packages/efl1/enhance_cvs.bb b/packages/efl1/enhance_cvs.bb new file mode 100644 index 0000000000..728beb61ec --- /dev/null +++ b/packages/efl1/enhance_cvs.bb @@ -0,0 +1,6 @@ +DESCRIPTION = "Enhance translates between glade .xml files and ETK" +LICENSE = "MIT" +DEPENDS = "exml" +PV = "0.0.0+cvs${SRCDATE}" + +inherit efl_library diff --git a/packages/efl1/epdf/.mtn2git_empty b/packages/efl1/epdf/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/packages/efl1/epdf/.mtn2git_empty diff --git a/packages/efl1/epdf/fix-plugin-path-check.patch b/packages/efl1/epdf/fix-plugin-path-check.patch new file mode 100644 index 0000000000..dd5469c286 --- /dev/null +++ b/packages/efl1/epdf/fix-plugin-path-check.patch @@ -0,0 +1,24 @@ +Index: epdf/configure.in +=================================================================== +--- epdf.orig/configure.in ++++ epdf/configure.in +@@ -27,8 +27,8 @@ PKG_CHECK_MODULES(EWL, + [ + have_ewl="yes" + requirements="$requirements ewl" +- EWL_TEST_LIBS_DIR="`$PKG_CONFIG --variable=testsdir ewl`" +- EWL_TEST_SOURCE_DIR="`$PKG_CONFIG --variable=testssrcdir ewl`" ++ EWL_TEST_LIBS_DIR="/usr/lib/ewl/tests/" ++ EWL_TEST_SOURCE_DIR="/usr/share/ewl/examples/" + AC_SUBST(EWL_TEST_LIBS_DIR) + AC_SUBST(EWL_TEST_SOURCE_DIR) + ], +@@ -55,7 +55,7 @@ PKG_CHECK_MODULES(EPSILON, + [ + have_epsilon="yes" + requirements="$requirements epsilon imlib2" +- EPSILON_PLUGINS_DIR="`$PKG_CONFIG --variable=pluginsdir epsilon`" ++ EPSILON_PLUGINS_DIR="/usr/lib/epsilon/plugins/" + AC_SUBST(EPSILON_PLUGINS_DIR) + ], + [ diff --git a/packages/efl1/epdf_cvs.bb b/packages/efl1/epdf_cvs.bb new file mode 100644 index 0000000000..2681b941d2 --- /dev/null +++ b/packages/efl1/epdf_cvs.bb @@ -0,0 +1,22 @@ +DESCRIPTION = "Epdf is the glue between EFL and libpoppler" +LICENSE = "BSD" +DEPENDS = "poppler0.6 evas ecore etk ewl" +PV = "0.1.0+cvs${SRCDATE}" + +inherit efl_library + +SRC_URI = "${E_CVS};module=e17/proto/${SRCNAME} \ + file://fix-plugin-path-check.patch;HACK=1;patch=1" + +# add ewl additions +FILES_${PN}-dev += "${libdir}/ewl/tests/*.a ${libdir}/ewl/tests/*.la" +FILES_${PN}-dbg += "${libdir}/ewl/tests/.debug" + +# add epsilon additions +FILES_${PN}-dev += "${libdir}/epsilon/plugins/epdf_thumbnailer.a ${libdir}/epsilon/plugins/epdf_thumbnailer.la" +FILES_${PN}-dbg += "${libdir}/epsilon/plugins/.debug" + +PACKAGES += "${PN}-ewl-widget epsilon-plugin-${PN}" +FILES_${PN}-ewl-widget = "${libdir}/ewl/tests/libewl_pdf*.so*" +FILES_epsilon-plugin-${PN} = "${libdir}/epsilon/plugins/epdf_thumbnailer.so*" + diff --git a/packages/efl1/epeg_cvs.bb b/packages/efl1/epeg_cvs.bb new file mode 100644 index 0000000000..3991dd3d21 --- /dev/null +++ b/packages/efl1/epeg_cvs.bb @@ -0,0 +1,7 @@ +DESCRIPTION = "Epeg is a small library for handling thumbnails." +LICENSE = "MIT" +DEPENDS = "jpeg" +PV = "0.9.0+cvs${SRCDATE}" +PR = "r0" + +inherit efl_library diff --git a/packages/efl1/epsilon/.mtn2git_empty b/packages/efl1/epsilon/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/packages/efl1/epsilon/.mtn2git_empty 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 <stdlib.h> + #include <string.h> + #include <errno.h> +-#include <math.h> + #include <float.h> + #include <ctype.h> + 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_cvs.bb b/packages/efl1/epsilon_cvs.bb new file mode 100644 index 0000000000..be2934dec8 --- /dev/null +++ b/packages/efl1/epsilon_cvs.bb @@ -0,0 +1,14 @@ +DESCRIPTION = "Epsilon is a flexible and powerful image thumbnailing library \ +that is compliant with the freedesktop.org Thumbnail Managing Standard." +LICENSE = "BSD" +# can also depend on xine for movie thumbnails +DEPENDS = "imlib2 epeg libpng evas ecore edje perl-native" +PV = "0.3.0+cvs${SRCDATE}" + +inherit efl_library + +# a gstreamer thumbnailer would be nice now that we have emotion using gstreamer as well +EXTRA_OECONF = "--disable-xine" + +FILES_${PN}-dev += "${libdir}/${PN}/*/*.a ${libdir}/${PN}/*/*.la" +FILES_${PN}-dbg += "${libdir}/${PN}/plugins/.debug/*.so" diff --git a/packages/efl1/esmart_cvs.bb b/packages/efl1/esmart_cvs.bb new file mode 100644 index 0000000000..17e1f42b95 --- /dev/null +++ b/packages/efl1/esmart_cvs.bb @@ -0,0 +1,26 @@ +DESCRIPTION = "ESmart is a collection of smart Evas objects" +LICENSE = "MIT" +DEPENDS = "evas ecore edje imlib2 epsilon libtool" +PV = "0.9.0+cvs${SRCDATE}" + +inherit efl_library + +EXTRA_OECONF = "--with-edje-cc=${STAGING_BINDIR_NATIVE}/edje_cc" + +PACKAGES =+ "${PN}-textentry \ + ${PN}-thumb \ + ${PN}-container \ + ${PN}-container-plugins \ + ${PN}-file-dialog \ + ${PN}-draggies \ + ${PN}-trans-x11" + +FILES_${PN}-dbg += "${libdir}/.debug/ ${libdir}/esmart/*/.debug/" +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-native/.mtn2git_empty b/packages/efl1/etk-native/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/packages/efl1/etk-native/.mtn2git_empty diff --git a/packages/efl1/etk-native_cvs.bb b/packages/efl1/etk-native_cvs.bb new file mode 100644 index 0000000000..6770be4ab3 --- /dev/null +++ b/packages/efl1/etk-native_cvs.bb @@ -0,0 +1,10 @@ +require etk_cvs.bb +inherit native +DEPENDS = "evas-native ecore-native edje-native" + +SRC_URI += "file://no-tests.patch;patch=1" + +do_stage_append() { + mv ${STAGING_DIR}/include/etk ${STAGING_INCDIR} +} + diff --git a/packages/efl1/etk_cvs.bb b/packages/efl1/etk_cvs.bb new file mode 100644 index 0000000000..ad959edef6 --- /dev/null +++ b/packages/efl1/etk_cvs.bb @@ -0,0 +1,17 @@ +DESCRIPTION = "Etk is an advanced widget toolkit based on the Enlightenment Foundation Libraries." +DEPENDS = "evas ecore edje" +LICENSE = "MIT" +PV = "0.1.0+cvs${SRCDATE}" +PR = "r0" + +inherit efl_library + +# TODO package engines seperatly (do_split_packages) + +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_cvs.bb b/packages/efl1/evas-native_cvs.bb new file mode 100644 index 0000000000..8b8694899e --- /dev/null +++ b/packages/efl1/evas-native_cvs.bb @@ -0,0 +1,61 @@ +require evas.inc +inherit native +DEPENDS = "freetype-native libpng-native jpeg-native eet-native" +PR = "r0" + +EXTRA_OECONF = "\ + --x-includes=${STAGING_INCDIR}/X11 \ + --x-libraries=${STAGING_LIBDIR} \ + --disable-fb \ + --disable-directfb \ + --disable-sdl \ + --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..6fb6d7f60e --- /dev/null +++ b/packages/efl1/evas.inc @@ -0,0 +1,36 @@ +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 = "libsdl-x11 directfb eet freetype jpeg virtual/libx11 libxext" +PV = "0.9.9+cvs${SRCDATE}" + +inherit efl_library + +export FREETYPE_CONFIG = "${STAGING_BINDIR_CROSS}/freetype-config" + +SRC_URI += "file://fix-configure.patch;patch=1" +FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/evas" + +EXTRA_OECONF = "<override me>" + +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, extra_depends="" ) +} + +do_install_append() { + find "${D}" -name .debug -type d | xargs -iBLAH rm -rf "BLAH" +} + +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 --- /dev/null +++ b/packages/efl1/evas/.mtn2git_empty 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_cvs.bb b/packages/efl1/evas_cvs.bb new file mode 100644 index 0000000000..b80ff8bcba --- /dev/null +++ b/packages/efl1/evas_cvs.bb @@ -0,0 +1,59 @@ +require evas.inc +PR = "r0" + +EXTRA_OECONF = "\ + --x-includes=${STAGING_INCDIR}/X11 \ + --x-libraries=${STAGING_LIBDIR} \ + --enable-fb \ + --enable-directfb \ + --enable-sdl \ + --enable-buffer \ + --disable-software-ddraw \ + --disable-software-qtopia \ + --enable-software-x11 \ + --disable-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/evolve-native_cvs.bb b/packages/efl1/evolve-native_cvs.bb new file mode 100644 index 0000000000..8478b6b0d8 --- /dev/null +++ b/packages/efl1/evolve-native_cvs.bb @@ -0,0 +1,6 @@ +require evolve_cvs.bb +inherit native +DEPENDS = "etk-native" + +# needs ecore-x :/ +BROKEN = "1" diff --git a/packages/efl1/evolve_cvs.bb b/packages/efl1/evolve_cvs.bb new file mode 100644 index 0000000000..272d90002e --- /dev/null +++ b/packages/efl1/evolve_cvs.bb @@ -0,0 +1,6 @@ +DESCRIPTION = "Evolve allows you to write ETK designs using a C-like language" +LICENSE = "MIT" +DEPENDS = "etk evolve-native" +PV = "0.0.0+cvs${SRCDATE}" + +inherit efl_library diff --git a/packages/efl1/ewl_cvs.bb b/packages/efl1/ewl_cvs.bb new file mode 100644 index 0000000000..2ac7c65279 --- /dev/null +++ b/packages/efl1/ewl_cvs.bb @@ -0,0 +1,21 @@ +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" +PV = "0.5.1+cvs${SRCDATE}" +PR = "r0" + +inherit efl_library + +# TODO package engines more granular +PACKAGES += "${PN}-plugins ${PN}-engines" + +FILES_${PN} += "${sysconfdir}/ewl/*" +FILES_${PN}-tests += "${libdir}/ewl/tests/*.so*" +FILES_${PN}-dev += "${libdir}/ewl/*/*.a ${libdir}/ewl/*/*.la" +FILES_${PN}-dbg += "${libdir}/ewl/*/.debug" + +FILES_${PN}-engines = "${libdir}/ewl/engines/*.so*" +FILES_${PN}-plugins = "${libdir}/ewl/plugins/*.so*" diff --git a/packages/efl1/exml_cvs.bb b/packages/efl1/exml_cvs.bb new file mode 100644 index 0000000000..add3053a02 --- /dev/null +++ b/packages/efl1/exml_cvs.bb @@ -0,0 +1,6 @@ +DESCRIPTION = "Exml is a generic XML parser wrapper." +LICENSE = "MIT" +DEPENDS = "libxml2 libxslt ecore" + +inherit efl_library + diff --git a/packages/efl1/imlib2_1.4.0.002.bb b/packages/efl1/imlib2_1.4.0.002.bb new file mode 100644 index 0000000000..a50eca9623 --- /dev/null +++ b/packages/efl1/imlib2_1.4.0.002.bb @@ -0,0 +1,17 @@ +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" +PR = "r0" + +inherit efl_library + +PACKAGES =+ "imlib2-loaders-dbg imlib2-filters-dbg imlib2-loaders imlib2-filters" +FILES_${PN} = "${libdir}/lib*.so.* ${libdir}/imlib2/*/*.so" +FILES_${PN}-dbg = "${libdir}/.debug/ ${bindir}/.debug/" +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" |