* [Buildroot] [PATCH 07/14] libecore: Add new package
@ 2012-01-26 17:42 Will Newton
2012-01-29 19:02 ` Peter Korsgaard
0 siblings, 1 reply; 3+ messages in thread
From: Will Newton @ 2012-01-26 17:42 UTC (permalink / raw)
To: buildroot
Signed-off-by: Will Newton <will.newton@imgtec.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
---
package/efl/Config.in | 1 +
package/efl/libecore/Config.in | 36 ++++++++++++++++++++++
package/efl/libecore/libecore.mk | 62 ++++++++++++++++++++++++++++++++++++++
3 files changed, 99 insertions(+), 0 deletions(-)
create mode 100644 package/efl/libecore/Config.in
create mode 100644 package/efl/libecore/libecore.mk
diff --git a/package/efl/Config.in b/package/efl/Config.in
index 27d1f95..3007783 100644
--- a/package/efl/Config.in
+++ b/package/efl/Config.in
@@ -9,6 +9,7 @@ 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/libevas/Config.in"
diff --git a/package/efl/libecore/Config.in b/package/efl/libecore/Config.in
new file mode 100644
index 0000000..35c9966
--- /dev/null
+++ b/package/efl/libecore/Config.in
@@ -0,0 +1,36 @@
+config BR2_PACKAGE_LIBECORE
+ bool "libecore"
+ select BR2_PACKAGE_LIBEINA
+ help
+ Ecore is the event/X abstraction layer that makes doing
+ selections, Xdnd, general X stuff, event loops, timeouts and
+ idle handlers fast, optimized, and convenient.
+
+if BR2_PACKAGE_LIBECORE
+
+config BR2_PACKAGE_LIBECORE_DIRECTFB
+ bool "libecore DirectFB support"
+ select BR2_PACKAGE_DIRECTFB
+
+config BR2_PACKAGE_LIBECORE_FB
+ bool "libecore framebuffer support"
+
+config BR2_PACKAGE_LIBECORE_SDL
+ bool "libecore SDL support"
+ select BR2_PACKAGE_SDL
+
+config BR2_PACKAGE_LIBECORE_X
+ bool "libecore X support"
+ depends on BR2_PACKAGE_XORG7
+ select BR2_PACKAGE_XLIB_LIBXEXT
+
+config BR2_PACKAGE_LIBECORE_X_XCB
+ bool "libecore XCB support"
+ depends on BR2_PACKAGE_LIBECORE_X
+ select BR2_PACKAGE_XCB_PROTO
+
+config BR2_PACKAGE_LIBECORE_EVAS
+ bool "libecore Evas support"
+ select BR2_PACKAGE_LIBEVAS
+
+endif # BR2_PACKAGE_LIBECORE
diff --git a/package/efl/libecore/libecore.mk b/package/efl/libecore/libecore.mk
new file mode 100644
index 0000000..c2ebef4
--- /dev/null
+++ b/package/efl/libecore/libecore.mk
@@ -0,0 +1,62 @@
+#############################################################
+#
+# libecore
+#
+#############################################################
+
+LIBECORE_VERSION = 1.1.0
+LIBECORE_SOURCE = ecore-$(LIBECORE_VERSION).tar.bz2
+LIBECORE_SITE = http://download.enlightenment.org/releases/
+LIBECORE_INSTALL_STAGING = YES
+
+LIBECORE_DEPENDENCIES = host-pkg-config libeina
+
+HOST_LIBECORE_DEPENDENCIES = host-pkg-config host-libeina host-libevas
+HOST_LIBECORE_CONF_OPT += --enable-ecore-evas
+
+# default options
+LIBECORE_CONF_OPT = --disable-simple-x11
+
+# libecore
+ifeq ($(BR2_PACKAGE_LIBECORE_DIRECTFB),y)
+LIBECORE_CONF_OPT += --enable-ecore-directfb
+else
+LIBECORE_CONF_OPT += --disable-ecore-directfb
+endif
+
+ifeq ($(BR2_PACKAGE_LIBECORE_FB),y)
+LIBECORE_CONF_OPT += --enable-ecore-fb
+else
+LIBECORE_CONF_OPT += --disable-ecore-fb
+endif
+
+ifeq ($(BR2_PACKAGE_LIBECORE_SDL),y)
+LIBECORE_CONF_OPT += --enable-ecore-sdl
+else
+LIBECORE_CONF_OPT += --disable-ecore-sdl
+endif
+
+ifeq ($(BR2_PACKAGE_LIBECORE_X),y)
+LIBECORE_CONF_OPT += --enable-ecore-x
+LIBECORE_DEPENDENCIES += xlib_libXext
+else
+LIBECORE_CONF_OPT += --disable-ecore-x
+endif
+
+ifeq ($(BR2_PACKAGE_LIBECORE_X_XCB),y)
+LIBECORE_CONF_OPT += --enable-ecore-x-xcb
+LIBECORE_DEPENDENCIES += xcb-proto
+else
+LIBECORE_CONF_OPT += --disable-ecore-x-xcb
+endif
+
+# libecore-evas
+ifeq ($(BR2_PACKAGE_LIBECORE_EVAS),y)
+LIBECORE_CONF_OPT += --enable-ecore-evas
+LIBECORE_DEPENDENCIES += libevas
+else
+LIBECORE_CONF_OPT += --disable-ecore-evas
+endif
+
+$(eval $(call AUTOTARGETS))
+$(eval $(call AUTOTARGETS,host))
--
1.7.1
-------------- next part --------------
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [Buildroot] [PATCH 07/14] libecore: Add new package
2012-01-26 17:42 [Buildroot] [PATCH 07/14] libecore: Add new package Will Newton
@ 2012-01-29 19:02 ` Peter Korsgaard
0 siblings, 0 replies; 3+ messages in thread
From: Peter Korsgaard @ 2012-01-29 19:02 UTC (permalink / raw)
To: buildroot
>>>>> "Will" == Will Newton <will.newton@gmail.com> writes:
Will> Signed-off-by: Will Newton <will.newton@imgtec.com>
Will> Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Committed with minor tweaks (see below), thanks.
Will> ---
Will> package/efl/Config.in | 1 +
Will> package/efl/libecore/Config.in | 36 ++++++++++++++++++++++
Will> package/efl/libecore/libecore.mk | 62 ++++++++++++++++++++++++++++++++++++++
Will> 3 files changed, 99 insertions(+), 0 deletions(-)
Will> create mode 100644 package/efl/libecore/Config.in
Will> create mode 100644 package/efl/libecore/libecore.mk
Will> diff --git a/package/efl/Config.in b/package/efl/Config.in
Will> index 27d1f95..3007783 100644
Will> --- a/package/efl/Config.in
Will> +++ b/package/efl/Config.in
Will> @@ -9,6 +9,7 @@ menuconfig BR2_PACKAGE_EFL
Will> if BR2_PACKAGE_EFL
Will> source "package/efl/libeina/Config.in"
Will> +source "package/efl/libecore/Config.in"
Will> source "package/efl/libeet/Config.in"
Will> source "package/efl/libevas/Config.in"
Will> diff --git a/package/efl/libecore/Config.in b/package/efl/libecore/Config.in
Will> new file mode 100644
Will> index 0000000..35c9966
Will> --- /dev/null
Will> +++ b/package/efl/libecore/Config.in
Will> @@ -0,0 +1,36 @@
Will> +config BR2_PACKAGE_LIBECORE
Will> + bool "libecore"
Will> + select BR2_PACKAGE_LIBEINA
Will> + help
Will> + Ecore is the event/X abstraction layer that makes doing
Will> + selections, Xdnd, general X stuff, event loops, timeouts and
Will> + idle handlers fast, optimized, and convenient.
Missing upstream URL.
Will> +
Will> +if BR2_PACKAGE_LIBECORE
Will> +
Will> +config BR2_PACKAGE_LIBECORE_DIRECTFB
Will> + bool "libecore DirectFB support"
Will> + select BR2_PACKAGE_DIRECTFB
People with directfb enabled probably want to enable this as well, so it
makes sense to use default y.
Will> +config BR2_PACKAGE_LIBECORE_FB
Will> + bool "libecore framebuffer support"
Will> +
Will> +config BR2_PACKAGE_LIBECORE_SDL
Will> + bool "libecore SDL support"
Will> + select BR2_PACKAGE_SDL
Will> +
Will> +config BR2_PACKAGE_LIBECORE_X
Will> + bool "libecore X support"
Will> + depends on BR2_PACKAGE_XORG7
Will> + select BR2_PACKAGE_XLIB_LIBXEXT
This should select libX11 as well.
Will> +
Will> +config BR2_PACKAGE_LIBECORE_X_XCB
Will> + bool "libecore XCB support"
Will> + depends on BR2_PACKAGE_LIBECORE_X
Will> + select BR2_PACKAGE_XCB_PROTO
This seems independent of LIBECORE_X. Looking at configure.ac it seems
it should select libxcb and xcb-util as well.
Will> +
Will> +config BR2_PACKAGE_LIBECORE_EVAS
Will> + bool "libecore Evas support"
Will> + select BR2_PACKAGE_LIBEVAS
Will> +
Will> +endif # BR2_PACKAGE_LIBECORE
Will> diff --git a/package/efl/libecore/libecore.mk b/package/efl/libecore/libecore.mk
Will> new file mode 100644
Will> index 0000000..c2ebef4
Will> --- /dev/null
Will> +++ b/package/efl/libecore/libecore.mk
Will> @@ -0,0 +1,62 @@
Will> +#############################################################
Will> +#
Will> +# libecore
Will> +#
Will> +#############################################################
Will> +
Will> +LIBECORE_VERSION = 1.1.0
Will> +LIBECORE_SOURCE = ecore-$(LIBECORE_VERSION).tar.bz2
Will> +LIBECORE_SITE = http://download.enlightenment.org/releases/
Will> +LIBECORE_INSTALL_STAGING = YES
Will> +
Will> +LIBECORE_DEPENDENCIES = host-pkg-config libeina
Will> +
Will> +HOST_LIBECORE_DEPENDENCIES = host-pkg-config host-libeina host-libevas
Will> +HOST_LIBECORE_CONF_OPT += --enable-ecore-evas
Will> +
Will> +# default options
Will> +LIBECORE_CONF_OPT = --disable-simple-x11
Will> +
Will> +# libecore
Will> +ifeq ($(BR2_PACKAGE_LIBECORE_DIRECTFB),y)
Will> +LIBECORE_CONF_OPT += --enable-ecore-directfb
You forgot to add directfb to _DEPENDENCIES
Will> +else
Will> +LIBECORE_CONF_OPT += --disable-ecore-directfb
Will> +endif
Will> +
Will> +ifeq ($(BR2_PACKAGE_LIBECORE_FB),y)
Will> +LIBECORE_CONF_OPT += --enable-ecore-fb
Will> +else
Will> +LIBECORE_CONF_OPT += --disable-ecore-fb
Will> +endif
Will> +
Will> +ifeq ($(BR2_PACKAGE_LIBECORE_SDL),y)
Will> +LIBECORE_CONF_OPT += --enable-ecore-sdl
You forgot to add sdl to _DEPENDENCIES
Will> +else
Will> +LIBECORE_CONF_OPT += --disable-ecore-sdl
Will> +endif
Will> +
Will> +ifeq ($(BR2_PACKAGE_LIBECORE_X),y)
Will> +LIBECORE_CONF_OPT += --enable-ecore-x
Will> +LIBECORE_DEPENDENCIES += xlib_libXext
You missed xlib_libX11
Will> +else
Will> +LIBECORE_CONF_OPT += --disable-ecore-x
Will> +endif
Will> +
Will> +ifeq ($(BR2_PACKAGE_LIBECORE_X_XCB),y)
Will> +LIBECORE_CONF_OPT += --enable-ecore-x-xcb
Will> +LIBECORE_DEPENDENCIES += xcb-proto
xlib_libX11, libxcb and xcb-util are needed as well. Upstream is broken
for cross compilation as it builds src/util/makekeys for the target, and
then tries to run it to generate a header file, so we need a workaround
similar to how we do it for libX11.
Will> +else
Will> +LIBECORE_CONF_OPT += --disable-ecore-x-xcb
Will> +endif
Will> +
Will> +# libecore-evas
Will> +ifeq ($(BR2_PACKAGE_LIBECORE_EVAS),y)
Will> +LIBECORE_CONF_OPT += --enable-ecore-evas
Will> +LIBECORE_DEPENDENCIES += libevas
Will> +else
Will> +LIBECORE_CONF_OPT += --disable-ecore-evas
Will> +endif
Will> +
Will> +$(eval $(call AUTOTARGETS))
Will> +$(eval $(call AUTOTARGETS,host))
Will> --
Will> 1.7.1
Will> _______________________________________________
Will> buildroot mailing list
Will> buildroot at busybox.net
Will> http://lists.busybox.net/mailman/listinfo/buildroot
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Buildroot] [PATCH 07/14] libecore: Add new package
@ 2012-01-23 16:35 Will Newton
0 siblings, 0 replies; 3+ messages in thread
From: Will Newton @ 2012-01-23 16:35 UTC (permalink / raw)
To: buildroot
Signed-off-by: Will Newton <will.newton@imgtec.com>
Reviewed-by: Arnout Vandecappelle <arnout@mind.be>
---
package/efl/Config.in | 1 +
package/efl/libecore/Config.in | 36 ++++++++++++++++++++++
package/efl/libecore/libecore.mk | 61 ++++++++++++++++++++++++++++++++++++++
3 files changed, 98 insertions(+), 0 deletions(-)
create mode 100644 package/efl/libecore/Config.in
create mode 100644 package/efl/libecore/libecore.mk
diff --git a/package/efl/Config.in b/package/efl/Config.in
index 27d1f95..3007783 100644
--- a/package/efl/Config.in
+++ b/package/efl/Config.in
@@ -9,6 +9,7 @@ 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/libevas/Config.in"
diff --git a/package/efl/libecore/Config.in b/package/efl/libecore/Config.in
new file mode 100644
index 0000000..35c9966
--- /dev/null
+++ b/package/efl/libecore/Config.in
@@ -0,0 +1,36 @@
+config BR2_PACKAGE_LIBECORE
+ bool "libecore"
+ select BR2_PACKAGE_LIBEINA
+ help
+ Ecore is the event/X abstraction layer that makes doing
+ selections, Xdnd, general X stuff, event loops, timeouts and
+ idle handlers fast, optimized, and convenient.
+
+if BR2_PACKAGE_LIBECORE
+
+config BR2_PACKAGE_LIBECORE_DIRECTFB
+ bool "libecore DirectFB support"
+ select BR2_PACKAGE_DIRECTFB
+
+config BR2_PACKAGE_LIBECORE_FB
+ bool "libecore framebuffer support"
+
+config BR2_PACKAGE_LIBECORE_SDL
+ bool "libecore SDL support"
+ select BR2_PACKAGE_SDL
+
+config BR2_PACKAGE_LIBECORE_X
+ bool "libecore X support"
+ depends on BR2_PACKAGE_XORG7
+ select BR2_PACKAGE_XLIB_LIBXEXT
+
+config BR2_PACKAGE_LIBECORE_X_XCB
+ bool "libecore XCB support"
+ depends on BR2_PACKAGE_LIBECORE_X
+ select BR2_PACKAGE_XCB_PROTO
+
+config BR2_PACKAGE_LIBECORE_EVAS
+ bool "libecore Evas support"
+ select BR2_PACKAGE_LIBEVAS
+
+endif # BR2_PACKAGE_LIBECORE
diff --git a/package/efl/libecore/libecore.mk b/package/efl/libecore/libecore.mk
new file mode 100644
index 0000000..3082fcf
--- /dev/null
+++ b/package/efl/libecore/libecore.mk
@@ -0,0 +1,61 @@
+#############################################################
+#
+# libecore
+#
+#############################################################
+
+LIBECORE_VERSION = 1.1.0
+LIBECORE_SOURCE = ecore-$(LIBECORE_VERSION).tar.bz2
+LIBECORE_SITE = http://download.enlightenment.org/releases/
+LIBECORE_INSTALL_STAGING = YES
+
+LIBECORE_DEPENDENCIES = host-pkg-config libeina
+
+HOST_LIBECORE_DEPENDENCIES = host-pkg-config host-libeina
+
+# default options
+LIBECORE_CONF_OPT = --disable-simple-x11
+
+# libecore
+ifeq ($(BR2_PACKAGE_LIBECORE_DIRECTFB),y)
+LIBECORE_CONF_OPT += --enable-ecore-directfb
+else
+LIBECORE_CONF_OPT += --disable-ecore-directfb
+endif
+
+ifeq ($(BR2_PACKAGE_LIBECORE_FB),y)
+LIBECORE_CONF_OPT += --enable-ecore-fb
+else
+LIBECORE_CONF_OPT += --disable-ecore-fb
+endif
+
+ifeq ($(BR2_PACKAGE_LIBECORE_SDL),y)
+LIBECORE_CONF_OPT += --enable-ecore-sdl
+else
+LIBECORE_CONF_OPT += --disable-ecore-sdl
+endif
+
+ifeq ($(BR2_PACKAGE_LIBECORE_X),y)
+LIBECORE_CONF_OPT += --enable-ecore-x
+LIBECORE_DEPENDENCIES += xlib_libXext
+else
+LIBECORE_CONF_OPT += --disable-ecore-x
+endif
+
+ifeq ($(BR2_PACKAGE_LIBECORE_X_XCB),y)
+LIBECORE_CONF_OPT += --enable-ecore-x-xcb
+LIBECORE_DEPENDENCIES += xcb-proto
+else
+LIBECORE_CONF_OPT += --disable-ecore-x-xcb
+endif
+
+# libecore-evas
+ifeq ($(BR2_PACKAGE_LIBECORE_EVAS),y)
+LIBECORE_CONF_OPT += --enable-ecore-evas
+LIBECORE_DEPENDENCIES += libevas
+else
+LIBECORE_CONF_OPT += --disable-ecore-evas
+endif
+
+$(eval $(call AUTOTARGETS))
+$(eval $(call AUTOTARGETS,host))
--
1.7.1
-------------- next part --------------
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-01-29 19:02 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-01-26 17:42 [Buildroot] [PATCH 07/14] libecore: Add new package Will Newton
2012-01-29 19:02 ` Peter Korsgaard
-- strict thread matches above, loose matches on Subject: below --
2012-01-23 16:35 Will Newton
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.