Skip to contentSkip to conversation

efl bump to 1.15.2

PATCH Superseded Romain Naour 3 participants 39 messages Dec 15, 2015 – Dec 19, 2015

lore
Share & tools
lore
#0 lore raw

v10 cover efl bump to 1.15.2

This series bump the efl package to the latest stable release and also update all other packages which use efl.

This series has been tested under Qemu for x86 using the kernel based on linux config povided in board/qemu/x86. I've enabled CONFIG_FB_CIRRUS and some other video related options during testing.
An example defconfig can be added in a followup patch.

It also been tested on ARM with a uClibc-ng 1.0.5 + a patch which has been merged in uClibc-ng 1.0.6 release.
Legacy uClibc toolchains are not supported due to missing mkstemps().

The libXpresent support has been removed from this series since this package are not merged in Buildroot yet.

Thanks to an upstream patch from efl 1.15 stable branch, the dependency on libXp can be removed, so there is no need to (re)add an xlib_libXp package.

Patches 1 and 4 Move expedite and libevas-generic-loaders packages outside of
package/efl directory. Do some clean up to prepare efl bump.
Patches 5 to 15 Add a new efl package updated to 1.15.2 and its dependencies. Patches 16 to 22 Update all other packages which use efl.
Patches 23 to 32 Remove old efl packages.
Patch 33 Add a new package libemotion-generic-players

This is a first part, other packages which use efl are ready and will be sent in a followup series:

* rage
* terminology
* empc
* ecrire
* python-efl
* econnman
* libetrophy
* elemines
* libcanberra
* e-cho

Thanks to Vicente Bergas for testing on musl, and thanks to Yann E.Morin for the review on this series!

Since v9:
* add Config.in options for each recommended dependencies. (Thomas P)
* fix Lua Config.in comment dependency (Thomas P)
* Avoid duplicate dependencies between BR2_PACKAGE_EFL and BR2_PACKAGE_LIBEFL (Thomas P)
* Add a final patch to rename libefl package to efl

Since v8:
* Remove systemd support (It will added in a followup series after more testing)
* Remove OpenGL full support
* Take into acount comments from Yann E.Morin during his second review.

Since v7:
* Take into acount all comments from Yann E.Morin during his second review.

Since v6:
rebased on master after 2015.11

Since v5:
* Take into acount all comments from Yann E.Morin during his review. (see in the followup patches)
* Remove sdl2 support (again)
* Remove X11 xcb support

Since v4:
* Use depends on BR2_PACKAGE_EFL instead of select (ThomasP)
* Add sdl2 support

Since v3:
* fix formating patch issue (rename detection in git)
* keep the efl and libelementary in the same sub-directory (package/efl) in order to share the same version number.
* keep the menuconfig BR2_PACKAGE_EFL in package/efl/Config.in

Since v2:
* EFL bump to 1.15.2 instead of 1.15.1
* libelementary bump to 1.15.2 instead of 1.15.2
* enlightenment bump to 0.19.12 instead of 0.19.9
* remove libXp and xproto_printproto packages
* remove libXpresent (can be added later in a followup series)
* add systemd dependency
* enable xinput2.2+

Since v1:
* EFL bump to 1.15.1 instead of 1.14.2
* libelementary bump to 1.15.1 instead of 1.14.2
* enlightenment bump to 0.19.9 instead of 0.19.7

Best regards,
Romain Naour

Romain Naour (28):
package/efl/libefl: new package
package/efl/libefl: add harfbuzz dependency package/efl/libefl: add wayland dependency package/efl/libefl: add webp dependency package/efl/libefl: add frame buffer config option package/efl/libefl: add jp2k config option package/efl/libefl: add X11 support
package/efl/libefl: add OpenGLES support package/efl/libefl: enable xinput2.2 package/libevas-generic-loaders: bump to version 1.15.0 package/libevas-generic-loaders: add libraw dependency package/efl/libelementary: bump to version 1.15.2 package/efl: libefl and libelementary share the same version number package/enlightenment: bump to version 0.19.12 package/expedite: bump to efl-1.15 branch package/dbus-cpp: switch to libefl package/efl/libethumb: remove package package/efl/libedje: remove package package/efl/libembryo: remove package package/efl/libeio: remove package package/efl/libefreet: remove package package/efl/libedbus: remove package package/efl/libecore: remove package package/efl/libevas: remove package
package/efl/libeet: remove package
package/efl/libeina: remove package package/libemotion-generic-players: new package package/efl: rename libefl to efl

 Config.in.legacy                                   |  70 +++++
 package/Config.in                                  |   1 +
 package/dbus-cpp/dbus-cpp.mk                       |   4 +-
 package/efl/Config.in                              |  28 +-
 package/efl/efl.mk                                 |   2 +
 ...ecore_fb_private.h-define-EAPI-before-use.patch |  64 +++++
 .../efl/efl/0002-ecore_x-Remove-XPrint-usage.patch | 153 +++++++++++
 package/efl/efl/Config.in                          | 219 ++++++++++++++++
 package/efl/{libefl/libefl.hash => efl/efl.hash}   |   0
 package/efl/efl/efl.mk                             | 285 +++++++++++++++++++++
 package/efl/libecore/Config.in                     |  46 ----
 package/efl/libecore/libecore.mk                   | 114 ---------
 package/efl/libedbus/Config.in                     |  44 ----
 package/efl/libedbus/libedbus.mk                   |  37 ---
 package/efl/libedje/Config.in                      |  28 --
 package/efl/libedje/libedje.mk                     |  28 --
 package/efl/libeet/Config.in                       |  11 -
 package/efl/libeet/libeet.mk                       |  27 --
 package/efl/libefl/libefl.mk                       |  82 ------
 package/efl/libefreet/Config.in                    |  10 -
 package/efl/libefreet/libefreet.mk                 |  17 --
 package/efl/libeina/Config.in                      |   6 -
 package/efl/libeina/libeina.mk                     |  18 --
 package/efl/libeio/Config.in                       |  22 --
 package/efl/libeio/libeio.mk                       |  16 --
 package/efl/libelementary/Config.in                |  16 +-
 package/efl/libelementary/libelementary.hash       |   2 +
 package/efl/libelementary/libelementary.mk         |  35 +--
 package/efl/libembryo/Config.in                    |   9 -
 package/efl/libembryo/libembryo.mk                 |  18 --
 .../0001-ethumb-drop-unused-dlfcn.h-include.patch  |  28 --
 package/efl/libethumb/Config.in                    |  15 --
 package/efl/libethumb/libethumb.mk                 |  27 --
 package/efl/libevas/0001-giflib.patch              |  98 -------
 package/efl/libevas/Config.in                      | 211 ---------------
 package/efl/libevas/libevas.mk                     | 247 ------------------
 package/enlightenment/Config.in                    |  23 +-
 package/enlightenment/enlightenment.hash           |   2 +
 package/enlightenment/enlightenment.mk             |  26 +-
 package/expedite/Config.in                         |   8 +-
 package/expedite/expedite.hash                     |   2 -
 package/expedite/expedite.mk                       |  14 +-
 package/libemotion-generic-players/Config.in       |  19 ++
 .../libemotion-generic-players.hash                |   2 +
 .../libemotion-generic-players.mk                  |  17 ++
 package/libevas-generic-loaders/Config.in          |  13 +-
 .../libevas-generic-loaders.hash                   |   2 +
 .../libevas-generic-loaders.mk                     |  19 +-
 48 files changed, 923 insertions(+), 1262 deletions(-)
 create mode 100644 package/efl/efl/0001-ecore_fb_private.h-define-EAPI-before-use.patch
 create mode 100644 package/efl/efl/0002-ecore_x-Remove-XPrint-usage.patch
 create mode 100644 package/efl/efl/Config.in
 rename package/efl/{libefl/libefl.hash => efl/efl.hash} (100%)
 create mode 100644 package/efl/efl/efl.mk
 delete mode 100644 package/efl/libecore/Config.in
 delete mode 100644 package/efl/libecore/libecore.mk
 delete mode 100644 package/efl/libedbus/Config.in
 delete mode 100644 package/efl/libedbus/libedbus.mk
 delete mode 100644 package/efl/libedje/Config.in
 delete mode 100644 package/efl/libedje/libedje.mk
 delete mode 100644 package/efl/libeet/Config.in
 delete mode 100644 package/efl/libeet/libeet.mk
 delete mode 100644 package/efl/libefl/libefl.mk
 delete mode 100644 package/efl/libefreet/Config.in
 delete mode 100644 package/efl/libefreet/libefreet.mk
 delete mode 100644 package/efl/libeina/Config.in
 delete mode 100644 package/efl/libeina/libeina.mk
 delete mode 100644 package/efl/libeio/Config.in
 delete mode 100644 package/efl/libeio/libeio.mk
 create mode 100644 package/efl/libelementary/libelementary.hash
 delete mode 100644 package/efl/libembryo/Config.in
 delete mode 100644 package/efl/libembryo/libembryo.mk
 delete mode 100644 package/efl/libethumb/0001-ethumb-drop-unused-dlfcn.h-include.patch
 delete mode 100644 package/efl/libethumb/Config.in
 delete mode 100644 package/efl/libethumb/libethumb.mk
 delete mode 100644 package/efl/libevas/0001-giflib.patch
 delete mode 100644 package/efl/libevas/Config.in
 delete mode 100644 package/efl/libevas/libevas.mk
 create mode 100644 package/enlightenment/enlightenment.hash
 delete mode 100644 package/expedite/expedite.hash
 create mode 100644 package/libemotion-generic-players/Config.in
 create mode 100644 package/libemotion-generic-players/libemotion-generic-players.hash
 create mode 100644 package/libemotion-generic-players/libemotion-generic-players.mk
 create mode 100644 package/libevas-generic-loaders/libevas-generic-loaders.hash
Signature · 1 line
2.4.3
#1 lore raw

PATCH v10 1/28 package/efl/libefl: new package

Add the libefl package which contains an updated version of the following libraries:
libecore, libedje, libeet, libfreet, libeina, libeio, libembryo, libthumb and libevas. It also contains eldbus, ephysics, and escape, see [1].

The name libefl is transitional in order to bump smoothly all packages that use efl libraries and remove the old package libecore, libevas... The package libefl will be renamed to efl in a followup patch at the end of the series.

For now, the bump to efl 1.15.x is not complete.
This allows to build at least a default configuration without X11 support or graphics acceleration.
This support will be added by a follow up patches in the series.

Also, add BR2_PACKAGE_LIBEFL_RECOMMENDED_CONFIG config option in order to select all recommended packages that allows to build libefl without the extra-long --enable-i-really-know-what-i-am-doing...

Here is some notes about libefl dependencies:
- alsa:
At the end of the configure script, the summary tab will show that alsa support is allways disabled even if alsa-utils has been build before efl-core package.
"Ecore_Audio.....: yes (-alsa +pulseaudio +sndfile)" This is intentional.

- util-linux:
libefl select util-linux libblkid since it's listed as an dependency in the README [2].

- threads support:
Add a dependency on threads support since clearly efl libraries are not even built without thread support [3].

- Curl:
Curl is listed as an dependency in the README because it's a runtime dependency since efl 1.8 [4].

We need to regenerate the configure script to workaround a build issue with eldbus-codegen:

  CCLD     bin/eldbus/eldbus-codegen
  CXXLD    bin/eolian_cxx/eolian_cxx
  CCLD     lib/ecore_x/ecore_x_vsync
  CCLD     lib/evas/common/libevas_op_blend_sse3.la
  CCLD     lib/evas/common/libevas_convert_rgb_32.la
  CCLD     lib/ecore_ipc/libecore_ipc.la

[...]/i686-ctng-linux-gnu/bin/ld: warning: libefl.so.1, needed by lib/ecore/.libs/libecore.so, not found (try using -rpath or -rpath-link) lib/ecore/.libs/libecore.so: undefined reference to `efl_control_suspend_set'
lib/ecore/.libs/libecore.so: undefined reference to `efl_control_interface_get'
collect2: error: ld returned 1 exit status
Makefile:19135: recipe for target 'bin/eldbus/eldbus-codegen' failed
make[6]: *** [bin/eldbus/eldbus-codegen] Error 1

A dependency on libefl seems to be missing for eldbus but by regenerating eldbus-codegen build correctly.

Reported upstream [6].

Also, gettextize is needed since *.po files were generated with an "old" gettext version (0.18):

Making all in po
*** error: gettext infrastructure mismatch: using a Makefile.in.in from gettext version 0.18 but the autoconf macros are from gettext version 0.19 Makefile:149: recipe for target 'check-macro-version' failed

[1] See https://phab.enlightenment.org/phame/live/3/post/efl_1_8/
[2] https://git.enlightenment.org/core/efl.git/tree/README?id=v1.15.2#n478
[3] https://git.enlightenment.org/core/efl.git/tree/configure.ac#n5032
[4] https://git.enlightenment.org/core/efl.git/tree/README?id=v1.15.2#n453

    https://git.enlightenment.org/core/efl.git/commit/?id=2c1c6b9335e38c6e52b06829a95d9b58d780c99e

[5] http://mailman.uclibc-ng.org/pipermail/devel/2015-August/000432.html
[6] https://phab.enlightenment.org/T2718

---
An initial runtime test has been done under Qemu with a glibc x86 toolchain.

An additional runtime test has been done with a uClibc-ng 1.0.5 toolchain patched with [5] in order to add mkstemps() which is used by Eina library. This patch has been upstreamed in uClubc-ng 1.0.6 release.

Another test has been done with a musl toolchain by Vicente Bergas (Thanks!).
---
v11:
- add Config.in options for each recommended dependencies. (Thomas P)
- fix Lua Config.in comment dependency (Thomas P)
- Avoid duplicate dependencies between BR2_PACKAGE_EFL and BR2_PACKAGE_LIBEFL (Thomas P)
- Rework commit log to explain that BR2_PACKAGE_EFL menuconfig will become a real Buildroot package by renaming libefl to efl.
v10:
- fix typo configurations -> configuration
- fix lua/dependencies comments handling in Config.in

v8: move comments about the runtime test to post-commit note (Yann E.Morin)
remove comment about X11 XInput v2.2+ support.
Add the tested-by tag from Vicente Bergas
v6: Changes from Yann E.Morin's review
- squash curl, autotools and libblkid patches
- use depends on Lua
- LIBEFL_RECOMMENDED_CONFIG depends on BR2_ARCH_HAS_ATOMICS
- rework Config.in help text (remove comments in .mk)
- add some option in LIBEFL_CONF_OPTS to disable some features explicitely.
Split the dependency comment (Arnout)

v4: rename to libefl
EFL needs a toolchain with threads support
v3: fix same typo again
Add a note about multisense support
v2: remove glibc only dependency
update commit log accordingly
fix typo in Config.in (Vicente Bergas)

---
 package/efl/Config.in        |  20 ++++--
 package/efl/libefl/Config.in | 147 ++++++++++++++++++++++++++++++++++++++++++
 package/efl/libefl/libefl.mk | 150 +++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 313 insertions(+), 4 deletions(-)
 create mode 100644 package/efl/libefl/Config.in
package/efl/Config.in +16 -4
index 7ce5a36..3a5e708 100644
@@ -1,8 +1,13 @@
 menuconfig BR2_PACKAGE_EFL
 	bool "Enlightenment Foundation Libraries"
-	depends on BR2_USE_WCHAR
-	# libeina uses madvise(). To revisit when bumping EFL to 1.8
+	depends on BR2_INSTALL_LIBSTDCPP
+	depends on BR2_PACKAGE_HAS_UDEV # libudev
+	depends on BR2_PACKAGE_LUA # lua 5.1 or better
+	depends on BR2_TOOLCHAIN_HAS_THREADS # untested without threads
 	depends on BR2_USE_MMU
+	depends on BR2_USE_WCHAR # use wchar_t
+	depends on !BR2_STATIC_LIBS # dlfcn.h
+	select BR2_PACKAGE_LIBEFL
 	help
 	  Enlightenment Foundation Libraries
 
@@ -13,6 +18,7 @@ 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/libefl/Config.in"
 source "package/efl/libefreet/Config.in"
 source "package/efl/libeio/Config.in"
 source "package/efl/libevas/Config.in"
@@ -24,5 +30,11 @@ source "package/efl/libedbus/Config.in"
 
 endif # BR2_PACKAGE_EFL
 
-comment "EFL needs a toolchain w/ wchar"
-	depends on !BR2_USE_WCHAR
+comment "EFL needs udev /dev management and a toolchain w/ C++, dynamic library, threads, wchar"
+	depends on !BR2_PACKAGE_HAS_UDEV || !BR2_INSTALL_LIBSTDCPP \
+		|| BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HAS_THREADS || !BR2_USE_WCHAR
+	depends on BR2_USE_MMU
+
+comment "EFL needs lua"
+	depends on !BR2_PACKAGE_LUA
+	depends on BR2_USE_MMU
package/efl/libefl/Config.in new file +147 -0

147 lines not on this page · raw message

package/efl/libefl/libefl.mk +150 -0

156 lines not on this page · raw message

Signature · 1 line
2.4.3
#2 lore raw

PATCH v10 1/28 package/efl/libefl: new package

Romain,

Quoted 3 lines · Romain Naour

Also, add BR2_PACKAGE_LIBEFL_RECOMMENDED_CONFIG config option in order to select all recommended packages that allows to build libefl without the extra-long --enable-i-really-know-what-i-am-doing...

I am still not entirely happy with your recommended config mechanism. What I want to see is the visible option "recommended config" completely removed. See my proposal in the attached patch 0001.

My attached patch 0002 also rewraps some Config.in help text.

But I have more issues, see below.

package/efl/Config.in line 5

Quoted 12 lines
package/efl/Config.in +3 -2
index 7ce5a36..3a5e708 100644
@@ -1,8 +1,13 @@
 menuconfig BR2_PACKAGE_EFL
 	bool "Enlightenment Foundation Libraries"
-	depends on BR2_USE_WCHAR
-	# libeina uses madvise(). To revisit when bumping EFL to 1.8
+	depends on BR2_INSTALL_LIBSTDCPP
+	depends on BR2_PACKAGE_HAS_UDEV # libudev
+	depends on BR2_PACKAGE_LUA # lua 5.1 or better

So we really need Lua itself, and not LuaJIT ? If we need only Lua (and not LuaJIT), why don't we select it ? If we can use either Lua or LuaJIT, then we should "depends on BR2_PACKAGE_LUAINTERPRETER.

Also, if I apply just this patch, I get some kconfig warnings:

package/efl/Config.in:1:error: recursive dependency detected!
package/efl/Config.in:1: symbol BR2_PACKAGE_EFL depends on BR2_PACKAGE_LUA
package/lua/Config.in:1: symbol BR2_PACKAGE_LUA is selected by BR2_PACKAGE_LIBEDJE
package/efl/libedje/Config.in:4: symbol BR2_PACKAGE_LIBEDJE is selected by BR2_PACKAGE_LIBETHUMB
package/efl/libethumb/Config.in:4: symbol BR2_PACKAGE_LIBETHUMB depends on BR2_PACKAGE_EFL

But it's true that your series later removes libedje, so maybe I should just not care about this: it's hard to do the big change you're doing without having some intermediate steps that are imperfect.

Can you let me know the answer for the Lua/LuaJIT question so that we can move forward with this ?

Thanks!

Thomas

Signature · 17 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-efl-rework-recommended-config-mechanism.patch
Type: text/x-patch
Size: 2939 bytes
Desc: not available
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20151216/90e0d879/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-efl-rewrap-Config.in-help-texts.patch
Type: text/x-patch
Size: 4920 bytes
Desc: not available
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20151216/90e0d879/attachment-0001.bin>
#3 lore raw

PATCH v10 1/28 package/efl/libefl: new package

Thomas, All,

On 2015-12-16 21:32 +0100, Thomas Petazzoni spake thusly:

Quoted 15 lines · Romain Naour
Quoted 4 lines

Also, add BR2_PACKAGE_LIBEFL_RECOMMENDED_CONFIG config option in order to select all recommended packages that allows to build libefl without the extra-long --enable-i-really-know-what-i-am-doing...

I am still not entirely happy with your recommended config mechanism. What I want to see is the visible option "recommended config" completely removed. See my proposal in the attached patch 0001.

My attached patch 0002 also rewraps some Config.in help text.

But I have more issues, see below.

Quoted 15 lines

package/efl/Config.in line 5

Quoted 12 lines
package/efl/Config.in +3 -2
index 7ce5a36..3a5e708 100644
@@ -1,8 +1,13 @@
 menuconfig BR2_PACKAGE_EFL
 	bool "Enlightenment Foundation Libraries"
-	depends on BR2_USE_WCHAR
-	# libeina uses madvise(). To revisit when bumping EFL to 1.8
+	depends on BR2_INSTALL_LIBSTDCPP
+	depends on BR2_PACKAGE_HAS_UDEV # libudev
+	depends on BR2_PACKAGE_LUA # lua 5.1 or better

So we really need Lua itself, and not LuaJIT ? If we need only Lua (and not LuaJIT), why don't we select it ?

As Romain and I already explained, that's because Lua is a provider for the virtual package lua-interpreter, and we can not select a provider.

Regards,
Yann E. MORIN.

Quoted 222 lines

If we can use either Lua or
LuaJIT, then we should "depends on BR2_PACKAGE_LUAINTERPRETER.

Also, if I apply just this patch, I get some kconfig warnings:

package/efl/Config.in:1:error: recursive dependency detected!
package/efl/Config.in:1: symbol BR2_PACKAGE_EFL depends on BR2_PACKAGE_LUA
package/lua/Config.in:1: symbol BR2_PACKAGE_LUA is selected by BR2_PACKAGE_LIBEDJE
package/efl/libedje/Config.in:4: symbol BR2_PACKAGE_LIBEDJE is selected by BR2_PACKAGE_LIBETHUMB
package/efl/libethumb/Config.in:4: symbol BR2_PACKAGE_LIBETHUMB depends on BR2_PACKAGE_EFL

But it's true that your series later removes libedje, so maybe I should just not care about this: it's hard to do the big change you're doing without having some intermediate steps that are imperfect.

Can you let me know the answer for the Lua/LuaJIT question so that we can move forward with this ?

Thanks!

Thomas

Signature · 14 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

From d4eb62a8eedb36a2b7ef6832439dc15cba813520 Mon Sep 17 00:00:00 2001
From: Thomas Petazzoni <[email protected]>
Date: Wed, 16 Dec 2015 21:26:37 +0100
Subject: [PATCH 1/2] efl: rework recommended config mechanism

Signed-off-by: Thomas Petazzoni <[email protected]>
---
 package/efl/libefl/Config.in | 36 ++++++++++++------------------------
 package/efl/libefl/libefl.mk |  2 +-
 2 files changed, 13 insertions(+), 25 deletions(-)
package/efl/libefl/Config.in +12 -24
index cc39c82..24e0fae 100644
@@ -14,23 +14,6 @@ config BR2_PACKAGE_LIBEFL
 
 if BR2_PACKAGE_LIBEFL
 
-config BR2_PACKAGE_LIBEFL_RECOMMENDED_CONFIG
-	bool "Use recommended and tested configuration"
-	depends on BR2_ARCH_HAS_ATOMICS # pulseaudio
-	select BR2_PACKAGE_LIBEFL_BULLET
-	select BR2_PACKAGE_LIBEFL_FONTCONFIG
-	select BR2_PACKAGE_LIBEFL_GSTREAMER1
-	select BR2_PACKAGE_LIBEFL_LIBFRIBIDI
-	select BR2_PACKAGE_LIBEFL_LIBSNDFILE
-	select BR2_PACKAGE_LIBEFL_PULSEAUDIO
-	select BR2_PACKAGE_LIBEFL_UTIL_LINUX_LIBMOUNT
-	default y
-	help
-	  Enable the basic set of recommended features.
-
-	  Without that, the EFL developpers consider the build to be
-	  potentially broken and won't provide any support for it.
-
 config BR2_PACKAGE_LIBEFL_BULLET
 	bool "Enable bullet support (recommended)"
 	select BR2_PACKAGE_BULLET
@@ -107,14 +90,19 @@ config BR2_PACKAGE_LIBEFL_UTIL_LINUX_LIBMOUNT
 	  devices etc... and disabling this will hurt support for
 	  Enlightenment and its filemanager.
 
+config BR2_PACKAGE_LIBEFL_HAS_RECOMMENDED_CONFIG
+	bool
+	default y if BR2_PACKAGE_LIBEFL_BULLET && \
+		BR2_PACKAGE_LIBEFL_FONTCONFIG && \
+		BR2_PACKAGE_LIBEFL_GSTREAMER1 && \
+		BR2_PACKAGE_LIBEFL_LIBFRIBIDI && \
+		BR2_PACKAGE_LIBEFL_LIBSNDFILE && \
+		BR2_PACKAGE_LIBEFL_PULSEAUDIO && \
+		BR2_PACKAGE_LIBEFL_UTIL_LINUX_LIBMOUNT
+
+
 comment "Warning: one of the recommended option for EFL is not enabled"
-	depends on !BR2_PACKAGE_LIBEFL_BULLET \
-		|| !BR2_PACKAGE_LIBEFL_FONTCONFIG \
-		|| !BR2_PACKAGE_LIBEFL_GSTREAMER1 \
-		|| !BR2_PACKAGE_LIBEFL_LIBFRIBIDI \
-		|| !BR2_PACKAGE_LIBEFL_LIBSNDFILE \
-		|| !BR2_PACKAGE_LIBEFL_PULSEAUDIO \
-		|| !BR2_PACKAGE_LIBEFL_UTIL_LINUX_LIBMOUNT
+	depends on !BR2_PACKAGE_LIBEFL_HAS_RECOMMENDED_CONFIG
 
 comment "libevas loaders"
 
package/efl/libefl/libefl.mk +1 -1
index dad5e40..615968e 100644
@@ -56,7 +56,7 @@ LIBEFL_CONF_OPTS = \
 	--with-x11=none
 
 # Disable untested configuration warning.
-ifeq ($(BR2_PACKAGE_LIBEFL_RECOMMENDED_CONFIG),)
+ifeq ($(BR2_PACKAGE_LIBEFL_HAS_RECOMMENDED_CONFIG),)
 LIBEFL_CONF_OPTS += --enable-i-really-know-what-i-am-doing-and-that-this-will-probably-break-things-and-i-will-fix-them-myself-and-send-patches-aba
 endif
 
Signature · 12 lines
2.6.4


From 68878964e825c678b40194104b68dd9af15b28c7 Mon Sep 17 00:00:00 2001
From: Thomas Petazzoni <[email protected]>
Date: Wed, 16 Dec 2015 21:27:08 +0100
Subject: [PATCH 2/2] efl: rewrap Config.in help texts

Signed-off-by: Thomas Petazzoni <[email protected]>
---
 package/efl/libefl/Config.in | 56 ++++++++++++++++++++++++--------------------
 1 file changed, 30 insertions(+), 26 deletions(-)
package/efl/libefl/Config.in +30 -26
index 24e0fae..6788bb3 100644
@@ -19,23 +19,25 @@ config BR2_PACKAGE_LIBEFL_BULLET
 	select BR2_PACKAGE_BULLET
 	default y
 	help
-	  If you have chosen to disable physics support, this disables lots
-	  of core functionality and is effectively never tested. You are
-	  going to find features that suddenly don't work and as a result
-	  cause a series of breakages. This is simply not tested so you are
-	  on your own in terms of ensuring everything works if you do this.
+	  If you have chosen to disable physics support, this disables
+	  lots of core functionality and is effectively never
+	  tested. You are going to find features that suddenly don't
+	  work and as a result cause a series of breakages. This is
+	  simply not tested so you are on your own in terms of
+	  ensuring everything works if you do this.
 
 config BR2_PACKAGE_LIBEFL_FONTCONFIG
 	bool "Enable fontconfig support (recommended)"
 	select BR2_PACKAGE_FONTCONFIG
 	default y
 	help
-	  If fontconfig is disabled, this is going to make general font
-	  searching not work, and only some very direct
-	  'load /path/file.ttf' will work alongside some old-school ttf
-	  file path searching. This is very likely not what you want, so
+	  If fontconfig is disabled, this is going to make general
+	  font searching not work, and only some very direct 'load
+	  /path/file.ttf' will work alongside some old-school ttf file
+	  path searching. This is very likely not what you want, so
 	  highly reconsider turning fontconfig off. Having it off will
-	  lead to visual problems like missing text in many UI areas etc...
+	  lead to visual problems like missing text in many UI areas
+	  etc...
 
 config BR2_PACKAGE_LIBEFL_GSTREAMER1
 	bool "Enable gstreamer1 support (recommended)"
@@ -43,30 +45,31 @@ config BR2_PACKAGE_LIBEFL_GSTREAMER1
 	select BR2_PACKAGE_GST1_PLUGINS_BASE
 	default y
 	help
-	  If Gstreamer 1.x support is disabled, it will heavily limit your
-	  media support options and render some functionality as useless,
-	  leading to visible application bugs.
+	  If Gstreamer 1.x support is disabled, it will heavily limit
+	  your media support options and render some functionality as
+	  useless, leading to visible application bugs.
 
 config BR2_PACKAGE_LIBEFL_LIBFRIBIDI
 	bool "Enable libfribidi support (recommended)"
 	select BR2_PACKAGE_LIBFRIBIDI
 	default y
 	help
-	  Fribidi is used for handling right-to-left text (like Arabic,
-	  Hebrew, Farsi, Persian etc.) and is very likely not a feature you
-	  want to disable unless you know for absolute certain you will
-	  never encounter and have to display such scripts. Also note that
-	  we don't test with fribidi disabled so you may also trigger code
-	  paths with bugs that are never normally used.
+	  Fribidi is used for handling right-to-left text (like
+	  Arabic, Hebrew, Farsi, Persian etc.) and is very likely not
+	  a feature you want to disable unless you know for absolute
+	  certain you will never encounter and have to display such
+	  scripts. Also note that we don't test with fribidi disabled
+	  so you may also trigger code paths with bugs that are never
+	  normally used.
 
 config BR2_PACKAGE_LIBEFL_LIBSNDFILE
 	bool "Enable libsndfile support (recommended)"
 	select BR2_PACKAGE_LIBSNDFILE
 	default y
 	help
-	  If you disabled audio support in Ecore, this is not tested and may
-	  create bugs for you due to it creating untested code paths.
-	  Reconsider disabling audio.
+	  If you disabled audio support in Ecore, this is not tested
+	  and may create bugs for you due to it creating untested code
+	  paths.  Reconsider disabling audio.
 
 config BR2_PACKAGE_LIBEFL_PULSEAUDIO
 	bool "Enable pulseaudio support (recommended)"
@@ -74,10 +77,11 @@ config BR2_PACKAGE_LIBEFL_PULSEAUDIO
 	select BR2_PACKAGE_PULSEAUDIO
 	default y
 	help
-	  The only audio output method supported by Ecore right now is via
-	  Pulseaudio. You have disabled that and likely have broken a whole
-	  bunch of things in the process. Reconsider your configure
-	  options.
+	  The only audio output method supported by Ecore right now is
+	  via Pulseaudio. You have disabled that and likely have
+	  broken a whole bunch of things in the process. Reconsider
+	  your configure options.
+
 	  NOTE: multisense support is automatically enabled with
 	  pulseaudio.
 
Signature · 1 line
2.6.4
Signature · 6 lines
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'
#4 lore raw

PATCH v10 1/28 package/efl/libefl: new package

Hello,

Quoted 2 lines · Yann E. MORIN

As Romain and I already explained, that's because Lua is a provider for the virtual package lua-interpreter, and we can not select a provider.

Have you seen the rest of my e-mail ? I'm quoting it, for good measure:

"""
Also, if I apply just this patch, I get some kconfig warnings:

package/efl/Config.in:1:error: recursive dependency detected!
package/efl/Config.in:1: symbol BR2_PACKAGE_EFL depends on BR2_PACKAGE_LUA
package/lua/Config.in:1: symbol BR2_PACKAGE_LUA is selected by BR2_PACKAGE_LIBEDJE
package/efl/libedje/Config.in:4: symbol BR2_PACKAGE_LIBEDJE is selected by BR2_PACKAGE_LIBETHUMB
package/efl/libethumb/Config.in:4: symbol BR2_PACKAGE_LIBETHUMB depends on BR2_PACKAGE_EFL
"""

So there is definitely some packages selecting BR2_PACKAGE_LUA, and it's actually not the only one:

package/dnsmasq/Config.in:      select BR2_PACKAGE_LUA
package/efl/libedje/Config.in:  select BR2_PACKAGE_LUA
package/haserl/Config.in:       select BR2_PACKAGE_LUA
package/lighttpd/Config.in:     select BR2_PACKAGE_LUA

What you cannot do is select BR2_PACKAGE_LUAINTERPRETER to say "select whichever Lua provider you want". However you can select a particular Lua interpreter if you need to. And several packages do this.

Best regards,

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
#5 lore raw

PATCH v10 1/28 package/efl/libefl: new package

In reply to Thomas Petazzoni

Hi Thomas, Yann, All,

Le 16/12/2015 21:32, Thomas Petazzoni a ?crit :

Quoted 8 lines

Romain,

Quoted 3 lines · Romain Naour

Also, add BR2_PACKAGE_LIBEFL_RECOMMENDED_CONFIG config option in order to select all recommended packages that allows to build libefl without the extra-long --enable-i-really-know-what-i-am-doing...

Quoted 5 lines

I am still not entirely happy with your recommended config mechanism. What I want to see is the visible option "recommended config" completely removed. See my proposal in the attached patch 0001.

My attached patch 0002 also rewraps some Config.in help text.

ok, I'll merge these two patches. Thanks.

Quoted 29 lines

But I have more issues, see below.

package/efl/Config.in line 5

Quoted 12 lines
package/efl/Config.in +3 -2
index 7ce5a36..3a5e708 100644
@@ -1,8 +1,13 @@
 menuconfig BR2_PACKAGE_EFL
 	bool "Enlightenment Foundation Libraries"
-	depends on BR2_USE_WCHAR
-	# libeina uses madvise(). To revisit when bumping EFL to 1.8
+	depends on BR2_INSTALL_LIBSTDCPP
+	depends on BR2_PACKAGE_HAS_UDEV # libudev
+	depends on BR2_PACKAGE_LUA # lua 5.1 or better

So we really need Lua itself, and not LuaJIT ? If we need only Lua (and not LuaJIT), why don't we select it ? If we can use either Lua or LuaJIT, then we should "depends on BR2_PACKAGE_LUAINTERPRETER.

Also, if I apply just this patch, I get some kconfig warnings:

package/efl/Config.in:1:error: recursive dependency detected!
package/efl/Config.in:1: symbol BR2_PACKAGE_EFL depends on BR2_PACKAGE_LUA
package/lua/Config.in:1: symbol BR2_PACKAGE_LUA is selected by BR2_PACKAGE_LIBEDJE
package/efl/libedje/Config.in:4: symbol BR2_PACKAGE_LIBEDJE is selected by BR2_PACKAGE_LIBETHUMB
package/efl/libethumb/Config.in:4: symbol BR2_PACKAGE_LIBETHUMB depends on BR2_PACKAGE_EFL

Quoted 3 lines

But it's true that your series later removes libedje, so maybe I should just not care about this: it's hard to do the big change you're doing without having some intermediate steps that are imperfect.

Well, I tried to do a smooth update series has much as possible ;-) But I didn't want to modify efl packages that are removed at the end of the series... I didn't test all intermediate test of this series, only when the entire series is applied.

Quoted 3 lines

Can you let me know the answer for the Lua/LuaJIT question so that we can move forward with this ?

I haven't tested all lua interpreter...
Here is the lua interpreter I used for the runtime test:

BR2_PACKAGE_LUA=y
BR2_PACKAGE_PROVIDES_LUAINTERPRETER="lua"
BR2_PACKAGE_LUA_5_1=y

If you want to try with LuaJIT, the --enable-lua-old option must be removed. IIRC, I had some build issue with it but it was with efl 1.13.2. So, I wanted to avoid LuaJIT for now and be sure that one of LUA packages is selected.

I'll check if efl can just depends on BR2_PACKAGE_HAS_LUAINTERPRETER.

Best regards,
Romain

Quoted 5 lines

Thanks!

Thomas

#6 lore raw

PATCH v10 1/28 package/efl/libefl: new package

Romain,

Quoted 12 lines · Romain Naour
Quoted 12 lines

So we really need Lua itself, and not LuaJIT ? If we need only Lua (and not LuaJIT), why don't we select it ? If we can use either Lua or LuaJIT, then we should "depends on BR2_PACKAGE_LUAINTERPRETER.

Also, if I apply just this patch, I get some kconfig warnings:

package/efl/Config.in:1:error: recursive dependency detected!
package/efl/Config.in:1: symbol BR2_PACKAGE_EFL depends on BR2_PACKAGE_LUA
package/lua/Config.in:1: symbol BR2_PACKAGE_LUA is selected by BR2_PACKAGE_LIBEDJE
package/efl/libedje/Config.in:4: symbol BR2_PACKAGE_LIBEDJE is selected by BR2_PACKAGE_LIBETHUMB
package/efl/libethumb/Config.in:4: symbol BR2_PACKAGE_LIBETHUMB depends on BR2_PACKAGE_EFL

Quoted 8 lines
Quoted 3 lines

But it's true that your series later removes libedje, so maybe I should just not care about this: it's hard to do the big change you're doing without having some intermediate steps that are imperfect.

Well, I tried to do a smooth update series has much as possible ;-) But I didn't want to modify efl packages that are removed at the end of the series... I didn't test all intermediate test of this series, only when the entire series is applied.

Yes, that's fine with me. The changes are complicated, it's difficult to do a series that is entirely bisectable.

Quoted 10 lines
Quoted 2 lines

Can you let me know the answer for the Lua/LuaJIT question so that we can move forward with this ?

I haven't tested all lua interpreter...
Here is the lua interpreter I used for the runtime test:

BR2_PACKAGE_LUA=y
BR2_PACKAGE_PROVIDES_LUAINTERPRETER="lua"
BR2_PACKAGE_LUA_5_1=y

Quoted 6 lines

If you want to try with LuaJIT, the --enable-lua-old option must be removed. IIRC, I had some build issue with it but it was with efl 1.13.2. So, I wanted to avoid LuaJIT for now and be sure that one of LUA packages is selected.

I'll check if efl can just depends on BR2_PACKAGE_HAS_LUAINTERPRETER.

No, please stick to just Lua for now. I want to merge this series, so we should stop doing more and more things on it.

Thanks,

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
#7 lore raw

PATCH v10 1/28 package/efl/libefl: new package

In reply to Romain Naour

Romain, Thomas, All,

On 2015-12-17 23:09 +0100, Romain Naour spake thusly:

Quoted 2 lines

Le 16/12/2015 21:32, Thomas Petazzoni a ?crit :

Quoted 1 line · Romain Naour

[--SNIP--]

Quoted 8 lines
Quoted 8 lines

Also, if I apply just this patch, I get some kconfig warnings:

package/efl/Config.in:1:error: recursive dependency detected!
package/efl/Config.in:1: symbol BR2_PACKAGE_EFL depends on BR2_PACKAGE_LUA
package/lua/Config.in:1: symbol BR2_PACKAGE_LUA is selected by BR2_PACKAGE_LIBEDJE
package/efl/libedje/Config.in:4: symbol BR2_PACKAGE_LIBEDJE is selected by BR2_PACKAGE_LIBETHUMB
package/efl/libethumb/Config.in:4: symbol BR2_PACKAGE_LIBETHUMB depends on BR2_PACKAGE_EFL

Quoted 8 lines
Quoted 3 lines

But it's true that your series later removes libedje, so maybe I should just not care about this: it's hard to do the big change you're doing without having some intermediate steps that are imperfect.

Well, I tried to do a smooth update series has much as possible ;-) But I didn't want to modify efl packages that are removed at the end of the series... I didn't test all intermediate test of this series, only when the entire series is applied.

For what it's worth, I just sent a series actually fixing that very issue.

Quoted 10 lines
Quoted 2 lines

Can you let me know the answer for the Lua/LuaJIT question so that we can move forward with this ?

I haven't tested all lua interpreter...
Here is the lua interpreter I used for the runtime test:

BR2_PACKAGE_LUA=y
BR2_PACKAGE_PROVIDES_LUAINTERPRETER="lua"
BR2_PACKAGE_LUA_5_1=y

Quoted 6 lines

If you want to try with LuaJIT, the --enable-lua-old option must be removed. IIRC, I had some build issue with it but it was with efl 1.13.2. So, I wanted to avoid LuaJIT for now and be sure that one of LUA packages is selected.

I'll check if efl can just depends on BR2_PACKAGE_HAS_LUAINTERPRETER.

I would say: don't.

If you manage to make it work with the 'full' Lua, just keep it as is. Checking for luajit can be done is a followup series.

But please, no more feature changes in that series. Let's get it appplied asap now. Let's just fix the obvious, new features can be added *later*.

Thanks!

Regards,
Yann E. MORIN.

Signature · 6 lines
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'
#8 lore raw

PATCH v10 2/28 package/efl/libefl: add harfbuzz dependency

In reply to Romain Naour

Harfbuzz allow to enable complex text shaping and layouting support in efl libraries.

Also, it one of the "highly recommended" dependecies according to the README but disabling it doesn't need the --enable-i-really-know-what-i-am-doing... option. That's why harfbuzz is not added to BR2_PACKAGE_LIBEFL_RECOMMENDED_CONFIG.

---
v6: use --enable/disable options
v4: rename to libefl
improve commit log.

---
 package/efl/libefl/libefl.mk | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)
package/efl/libefl/libefl.mk +7 -2
index dad5e40..5059f8c 100644
@@ -31,7 +31,6 @@ LIBEFL_GETTEXTIZE = YES
 # Configure options:
 # --disable-cxx-bindings: disable C++11 bindings.
 # --disable-fb: disable frame buffer support.
-# --disable-harfbuzz: disable harfbuzz support.
 # --disable-image-loader-jp2k: disable JPEG 2000 support.
 # --disable-image-loader-webp: disable webp support.
 # --disable-sdl: disable sdl2 support.
@@ -45,7 +44,6 @@ LIBEFL_CONF_OPTS = \
 	--with-eolian-gen=$(HOST_DIR)/usr/bin/eolian_gen \
 	--disable-cxx-bindings \
 	--disable-fb \
-	--disable-harfbuzz \
 	--disable-image-loader-jp2k \
 	--disable-image-loader-webp \
 	--disable-sdl \
@@ -109,6 +107,13 @@ else
 LIBEFL_CONF_OPTS += --disable-pulseaudio
 endif
 
+ifeq ($(BR2_PACKAGE_HARFBUZZ),y)
+LIBEFL_DEPENDENCIES += harfbuzz
+LIBEFL_CONF_OPTS += --enable-harfbuzz
+else
+LIBEFL_CONF_OPTS += --disable-harfbuzz
+endif
+
 ifeq ($(BR2_PACKAGE_TSLIB),y)
 LIBEFL_DEPENDENCIES += tslib
 LIBEFL_CONF_OPTS += --enable-tslib
Signature · 1 line
2.4.3
#9 lore raw

PATCH v10 3/28 package/efl/libefl: add wayland dependency

In reply to Romain Naour

See:
https://www.enlightenment.org/about-wayland

---
v6: use --enable/disable options
v4: rename to libefl

---
 package/efl/libefl/Config.in | 1 +
 package/efl/libefl/libefl.mk | 9 +++++++--
 2 files changed, 8 insertions(+), 2 deletions(-)
package/efl/libefl/Config.in +1 -0
index cc39c82..41160d4 100644
@@ -4,6 +4,7 @@ config BR2_PACKAGE_LIBEFL
 	select BR2_PACKAGE_FREETYPE
 	select BR2_PACKAGE_JPEG # Emile needs libjpeg
 	select BR2_PACKAGE_LIBCURL # Ecore_con_url, runtime dependency
+	select BR2_PACKAGE_LIBXKBCOMMON if BR2_PACKAGE_WAYLAND
 	select BR2_PACKAGE_UTIL_LINUX
 	# libblkid is part of required tools, see EFL's README.
 	select BR2_PACKAGE_UTIL_LINUX_LIBBLKID
package/efl/libefl/libefl.mk +7 -2
index 5059f8c..db150d0 100644
@@ -35,7 +35,6 @@ LIBEFL_GETTEXTIZE = YES
 # --disable-image-loader-webp: disable webp support.
 # --disable-sdl: disable sdl2 support.
 # --disable-systemd: disable systemd support.
-# --disable-wayland: disable wayland support.
 # --enable-lua-old: disable Elua and remove luajit dependency.
 # --with-opengl=none: disable opengl support.
 # --with-x11=none: remove dependency on X.org.
@@ -48,7 +47,6 @@ LIBEFL_CONF_OPTS = \
 	--disable-image-loader-webp \
 	--disable-sdl \
 	--disable-systemd \
-	--disable-wayland \
 	--enable-lua-old \
 	--with-opengl=none \
 	--with-x11=none
@@ -140,6 +138,13 @@ else
 LIBEFL_CONF_OPTS += --with-crypto=none
 endif # BR2_PACKAGE_OPENSSL
 
+ifeq ($(BR2_PACKAGE_WAYLAND),y)
+LIBEFL_DEPENDENCIES += wayland libxkbcommon
+LIBEFL_CONF_OPTS += --enable-wayland
+else
+LIBEFL_CONF_OPTS += --disable-wayland
+endif
+
 # Loaders that need external dependencies needs to be --enable-XXX=yes
 # otherwise the default is '=static'.
 # All other loaders are statically built-in
Signature · 1 line
2.4.3
#10 lore raw

PATCH v10 4/28 package/efl/libefl: add webp dependency

In reply to Romain Naour

WebP is a new image format that provides lossless and lossy compression for images on the web. So enabling webp support in efl libraries allow to loads images using WebP.

Also, it one of the "highly recommended" dependecies [1] according to the README but disabling it doesn't need the --enable-i-really-know-what-i-am-doing... option. That's why BR2_PACKAGE_LIBEFL_WEBP is not added to BR2_PACKAGE_LIBEFL_RECOMMENDED_CONFIG.

[1] https://git.enlightenment.org/core/efl.git/tree/README?id=v1.15.2#n486

---
v6: select BR2_PACKAGE_WEBP (Yann E.Morin)
v4: rename to libefl
improve commit log

---
 package/efl/libefl/Config.in | 6 ++++++
 package/efl/libefl/libefl.mk | 9 +++++++--
 2 files changed, 13 insertions(+), 2 deletions(-)
package/efl/libefl/Config.in +6 -0
index 41160d4..74e75ec 100644
@@ -145,4 +145,10 @@ config BR2_PACKAGE_LIBEFL_TIFF
 	help
 	  This enables the loader code that loads tiff files.
 
+config BR2_PACKAGE_LIBEFL_WEBP
+	bool "libevas webp image loader"
+	select BR2_PACKAGE_WEBP
+	help
+	  This enables the loader code that loads images using WebP.
+
 endif # BR2_PACKAGE_LIBEFL
package/efl/libefl/libefl.mk +7 -2
index db150d0..bd20039 100644
@@ -32,7 +32,6 @@ LIBEFL_GETTEXTIZE = YES
 # --disable-cxx-bindings: disable C++11 bindings.
 # --disable-fb: disable frame buffer support.
 # --disable-image-loader-jp2k: disable JPEG 2000 support.
-# --disable-image-loader-webp: disable webp support.
 # --disable-sdl: disable sdl2 support.
 # --disable-systemd: disable systemd support.
 # --enable-lua-old: disable Elua and remove luajit dependency.
@@ -44,7 +43,6 @@ LIBEFL_CONF_OPTS = \
 	--disable-cxx-bindings \
 	--disable-fb \
 	--disable-image-loader-jp2k \
-	--disable-image-loader-webp \
 	--disable-sdl \
 	--disable-systemd \
 	--enable-lua-old \
@@ -176,6 +174,13 @@ else
 LIBEFL_CONF_OPTS += --disable-image-loader-tiff
 endif
 
+ifeq ($(BR2_PACKAGE_LIBEFL_WEBP),y)
+LIBEFL_CONF_OPTS += --enable-image-loader-webp=yes
+LIBEFL_DEPENDENCIES += webp
+else
+LIBEFL_CONF_OPTS += --disable-image-loader-webp
+endif
+
 $(eval $(autotools-package))
 
 ################################################################################
Signature · 1 line
2.4.3
#11 lore raw

PATCH v10 5/28 package/efl/libefl: add frame buffer config option

In reply to Romain Naour

Add an config option to enable frame buffer support in the efl libraries.

From the README [1]:
This requires linux frame-buffer support, headers etc. This supports basic frame-buffers like /dev/fb as well as input via /dev/input for keyboards and mice in a basic way.

There is a bug eina_module_load().
From [2]:
When running terminology, a message appears in eina_module_load with:
could not dlopen("/usr/lib/ecore_evas/engines/fb/v-1.15/module.so", Error relocating /usr/lib/ecore_evas/engines/fb/v-1.15/module.so:
ecore_fb_ts_shutdown: symbol not found): RTLD_NOW
It seems like the EAPI macro has no effect...

A patch from Ross Vandegrift has been posted on enlightenment mailing list [3], but it's not yet an upstream patch.

[1] https://git.enlightenment.org/core/efl.git/tree/README?id=v1.15.2#n521
[2] http://sourceforge.net/p/enlightenment/mailman/message/34493376
[3] http://sourceforge.net/p/enlightenment/mailman/message/34492801

---
v6: squash with the patch adding the fix provided by Vicente Bergas.
v4: rename to libefl
improve commit log

---
 ...ecore_fb_private.h-define-EAPI-before-use.patch | 64 ++++++++++++++++++++++
 package/efl/libefl/Config.in                       |  5 ++
 package/efl/libefl/libefl.mk                       |  8 ++-
 3 files changed, 75 insertions(+), 2 deletions(-)
 create mode 100644 package/efl/libefl/0001-ecore_fb_private.h-define-EAPI-before-use.patch
package/efl/libefl/0001-ecore_fb_private.h-define-EAPI-before-use.patch new file +64 -0
new file mode 100644
index 0000000..81d14f9
@@ -0,0 +1,64 @@
+From 2fb4fdf641e67e49b87a3524038a694c8dd0ba4e Mon Sep 17 00:00:00 2001
+From: Vicente Bergas <[email protected]>
+Date: Fri, 9 Oct 2015 23:35:20 +0200
+Subject: [PATCH] ecore_fb_private.h: define EAPI before use
+
+From [1]:
+When running terminology, a message appears in eina_module_load with:
+could not dlopen("/usr/lib/ecore_evas/engines/fb/v-1.15/module.so",
+Error relocating /usr/lib/ecore_evas/engines/fb/v-1.15/module.so:
+ecore_fb_ts_shutdown: symbol not found): RTLD_NOW
+It seems like the EAPI macro has no effect...
+
+A patch from Ross Vandegrift has been posted on enlightenment mailing
+list [2], but it's not yet an upstream patch.
+
+[1] http://sourceforge.net/p/enlightenment/mailman/message/34493376
+[2] http://sourceforge.net/p/enlightenment/mailman/message/34492801
+
+Signed-off-by: Vicente Bergas <[email protected]>
+[Romain:
+  - Add a commit log
+  - Add a link to the enlightenment mailing list
+  - Add Vicente's SoB line]
+Signed-off-by: Romain Naour <[email protected]>
+---
+ src/lib/ecore_fb/ecore_fb_private.h | 17 +++++++++++++++++
+ 1 file changed, 17 insertions(+)
+
+diff --git a/src/lib/ecore_fb/ecore_fb_private.h b/src/lib/ecore_fb/ecore_fb_private.h
+index f7dc0c6..f54c8d2 100644
+--- a/src/lib/ecore_fb/ecore_fb_private.h
++++ b/src/lib/ecore_fb/ecore_fb_private.h
+@@ -33,6 +33,20 @@
+ 
+ #include <Ecore_Fb.h>
+ 
++#ifdef EAPI
++# undef EAPI
++#endif
++
++#ifdef __GNUC__
++# if __GNUC__ >= 4
++#  define EAPI __attribute__ ((visibility("default")))
++# else
++#  define EAPI
++# endif
++#else
++# define EAPI
++#endif
++
+ /* ecore_fb_li.c */
+ struct _Ecore_Fb_Input_Device
+ {
+@@ -92,4 +106,7 @@ void ecore_fb_vt_shutdown(void);
+ #define TS_GET_CAL 0x8014660a
+ #endif
+   
++#undef EAPI
++#define EAPI
++
+ #endif
+-- 
+2.4.3
+
package/efl/libefl/Config.in +5 -0
index 74e75ec..04ad31e 100644
@@ -117,6 +117,11 @@ comment "Warning: one of the recommended option for EFL is not enabled"
 		|| !BR2_PACKAGE_LIBEFL_PULSEAUDIO \
 		|| !BR2_PACKAGE_LIBEFL_UTIL_LINUX_LIBMOUNT
 
+comment "libecore video support"
+
+config BR2_PACKAGE_LIBEFL_FB
+	bool "FB support"
+
 comment "libevas loaders"
 
 config BR2_PACKAGE_LIBEFL_PNG
package/efl/libefl/libefl.mk +6 -2
index bd20039..cdc28bb 100644
@@ -30,7 +30,6 @@ LIBEFL_GETTEXTIZE = YES
 
 # Configure options:
 # --disable-cxx-bindings: disable C++11 bindings.
-# --disable-fb: disable frame buffer support.
 # --disable-image-loader-jp2k: disable JPEG 2000 support.
 # --disable-sdl: disable sdl2 support.
 # --disable-systemd: disable systemd support.
@@ -41,7 +40,6 @@ LIBEFL_CONF_OPTS = \
 	--with-edje-cc=$(HOST_DIR)/usr/bin/edje_cc \
 	--with-eolian-gen=$(HOST_DIR)/usr/bin/eolian_gen \
 	--disable-cxx-bindings \
-	--disable-fb \
 	--disable-image-loader-jp2k \
 	--disable-sdl \
 	--disable-systemd \
@@ -143,6 +141,12 @@ else
 LIBEFL_CONF_OPTS += --disable-wayland
 endif
 
+ifeq ($(BR2_PACKAGE_LIBEFL_FB),y)
+LIBEFL_CONF_OPTS += --enable-fb
+else
+LIBEFL_CONF_OPTS += --disable-fb
+endif
+
 # Loaders that need external dependencies needs to be --enable-XXX=yes
 # otherwise the default is '=static'.
 # All other loaders are statically built-in
Signature · 1 line
2.4.3
#12 lore raw

PATCH v10 6/28 package/efl/libefl: add jp2k config option

In reply to Romain Naour

Like for webp format, add an option to enable the JPEG 2000 codec support in the efl libraries.

---
v6: use --disable option
v4: rename to libefl
improve commit log

---
 package/efl/libefl/Config.in | 7 +++++++
 package/efl/libefl/libefl.mk | 9 +++++++--
 2 files changed, 14 insertions(+), 2 deletions(-)
package/efl/libefl/Config.in +7 -0
index 04ad31e..504cd4b 100644
@@ -131,6 +131,13 @@ config BR2_PACKAGE_LIBEFL_PNG
 	  This enables the loader code that loads png files using
 	  libpng.
 
+config BR2_PACKAGE_LIBEFL_JP2K
+	bool "libevas jp2k loader"
+	select BR2_PACKAGE_OPENJPEG
+	help
+	  This enables the loader code that loads jp2k files using
+	  openjpeg.
+
 config BR2_PACKAGE_LIBEFL_JPEG
 	bool "libevas jpeg loader"
 	help
package/efl/libefl/libefl.mk +7 -2
index cdc28bb..e1eb313 100644
@@ -30,7 +30,6 @@ LIBEFL_GETTEXTIZE = YES
 
 # Configure options:
 # --disable-cxx-bindings: disable C++11 bindings.
-# --disable-image-loader-jp2k: disable JPEG 2000 support.
 # --disable-sdl: disable sdl2 support.
 # --disable-systemd: disable systemd support.
 # --enable-lua-old: disable Elua and remove luajit dependency.
@@ -40,7 +39,6 @@ LIBEFL_CONF_OPTS = \
 	--with-edje-cc=$(HOST_DIR)/usr/bin/edje_cc \
 	--with-eolian-gen=$(HOST_DIR)/usr/bin/eolian_gen \
 	--disable-cxx-bindings \
-	--disable-image-loader-jp2k \
 	--disable-sdl \
 	--disable-systemd \
 	--enable-lua-old \
@@ -178,6 +176,13 @@ else
 LIBEFL_CONF_OPTS += --disable-image-loader-tiff
 endif
 
+ifeq ($(BR2_PACKAGE_LIBEFL_JP2K),y)
+LIBEFL_CONF_OPTS += --enable-image-loader-jp2k=yes
+LIBEFL_DEPENDENCIES += openjpeg
+else
+LIBEFL_CONF_OPTS += --disable-image-loader-jp2k
+endif
+
 ifeq ($(BR2_PACKAGE_LIBEFL_WEBP),y)
 LIBEFL_CONF_OPTS += --enable-image-loader-webp=yes
 LIBEFL_DEPENDENCIES += webp
Signature · 1 line
2.4.3
#13 lore raw

PATCH v10 7/28 package/efl/libefl: add X11 support

In reply to Romain Naour

Add an option to enable X11 support in libecore without graphic acceleration. libecore can use xlib or xcb support but the latter in not recommended by efl developpers [1]. Thereby the xcb support has been dropped with the bump to efl 1.15.

Also, set x-includes and x-libraries configure option for cross-compiling. Previous efl versions had cross-compilation issue (poisoned paths) if these options are not passed to configure script.

In order to remove the dependency on libXp wich is no longer bundled in recent X11 release [2], backport an upstream patch [3] to remove xprint usage.

[1] https://git.enlightenment.org/core/efl.git/tree/configure.ac#n5002
[2] http://www.x.org/wiki/Releases/ModuleVersions
[3] https://git.enlightenment.org/core/efl.git/commit/?h=efl-1.15&id=434572355c7e929b84210b2f795634d38f13c913

---
v8: fix codin style (Yann)

    add --disable-xinput22

v6: drop xcb support
Improve the comment about autotools (Yann E.Morin)
fix typo (enable-lua-old)
v4: rename libefl
improve commit log
v3: fix typo
remove xlib_libXp dependency (xprint), since libXp package has been removed from this series.

---
 .../libefl/0002-ecore_x-Remove-XPrint-usage.patch  | 153 +++++++++++++++++++++
 package/efl/libefl/Config.in                       |  16 +++
 package/efl/libefl/libefl.mk                       |  33 ++++-
 3 files changed, 197 insertions(+), 5 deletions(-)
 create mode 100644 package/efl/libefl/0002-ecore_x-Remove-XPrint-usage.patch
package/efl/libefl/0002-ecore_x-Remove-XPrint-usage.patch new file +153 -0
new file mode 100644
index 0000000..4687e4c
@@ -0,0 +1,153 @@
+From 434572355c7e929b84210b2f795634d38f13c913 Mon Sep 17 00:00:00 2001
+From: Derek Foreman <[email protected]>
+Date: Tue, 6 Oct 2015 13:13:01 -0400
+Subject: [PATCH] ecore_x: Remove XPrint usage
+
+Summary:
+Xprint has been deprecated since 2008.
+
+It's recently (August 2015) been removed from debian.
+
+Reviewers: zmike, devilhorns
+
+Subscribers: cedric
+
+Differential Revision: https://phab.enlightenment.org/D3150
+---
+ configure.ac                           |  1 -
+ src/lib/ecore_x/xlib/ecore_x.c         | 78 ----------------------------------
+ src/lib/ecore_x/xlib/ecore_x_private.h |  3 --
+ 3 files changed, 82 deletions(-)
+
+diff --git a/configure.ac b/configure.ac
+index 9c17946..c34191c 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -3624,7 +3624,6 @@ if test "x${want_x11_xlib}" = "xyes" ; then
+    ECORE_CHECK_X_EXTENSION([Xdpms], [dpms.h], [Xext], [DPMSQueryExtension])
+    ECORE_CHECK_X_EXTENSION([Xfixes], [Xfixes.h], [Xfixes], [XFixesExpandRegion])
+    ECORE_CHECK_X_EXTENSION([Xinerama], [Xinerama.h], [Xinerama], [XineramaQueryScreens])
+-   ECORE_CHECK_X_EXTENSION([Xprint], [Print.h], [Xp], [XpQueryScreens])
+    ECORE_CHECK_X_EXTENSION([Xrandr], [Xrandr.h], [Xrandr], [XRRGetScreenResourcesCurrent])
+    ECORE_CHECK_X_EXTENSION([Xrender], [Xrender.h], [Xrender], [XRenderFindVisualFormat])
+    ECORE_CHECK_X_EXTENSION([Xtest], [XTest.h], [Xtst], [XTestFakeKeyEvent])
+diff --git a/src/lib/ecore_x/xlib/ecore_x.c b/src/lib/ecore_x/xlib/ecore_x.c
+index 096f64d..8e2057e 100644
+--- a/src/lib/ecore_x/xlib/ecore_x.c
++++ b/src/lib/ecore_x/xlib/ecore_x.c
+@@ -1219,9 +1219,6 @@ ecore_x_window_root_list(int *num_ret)
+ {
+    int num, i;
+    Ecore_X_Window *roots;
+-#ifdef ECORE_XPRINT
+-   int xp_base, xp_err_base;
+-#endif /* ifdef ECORE_XPRINT */
+ 
+    if (!num_ret)
+      return NULL;
+@@ -1229,80 +1226,6 @@ ecore_x_window_root_list(int *num_ret)
+    *num_ret = 0;
+ 
+    LOGFN(__FILE__, __LINE__, __FUNCTION__);
+-#ifdef ECORE_XPRINT
+-   num = ScreenCount(_ecore_x_disp);
+-   if (XpQueryExtension(_ecore_x_disp, &xp_base, &xp_err_base))
+-     {
+-        Screen **ps = NULL;
+-        int psnum = 0;
+-
+-        ps = XpQueryScreens(_ecore_x_disp, &psnum);
+-        if (ps)
+-          {
+-             int overlap, j;
+-
+-             overlap = 0;
+-             for (i = 0; i < num; i++)
+-               {
+-                  for (j = 0; j < psnum; j++)
+-                    {
+-                       if (ScreenOfDisplay(_ecore_x_disp, i) == ps[j])
+-                         overlap++;
+-                    }
+-               }
+-             roots = malloc(MAX((num - overlap) * sizeof(Ecore_X_Window), 1));
+-             if (roots)
+-               {
+-                  int k;
+-
+-                  k = 0;
+-                  for (i = 0; i < num; i++)
+-                    {
+-                       int is_print;
+-
+-                       is_print = 0;
+-                       for (j = 0; j < psnum; j++)
+-                         {
+-                            if (ScreenOfDisplay(_ecore_x_disp, i) == ps[j])
+-                              {
+-                                 is_print = 1;
+-                                 break;
+-                              }
+-                         }
+-                       if (!is_print)
+-                         {
+-                            roots[k] = RootWindow(_ecore_x_disp, i);
+-                            k++;
+-                         }
+-                    }
+-                  *num_ret = k;
+-               }
+-
+-             XFree(ps);
+-          }
+-        else
+-          {
+-             roots = malloc(num * sizeof(Ecore_X_Window));
+-             if (!roots)
+-               return NULL;
+-
+-             *num_ret = num;
+-             for (i = 0; i < num; i++)
+-               roots[i] = RootWindow(_ecore_x_disp, i);
+-          }
+-     }
+-   else
+-     {
+-        roots = malloc(num * sizeof(Ecore_X_Window));
+-        if (!roots)
+-          return NULL;
+-
+-        *num_ret = num;
+-        for (i = 0; i < num; i++)
+-          roots[i] = RootWindow(_ecore_x_disp, i);
+-     }
+-
+-#else /* ifdef ECORE_XPRINT */
+    num = ScreenCount(_ecore_x_disp);
+    roots = malloc(num * sizeof(Ecore_X_Window));
+    if (!roots)
+@@ -1311,7 +1234,6 @@ ecore_x_window_root_list(int *num_ret)
+    *num_ret = num;
+    for (i = 0; i < num; i++)
+      roots[i] = RootWindow(_ecore_x_disp, i);
+-#endif /* ifdef ECORE_XPRINT */
+    return roots;
+ }
+ 
+diff --git a/src/lib/ecore_x/xlib/ecore_x_private.h b/src/lib/ecore_x/xlib/ecore_x_private.h
+index 97b3858..07c09fb 100644
+--- a/src/lib/ecore_x/xlib/ecore_x_private.h
++++ b/src/lib/ecore_x/xlib/ecore_x_private.h
+@@ -19,9 +19,6 @@
+ #ifdef ECORE_XCURSOR
+ #include <X11/Xcursor/Xcursor.h>
+ #endif /* ifdef ECORE_XCURSOR */
+-#ifdef ECORE_XPRINT
+-#include <X11/extensions/Print.h>
+-#endif /* ifdef ECORE_XPRINT */
+ #ifdef ECORE_XINERAMA
+ #include <X11/extensions/Xinerama.h>
+ #endif /* ifdef ECORE_XINERAMA */
+-- 
+2.4.3
+
package/efl/libefl/Config.in +16 -0
index 504cd4b..bf15de7 100644
@@ -122,6 +122,22 @@ comment "libecore video support"
 config BR2_PACKAGE_LIBEFL_FB
 	bool "FB support"
 
+config BR2_PACKAGE_LIBEFL_X_XLIB
+	bool "X11 support (xlib)"
+	depends on BR2_PACKAGE_XORG7
+	select BR2_PACKAGE_XLIB_LIBX11
+	select BR2_PACKAGE_XLIB_LIBXEXT
+	select BR2_PACKAGE_XLIB_LIBXCOMPOSITE
+	select BR2_PACKAGE_XLIB_LIBXCURSOR
+	select BR2_PACKAGE_XLIB_LIBXDAMAGE
+	select BR2_PACKAGE_XLIB_LIBXINERAMA
+	select BR2_PACKAGE_XLIB_LIBXP
+	select BR2_PACKAGE_XLIB_LIBXRANDR
+	select BR2_PACKAGE_XLIB_LIBXRENDER
+	select BR2_PACKAGE_XLIB_LIBXSCRNSAVER
+	select BR2_PACKAGE_XLIB_LIBXTST
+	select BR2_PACKAGE_XPROTO_GLPROTO
+
 comment "libevas loaders"
 
 config BR2_PACKAGE_LIBEFL_PNG
package/efl/libefl/libefl.mk +28 -5
index e1eb313..3d58e24 100644
@@ -23,8 +23,9 @@ LIBEFL_INSTALL_STAGING = YES
 LIBEFL_DEPENDENCIES = host-pkgconf host-libefl dbus freetype jpeg lua udev \
 	util-linux zlib
 
-# regenerate the configure script:
-# https://phab.enlightenment.org/T2718
+# Regenerate the autotools:
+#  - to fix an issue in eldbus-codegen: https://phab.enlightenment.org/T2718
+#  - to remove dependency on libXp: https://phab.enlightenment.org/D3150
 LIBEFL_AUTORECONF = YES
 LIBEFL_GETTEXTIZE = YES
 
@@ -32,18 +33,18 @@ LIBEFL_GETTEXTIZE = YES
 # --disable-cxx-bindings: disable C++11 bindings.
 # --disable-sdl: disable sdl2 support.
 # --disable-systemd: disable systemd support.
+# --disable-xinput22: disable X11 XInput v2.2+ support.
 # --enable-lua-old: disable Elua and remove luajit dependency.
 # --with-opengl=none: disable opengl support.
-# --with-x11=none: remove dependency on X.org.
 LIBEFL_CONF_OPTS = \
 	--with-edje-cc=$(HOST_DIR)/usr/bin/edje_cc \
 	--with-eolian-gen=$(HOST_DIR)/usr/bin/eolian_gen \
 	--disable-cxx-bindings \
 	--disable-sdl \
 	--disable-systemd \
+	--disable-xinput22 \
 	--enable-lua-old \
-	--with-opengl=none \
-	--with-x11=none
+	--with-opengl=none
 
 # Disable untested configuration warning.
 ifeq ($(BR2_PACKAGE_LIBEFL_RECOMMENDED_CONFIG),)
@@ -145,6 +146,28 @@ else
 LIBEFL_CONF_OPTS += --disable-fb
 endif
 
+ifeq ($(BR2_PACKAGE_LIBEFL_X_XLIB),y)
+LIBEFL_CONF_OPTS += \
+	--with-x11=xlib \
+	--with-x=$(STAGING_DIR) \
+	--x-includes=$(STAGING_DIR)/usr/include \
+	--x-libraries=$(STAGING_DIR)/usr/lib
+
+LIBEFL_DEPENDENCIES += \
+	xlib_libX11 \
+	xlib_libXcomposite \
+	xlib_libXcursor \
+	xlib_libXdamage \
+	xlib_libXext \
+	xlib_libXinerama \
+	xlib_libXrandr \
+	xlib_libXrender \
+	xlib_libXScrnSaver \
+	xlib_libXtst
+else
+LIBEFL_CONF_OPTS += --with-x11=none
+endif
+
 # Loaders that need external dependencies needs to be --enable-XXX=yes
 # otherwise the default is '=static'.
 # All other loaders are statically built-in
Signature · 1 line
2.4.3
#14 lore raw

PATCH v10 8/28 package/efl/libefl: add OpenGLES support

In reply to Romain Naour

Allow to enable graphic acceleration using OpenGLES with efl libraries.

The full opengl option (--with-opengl=full) is still disabled for now since it's mainly used with Tizen on GPU Intel and ARM Mali.

With the upcomming Wayland support in EFL 1.16 and Enlightenment 0.20, only OpenGLES support is recommanded.

---
v9: remove OpenGL full support
v6: Rename OpenGL options (Yann E.Morin)
Only full OpenGL support depends on X11.
v4: rename libefl
improve commit log

---
 package/efl/libefl/Config.in | 19 +++++++++++++++++++
 package/efl/libefl/libefl.mk | 13 ++++++++++---
 2 files changed, 29 insertions(+), 3 deletions(-)
package/efl/libefl/Config.in +19 -0
index bf15de7..333456e 100644
@@ -138,6 +138,25 @@ config BR2_PACKAGE_LIBEFL_X_XLIB
 	select BR2_PACKAGE_XLIB_LIBXTST
 	select BR2_PACKAGE_XPROTO_GLPROTO
 
+choice
+	bool "OpenGL support"
+	default BR2_PACKAGE_LIBEFL_OPENGLES if BR2_PACKAGE_HAS_LIBGLES
+	help
+	  libevas can be configured to use HW acceleration only with
+	  OpenGLES.
+
+config BR2_PACKAGE_LIBEFL_OPENGL_NONE
+	bool "none"
+
+config BR2_PACKAGE_LIBEFL_OPENGLES
+	bool "opengles"
+	depends on BR2_PACKAGE_HAS_LIBGLES
+
+comment "opengles support needs an opengles provider"
+	depends on !BR2_PACKAGE_HAS_LIBGLES
+
+endchoice # OpenGL support
+
 comment "libevas loaders"
 
 config BR2_PACKAGE_LIBEFL_PNG
package/efl/libefl/libefl.mk +10 -3
index 3d58e24..0eb17c2 100644
@@ -35,7 +35,6 @@ LIBEFL_GETTEXTIZE = YES
 # --disable-systemd: disable systemd support.
 # --disable-xinput22: disable X11 XInput v2.2+ support.
 # --enable-lua-old: disable Elua and remove luajit dependency.
-# --with-opengl=none: disable opengl support.
 LIBEFL_CONF_OPTS = \
 	--with-edje-cc=$(HOST_DIR)/usr/bin/edje_cc \
 	--with-eolian-gen=$(HOST_DIR)/usr/bin/eolian_gen \
@@ -43,8 +42,7 @@ LIBEFL_CONF_OPTS = \
 	--disable-sdl \
 	--disable-systemd \
 	--disable-xinput22 \
-	--enable-lua-old \
-	--with-opengl=none
+	--enable-lua-old
 
 # Disable untested configuration warning.
 ifeq ($(BR2_PACKAGE_LIBEFL_RECOMMENDED_CONFIG),)
@@ -168,6 +166,15 @@ else
 LIBEFL_CONF_OPTS += --with-x11=none
 endif
 
+ifeq ($(BR2_PACKAGE_LIBEFL_OPENGLES),y)
+LIBEFL_CONF_OPTS += --with-opengl=es
+LIBEFL_DEPENDENCIES += libgles
+endif
+
+ifeq ($(BR2_PACKAGE_LIBEFL_OPENGL_NONE),y)
+LIBEFL_CONF_OPTS += --with-opengl=none
+endif
+
 # Loaders that need external dependencies needs to be --enable-XXX=yes
 # otherwise the default is '=static'.
 # All other loaders are statically built-in
Signature · 1 line
2.4.3
#15 lore raw

PATCH v10 9/28 package/efl/libefl: enable xinput2.2

In reply to Romain Naour

X11 XInput v2.2+ support is one of the recommended feature for the efl libraries:
https://git.enlightenment.org/core/efl.git/tree/README?h=efl-1.15#n490

---
v8: Remove --disable-xinput22 added by the patch adding X11 support
(Yann E.Morin)
v6: add missing dependency on xlib_libXi (Yann E.Morin)
v4: rename to libefl
improve commit log
v3: new patch

---
 package/efl/libefl/Config.in | 1 +
 package/efl/libefl/libefl.mk | 7 ++++---
 2 files changed, 5 insertions(+), 3 deletions(-)
package/efl/libefl/Config.in +1 -0
index 333456e..7f76b94 100644
@@ -130,6 +130,7 @@ config BR2_PACKAGE_LIBEFL_X_XLIB
 	select BR2_PACKAGE_XLIB_LIBXCOMPOSITE
 	select BR2_PACKAGE_XLIB_LIBXCURSOR
 	select BR2_PACKAGE_XLIB_LIBXDAMAGE
+	select BR2_PACKAGE_XLIB_LIBXI
 	select BR2_PACKAGE_XLIB_LIBXINERAMA
 	select BR2_PACKAGE_XLIB_LIBXP
 	select BR2_PACKAGE_XLIB_LIBXRANDR
package/efl/libefl/libefl.mk +4 -3
index 0eb17c2..5e8009e 100644
@@ -33,7 +33,6 @@ LIBEFL_GETTEXTIZE = YES
 # --disable-cxx-bindings: disable C++11 bindings.
 # --disable-sdl: disable sdl2 support.
 # --disable-systemd: disable systemd support.
-# --disable-xinput22: disable X11 XInput v2.2+ support.
 # --enable-lua-old: disable Elua and remove luajit dependency.
 LIBEFL_CONF_OPTS = \
 	--with-edje-cc=$(HOST_DIR)/usr/bin/edje_cc \
@@ -41,7 +40,6 @@ LIBEFL_CONF_OPTS = \
 	--disable-cxx-bindings \
 	--disable-sdl \
 	--disable-systemd \
-	--disable-xinput22 \
 	--enable-lua-old
 
 # Disable untested configuration warning.
@@ -145,11 +143,13 @@ LIBEFL_CONF_OPTS += --disable-fb
 endif
 
 ifeq ($(BR2_PACKAGE_LIBEFL_X_XLIB),y)
+# --enable-xinput22 is recommended
 LIBEFL_CONF_OPTS += \
 	--with-x11=xlib \
 	--with-x=$(STAGING_DIR) \
 	--x-includes=$(STAGING_DIR)/usr/include \
-	--x-libraries=$(STAGING_DIR)/usr/lib
+	--x-libraries=$(STAGING_DIR)/usr/lib \
+	--enable-xinput22
 
 LIBEFL_DEPENDENCIES += \
 	xlib_libX11 \
@@ -157,6 +157,7 @@ LIBEFL_DEPENDENCIES += \
 	xlib_libXcursor \
 	xlib_libXdamage \
 	xlib_libXext \
+	xlib_libXi \
 	xlib_libXinerama \
 	xlib_libXrandr \
 	xlib_libXrender \
Signature · 1 line
2.4.3
#16 lore raw

PATCH v10 10/28 package/libevas-generic-loaders: bump to version 1.15.0

In reply to Romain Naour

Use the newly added libefl package wich provide a new version of libeina.

Also, update the upstream url and add a hash file.

---
v6: add host-pkgconfig dependency (Yann E.Morin)
v5: Use depends on BR2_PACKAGE_EFL instead of select (ThomasP)
v4: rename to libefl
improve commit log
add a dependency on threads
v3: remove trailing slash (Vicente Bergas)
v2: bump to 1.15
remove glibc only dependency

---
 package/libevas-generic-loaders/Config.in                    |  3 +--
 package/libevas-generic-loaders/libevas-generic-loaders.hash |  2 ++
 package/libevas-generic-loaders/libevas-generic-loaders.mk   | 10 ++++++----
 3 files changed, 9 insertions(+), 6 deletions(-)
 create mode 100644 package/libevas-generic-loaders/libevas-generic-loaders.hash
package/libevas-generic-loaders/Config.in +1 -2
index f42f8a6..65ced8a 100644
@@ -1,14 +1,13 @@
 config BR2_PACKAGE_LIBEVAS_GENERIC_LOADERS
 	bool "libevas generic loaders"
 	depends on BR2_PACKAGE_EFL
-	select BR2_PACKAGE_LIBEINA
 	select BR2_PACKAGE_ZLIB
 	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
+	  https://www.enlightenment.org/
 
 if BR2_PACKAGE_LIBEVAS_GENERIC_LOADERS
 
package/libevas-generic-loaders/libevas-generic-loaders.hash new file +2 -0
new file mode 100644
index 0000000..32723ba
@@ -0,0 +1,2 @@
+# From https://download.enlightenment.org/rel/libs/evas_generic_loaders/evas_generic_loaders-1.15.0.tar.xz.sha256
+sha256	1e539e4d4d4e1590345caeb7fdd84f47ec7cd63bb76b6b7107a87420a401fd7f	evas_generic_loaders-1.15.0.tar.xz
package/libevas-generic-loaders/libevas-generic-loaders.mk +6 -4
index ac6b1cc..47dfa9a 100644
@@ -4,17 +4,19 @@
 #
 ################################################################################
 
-LIBEVAS_GENERIC_LOADERS_VERSION = 1.7.10
-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_VERSION = 1.15.0
+LIBEVAS_GENERIC_LOADERS_SOURCE = evas_generic_loaders-$(LIBEVAS_GENERIC_LOADERS_VERSION).tar.xz
+LIBEVAS_GENERIC_LOADERS_SITE = http://download.enlightenment.org/rel/libs/evas_generic_loaders
 LIBEVAS_GENERIC_LOADERS_LICENSE = GPLv2
 LIBEVAS_GENERIC_LOADERS_LICENSE_FILES = COPYING
 
 LIBEVAS_GENERIC_LOADERS_INSTALL_STAGING = YES
 
-LIBEVAS_GENERIC_LOADERS_DEPENDENCIES = libeina zlib
+LIBEVAS_GENERIC_LOADERS_DEPENDENCIES = host-pkgconf libefl zlib
 
 # For now, we only support the SVG loader
+# poppler >= 0.32 is not supported by the current version of
+# libevas-generic-loaders.
 LIBEVAS_GENERIC_LOADERS_CONF_OPTS += \
 	--disable-poppler \
 	--disable-spectre \
Signature · 1 line
2.4.3
#17 lore raw

PATCH v10 11/28 package/libevas-generic-loaders: add libraw dependency

In reply to Romain Naour

libraw it's one of the "highly recommended" dependecies according to the README [1].

[1] https://git.enlightenment.org/core/evas_generic_loaders.git/tree/README?id=v1.15.0#n31

---
v6: select BR2_PACKAGE_LIBRAW and propagate its dependency on

    C++. (Yann E.Morin)
v4: improve commit log
---
 package/libevas-generic-loaders/Config.in                  | 10 ++++++++++
 package/libevas-generic-loaders/libevas-generic-loaders.mk |  9 +++++++--
 2 files changed, 17 insertions(+), 2 deletions(-)
package/libevas-generic-loaders/Config.in +10 -0
index 65ced8a..1d5b717 100644
@@ -11,6 +11,16 @@ config BR2_PACKAGE_LIBEVAS_GENERIC_LOADERS
 
 if BR2_PACKAGE_LIBEVAS_GENERIC_LOADERS
 
+config BR2_PACKAGE_LIBEVAS_GENERIC_LOADERS_LIBRAW
+	bool "libraw loader"
+	depends on BR2_INSTALL_LIBSTDCPP # libraw
+	select BR2_PACKAGE_LIBRAW
+	help
+	  This option enables the Evas generic Libraw loader
+
+comment "libraw loader needs a toolchain w/ C++"
+	depends on !BR2_INSTALL_LIBSTDCPP
+
 config BR2_PACKAGE_LIBEVAS_GENERIC_LOADERS_SVG
 	bool "SVG loader"
 	depends on BR2_USE_MMU # librsvg -> glib2
package/libevas-generic-loaders/libevas-generic-loaders.mk +7 -2
index 47dfa9a..2c1c1cd 100644
@@ -14,15 +14,20 @@ LIBEVAS_GENERIC_LOADERS_INSTALL_STAGING = YES
 
 LIBEVAS_GENERIC_LOADERS_DEPENDENCIES = host-pkgconf libefl zlib
 
-# For now, we only support the SVG loader
 # poppler >= 0.32 is not supported by the current version of
 # libevas-generic-loaders.
 LIBEVAS_GENERIC_LOADERS_CONF_OPTS += \
 	--disable-poppler \
 	--disable-spectre \
-	--disable-libraw \
 	--disable-gstreamer
 
+ifeq ($(BR2_PACKAGE_LIBEVAS_GENERIC_LOADERS_LIBRAW),y)
+LIBEVAS_GENERIC_LOADERS_DEPENDENCIES += libraw
+LIBEVAS_GENERIC_LOADERS_CONF_OPTS += --enable-libraw
+else
+LIBEVAS_GENERIC_LOADERS_CONF_OPTS += --disable-libraw
+endif
+
 ifeq ($(BR2_PACKAGE_LIBEVAS_GENERIC_LOADERS_SVG),y)
 LIBEVAS_GENERIC_LOADERS_DEPENDENCIES += librsvg cairo
 LIBEVAS_GENERIC_LOADERS_CONF_OPTS += --enable-svg
Signature · 1 line
2.4.3
#18 lore raw

PATCH v10 12/28 package/efl/libelementary: bump to version 1.15.2

In reply to Romain Naour

Use the newly added libefl package wich provide a new version of libeina, libevas, libecore and libedje.

Update the upstream url and add a hash file.

We need to add a host package to provide elm_prefs_cc the host machine to cross-compile correctly libelementary for the target. Otherwise, elm_prefs_cc for the target is used on the host machine.

Since eet, eolian_gen and eldbus_codegen are installed in HOST_DIR by host-efl package, help configure script to find them.

Explicitly disable doxygen and elementary-test.

---
v6: squash with the patch adding host-libelementary (Yann E.Morin)
v5: move the hash file to package/efl/libelementary
v4: keep libelementary in package/efl/
v3: bump to 1.15.2
remove trailing slash (Vicente Bergas)
v2: bump to 1.15.1
remove glibc only dependency

---
 package/efl/libelementary/Config.in          | 14 ++++-------
 package/efl/libelementary/libelementary.hash |  2 ++
 package/efl/libelementary/libelementary.mk   | 35 ++++++++++++++++------------
 3 files changed, 27 insertions(+), 24 deletions(-)
 create mode 100644 package/efl/libelementary/libelementary.hash
package/efl/libelementary/Config.in +5 -9
index fcc7025..1f8c962 100644
@@ -1,17 +1,13 @@
-comment "libelementary needs a toolchain w/ threads, dynamic library"
-	depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS
-
 config BR2_PACKAGE_LIBELEMENTARY
 	bool "libelementary"
-	depends on BR2_TOOLCHAIN_HAS_THREADS # libevas
+	depends on BR2_TOOLCHAIN_HAS_THREADS # elm_store.c
 	depends on !BR2_STATIC_LIBS
-	select BR2_PACKAGE_LIBEINA
-	select BR2_PACKAGE_LIBEVAS
-	select BR2_PACKAGE_LIBECORE
-	select BR2_PACKAGE_LIBEDJE
 	help
 	  Elementary is a widget toolkit and EFL wrapper and convenience
 	  library to make it easy to build applications and tools with UIs
 	  with less code.
 
-	  http://trac.enlightenment.org/e/wiki/Elementary
+	  https://enlightenment.org
+
+comment "libelementary needs a toolchain w/ threads, dynamic library"
+	depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS
package/efl/libelementary/libelementary.hash new file +2 -0
new file mode 100644
index 0000000..2cd36d8
@@ -0,0 +1,2 @@
+# From https://download.enlightenment.org/rel/libs/elementary/elementary-1.15.2.tar.xz.sha256
+sha256	523c3073210b611817d0f56aa8348962ec757282f9f7dfde93825afa164a0f3f	elementary-1.15.2.tar.xz
package/efl/libelementary/libelementary.mk +20 -15
index 8bd69fe..4ba8681 100644
@@ -4,29 +4,34 @@
 #
 ################################################################################
 
-LIBELEMENTARY_VERSION = 1.7.10
-LIBELEMENTARY_SOURCE = elementary-$(LIBELEMENTARY_VERSION).tar.bz2
-LIBELEMENTARY_SITE = http://download.enlightenment.org/releases
+LIBELEMENTARY_VERSION = 1.15.2
+LIBELEMENTARY_SOURCE = elementary-$(LIBELEMENTARY_VERSION).tar.xz
+LIBELEMENTARY_SITE = http://download.enlightenment.org/rel/libs/elementary
 LIBELEMENTARY_LICENSE = LGPLv2.1
 LIBELEMENTARY_LICENSE_FILES = COPYING
 
 LIBELEMENTARY_INSTALL_STAGING = YES
 
-LIBELEMENTARY_DEPENDENCIES = \
-	libeina libevas libecore libedje host-libedje \
-	host-libeet
+LIBELEMENTARY_DEPENDENCIES = host-pkgconf host-libefl host-libelementary libefl
 
 LIBELEMENTARY_CONF_OPTS = \
 	--with-edje-cc=$(HOST_DIR)/usr/bin/edje_cc \
-	--with-eet-eet=$(HOST_DIR)/usr/bin/eet
+	--with-eet-eet=$(HOST_DIR)/usr/bin/eet \
+	--with-eolian-gen=$(HOST_DIR)/usr/bin/eolian_gen \
+	--with-eldbus_codegen=$(HOST_DIR)/usr/bin/eldbus-codegen \
+	--with-elm-prefs-cc=$(HOST_DIR)/usr/bin/elm_prefs_cc \
+	--with-doxygen=no \
+	--disable-elementary-test
 
-# libethumb_client is only built when ethumbd is built.
-# ethumbd is only built if edbus is built.
-ifeq ($(BR2_PACKAGE_LIBETHUMB)$(BR2_PACKAGE_LIBEDBUS),yy)
-LIBELEMENTARY_DEPENDENCIES += libethumb
-LIBELEMENTARY_CONF_OPTS += --enable-ethumb
-else
-LIBELEMENTARY_CONF_OPTS += --disable-ethumb
-endif
+# We need a host package in order to provide elm_prefs_cc and
+# elementary_codegen.
+HOST_LIBELEMENTARY_DEPENDENCIES = host-pkgconf host-libefl
+HOST_LIBELEMENTARY_CONF_OPTS = \
+	--with-edje-cc=$(HOST_DIR)/usr/bin/edje_cc \
+	--with-eet-eet=$(HOST_DIR)/usr/bin/eet \
+	--with-eolian-gen=$(HOST_DIR)/usr/bin/eolian_gen \
+	--with-doxygen=no \
+	--disable-elementary-test
 
 $(eval $(autotools-package))
+$(eval $(host-autotools-package))
Signature · 1 line
2.4.3
#19 lore raw

PATCH v10 13/28 package/efl: libefl and libelementary share the same version number

In reply to Romain Naour

---
v6: Even if we are not sure if libefl and libelementary will always
be released in tandem, keep it in sync since there is no reason to use a different version.

---
 package/efl/efl.mk                         | 2 ++
 package/efl/libefl/libefl.mk               | 3 +--
 package/efl/libelementary/libelementary.mk | 2 +-
 3 files changed, 4 insertions(+), 3 deletions(-)
package/efl/efl.mk +2 -0
index 99e4d14..151ac28 100644
@@ -1,2 +1,4 @@
 
+EFL_VERSION = 1.15.2
+
 include $(sort $(wildcard package/efl/*/*.mk))
package/efl/libefl/libefl.mk +1 -2
index 5e8009e..c60a507 100644
@@ -4,8 +4,7 @@
 #
 ################################################################################
 
-# hardcode the version here since the bump to 1.15 is not complete in Buildroot
-LIBEFL_VERSION = 1.15.2
+LIBEFL_VERSION = $(EFL_VERSION)
 LIBEFL_SOURCE = efl-$(LIBEFL_VERSION).tar.xz
 LIBEFL_SITE = http://download.enlightenment.org/rel/libs/efl
 LIBEFL_LICENSE = BSD-2c, LGPLv2.1+, GPLv2+
package/efl/libelementary/libelementary.mk +1 -1
index 4ba8681..c920801 100644
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-LIBELEMENTARY_VERSION = 1.15.2
+LIBELEMENTARY_VERSION = $(EFL_VERSION)
 LIBELEMENTARY_SOURCE = elementary-$(LIBELEMENTARY_VERSION).tar.xz
 LIBELEMENTARY_SITE = http://download.enlightenment.org/rel/libs/elementary
 LIBELEMENTARY_LICENSE = LGPLv2.1
Signature · 1 line
2.4.3
#20 lore raw

PATCH v10 14/28 package/enlightenment: bump to version 0.19.12

In reply to Romain Naour

Use the newly added libefl package wich provide a new version of efl libraries.
This new version needs libelementary dependency.

Update upstream url, add hash file and use xz archive.

Select png and jpeg image loader since enlightenment_start fail at runtime if png and jpeg image loader are not available in elf libraries.

---
v6: disable systemd and linux-pam explicitely since it's auto
detected. (A patch adding their support can be added latter)
v5: Use depends on BR2_PACKAGE_EFL instead of select (ThomasP)
remove comment on dependencies
v4: update Config.in to use libefl
improve commit log
keep the dependency on threads
v3: bymp to 0.19.12
remove trailing slash (Vicente Bergas)
v2: bump to 0.19.9
remove glibc only dependency

---
 package/enlightenment/Config.in          | 23 +++++++----------------
 package/enlightenment/enlightenment.hash |  2 ++
 package/enlightenment/enlightenment.mk   | 26 +++++++++++---------------
 3 files changed, 20 insertions(+), 31 deletions(-)
 create mode 100644 package/enlightenment/enlightenment.hash
package/enlightenment/Config.in +7 -16
index 9dad571..7f0d583 100644
@@ -8,26 +8,17 @@ config BR2_PACKAGE_ENLIGHTENMENT
 	depends on BR2_TOOLCHAIN_HAS_THREADS
 	# libedbus -> dbus, efl libraries
 	depends on BR2_USE_MMU
+	depends on BR2_PACKAGE_EFL
 	depends on BR2_PACKAGE_XORG7
 	# libevas-generic-loaders-svg -> librsvg -> pango -> cairo
 	depends on BR2_ARCH_HAS_ATOMICS
-	select BR2_PACKAGE_EFL
-	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_LIBEFL_X_XLIB
+	select BR2_PACKAGE_LIBEFL_JPEG # needed at runtime by enlightenment_start
+	select BR2_PACKAGE_LIBEFL_PNG # needed at runtime by enlightenment_start
+	select BR2_PACKAGE_LIBELEMENTARY
 	select BR2_PACKAGE_LIBEVAS_GENERIC_LOADERS
 	select BR2_PACKAGE_LIBEVAS_GENERIC_LOADERS_SVG
+	select BR2_PACKAGE_XCB_UTIL_KEYSYMS
 	help
 	  Enlightenment, also known simply as E, is a stacking window
 	  manager for the X Window System which can be used alone or
@@ -38,6 +29,6 @@ config BR2_PACKAGE_ENLIGHTENMENT
 	  http://www.enlightenment.org/
 
 comment "enlightenment needs a toolchain w/ wchar, C++, threads"
-	depends on BR2_PACKAGE_XORG7 && BR2_USE_MMU
+	depends on BR2_PACKAGE_EFL && BR2_PACKAGE_XORG7 && BR2_USE_MMU
 	depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || !BR2_INSTALL_LIBSTDCPP
 	depends on BR2_ARCH_HAS_ATOMICS
package/enlightenment/enlightenment.hash new file +2 -0
new file mode 100644
index 0000000..c9b1284
@@ -0,0 +1,2 @@
+# From https://phab.enlightenment.org/phame/live/3/post/e19_12_release/
+sha256	55f23c337e3092e735ae37ada8f6701adab5ddd13f37ef38c63eec8a536f0b25	enlightenment-0.19.12.tar.xz
package/enlightenment/enlightenment.mk +11 -15
index ddebe06..f2e0bc3 100644
@@ -4,30 +4,26 @@
 #
 ################################################################################
 
-ENLIGHTENMENT_VERSION = 0.17.6
-ENLIGHTENMENT_SITE = http://download.enlightenment.org/releases
+ENLIGHTENMENT_VERSION = 0.19.12
+ENLIGHTENMENT_SOURCE = enlightenment-$(ENLIGHTENMENT_VERSION).tar.xz
+ENLIGHTENMENT_SITE = http://download.enlightenment.org/rel/apps/enlightenment
 ENLIGHTENMENT_LICENSE = BSD-2c
 ENLIGHTENMENT_LICENSE_FILES = COPYING
 
-ENLIGHTENMENT_DEPENDENCIES = 	\
-	host-pkgconf 		\
-	libecore 		\
-	libeet 			\
-	libeina 		\
-	libevas 		\
+ENLIGHTENMENT_DEPENDENCIES = \
+	host-pkgconf \
+	host-libefl \
+	libefl \
+	libelementary \
 	libevas-generic-loaders \
-	libedje 		\
-	libefreet 		\
-	libedbus 		\
-	libeio 			\
-	host-libedje 		\
-	host-libeet		\
 	xcb-util-keysyms
 
 ENLIGHTENMENT_CONF_OPTS = \
 	--with-edje-cc=$(HOST_DIR)/usr/bin/edje_cc \
 	--with-eet-eet=$(HOST_DIR)/usr/bin/eet \
-	--disable-rpath
+	--disable-pam \
+	--disable-rpath \
+	--disable-systemd
 
 # uClibc has an old incomplete sys/ptrace.h for powerpc & sparc
 ifeq ($(BR2_TOOLCHAIN_USES_UCLIBC)$(BR2_powerpc)$(BR2_sparc),yy)
Signature · 1 line
2.4.3
#21 lore raw

PATCH v10 15/28 package/expedite: bump to efl-1.15 branch

In reply to Romain Naour

Since expedite hasn't been released since 1.7.10 release, use efl-1.15 branch in the git tree.

Use the newly added libefl package wich provide a new version of efl libraries.

Autoreconf the package since there is no configure script in the git tree.

---
v11: remove the hash file added by 74641b
s/BR2_PACKAGE_LIBEFL_X/BR2_PACKAGE_LIBEFL_X_XLIB/
v6: Add host-pkgconfig dependency (Yann E.Morin)
v5: Use depends on BR2_PACKAGE_EFL instead of select (ThomasP)
remove comments on dependencies
v4: update Config.in to use libefl
improve commit log
keep the dependency on threads
Replace the old BR2_PACKAGE_LIBEVAS_X11 by BR2_PACKAGE_LIBEFL_X
v2: bump to 1.15 branch

---
 package/expedite/Config.in     |  8 ++------
 package/expedite/expedite.hash |  2 --
 package/expedite/expedite.mk   | 14 +++++++++-----
 3 files changed, 11 insertions(+), 13 deletions(-)
 delete mode 100644 package/expedite/expedite.hash
package/expedite/Config.in +2 -6
index e60510b..0bcf343 100644
@@ -2,15 +2,11 @@ config BR2_PACKAGE_EXPEDITE
 	bool "expedite"
 	depends on BR2_PACKAGE_EFL
 	depends on BR2_INSTALL_LIBSTDCPP
-	depends on BR2_TOOLCHAIN_HAS_THREADS # libevas
-	select BR2_PACKAGE_LIBEET
-	select BR2_PACKAGE_LIBEINA
-	select BR2_PACKAGE_LIBEVAS
 	help
 	  Expedite is the official Evas benchmark tool. It can test different
 	  engines, such as X11, XRender, OpenGL (also ES variant), SDL,
 	  DirectFB and so on. Its tests are quite extensive, trying to
 	  reproduce real world usage cases.
 
-comment "expedite needs a toolchain w/ C++, threads"
-	depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS
+comment "expedite needs a toolchain w/ C++"
+	depends on !BR2_INSTALL_LIBSTDCPP
package/expedite/expedite.hash deleted +0 -2
deleted file mode 100644
index cde3689..0000000
@@ -1,2 +0,0 @@
-# Locally calculated
-sha256 91d0290ba3635a4440c389647643beaa8e39def2789d685d54a58a723398cc10  expedite-1.7.10.tar.bz2
package/expedite/expedite.mk +9 -5
index 27b4c44..4a4e2ee 100644
@@ -4,15 +4,19 @@
 #
 ################################################################################
 
-EXPEDITE_VERSION = 1.7.10
-EXPEDITE_SOURCE = expedite-$(EXPEDITE_VERSION).tar.bz2
-EXPEDITE_SITE = http://download.enlightenment.org/releases
+# efl-1.15 branch
+EXPEDITE_VERSION = 3ce8b3f1451700f9a2da60c2e717c644220e2449
+EXPEDITE_SITE = http://git.enlightenment.org/tools/expedite.git
+EXPEDITE_SITE_METHOD = git
 EXPEDITE_LICENSE = BSD-2c
 EXPEDITE_LICENSE_FILES = COPYING
 
-EXPEDITE_DEPENDENCIES = libevas libeina libeet
+EXPEDITE_DEPENDENCIES = host-libefl host-pkgconf libefl
 
-ifeq ($(BR2_PACKAGE_LIBEVAS_X11),y)
+# There is no configure script in the git tree.
+EXPEDITE_AUTORECONF = YES
+
+ifeq ($(BR2_PACKAGE_LIBEFL_X_XLIB),y)
 EXPEDITE_CONF_OPTS += --with-x=$(STAGING_DIR) \
 	--x-includes=$(STAGING_DIR)/usr/include \
 	--x-libraries=$(STAGING_DIR)/usr/lib
Signature · 1 line
2.4.3
#22 lore raw

PATCH v10 16/28 package/dbus-cpp: switch to libefl

In reply to Romain Naour

The libecore package will be removed in a followup patch, so switch to libefl package which contain an updated version of libecore.

---
v6: new patch

---
 package/dbus-cpp/dbus-cpp.mk | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
package/dbus-cpp/dbus-cpp.mk +2 -2
index 37d12e7..9236ba7 100644
@@ -26,9 +26,9 @@ DBUS_CPP_AUTORECONF = YES
 DBUS_CPP_LICENSE = LGPLv2.1+
 DBUS_CPP_LICENSE_FILES = COPYING
 
-ifeq ($(BR2_PACKAGE_LIBECORE),y)
+ifeq ($(BR2_PACKAGE_EFL),y)
 DBUS_CPP_CONF_OPTS += --enable-ecore
-DBUS_CPP_DEPENDENCIES += libecore
+DBUS_CPP_DEPENDENCIES += libefl
 else
 DBUS_CPP_CONF_OPTS += --disable-ecore
 endif
Signature · 1 line
2.4.3
#23 lore raw

PATCH v10 17/28 package/efl/libethumb: remove package

In reply to Romain Naour

Libethumb is now available in efl package.

---
v8: remove the patch added by Peter in a36d751 (Yann E.Morin)
v6: Improve lecacy help text (Yann E.Morin)
v4: remove libethumb from package/efl/
v3: update legacy option for 2015.11
update help text

---
 Config.in.legacy                                   |  7 ++++++
 package/efl/Config.in                              |  1 -
 .../0001-ethumb-drop-unused-dlfcn.h-include.patch  | 28 ----------------------
 package/efl/libethumb/Config.in                    | 15 ------------
 package/efl/libethumb/libethumb.mk                 | 27 ---------------------
 5 files changed, 7 insertions(+), 71 deletions(-)
 delete mode 100644 package/efl/libethumb/0001-ethumb-drop-unused-dlfcn.h-include.patch
 delete mode 100644 package/efl/libethumb/Config.in
 delete mode 100644 package/efl/libethumb/libethumb.mk
Config.in.legacy +7 -0
index 2bbf2ed..92dc3ac 100644
@@ -107,6 +107,13 @@ endif
 ###############################################################################
 comment "Legacy options removed in 2016.02"
 
+config BR2_PACKAGE_LIBETHUMB
+	bool "libethumb package has been removed"
+	select BR2_LEGACY
+	select BR2_PACKAGE_EFL
+	help
+	  With EFL 1.15, libethumb is now provided by the libefl package.
+
 config BR2_PACKAGE_INFOZIP
 	bool "infozip option has been renamed to zip"
 	select BR2_LEGACY
package/efl/Config.in +0 -1
index 3a5e708..bc70952 100644
@@ -24,7 +24,6 @@ source "package/efl/libeio/Config.in"
 source "package/efl/libevas/Config.in"
 source "package/efl/libembryo/Config.in"
 source "package/efl/libedje/Config.in"
-source "package/efl/libethumb/Config.in"
 source "package/efl/libelementary/Config.in"
 source "package/efl/libedbus/Config.in"
 
package/efl/libethumb/0001-ethumb-drop-unused-dlfcn.h-include.patch deleted +0 -28
deleted file mode 100644
index 834b0a8..0000000
@@ -1,28 +0,0 @@
-From f7eeddc88ce67c248ebb1e6b8a3cb74d61de42b4 Mon Sep 17 00:00:00 2001
-From: Peter Korsgaard <[email protected]>
-Date: Thu, 26 Nov 2015 22:07:24 +0100
-Subject: [PATCH] ethumb: drop unused dlfcn.h include
-
-ethumb includes dlfcn.h even though it isn't used, breaking builds with
-purely static toolchains.
-
-Signed-off-by: Peter Korsgaard <[email protected]>
----
- src/lib/ethumb.c | 1 -
- 1 file changed, 1 deletion(-)
-
-diff --git a/src/lib/ethumb.c b/src/lib/ethumb.c
-index d1453a0..48c6a2d 100644
---- a/src/lib/ethumb.c
-+++ b/src/lib/ethumb.c
-@@ -58,7 +58,6 @@ void *alloca (size_t);
- #include <sys/types.h>
- #include <sys/stat.h>
- #include <dirent.h>
--#include <dlfcn.h>
- #include <ctype.h>
- 
- #ifdef HAVE_XATTR
--- 
-2.1.4
-
package/efl/libethumb/Config.in deleted +0 -15
deleted file mode 100644
index 3e9cbde..0000000
@@ -1,15 +0,0 @@
-comment "libethumb needs a toolchain w/ threads"
-	depends on !BR2_TOOLCHAIN_HAS_THREADS
-
-config BR2_PACKAGE_LIBETHUMB
-	bool "libethumb"
-	select BR2_PACKAGE_LIBEINA
-	select BR2_PACKAGE_LIBEVAS
-	select BR2_PACKAGE_LIBECORE
-	select BR2_PACKAGE_LIBECORE_EVAS
-	select BR2_PACKAGE_LIBEDJE
-	depends on BR2_TOOLCHAIN_HAS_THREADS # libevas
-	help
-	  Ethumb is a library for generating thumbnail images of documents.
-
-	  http://trac.enlightenment.org/e/wiki/Ethumb
package/efl/libethumb/libethumb.mk deleted +0 -27
deleted file mode 100644
index 314ddf9..0000000
@@ -1,27 +0,0 @@
-################################################################################
-#
-# libethumb
-#
-################################################################################
-
-LIBETHUMB_VERSION = 1.7.10
-LIBETHUMB_SOURCE = ethumb-$(LIBETHUMB_VERSION).tar.bz2
-LIBETHUMB_SITE = http://download.enlightenment.org/releases
-LIBETHUMB_LICENSE = LGPLv2.1+
-LIBETHUMB_LICENSE_FILES = COPYING
-
-LIBETHUMB_INSTALL_STAGING = YES
-
-LIBETHUMB_DEPENDENCIES = libeina libevas libecore libedje host-libedje
-
-LIBETHUMB_CONF_OPTS = --with-edje-cc=$(HOST_DIR)/usr/bin/edje_cc
-
-ifeq ($(BR2_PACKAGE_LIBEXIF),y)
-LIBETHUMB_DEPENDENCIES += libexif
-endif
-
-ifeq ($(BR2_PACKAGE_LIBEDBUS),y)
-LIBETHUMB_DEPENDENCIES += libedbus
-endif
-
-$(eval $(autotools-package))
Signature · 1 line
2.4.3
#24 lore raw

PATCH v10 18/28 package/efl/libedje: remove package

In reply to Romain Naour

Libedje is now available in efl package.

---
v6: Improve lecacy help text (Yann E.Morin)
v5: remove libedje directory
v4: update Config.in to use libefl
v3: update legacy option for 2015.11
update help text

---
 Config.in.legacy               |  7 +++++++
 package/efl/Config.in          |  1 -
 package/efl/libedje/Config.in  | 28 ----------------------------
 package/efl/libedje/libedje.mk | 28 ----------------------------
 4 files changed, 7 insertions(+), 57 deletions(-)
 delete mode 100644 package/efl/libedje/Config.in
 delete mode 100644 package/efl/libedje/libedje.mk
Config.in.legacy +7 -0
index 92dc3ac..da7e690 100644
@@ -107,6 +107,13 @@ endif
 ###############################################################################
 comment "Legacy options removed in 2016.02"
 
+config BR2_PACKAGE_LIBEDJE
+	bool "libedje package has been removed"
+	select BR2_LEGACY
+	select BR2_PACKAGE_EFL
+	help
+	  With EFL 1.15, libedje is now provided by the libefl package.
+
 config BR2_PACKAGE_LIBETHUMB
 	bool "libethumb package has been removed"
 	select BR2_LEGACY
package/efl/Config.in +0 -1
index bc70952..489aa18 100644
@@ -23,7 +23,6 @@ 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"
 source "package/efl/libelementary/Config.in"
 source "package/efl/libedbus/Config.in"
 
package/efl/libedje/Config.in deleted +0 -28
deleted file mode 100644
index b163508..0000000
@@ -1,28 +0,0 @@
-comment "libedje needs a toolchain w/ threads"
-	depends on !BR2_TOOLCHAIN_HAS_THREADS
-
-config BR2_PACKAGE_LIBEDJE
-	bool "libedje"
-	select BR2_PACKAGE_LIBEINA
-	select BR2_PACKAGE_LIBEET
-	select BR2_PACKAGE_LIBECORE
-	select BR2_PACKAGE_LIBECORE_EVAS
-	select BR2_PACKAGE_LIBEMBRYO
-	select BR2_PACKAGE_LIBEVAS
-	select BR2_PACKAGE_LUA
-	depends on BR2_TOOLCHAIN_HAS_THREADS # libevas
-	help
-	  A graphical layout and animation library for animated
-	  resizable, compressed and scalable themes.
-
-	  http://trac.enlightenment.org/e/wiki/Edje
-
-if BR2_PACKAGE_LIBEDJE
-
-config BR2_PACKAGE_LIBEDJE_CC
-	bool "build edje_cc"
-	help
-	  Build and install the Edje compiler for the target. Normally this
-	  is not required.
-
-endif
package/efl/libedje/libedje.mk deleted +0 -28
deleted file mode 100644
index 59189e4..0000000
@@ -1,28 +0,0 @@
-################################################################################
-#
-# libedje
-#
-################################################################################
-
-LIBEDJE_VERSION = 1.7.10
-LIBEDJE_SOURCE = edje-$(LIBEDJE_VERSION).tar.bz2
-LIBEDJE_SITE = http://download.enlightenment.org/releases
-LIBEDJE_LICENSE = GPLv2+ (epp binary), BSD-2c (everything else)
-LIBEDJE_LICENSE_FILES = COPYING
-
-LIBEDJE_INSTALL_STAGING = YES
-
-LIBEDJE_DEPENDENCIES = \
-	host-pkgconf lua libeina libeet libecore libevas \
-	libembryo
-
-ifeq ($(BR2_PACKAGE_LIBEDJE_CC),y)
-LIBEDJE_CONF_OPTS += --enable-edje-cc
-else
-LIBEDJE_CONF_OPTS += --disable-edje-cc
-endif
-
-HOST_LIBEDJE_CONF_OPTS = --enable-edje-cc
-
-$(eval $(autotools-package))
-$(eval $(host-autotools-package))
Signature · 1 line
2.4.3
#25 lore raw

PATCH v10 19/28 package/efl/libembryo: remove package

In reply to Romain Naour

Libembryo is now available in efl package.

---
v6: Improve lecacy help text (Yann E.Morin)
v5: remove libembryo directory
v4: update Config.in to use libefl
v3: update legacy option for 2015.11
update help text

---
 Config.in.legacy                   |  7 +++++++
 package/efl/Config.in              |  1 -
 package/efl/libembryo/Config.in    |  9 ---------
 package/efl/libembryo/libembryo.mk | 18 ------------------
 4 files changed, 7 insertions(+), 28 deletions(-)
 delete mode 100644 package/efl/libembryo/Config.in
 delete mode 100644 package/efl/libembryo/libembryo.mk
Config.in.legacy +7 -0
index da7e690..c161687 100644
@@ -107,6 +107,13 @@ endif
 ###############################################################################
 comment "Legacy options removed in 2016.02"
 
+config BR2_PACKAGE_LIBEMBRYO
+	bool "libembryo package has been removed"
+	select BR2_LEGACY
+	select BR2_PACKAGE_EFL
+	help
+	  With EFL 1.15, libembryo is now provided by the libefl package.
+
 config BR2_PACKAGE_LIBEDJE
 	bool "libedje package has been removed"
 	select BR2_LEGACY
package/efl/Config.in +0 -1
index 489aa18..5947de2 100644
@@ -22,7 +22,6 @@ source "package/efl/libefl/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/libelementary/Config.in"
 source "package/efl/libedbus/Config.in"
 
package/efl/libembryo/Config.in deleted +0 -9
deleted file mode 100644
index 63c7064..0000000
@@ -1,9 +0,0 @@
-config BR2_PACKAGE_LIBEMBRYO
-	bool "libembryo"
-	select BR2_PACKAGE_LIBEINA
-	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.
-
-	  http://trac.enlightenment.org/e/wiki/Embryo
package/efl/libembryo/libembryo.mk deleted +0 -18
deleted file mode 100644
index fc45e42..0000000
@@ -1,18 +0,0 @@
-################################################################################
-#
-# libembryo
-#
-################################################################################
-
-LIBEMBRYO_VERSION = 1.7.10
-LIBEMBRYO_SOURCE = embryo-$(LIBEMBRYO_VERSION).tar.bz2
-LIBEMBRYO_SITE = http://download.enlightenment.org/releases
-LIBEMBRYO_LICENSE = BSD-2c, Embryo license
-LIBEMBRYO_LICENSE_FILES = COPYING
-
-LIBEMBRYO_INSTALL_STAGING = YES
-
-LIBEMBRYO_DEPENDENCIES = host-pkgconf libeina
-
-$(eval $(autotools-package))
-$(eval $(host-autotools-package))
Signature · 1 line
2.4.3
#26 lore raw

PATCH v10 20/28 package/efl/libeio: remove package

In reply to Romain Naour

Libeio is now available in efl package.

---
v6: Improve lecacy help text (Yann E.Morin)
v5: remove libeio directory
v4: update Config.in to use libefl
v3: update legacy option for 2015.11
update help text

---
 Config.in.legacy             |  7 +++++++
 package/efl/Config.in        |  1 -
 package/efl/libeio/Config.in | 22 ----------------------
 package/efl/libeio/libeio.mk | 16 ----------------
 4 files changed, 7 insertions(+), 39 deletions(-)
 delete mode 100644 package/efl/libeio/Config.in
 delete mode 100644 package/efl/libeio/libeio.mk
Config.in.legacy +7 -0
index c161687..4a99c7b 100644
@@ -107,6 +107,13 @@ endif
 ###############################################################################
 comment "Legacy options removed in 2016.02"
 
+config BR2_PACKAGE_LIBEIO
+	bool "libeio package has been removed"
+	select BR2_LEGACY
+	select BR2_PACKAGE_EFL
+	help
+	  With EFL 1.15, libeio is now provided by the libefl package.
+
 config BR2_PACKAGE_LIBEMBRYO
 	bool "libembryo package has been removed"
 	select BR2_LEGACY
package/efl/Config.in +0 -1
index 5947de2..58e8f65 100644
@@ -20,7 +20,6 @@ source "package/efl/libecore/Config.in"
 source "package/efl/libeet/Config.in"
 source "package/efl/libefl/Config.in"
 source "package/efl/libefreet/Config.in"
-source "package/efl/libeio/Config.in"
 source "package/efl/libevas/Config.in"
 source "package/efl/libelementary/Config.in"
 source "package/efl/libedbus/Config.in"
package/efl/libeio/Config.in deleted +0 -22
deleted file mode 100644
index 5b1e395..0000000
@@ -1,22 +0,0 @@
-config BR2_PACKAGE_LIBEIO
-	bool "libeio"
-	select BR2_PACKAGE_LIBEET
-	select BR2_PACKAGE_LIBEINA
-	select BR2_PACKAGE_LIBECORE
-	depends on BR2_TOOLCHAIN_HAS_THREADS
-	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
-
-comment "libeio needs a toolchain w/ threads"
-	depends on !BR2_TOOLCHAIN_HAS_THREADS
package/efl/libeio/libeio.mk deleted +0 -16
deleted file mode 100644
index e687c32..0000000
@@ -1,16 +0,0 @@
-################################################################################
-#
-# libeio
-#
-################################################################################
-
-LIBEIO_VERSION = 1.7.10
-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
2.4.3
#27 lore raw

PATCH v10 21/28 package/efl/libefreet: remove package

In reply to Romain Naour

Libefreet is now available in efl package.

---
v6: Improve lecacy help text (Yann E.Morin)
v5: remove libefreet directory
v4: update Config.in to use libefl
v3: update legacy option for 2015.11
update help text

---
 Config.in.legacy                   |  7 +++++++
 package/efl/Config.in              |  1 -
 package/efl/libefreet/Config.in    | 10 ----------
 package/efl/libefreet/libefreet.mk | 17 -----------------
 4 files changed, 7 insertions(+), 28 deletions(-)
 delete mode 100644 package/efl/libefreet/Config.in
 delete mode 100644 package/efl/libefreet/libefreet.mk
Config.in.legacy +7 -0
index 4a99c7b..c6dd9e3 100644
@@ -107,6 +107,13 @@ endif
 ###############################################################################
 comment "Legacy options removed in 2016.02"
 
+config BR2_PACKAGE_LIBEFREET
+	bool "libefreet package has been removed"
+	select BR2_LEGACY
+	select BR2_PACKAGE_EFL
+	help
+	  With EFL 1.15, libefreet is now provided by the libefl package.
+
 config BR2_PACKAGE_LIBEIO
 	bool "libeio package has been removed"
 	select BR2_LEGACY
package/efl/Config.in +0 -1
index 58e8f65..682164d 100644
@@ -19,7 +19,6 @@ source "package/efl/libeina/Config.in"
 source "package/efl/libecore/Config.in"
 source "package/efl/libeet/Config.in"
 source "package/efl/libefl/Config.in"
-source "package/efl/libefreet/Config.in"
 source "package/efl/libevas/Config.in"
 source "package/efl/libelementary/Config.in"
 source "package/efl/libedbus/Config.in"
package/efl/libefreet/Config.in deleted +0 -10
deleted file mode 100644
index 8687db4..0000000
@@ -1,10 +0,0 @@
-config BR2_PACKAGE_LIBEFREET
-	bool "libefreet"
-	select BR2_PACKAGE_LIBEINA
-	select BR2_PACKAGE_LIBEET
-	select BR2_PACKAGE_LIBECORE
-	help
-	  Efreet is a library designed to help apps work with several of the
-	  Freedesktop.org standards regarding Icons, Desktop files and Menus.
-
-	  http://trac.enlightenment.org/e/wiki/Efreet
package/efl/libefreet/libefreet.mk deleted +0 -17
deleted file mode 100644
index 65dbd12..0000000
@@ -1,17 +0,0 @@
-################################################################################
-#
-# libefreet
-#
-################################################################################
-
-LIBEFREET_VERSION = 1.7.10
-LIBEFREET_SOURCE = efreet-$(LIBEFREET_VERSION).tar.bz2
-LIBEFREET_SITE = http://download.enlightenment.org/releases
-LIBEFREET_LICENSE = BSD-2c
-LIBEFREET_LICENSE_FILES = COPYING
-
-LIBEFREET_INSTALL_STAGING = YES
-
-LIBEFREET_DEPENDENCIES = libeina libeet libecore
-
-$(eval $(autotools-package))
Signature · 1 line
2.4.3
#28 lore raw

PATCH v10 22/28 package/efl/libedbus: remove package

In reply to Romain Naour

Libedbus is now available in efl package.

---
v6: Improve lecacy help text (Yann E.Morin)
v5: remove libedbus directory
v3: update legacy option for 2015.11
update help text

---
 Config.in.legacy                 |  7 +++++++
 package/efl/Config.in            |  1 -
 package/efl/libedbus/Config.in   | 44 ----------------------------------------
 package/efl/libedbus/libedbus.mk | 37 ---------------------------------
 4 files changed, 7 insertions(+), 82 deletions(-)
 delete mode 100644 package/efl/libedbus/Config.in
 delete mode 100644 package/efl/libedbus/libedbus.mk
Config.in.legacy +7 -0
index c6dd9e3..f44a1af 100644
@@ -107,6 +107,13 @@ endif
 ###############################################################################
 comment "Legacy options removed in 2016.02"
 
+config BR2_PACKAGE_LIBEDBUS
+	bool "libedbus package has been removed"
+	select BR2_LEGACY
+	select BR2_PACKAGE_EFL
+	help
+	  With EFL 1.15, libedbus is now provided by the libefl package.
+
 config BR2_PACKAGE_LIBEFREET
 	bool "libefreet package has been removed"
 	select BR2_LEGACY
package/efl/Config.in +0 -1
index 682164d..98ca114 100644
@@ -21,7 +21,6 @@ source "package/efl/libeet/Config.in"
 source "package/efl/libefl/Config.in"
 source "package/efl/libevas/Config.in"
 source "package/efl/libelementary/Config.in"
-source "package/efl/libedbus/Config.in"
 
 endif # BR2_PACKAGE_EFL
 
package/efl/libedbus/Config.in deleted +0 -44

44 lines not on this page · raw message

package/efl/libedbus/libedbus.mk deleted +0 -37
deleted file mode 100644
index 634ceaf..0000000
@@ -1,37 +0,0 @@
-################################################################################
-#
-# libedbus
-#
-################################################################################
-
-LIBEDBUS_VERSION = 1.7.10
-LIBEDBUS_SOURCE = e_dbus-$(LIBEDBUS_VERSION).tar.bz2
-LIBEDBUS_SITE = http://download.enlightenment.org/releases
-LIBEDBUS_LICENSE = BSD-2c
-LIBEDBUS_LICENSE_FILES = COPYING
-
-LIBEDBUS_INSTALL_STAGING = YES
-
-LIBEDBUS_DEPENDENCIES = host-pkgconf dbus libeina libecore
-
-ifeq ($(BR2_PACKAGE_LIBEDBUS_BLUEZ),y)
-LIBEDBUS_CONF_OPTS += --enable-ebluez
-LIBEDBUS_DEPENDENCIES += bluez_utils
-else
-LIBEDBUS_CONF_OPTS += --disable-ebluez
-endif
-
-ifeq ($(BR2_PACKAGE_LIBEDBUS_CONNMAN),y)
-LIBEDBUS_CONF_OPTS += --enable-econnman0_7x
-LIBEDBUS_DEPENDENCIES += connman
-else
-LIBEDBUS_CONF_OPTS += --disable-econnman0_7x
-endif
-
-ifeq ($(BR2_PACKAGE_LIBEDBUS_NOTIFY),y)
-LIBEDBUS_CONF_OPTS += --enable-enotify --disable-edbus-notify-test
-else
-LIBEDBUS_CONF_OPTS += --disable-enotify
-endif
-
-$(eval $(autotools-package))
Signature · 1 line
2.4.3
#29 lore raw

PATCH v10 23/28 package/efl/libecore: remove package

In reply to Romain Naour

Libecore is now available in efl package.

---
v6: Improve lecacy help text (Yann E.Morin)
v5: remove libecore directory
v4: update Config.in to use libefl
v3: update legacy option for 2015.11
update help text

---
 Config.in.legacy                 |   7 +++
 package/efl/Config.in            |   1 -
 package/efl/libecore/Config.in   |  46 ----------------
 package/efl/libecore/libecore.mk | 114 ---------------------------------------
 4 files changed, 7 insertions(+), 161 deletions(-)
 delete mode 100644 package/efl/libecore/Config.in
 delete mode 100644 package/efl/libecore/libecore.mk
Config.in.legacy +7 -0
index f44a1af..7a9095c 100644
@@ -107,6 +107,13 @@ endif
 ###############################################################################
 comment "Legacy options removed in 2016.02"
 
+config BR2_PACKAGE_LIBECORE
+	bool "libecore package has been removed"
+	select BR2_LEGACY
+	select BR2_PACKAGE_EFL
+	help
+	  With EFL 1.15, libecore is now provided by the libefl package.
+
 config BR2_PACKAGE_LIBEDBUS
 	bool "libedbus package has been removed"
 	select BR2_LEGACY
package/efl/Config.in +0 -1
index 98ca114..df7c446 100644
@@ -16,7 +16,6 @@ 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/libefl/Config.in"
 source "package/efl/libevas/Config.in"
package/efl/libecore/Config.in deleted +0 -46

46 lines not on this page · raw message

package/efl/libecore/libecore.mk deleted +0 -114

114 lines not on this page · raw message

Signature · 1 line
2.4.3
#30 lore raw

PATCH v10 24/28 package/efl/libevas: remove package

In reply to Romain Naour

Libevas is now available in efl package.

---
v6: Improve lecacy help text (Yann E.Morin)
v5: remove libevas directory
v4: update Config.in to use libefl
v3: update legacy option for 2015.11
update help text

---
 Config.in.legacy                      |   7 +
 package/efl/Config.in                 |   1 -
 package/efl/libevas/0001-giflib.patch |  98 --------------
 package/efl/libevas/Config.in         | 211 -----------------------------
 package/efl/libevas/libevas.mk        | 247 ----------------------------------
 5 files changed, 7 insertions(+), 557 deletions(-)
 delete mode 100644 package/efl/libevas/0001-giflib.patch
 delete mode 100644 package/efl/libevas/Config.in
 delete mode 100644 package/efl/libevas/libevas.mk
Config.in.legacy +7 -0
index 7a9095c..2ee2f42 100644
@@ -107,6 +107,13 @@ endif
 ###############################################################################
 comment "Legacy options removed in 2016.02"
 
+config BR2_PACKAGE_LIBEVAS
+	bool "libevas package has been removed"
+	select BR2_LEGACY
+	select BR2_PACKAGE_EFL
+	help
+	  With EFL 1.15, libevas is now provided by the libefl package.
+
 config BR2_PACKAGE_LIBECORE
 	bool "libecore package has been removed"
 	select BR2_LEGACY
package/efl/Config.in +0 -1
index df7c446..48ea706 100644
@@ -18,7 +18,6 @@ if BR2_PACKAGE_EFL
 source "package/efl/libeina/Config.in"
 source "package/efl/libeet/Config.in"
 source "package/efl/libefl/Config.in"
-source "package/efl/libevas/Config.in"
 source "package/efl/libelementary/Config.in"
 
 endif # BR2_PACKAGE_EFL
package/efl/libevas/0001-giflib.patch deleted +0 -98

98 lines not on this page · raw message

package/efl/libevas/Config.in deleted +0 -211

211 lines not on this page · raw message

package/efl/libevas/libevas.mk deleted +0 -247

247 lines not on this page · raw message

Signature · 1 line
2.4.3
#31 lore raw

PATCH v10 25/28 package/efl/libeet: remove package

In reply to Romain Naour

Libeet is now available in efl package.

---
v6: Improve lecacy help text (Yann E.Morin)
v5: remove libeet directory
v4: update Config.in to use libefl
v3: update legacy option for 2015.11
update help text

---
 Config.in.legacy             |  7 +++++++
 package/efl/Config.in        |  1 -
 package/efl/libeet/Config.in | 11 -----------
 package/efl/libeet/libeet.mk | 27 ---------------------------
 4 files changed, 7 insertions(+), 39 deletions(-)
 delete mode 100644 package/efl/libeet/Config.in
 delete mode 100644 package/efl/libeet/libeet.mk
Config.in.legacy +7 -0
index 2ee2f42..1df81ea 100644
@@ -107,6 +107,13 @@ endif
 ###############################################################################
 comment "Legacy options removed in 2016.02"
 
+config BR2_PACKAGE_LIBEET
+	bool "libeet package has been removed"
+	select BR2_LEGACY
+	select BR2_PACKAGE_EFL
+	help
+	  With EFL 1.15, libeet is now provided by the libefl package.
+
 config BR2_PACKAGE_LIBEVAS
 	bool "libevas package has been removed"
 	select BR2_LEGACY
package/efl/Config.in +0 -1
index 48ea706..a01b971 100644
@@ -16,7 +16,6 @@ menuconfig BR2_PACKAGE_EFL
 if BR2_PACKAGE_EFL
 
 source "package/efl/libeina/Config.in"
-source "package/efl/libeet/Config.in"
 source "package/efl/libefl/Config.in"
 source "package/efl/libelementary/Config.in"
 
package/efl/libeet/Config.in deleted +0 -11
deleted file mode 100644
index 48631a0..0000000
@@ -1,11 +0,0 @@
-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).
-
-	  http://trac.enlightenment.org/e/wiki/Eet
package/efl/libeet/libeet.mk deleted +0 -27
deleted file mode 100644
index fc3d7f9..0000000
@@ -1,27 +0,0 @@
-################################################################################
-#
-# libeet
-#
-################################################################################
-
-LIBEET_VERSION = 1.7.10
-LIBEET_SOURCE = eet-$(LIBEET_VERSION).tar.bz2
-LIBEET_SITE = http://download.enlightenment.org/releases
-LIBEET_LICENSE = BSD-2c
-LIBEET_LICENSE_FILES = COPYING
-
-LIBEET_INSTALL_STAGING = YES
-
-LIBEET_DEPENDENCIES = host-pkgconf zlib jpeg libeina
-HOST_LIBEET_DEPENDENCIES = host-pkgconf host-zlib host-libjpeg host-libeina
-
-ifeq ($(BR2_PACKAGE_GNUTLS)$(BR2_PACKAGE_LIBGCRYPT),yy)
-LIBEET_DEPENDENCIES += gnutls libgcrypt
-LIBEET_CONF_ENV += LIBGCRYPT_CONFIG=$(STAGING_DIR)/usr/bin/libgcrypt-config
-LIBEET_CONF_OPTS += --enable-gnutls
-else
-LIBEET_CONF_OPTS += --disable-gnutls
-endif
-
-$(eval $(autotools-package))
-$(eval $(host-autotools-package))
Signature · 1 line
2.4.3
#32 lore raw

PATCH v10 26/28 package/efl/libeina: remove package

In reply to Romain Naour

Libeina is now available in efl package.

---
v6: Improve lecacy help text (Yann E.Morin)
v5: remove libeina directory
v4: update Config.in to use libefl
v3: update legacy option for 2015.11
update help text

---
 Config.in.legacy               |  7 +++++++
 package/efl/Config.in          |  1 -
 package/efl/libeina/Config.in  |  6 ------
 package/efl/libeina/libeina.mk | 18 ------------------
 4 files changed, 7 insertions(+), 25 deletions(-)
 delete mode 100644 package/efl/libeina/Config.in
 delete mode 100644 package/efl/libeina/libeina.mk
Config.in.legacy +7 -0
index 1df81ea..e1ea06f 100644
@@ -107,6 +107,13 @@ endif
 ###############################################################################
 comment "Legacy options removed in 2016.02"
 
+config BR2_PACKAGE_LIBEINA
+	bool "libeina package has been removed"
+	select BR2_LEGACY
+	select BR2_PACKAGE_EFL
+	help
+	  With EFL 1.15, libeina is now provided by the libefl package.
+
 config BR2_PACKAGE_LIBEET
 	bool "libeet package has been removed"
 	select BR2_LEGACY
package/efl/Config.in +0 -1
index a01b971..80658b2 100644
@@ -15,7 +15,6 @@ menuconfig BR2_PACKAGE_EFL
 
 if BR2_PACKAGE_EFL
 
-source "package/efl/libeina/Config.in"
 source "package/efl/libefl/Config.in"
 source "package/efl/libelementary/Config.in"
 
package/efl/libeina/Config.in deleted +0 -6
deleted file mode 100644
index 80600ad..0000000
@@ -1,6 +0,0 @@
-config BR2_PACKAGE_LIBEINA
-	bool "libeina"
-	help
-	  Eina is a tiny library to handle data types (list, hash, etc.)
-
-	  http://trac.enlightenment.org/e/wiki/Eina
package/efl/libeina/libeina.mk deleted +0 -18
deleted file mode 100644
index ae9f1c6..0000000
@@ -1,18 +0,0 @@
-################################################################################
-#
-# libeina
-#
-################################################################################
-
-LIBEINA_VERSION = 1.7.10
-LIBEINA_SOURCE = eina-$(LIBEINA_VERSION).tar.bz2
-LIBEINA_SITE = http://download.enlightenment.org/releases
-LIBEINA_LICENSE = LGPLv2.1+
-LIBEINA_LICENSE_FILES = COPYING
-
-LIBEINA_INSTALL_STAGING = YES
-
-LIBEINA_DEPENDENCIES = host-pkgconf
-
-$(eval $(autotools-package))
-$(eval $(host-autotools-package))
Signature · 1 line
2.4.3
#33 lore raw

PATCH v10 27/28 package/libemotion-generic-players: new package

In reply to Romain Naour

---
v6: Add missing vlc dependencies and host-pkgconf (Yann E.Morin)
v5: Use depends on BR2_PACKAGE_EFL instead of select (ThomasP)
update comment on dependencies
v4: update Config.in to use libefl
v3: remove trailing slash (Vicente Bergas)

---
 package/Config.in                                     |  1 +
 package/libemotion-generic-players/Config.in          | 19 +++++++++++++++++++
 .../libemotion-generic-players.hash                   |  2 ++
 .../libemotion-generic-players.mk                     | 17 +++++++++++++++++
 4 files changed, 39 insertions(+)
 create mode 100644 package/libemotion-generic-players/Config.in
 create mode 100644 package/libemotion-generic-players/libemotion-generic-players.hash
 create mode 100644 package/libemotion-generic-players/libemotion-generic-players.mk
package/Config.in +1 -0
index 1eea89b..90a01f8 100644
@@ -829,6 +829,7 @@ menu "Graphics"
 	source "package/libdri2/Config.in"
 	source "package/libdrm/Config.in"
 	source "package/libexif/Config.in"
+	source "package/libemotion-generic-players/Config.in"
 	source "package/libevas-generic-loaders/Config.in"
 	source "package/libfm/Config.in"
 	source "package/libfm-extra/Config.in"
package/libemotion-generic-players/Config.in new file +19 -0
new file mode 100644
index 0000000..f6dd45d
@@ -0,0 +1,19 @@
+config BR2_PACKAGE_LIBEMOTION_GENERIC_PLAYERS
+	bool "libemotion generic players"
+	depends on BR2_PACKAGE_EFL
+	depends on (BR2_UCLIBC_VERSION_SNAPSHOT || BR2_UCLIBC_VERSION_NG || BR2_TOOLCHAIN_USES_GLIBC) # vlc
+	depends on BR2_INSTALL_LIBSTDCPP # vlc
+	depends on BR2_USE_WCHAR # vlc
+	depends on BR2_TOOLCHAIN_HAS_THREADS # vlc
+	depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_7 # vlc
+	select BR2_PACKAGE_VLC # needs libvlc
+	help
+	  A media object library for Evas and Ecore.
+
+	  https://www.enlightenment.org
+	  https://docs.enlightenment.org/stable/efl/emotion_main.html
+
+comment "libemotion generic players needs a uclibc snapshot, uclibc-ng or (e)glibc toolchain w/ C++, wchar, threads, headers >= 3.7"
+	depends on !(BR2_UCLIBC_VERSION_SNAPSHOT || BR2_UCLIBC_VERSION_NG || BR2_TOOLCHAIN_USES_GLIBC) \
+		|| !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR \
+		|| !BR2_TOOLCHAIN_HAS_THREADS || !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_7
package/libemotion-generic-players/libemotion-generic-players.hash new file +2 -0
new file mode 100644
index 0000000..80c8123
@@ -0,0 +1,2 @@
+# From https://download.enlightenment.org/rel/libs/emotion_generic_players/emotion_generic_players-1.15.0.tar.xz.sha256
+sha256	9f6d5e9041ac7c014d663dac56d1b39ac42a45abe954d09d0edbf6e759e55f5f	emotion_generic_players-1.15.0.tar.xz
package/libemotion-generic-players/libemotion-generic-players.mk new file +17 -0
new file mode 100644
index 0000000..ef41b2e
@@ -0,0 +1,17 @@
+################################################################################
+#
+# libemotion-generic-players
+#
+################################################################################
+
+LIBEMOTION_GENERIC_PLAYERS_VERSION = 1.15.0
+LIBEMOTION_GENERIC_PLAYERS_SOURCE = emotion_generic_players-$(LIBEMOTION_GENERIC_PLAYERS_VERSION).tar.xz
+LIBEMOTION_GENERIC_PLAYERS_SITE = http://download.enlightenment.org/rel/libs/emotion_generic_players
+LIBEMOTION_GENERIC_PLAYERS_LICENSE = BSD-2c
+LIBEMOTION_GENERIC_PLAYERS_LICENSE_FILES = COPYING
+
+LIBEMOTION_GENERIC_PLAYERS_INSTALL_STAGING = YES
+
+LIBEMOTION_GENERIC_PLAYERS_DEPENDENCIES = host-pkgconf libefl vlc
+
+$(eval $(autotools-package))
Signature · 1 line
2.4.3
#34 lore raw

PATCH v10 28/28 package/efl: rename libefl to efl

In reply to Romain Naour

In order to avoid duplicate dependencies between efl and libefl [1] change the BR2_PACKAGE_EFL from a menuconfig to a simple menu.

This allow to rename the libefl package to efl to keep backward compatibility with older defconfig files.

Add efl dependency on libelementary package.

Don't add Config.in.legacy entry for libefl since it's not part of any Buildroot release.

[1] http://lists.busybox.net/pipermail/buildroot/2015-December/147128.html

Cc "Yann E. MORIN" <[email protected]>
---
 Config.in.legacy                                   |  20 +--
 package/dbus-cpp/dbus-cpp.mk                       |   2 +-
 package/efl/Config.in                              |  30 +---
 ...ecore_fb_private.h-define-EAPI-before-use.patch |   0
 .../0002-ecore_x-Remove-XPrint-usage.patch         |   0
 package/efl/{libefl => efl}/Config.in              |  91 ++++++-----
 package/efl/{libefl/libefl.hash => efl/efl.hash}   |   0
 package/efl/{libefl/libefl.mk => efl/efl.mk}       | 179 ++++++++++-----------
 package/efl/libelementary/Config.in                |   2 +
 package/efl/libelementary/libelementary.mk         |   4 +-
 package/enlightenment/Config.in                    |   6 +-
 package/enlightenment/enlightenment.mk             |   4 +-
 package/expedite/expedite.mk                       |   4 +-
 .../libemotion-generic-players.mk                  |   2 +-
 .../libevas-generic-loaders.mk                     |   2 +-
 15 files changed, 170 insertions(+), 176 deletions(-)
 rename package/efl/{libefl => efl}/0001-ecore_fb_private.h-define-EAPI-before-use.patch (100%)
 rename package/efl/{libefl => efl}/0002-ecore_x-Remove-XPrint-usage.patch (100%)
 rename package/efl/{libefl => efl}/Config.in (73%)
 rename package/efl/{libefl/libefl.hash => efl/efl.hash} (100%)
 rename package/efl/{libefl/libefl.mk => efl/efl.mk} (55%)
Config.in.legacy +10 -10
index e1ea06f..4f5bfe5 100644
@@ -112,70 +112,70 @@ config BR2_PACKAGE_LIBEINA
 	select BR2_LEGACY
 	select BR2_PACKAGE_EFL
 	help
-	  With EFL 1.15, libeina is now provided by the libefl package.
+	  With EFL 1.15, libeina is now provided by the efl package.
 
 config BR2_PACKAGE_LIBEET
 	bool "libeet package has been removed"
 	select BR2_LEGACY
 	select BR2_PACKAGE_EFL
 	help
-	  With EFL 1.15, libeet is now provided by the libefl package.
+	  With EFL 1.15, libeet is now provided by the efl package.
 
 config BR2_PACKAGE_LIBEVAS
 	bool "libevas package has been removed"
 	select BR2_LEGACY
 	select BR2_PACKAGE_EFL
 	help
-	  With EFL 1.15, libevas is now provided by the libefl package.
+	  With EFL 1.15, libevas is now provided by the efl package.
 
 config BR2_PACKAGE_LIBECORE
 	bool "libecore package has been removed"
 	select BR2_LEGACY
 	select BR2_PACKAGE_EFL
 	help
-	  With EFL 1.15, libecore is now provided by the libefl package.
+	  With EFL 1.15, libecore is now provided by the efl package.
 
 config BR2_PACKAGE_LIBEDBUS
 	bool "libedbus package has been removed"
 	select BR2_LEGACY
 	select BR2_PACKAGE_EFL
 	help
-	  With EFL 1.15, libedbus is now provided by the libefl package.
+	  With EFL 1.15, libedbus is now provided by the efl package.
 
 config BR2_PACKAGE_LIBEFREET
 	bool "libefreet package has been removed"
 	select BR2_LEGACY
 	select BR2_PACKAGE_EFL
 	help
-	  With EFL 1.15, libefreet is now provided by the libefl package.
+	  With EFL 1.15, libefreet is now provided by the efl package.
 
 config BR2_PACKAGE_LIBEIO
 	bool "libeio package has been removed"
 	select BR2_LEGACY
 	select BR2_PACKAGE_EFL
 	help
-	  With EFL 1.15, libeio is now provided by the libefl package.
+	  With EFL 1.15, libeio is now provided by the efl package.
 
 config BR2_PACKAGE_LIBEMBRYO
 	bool "libembryo package has been removed"
 	select BR2_LEGACY
 	select BR2_PACKAGE_EFL
 	help
-	  With EFL 1.15, libembryo is now provided by the libefl package.
+	  With EFL 1.15, libembryo is now provided by the efl package.
 
 config BR2_PACKAGE_LIBEDJE
 	bool "libedje package has been removed"
 	select BR2_LEGACY
 	select BR2_PACKAGE_EFL
 	help
-	  With EFL 1.15, libedje is now provided by the libefl package.
+	  With EFL 1.15, libedje is now provided by the efl package.
 
 config BR2_PACKAGE_LIBETHUMB
 	bool "libethumb package has been removed"
 	select BR2_LEGACY
 	select BR2_PACKAGE_EFL
 	help
-	  With EFL 1.15, libethumb is now provided by the libefl package.
+	  With EFL 1.15, libethumb is now provided by the efl package.
 
 config BR2_PACKAGE_INFOZIP
 	bool "infozip option has been renamed to zip"
package/dbus-cpp/dbus-cpp.mk +1 -1
index 9236ba7..0b51967 100644
@@ -28,7 +28,7 @@ DBUS_CPP_LICENSE_FILES = COPYING
 
 ifeq ($(BR2_PACKAGE_EFL),y)
 DBUS_CPP_CONF_OPTS += --enable-ecore
-DBUS_CPP_DEPENDENCIES += libefl
+DBUS_CPP_DEPENDENCIES += efl
 else
 DBUS_CPP_CONF_OPTS += --disable-ecore
 endif
package/efl/Config.in +3 -27
index 80658b2..d92d877 100644
@@ -1,30 +1,6 @@
-menuconfig BR2_PACKAGE_EFL
-	bool "Enlightenment Foundation Libraries"
-	depends on BR2_INSTALL_LIBSTDCPP
-	depends on BR2_PACKAGE_HAS_UDEV # libudev
-	depends on BR2_PACKAGE_LUA # lua 5.1 or better
-	depends on BR2_TOOLCHAIN_HAS_THREADS # untested without threads
-	depends on BR2_USE_MMU
-	depends on BR2_USE_WCHAR # use wchar_t
-	depends on !BR2_STATIC_LIBS # dlfcn.h
-	select BR2_PACKAGE_LIBEFL
-	help
-	  Enlightenment Foundation Libraries
+menu "Enlightenment Foundation Libraries"
 
-	  http://enlightenment.org
-
-if BR2_PACKAGE_EFL
-
-source "package/efl/libefl/Config.in"
+source "package/efl/efl/Config.in"
 source "package/efl/libelementary/Config.in"
 
-endif # BR2_PACKAGE_EFL
-
-comment "EFL needs udev /dev management and a toolchain w/ C++, dynamic library, threads, wchar"
-	depends on !BR2_PACKAGE_HAS_UDEV || !BR2_INSTALL_LIBSTDCPP \
-		|| BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HAS_THREADS || !BR2_USE_WCHAR
-	depends on BR2_USE_MMU
-
-comment "EFL needs lua"
-	depends on !BR2_PACKAGE_LUA
-	depends on BR2_USE_MMU
+endmenu
package/efl/efl/0001-ecore_fb_private.h-define-EAPI-before-use.patch renamed from package/efl/libefl/0001-ecore_fb_private.h-define-EAPI-before-use.patch +0 -0
similarity index 100%
rename from package/efl/libefl/0001-ecore_fb_private.h-define-EAPI-before-use.patch
rename to package/efl/efl/0001-ecore_fb_private.h-define-EAPI-before-use.patch
package/efl/efl/0002-ecore_x-Remove-XPrint-usage.patch renamed from package/efl/libefl/0002-ecore_x-Remove-XPrint-usage.patch +0 -0
similarity index 100%
rename from package/efl/libefl/0002-ecore_x-Remove-XPrint-usage.patch
rename to package/efl/efl/0002-ecore_x-Remove-XPrint-usage.patch
package/efl/efl/Config.in renamed from package/efl/libefl/Config.in +54 -37

204 lines not on this page · raw message

package/efl/efl/efl.hash renamed from package/efl/libefl/libefl.hash +0 -0
similarity index 100%
rename from package/efl/libefl/libefl.hash
rename to package/efl/efl/efl.hash
package/efl/efl/efl.mk renamed from package/efl/libefl/libefl.mk +89 -90

323 lines not on this page · raw message

package/efl/libelementary/Config.in +2 -0
index 1f8c962..75993a4 100644
@@ -2,6 +2,7 @@ config BR2_PACKAGE_LIBELEMENTARY
 	bool "libelementary"
 	depends on BR2_TOOLCHAIN_HAS_THREADS # elm_store.c
 	depends on !BR2_STATIC_LIBS
+	depends on BR2_PACKAGE_EFL
 	help
 	  Elementary is a widget toolkit and EFL wrapper and convenience
 	  library to make it easy to build applications and tools with UIs
@@ -10,4 +11,5 @@ config BR2_PACKAGE_LIBELEMENTARY
 	  https://enlightenment.org
 
 comment "libelementary needs a toolchain w/ threads, dynamic library"
+	depends on BR2_PACKAGE_EFL
 	depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS
package/efl/libelementary/libelementary.mk +2 -2
index c920801..b0f6149 100644
@@ -12,7 +12,7 @@ LIBELEMENTARY_LICENSE_FILES = COPYING
 
 LIBELEMENTARY_INSTALL_STAGING = YES
 
-LIBELEMENTARY_DEPENDENCIES = host-pkgconf host-libefl host-libelementary libefl
+LIBELEMENTARY_DEPENDENCIES = host-pkgconf host-efl host-libelementary efl
 
 LIBELEMENTARY_CONF_OPTS = \
 	--with-edje-cc=$(HOST_DIR)/usr/bin/edje_cc \
@@ -25,7 +25,7 @@ LIBELEMENTARY_CONF_OPTS = \
 
 # We need a host package in order to provide elm_prefs_cc and
 # elementary_codegen.
-HOST_LIBELEMENTARY_DEPENDENCIES = host-pkgconf host-libefl
+HOST_LIBELEMENTARY_DEPENDENCIES = host-pkgconf host-efl
 HOST_LIBELEMENTARY_CONF_OPTS = \
 	--with-edje-cc=$(HOST_DIR)/usr/bin/edje_cc \
 	--with-eet-eet=$(HOST_DIR)/usr/bin/eet \
package/enlightenment/Config.in +3 -3
index 7f0d583..3bfc444 100644
@@ -12,9 +12,9 @@ config BR2_PACKAGE_ENLIGHTENMENT
 	depends on BR2_PACKAGE_XORG7
 	# libevas-generic-loaders-svg -> librsvg -> pango -> cairo
 	depends on BR2_ARCH_HAS_ATOMICS
-	select BR2_PACKAGE_LIBEFL_X_XLIB
-	select BR2_PACKAGE_LIBEFL_JPEG # needed at runtime by enlightenment_start
-	select BR2_PACKAGE_LIBEFL_PNG # needed at runtime by enlightenment_start
+	select BR2_PACKAGE_EFL_X_XLIB
+	select BR2_PACKAGE_EFL_JPEG # needed at runtime by enlightenment_start
+	select BR2_PACKAGE_EFL_PNG # needed at runtime by enlightenment_start
 	select BR2_PACKAGE_LIBELEMENTARY
 	select BR2_PACKAGE_LIBEVAS_GENERIC_LOADERS
 	select BR2_PACKAGE_LIBEVAS_GENERIC_LOADERS_SVG
package/enlightenment/enlightenment.mk +2 -2
index f2e0bc3..dba81d3 100644
@@ -12,8 +12,8 @@ ENLIGHTENMENT_LICENSE_FILES = COPYING
 
 ENLIGHTENMENT_DEPENDENCIES = \
 	host-pkgconf \
-	host-libefl \
-	libefl \
+	host-efl \
+	efl \
 	libelementary \
 	libevas-generic-loaders \
 	xcb-util-keysyms
package/expedite/expedite.mk +2 -2
index 4a4e2ee..8754dc0 100644
@@ -11,12 +11,12 @@ EXPEDITE_SITE_METHOD = git
 EXPEDITE_LICENSE = BSD-2c
 EXPEDITE_LICENSE_FILES = COPYING
 
-EXPEDITE_DEPENDENCIES = host-libefl host-pkgconf libefl
+EXPEDITE_DEPENDENCIES = host-efl host-pkgconf efl
 
 # There is no configure script in the git tree.
 EXPEDITE_AUTORECONF = YES
 
-ifeq ($(BR2_PACKAGE_LIBEFL_X_XLIB),y)
+ifeq ($(BR2_PACKAGE_EFL_X_XLIB),y)
 EXPEDITE_CONF_OPTS += --with-x=$(STAGING_DIR) \
 	--x-includes=$(STAGING_DIR)/usr/include \
 	--x-libraries=$(STAGING_DIR)/usr/lib
package/libemotion-generic-players/libemotion-generic-players.mk +1 -1
index ef41b2e..384cd97 100644
@@ -12,6 +12,6 @@ LIBEMOTION_GENERIC_PLAYERS_LICENSE_FILES = COPYING
 
 LIBEMOTION_GENERIC_PLAYERS_INSTALL_STAGING = YES
 
-LIBEMOTION_GENERIC_PLAYERS_DEPENDENCIES = host-pkgconf libefl vlc
+LIBEMOTION_GENERIC_PLAYERS_DEPENDENCIES = host-pkgconf efl vlc
 
 $(eval $(autotools-package))
package/libevas-generic-loaders/libevas-generic-loaders.mk +1 -1
index 2c1c1cd..ff8ea37 100644
@@ -12,7 +12,7 @@ LIBEVAS_GENERIC_LOADERS_LICENSE_FILES = COPYING
 
 LIBEVAS_GENERIC_LOADERS_INSTALL_STAGING = YES
 
-LIBEVAS_GENERIC_LOADERS_DEPENDENCIES = host-pkgconf libefl zlib
+LIBEVAS_GENERIC_LOADERS_DEPENDENCIES = host-pkgconf efl zlib
 
 # poppler >= 0.32 is not supported by the current version of
 # libevas-generic-loaders.
Signature · 1 line
2.4.3
#35 lore raw

v10 cover efl bump to 1.15.2

In reply to Romain Naour

Dear Romain Naour,

Quoted 8 lines · Romain Naour

Romain Naour (28):
package/efl/libefl: new package package/efl/libefl: add harfbuzz dependency package/efl/libefl: add wayland dependency package/efl/libefl: add webp dependency package/efl/libefl: add frame buffer config option package/efl/libefl: add jp2k config option package/efl/libefl: add X11 support

All those ones applied. On the "libefl: new package" patch I've applied my two patches that I showed you on the mailing list.

Quoted 1 line

package/efl/libefl: add OpenGLES support

This one I wasn't sure about the "choice"; we had some discussion about it with Yann on IRC.

Quoted 1 line

package/efl/libefl: enable xinput2.2

This one I thought should have been part of the X11 support patch, but now that I have applied the X11 support patch, I think I'll apply this one separately.

Quoted 9 lines

package/libevas-generic-loaders: bump to version 1.15.0 package/libevas-generic-loaders: add libraw dependency package/efl/libelementary: bump to version 1.15.2 package/efl: libefl and libelementary share the same version number package/enlightenment: bump to version 0.19.12 package/expedite: bump to efl-1.15 branch package/dbus-cpp: switch to libefl package/efl/libethumb: remove package package/efl/libedje: remove package

Quoted 8 lines

package/efl/libembryo: remove package
package/efl/libeio: remove package
package/efl/libefreet: remove package
package/efl/libedbus: remove package
package/efl/libecore: remove package
package/efl/libevas: remove package
package/efl/libeet: remove package
package/efl/libeina: remove package

All applied.

Quoted 1 line

package/libemotion-generic-players: new package

I want to do some more review on this one.

Quoted 1 line

package/efl: rename libefl to efl

I don't understand the logic of this one, and why we're moving from a 'menuconfig' to a 'menu'.

So there are four patches left to be applied out of 28.

Thanks a lot for working on this, definitely great to have an up-to-date EFL stack.

To be honest, with the version number now being shared with just libefl and libelementary, I am not sure it is really worth the effort to have a package/efl/ directory with those two packages. What about making them normal top-level packages ?

Thanks!

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
#36 lore raw

v10 cover efl bump to 1.15.2

Hello Thomas, All,

Le 18/12/2015 00:11, Thomas Petazzoni a ?crit :

Quoted 13 lines

Dear Romain Naour,

Quoted 8 lines · Romain Naour

Romain Naour (28):
package/efl/libefl: new package package/efl/libefl: add harfbuzz dependency package/efl/libefl: add wayland dependency package/efl/libefl: add webp dependency package/efl/libefl: add frame buffer config option package/efl/libefl: add jp2k config option package/efl/libefl: add X11 support

Quoted 7 lines

All those ones applied. On the "libefl: new package" patch I've applied my two patches that I showed you on the mailing list.

Quoted 1 line

package/efl/libefl: add OpenGLES support

This one I wasn't sure about the "choice"; we had some discussion about it with Yann on IRC.

It's not clear to me when we can really use the full OpenGL support.
I thought that the full OpenGL support was only needed by some specific hardware...

Quoted 6 lines
Quoted 2 lines

package/efl/libefl: enable xinput2.2

This one I thought should have been part of the X11 support patch, but now that I have applied the X11 support patch, I think I'll apply this one separately.

ok.

Quoted 19 lines
Quoted 10 lines

package/libevas-generic-loaders: bump to version 1.15.0 package/libevas-generic-loaders: add libraw dependency package/efl/libelementary: bump to version 1.15.2 package/efl: libefl and libelementary share the same version number package/enlightenment: bump to version 0.19.12 package/expedite: bump to efl-1.15 branch package/dbus-cpp: switch to libefl package/efl/libethumb: remove package package/efl/libedje: remove package

Quoted 8 lines

package/efl/libembryo: remove package
package/efl/libeio: remove package
package/efl/libefreet: remove package
package/efl/libedbus: remove package
package/efl/libecore: remove package
package/efl/libevas: remove package
package/efl/libeet: remove package
package/efl/libeina: remove package

Quoted 5 lines

All applied.

Quoted 1 line

package/libemotion-generic-players: new package

I want to do some more review on this one.

Ok.

Quoted 10 lines
Quoted 2 lines

package/efl: rename libefl to efl

I don't understand the logic of this one, and why we're moving from a 'menuconfig' to a 'menu'.

So there are four patches left to be applied out of 28.

Thanks a lot for working on this, definitely great to have an up-to-date EFL stack.

Yes, special thank to Vicente who did a runtime test and Yann complete review of this series.

Quoted 5 lines

To be honest, with the version number now being shared with just libefl and libelementary, I am not sure it is really worth the effort to have a package/efl/ directory with those two packages. What about making them normal top-level packages ?

This is what I wanted to do initially (in v3):
- move all old efl package outside of package/efl/ [1]
- add a new package efl [2]

[1] http://patchwork.ozlabs.org/patch/528603/
[2] http://patchwork.ozlabs.org/patch/528573/

But someone asked me to keep in sync libelementary and efl, so I introduced the libefl package in the followup series.

Now, we can move libelementary and libefl to package/ directory. And even rename libefl to efl because all packages that use efl libraries depends on BR2_PACKAGE_EFL.

Thoughts ?

Romain

Quoted 5 lines

Thanks!

Thomas

#37 lore raw

v10 cover efl bump to 1.15.2

Dear Romain Naour,

Quoted 12 lines · Romain Naour
Quoted 4 lines

To be honest, with the version number now being shared with just libefl and libelementary, I am not sure it is really worth the effort to have a package/efl/ directory with those two packages. What about making them normal top-level packages ?

This is what I wanted to do initially (in v3):
- move all old efl package outside of package/efl/ [1]
- add a new package efl [2]

[1] http://patchwork.ozlabs.org/patch/528603/
[2] http://patchwork.ozlabs.org/patch/528573/

Quoted 8 lines

But someone asked me to keep in sync libelementary and efl, so I introduced the libefl package in the followup series.

Now, we can move libelementary and libefl to package/ directory. And even rename libefl to efl because all packages that use efl libraries depends on BR2_PACKAGE_EFL.

Thoughts ?

As said on IRC, I think it's better to have just package/efl/ and package/elementary/.

Having a subdirectory for just two components that currently share their version, but for which there is no clear statement from upstream that they will always been doing in-sync releases, is not a good idea IMO. Let's have two separate normal packages.

Thanks,

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
#38 lore raw

v10 cover efl bump to 1.15.2

In reply to Romain Naour

Romain, All,

On 2015-12-19 15:30 +0100, Romain Naour spake thusly:

Quoted 2 lines

Le 18/12/2015 00:11, Thomas Petazzoni a ?crit :

Quoted 1 line · Romain Naour

[--SNIP--]

Quoted 5 lines
Quoted 3 lines
Quoted 1 line

package/efl/libefl: add OpenGLES support

This one I wasn't sure about the "choice"; we had some discussion about it with Yann on IRC.

It's not clear to me when we can really use the full OpenGL support.
I thought that the full OpenGL support was only needed by some specific hardware...

You don't care about the hardware in this case. If there is a full OpenGL provider *and* Xorg is enabled, then you can do full OpenGL. It is the responsibility of the libgl provider to provide hardware access (e.g. mesa3d, nvidia-driver, rpi-userland...)

So, in case my previous comments were not clear, here we go:

- full OpenGL currently requires Xorg and a libgl provider.

Or, put in other words:

- if you have Xorg and you have a libgl provider, then you can do full OpenGL.

So, for EFL, I would add an new entry to the choice:

config BR2_PACKAGE_EFL_GL
bool "opengl"
depends on BR2_PACKAGE_HAS_LIBGL
depends on BR2_PACKAGE_LIBEFL_X_XLIB

comment "opengl support needs X11 support and a libgl provider"
depends on !BR2_PACKAGE_HAS_LIBGL || !BR2_PACKAGE_LIBEFL_X_XLIB

Alternatively, you can go with a select, like:

config BR2_PACKAGE_EFL_GL
bool "opengl"
depends on BR2_PACKAGE_HAS_LIBGL
depends on BR2_PACKAGE_XORG7 # X_XLIB
select BR2_PACKAGE_LIBEFL_X_XLIB

comment "opengl support needs Xorg and a libgl provider"
depends on !BR2_PACKAGE_HAS_LIBGL || !BR2_PACKAGE_XORG7

I think I'd prefer the first solution, but either is OK for me.

But now, if you are not interested in full OpenGL, or you can't test it, or really don't care, just leave it aside. Interested parties can submit that support later.

Regards,
Yann E. MORIN.

Signature · 6 lines
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'