Skip to contentSkip to conversation

package: add efl librairies

PATCH New llandwerlin at gmail.com 1 participant 7 messages Dec 24, 2009 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

cover package: add efl librairies

With the (not so) recent activity around e17 and the new snapshot released earlier this month, people might get interested in the EFL integration in buildroot.

Currently compiled/tested on directfb. Any comment/fix/test is welcome. The libedje package depends on another patch on lua :
http://lists.busybox.net/pipermail/buildroot/2009-December/031334.html

[PATCH 1/5] efl: added libeet package
[PATCH 2/5] efl: added libevas package
[PATCH 3/5] efl: added libecore package
[PATCH 4/5] efl: added libembryo package
[PATCH 5/5] efl: added libedje package

Regards,

#1 lore raw

PATCH 1/5 efl: added libeet package

From: Lionel Landwerlin <[email protected]>

---
 package/efl/Config.in        |    1 +
 package/efl/efl.mk           |    1 +
 package/efl/libeet/Config.in |    9 +++++++++
 package/efl/libeet/libeet.mk |   17 +++++++++++++++++
 4 files changed, 28 insertions(+), 0 deletions(-)
 create mode 100644 package/efl/libeet/Config.in
 create mode 100644 package/efl/libeet/libeet.mk
package/efl/Config.in +1 -0
index 1a05c4d..1e3d8ae 100644
@@ -8,5 +8,6 @@ menuconfig BR2_PACKAGE_EFL
 if BR2_PACKAGE_EFL
 
 source "package/efl/libeina/Config.in"
+source "package/efl/libeet/Config.in"
 
 endif # BR2_PACKAGE_EFL
package/efl/efl.mk +1 -0
index 071256e..7125222 100644
@@ -1,5 +1,6 @@
 ifeq ($(BR2_PACKAGE_EFL),y)
 EFL_SNAPSHOT_URL=http://download.enlightenment.org/snapshots/2009-12-02
+EFL_RELEASE_URL=http://download.enlightenment.org/releases
 
 include package/efl/*/*.mk
 endif
package/efl/libeet/Config.in new file +9 -0
new file mode 100644
index 0000000..fa1dd2a
@@ -0,0 +1,9 @@
+config BR2_PACKAGE_LIBEET
+	bool "libeet"
+	select BR2_PACKAGE_ZLIB
+	select BR2_PACKAGE_JPEG
+	select BR2_PACKAGE_LIBEINA
+	help
+	  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).
package/efl/libeet/libeet.mk new file +17 -0
new file mode 100644
index 0000000..15d245b
@@ -0,0 +1,17 @@
+#############################################################
+#
+# libeet
+#
+#############################################################
+
+LIBEET_VERSION = 1.2.3
+LIBEET_SOURCE = eet-$(LIBEET_VERSION).tar.bz2
+LIBEET_SITE = $(EFL_RELEASE_URL)
+LIBEET_INSTALL_STAGING = YES
+LIBEET_INSTALL_TARGET = YES
+
+LIBEET_DEPENDENCIES = host-pkg-config zlib jpeg libeina
+
+$(eval $(call AUTOTARGETS,package,libeet))
+
+
Signature · 1 line
1.6.5.7
#2 lore raw

PATCH 2/5 efl: added libevas package

In reply to llandwerlin at gmail.com

From: Lionel Landwerlin <[email protected]>

---
 package/efl/Config.in          |    1 +
 package/efl/libevas/Config.in  |  199 ++++++++++++++++++++++++++++++++++++++++
 package/efl/libevas/libevas.mk |  163 ++++++++++++++++++++++++++++++++
 3 files changed, 363 insertions(+), 0 deletions(-)
 create mode 100644 package/efl/libevas/Config.in
 create mode 100644 package/efl/libevas/libevas.mk
package/efl/Config.in +1 -0
index 1e3d8ae..8c7514b 100644
@@ -9,5 +9,6 @@ if BR2_PACKAGE_EFL
 
 source "package/efl/libeina/Config.in"
 source "package/efl/libeet/Config.in"
+source "package/efl/libevas/Config.in"
 
 endif # BR2_PACKAGE_EFL
package/efl/libevas/Config.in new file +199 -0

199 lines not on this page · raw message

package/efl/libevas/libevas.mk new file +163 -0

163 lines not on this page · raw message

Signature · 1 line
1.6.5.7
#3 lore raw

PATCH 3/5 efl: added libecore package

In reply to llandwerlin at gmail.com

From: Lionel Landwerlin <[email protected]>

---
 package/efl/Config.in            |    1 +
 package/efl/libecore/Config.in   |   81 +++++++++++++++++++++++++
 package/efl/libecore/libecore.mk |  124 ++++++++++++++++++++++++++++++++++++++
 3 files changed, 206 insertions(+), 0 deletions(-)
 create mode 100644 package/efl/libecore/Config.in
 create mode 100644 package/efl/libecore/libecore.mk
package/efl/Config.in +1 -0
index 8c7514b..c542c00 100644
@@ -8,6 +8,7 @@ menuconfig BR2_PACKAGE_EFL
 if BR2_PACKAGE_EFL
 
 source "package/efl/libeina/Config.in"
+source "package/efl/libecore/Config.in"
 source "package/efl/libeet/Config.in"
 source "package/efl/libevas/Config.in"
 
package/efl/libecore/Config.in new file +81 -0

81 lines not on this page · raw message

package/efl/libecore/libecore.mk new file +124 -0

124 lines not on this page · raw message

Signature · 1 line
1.6.5.7
#4 lore raw

PATCH 4/5 efl: added libembryo package

In reply to llandwerlin at gmail.com

From: Lionel Landwerlin <[email protected]>

---
 package/efl/Config.in              |    1 +
 package/efl/libembryo/Config.in    |    7 +++++++
 package/efl/libembryo/libembryo.mk |   15 +++++++++++++++
 3 files changed, 23 insertions(+), 0 deletions(-)
 create mode 100644 package/efl/libembryo/Config.in
 create mode 100644 package/efl/libembryo/libembryo.mk
package/efl/Config.in +1 -0
index c542c00..7a89120 100644
@@ -11,5 +11,6 @@ source "package/efl/libeina/Config.in"
 source "package/efl/libecore/Config.in"
 source "package/efl/libeet/Config.in"
 source "package/efl/libevas/Config.in"
+source "package/efl/libembryo/Config.in"
 
 endif # BR2_PACKAGE_EFL
package/efl/libembryo/Config.in new file +7 -0
new file mode 100644
index 0000000..1014bfc
@@ -0,0 +1,7 @@
+config BR2_PACKAGE_LIBEMBRYO
+	bool "libembryo"
+	help
+          Embryo is primarily a shared library that gives you an API
+          to load and control interpreted programs compiled into an
+          abstract machine bytecode that it understands.
+
package/efl/libembryo/libembryo.mk new file +15 -0
new file mode 100644
index 0000000..e67c49a
@@ -0,0 +1,15 @@
+#############################################################
+#
+# libembryo
+#
+#############################################################
+
+LIBEMBRYO_VERSION = 0.9.9.063
+LIBEMBRYO_SOURCE = embryo-$(LIBEMBRYO_VERSION).tar.bz2
+LIBEMBRYO_SITE = $(EFL_SNAPSHOT_URL)
+LIBEMBRYO_INSTALL_STAGING = YES
+LIBEMBRYO_INSTALL_TARGET = YES
+
+LIBEMBRYO_DEPENDENCIES = host-pkg-config
+
+$(eval $(call AUTOTARGETS,package,libembryo))
Signature · 1 line
1.6.5.7
#5 lore raw

PATCH 5/5 efl: added libedje package

In reply to llandwerlin at gmail.com

From: Lionel Landwerlin <[email protected]>

---
 package/efl/Config.in          |    1 +
 package/efl/libedje/Config.in  |   17 +++++++++++++++++
 package/efl/libedje/libedje.mk |   21 +++++++++++++++++++++
 3 files changed, 39 insertions(+), 0 deletions(-)
 create mode 100644 package/efl/libedje/Config.in
 create mode 100644 package/efl/libedje/libedje.mk
package/efl/Config.in +1 -0
index 7a89120..2419bac 100644
@@ -12,5 +12,6 @@ source "package/efl/libecore/Config.in"
 source "package/efl/libeet/Config.in"
 source "package/efl/libevas/Config.in"
 source "package/efl/libembryo/Config.in"
+source "package/efl/libedje/Config.in"
 
 endif # BR2_PACKAGE_EFL
package/efl/libedje/Config.in new file +17 -0
new file mode 100644
index 0000000..7b4f275
@@ -0,0 +1,17 @@
+config BR2_PACKAGE_LIBEDJE
+	bool "libedje"
+	select BR2_PACKAGE_LIBEET
+	select BR2_PACKAGE_LIBECORE
+	select BR2_PACKAGE_LIBEMBRYO
+	select BR2_PACKAGE_LIBEVAS
+        select BR2_PACKAGE_LUA
+	help
+          A graphical layout and animation library for animated
+          resizable, compressed and scalable themes.
+
+if BR2_PACKAGE_LIBEDJE
+
+config BR2_PACKAGE_LIBEDJE_CC
+	bool "build edje_cc"
+
+endif # BR2_PACKAGE_LIBEDJE
package/efl/libedje/libedje.mk new file +21 -0
new file mode 100644
index 0000000..78781ac
@@ -0,0 +1,21 @@
+#############################################################
+#
+# libedje
+#
+#############################################################
+
+LIBEDJE_VERSION = 0.9.93.063
+LIBEDJE_SOURCE = edje-$(LIBEDJE_VERSION).tar.bz2
+LIBEDJE_SITE = $(EFL_SNAPSHOT_URL)
+LIBEDJE_INSTALL_STAGING = YES
+LIBEDJE_INSTALL_TARGET = YES
+
+LIBEDJE_DEPENDENCIES = host-pkg-config lua libeet libecore libevas libembryo
+
+ifeq ($(BR2_PACKAGE_LIBEDJE_CC),y)
+LIBEDJE_CONF_OPT += --enable-edje-cc
+else
+LIBEDJE_CONF_OPT += --disable-edje-cc
+endif
+
+$(eval $(call AUTOTARGETS,package,libedje))
Signature · 1 line
1.6.5.7

A message that is not in the archive (sent off-list or not yet received): [email protected]

#7 lore raw

cover package: add efl librairies

Le jeudi 24 d?cembre 2009 ? 02:06 +0100, Stefan Schake a ?crit :

Quoted 8 lines

Hey,

Love to see EFL in buildroot, thanks very much :)
Just a small error in all of the packages:
when you call AUTOTARGETS, you pass the path, but since you added a subdirectory, you have to add it in the call, too.
For example,

Quoted 5 lines

$(eval $(call AUTOTARGETS,package,libedje))

becomes

$(eval $(call AUTOTARGETS,package/efl,libedje))

Thx, I missed that...

Quoted 10 lines

This might be important when there are patches to apply because of the way AUTOTARGETS searches for them.

Also you're missing a few configuration switches on ecore (ecore-job, ecore-con, ecore-ipc, ecore-txt). These all cleanly compile without any dependencies really, with one exception: ecore-con, which fails for uClibc. I've attached a patch that fixes the problem, but as I look at it, I think it can be done more cleanly. Anyway, still useful to highlight the problem.

Thx again. I just tested with glibc.
Adding such modules might complexify the dependencies a little bit but I will do it.

By the way did you try with a directfb or x11 backend ?

Quoted 6 lines

Do you have any plans on integrating elementary? Since it is specifically targeting at embedded, it might be very useful for most of buildroot users. I might warn you however, elementary requires the host to have the edje installed since it's calling edjecc during the build, so we will need a host-package of edje for that.

Yes it's planned, thx for the tips.
I would like to go up to Enna ;)

Quoted 25 lines

Greetings

2009/12/24 <[email protected]>:

Quoted 21 lines

With the (not so) recent activity around e17 and the new snapshot released earlier this month, people might get interested in the EFL integration in buildroot.

Currently compiled/tested on directfb. Any comment/fix/test is welcome. The libedje package depends on another patch on lua :
http://lists.busybox.net/pipermail/buildroot/2009-December/031334.html

[PATCH 1/5] efl: added libeet package
[PATCH 2/5] efl: added libevas package
[PATCH 3/5] efl: added libecore package
[PATCH 4/5] efl: added libembryo package
[PATCH 5/5] efl: added libedje package

Regards,

_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot