Skip to contentSkip to conversation

libeina: Add new package along with EFL infrastructure.

PATCH New Will Newton 2 participants 2 messages Jan 18, 2012 – Jan 21, 2012

lore
Share & tools
lore
#0 lore raw

PATCH 1/7 libeina: Add new package along with EFL infrastructure.

---
 package/Config.in              |    2 ++
 package/efl/Config.in          |   16 ++++++++++++++++
 package/efl/efl.mk             |    3 +++
 package/efl/libeina/Config.in  |    4 ++++
 package/efl/libeina/libeina.mk |   18 ++++++++++++++++++
 5 files changed, 43 insertions(+), 0 deletions(-)
 create mode 100644 package/efl/Config.in
 create mode 100644 package/efl/efl.mk
 create mode 100644 package/efl/libeina/Config.in
 create mode 100644 package/efl/libeina/libeina.mk
package/Config.in +2 -0
index 2e91427..e86b80e 100644
@@ -121,6 +121,8 @@ comment "other GUIs"
 source "package/qt/Config.in"
 source "package/x11r7/Config.in"
 
+source "package/efl/Config.in"
+
 comment "X libraries and helper libraries"
 source "package/liberation/Config.in"
 source "package/libsexy/Config.in"
package/efl/Config.in new file +16 -0
new file mode 100644
index 0000000..cc677cb
@@ -0,0 +1,16 @@
+menuconfig BR2_PACKAGE_EFL
+	bool "Enlightenment Foundation Libraries"
+	depends on BR2_USE_WCHAR
+	help
+	  Enlightenment Foundation Libraries
+
+	  http://enlightenment.org
+
+if BR2_PACKAGE_EFL
+
+source "package/efl/libeina/Config.in"
+
+endif # BR2_PACKAGE_EFL
+
+comment "EFL requires WCHAR support in toolchain"
+	depends on !BR2_USE_WCHAR
package/efl/efl.mk new file +3 -0
new file mode 100644
index 0000000..1f9f43a
@@ -0,0 +1,3 @@
+ifeq ($(BR2_PACKAGE_EFL),y)
+include package/efl/*/*.mk
+endif
package/efl/libeina/Config.in new file +4 -0
new file mode 100644
index 0000000..b937b3b
@@ -0,0 +1,4 @@
+config BR2_PACKAGE_LIBEINA
+	bool "libeina"
+	help
+	  Eina is a tiny library to handle data types (list, hash, etc.)
package/efl/libeina/libeina.mk new file +18 -0
new file mode 100644
index 0000000..879a878
@@ -0,0 +1,18 @@
+#############################################################
+#
+# libeina
+#
+#############################################################
+
+LIBEINA_VERSION = 1.1.0
+LIBEINA_SOURCE = eina-$(LIBEINA_VERSION).tar.bz2
+LIBEINA_SITE = http://download.enlightenment.org/releases/
+LIBEINA_AUTORECONF = YES
+LIBEINA_LIBTOOL_PATCH = YES
+LIBEINA_INSTALL_STAGING = YES
+LIBEINA_INSTALL_TARGET = YES
+
+LIBEINA_DEPENDENCIES = host-pkg-config
+
+$(eval $(call AUTOTARGETS))
+
Signature · 2 lines
1.7.1
-------------- next part --------------
#1 lore raw

PATCH 1/7 libeina: Add new package along with EFL infrastructure.

Quoted 1 line · On Wednesday 18 January 2012 12:15:20 Will Newton wrote:

Nit-picking: the short commit message shouldn't end with a .

Quoted 17 lines
---
 package/Config.in              |    2 ++
 package/efl/Config.in          |   16 ++++++++++++++++
 package/efl/efl.mk             |    3 +++
 package/efl/libeina/Config.in  |    4 ++++
 package/efl/libeina/libeina.mk |   18 ++++++++++++++++++
 5 files changed, 43 insertions(+), 0 deletions(-)
 create mode 100644 package/efl/Config.in
 create mode 100644 package/efl/efl.mk
 create mode 100644 package/efl/libeina/Config.in
 create mode 100644 package/efl/libeina/libeina.mk
package/Config.in +0 -0
index 2e91427..e86b80e 100644

package/Config.in comment "other GUIs" · line 125

Quoted 5 lines
package/Config.in +2 -0
@@ -121,6 +121,8 @@ comment "other GUIs"
 source "package/qt/Config.in"
 source "package/x11r7/Config.in"
 
+source "package/efl/Config.in"
+

Should come before qt (to keep alphabetic order) and the empty line
is redundant.

Quoted 31 lines
package/Config.in +0 -0
 comment "X libraries and helper libraries"
 source "package/liberation/Config.in"
 source "package/libsexy/Config.in"
package/efl/Config.in new file +16 -0
new file mode 100644
index 0000000..cc677cb
@@ -0,0 +1,16 @@
+menuconfig BR2_PACKAGE_EFL
+	bool "Enlightenment Foundation Libraries"
+	depends on BR2_USE_WCHAR
+	help
+	  Enlightenment Foundation Libraries
+
+	  http://enlightenment.org
+
+if BR2_PACKAGE_EFL
+
+source "package/efl/libeina/Config.in"
+
+endif # BR2_PACKAGE_EFL
+
+comment "EFL requires WCHAR support in toolchain"
+	depends on !BR2_USE_WCHAR
package/efl/efl.mk new file +0 -0
new file mode 100644
index 0000000..1f9f43a

package/efl/efl.mk line 1

Quoted 1 line
package/efl/efl.mk new file +1 -0
@@ -0,0 +1,3 @@
+ifeq ($(BR2_PACKAGE_EFL),y)

Personally I'm not in favour of this kind of conditional inclusion of .mk
files. It removes the possibility to do a quick 'make libeina'. And unlike x11r7, EFL does not add 260 packages to the overhead is affordable.

Quoted 19 lines
package/efl/efl.mk new file +2 -0
+include package/efl/*/*.mk
+endif
package/efl/libeina/Config.in new file +4 -0
new file mode 100644
index 0000000..b937b3b
@@ -0,0 +1,4 @@
+config BR2_PACKAGE_LIBEINA
+	bool "libeina"
+	help
+	  Eina is a tiny library to handle data types (list, hash, etc.)
package/efl/libeina/libeina.mk new file +1 -0
new file mode 100644
index 0000000..879a878
@@ -0,0 +1,18 @@
+#############################################################

package/efl/libeina/libeina.mk line 11

Quoted 10 lines
package/efl/libeina/libeina.mk new file +10 -0
+#
+# libeina
+#
+#############################################################
+
+LIBEINA_VERSION = 1.1.0
+LIBEINA_SOURCE = eina-$(LIBEINA_VERSION).tar.bz2
+LIBEINA_SITE = http://download.enlightenment.org/releases/
+LIBEINA_AUTORECONF = YES
+LIBEINA_LIBTOOL_PATCH = YES

YES is default for _LIBTOOL_PATCH, so drop that.

package/efl/libeina/libeina.mk line 13

Quoted 2 lines
package/efl/libeina/libeina.mk new file +2 -0
+LIBEINA_INSTALL_STAGING = YES
+LIBEINA_INSTALL_TARGET = YES

YES is default for _INSTALL_TARGET, so drop that.

package/efl/libeina/libeina.mk line 18

Quoted 5 lines
package/efl/libeina/libeina.mk new file +5 -0
+
+LIBEINA_DEPENDENCIES = host-pkg-config
+
+$(eval $(call AUTOTARGETS))
+

Nit-picking: redundant empty line.

Regards,
Arnout

Signature · 6 lines
Arnout Vandecappelle                               arnout at mind be
Senior Embedded Software Architect                 +32-16-286540
Essensium/Mind                                     http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium                BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint:  7CB5 E4CC 6C2E EFD4 6E3D A754 F963 ECAB 2450 2F1F