Skip to contentSkip to conversation

Pull request for branch e17

GIT PULL New Thomas Petazzoni 2 participants 21 messages Dec 30, 2012

lore
Share & tools
lore
#0 lore raw

Hello,

This set of patches bumps all the EFL (Enlightenment Foundation Libraries) packages to the latest version 1.7.4 which was released on December, 21st with E17.

It also adds a package for E17 itself, in order to provide a demonstration of a lightweight desktop environment in Buildroot.

It has been tested on ARM Glibc (Linaro toolchain) and uClibc (internal toolchain), booted under X.org in Qemu, and it starts fine.

Of course, some additional improvements and tests can be made later:
test with the XCB backend (only the X11 backend has been tested), test with the OpenGL backend, test more features, etc.

Changes since v1:

* Fix typo in libeio help text.

* Add dependencies on libeet, libecore and libeina in the libeio package. I have now properly build tested a simple libeio build.

* Add an help text for the enlightenment package.

* Properly squash the expedite version bump patches

Best regards,

Thomas

The following changes since commit 2c5b4ddc1932e7dedec1e412a5c5465f4fbe6f8b:

wavpack: fix broken link on newer binutils (2012-12-29 14:30:59 +0100)

are available in the git repository at:

git://git.free-electrons.com/users/thomas-petazzoni/buildroot.git e17

for you to fetch changes up to 473af436480f08e78377154783276b1c348b2625:

enlightenment: new package (2012-12-30 07:24:10 +0100)

----------------------------------------------------------------
Thomas Petazzoni (19):
efl/libecore: bump version to 1.7.4
efl/expedite: bump to version 1.7.4
efl/libedbus: bump to version 1.7.4
efl/libedje: bump to version 1.7.4
efl/libeet: bump to version 1.7.4
efl/libefreet: bump to version 1.7.4
efl/libeina: bump to version 1.7.4
efl/libelementary: bump to version 1.7.4 and change download location efl/libembryo: bump to version 1.7.4
efl/libevas: bump to version 1.7.4
efl/libevas: remove SVG support
efl/libevas: adjust dependency on X11 libraries efl/libevas: remove examples source code from target filesystem efl/libeio: new package
efl/libethumb: bump to 1.7.4 and change download location
librsvg: relax dependency on Gtk, add gdk-pixbuf dependency efl/libevas-generic-loaders: new package
xcb-util-keysyms: new package
enlightenment: new package

 package/Config.in                                  |    1 +
 package/efl/Config.in                              |    2 +
 package/efl/expedite/expedite.mk                   |    2 +-
 ...ecore-ecore_exe-fix-build-with-glibc-2-16.patch |   94 --------------------
 package/efl/libecore/libecore.mk                   |    2 +-
 package/efl/libedbus/libedbus.mk                   |    2 +-
 package/efl/libedje/libedje.mk                     |    2 +-
 package/efl/libeet/libeet.mk                       |    2 +-
 package/efl/libefreet/libefreet.mk                 |    2 +-
 package/efl/libeina/libeina.mk                     |    2 +-
 package/efl/libeio/Config.in                       |   18 ++++
 package/efl/libeio/libeio.mk                       |   16 ++++
 package/efl/libelementary/libelementary.mk         |    4 +-
 package/efl/libembryo/libembryo.mk                 |    2 +-
 package/efl/libethumb/libethumb.mk                 |    4 +-
 package/efl/libevas-generic-loaders/Config.in      |   21 +++++
 .../libevas-generic-loaders.mk                     |   31 +++++++
 package/efl/libevas/Config.in                      |    6 +-
 package/efl/libevas/libevas.mk                     |   18 ++--
 package/enlightenment/Config.in                    |   37 ++++++++
 .../enlightenment/enlightenment-no-execinfo.patch  |   27 ++++++
 package/enlightenment/enlightenment.mk             |   40 +++++++++
 package/librsvg/Config.in                          |    2 +-
 package/librsvg/librsvg.mk                         |    8 +-
 package/x11r7/Config.in                            |    1 +
 package/x11r7/xcb-util-keysyms/Config.in           |   14 +++
 package/x11r7/xcb-util-keysyms/xcb-util-keysyms.mk |   12 +++
 27 files changed, 251 insertions(+), 121 deletions(-)
 delete mode 100644 package/efl/libecore/libecore-ecore_exe-fix-build-with-glibc-2-16.patch
 create mode 100644 package/efl/libeio/Config.in
 create mode 100644 package/efl/libeio/libeio.mk
 create mode 100644 package/efl/libevas-generic-loaders/Config.in
 create mode 100644 package/efl/libevas-generic-loaders/libevas-generic-loaders.mk
 create mode 100644 package/enlightenment/Config.in
 create mode 100644 package/enlightenment/enlightenment-no-execinfo.patch
 create mode 100644 package/enlightenment/enlightenment.mk
 create mode 100644 package/x11r7/xcb-util-keysyms/Config.in
 create mode 100644 package/x11r7/xcb-util-keysyms/xcb-util-keysyms.mk

Thanks,

Signature · 1 line
Thomas Petazzoni
#1 lore raw

PATCH 1/19 efl/libecore: bump version to 1.7.4

The libecore-ecore_exe-fix-build-with-glibc-2-16 patch is no longer needed, since it has been merged upstream.

---
 ...ecore-ecore_exe-fix-build-with-glibc-2-16.patch |   94 --------------------
 package/efl/libecore/libecore.mk                   |    2 +-
 2 files changed, 1 insertion(+), 95 deletions(-)
 delete mode 100644 package/efl/libecore/libecore-ecore_exe-fix-build-with-glibc-2-16.patch
package/efl/libecore/libecore-ecore_exe-fix-build-with-glibc-2-16.patch deleted +0 -94
deleted file mode 100644
index d9b439c..0000000
@@ -1,94 +0,0 @@
-Backported for commit a0df6712b6afcd07facd32e5a66809170277bdf3
-Fixed the ChangeLog part.
-
-This patch fix build with glibc >=2.16, avoiding the following error occurs:
-
-Making all in ecore
-make[6]: Entering directory `/opt/buildroot/output/build/host-libecore-1.1.0/src/lib/ecore'
-  CC     ecore.lo
-  CC     ecore_anim.lo
-  CC     ecore_app.lo
-  CC     ecore_events.lo
-  CC     ecore_getopt.lo
-  CC     ecore_idle_enterer.lo
-  CC     ecore_idle_exiter.lo
-  CC     ecore_idler.lo
-  CC     ecore_job.lo
-  CC     ecore_main.lo
-  CC     ecore_pipe.lo
-  CC     ecore_poll.lo
-  CC     ecore_time.lo
-  CC     ecore_timer.lo
-  CC     ecore_thread.lo
-  CC     ecore_glib.lo
-  CC     ecore_throttle.lo
-  CC     ecore_signal.lo
-  CC     ecore_exe.lo
-ecore_exe.c: In function ?ecore_exe_pipe_run?:
-ecore_exe.c:486:15: warning: implicit declaration of function ?setpriority? [-Wimplicit-function-declaration]
-ecore_exe.c:486:27: error ?PRIO_PROCESS? undeclared (first use in this function)
-ecore_exe.c:486:27: note: each undeclared identifier is reported only once for each function it appears in
-make[6]: *** [ecore_exe.lo] Error 1
-
-
-Signed-off-by: Samuel Martin <[email protected]>
-
----
-From a0df6712b6afcd07facd32e5a66809170277bdf3 Mon Sep 17 00:00:00 2001
-From: caro <caro>
-Date: Fri, 22 Jun 2012 05:36:00 +0000
-Subject: [PATCH] ecore_exe: fix compilation on fedora 18.
-
-setpriority needs sys/resource.h. See:
-
-http://linux.die.net/man/2/setpriority
-
-I let sys/time.h, it does not hurt on linux and is anyway needed for BSD systems.
-
-
-git-svn-id: http://svn.enlightenment.org/svn/e at 72684 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33
----
- ChangeLog                 | 4 ++++
- src/lib/ecore/ecore_exe.c | 7 ++-----
- 2 files changed, 6 insertions(+), 5 deletions(-)
-
-diff --git a/ChangeLog b/ChangeLog
-index a306f75..549ad19 100644
---- a/ChangeLog
-+++ b/ChangeLog
-@@ -763,3 +763,7 @@
- 2011-11-29 Mike McCormack
-
- 	* Allow quitting before entering the glib version of the main loop
-+
-+2012-06-22 Vincent Torri
-+
-+	* ecore_exe: fix compilation on fedora 18.
-diff --git a/src/lib/ecore/ecore_exe.c b/src/lib/ecore/ecore_exe.c
-index 7931a96..6db32a9 100644
---- a/src/lib/ecore/ecore_exe.c
-+++ b/src/lib/ecore/ecore_exe.c
-@@ -2,11 +2,6 @@
- # include <config.h>
- #endif
- 
--#if defined (__FreeBSD__) || defined (__OpenBSD__) || defined (__NetBSD__)
--# include <sys/time.h>
--# include <sys/resource.h>
--#endif
--
- #include <stdlib.h>
- #include <stdio.h>
- #include <string.h>
-@@ -14,6 +9,8 @@
- #include <sys/types.h>
- #include <unistd.h>
- #include <fcntl.h>
-+#include <sys/time.h>
-+#include <sys/resource.h>
- 
- #ifdef HAVE_SYS_PRCTL_H
- # include <sys/prctl.h>
--- 
-1.7.12.2
-
package/efl/libecore/libecore.mk +1 -1
index 9eb09ac..0220017 100644
@@ -4,7 +4,7 @@
 #
 #############################################################
 
-LIBECORE_VERSION = 1.1.0
+LIBECORE_VERSION = 1.7.4
 LIBECORE_SOURCE = ecore-$(LIBECORE_VERSION).tar.bz2
 LIBECORE_SITE = http://download.enlightenment.org/releases/
 LIBECORE_LICENSE = BSD-2c
Signature · 1 line
1.7.9.5
#2 lore raw

PATCH 2/19 efl/expedite: bump to version 1.7.4

In reply to Thomas Petazzoni
---
 package/efl/expedite/expedite.mk |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
package/efl/expedite/expedite.mk +1 -1
index 26d25f5..4b245ec 100644
@@ -4,7 +4,7 @@
 #
 #############################################################
 
-EXPEDITE_VERSION = 1.1.0
+EXPEDITE_VERSION = 1.7.4
 EXPEDITE_SITE = http://download.enlightenment.org/releases/
 EXPEDITE_LICENSE = BSD-2c
 EXPEDITE_LICENSE_FILES = COPYING
Signature · 1 line
1.7.9.5
#3 lore raw

PATCH 3/19 efl/libedbus: bump to version 1.7.4

In reply to Thomas Petazzoni
---
 package/efl/libedbus/libedbus.mk |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
package/efl/libedbus/libedbus.mk +1 -1
index 60651e3..9c62ead 100644
@@ -4,7 +4,7 @@
 #
 #############################################################
 
-LIBEDBUS_VERSION = 1.1.0
+LIBEDBUS_VERSION = 1.7.4
 LIBEDBUS_SOURCE = e_dbus-$(LIBEDBUS_VERSION).tar.bz2
 LIBEDBUS_SITE = http://download.enlightenment.org/releases/
 LIBEDBUS_LICENSE = BSD-2c
Signature · 1 line
1.7.9.5
#4 lore raw

PATCH 4/19 efl/libedje: bump to version 1.7.4

In reply to Thomas Petazzoni
---
 package/efl/libedje/libedje.mk |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
package/efl/libedje/libedje.mk +1 -1
index ce17da5..a02eaa9 100644
@@ -4,7 +4,7 @@
 #
 #############################################################
 
-LIBEDJE_VERSION = 1.1.0
+LIBEDJE_VERSION = 1.7.4
 LIBEDJE_SOURCE = edje-$(LIBEDJE_VERSION).tar.bz2
 LIBEDJE_SITE =  http://download.enlightenment.org/releases/
 LIBEDJE_LICENSE = GPLv2+ (epp binary), BSD-2c (everything else)
Signature · 1 line
1.7.9.5
#5 lore raw

PATCH 5/19 efl/libeet: bump to version 1.7.4

In reply to Thomas Petazzoni
---
 package/efl/libeet/libeet.mk |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
package/efl/libeet/libeet.mk +1 -1
index ccb3501..a5a1ce1 100644
@@ -4,7 +4,7 @@
 #
 #############################################################
 
-LIBEET_VERSION = 1.5.0
+LIBEET_VERSION = 1.7.4
 LIBEET_SOURCE = eet-$(LIBEET_VERSION).tar.bz2
 LIBEET_SITE = http://download.enlightenment.org/releases/
 LIBEET_LICENSE = BSD-2c
Signature · 1 line
1.7.9.5
#6 lore raw

PATCH 6/19 efl/libefreet: bump to version 1.7.4

In reply to Thomas Petazzoni
---
 package/efl/libefreet/libefreet.mk |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
package/efl/libefreet/libefreet.mk +1 -1
index c0d7397..b23a5a5 100644
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-LIBEFREET_VERSION = 1.1.0
+LIBEFREET_VERSION = 1.7.4
 LIBEFREET_SOURCE = efreet-$(LIBEFREET_VERSION).tar.bz2
 LIBEFREET_SITE = http://download.enlightenment.org/releases/
 LIBEFREET_LICENSE = BSD-2c
Signature · 1 line
1.7.9.5
#7 lore raw

PATCH 7/19 efl/libeina: bump to version 1.7.4

In reply to Thomas Petazzoni
---
 package/efl/libeina/libeina.mk |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
package/efl/libeina/libeina.mk +1 -1
index e5b89c1..d99a237 100644
@@ -4,7 +4,7 @@
 #
 #############################################################
 
-LIBEINA_VERSION = 1.1.0
+LIBEINA_VERSION = 1.7.4
 LIBEINA_SOURCE = eina-$(LIBEINA_VERSION).tar.bz2
 LIBEINA_SITE = http://download.enlightenment.org/releases/
 LIBEINA_LICENSE = LGPLv2.1+
Signature · 1 line
1.7.9.5
#8 lore raw

PATCH 8/19 efl/libelementary: bump to version 1.7.4 and change download location

In reply to Thomas Petazzoni
---
 package/efl/libelementary/libelementary.mk |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
package/efl/libelementary/libelementary.mk +2 -2
index 8957d03..81289ff 100644
@@ -4,9 +4,9 @@
 #
 ################################################################################
 
-LIBELEMENTARY_VERSION = 0.8.0.65643
+LIBELEMENTARY_VERSION = 1.7.4
 LIBELEMENTARY_SOURCE = elementary-$(LIBELEMENTARY_VERSION).tar.bz2
-LIBELEMENTARY_SITE = http://download.enlightenment.org/snapshots/2011-11-28
+LIBELEMENTARY_SITE = http://download.enlightenment.org/releases/
 LIBELEMENTARY_LICENSE = LGPLv2.1
 LIBELEMENTARY_LICENSE_FILES = COPYING
 
Signature · 1 line
1.7.9.5
#9 lore raw

PATCH 9/19 efl/libembryo: bump to version 1.7.4

In reply to Thomas Petazzoni
---
 package/efl/libembryo/libembryo.mk |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
package/efl/libembryo/libembryo.mk +1 -1
index 9cab5aa..ce5c968 100644
@@ -4,7 +4,7 @@
 #
 #############################################################
 
-LIBEMBRYO_VERSION = 1.1.0
+LIBEMBRYO_VERSION = 1.7.4
 LIBEMBRYO_SOURCE = embryo-$(LIBEMBRYO_VERSION).tar.bz2
 LIBEMBRYO_SITE = http://download.enlightenment.org/releases/
 LIBEMBRYO_LICENSE = BSD-2c, Embryo license
Signature · 1 line
1.7.9.5
#10 lore raw

PATCH 10/19 efl/libevas: bump to version 1.7.4

In reply to Thomas Petazzoni
---
 package/efl/libevas/libevas.mk |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
package/efl/libevas/libevas.mk +1 -1
index 1f053e3..8e03ba6 100644
@@ -4,7 +4,7 @@
 #
 #############################################################
 
-LIBEVAS_VERSION = 1.1.0
+LIBEVAS_VERSION = 1.7.4
 LIBEVAS_SOURCE = evas-$(LIBEVAS_VERSION).tar.bz2
 LIBEVAS_SITE = http://download.enlightenment.org/releases/
 LIBEVAS_LICENSE = BSD-2c
Signature · 1 line
1.7.9.5
#11 lore raw

PATCH 11/19 efl/libevas: remove SVG support

In reply to Thomas Petazzoni

The SVG support requires esvg, which hasn't been released yet. The recommandation of the EFL developers is to use the SVG loader from the evas-generic-loaders project.

---
 package/efl/libevas/Config.in  |    5 -----
 package/efl/libevas/libevas.mk |    6 ------
 2 files changed, 11 deletions(-)
package/efl/libevas/Config.in +0 -5
index ddac49e..d8e5002 100644
@@ -181,11 +181,6 @@ config BR2_PACKAGE_LIBEVAS_TIFF
 	help
 	  This enables the loader code that loads tiff files.
 
-config BR2_PACKAGE_LIBEVAS_SVG
-	bool "libevas svg loader"
-	help
-	  This enables the loader code that loads svg files.
-
 config BR2_PACKAGE_LIBEVAS_XPM
 	bool "libevas xpm loader"
 	help
package/efl/libevas/libevas.mk +0 -6
index 8e03ba6..6e69d7f 100644
@@ -176,12 +176,6 @@ else
 LIBEVAS_CONF_OPT += --disable-image-loader-pmaps
 endif
 
-ifeq ($(BR2_PACKAGE_LIBEVAS_SVG),y)
-LIBEVAS_CONF_OPT += --enable-image-loader-svg
-else
-LIBEVAS_CONF_OPT += --disable-image-loader-svg
-endif
-
 ifeq ($(BR2_PACKAGE_LIBEVAS_TIFF),y)
 LIBEVAS_CONF_OPT += --enable-image-loader-tiff
 LIBEVAS_DEPENDENCIES += tiff
Signature · 1 line
1.7.9.5
#12 lore raw

PATCH 12/19 efl/libevas: adjust dependency on X11 libraries

In reply to Thomas Petazzoni

The libevas configure script actually checks the presence of libX11 and libXext, so use those two libraries as the dependencies for the X11 backend of libevas.

---
 package/efl/libevas/Config.in  |    1 +
 package/efl/libevas/libevas.mk |    2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)
package/efl/libevas/Config.in +1 -0
index d8e5002..bd845c1 100644
@@ -91,6 +91,7 @@ config BR2_PACKAGE_LIBEVAS_X11
 	bool "libevas X11 backend"
 	depends on BR2_PACKAGE_XORG7
 	select BR2_PACKAGE_XLIB_LIBX11
+	select BR2_PACKAGE_XLIB_LIBXEXT
 	help
 	  This enables the software X11 rendering engine that renders
 	  to X drawable targets using highly optimised software
package/efl/libevas/libevas.mk +1 -1
index 6e69d7f..098afe3 100644
@@ -63,7 +63,7 @@ endif
 
 ifeq ($(BR2_PACKAGE_LIBEVAS_X11),y)
 LIBEVAS_CONF_OPT += --enable-software-xlib
-LIBEVAS_DEPENDENCIES += xproto_xproto
+LIBEVAS_DEPENDENCIES += xlib_libX11 xlib_libXext
 endif
 
 ifeq ($(BR2_PACKAGE_LIBEVAS_X11_GLX),y)
Signature · 1 line
1.7.9.5
#13 lore raw

PATCH 13/19 efl/libevas: remove examples source code from target filesystem

In reply to Thomas Petazzoni
---
 package/efl/libevas/libevas.mk |    8 ++++++++
 1 file changed, 8 insertions(+)
package/efl/libevas/libevas.mk +8 -0
index 098afe3..0a90842 100644
@@ -203,5 +203,13 @@ else
 LIBEVAS_CONF_OPT += --disable-font-loader-eet
 endif
 
+# libevas installs the source code of examples on the target, which
+# are generally not useful.
+define LIBEVAS_REMOVE_EXAMPLES
+	rm -rf $(TARGET_DIR)/usr/share/evas/examples/
+endef
+
+LIBEVAS_POST_INSTALL_TARGET_HOOKS += LIBEVAS_REMOVE_EXAMPLES
+
 $(eval $(autotools-package))
 $(eval $(host-autotools-package))
Signature · 1 line
1.7.9.5
#14 lore raw

PATCH 14/19 efl/libeio: new package

In reply to Thomas Petazzoni
---
 package/efl/Config.in        |    1 +
 package/efl/libeio/Config.in |   18 ++++++++++++++++++
 package/efl/libeio/libeio.mk |   16 ++++++++++++++++
 3 files changed, 35 insertions(+)
 create mode 100644 package/efl/libeio/Config.in
 create mode 100644 package/efl/libeio/libeio.mk
package/efl/Config.in +1 -0
index c783d7f..a526d87 100644
@@ -13,6 +13,7 @@ source "package/efl/libeina/Config.in"
 source "package/efl/libecore/Config.in"
 source "package/efl/libeet/Config.in"
 source "package/efl/libefreet/Config.in"
+source "package/efl/libeio/Config.in"
 source "package/efl/libevas/Config.in"
 source "package/efl/libembryo/Config.in"
 source "package/efl/libedje/Config.in"
package/efl/libeio/Config.in new file +18 -0
new file mode 100644
index 0000000..0b2751c
@@ -0,0 +1,18 @@
+config BR2_PACKAGE_LIBEIO
+	bool "libeio"
+	select BR2_PACKAGE_LIBEET
+	select BR2_PACKAGE_LIBEINA
+	select BR2_PACKAGE_LIBECORE
+	help
+	  Eio integrates with EFL (Ecore, Eina) to provide efficient
+	  filesystem Input/Output (I/O). It use the best techniques to
+	  achieve such purpose, like using at-variants, splice,
+	  properly handling errors and doing it in an asynchronous
+	  fashion by means of worker threads. It is also ported to
+	  Windows, so multi-platform.
+
+	  Whenever you need to list a directory, copy, move or delete
+	  files, Eio will do that task better than you'd achieve with
+	  naive implementations, and it is easy to use.
+
+	  http://trac.enlightenment.org/e/wiki/Eio
package/efl/libeio/libeio.mk new file +16 -0
new file mode 100644
index 0000000..f5e08de
@@ -0,0 +1,16 @@
+#############################################################
+#
+# libeio
+#
+#############################################################
+
+LIBEIO_VERSION = 1.7.4
+LIBEIO_SOURCE = eio-$(LIBEIO_VERSION).tar.bz2
+LIBEIO_SITE = http://download.enlightenment.org/releases/
+LIBEIO_LICENSE = LGPLv2.1
+LIBEIO_LICENSE_FILES = COPYING
+
+LIBEIO_INSTALL_STAGING = YES
+LIBEIO_DEPENDENCIES = libeina libeet libecore
+
+$(eval $(autotools-package))
Signature · 1 line
1.7.9.5
#15 lore raw

PATCH 15/19 efl/libethumb: bump to 1.7.4 and change download location

In reply to Thomas Petazzoni
---
 package/efl/libethumb/libethumb.mk |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
package/efl/libethumb/libethumb.mk +2 -2
index ba77e4c..eb098ea 100644
@@ -4,9 +4,9 @@
 #
 ################################################################################
 
-LIBETHUMB_VERSION = 0.1.1.65643
+LIBETHUMB_VERSION = 1.7.4
 LIBETHUMB_SOURCE = ethumb-$(LIBETHUMB_VERSION).tar.bz2
-LIBETHUMB_SITE = http://download.enlightenment.org/snapshots/2011-11-28
+LIBETHUMB_SITE = http://download.enlightenment.org/releases/
 LIBETHUMB_LICENSE = LGPLv2.1+
 LIBETHUMB_LICENSE_FILES = COPYING
 
Signature · 1 line
1.7.9.5
#16 lore raw

PATCH 16/19 librsvg: relax dependency on Gtk, add gdk-pixbuf dependency

In reply to Thomas Petazzoni

librsvg doesn't *require* Gtk, it can optionally build a Gtk theme engine, but it is not mandatory. Therefore, we make the Gtk dependency an optional dependency rather than a hard dependency. This will be useful as librsvg will become a dependency of libevas-generic-loaders, used in an EFL context in which building libgtk is not really what we want.

However, gdk-pixbuf is a mandatory dependency to build librsvg, so we add this one.

---
 package/librsvg/Config.in  |    2 +-
 package/librsvg/librsvg.mk |    8 +++++++-
 2 files changed, 8 insertions(+), 2 deletions(-)
package/librsvg/Config.in +1 -1
index fdb7d31..855b3d6 100644
@@ -5,7 +5,7 @@ config BR2_PACKAGE_LIBRSVG
 	select BR2_PACKAGE_CAIRO_PNG
 	select BR2_PACKAGE_PANGO
 	select BR2_PACKAGE_LIBGLIB2
-	depends on BR2_PACKAGE_LIBGTK2
+	select BR2_PACKAGE_GDK_PIXBUF
 	depends on BR2_USE_WCHAR # glib2
 	help
 	  The rsvg library is an efficient renderer for Scalable
package/librsvg/librsvg.mk +7 -1
index e54c06c..745fcfa 100644
@@ -11,6 +11,12 @@ LIBRSVG_SOURCE:=librsvg-$(LIBRSVG_VERSION).tar.gz
 LIBRSVG_SITE:=http://ftp.gnome.org/pub/GNOME/sources/librsvg/$(LIBRSVG_VERSION_MAJOR)/
 LIBRSVG_INSTALL_STAGING = YES
 LIBRSVG_CONF_OPT = --disable-tools
-LIBRSVG_DEPENDENCIES = libxml2 cairo pango libglib2 libgtk2
+LIBRSVG_DEPENDENCIES = libxml2 cairo pango libglib2 gdk-pixbuf
+
+# If we have Gtk2, let's build it first to benefit from librsvg Gtk
+# support.
+ifeq ($(BR2_PACKAGE_LIBGTK2),y)
+LIBRSVG_DEPENDENCIES += libgtk2
+endif
 
 $(eval $(autotools-package))
Signature · 1 line
1.7.9.5
#17 lore raw

PATCH 17/19 efl/libevas-generic-loaders: new package

In reply to Thomas Petazzoni
---
 package/efl/Config.in                              |    1 +
 package/efl/libevas-generic-loaders/Config.in      |   21 +++++++++++++
 .../libevas-generic-loaders.mk                     |   31 ++++++++++++++++++++
 3 files changed, 53 insertions(+)
 create mode 100644 package/efl/libevas-generic-loaders/Config.in
 create mode 100644 package/efl/libevas-generic-loaders/libevas-generic-loaders.mk
package/efl/Config.in +1 -0
index a526d87..bb1a986 100644
@@ -15,6 +15,7 @@ source "package/efl/libeet/Config.in"
 source "package/efl/libefreet/Config.in"
 source "package/efl/libeio/Config.in"
 source "package/efl/libevas/Config.in"
+source "package/efl/libevas-generic-loaders/Config.in"
 source "package/efl/libembryo/Config.in"
 source "package/efl/libedje/Config.in"
 source "package/efl/libethumb/Config.in"
package/efl/libevas-generic-loaders/Config.in new file +21 -0
new file mode 100644
index 0000000..44bc37d
@@ -0,0 +1,21 @@
+config BR2_PACKAGE_LIBEVAS_GENERIC_LOADERS
+	bool "libevas generic loaders"
+	select BR2_PACKAGE_LIBEINA
+	help
+	  These are additional "generic" loaders for Evas that are
+	  stand-alone executables that evas may run from its generic
+	  loader module.
+
+	  http://trac.enlightenment.org/e/wiki/Evas_Generic_Loaders
+
+if BR2_PACKAGE_LIBEVAS_GENERIC_LOADERS
+
+config BR2_PACKAGE_LIBEVAS_GENERIC_LOADERS_SVG
+	bool "SVG loader"
+	select BR2_PACKAGE_LIBRSVG
+	select BR2_PACKAGE_CAIRO
+	depends on BR2_USE_WCHAR # librsvg -> glib2
+	help
+	  This option enables the Evas generic SVG loader
+
+endif
package/efl/libevas-generic-loaders/libevas-generic-loaders.mk new file +31 -0
new file mode 100644
index 0000000..76236b1
@@ -0,0 +1,31 @@
+#############################################################
+#
+# libevas-generic-loaders
+#
+#############################################################
+
+LIBEVAS_GENERIC_LOADERS_VERSION = 1.7.4
+LIBEVAS_GENERIC_LOADERS_SOURCE = evas_generic_loaders-$(LIBEVAS_GENERIC_LOADERS_VERSION).tar.bz2
+LIBEVAS_GENERIC_LOADERS_SITE = http://download.enlightenment.org/releases/
+LIBEVAS_GENERIC_LOADERS_LICENSE = GPLv2
+LIBEVAS_GENERIC_LOADERS_LICENSE_FILES = COPYING
+
+LIBEVAS_GENERIC_LOADERS_INSTALL_STAGING = YES
+
+LIBEVAS_GENERIC_LOADERS_DEPENDENCIES = libeina
+
+# For now, we only support the SVG loader
+LIBEVAS_GENERIC_LOADERS_CONF_OPT += \
+	--disable-poppler \
+	--disable-spectre \
+	--disable-libraw \
+	--disable-gstreamer
+
+ifeq ($(BR2_PACKAGE_LIBEVAS_GENERIC_LOADERS_SVG),y)
+LIBEVAS_GENERIC_LOADERS_DEPENDENCIES += librsvg cairo
+LIBEVAS_GENERIC_LOADERS_CONF_OPT += --enable-svg
+else
+LIBEVAS_GENERIC_LOADERS_CONF_OPT += --disable-svg
+endif
+
+$(eval $(autotools-package))
Signature · 1 line
1.7.9.5
#18 lore raw

PATCH 18/19 xcb-util-keysyms: new package

In reply to Thomas Petazzoni
---
 package/x11r7/Config.in                            |    1 +
 package/x11r7/xcb-util-keysyms/Config.in           |   14 ++++++++++++++
 package/x11r7/xcb-util-keysyms/xcb-util-keysyms.mk |   12 ++++++++++++
 3 files changed, 27 insertions(+)
 create mode 100644 package/x11r7/xcb-util-keysyms/Config.in
 create mode 100644 package/x11r7/xcb-util-keysyms/xcb-util-keysyms.mk
package/x11r7/Config.in +1 -0
index bb538e1..94ad8a4 100644
@@ -39,6 +39,7 @@ endmenu
 		source package/x11r7/mesa3d/Config.in
 		source package/x11r7/pthread-stubs/Config.in
 		source package/x11r7/xcb-util/Config.in
+		source package/x11r7/xcb-util-keysyms/Config.in
 		source package/x11r7/xlib_libFS/Config.in
 		source package/x11r7/xlib_libICE/Config.in
 		source package/x11r7/xlib_libSM/Config.in
package/x11r7/xcb-util-keysyms/Config.in new file +14 -0
new file mode 100644
index 0000000..ef42eb2
@@ -0,0 +1,14 @@
+config BR2_PACKAGE_XCB_UTIL_KEYSYMS
+	bool "xcb-util-keysyms"
+	help
+	  The XCB util modules provides a number of libraries which sit on top
+	  of libxcb, the core X protocol library, and some of the extension
+	  libraries. These experimental libraries provide convenience functions
+	  and interfaces which make the raw X protocol more usable. Some of the
+	  libraries also provide client-side code which is not strictly part of
+	  the X protocol but which have traditionally been provided by Xlib.
+
+	  XCB util-keysyms module provides the following library: keysyms:
+	  Standard X key constants and conversion to/from keycodes.
+
+	  http://xcb.freedesktop.org/
package/x11r7/xcb-util-keysyms/xcb-util-keysyms.mk new file +12 -0
new file mode 100644
index 0000000..18db52a
@@ -0,0 +1,12 @@
+#############################################################
+#
+# xcb-util-keysyms
+#
+#############################################################
+XCB_UTIL_KEYSYMS_VERSION = 0.3.9
+XCB_UTIL_KEYSYMS_SOURCE = xcb-util-keysyms-$(XCB_UTIL_KEYSYMS_VERSION).tar.bz2
+XCB_UTIL_KEYSYMS_SITE = http://xcb.freedesktop.org/dist/
+XCB_UTIL_KEYSYMS_INSTALL_STAGING = YES
+
+$(eval $(autotools-package))
+
Signature · 1 line
1.7.9.5
#19 lore raw

PATCH 19/19 enlightenment: new package

In reply to Thomas Petazzoni
---
 package/Config.in                                  |    1 +
 package/enlightenment/Config.in                    |   37 ++++++++++++++++++
 .../enlightenment/enlightenment-no-execinfo.patch  |   27 +++++++++++++
 package/enlightenment/enlightenment.mk             |   40 ++++++++++++++++++++
 4 files changed, 105 insertions(+)
 create mode 100644 package/enlightenment/Config.in
 create mode 100644 package/enlightenment/enlightenment-no-execinfo.patch
 create mode 100644 package/enlightenment/enlightenment.mk
package/Config.in +1 -0
index 8cec873..7860f3f 100644
@@ -151,6 +151,7 @@ source "package/liberation/Config.in"
 source "package/libsexy/Config.in"
 
 comment "X Window managers"
+source "package/enlightenment/Config.in"
 source "package/matchbox/Config.in"
 source "package/metacity/Config.in"
 source "package/blackbox/Config.in"
package/enlightenment/Config.in new file +37 -0
new file mode 100644
index 0000000..4978367
@@ -0,0 +1,37 @@
+config BR2_PACKAGE_ENLIGHTENMENT
+	bool "enlightenment"
+	select BR2_PACKAGE_LIBECORE
+	select BR2_PACKAGE_LIBECORE_X
+	select BR2_PACKAGE_LIBEINA
+	select BR2_PACKAGE_LIBEET
+	select BR2_PACKAGE_LIBEVAS
+	select BR2_PACKAGE_LIBEVAS_JPEG
+	select BR2_PACKAGE_LIBEVAS_PNG
+	select BR2_PACKAGE_LIBEVAS_EET
+	select BR2_PACKAGE_LIBECORE_EVAS
+	select BR2_PACKAGE_LIBEDJE
+	select BR2_PACKAGE_LIBEFREET
+	select BR2_PACKAGE_LIBEDBUS
+	select BR2_PACKAGE_LIBEIO
+	select BR2_PACKAGE_XCB_UTIL_KEYSYMS
+	select BR2_PACKAGE_LIBEVAS_GENERIC_LOADERS
+	select BR2_PACKAGE_LIBEVAS_GENERIC_LOADERS_SVG
+	# libevas-generic-loaders-svg -> librsvg -> glib2
+	depends on BR2_USE_WCHAR
+	# libedbus -> dbus
+	depends on BR2_TOOLCHAIN_HAS_THREADS
+	# libedbus -> dbus
+	depends on BR2_USE_MMU
+	depends on BR2_PACKAGE_XORG7
+	help
+	  Enlightenment, also known simply as E, is a stacking window
+	  manager for the X Window System which can be used alone or
+	  in conjunction with a desktop environment such as GNOME or
+	  KDE. Enlightenment can be used as a substitute for a full
+	  desktop environment.
+
+	  http://www.enlightenment.org/
+
+comment "enlightenment requires WCHAR and thread support in toolchain"
+	depends on BR2_PACKAGE_XORG7
+	depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
package/enlightenment/enlightenment-no-execinfo.patch new file +27 -0
new file mode 100644
index 0000000..81fbe17
@@ -0,0 +1,27 @@
+Do not include <execinfo.h> when not available
+
+On uClibc, <execinfo.h> is not necessarily installed, depending on the
+configuration. Enlightenment properly makes <execinfo.h> optional, but
+uses __GLIBC__ to check if it is available or not. Unfortunately,
+uClibc defines __GLIBC__, so it is not the right way to decide if
+<execinfo.h> is available.
+
+Instead, Enlightenment already has a configure.ac check for
+execinfo.h, so we simply use the result of this configure.ac check to
+decide whether execinfo.h is to be included or not.
+
+Signed-off-by: Thomas Petazzoni <[email protected]>
+
+Index: b/src/bin/e.h
+===================================================================
+--- a/src/bin/e.h
++++ b/src/bin/e.h
+@@ -92,7 +92,7 @@
+ #  include <memcheck.h>
+ # endif
+ 
+-# ifdef __GLIBC__
++# ifdef HAVE_EXECINFO_H
+ #  include <execinfo.h>
+ # endif
+ 
package/enlightenment/enlightenment.mk new file +40 -0
new file mode 100644
index 0000000..cd3b21f
@@ -0,0 +1,40 @@
+#############################################################
+#
+# enlightenment
+#
+#############################################################
+
+ENLIGHTENMENT_VERSION = 0.17.0-omega
+ENLIGHTENMENT_SITE = http://download.enlightenment.org/releases/
+ENLIGHTENMENT_LICENSE = BSD-2c
+ENLIGHTENMENT_LICENSE_FILES = COPYING
+
+ENLIGHTENMENT_DEPENDENCIES = 	\
+	host-pkgconf 		\
+	libecore 		\
+	libeet 			\
+	libeina 		\
+	libevas 		\
+	libevas-generic-loaders \
+	libedje 		\
+	libefreet 		\
+	libedbus 		\
+	libeio 			\
+	host-libedje 		\
+	host-libeet		\
+	xcb-util-keysyms
+
+ENLIGHTENMENT_CONF_OPT = --with-edje-cc=$(HOST_DIR)/usr/bin/edje_cc \
+			 --with-eet-eet=$(HOST_DIR)/usr/bin/eet \
+			 --disable-rpath
+
+ifeq ($(BR2_HAVE_DOCUMENTATION),)
+define ENLIGHTENMENT_REMOVE_DOCUMENTATION
+	rm -rf $(TARGET_DIR)/usr/share/enlightenment/doc/
+	rm -f $(TARGET_DIR)/usr/share/enlightenment/COPYING
+	rm -f $(TARGET_DIR)/usr/share/enlightenment/AUTHORS
+endef
+ENLIGHTENMENT_POST_INSTALL_TARGET_HOOKS += ENLIGHTENMENT_REMOVE_DOCUMENTATION
+endif
+
+$(eval $(autotools-package))
Signature · 1 line
1.7.9.5
#20 lore raw
In reply to Thomas Petazzoni
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Thomas" == Thomas Petazzoni <[email protected]> writes:

Thomas> Hello,
Thomas> This set of patches bumps all the EFL (Enlightenment Foundation Thomas> Libraries) packages to the latest version 1.7.4 which was released on Thomas> December, 21st with E17.

Thomas> It also adds a package for E17 itself, in order to provide a Thomas> demonstration of a lightweight desktop environment in Buildroot.

Thomas> It has been tested on ARM Glibc (Linaro toolchain) and uClibc Thomas> (internal toolchain), booted under X.org in Qemu, and it starts fine.

Thomas> Of course, some additional improvements and tests can be made Thomas> later: test with the XCB backend (only the X11 backend has been Thomas> tested), test with the OpenGL backend, test more features, etc.

Pulled, thanks!

Signature · 1 line
Bye, Peter Korsgaard