All of lore.kernel.org
 help / color / mirror / Atom feed
From: Romain Naour <romain.naour@openwide.fr>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH v10 12/28] package/efl/libelementary: bump to version 1.15.2
Date: Tue, 15 Dec 2015 23:40:24 +0100	[thread overview]
Message-ID: <1450219240-16938-13-git-send-email-romain.naour@openwide.fr> (raw)
In-Reply-To: <1450219240-16938-1-git-send-email-romain.naour@openwide.fr>

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.

Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
---
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

diff --git a/package/efl/libelementary/Config.in b/package/efl/libelementary/Config.in
index fcc7025..1f8c962 100644
--- a/package/efl/libelementary/Config.in
+++ b/package/efl/libelementary/Config.in
@@ -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
diff --git a/package/efl/libelementary/libelementary.hash b/package/efl/libelementary/libelementary.hash
new file mode 100644
index 0000000..2cd36d8
--- /dev/null
+++ b/package/efl/libelementary/libelementary.hash
@@ -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
diff --git a/package/efl/libelementary/libelementary.mk b/package/efl/libelementary/libelementary.mk
index 8bd69fe..4ba8681 100644
--- a/package/efl/libelementary/libelementary.mk
+++ b/package/efl/libelementary/libelementary.mk
@@ -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))
-- 
2.4.3

  parent reply	other threads:[~2015-12-15 22:40 UTC|newest]

Thread overview: 39+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-15 22:40 [Buildroot] [PATCH v10 00/28] efl bump to 1.15.2 Romain Naour
2015-12-15 22:40 ` [Buildroot] [PATCH v10 01/28] package/efl/libefl: new package Romain Naour
2015-12-16 20:32   ` Thomas Petazzoni
2015-12-16 21:36     ` Yann E. MORIN
2015-12-16 21:45       ` Thomas Petazzoni
2015-12-17 22:09     ` Romain Naour
2015-12-17 22:17       ` Thomas Petazzoni
2015-12-17 22:21       ` Yann E. MORIN
2015-12-15 22:40 ` [Buildroot] [PATCH v10 02/28] package/efl/libefl: add harfbuzz dependency Romain Naour
2015-12-15 22:40 ` [Buildroot] [PATCH v10 03/28] package/efl/libefl: add wayland dependency Romain Naour
2015-12-15 22:40 ` [Buildroot] [PATCH v10 04/28] package/efl/libefl: add webp dependency Romain Naour
2015-12-15 22:40 ` [Buildroot] [PATCH v10 05/28] package/efl/libefl: add frame buffer config option Romain Naour
2015-12-15 22:40 ` [Buildroot] [PATCH v10 06/28] package/efl/libefl: add jp2k " Romain Naour
2015-12-15 22:40 ` [Buildroot] [PATCH v10 07/28] package/efl/libefl: add X11 support Romain Naour
2015-12-15 22:40 ` [Buildroot] [PATCH v10 08/28] package/efl/libefl: add OpenGLES support Romain Naour
2015-12-15 22:40 ` [Buildroot] [PATCH v10 09/28] package/efl/libefl: enable xinput2.2 Romain Naour
2015-12-15 22:40 ` [Buildroot] [PATCH v10 10/28] package/libevas-generic-loaders: bump to version 1.15.0 Romain Naour
2015-12-15 22:40 ` [Buildroot] [PATCH v10 11/28] package/libevas-generic-loaders: add libraw dependency Romain Naour
2015-12-15 22:40 ` Romain Naour [this message]
2015-12-15 22:40 ` [Buildroot] [PATCH v10 13/28] package/efl: libefl and libelementary share the same version number Romain Naour
2015-12-15 22:40 ` [Buildroot] [PATCH v10 14/28] package/enlightenment: bump to version 0.19.12 Romain Naour
2015-12-15 22:40 ` [Buildroot] [PATCH v10 15/28] package/expedite: bump to efl-1.15 branch Romain Naour
2015-12-15 22:40 ` [Buildroot] [PATCH v10 16/28] package/dbus-cpp: switch to libefl Romain Naour
2015-12-15 22:40 ` [Buildroot] [PATCH v10 17/28] package/efl/libethumb: remove package Romain Naour
2015-12-15 22:40 ` [Buildroot] [PATCH v10 18/28] package/efl/libedje: " Romain Naour
2015-12-15 22:40 ` [Buildroot] [PATCH v10 19/28] package/efl/libembryo: " Romain Naour
2015-12-15 22:40 ` [Buildroot] [PATCH v10 20/28] package/efl/libeio: " Romain Naour
2015-12-15 22:40 ` [Buildroot] [PATCH v10 21/28] package/efl/libefreet: " Romain Naour
2015-12-15 22:40 ` [Buildroot] [PATCH v10 22/28] package/efl/libedbus: " Romain Naour
2015-12-15 22:40 ` [Buildroot] [PATCH v10 23/28] package/efl/libecore: " Romain Naour
2015-12-15 22:40 ` [Buildroot] [PATCH v10 24/28] package/efl/libevas: " Romain Naour
2015-12-15 22:40 ` [Buildroot] [PATCH v10 25/28] package/efl/libeet: " Romain Naour
2015-12-15 22:40 ` [Buildroot] [PATCH v10 26/28] package/efl/libeina: " Romain Naour
2015-12-15 22:40 ` [Buildroot] [PATCH v10 27/28] package/libemotion-generic-players: new package Romain Naour
2015-12-15 22:40 ` [Buildroot] [PATCH v10 28/28] package/efl: rename libefl to efl Romain Naour
2015-12-17 23:11 ` [Buildroot] [PATCH v10 00/28] efl bump to 1.15.2 Thomas Petazzoni
2015-12-19 14:30   ` Romain Naour
2015-12-19 14:47     ` Thomas Petazzoni
2015-12-19 15:57     ` Yann E. MORIN

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1450219240-16938-13-git-send-email-romain.naour@openwide.fr \
    --to=romain.naour@openwide.fr \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.