Skip to contentSkip to conversation

efl bump to 1.15.2

PATCH Superseded Romain Naour 3 participants 45 messages Dec 12, 2015 – Dec 14, 2015

v9 of 10 Superseded Latest is v10 →

lore
Share & tools
lore
#0 lore raw

v9 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 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 (32):
package/expedite: move to package directory package/libevas-generic-loaders: move to package directory package/libevas-generic-loaders: add missing MMU dependency package/{efl packages}: reorder select/depends package/efl/libefl: new host-package
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

 Config.in.legacy                                   |  70 +++++
 package/Config.in                                  |   3 +
 package/dbus-cpp/dbus-cpp.mk                       |   4 +-
 package/efl/Config.in                              |  35 +--
 package/efl/efl.mk                                 |   2 +
 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 --
 ...ecore_fb_private.h-define-EAPI-before-use.patch |  64 +++++
 .../libefl/0002-ecore_x-Remove-XPrint-usage.patch  | 153 +++++++++++
 package/efl/libefl/Config.in                       | 169 ++++++++++++
 package/efl/libefl/libefl.hash                     |   2 +
 package/efl/libefl/libefl.mk                       | 286 +++++++++++++++++++++
 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                |  14 +-
 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                    |  27 +-
 package/enlightenment/enlightenment.hash           |   2 +
 package/enlightenment/enlightenment.mk             |  26 +-
 package/{efl => }/expedite/Config.in               |   9 +-
 package/{efl => }/expedite/expedite.mk             |  13 +-
 package/libemotion-generic-players/Config.in       |  19 ++
 .../libemotion-generic-players.hash                |   2 +
 .../libemotion-generic-players.mk                  |  17 ++
 .../{efl => }/libevas-generic-loaders/Config.in    |  20 +-
 .../libevas-generic-loaders.hash                   |   2 +
 .../libevas-generic-loaders.mk                     |  19 +-
 46 files changed, 899 insertions(+), 1173 deletions(-)
 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
 create mode 100644 package/efl/libefl/0001-ecore_fb_private.h-define-EAPI-before-use.patch
 create mode 100644 package/efl/libefl/0002-ecore_x-Remove-XPrint-usage.patch
 create mode 100644 package/efl/libefl/Config.in
 create mode 100644 package/efl/libefl/libefl.hash
 create 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
 rename package/{efl => }/expedite/Config.in (56%)
 rename package/{efl => }/expedite/expedite.mk (54%)
 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
 rename package/{efl => }/libevas-generic-loaders/Config.in (67%)
 create mode 100644 package/libevas-generic-loaders/libevas-generic-loaders.hash
 rename package/{efl => }/libevas-generic-loaders/libevas-generic-loaders.mk (62%)
Signature · 1 line
2.4.3
#1 lore raw

PATCH v9 1/32 package/expedite: move to package directory

There is no advantage for efl related packages to share the same version number anymore (except for Efl and Elementary).

Here are the version number used for the 1.15 stable release:
EFL 1.15.2
Elementary 1.15.2
Emotion Generic Players 1.15.0
Evas Generic Loaders 1.15.0
Python-EFL 1.15.0

Also, we usually do not have a sub-directory for a family of related packages which don't share the same version number, so move expedite to the package directory. Expedite now appears in the "Graphic libraries and applications (graphic/text)" in the Kconfig menu.

In a followup patch, expedite will be downloaded directly from the 1.15 branch in the git repository since there is no new tarball release after 1.7.0.

---
v5: fixes typos (ThomasP)
Use depends on BR2_PACKAGE_EFL instead of select (ThomasP)
v4: improve the commit log (ThomasP)
move expedite to "Graphic applications" under "Graphic libraries and applications" menu (ThomasP) fix package comment dependency on BR2_USE_MMU

---
 package/Config.in                      | 1 +
 package/efl/Config.in                  | 1 -
 package/{efl => }/expedite/Config.in   | 1 +
 package/{efl => }/expedite/expedite.mk | 0
 4 files changed, 2 insertions(+), 1 deletion(-)
 rename package/{efl => }/expedite/Config.in (95%)
 rename package/{efl => }/expedite/expedite.mk (100%)
package/Config.in +1 -0
index 0eb6fda..9610423 100644
@@ -220,6 +220,7 @@ endmenu
 menu "Graphic libraries and applications (graphic/text)"
 
 comment "Graphic applications"
+	source "package/expedite/Config.in"
 	source "package/fswebcam/Config.in"
 	source "package/glmark2/Config.in"
 	source "package/gnuplot/Config.in"
package/efl/Config.in +0 -1
index 3d31a26..cb91660 100644
@@ -10,7 +10,6 @@ menuconfig BR2_PACKAGE_EFL
 
 if BR2_PACKAGE_EFL
 
-source "package/efl/expedite/Config.in"
 source "package/efl/libeina/Config.in"
 source "package/efl/libecore/Config.in"
 source "package/efl/libeet/Config.in"
package/expedite/Config.in renamed from package/efl/expedite/Config.in +1 -0
similarity index 95%
rename from package/efl/expedite/Config.in
rename to package/expedite/Config.in
index 1e12108..de6a056 100644
@@ -3,6 +3,7 @@ config BR2_PACKAGE_EXPEDITE
 	select BR2_PACKAGE_LIBEINA
 	select BR2_PACKAGE_LIBEVAS
 	select BR2_PACKAGE_LIBEET
+	depends on BR2_PACKAGE_EFL
 	depends on BR2_INSTALL_LIBSTDCPP
 	depends on BR2_TOOLCHAIN_HAS_THREADS # libevas
 	help
package/expedite/expedite.mk renamed from package/efl/expedite/expedite.mk +0 -0
similarity index 100%
rename from package/efl/expedite/expedite.mk
rename to package/expedite/expedite.mk
Signature · 1 line
2.4.3
#2 lore raw

PATCH v9 1/32 package/expedite: move to package directory

Dear Romain Naour,

Quoted 28 lines · Romain Naour

There is no advantage for efl related packages to share the same version number anymore (except for Efl and Elementary).

Here are the version number used for the 1.15 stable release:
EFL 1.15.2
Elementary 1.15.2
Emotion Generic Players 1.15.0
Evas Generic Loaders 1.15.0
Python-EFL 1.15.0

Also, we usually do not have a sub-directory for a family of related packages which don't share the same version number, so move expedite to the package directory. Expedite now appears in the "Graphic libraries and applications (graphic/text)" in the Kconfig menu.

In a followup patch, expedite will be downloaded directly from the 1.15 branch in the git repository since there is no new tarball release after 1.7.0.

---
v5: fixes typos (ThomasP)
Use depends on BR2_PACKAGE_EFL instead of select (ThomasP)
v4: improve the commit log (ThomasP)
move expedite to "Graphic applications" under "Graphic libraries and applications" menu (ThomasP) fix package comment dependency on BR2_USE_MMU

Quoted 8 lines
---
 package/Config.in                      | 1 +
 package/efl/Config.in                  | 1 -
 package/{efl => }/expedite/Config.in   | 1 +
 package/{efl => }/expedite/expedite.mk | 0
 4 files changed, 2 insertions(+), 1 deletion(-)
 rename package/{efl => }/expedite/Config.in (95%)
 rename package/{efl => }/expedite/expedite.mk (100%)

Applied, thanks.

Thomas

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

PATCH v9 2/32 package/libevas-generic-loaders: move to package directory

In reply to Romain Naour

As for expedite package, there is no advantage for efl related packages to share the same version number anymore (except for efl and libelementary).

Also, we usually do not have a sub-directory for a family of related packages which doen't share the same version number, so move libevas-generic-loaders to package directory. Libevas-generic-loaders appear now in "Libraries" -> "Graphics" in the Kconfig menu.

---
v6: keep the reverse dependency on BR2_USE_WCHAR (Yann E.Morin)
v5: Use depends on BR2_PACKAGE_EFL instead of select (ThomasP)
v4: improve the commit log (ThomasP)
move libevas-generic-loaders to "Libraries" -> "Graphics" (ThomasP) fix package comment dependency on BR2_USE_MMU

---
 package/Config.in                                                    | 1 +
 package/efl/Config.in                                                | 1 -
 package/{efl => }/libevas-generic-loaders/Config.in                  | 1 +
 package/{efl => }/libevas-generic-loaders/libevas-generic-loaders.mk | 0
 4 files changed, 2 insertions(+), 1 deletion(-)
 rename package/{efl => }/libevas-generic-loaders/Config.in (97%)
 rename package/{efl => }/libevas-generic-loaders/libevas-generic-loaders.mk (100%)
package/Config.in +1 -0
index 9610423..00aedad 100644
@@ -827,6 +827,7 @@ menu "Graphics"
 	source "package/libdri2/Config.in"
 	source "package/libdrm/Config.in"
 	source "package/libexif/Config.in"
+	source "package/libevas-generic-loaders/Config.in"
 	source "package/libfm/Config.in"
 	source "package/libfm-extra/Config.in"
 	source "package/libfreeimage/Config.in"
package/efl/Config.in +0 -1
index cb91660..7ce5a36 100644
@@ -16,7 +16,6 @@ source "package/efl/libeet/Config.in"
 source "package/efl/libefreet/Config.in"
 source "package/efl/libeio/Config.in"
 source "package/efl/libevas/Config.in"
-source "package/efl/libevas-generic-loaders/Config.in"
 source "package/efl/libembryo/Config.in"
 source "package/efl/libedje/Config.in"
 source "package/efl/libethumb/Config.in"
package/libevas-generic-loaders/Config.in renamed from package/efl/libevas-generic-loaders/Config.in +1 -0
similarity index 97%
rename from package/efl/libevas-generic-loaders/Config.in
rename to package/libevas-generic-loaders/Config.in
index 3f7581f..c69f5e8 100644
@@ -1,5 +1,6 @@
 config BR2_PACKAGE_LIBEVAS_GENERIC_LOADERS
 	bool "libevas generic loaders"
+	depends on BR2_PACKAGE_EFL
 	select BR2_PACKAGE_LIBEINA
 	select BR2_PACKAGE_ZLIB
 	help
package/libevas-generic-loaders/libevas-generic-loaders.mk renamed from package/efl/libevas-generic-loaders/libevas-generic-loaders.mk +0 -0
similarity index 100%
rename from package/efl/libevas-generic-loaders/libevas-generic-loaders.mk
rename to package/libevas-generic-loaders/libevas-generic-loaders.mk
Signature · 1 line
2.4.3
#4 lore raw

PATCH v9 3/32 package/libevas-generic-loaders: add missing MMU dependency

In reply to Romain Naour

The MMU dependency from glib2 via librsvg was not propagated to the SVG loader.

---
v8: Add a commit log and fix the commit title (Yann)
v6: new patch

---
 package/libevas-generic-loaders/Config.in | 2 ++
 1 file changed, 2 insertions(+)
package/libevas-generic-loaders/Config.in +2 -0
index c69f5e8..72d4adb 100644
@@ -16,6 +16,7 @@ config BR2_PACKAGE_LIBEVAS_GENERIC_LOADERS_SVG
 	bool "SVG loader"
 	select BR2_PACKAGE_LIBRSVG
 	select BR2_PACKAGE_CAIRO
+	depends on BR2_USE_MMU # librsvg -> glib2
 	depends on BR2_USE_WCHAR # librsvg -> glib2
 	depends on BR2_TOOLCHAIN_HAS_THREADS # librsvg -> glib2
 	depends on BR2_INSTALL_LIBSTDCPP # librsvg -> pango
@@ -25,6 +26,7 @@ config BR2_PACKAGE_LIBEVAS_GENERIC_LOADERS_SVG
 
 comment "SVG loader needs a toolchain w/ wchar, threads, C++"
 	depends on BR2_ARCH_HAS_ATOMICS
+	depends on BR2_USE_MMU
 	depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || !BR2_INSTALL_LIBSTDCPP
 
 endif
Signature · 1 line
2.4.3
#5 lore raw

PATCH v9 3/32 package/libevas-generic-loaders: add missing MMU dependency

Dear Romain Naour,

Quoted 6 lines · Romain Naour

The MMU dependency from glib2 via librsvg was not propagated to the SVG loader.

Quoted 6 lines

---
v8: Add a commit log and fix the commit title (Yann)
v6: new patch

---
 package/libevas-generic-loaders/Config.in | 2 ++
 1 file changed, 2 insertions(+)

Applied, thanks.

Thomas

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

PATCH v9 4/32 package/{efl packages}: reorder select/depends

In reply to Romain Naour

As noticed by Yann [1], move the package dependencies before selected packages/options.

[1] http://lists.busybox.net/pipermail/buildroot/2015-October/142955.html

---
v6: new patch

---
 package/efl/libelementary/Config.in       |  4 ++--
 package/enlightenment/Config.in           | 22 +++++++++++-----------
 package/expedite/Config.in                |  6 +++---
 package/libevas-generic-loaders/Config.in |  4 ++--
 4 files changed, 18 insertions(+), 18 deletions(-)
package/efl/libelementary/Config.in +2 -2
index 4f62592..fcc7025 100644
@@ -3,12 +3,12 @@ comment "libelementary needs a toolchain w/ threads, dynamic library"
 
 config BR2_PACKAGE_LIBELEMENTARY
 	bool "libelementary"
+	depends on BR2_TOOLCHAIN_HAS_THREADS # libevas
+	depends on !BR2_STATIC_LIBS
 	select BR2_PACKAGE_LIBEINA
 	select BR2_PACKAGE_LIBEVAS
 	select BR2_PACKAGE_LIBECORE
 	select BR2_PACKAGE_LIBEDJE
-	depends on BR2_TOOLCHAIN_HAS_THREADS # libevas
-	depends on !BR2_STATIC_LIBS
 	help
 	  Elementary is a widget toolkit and EFL wrapper and convenience
 	  library to make it easy to build applications and tools with UIs
package/enlightenment/Config.in +11 -11
index 58f8f39..9dad571 100644
@@ -1,5 +1,16 @@
 config BR2_PACKAGE_ENLIGHTENMENT
 	bool "enlightenment"
+	# libevas-generic-loaders-svg -> librsvg -> glib2 / pango
+	depends on BR2_USE_WCHAR
+	depends on BR2_INSTALL_LIBSTDCPP
+	# libedbus -> dbus
+	# libedbus -> glib2, libevas
+	depends on BR2_TOOLCHAIN_HAS_THREADS
+	# libedbus -> dbus, efl libraries
+	depends on BR2_USE_MMU
+	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
@@ -17,17 +28,6 @@ config BR2_PACKAGE_ENLIGHTENMENT
 	select BR2_PACKAGE_XCB_UTIL_KEYSYMS
 	select BR2_PACKAGE_LIBEVAS_GENERIC_LOADERS
 	select BR2_PACKAGE_LIBEVAS_GENERIC_LOADERS_SVG
-	# libevas-generic-loaders-svg -> librsvg -> glib2 / pango
-	depends on BR2_USE_WCHAR
-	depends on BR2_INSTALL_LIBSTDCPP
-	# libedbus -> dbus
-	# libedbus -> glib2, libevas
-	depends on BR2_TOOLCHAIN_HAS_THREADS
-	# libedbus -> dbus, efl libraries
-	depends on BR2_USE_MMU
-	depends on BR2_PACKAGE_XORG7
-	# libevas-generic-loaders-svg -> librsvg -> pango -> cairo
-	depends on BR2_ARCH_HAS_ATOMICS
 	help
 	  Enlightenment, also known simply as E, is a stacking window
 	  manager for the X Window System which can be used alone or
package/expedite/Config.in +3 -3
index de6a056..e60510b 100644
@@ -1,11 +1,11 @@
 config BR2_PACKAGE_EXPEDITE
 	bool "expedite"
-	select BR2_PACKAGE_LIBEINA
-	select BR2_PACKAGE_LIBEVAS
-	select BR2_PACKAGE_LIBEET
 	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,
package/libevas-generic-loaders/Config.in +2 -2
index 72d4adb..f42f8a6 100644
@@ -14,13 +14,13 @@ if BR2_PACKAGE_LIBEVAS_GENERIC_LOADERS
 
 config BR2_PACKAGE_LIBEVAS_GENERIC_LOADERS_SVG
 	bool "SVG loader"
-	select BR2_PACKAGE_LIBRSVG
-	select BR2_PACKAGE_CAIRO
 	depends on BR2_USE_MMU # librsvg -> glib2
 	depends on BR2_USE_WCHAR # librsvg -> glib2
 	depends on BR2_TOOLCHAIN_HAS_THREADS # librsvg -> glib2
 	depends on BR2_INSTALL_LIBSTDCPP # librsvg -> pango
 	depends on BR2_ARCH_HAS_ATOMICS # cairo
+	select BR2_PACKAGE_LIBRSVG
+	select BR2_PACKAGE_CAIRO
 	help
 	  This option enables the Evas generic SVG loader
 
Signature · 1 line
2.4.3
#7 lore raw

PATCH v9 4/32 package/{efl packages}: reorder select/depends

Dear Romain Naour,

Quoted 7 lines · Romain Naour

As noticed by Yann [1], move the package dependencies before selected packages/options.

[1] http://lists.busybox.net/pipermail/buildroot/2015-October/142955.html

Quoted 8 lines

---
v6: new patch

---
 package/efl/libelementary/Config.in       |  4 ++--
 package/enlightenment/Config.in           | 22 +++++++++++-----------
 package/expedite/Config.in                |  6 +++---
 package/libevas-generic-loaders/Config.in |  4 ++--
 4 files changed, 18 insertions(+), 18 deletions(-)

Applied, thanks.

Thomas

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

PATCH v9 5/32 package/efl/libefl: new host-package

In reply to Romain Naour

This new host-package provide edje_cc, embryo_cc and eet binaries that will be used by the upcomming libefl packages which will contain the new version of efl libraries.

---
v6: Add more license files (Yann E.Morin)
v4: keep efl as a sub-directory.
rename this new package to libefl since we want to keep a efl and elementary version in sync.
v3: remove trailing slash (Vicente Bergas)

    bump to 1.15.2
---
 package/efl/libefl/libefl.hash |  2 ++
 package/efl/libefl/libefl.mk   | 82 ++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 84 insertions(+)
 create mode 100644 package/efl/libefl/libefl.hash
 create mode 100644 package/efl/libefl/libefl.mk
package/efl/libefl/libefl.hash new file +2 -0
new file mode 100644
index 0000000..7ac26f4
@@ -0,0 +1,2 @@
+# From https://download.enlightenment.org/rel/libs/efl/efl-1.15.2.tar.xz.sha256
+sha256	dd738f19f454621a7fa1fdb4c008457c170989f5f0c535edfed7b6773ae6c2a4	efl-1.15.2.tar.xz
package/efl/libefl/libefl.mk new file +82 -0

82 lines not on this page · raw message

Signature · 1 line
2.4.3
#9 lore raw

PATCH v9 5/32 package/efl/libefl: new host-package

Romain,

package/efl/libefl/libefl.mk line 25

Quoted 5 lines · Romain Naour
package/efl/libefl/libefl.mk new file +5 -0
+################################################################################
+#
+# host-libefl
+#
+################################################################################

I am not a big fan of this, because we don't have this in any other Buildroot package. It should be removed IMO.

Quoted 5 lines
package/efl/libefl/libefl.mk new file +5 -0
+# Configure options:
+# --disable-audio, --disable-multisense remove libsndfile dependency.
+# --disable-cxx-bindings: disable C++11 bindings.
+# --disable-fontconfig: remove dependency on fontconfig.
+# --disable-fribidi: remove dependency on libfribidi.

package/efl/libefl/libefl.mk line 60

Quoted 10 lines
package/efl/libefl/libefl.mk new file +10 -0
+# --disable-gstreamer1: remove dependency on gtreamer 1.0.
+# --disable-libeeze: remove libudev dependency.
+# --disable-libmount: remove dependency on host-util-linux libmount.
+# --disable-physics: remove Bullet dependency.
+# --enable-image-loader-gif=no: disable Gif dependency.
+# --enable-image-loader-tiff=no: disable Tiff dependency.
+# --enable-lua-old: disable Elua and remove luajit dependency.
+# --with-crypto=none: remove dependencies on openssl or gnutls.
+# --with-x11=none: remove dependency on X.org.
+#   Yes I really know what I am doing.

I think it is good to document the options, but only when there is actually a reason to do so. For example, in the list above, documenting --disable-fontconf, --disable-fridibi, --disable-gstreamer1, --disable-mount, --enable-image-loader-gif=no, --enable-image-loader-tiff=no, --with-crypto=none and --with-x11=none is useless, since your explanation does not add any value compared to the name of the option.

For the other ones, it is less obvious, so it is useful. So I think it is better to document the ones for which an additional comment is needed, and for the others, just don't add any comment.

I've applied your patch despite those comments, as they can be addressed later on.

Thanks,

Thomas

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

PATCH v9 6/32 package/efl/libefl: new package

In reply to Romain Naour

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].

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!).
---
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)

Vicente, can you test this new series and resend your Tested-By tag ? Thanks !

---
 package/efl/Config.in        |  23 +++++--
 package/efl/libefl/Config.in | 114 ++++++++++++++++++++++++++++++++
 package/efl/libefl/libefl.mk | 150 +++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 282 insertions(+), 5 deletions(-)
 create mode 100644 package/efl/libefl/Config.in
package/efl/Config.in +18 -5
index 7ce5a36..1c6f9e5 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_USE_MMU
+	depends on BR2_INSTALL_LIBSTDCPP # libefl
+	depends on BR2_PACKAGE_HAS_UDEV # libefl -> libudev
+	depends on BR2_PACKAGE_LUA # lua 5.1 or better
+	depends on BR2_TOOLCHAIN_HAS_THREADS # libefl
+	depends on BR2_USE_MMU # libefl
+	depends on BR2_USE_WCHAR # libefl
+	depends on !BR2_STATIC_LIBS # libefl
+	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,12 @@ 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_LUA || !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 || !BR2_PACKAGE_HAS_UDEV || !BR2_INSTALL_LIBSTDCPP \
+		|| BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HAS_THREADS || !BR2_USE_WCHAR
+	depends on BR2_USE_MMU
package/efl/libefl/Config.in new file +114 -0

114 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
#11 lore raw

PATCH v9 6/32 package/efl/libefl: new package

Dear Romain Naour,

Quoted 7 lines · Romain Naour
package/efl/Config.in +0 -0
index 7ce5a36..1c6f9e5 100644
@@ -1,8 +1,13 @@
 menuconfig BR2_PACKAGE_EFL
 	bool "Enlightenment Foundation Libraries"

package/efl/Config.in line 9

Quoted 10 lines
package/efl/Config.in +7 -3
-	depends on BR2_USE_WCHAR
-	# libeina uses madvise(). To revisit when bumping EFL to 1.8
-	depends on BR2_USE_MMU
+	depends on BR2_INSTALL_LIBSTDCPP # libefl
+	depends on BR2_PACKAGE_HAS_UDEV # libefl -> libudev
+	depends on BR2_PACKAGE_LUA # lua 5.1 or better
+	depends on BR2_TOOLCHAIN_HAS_THREADS # libefl
+	depends on BR2_USE_MMU # libefl
+	depends on BR2_USE_WCHAR # libefl
+	depends on !BR2_STATIC_LIBS # libefl

So we have all these dependencies here in package/efl/Config.in and then duplicated in package/efl/libefl/Config.in. Is this really needed?

Quoted 17 lines
package/efl/Config.in +2 -1
+	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,12 @@ source "package/efl/libedbus/Config.in"
 
 endif # BR2_PACKAGE_EFL
 
-comment "EFL needs a toolchain w/ wchar"

package/efl/Config.in source "package/efl/libedbus/Config.in" · line 41

Quoted 10 lines
package/efl/Config.in +9 -1
-	depends on !BR2_USE_WCHAR
+comment "EFL needs udev /dev management and a toolchain w/ C++, dynamic library, threads, wchar"
+	depends on !BR2_PACKAGE_LUA || !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 || !BR2_PACKAGE_HAS_UDEV || !BR2_INSTALL_LIBSTDCPP \
+		|| BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HAS_THREADS || !BR2_USE_WCHAR
+	depends on BR2_USE_MMU

So if I enable Lua but I don't enable udev, I am still seeing the comment "EFL needs lua".

And ditto: if I don't enable Lua, but I have udev, C++, dynamic library, threads and wchar, I will still see "EFL needs udev /dev management and a toolchain w/ C++, dynamic library, threads, wchar".

Seems like the handling of dependencies is not good here. It should be:

package/efl/Config.in source "package/efl/libedbus/Config.in" · line 41

Quoted 8 lines
package/efl/Config.in +8 -0
+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

Also, do you have a reason for not selecting Lua ?

package/efl/Config.in

Quoted 4 lines
package/efl/Config.in +4 -0
+if BR2_PACKAGE_LIBEFL
+
+config BR2_PACKAGE_LIBEFL_RECOMMENDED_CONFIG
+	bool "Use recommended and tested configurations"

configurations -> configuration

Quoted 49 lines
package/efl/Config.in +49 -0
+	depends on BR2_ARCH_HAS_ATOMICS # pulseaudio
+	select BR2_PACKAGE_BULLET
+	select BR2_PACKAGE_FONTCONFIG
+	select BR2_PACKAGE_GSTREAMER1
+	select BR2_PACKAGE_GST1_PLUGINS_BASE
+	select BR2_PACKAGE_LIBFRIBIDI
+	select BR2_PACKAGE_LIBSNDFILE
+	select BR2_PACKAGE_PULSEAUDIO
+	select BR2_PACKAGE_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.
+
+	  This turns on the following features:
+
+	  - bullet: 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
+
+	  - fontconfig: 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...
+
+	  - gstreamer 1.x: 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.
+
+	  - libfribidi: 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.
+
+	  - libsndfile: 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.
+

package/efl/Config.in

Quoted 10 lines
package/efl/Config.in +10 -0
+	  - pulseaudio: 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.
+
+	  - util-linux' libmount: Libmount is used heavily inside Eeze for
+	    support of removable devices etc... and disabling this will
+	    hurt support for Enlightenment and its filemanager.

I am wondering if it is the right approach. Would it be better to have sub-options for:

[*] Enable bullet support (recommended) [*] Enable fontconfig support (recommended) [*] Enable gstreamer1 support (recommended) [*] Enable libfridi support (recommended) [*] Enable libsndfile support (recommended) [*] Enable pulseaudio support (recommended) [*] Enable libmount support (recommended)

Those options would be enabled by default, and if one of them is not enabled, you can do:

comment "Warning: one of the recommended option for EFL is not enabled"

	depends on !BR2_PACKAGE_LIBEFL_BULLET || \
		!BR2_PACKAGE_LIBEFL_FONTCONFIG || \
		...
Quoted 19 lines
package/efl/Config.in +19 -0
+comment "libevas loaders"
+
+config BR2_PACKAGE_LIBEFL_PNG
+	bool "libevas png loader"
+	select BR2_PACKAGE_LIBPNG
+	help
+	  This enables the loader code that loads png files using
+	  libpng.
+
+config BR2_PACKAGE_LIBEFL_JPEG
+	bool "libevas jpeg loader"
+	help
+	  This enables the loader code that loads jpeg files using
+	  libjpeg.
+
+config BR2_PACKAGE_LIBEFL_GIF
+	bool "libevas gif loader"
+	select BR2_PACKAGE_GIFLIB
+	help

package/efl/Config.in

Quoted 10 lines
package/efl/Config.in +10 -0
+	  This enables the loader code that loads gif files using
+	  libungif.
+
+config BR2_PACKAGE_LIBEFL_TIFF
+	bool "libevas tiff loader"
+	select BR2_PACKAGE_TIFF
+	help
+	  This enables the loader code that loads tiff files.
+
+endif # BR2_PACKAGE_LIBEFL

How do these options fit with the separate libevas-generic-loaders package ?

package/efl/Config.in

Quoted 8 lines
package/efl/Config.in +8 -0
+# Prefer openssl (the default) over gnutls.
+ifeq ($(BR2_PACKAGE_OPENSSL),y)
+LIBEFL_DEPENDENCIES += openssl
+LIBEFL_CONF_OPTS += --with-crypto=openssl
+else ifeq ($(BR2_PACKAGE_GNUTLS)$(BR2_PACKAGE_LIBGCRYPT),yy)
+LIBEFL_DEPENDENCIES += gnutls libgcrypt
+LIBEFL_CONF_OPTS += --with-crypto=gnutls \
+	--with-libgcrypt-prefix=$(STAGING_DIR)/usr

Why do you need both gnutls and libgcrypt for gnutls support ?

Thanks!

Thomas

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

PATCH v9 6/32 package/efl/libefl: new package

Thomas, Romain, All,

On 2015-12-12 15:15 +0100, Thomas Petazzoni spake thusly:

Quoted 5 lines · Romain Naour

package/efl/Config.in

Quoted 4 lines
package/efl/Config.in +0 -0
index 7ce5a36..1c6f9e5 100644

[--SNIP--]

Quoted 10 lines

package/efl/Config.in source "package/efl/libedbus/Config.in" · line 41

Quoted 8 lines
package/efl/Config.in +8 -0
+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

Also, do you have a reason for not selecting Lua ?

Because BR2_PACKAGE_LUA is a provider for the virual package lua-interpreter, and you should not select a provider of a virtual package:

https://buildroot.org/downloads/manual/manual.html#_infrastructure_for_virtual_packages

If your package really requires a specific provider, then you?ll have to make your package depends on this provider; you can not select a provider.

(followed byu an example why this should indeed not be done.)

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.  |
'------------------------------^-------^------------------^--------------------'
#13 lore raw

PATCH v9 6/32 package/efl/libefl: new package

Yann,

Quoted 9 lines · Yann E. MORIN

Because BR2_PACKAGE_LUA is a provider for the virual package lua-interpreter, and you should not select a provider of a virtual package:

https://buildroot.org/downloads/manual/manual.html#_infrastructure_for_virtual_packages

If your package really requires a specific provider, then you?ll have to make your package depends on this provider; you can not select a provider.

Ah, yes, right, I forgot that Lua was a virtual package. Then indeed, we don't have any other option here.

Thanks for the explanation,

Thomas

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

PATCH v9 6/32 package/efl/libefl: new package

In reply to Thomas Petazzoni

Hi Thomas, All,

Le 12/12/2015 15:15, Thomas Petazzoni a ?crit :

Quoted 16 lines

Dear Romain Naour,

Quoted 12 lines · Romain Naour
package/efl/Config.in +2 -3
index 7ce5a36..1c6f9e5 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_USE_MMU
+	depends on BR2_INSTALL_LIBSTDCPP # libefl
+	depends on BR2_PACKAGE_HAS_UDEV # libefl -> libudev
Quoted 8 lines

package/efl/Config.in line 9

Quoted 5 lines
package/efl/Config.in +5 -0
+	depends on BR2_PACKAGE_LUA # lua 5.1 or better
+	depends on BR2_TOOLCHAIN_HAS_THREADS # libefl
+	depends on BR2_USE_MMU # libefl
+	depends on BR2_USE_WCHAR # libefl
+	depends on !BR2_STATIC_LIBS # libefl

So we have all these dependencies here in package/efl/Config.in and then duplicated in package/efl/libefl/Config.in. Is this really needed?

Indeed, it's not really great but since BR2_PACKAGE_EFL select BR2_PACKAGE_LIBEFL all libefl dependencies must be propagated.

Do you want I remove the dependencies from libefl package ? I'm not sure the right thing to do here.

Quoted 17 lines
Quoted 17 lines
package/efl/Config.in +2 -0
+	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,12 @@ source "package/efl/libedbus/Config.in"
 
 endif # BR2_PACKAGE_EFL
 
Quoted 11 lines

package/efl/Config.in source "package/efl/libedbus/Config.in" · line 41

Quoted 11 lines
package/efl/Config.in +9 -2
-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_LUA || !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 || !BR2_PACKAGE_HAS_UDEV || !BR2_INSTALL_LIBSTDCPP \
+		|| BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HAS_THREADS || !BR2_USE_WCHAR
+	depends on BR2_USE_MMU

Humm, it look like the comments dependencies are the same here..

Quoted 10 lines

So if I enable Lua but I don't enable udev, I am still seeing the comment "EFL needs lua".

And ditto: if I don't enable Lua, but I have udev, C++, dynamic library, threads and wchar, I will still see "EFL needs udev /dev management and a toolchain w/ C++, dynamic library, threads, wchar".

Seems like the handling of dependencies is not good here. It should be:

Quoted 8 lines

package/efl/Config.in source "package/efl/libedbus/Config.in" · line 41

Quoted 8 lines
package/efl/Config.in +8 -0
+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

Look better, thanks :)

Quoted 2 lines

Also, do you have a reason for not selecting Lua ?

Yann reported in his review that Lua is a virtual package, so we can't select it.

Quoted 80 lines

package/efl/Config.in

Quoted 6 lines
package/efl/Config.in +4 -0
+if BR2_PACKAGE_LIBEFL
+
+config BR2_PACKAGE_LIBEFL_RECOMMENDED_CONFIG
+	bool "Use recommended and tested configurations"

configurations -> configuration

Quoted 49 lines
package/efl/Config.in +49 -0
+	depends on BR2_ARCH_HAS_ATOMICS # pulseaudio
+	select BR2_PACKAGE_BULLET
+	select BR2_PACKAGE_FONTCONFIG
+	select BR2_PACKAGE_GSTREAMER1
+	select BR2_PACKAGE_GST1_PLUGINS_BASE
+	select BR2_PACKAGE_LIBFRIBIDI
+	select BR2_PACKAGE_LIBSNDFILE
+	select BR2_PACKAGE_PULSEAUDIO
+	select BR2_PACKAGE_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.
+
+	  This turns on the following features:
+
+	  - bullet: 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
+
+	  - fontconfig: 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...
+
+	  - gstreamer 1.x: 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.
+
+	  - libfribidi: 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.
+
+	  - libsndfile: 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.
+

package/efl/Config.in

Quoted 10 lines
package/efl/Config.in +10 -0
+	  - pulseaudio: 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.
+
+	  - util-linux' libmount: Libmount is used heavily inside Eeze for
+	    support of removable devices etc... and disabling this will
+	    hurt support for Enlightenment and its filemanager.

I am wondering if it is the right approach. Would it be better to have sub-options for:

[*] Enable bullet support (recommended) [*] Enable fontconfig support (recommended) [*] Enable gstreamer1 support (recommended) [*] Enable libfridi support (recommended) [*] Enable libsndfile support (recommended) [*] Enable pulseaudio support (recommended) [*] Enable libmount support (recommended)

Quoted 8 lines

Those options would be enabled by default, and if one of them is not enabled, you can do:

comment "Warning: one of the recommended option for EFL is not enabled"

	depends on !BR2_PACKAGE_LIBEFL_BULLET || \
		!BR2_PACKAGE_LIBEFL_FONTCONFIG || \
		...

Yes, we can try to do that but we need to be sure to add --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 to LIBEFL_CONF_OPTS if one of them is disabled.

Quoted 24 lines
Quoted 24 lines
package/efl/Config.in +24 -0
+comment "libevas loaders"
+
+config BR2_PACKAGE_LIBEFL_PNG
+	bool "libevas png loader"
+	select BR2_PACKAGE_LIBPNG
+	help
+	  This enables the loader code that loads png files using
+	  libpng.
+
+config BR2_PACKAGE_LIBEFL_JPEG
+	bool "libevas jpeg loader"
+	help
+	  This enables the loader code that loads jpeg files using
+	  libjpeg.
+
+config BR2_PACKAGE_LIBEFL_GIF
+	bool "libevas gif loader"
+	select BR2_PACKAGE_GIFLIB
+	help
+	  This enables the loader code that loads gif files using
+	  libungif.
+
+config BR2_PACKAGE_LIBEFL_TIFF
+	bool "libevas tiff loader"
Quoted 8 lines

package/efl/Config.in

Quoted 5 lines
package/efl/Config.in +5 -0
+	select BR2_PACKAGE_TIFF
+	help
+	  This enables the loader code that loads tiff files.
+
+endif # BR2_PACKAGE_LIBEFL

How do these options fit with the separate libevas-generic-loaders package ?

As far I know libevas-generic-loaders provide additional images loaders that are not available in libevas:

From libevas-generic-loaders README:
* **XCF** (.xcf .xcf.gz)
* **PDF** (using poppler)
* use -key option to specific what page to get and load options for size Should we add mupdf ?
* **PS** (using libspectre)
* use -key option to specific what page to get and load options for size Should we use directly libgs ?
* **RAW** (using libraw)
* **SVG** (using librsvg)
* **MPG/AVI/OGV/MOV/MKV/WMV** etc. (using gstreamer)
* Should we add libxine and vlc ?
* **PPT/PPTX/DOC/DOCX/XLS** etc.
* Required PDF loader, and uses libreoffice binaries as slaves to export PDFs to load

Quoted 11 lines

package/efl/Config.in

Quoted 9 lines
package/efl/Config.in +8 -0
+# Prefer openssl (the default) over gnutls.
+ifeq ($(BR2_PACKAGE_OPENSSL),y)
+LIBEFL_DEPENDENCIES += openssl
+LIBEFL_CONF_OPTS += --with-crypto=openssl
+else ifeq ($(BR2_PACKAGE_GNUTLS)$(BR2_PACKAGE_LIBGCRYPT),yy)
+LIBEFL_DEPENDENCIES += gnutls libgcrypt
+LIBEFL_CONF_OPTS += --with-crypto=gnutls \
+	--with-libgcrypt-prefix=$(STAGING_DIR)/usr

Why do you need both gnutls and libgcrypt for gnutls support ?

I've keept libgcrypt dependency from the old libecore package. I'm not sure we still need it.

Best regards,
Romain

Quoted 5 lines

Thanks!

Thomas

#15 lore raw

PATCH v9 6/32 package/efl/libefl: new package

Thomas,

Quoted 12 lines
Quoted 11 lines

package/efl/libefl/libefl.mk LIBEFL_LICENSE_FILES = \ · line 133

Quoted 9 lines
package/efl/libefl/libefl.mk +8 -0
+# Prefer openssl (the default) over gnutls.
+ifeq ($(BR2_PACKAGE_OPENSSL),y)
+LIBEFL_DEPENDENCIES += openssl
+LIBEFL_CONF_OPTS += --with-crypto=openssl
+else ifeq ($(BR2_PACKAGE_GNUTLS)$(BR2_PACKAGE_LIBGCRYPT),yy)
+LIBEFL_DEPENDENCIES += gnutls libgcrypt
+LIBEFL_CONF_OPTS += --with-crypto=gnutls \
+	--with-libgcrypt-prefix=$(STAGING_DIR)/usr

Why do you need both gnutls and libgcrypt for gnutls support ?

Quoted 2 lines

I've keept libgcrypt dependency from the old libecore package. I'm not sure we still need it.

libgcrypt is still needed for the gnutls support otherwise:

lib/emile/emile_main.c:8:20: fatal error: gcrypt.h: No such file or directory
#include <gcrypt.h>

Best regards,
Romain

Quoted 14 lines

Best regards,
Romain

Quoted 5 lines

Thanks!

Thomas

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

#16 lore raw

PATCH v9 6/32 package/efl/libefl: new package

Romain,

Quoted 7 lines · Romain Naour
Quoted 2 lines

I've keept libgcrypt dependency from the old libecore package. I'm not sure we still need it.

libgcrypt is still needed for the gnutls support otherwise:

lib/emile/emile_main.c:8:20: fatal error: gcrypt.h: No such file or directory
#include <gcrypt.h>

OK. A bit weird, but well, if that's how it's done, let's go for it.

Thanks,

Thomas

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

PATCH v9 6/32 package/efl/libefl: new package

In reply to Romain Naour

Hi Thomas, Yann, All,

Le 12/12/2015 19:38, Romain Naour a ?crit :

Quoted 28 lines

Hi Thomas, All,

Le 12/12/2015 15:15, Thomas Petazzoni a ?crit :

Quoted 16 lines

Dear Romain Naour,

Quoted 12 lines · Romain Naour
package/efl/Config.in +2 -3
index 7ce5a36..1c6f9e5 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_USE_MMU
+	depends on BR2_INSTALL_LIBSTDCPP # libefl
+	depends on BR2_PACKAGE_HAS_UDEV # libefl -> libudev
Quoted 8 lines

package/efl/Config.in line 9

Quoted 5 lines
package/efl/Config.in +5 -0
+	depends on BR2_PACKAGE_LUA # lua 5.1 or better
+	depends on BR2_TOOLCHAIN_HAS_THREADS # libefl
+	depends on BR2_USE_MMU # libefl
+	depends on BR2_USE_WCHAR # libefl
+	depends on !BR2_STATIC_LIBS # libefl

So we have all these dependencies here in package/efl/Config.in and then duplicated in package/efl/libefl/Config.in. Is this really needed?

Quoted 6 lines

Indeed, it's not really great but since BR2_PACKAGE_EFL select BR2_PACKAGE_LIBEFL all libefl dependencies must be propagated.

Do you want I remove the dependencies from libefl package ? I'm not sure the right thing to do here.

In a previous series I wanted to make BR2_PACKAGE_EFL a real buildroot package.

So what Yann and me suggest is indeed duplicate the dependencies in this patch and at the end of the series remove them and change the BR2_PACKAGE_EFL from a menuconfig to a simple menu:

menu "Enlightenment Foundation Libraries"

source "package/efl/libefl/Config.in"
source "package/efl/libelementary/Config.in"

endmenu

By doing this we can even rename the libefl package by efl in order to keep the previously used Kconfig BR2_PACKAGE_EFL.

We can do that only at the end of the series after the old {libecore,libevas...} removal.

Thoughts ?

Best regards,
Romain

#18 lore raw

PATCH v9 6/32 package/efl/libefl: new package

Romain, Thomas,

On 2015-12-15 00:08 +0100, Romain Naour spake thusly:

Quoted 49 lines

Le 12/12/2015 19:38, Romain Naour a ?crit :

Quoted 28 lines

Hi Thomas, All,

Le 12/12/2015 15:15, Thomas Petazzoni a ?crit :

Quoted 16 lines

Dear Romain Naour,

Quoted 12 lines · Romain Naour
package/efl/Config.in +2 -3
index 7ce5a36..1c6f9e5 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_USE_MMU
+	depends on BR2_INSTALL_LIBSTDCPP # libefl
+	depends on BR2_PACKAGE_HAS_UDEV # libefl -> libudev
Quoted 8 lines

package/efl/Config.in line 9

Quoted 5 lines
package/efl/Config.in +5 -0
+	depends on BR2_PACKAGE_LUA # lua 5.1 or better
+	depends on BR2_TOOLCHAIN_HAS_THREADS # libefl
+	depends on BR2_USE_MMU # libefl
+	depends on BR2_USE_WCHAR # libefl
+	depends on !BR2_STATIC_LIBS # libefl

So we have all these dependencies here in package/efl/Config.in and then duplicated in package/efl/libefl/Config.in. Is this really needed?

Quoted 6 lines

Indeed, it's not really great but since BR2_PACKAGE_EFL select BR2_PACKAGE_LIBEFL all libefl dependencies must be propagated.

Do you want I remove the dependencies from libefl package ? I'm not sure the right thing to do here.

In a previous series I wanted to make BR2_PACKAGE_EFL a real buildroot package.

So what Yann and me suggest is indeed duplicate the dependencies in this patch and at the end of the series remove them and change the BR2_PACKAGE_EFL from a menuconfig to a simple menu:

menu "Enlightenment Foundation Libraries"

source "package/efl/libefl/Config.in"
source "package/efl/libelementary/Config.in"

endmenu

Quoted 7 lines

By doing this we can even rename the libefl package by efl in order to keep the previously used Kconfig BR2_PACKAGE_EFL.

We can do that only at the end of the series after the old {libecore,libevas...} removal.

Thoughts ?

Indeed, I think this is the best solution.

The current patch is transitional, since the old EFL packages are only removed at the end.

However, if the duplication is still a concern, an option would be to just have the dependencies on BR2_PACKAGE_EFL, and none on BR2_PACKAGE_LIBEFL, like so:

package/efl/Config.in:
config BR2_PACKAGE_EFL
bool "EFL blabla"
depends on C++
depends on bla
depends on blabla
select BR2_PACKAGE_LIBEFL

package/efl/libefl/Config.in:
config BR2_PACKAGE_LIBEFL
bool "libefl"

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.  |
'------------------------------^-------^------------------^--------------------'
#19 lore raw

PATCH v9 7/32 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
#20 lore raw

PATCH v9 8/32 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 ac871bf..3cf4b4e 100644
@@ -11,6 +11,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
#21 lore raw

PATCH v9 9/32 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 3cf4b4e..0b89411 100644
@@ -112,4 +112,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
#22 lore raw

PATCH v9 10/32 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 0b89411..4a202a0 100644
@@ -84,6 +84,11 @@ config BR2_PACKAGE_LIBEFL_RECOMMENDED_CONFIG
 	    support of removable devices etc... and disabling this will
 	    hurt support for Enlightenment and its filemanager.
 
+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
#23 lore raw

PATCH v9 11/32 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 4a202a0..72b7347 100644
@@ -98,6 +98,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
#24 lore raw

PATCH v9 12/32 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 72b7347..560a7b3 100644
@@ -89,6 +89,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
#25 lore raw

PATCH v9 13/32 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 560a7b3..73e14ae 100644
@@ -105,6 +105,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
#26 lore raw

PATCH v9 14/32 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 73e14ae..ecc54f2 100644
@@ -97,6 +97,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
#27 lore raw

PATCH v9 15/32 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
#28 lore raw

PATCH v9 16/32 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
#29 lore raw

PATCH v9 17/32 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
#30 lore raw

PATCH v9 18/32 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
#31 lore raw

PATCH v9 19/32 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
#32 lore raw

PATCH v9 20/32 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.

---
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.mk | 13 +++++++++----
 2 files changed, 11 insertions(+), 10 deletions(-)
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.mk +9 -4
index 9b232f8..6b3bbfe 100644
@@ -4,14 +4,19 @@
 #
 ################################################################################
 
-EXPEDITE_VERSION = 1.7.10
-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),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
#33 lore raw

PATCH v9 21/32 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
#34 lore raw

PATCH v9 22/32 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 1c6f9e5..ff8ba83 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
#35 lore raw

PATCH v9 23/32 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 ff8ba83..417534c 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
#36 lore raw

PATCH v9 24/32 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 417534c..2f6d94d 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
#37 lore raw

PATCH v9 25/32 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 2f6d94d..509f356 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
#38 lore raw

PATCH v9 26/32 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 509f356..a4ad1d9 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
#39 lore raw

PATCH v9 27/32 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 a4ad1d9..61e44fe 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
#40 lore raw

PATCH v9 28/32 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 61e44fe..515d51e 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
#41 lore raw

PATCH v9 29/32 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 515d51e..92bc64f 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
#42 lore raw

PATCH v9 30/32 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 92bc64f..1dc466e 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
#43 lore raw

PATCH v9 31/32 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 1dc466e..4e802ba 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
#44 lore raw

PATCH v9 32/32 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 00aedad..aa82629 100644
@@ -827,6 +827,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