This patch includes library support for eina, ecore, and e_dbus. These are based on the 2010-06-27 snapshot and are considered to be stable.
Signed-off-by: Ryan M. Raasch <ryan.raa...@gmail.com> --- rules/efl.in | 20 ++++++ rules/efl_libecore.in | 24 +++++++ rules/efl_libecore.make | 160 +++++++++++++++++++++++++++++++++++++++++++++++ rules/efl_libedbus.in | 11 +++ rules/efl_libedbus.make | 138 ++++++++++++++++++++++++++++++++++++++++ rules/efl_libeina.in | 7 ++ rules/efl_libeina.make | 133 +++++++++++++++++++++++++++++++++++++++ 7 files changed, 493 insertions(+), 0 deletions(-) create mode 100644 rules/efl.in create mode 100644 rules/efl_libecore.in create mode 100644 rules/efl_libecore.make create mode 100644 rules/efl_libedbus.in create mode 100644 rules/efl_libedbus.make create mode 100644 rules/efl_libeina.in create mode 100644 rules/efl_libeina.make diff --git a/rules/efl.in b/rules/efl.in new file mode 100644 index 0000000..b8b03ec --- /dev/null +++ b/rules/efl.in @@ -0,0 +1,20 @@ +menuconfig EFL + bool + default n + prompt "EFL " + help + Enlightenment Foundation Libraries + + Enlightenment Foundation Libraries is a collection of + libraries origionally written for use by the Enlightenment + DR17 Window Manager. However, as these libraries grew and + were tested and deployed more and more, general + functionality was added bringing us to enjoy a rich and + powerful set of libraries that can be used to help solve all + sorts of problems and act as a venerable alternative to the + currently popular GTK and QT library sets. + +source "efl_libeina.in" +source "efl_libecore.in" +source "efl_libedbus.in" + diff --git a/rules/efl_libecore.in b/rules/efl_libecore.in new file mode 100644 index 0000000..22a8e30 --- /dev/null +++ b/rules/efl_libecore.in @@ -0,0 +1,24 @@ +config EFL_LIBECORE + bool + default y + depends on EFL + select EFL_LIBEINA + prompt "libecore" + help + Ecore is the core event abstraction layer that makes event + loops, timeouts and idle handlers fast, optimized, and + convenient. + +config EFL_LIBECORE_SSL + bool + depends on EFL_LIBECORE + select OPENSSL + prompt "SSL Support for Ecore" + +config EFL_LIBECORE_DISABLE_INPUT + bool + depends on EFL_LIBECORE + prompt "Disable Support for Xinput/Xinput2" + + + diff --git a/rules/efl_libecore.make b/rules/efl_libecore.make new file mode 100644 index 0000000..5042571 --- /dev/null +++ b/rules/efl_libecore.make @@ -0,0 +1,160 @@ +# -*-makefile-*- +# $Id$ +# +# Copyright (C) 2007 by Lars Munch <l...@segv.dk>, +# Ryan Raasch <ryan.raa...@gmail.com> +# +# See CREDITS for details about who has contributed to this project. +# +# For further information about the PTXdist project and license conditions +# see the README file. +# + +# +# We provide this package +# +PACKAGES-$(PTXCONF_EFL_LIBECORE) += efl_libecore + +# +# Paths and names +# +EFL_LIBECORE_VERSION := 0.9.9.49898 +EFL_LIBECORE := ecore-$(EFL_LIBECORE_VERSION) +EFL_LIBECORE_SUFFIX := tar.bz2 +EFL_LIBECORE_URL := http://download.enlightenment.org/snapshots/2010-06-27/$(EFL_LIBECORE).$(EFL_LIBECORE_SUFFIX) +EFL_LIBECORE_SOURCE := $(SRCDIR)/$(EFL_LIBECORE).$(EFL_LIBECORE_SUFFIX) +EFL_LIBECORE_DIR := $(BUILDDIR)/$(EFL_LIBECORE) + +# ---------------------------------------------------------------------------- +# Get +# ---------------------------------------------------------------------------- + +efl_libecore_get: $(STATEDIR)/efl_libecore.get + +$(STATEDIR)/efl_libecore.get: $(efl_libecore_get_deps_default) + @$(call targetinfo, $@) + @$(call touch, $@) + +$(EFL_LIBECORE_SOURCE): + @$(call targetinfo, $@) + @$(call get, EFL_LIBECORE) + +# ---------------------------------------------------------------------------- +# Extract +# ---------------------------------------------------------------------------- + +efl_libecore_extract: $(STATEDIR)/efl_libecore.extract + +$(STATEDIR)/efl_libecore.extract: $(efl_libecore_extract_deps_default) + @$(call targetinfo, $@) + @$(call clean, $(EFL_LIBECORE_DIR)) + @$(call extract, EFL_LIBECORE) + @$(call patchin, EFL_LIBECORE) + @$(call touch, $@) + +# ---------------------------------------------------------------------------- +# Prepare +# ---------------------------------------------------------------------------- + +efl_libecore_prepare: $(STATEDIR)/efl_libecore.prepare + +EFL_LIBECORE_PATH := PATH=$(CROSS_PATH) +EFL_LIBECORE_ENV := $(CROSS_ENV) +EFL_LIBECORE_AUTOCONF := \ + $(CROSS_AUTOCONF_USR) \ +ifdef PTXCONF_EFL_LIBECORE_SSL + --enable-openssl \ +endif + --enable-ecore-file \ + --disable-ecore-input \ + --disable-ecore-config \ + --disable-abstract-sockets \ + --disable-ecore-imf + +$(STATEDIR)/efl_libecore.prepare: $(efl_libecore_prepare_deps_default) + @$(call targetinfo, $@) + @$(call clean, $(EFL_LIBECORE_DIR)/config.cache) + cd $(EFL_LIBECORE_DIR) && \ + $(EFL_LIBECORE_PATH) $(EFL_LIBECORE_ENV) \ + ./configure $(EFL_LIBECORE_AUTOCONF) + @$(call touch, $@) + +# ---------------------------------------------------------------------------- +# Compile +# ---------------------------------------------------------------------------- + +efl_libecore_compile: $(STATEDIR)/efl_libecore.compile + +$(STATEDIR)/efl_libecore.compile: $(efl_libecore_compile_deps_default) + @$(call targetinfo, $@) + cd $(EFL_LIBECORE_DIR) && $(EFL_LIBECORE_PATH) make + @$(call touch, $@) + +# ---------------------------------------------------------------------------- +# Install +# ---------------------------------------------------------------------------- + +efl_libecore_install: $(STATEDIR)/efl_libecore.install + +$(STATEDIR)/efl_libecore.install: $(efl_libecore_install_deps_default) + @$(call targetinfo, $@) + @$(call install, EFL_LIBECORE) + @$(call touch, $@) + +# ---------------------------------------------------------------------------- +# Target-Install +# ---------------------------------------------------------------------------- + +efl_libecore_targetinstall: $(STATEDIR)/efl_libecore.targetinstall + +$(STATEDIR)/efl_libecore.targetinstall: $(efl_libecore_targetinstall_deps_default) + @$(call targetinfo, $@) + + @$(call install_init, efl_libecore) + @$(call install_fixup, efl_libecore, PACKAGE, efl_libecore) + @$(call install_fixup, efl_libecore, PRIORITY, optional) + @$(call install_fixup, efl_libecore, VERSION, $(EFL_LIBECORE_VERSION)) + @$(call install_fixup, efl_libecore, SECTION, base) + @$(call install_fixup, efl_libecore, AUTHOR, "Lars Munch <l...@segv.dk>") + @$(call install_fixup, efl_libecore, AUTHOR, "Ryan Raasch <ryan.raa...@gmail.com>") + @$(call install_fixup, efl_libecore, DEPENDS,) + @$(call install_fixup, efl_libecore, DESCRIPTION, missing) + + @$(call install_copy, efl_libecore, 0, 0, 0644, \ + $(EFL_LIBECORE_DIR)/src/lib/ecore/.libs/libecore-ver-svn-06.so.0.9.9, \ + /usr/lib/libecore-ver-svn-06.so.0.9.9) + @$(call install_link, efl_libecore, libecore-ver-svn-06.so.0.9.9, /usr/lib/libecore.so.0) + @$(call install_link, efl_libecore, libecore-ver-svn-06.so.0.9.9, /usr/lib/libecore.so) + + @$(call install_copy, efl_libecore, 0, 0, 0644, \ + $(EFL_LIBECORE_DIR)/src/lib/ecore_con/.libs/libecore_con-ver-svn-06.so.0.9.9, \ + /usr/lib/libecore_con-ver-svn-06.so.0.9.9) + @$(call install_link, efl_libecore, libecore_con-ver-svn-06.so.0.9.9, /usr/lib/libecore_con.so.0) + @$(call install_link, efl_libecore, libecore_con-ver-svn-06.so.0.9.9, /usr/lib/libecore_con.so) + + @$(call install_copy, efl_libecore, 0, 0, 0644, \ + $(EFL_LIBECORE_DIR)/src/lib/ecore_file/.libs/libecore_file-ver-svn-06.so.0.9.9, \ + /usr/lib/libecore_file-ver-svn-06.so.0.9.9) + @$(call install_link, efl_libecore, libecore_file-ver-svn-06.so.0.9.9, /usr/lib/libecore_file.so.0) + @$(call install_link, efl_libecore, libecore_file-ver-svn-06.so.0.9.9, /usr/lib/libecore_file.so) + + @$(call install_copy, efl_libecore, 0, 0, 0644, \ + $(EFL_LIBECORE_DIR)/src/lib/ecore_ipc/.libs/libecore_ipc-ver-svn-06.so.0.9.9, \ + /usr/lib/libecore_ipc-ver-svn-06.so.0.9.9) + @$(call install_link, efl_libecore, libecore_ipc-ver-svn-06.so.0.9.9, /usr/lib/libecore_ipc.so.0) + @$(call install_link, efl_libecore, libecore_ipc-ver-svn-06.so.0.9.9, /usr/lib/libecore_ipc.so) + + @$(call install_finish,efl_libecore) + + @$(call touch, $@) + +# ---------------------------------------------------------------------------- +# Clean +# ---------------------------------------------------------------------------- + +efl_libecore_clean: + rm -rf $(STATEDIR)/efl_libecore.* + rm -rf $(IMAGEDIR)/efl_libecore_* + rm -rf $(EFL_LIBECORE_DIR) + +# vim: syntax=make diff --git a/rules/efl_libedbus.in b/rules/efl_libedbus.in new file mode 100644 index 0000000..7c989d6 --- /dev/null +++ b/rules/efl_libedbus.in @@ -0,0 +1,11 @@ +config EFL_LIBEDBUS + bool + default y + depends on EFL + select DBUS + select EFL_LIBEINA + select EFL_LIBECORE + prompt "libedbus" + help + This is the start of some basic convenience wrappers + around dbus to ease integrating dbus with EFL based applications. diff --git a/rules/efl_libedbus.make b/rules/efl_libedbus.make new file mode 100644 index 0000000..7ed0b57 --- /dev/null +++ b/rules/efl_libedbus.make @@ -0,0 +1,138 @@ +# -*-makefile-*- +# $Id$ +# +# Copyright (C) 2007 by Lars Munch <l...@segv.dk>, +# Ryan Raasch <ryan.raa...@gmail.com> +# +# See CREDITS for details about who has contributed to this project. +# +# For further information about the PTXdist project and license conditions +# see the README file. +# + +# +# We provide this package +# +PACKAGES-$(PTXCONF_EFL_LIBEDBUS) += efl_libedbus + +# +# Paths and names +# +EFL_LIBEDBUS_VERSION := 0.5.0.49898 +EFL_LIBEDBUS := e_dbus-$(EFL_LIBEDBUS_VERSION) +EFL_LIBEDBUS_SUFFIX := tar.bz2 +EFL_LIBEDBUS_URL := http://download.enlightenment.org/snapshots/2010-06-27/$(EFL_LIBEDBUS).$(EFL_LIBEDBUS_SUFFIX) +EFL_LIBEDBUS_SOURCE := $(SRCDIR)/$(EFL_LIBEDBUS).$(EFL_LIBEDBUS_SUFFIX) +EFL_LIBEDBUS_DIR := $(BUILDDIR)/$(EFL_LIBEDBUS) + +# ---------------------------------------------------------------------------- +# Get +# ---------------------------------------------------------------------------- + +efl_libedbus_get: $(STATEDIR)/efl_libedbus.get + +$(STATEDIR)/efl_libedbus.get: $(efl_libedbus_get_deps_default) + @$(call targetinfo, $@) + @$(call touch, $@) + +$(EFL_LIBEDBUS_SOURCE): + @$(call targetinfo, $@) + @$(call get, EFL_LIBEDBUS) + +# ---------------------------------------------------------------------------- +# Extract +# ---------------------------------------------------------------------------- + +efl_libedbus_extract: $(STATEDIR)/efl_libedbus.extract + +$(STATEDIR)/efl_libedbus.extract: $(efl_libedbus_extract_deps_default) + @$(call targetinfo, $@) + @$(call clean, $(EFL_LIBEDBUS_DIR)) + @$(call extract, EFL_LIBEDBUS) + @$(call patchin, EFL_LIBEDBUS) + @$(call touch, $@) + +# ---------------------------------------------------------------------------- +# Prepare +# ---------------------------------------------------------------------------- + +efl_libedbus_prepare: $(STATEDIR)/efl_libedbus.prepare + +EFL_LIBEDBUS_PATH := PATH=$(CROSS_PATH) +EFL_LIBEDBUS_ENV := $(CROSS_ENV) +EFL_LIBEDBUS_AUTOCONF := $(CROSS_AUTOCONF_USR) + +$(STATEDIR)/efl_libedbus.prepare: $(efl_libedbus_prepare_deps_default) + @$(call targetinfo, $@) + @$(call clean, $(EFL_LIBEDBUS_DIR)/config.cache) + cd $(EFL_LIBEDBUS_DIR) && \ + $(EFL_LIBEDBUS_PATH) $(EFL_LIBEDBUS_ENV) \ + ./configure $(EFL_LIBEDBUS_AUTOCONF) \ + --disable-econnman \ + --disable-ehal \ + --disable-enotify \ + --disable-ebluez \ + --disable-eofono + @$(call touch, $@) + +# ---------------------------------------------------------------------------- +# Compile +# ---------------------------------------------------------------------------- + +efl_libedbus_compile: $(STATEDIR)/efl_libedbus.compile + +$(STATEDIR)/efl_libedbus.compile: $(efl_libedbus_compile_deps_default) + @$(call targetinfo, $@) + cd $(EFL_LIBEDBUS_DIR) && $(EFL_LIBEDBUS_PATH) make + @$(call touch, $@) + +# ---------------------------------------------------------------------------- +# Install +# ---------------------------------------------------------------------------- + +efl_libedbus_install: $(STATEDIR)/efl_libedbus.install + +$(STATEDIR)/efl_libedbus.install: $(efl_libedbus_install_deps_default) + @$(call targetinfo, $@) + @$(call install, EFL_LIBEDBUS) + @$(call touch, $@) + +# ---------------------------------------------------------------------------- +# Target-Install +# ---------------------------------------------------------------------------- + +efl_libedbus_targetinstall: $(STATEDIR)/efl_libedbus.targetinstall + +$(STATEDIR)/efl_libedbus.targetinstall: $(efl_libedbus_targetinstall_deps_default) + @$(call targetinfo, $@) + + @$(call install_init, efl_libedbus) + @$(call install_fixup, efl_libedbus, PACKAGE, efl_libedbus) + @$(call install_fixup, efl_libedbus, PRIORITY, optional) + @$(call install_fixup, efl_libedbus, VERSION, $(EFL_LIBEDBUS_VERSION)) + @$(call install_fixup, efl_libedbus, SECTION, base) + @$(call install_fixup, efl_libedbus, AUTHOR, "Lars Munch <l...@segv.dk>") + @$(call install_fixup, efl_libedbus, AUTHOR, "Ryan Raasch <ryan.raa...@gmail.com>") + @$(call install_fixup, efl_libedbus, DEPENDS,) + @$(call install_fixup, efl_libedbus, DESCRIPTION, missing) + + @$(call install_copy, efl_libedbus, 0, 0, 0644, \ + $(EFL_LIBEDBUS_DIR)/src/lib/dbus/.libs/libedbus-ver-svn-06.so.0.5.0, \ + /usr/lib/libedbus.so.0.5.0) + @$(call install_link, efl_libedbus, libedbus-ver-svn-06.so.0.5.0, /usr/lib/libedbus.so.0) + @$(call install_link, efl_libedbus, libedbus-ver-svn-06.so.0.5.0, /usr/lib/libedbus.so) + + @$(call install_finish,efl_libedbus) + + @$(call touch, $@) + +# ---------------------------------------------------------------------------- +# Clean +# ---------------------------------------------------------------------------- + +efl_libedbus_clean: + rm -rf $(STATEDIR)/efl_libedbus.* + rm -rf $(IMAGEDIR)/efl_libedbus_* + rm -rf $(EFL_LIBEDBUS_DIR) + +# vim: syntax=make diff --git a/rules/efl_libeina.in b/rules/efl_libeina.in new file mode 100644 index 0000000..bc1f34c --- /dev/null +++ b/rules/efl_libeina.in @@ -0,0 +1,7 @@ +config EFL_LIBEINA + bool + default y + depends on EFL + prompt "libeina" + help + Eina is a data type library. diff --git a/rules/efl_libeina.make b/rules/efl_libeina.make new file mode 100644 index 0000000..c708c39 --- /dev/null +++ b/rules/efl_libeina.make @@ -0,0 +1,133 @@ +# -*-makefile-*- +# $Id$ +# +# Copyright (C) 2007 by Lars Munch <l...@segv.dk>, +# Ryan Raasch <ryan.raa...@gmail.com> +# +# See CREDITS for details about who has contributed to this project. +# +# For further information about the PTXdist project and license conditions +# see the README file. +# + +# +# We provide this package +# +PACKAGES-$(PTXCONF_EFL_LIBEINA) += efl_libeina + +# +# Paths and names +# +EFL_LIBEINA_VERSION := 0.9.9.49898 +EFL_LIBEINA := eina-$(EFL_LIBEINA_VERSION) +EFL_LIBEINA_SUFFIX := tar.bz2 +EFL_LIBEINA_URL := http://download.enlightenment.org/snapshots/2010-06-27/$(EFL_LIBEINA).$(EFL_LIBEINA_SUFFIX) +EFL_LIBEINA_SOURCE := $(SRCDIR)/$(EFL_LIBEINA).$(EFL_LIBEINA_SUFFIX) +EFL_LIBEINA_DIR := $(BUILDDIR)/$(EFL_LIBEINA) + +# ---------------------------------------------------------------------------- +# Get +# ---------------------------------------------------------------------------- + +efl_libeina_get: $(STATEDIR)/efl_libeina.get + +$(STATEDIR)/efl_libeina.get: $(efl_libeina_get_deps_default) + @$(call targetinfo, $@) + @$(call touch, $@) + +$(EFL_LIBEINA_SOURCE): + @$(call targetinfo, $@) + @$(call get, EFL_LIBEINA) + +# ---------------------------------------------------------------------------- +# Extract +# ---------------------------------------------------------------------------- + +efl_libeina_extract: $(STATEDIR)/efl_libeina.extract + +$(STATEDIR)/efl_libeina.extract: $(efl_libeina_extract_deps_default) + @$(call targetinfo, $@) + @$(call clean, $(EFL_LIBEINA_DIR)) + @$(call extract, EFL_LIBEINA) + @$(call patchin, EFL_LIBEINA) + @$(call touch, $@) + +# ---------------------------------------------------------------------------- +# Prepare +# ---------------------------------------------------------------------------- + +efl_libeina_prepare: $(STATEDIR)/efl_libeina.prepare + +EFL_LIBEINA_PATH := PATH=$(CROSS_PATH) +EFL_LIBEINA_ENV := $(CROSS_ENV) +EFL_LIBEINA_AUTOCONF := $(CROSS_AUTOCONF_USR) + +$(STATEDIR)/efl_libeina.prepare: $(efl_libeina_prepare_deps_default) + @$(call targetinfo, $@) + @$(call clean, $(EFL_LIBEINA_DIR)/config.cache) + cd $(EFL_LIBEINA_DIR) && \ + $(EFL_LIBEINA_PATH) $(EFL_LIBEINA_ENV) \ + ./configure $(EFL_LIBEINA_AUTOCONF) + @$(call touch, $@) + +# ---------------------------------------------------------------------------- +# Compile +# ---------------------------------------------------------------------------- + +efl_libeina_compile: $(STATEDIR)/efl_libeina.compile + +$(STATEDIR)/efl_libeina.compile: $(efl_libeina_compile_deps_default) + @$(call targetinfo, $@) + cd $(EFL_LIBEINA_DIR) && $(EFL_LIBEINA_PATH) make + @$(call touch, $@) + +# ---------------------------------------------------------------------------- +# Install +# ---------------------------------------------------------------------------- + +efl_libeina_install: $(STATEDIR)/efl_libeina.install + +$(STATEDIR)/efl_libeina.install: $(efl_libeina_install_deps_default) + @$(call targetinfo, $@) + @$(call install, EFL_LIBEINA) + @$(call touch, $@) + +# ---------------------------------------------------------------------------- +# Target-Install +# ---------------------------------------------------------------------------- + +efl_libeina_targetinstall: $(STATEDIR)/efl_libeina.targetinstall + +$(STATEDIR)/efl_libeina.targetinstall: $(efl_libeina_targetinstall_deps_default) + @$(call targetinfo, $@) + + @$(call install_init, efl_libeina) + @$(call install_fixup, efl_libeina, PACKAGE, efl_libeina) + @$(call install_fixup, efl_libeina, PRIORITY, optional) + @$(call install_fixup, efl_libeina, VERSION, $(EFL_LIBEINA_VERSION)) + @$(call install_fixup, efl_libeina, SECTION, base) + @$(call install_fixup, efl_libeina, AUTHOR, "Lars Munch <l...@segv.dk>") + @$(call install_fixup, efl_libeina, AUTHOR, "Ryan Raasch <ryan.raa...@gmail.com>") + @$(call install_fixup, efl_libeina, DEPENDS,) + @$(call install_fixup, efl_libeina, DESCRIPTION, missing) + + @$(call install_copy, efl_libeina, 0, 0, 0644, \ + $(EFL_LIBEINA_DIR)/src/lib/.libs/libeina-ver-svn-06.so.0.9.9, \ + /usr/lib/libeina-ver-svn-06.so.0.9.9) + @$(call install_link, efl_libeina, libeina-ver-svn-06.so.0.9.9, /usr/lib/libeina.so.0) + @$(call install_link, efl_libeina, libeina-ver-svn-06.so.0.9.9, /usr/lib/libeina.so) + + @$(call install_finish,efl_libeina) + + @$(call touch, $@) + +# ---------------------------------------------------------------------------- +# Clean +# ---------------------------------------------------------------------------- + +efl_libeina_clean: + rm -rf $(STATEDIR)/efl_libeina.* + rm -rf $(IMAGEDIR)/efl_libeina_* + rm -rf $(EFL_LIBEINA_DIR) + +# vim: syntax=make -- 1.7.1.rc1.GIT -- ptxdist mailing list ptxdist@pengutronix.de