From 16c7c8941f05a6f9821e4ee8b544624273cf38ed Mon Sep 17 00:00:00 2001 From: Mirko Vogt Date: Sat, 17 Jan 2009 00:18:37 +0000 Subject: [PATCH] move (Enlightenment Foundation Libraries) and bindings into own feed and add entry to SVN-Revision: 14065 --- efl/ecore/Makefile | 89 +++++++++++++ efl/ecore/Makefile.native | 94 ++++++++++++++ efl/edbus/Makefile | 60 +++++++++ efl/edje/Makefile | 64 ++++++++++ efl/edje/Makefile.native | 91 +++++++++++++ efl/edje/patches/001-edje_cc-native.patch | 18 +++ efl/eet/Makefile | 65 ++++++++++ efl/eet/Makefile.native | 83 ++++++++++++ efl/efreet/Makefile | 61 +++++++++ efl/eina/Makefile | 63 +++++++++ efl/embryo/Makefile | 61 +++++++++ efl/etk/Makefile | 71 +++++++++++ efl/evas/Makefile | 120 ++++++++++++++++++ efl/python-e_dbus/Makefile | 51 ++++++++ .../000-prevent-using-setuptools.patch | 15 +++ efl/python-ecore/Makefile | 51 ++++++++ .../000-prevent-using-setuptools.patch | 24 ++++ efl/python-edje/Makefile | 51 ++++++++ .../000-prevent-using-setuptools.patch | 24 ++++ efl/python-etk/Makefile | 51 ++++++++ .../000-prevent-using-setuptools.patch | 24 ++++ efl/python-evas/Makefile | 51 ++++++++ .../000-prevent-using-setuptools.patch | 24 ++++ 23 files changed, 1306 insertions(+) create mode 100644 efl/ecore/Makefile create mode 100644 efl/ecore/Makefile.native create mode 100644 efl/edbus/Makefile create mode 100644 efl/edje/Makefile create mode 100644 efl/edje/Makefile.native create mode 100644 efl/edje/patches/001-edje_cc-native.patch create mode 100644 efl/eet/Makefile create mode 100644 efl/eet/Makefile.native create mode 100644 efl/efreet/Makefile create mode 100644 efl/eina/Makefile create mode 100644 efl/embryo/Makefile create mode 100644 efl/etk/Makefile create mode 100644 efl/evas/Makefile create mode 100644 efl/python-e_dbus/Makefile create mode 100644 efl/python-e_dbus/patches/000-prevent-using-setuptools.patch create mode 100644 efl/python-ecore/Makefile create mode 100644 efl/python-ecore/patches/000-prevent-using-setuptools.patch create mode 100644 efl/python-edje/Makefile create mode 100644 efl/python-edje/patches/000-prevent-using-setuptools.patch create mode 100644 efl/python-etk/Makefile create mode 100644 efl/python-etk/patches/000-prevent-using-setuptools.patch create mode 100644 efl/python-evas/Makefile create mode 100644 efl/python-evas/patches/000-prevent-using-setuptools.patch diff --git a/efl/ecore/Makefile b/efl/ecore/Makefile new file mode 100644 index 0000000000..3ed5253fd7 --- /dev/null +++ b/efl/ecore/Makefile @@ -0,0 +1,89 @@ +# +# Copyright (C) 2006-2008 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# +# $Id: Makefile 12228 2008-08-06 22:43:15Z nbd $ + +include $(TOPDIR)/rules.mk + +PKG_NAME:=ecore +PKG_REV:=38564 +PKG_VERSION:=r$(PKG_REV) +PKG_RELEASE:=1 + +PKG_SOURCE_PROTO:=svn +PKG_SOURCE_VERSION:=$(PKG_REV) +PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION) +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz +PKG_SOURCE_URL:=http://svn.enlightenment.org/svn/e/trunk/$(PKG_NAME) +PKG_BUILD_DIR=$(BUILD_DIR)/Xorg/$(_CATEGORY)/$(PKG_NAME)-$(PKG_VERSION)/ + +PKG_FIXUP = libtool + +include $(INCLUDE_DIR)/package.mk + +define Package/ecore + SECTION:=xorg-lib + CATEGORY:=Xorg + SUBMENU:=libraries + TITLE:=Ecore is the core event abstraction layer and X abstraction layer + URL:=http://wiki.enlightenment.org/index.php/Ecore + DEPENDS:=+eet +evas +libXcursor +libXrandr +libXtst +libiconv @!LINUX_2_4 +endef + +define Package/ecore/description + Ecore is the core event abstraction layer and X abstraction layer that makes doing selections, Xdnd, general X stuff, and event loops, timeouts and idle handlers fast, optimized, and convenient. It's a separate library so anyone can make use of the work put into Ecore to make this job easy for applications. +endef + +EXTRA_CFLAGS+=-I$(STAGING_DIR)/usr/lib/libiconv/include +EXTRA_LDFLAGS+=-liconv -L$(STAGING_DIR)/usr/lib/libiconv/lib + +define Build/Configure + (cd $(PKG_BUILD_DIR); NOCONFIGURE=YES ./autogen.sh ); + $(call Build/Configure/Default, \ + --with-iconv-link \ + --enable-ecore-txt \ + --disable-ecore-config \ + --disable-ecore-x-xcb \ + --enable-ecore-x \ + --enable-ecore-job \ + --disable-ecore-directfb \ + --disable-ecore-sdl \ + --enable-ecore-fb \ + --enable-ecore-evas \ + --enable-ecore-evas-fb \ + --disable-ecore-evas-x11-gl \ + --enable-ecore-evas-xrender \ + --disable-ecore-evas-dfb \ + --disable-ecore-evas-sdl \ + --disable-openssl \ + --enable-abstract-sockets \ + --enable-ecore-con \ + --enable-ecore-ipc \ + --enable-ecore-file \ + --enable-inotify \ + --disable-poll \ + --disable-curl \ + --disable-ecore-desktop \ + --disable-gnutls \ + ) +endef + +define Build/Compile + DESTDIR="$(PKG_INSTALL_DIR)" $(MAKE) -C $(PKG_BUILD_DIR) all install +endef + +define Build/InstallDev + mkdir -p $(1)/usr/include $(1)/usr/lib + $(CP) $(PKG_INSTALL_DIR)/usr/include/* $(1)/usr/include/ + $(CP) $(PKG_INSTALL_DIR)/usr/lib/* $(1)/usr/lib/ +endef + +define Package/ecore/install + $(INSTALL_DIR) $(1)/usr/lib + $(CP) $(PKG_INSTALL_DIR)/usr/lib/* $(1)/usr/lib/ +endef + +$(eval $(call BuildPackage,ecore)) diff --git a/efl/ecore/Makefile.native b/efl/ecore/Makefile.native new file mode 100644 index 0000000000..53f4d038b6 --- /dev/null +++ b/efl/ecore/Makefile.native @@ -0,0 +1,94 @@ +# +# Copyright (C) 2006 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# +# $Id: Makefile 12228 2008-08-06 22:43:15Z nbd $ + +include $(TOPDIR)/rules.mk + +PKG_NAME:=ecore +PKG_VERSION:= +PKG_RELEASE:=1 + +PKG_SOURCE:=e17.libs.$(PKG_NAME)_anoncvs.enlightenment.org__20080825.tar.gz +PKG_SOURCE_URL:=http://downloads.openmoko.org/sources/ +PKG_BUILD_DIR=$(BUILD_DIR)/Xorg/$(_CATEGORY)/${PKG_NAME}/ + +PKG_FIXUP = libtool + +include $(INCLUDE_DIR)/package.mk + +define Package/ecore + SECTION:=xorg-lib + CATEGORY:=Xorg + SUBMENU:=lib + TITLE:=Ecore is the core event abstraction layer and X abstraction layer + URL:=http://wiki.enlightenment.org/index.php/Ecore + DEPENDS:=+eet +evas +libXcursor +libXrandr +libXtst +libiconv +endef + +define Package/ecore/description + Ecore is the core event abstraction layer and X abstraction layer that makes doing selections, Xdnd, general X stuff, and event loops, timeouts and idle handlers fast, optimized, and convenient. It's a separate library so anyone can make use of the work put into Ecore to make this job easy for applications. +endef + +EXTRA_CFLAGS+=-I$(STAGING_DIR)/usr/lib/libiconv/include +EXTRA_LDFLAGS+=-liconv -L$(STAGING_DIR)/usr/lib/libiconv/lib + +define Build/Configure + (cd $(PKG_BUILD_DIR); NOCONFIGURE=YES ./autogen.sh ); + $(call Build/Configure/Default, \ + --with-iconv-link \ + --enable-ecore-txt \ + --disable-ecore-config \ + --disable-ecore-x-xcb \ + --enable-ecore-x \ + --enable-ecore-job \ + --disable-ecore-directfb \ + --disable-ecore-sdl \ + --enable-ecore-fb \ + --enable-ecore-evas \ + --enable-ecore-evas-fb \ + --disable-ecore-evas-x11-gl \ + --disable-ecore-evas-xrender \ + --disable-ecore-evas-dfb \ + --disable-ecore-evas-sdl \ + --disable-openssl \ + --enable-abstract-sockets \ + --enable-ecore-con \ + --enable-ecore-ipc \ + --enable-ecore-file \ + --enable-inotify \ + --disable-poll \ + --disable-curl \ + --disable-ecore-desktop \ + --disable-ecore-imf \ + --disable-ecore-imf_evas \ + ) +endef + +define Build/Compile + mkdir -p $(PKG_INSTALL_DIR)/host $(PKG_INSTALL_DIR)/target + $(MAKE) -C $(PKG_BUILD_DIR) all + DESTDIR="$(PKG_INSTALL_DIR)/target" $(MAKE) -C $(PKG_BUILD_DIR) all install + $(MAKE) -C $(PKG_BUILD_DIR) clean + $(MAKE) -C $(PKG_BUILD_DIR) all CC="$(HOSTCC)" CFLAGS="" LDFLAGS="-I$(STAGING_DIR_HOST)/usr/lib/" + DESTDIR="$(PKG_INSTALL_DIR)/host" $(MAKE) -C $(PKG_BUILD_DIR) all install +endef + +define Build/InstallDev + $(INSTALL_DIR) $(1)/usr/include $(1)/usr/lib $(STAGING_DIR_HOST)/usr/include $(STAGING_DIR_HOST)/usr/lib + $(CP) $(PKG_INSTALL_DIR)/target/usr/include/* $(1)/usr/include/ + $(CP) $(PKG_INSTALL_DIR)/target/usr/lib/* $(1)/usr/lib/ + $(CP) $(PKG_INSTALL_DIR)/host/usr/include/* $(STAGING_DIR_HOST)/usr/include/ + $(CP) $(PKG_INSTALL_DIR)/host/usr/lib/* $(STAGING_DIR_HOST)/usr/lib/ +endef + +define Package/ecore/install + $(INSTALL_DIR) $(1)/usr/lib $(STAGING_DIR_HOST)/usr/lib + $(CP) $(PKG_INSTALL_DIR)/taget/usr/lib/* $(1)/usr/lib/ + $(CP) $(PKG_INSTALL_DIR)/host/usr/lib/* $(STAGING_DIR_HOST)/usr/lib/ +endef + +$(eval $(call BuildPackage,ecore)) diff --git a/efl/edbus/Makefile b/efl/edbus/Makefile new file mode 100644 index 0000000000..9191a14e1e --- /dev/null +++ b/efl/edbus/Makefile @@ -0,0 +1,60 @@ +# +# Copyright (C) 2006-2008 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# +# $Id: Makefile 12228 2008-08-06 22:43:15Z nbd $ + +include $(TOPDIR)/rules.mk + +PKG_NAME:=e_dbus +PKG_REV:=38564 +PKG_VERSION:=r$(PKG_REV) +PKG_RELEASE:=1 + +PKG_SOURCE_PROTO:=svn +PKG_SOURCE_VERSION:=$(PKG_REV) +PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION) +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz +PKG_SOURCE_URL:=http://svn.enlightenment.org/svn/e/trunk/$(PKG_NAME) +PKG_BUILD_DIR=$(BUILD_DIR)/Xorg/$(_CATEGORY)/$(PKG_NAME)-$(PKG_VERSION)/ + +PKG_FIXUP = libtool + +include $(INCLUDE_DIR)/package.mk + +define Package/edbus + SECTION:=xorg-lib + CATEGORY:=Xorg + SUBMENU:=libraries + TITLE:=Edbus + URL:=http://wiki.enlightenment.org/index.php + DEPENDS:=+dbus +ecore +endef + +EXTRA_LDFLAGS += -Wl,-rpath-link=$(STAGING_DIR)/usr/lib + +define Build/Configure + (cd $(PKG_BUILD_DIR); NOCONFIGURE=YES ./autogen.sh ); + $(call Build/Configure/Default) +endef + +define Build/Compile + DESTDIR="$(PKG_INSTALL_DIR)" $(MAKE) -C $(PKG_BUILD_DIR) all install +endef + +define Build/InstallDev + $(INSTALL_DIR) $(1)/usr/include $(1)/usr/lib $(1)/usr/bin + $(CP) $(PKG_INSTALL_DIR)/usr/include/* $(1)/usr/include/ + $(CP) $(PKG_INSTALL_DIR)/usr/lib/* $(1)/usr/lib/ + $(CP) $(PKG_INSTALL_DIR)/usr/bin/* $(1)/usr/bin/ +endef + +define Package/edbus/install + $(INSTALL_DIR) $(1)/usr/lib $(1)/usr/bin + $(CP) $(PKG_INSTALL_DIR)/usr/lib/*.so* $(1)/usr/lib/ + $(CP) $(PKG_INSTALL_DIR)/usr/bin/* $(1)/usr/bin/ +endef + +$(eval $(call BuildPackage,edbus)) diff --git a/efl/edje/Makefile b/efl/edje/Makefile new file mode 100644 index 0000000000..c9de6acff9 --- /dev/null +++ b/efl/edje/Makefile @@ -0,0 +1,64 @@ +# +# Copyright (C) 2006-2008 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# +# $Id: Makefile 12228 2008-08-06 22:43:15Z nbd $ + +include $(TOPDIR)/rules.mk + +PKG_NAME:=edje +PKG_REV:=38564 +PKG_VERSION:=r$(PKG_REV) +PKG_RELEASE:=1 + +PKG_SOURCE_PROTO:=svn +PKG_SOURCE_VERSION:=$(PKG_REV) +PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION) +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz +PKG_SOURCE_URL:=http://svn.enlightenment.org/svn/e/trunk/$(PKG_NAME) +PKG_BUILD_DIR=$(BUILD_DIR)/Xorg/$(_CATEGORY)/$(PKG_NAME)-$(PKG_VERSION)/ + +PKG_FIXUP = libtool + +include $(INCLUDE_DIR)/package.mk + +define Package/edje + SECTION:=xorg-lib + CATEGORY:=Xorg + SUBMENU:=libraries + TITLE:=Edje is a graphical design and layout library + URL:=http://wiki.enlightenment.org/index.php/Edje + DEPENDS:=+libjpeg +zlib +eet +evas +ecore +embryo +endef + +define Package/edje/description +Edje is a graphical design and layout library based on Evas that provides an abstraction layer between the application code and the interface, while allowing extremely flexible dynamic layouts and animations. +endef + +EXTRA_LDFLAGS += -Wl,-rpath-link=$(STAGING_DIR)/usr/lib + +define Build/Configure + (cd $(PKG_BUILD_DIR); NOCONFIGURE=YES ./autogen.sh ); + $(call Build/Configure/Default, \ + --disable-edje-cc \ + ) +endef + +define Build/Compile + DESTDIR="$(PKG_INSTALL_DIR)" $(MAKE) -C $(PKG_BUILD_DIR) all install +endef + +define Build/InstallDev + $(INSTALL_DIR) $(1)/usr/include $(1)/usr/lib + $(CP) $(PKG_INSTALL_DIR)/usr/include/* $(1)/usr/include/ + $(CP) $(PKG_INSTALL_DIR)/usr/lib/* $(1)/usr/lib/ +endef + +define Package/edje/install + $(INSTALL_DIR) $(1)/usr/lib + $(CP) $(PKG_INSTALL_DIR)/usr/lib/*.so* $(1)/usr/lib/ +endef + +$(eval $(call BuildPackage,edje)) diff --git a/efl/edje/Makefile.native b/efl/edje/Makefile.native new file mode 100644 index 0000000000..e6a2d608a0 --- /dev/null +++ b/efl/edje/Makefile.native @@ -0,0 +1,91 @@ +# +# Copyright (C) 2006 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# +# $Id: Makefile 12228 2008-08-06 22:43:15Z nbd $ + +include $(TOPDIR)/rules.mk + +PKG_NAME:=edje +PKG_VERSION:= +PKG_RELEASE:=1 + +PKG_SOURCE:=e17.libs.$(PKG_NAME)_anoncvs.enlightenment.org__20080825.tar.gz +PKG_SOURCE_URL:=http://downloads.openmoko.org/sources/ +PKG_BUILD_DIR=$(BUILD_DIR)/Xorg/$(_CATEGORY)/${PKG_NAME}/ + +PKG_FIXUP = libtool + +include $(INCLUDE_DIR)/package.mk + +define Package/edje + SECTION:=xorg-lib + CATEGORY:=Xorg + SUBMENU:=lib + TITLE:=Edje is a graphical design and layout library + URL:=http://wiki.enlightenment.org/index.php/Edje + DEPENDS:=+libjpeg +zlib +eet +evas +ecore +embryo +endef + +define Package/edje/description +Edje is a graphical design and layout library based on Evas that provides an abstraction layer between the application code and the interface, while allowing extremely flexible dynamic layouts and animations. +endef + +EXTRA_LDFLAGS += -Wl,-rpath-link=$(STAGING_DIR)/usr/lib + +define Build/Configure + (cd $(PKG_BUILD_DIR); NOCONFIGURE=YES ./autogen.sh ); + $(call Build/Configure/Default \ + --disable-edje-cc \ + ) +endef + +#edge provides an own compiler (edge_cc) which needs be compiled for the host-system +#define Build/Compile +# mkdir -p $(PKG_INSTALL_DIR)/host $(PKG_INSTALL_DIR)/target +# $(MAKE) -C $(PKG_BUILD_DIR) all +# DESTDIR="$(PKG_INSTALL_DIR)/target" $(MAKE) -C $(PKG_BUILD_DIR) all install +# $(MAKE) -C $(PKG_BUILD_DIR) clean +# (cd $(PKG_BUILD_DIR); rm -f config.cache; \ +# ./configure \ +# --prefix=/usr \ +# --exec-prefix=/usr \ +# --bindir=/usr/bin \ +# --datadir=/usr/share \ +# --includedir=/usr/include \ +# --infodir=/usr/share/info \ +# --libdir=/usr/lib \ +# --libexecdir=/usr/lib \ +# --localstatedir=/var \ +# --mandir=/usr/share/man \ +# --sbindir=/usr/sbin \ +# --sysconfdir=/etc \ +# LDFLAGS="-L$(STAGING_DIR_HOST)/usr/lib" \ +# CFLAGS="-I$(STAGING_DIR_HOST)/usr/include" \ +# EDGE_LDFLAGS=-L$(STAGING_DIR_HOST)/usr/lib \ + EDGE_CFLAGS=-I$(STAGING_DIR_HOST)/usr/include \ +# ); +# $(MAKE) -C $(PKG_BUILD_DIR) all CC="$(HOSTCC)" LDFLAGS="-L$(STAGING_DIR_HOST)/usr/lib" "CFLAGS=-I$(STAGING_DIR_HOST)/usr/include" +# DESTDIR="$(PKG_INSTALL_DIR)/host" $(MAKE) -C $(PKG_BUILD_DIR) all install +#endef + +#define Build/InstallDev +# $(INSTALL_DIR) $(1)/usr/include $(1)/usr/lib $(1)/usr/bin $(STAGING_DIR_HOST)/usr/include $(STAGING_DIR_HOST)/usr/lib $(STAGING_DIR_HOST)/usr/bin +# $(CP) $(PKG_INSTALL_DIR)/target/usr/include/* $(1)/usr/include/ +# $(CP) $(PKG_INSTALL_DIR)/target/usr/lib/* $(1)/usr/lib/ +# $(CP) $(PKG_INSTALL_DIR)/target/usr/bin/edje_cc $(1)/usr/bin/ +# $(CP) $(PKG_INSTALL_DIR)/host/usr/lib/* $(STAGING_DIR_HOST)/usr/lib/ +# $(CP) $(PKG_INSTALL_DIR)/host/usr/bin/edje_cc $(STAGING_DIR_HOST)/usr/bin/ +#endef + +#define Package/edje/install +# $(INSTALL_DIR) $(1)/usr/lib $(1)/usr/bin $(STAGING_DIR_HOST)/usr/lib $(STAGING_DIR_HOST)/usr/bin +# $(CP) $(PKG_INSTALL_DIR)/target/usr/lib/*.so* $(1)/usr/lib/ +# $(CP) $(PKG_INSTALL_DIR)/target/usr/bin/edje_cc $(1)/usr/bin/ +# $(CP) $(PKG_INSTALL_DIR)/host/usr/lib/*.so* $(STAGING_DIR_HOST)/usr/lib/ +# $(CP) $(PKG_INSTALL_DIR)/host/usr/bin/edje_cc $(STAGING_DIR_HOST)/usr/bin/ +#endef + +$(eval $(call BuildPackage,edje)) diff --git a/efl/edje/patches/001-edje_cc-native.patch b/efl/edje/patches/001-edje_cc-native.patch new file mode 100644 index 0000000000..9c7003c703 --- /dev/null +++ b/efl/edje/patches/001-edje_cc-native.patch @@ -0,0 +1,18 @@ +diff -ruN edje.orig/src/bin/edje_cc_parse.c edje/src/bin/edje_cc_parse.c +--- edje.orig/src/bin/edje_cc_parse.c 2008-10-08 03:40:17.000000000 +0200 ++++ edje/src/bin/edje_cc_parse.c 2008-10-08 03:41:59.000000000 +0200 +@@ -667,12 +667,12 @@ + * Redirecting the output is required for MacOS 10.3, and works fine + * on other systems. + */ +- snprintf(buf, sizeof(buf), "cat %s | cpp -I%s %s > %s", ++ snprintf(buf, sizeof(buf), "cat %s | /usr/bin/cpp -I%s %s > %s", + file_in, inc, def, tmpn); + ret = system(buf); + if (ret < 0) + { +- snprintf(buf, sizeof(buf), "gcc -I%s %s -E -o %s %s", ++ snprintf(buf, sizeof(buf), "/usr/bin/gcc -I%s %s -E -o %s %s", + inc, def, tmpn, file_in); + ret = system(buf); + } diff --git a/efl/eet/Makefile b/efl/eet/Makefile new file mode 100644 index 0000000000..209bbd63f0 --- /dev/null +++ b/efl/eet/Makefile @@ -0,0 +1,65 @@ +# +# Copyright (C) 2006-2008 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# +# $Id: Makefile 12228 2008-08-06 22:43:15Z nbd $ + +include $(TOPDIR)/rules.mk + +PKG_NAME:=eet +PKG_REV:=38564 +PKG_VERSION:=r$(PKG_REV) +PKG_RELEASE:=1 + +PKG_SOURCE_PROTO:=svn +PKG_SOURCE_VERSION:=$(PKG_REV) +PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION) +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz +PKG_SOURCE_URL:=http://svn.enlightenment.org/svn/e/trunk/$(PKG_NAME) +PKG_BUILD_DIR=$(BUILD_DIR)/Xorg/$(_CATEGORY)/$(PKG_NAME)-$(PKG_VERSION)/ + +PKG_FIXUP = libtool + +include $(INCLUDE_DIR)/package.mk + +define Package/eet + SECTION:=xorg-lib + CATEGORY:=Xorg + SUBMENU:=libraries + TITLE:=EET is a tiny library designed to write an arbitary set of chunks of data to a file + URL:=http://wiki.enlightenment.org/index.php/Eet + DEPENDS:=+libjpeg +zlib +eina +endef + +define Package/eet/description + 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) and allow fast random-access reading of the file later on. EET files are perfect for storing data that is written once (or rarely) and read many times, especially when the program does not want to have to read all the data in at once. +endef + +define Build/Configure + (cd $(PKG_BUILD_DIR); NOCONFIGURE=YES ./autogen.sh ); + $(call Build/Configure/Default, \ + --disable-openssl \ + --disable-gnutls \ + ) +endef + +define Build/Compile + DESTDIR="$(PKG_INSTALL_DIR)" $(MAKE) -C $(PKG_BUILD_DIR) all install +endef + +define Build/InstallDev + $(INSTALL_DIR) $(1)/usr/include $(1)/usr/lib $(1)/usr/bin + $(CP) $(PKG_INSTALL_DIR)/usr/include/* $(1)/usr/include/ + $(CP) $(PKG_INSTALL_DIR)/usr/lib/* $(1)/usr/lib/ + $(CP) $(PKG_INSTALL_DIR)/usr/bin/* $(1)/usr/bin/ +endef + +define Package/eet/install + $(INSTALL_DIR) $(1)/usr/lib $(1)/usr/bin + $(CP) $(PKG_INSTALL_DIR)/usr/lib/*.so* $(1)/usr/lib/ + $(CP) $(PKG_INSTALL_DIR)/usr/bin/* $(1)/usr/bin/ +endef + +$(eval $(call BuildPackage,eet)) diff --git a/efl/eet/Makefile.native b/efl/eet/Makefile.native new file mode 100644 index 0000000000..73e37041cc --- /dev/null +++ b/efl/eet/Makefile.native @@ -0,0 +1,83 @@ +# +# Copyright (C) 2006 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# +# $Id: Makefile 12228 2008-08-06 22:43:15Z nbd $ + +include $(TOPDIR)/rules.mk + +PKG_NAME:=eet +PKG_VERSION:= +PKG_RELEASE:=1 + +PKG_SOURCE:=e17.libs.$(PKG_NAME)_anoncvs.enlightenment.org__20080825.tar.gz +PKG_SOURCE_URL:=http://downloads.openmoko.org/sources/ +PKG_BUILD_DIR=$(BUILD_DIR)/Xorg/$(_CATEGORY)/${PKG_NAME}/ + +PKG_FIXUP = libtool + +include $(INCLUDE_DIR)/package.mk + +define Package/eet + SECTION:=xorg-lib + CATEGORY:=Xorg + SUBMENU:=lib + TITLE:=EET is a tiny library designed to write an arbitary set of chunks of data to a file + URL:=http://wiki.enlightenment.org/index.php/Eet + DEPENDS:=+libjpeg +zlib +endef + +define Package/eet/description + 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) and allow fast random-access reading of the file later on. EET files are perfect for storing data that is written once (or rarely) and read many times, especially when the program does not want to have to read all the data in at once. +endef + +define Build/Configure + (cd $(PKG_BUILD_DIR); NOCONFIGURE=YES ./autogen.sh ); + $(call Build/Configure/Default, \ + ) +endef + +define Build/Compile + mkdir -p $(PKG_INSTALL_DIR)/host $(PKG_INSTALL_DIR)/target + $(MAKE) -C $(PKG_BUILD_DIR) all + DESTDIR="$(PKG_INSTALL_DIR)/target" $(MAKE) -C $(PKG_BUILD_DIR) all install + $(MAKE) -C $(PKG_BUILD_DIR) clean + (cd $(PKG_BUILD_DIR); rm -f config.cache; \ + ./configure \ + --prefix=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --infodir=/usr/share/info \ + --libdir=/usr/lib \ + --libexecdir=/usr/lib \ + --localstatedir=/var \ + --mandir=/usr/share/man \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + ); + $(MAKE) -C $(PKG_BUILD_DIR) all CC="$(HOSTCC)" CFLAGS="" LDFLAGS="-I$(STAGING_DIR_HOST)/usr/lib/" + DESTDIR="$(PKG_INSTALL_DIR)/host" $(MAKE) -C $(PKG_BUILD_DIR) all install +endef + +define Build/InstallDev + $(INSTALL_DIR) $(1)/usr/include $(1)/usr/lib $(1)/usr/bin $(STAGING_DIR_HOST)/usr/include $(STAGING_DIR_HOST)/usr/lib $(STAGING_DIR_HOST)/usr/bin + $(CP) $(PKG_INSTALL_DIR)/target/usr/include/* $(1)/usr/include/ + $(CP) $(PKG_INSTALL_DIR)/target/usr/lib/* $(1)/usr/lib/ + $(CP) $(PKG_INSTALL_DIR)/target/usr/bin/* $(1)/usr/bin/ + $(CP) $(PKG_INSTALL_DIR)/host/usr/lib/* $(STAGING_DIR_HOST)/usr/lib/ + $(CP) $(PKG_INSTALL_DIR)/host/usr/bin/* $(STAGING_DIR_HOST)/usr/bin/ +endef + +define Package/eet/install + $(INSTALL_DIR) $(1)/usr/lib $(1)/usr/bin $(STAGING_DIR_HOST)/usr/lib $(STAGING_DIR_HOST)/usr/bin + $(CP) $(PKG_INSTALL_DIR)/target/usr/lib/*.so* $(1)/usr/lib/ + $(CP) $(PKG_INSTALL_DIR)/target/usr/bin/* $(1)/usr/bin/ + $(CP) $(PKG_INSTALL_DIR)/host/usr/lib/*.so* $(STAGING_DIR_HOST)/usr/lib/ + $(CP) $(PKG_INSTALL_DIR)/host/usr/bin/* $(STAGING_DIR_HOST)/usr/bin/ +endef + +$(eval $(call BuildPackage,eet)) diff --git a/efl/efreet/Makefile b/efl/efreet/Makefile new file mode 100644 index 0000000000..e1c3b306d2 --- /dev/null +++ b/efl/efreet/Makefile @@ -0,0 +1,61 @@ +# +# Copyright (C) 2006-2008 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# +# $Id: Makefile 12228 2008-08-06 22:43:15Z nbd $ + +include $(TOPDIR)/rules.mk + +PKG_NAME:=efreet +PKG_REV:=38564 +PKG_VERSION:=r$(PKG_REV) +PKG_RELEASE:=1 + +PKG_SOURCE_PROTO:=svn +PKG_SOURCE_VERSION:=$(PKG_REV) +PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION) +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz +PKG_SOURCE_URL:=http://svn.enlightenment.org/svn/e/trunk/$(PKG_NAME) +PKG_BUILD_DIR=$(BUILD_DIR)/Xorg/$(_CATEGORY)/$(PKG_NAME)-$(PKG_VERSION)/ + +PKG_FIXUP = libtool + +include $(INCLUDE_DIR)/package.mk + +define Package/efreet + SECTION:=xorg-lib + CATEGORY:=Xorg + SUBMENU:=libraries + TITLE:=Enlightenment freedesktop.org library + URL:=http://wiki.enlightenment.org/index.php/Efreet + DEPENDS:=+ecore +endef + +define Package/efreet/description + Efreet is an implementation of several specifications from freedesktop.org intended for use in Enlightenment DR17 (e17) and other applications using the Enlightenment Foundation Libraries (EFL). +endef + +define Build/Configure + (cd $(PKG_BUILD_DIR); NOCONFIGURE=YES ./autogen.sh ); + $(call Build/Configure/Default) +endef + +define Build/Compile + DESTDIR="$(PKG_INSTALL_DIR)" $(MAKE) -C $(PKG_BUILD_DIR) all install +endef + +define Build/InstallDev + mkdir -p $(1)/usr/include $(1)/usr/lib + $(CP) $(PKG_INSTALL_DIR)/usr/include/* $(1)/usr/include/ + $(CP) $(PKG_INSTALL_DIR)/usr/lib/* $(1)/usr/lib/ +endef + +define Package/efreet/install + $(INSTALL_DIR) $(1)/usr/lib $(1)/usr/bin + $(CP) $(PKG_INSTALL_DIR)/usr/lib/libefreet*.so* $(1)/usr/lib/ + $(CP) $(PKG_INSTALL_DIR)/usr/bin/* $(1)/usr/bin/ +endef + +$(eval $(call BuildPackage,efreet)) diff --git a/efl/eina/Makefile b/efl/eina/Makefile new file mode 100644 index 0000000000..d416416fa6 --- /dev/null +++ b/efl/eina/Makefile @@ -0,0 +1,63 @@ +# +# Copyright (C) 2006-2008 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# +# $Id: Makefile 12228 2008-08-06 22:43:15Z nbd $ + +include $(TOPDIR)/rules.mk + +PKG_NAME:=eina +PKG_REV:=38564 +PKG_VERSION:=r$(PKG_REV) +PKG_RELEASE:=1 + +PKG_SOURCE_PROTO:=svn +PKG_SOURCE_VERSION:=$(PKG_REV) +PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION) +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz +PKG_SOURCE_URL:=http://svn.enlightenment.org/svn/e/trunk/$(PKG_NAME) +PKG_BUILD_DIR=$(BUILD_DIR)/Xorg/$(_CATEGORY)/$(PKG_NAME)-$(PKG_VERSION)/ + +PKG_FIXUP = libtool + +include $(INCLUDE_DIR)/package.mk + +define Package/eina + SECTION:=xorg-lib + CATEGORY:=Xorg + SUBMENU:=libraries + TITLE:=Eina + URL:=http://wiki.enlightenment.org/index.php/Eina +# DEPENDS:=+libjpeg +zlib +eet +evas +ecore +embryo +endef + +define Package/eina/description +foobar +endef + +EXTRA_LDFLAGS += -Wl,-rpath-link=$(STAGING_DIR)/usr/lib + +define Build/Configure + (cd $(PKG_BUILD_DIR); NOCONFIGURE=YES ./autogen.sh ); + $(call Build/Configure/Default) +endef + +define Build/Compile + DESTDIR="$(PKG_INSTALL_DIR)" $(MAKE) -C $(PKG_BUILD_DIR) all install +endef + +define Build/InstallDev + $(INSTALL_DIR) $(1)/usr/include $(1)/usr/lib + $(CP) $(PKG_INSTALL_DIR)/usr/include/* $(1)/usr/include/ + $(CP) $(PKG_INSTALL_DIR)/usr/lib/* $(1)/usr/lib/ +endef + +define Package/eina/install + $(INSTALL_DIR) $(1)/usr/lib + $(CP) $(PKG_INSTALL_DIR)/usr/lib/* $(1)/usr/lib/ + find $(1)/usr/lib -name *.la -name *.a | xargs rm -f +endef + +$(eval $(call BuildPackage,eina)) diff --git a/efl/embryo/Makefile b/efl/embryo/Makefile new file mode 100644 index 0000000000..ad14da4921 --- /dev/null +++ b/efl/embryo/Makefile @@ -0,0 +1,61 @@ +# +# Copyright (C) 2006-2008 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# +# $Id: Makefile 12228 2008-08-06 22:43:15Z nbd $ + +include $(TOPDIR)/rules.mk + +PKG_NAME:=embryo +PKG_REV:=38564 +PKG_VERSION:=r$(PKG_REV) +PKG_RELEASE:=1 + +PKG_SOURCE_PROTO:=svn +PKG_SOURCE_VERSION:=$(PKG_REV) +PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION) +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz +PKG_SOURCE_URL:=http://svn.enlightenment.org/svn/e/trunk/$(PKG_NAME) +PKG_BUILD_DIR=$(BUILD_DIR)/Xorg/$(_CATEGORY)/$(PKG_NAME)-$(PKG_VERSION)/ + +PKG_FIXUP = libtool + +include $(INCLUDE_DIR)/package.mk + +define Package/embryo + SECTION:=xorg-lib + CATEGORY:=Xorg + SUBMENU:=libraries + TITLE:=Embryo implements a C like scripting language used in various parts of the Enlightenment project (edje) + URL:=http://wiki.enlightenment.org/index.php/Embryo + DEPENDS:=+eet +evas +libXtst +libXcursor +libXrandr +endef + +define Package/embryo/description + Embryo implements a C like scripting language used in various parts of the Enlightenment project, namely Edje. Embryo's scripting language is based on CompuPhase's Small language that was introduced in Dr Dobb's Journal in 1999. Embryo allows scripting capabilities in places that otherwise wouldn't support basic programming structures such as in Edje EDCs. +endef + +define Build/Configure + (cd $(PKG_BUILD_DIR); NOCONFIGURE=YES ./autogen.sh ); + $(call Build/Configure/Default) +endef + +define Build/Compile + DESTDIR="$(PKG_INSTALL_DIR)" $(MAKE) -C $(PKG_BUILD_DIR) all install +endef + +define Build/InstallDev + mkdir -p $(1)/usr/include $(1)/usr/lib + $(CP) $(PKG_INSTALL_DIR)/usr/include/* $(1)/usr/include/ + $(CP) $(PKG_INSTALL_DIR)/usr/lib/* $(1)/usr/lib/ +endef + +define Package/embryo/install + $(INSTALL_DIR) $(1)/usr/lib $(1)/usr/bin + $(CP) $(PKG_INSTALL_DIR)/usr/lib/libembryo.so* $(1)/usr/lib/ + $(CP) $(PKG_INSTALL_DIR)/usr/bin/embryo_cc $(1)/usr/bin/ +endef + +$(eval $(call BuildPackage,embryo)) diff --git a/efl/etk/Makefile b/efl/etk/Makefile new file mode 100644 index 0000000000..67d290d047 --- /dev/null +++ b/efl/etk/Makefile @@ -0,0 +1,71 @@ +# +# Copyright (C) 2006-2008 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# +# $Id: Makefile 12228 2008-08-06 22:43:15Z nbd $ + +include $(TOPDIR)/rules.mk + +PKG_NAME:=etk +PKG_REV:=38564 +PKG_VERSION:=r$(PKG_REV) +PKG_RELEASE:=1 + +PKG_SOURCE_PROTO:=svn +PKG_SOURCE_VERSION:=$(PKG_REV) +PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION) +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz +PKG_SOURCE_URL:=http://svn.enlightenment.org/svn/e/trunk/$(PKG_NAME) +PKG_BUILD_DIR=$(BUILD_DIR)/Xorg/$(_CATEGORY)/$(PKG_NAME)-$(PKG_VERSION)/ + +PKG_FIXUP = libtool + +include $(INCLUDE_DIR)/package.mk + +define Package/etk + SECTION:=xorg-lib + CATEGORY:=Xorg + SUBMENU:=libraries + TITLE:=Etk is a toolkit based on the EFL + URL:=http://wiki.enlightenment.org/index.php/Etk + DEPENDS:=+evas +ecore +edje +endef + +define Package/etk/description + Etk is a toolkit based on the EFL +endef + +EXTRA_CFLAGS+=-I$(STAGING_DIR)/usr/lib/libintl/include +EXTRA_LDFLAGS+=-lintl -L$(STAGING_DIR)/usr/lib/libintl/lib + +define Build/Configure + (cd $(PKG_BUILD_DIR); NOCONFIGURE=YES ./autogen.sh ); + $(call Build/Configure/Default) +endef + +define Build/Compile + ln -sf `which edje_cc` $(STAGING_DIR_HOST)/usr/bin/ + DESTDIR="$(PKG_INSTALL_DIR)" $(MAKE) -C $(PKG_BUILD_DIR) all install + rm -f $(STAGING_DIR_HOST)/usr/bin/edje_cc +endef + +define Build/InstallDev + $(INSTALL_DIR) $(1)/usr/include $(1)/usr/lib + $(CP) $(PKG_INSTALL_DIR)/usr/include/* $(1)/usr/include/ + $(CP) $(PKG_INSTALL_DIR)/usr/lib/* $(1)/usr/lib/ +endef + +define Package/etk/install + $(INSTALL_DIR) $(1)/usr/lib $(1)/usr/share $(1)/usr/bin $(1)/usr/lib/etk/engines + $(CP) $(PKG_INSTALL_DIR)/usr/lib/*.so* $(1)/usr/lib/ + $(CP) $(PKG_INSTALL_DIR)/usr/lib/etk/engines/*.so* $(1)/usr/lib/etk/engines/ + $(CP) $(PKG_INSTALL_DIR)/usr/share/etk $(1)/usr/share/ + $(CP) $(PKG_INSTALL_DIR)/usr/bin/* $(1)/usr/bin/ +endef + +$(eval $(call BuildPackage,etk)) +$(eval $(call RequireCommand,edje_cc, \ + Command not found - please install edje with edje-cc enabled \ +)) diff --git a/efl/evas/Makefile b/efl/evas/Makefile new file mode 100644 index 0000000000..04baeff29a --- /dev/null +++ b/efl/evas/Makefile @@ -0,0 +1,120 @@ +# +# Copyright (C) 2006-2008 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# +# $Id: Makefile 12228 2008-08-06 22:43:15Z nbd $ + +include $(TOPDIR)/rules.mk + +PKG_NAME:=evas +PKG_REV:=38564 +PKG_VERSION:=r$(PKG_REV) +PKG_RELEASE:=1 + +PKG_SOURCE_PROTO:=svn +PKG_SOURCE_VERSION:=$(PKG_REV) +PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION) +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz +PKG_SOURCE_URL:=http://svn.enlightenment.org/svn/e/trunk/$(PKG_NAME) +PKG_BUILD_DIR=$(BUILD_DIR)/Xorg/$(_CATEGORY)/$(PKG_NAME)-$(PKG_VERSION)/ + +PKG_FIXUP = libtool + +include $(INCLUDE_DIR)/package.mk + +define Package/evas + SECTION:=xorg-lib + CATEGORY:=Xorg + SUBMENU:=libraries + TITLE:=Evas is a hardware-accelerated canvas API for X-Windows + URL:=http://wiki.enlightenment.org/index.php/Evas + DEPENDS:=+eet +libfreetype +libjpeg +libpng +libX11 +libXext +libXrender +fontconfig +endef + +define Package/evas/description + Evas is a hardware-accelerated canvas API for X-Windows that can draw anti-aliased text, smooth super and sub-sampled images, alpha-blend, as well as drop down to using normal X11 primitives such as pixmaps, lines and rectangles for speed if your CPU or graphics hardware are too slow. +endef + +define Build/Configure + (cd $(PKG_BUILD_DIR); NOCONFIGURE=YES ./autogen.sh ); + $(call Build/Configure/Default, \ + --disable-pthreads \ + --enable-fb \ + --disable-directfb \ + --disable-sdl \ + --enable-buffer \ + --disable-software-ddraw \ + --disable-software-qtopia \ + --enable-simple-x11 \ + --enable-software-x11 \ + --enable-software-16-x11 \ + --disable-software-xcb \ + --disable-gl-x11 \ + --enable-xrender-x11 \ + --disable-xrender-xcb \ + --disable-glitz-x11 \ + --enable-image-loader-eet \ + --disable-image-loader-edb \ + --disable-image-loader-gif \ + --enable-image-loader-png \ + --enable-image-loader-jpeg \ + --enable-image-loader-tiff \ + --enable-image-loader-xpm \ + --enable-image-loader-svg \ + --enable-cpu-c \ + --enable-fontconfig \ + --enable-font-loader-eet \ + --enable-scale-sample \ + --enable-scale-smooth \ + --enable-convert-yuv \ + --enable-small-dither-mask \ + --enable-no-dither-mask \ + --enable-convert-8-rgb-332 \ + --enable-convert-8-rgb-666 \ + --enable-convert-8-rgb-232 \ + --enable-convert-8-rgb-222 \ + --enable-convert-8-rgb-221 \ + --enable-convert-8-rgb-121 \ + --enable-convert-8-rgb-111 \ + --enable-convert-16-rgb-565 \ + --enable-convert-16-rgb-555 \ + --enable-convert-16-rgb-444 \ + --enable-convert-16-rgb-ipq \ + --enable-convert-16-rgb-rot-0 \ + --enable-convert-16-rgb-rot-90 \ + --enable-convert-16-rgb-rot-180\ + --enable-convert-16-rgb-rot-270 \ + --enable-convert-24-rgb-888 \ + --enable-convert-24-bgr-888 \ + --enable-convert-32-rgb-8888 \ + --enable-convert-32-rgbx-8888 \ + --enable-convert-32-bgr-8888 \ + --enable-convert-32-bgrx-8888 \ + --enable-convert-32-rgb-rot-0 \ + --enable-convert-32-rgb-rot-90 \ + --enable-convert-32-rgb-rot-180 \ + --enable-convert-32-rgb-rot-270 \ + ) +endef + +define Build/Compile + DESTDIR="$(PKG_INSTALL_DIR)" $(MAKE) -C $(PKG_BUILD_DIR) all install +endef + +define Build/InstallDev + $(INSTALL_DIR) $(1)/usr/include $(1)/usr/lib + $(CP) $(PKG_INSTALL_DIR)/usr/include/* $(1)/usr/include/ + $(CP) $(PKG_INSTALL_DIR)/usr/lib/* $(1)/usr/lib/ +endef + +define Package/evas/install + $(INSTALL_DIR) $(1)/usr/lib + $(CP) $(PKG_INSTALL_DIR)/usr/lib/libevas.so* $(1)/usr/lib/ + $(CP) $(PKG_INSTALL_DIR)/usr/lib/evas $(1)/usr/lib/ + find $(1)/usr/lib/evas -name *.la | xargs rm -rf + find $(1)/usr/lib/evas -name *.a | xargs rm -rf +endef + +$(eval $(call BuildPackage,evas)) diff --git a/efl/python-e_dbus/Makefile b/efl/python-e_dbus/Makefile new file mode 100644 index 0000000000..2853792034 --- /dev/null +++ b/efl/python-e_dbus/Makefile @@ -0,0 +1,51 @@ +# +# Copyright (C) 2008 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# +# $Id: Makefile 13786 2008-12-31 15:02:25Z lars $ + +include $(TOPDIR)/rules.mk + +PKG_NAME:=python-e_dbus + +PKG_REV:=38564 +PKG_VERSION:=r$(PKG_REV) +PKG_RELEASE:=1 + +PKG_SOURCE_PROTO:=svn +PKG_SOURCE_VERSION:=$(PKG_REV) +PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION) +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz +PKG_SOURCE_URL:=http://svn.enlightenment.org/svn/e/trunk/BINDINGS/python/$(PKG_NAME) + +PKG_BUILD_DEPENDS:=cython python + +include $(INCLUDE_DIR)/package.mk +-include $(if $(DUMP),,$(STAGING_DIR)/mk/python-package.mk) + +define Package/python-e_dbus + SUBMENU:=Python + SECTION:=lang + CATEGORY:=Languages + TITLE:=python-e_dbus + DEPENDS:=python-core ecore eina dbus edbus dbus-python +endef + +define Package/python-e_dbus/description + e_dbus python bindings +endef + +define Build/Compile + $(call Build/Compile/PyMod,,install --prefix="$(PKG_INSTALL_DIR)/usr") +endef + +define Package/python-e_dbus/install + $(INSTALL_DIR) $(1)$(PYTHON_PKG_DIR) + $(CP) \ + $(PKG_INSTALL_DIR)$(PYTHON_PKG_DIR)/* \ + $(1)$(PYTHON_PKG_DIR) +endef + +$(eval $(call BuildPackage,python-e_dbus)) diff --git a/efl/python-e_dbus/patches/000-prevent-using-setuptools.patch b/efl/python-e_dbus/patches/000-prevent-using-setuptools.patch new file mode 100644 index 0000000000..b8ed992e7b --- /dev/null +++ b/efl/python-e_dbus/patches/000-prevent-using-setuptools.patch @@ -0,0 +1,15 @@ +diff -ruN python-e_dbus-r38564.orig/setup.py python-e_dbus-r38564/setup.py +--- python-e_dbus-r38564.orig/setup.py 2009-01-13 10:14:45.000000000 +0100 ++++ python-e_dbus-r38564/setup.py 2009-01-13 10:15:46.000000000 +0100 +@@ -1,10 +1,7 @@ + import sys + import os + +-from ez_setup import use_setuptools +-use_setuptools("0.6c9") +- +-from setuptools import setup, Extension ++from distutils.core import setup, Extension + import subprocess + import shlex + diff --git a/efl/python-ecore/Makefile b/efl/python-ecore/Makefile new file mode 100644 index 0000000000..1c8a37adcc --- /dev/null +++ b/efl/python-ecore/Makefile @@ -0,0 +1,51 @@ +# +# Copyright (C) 2008 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# +# $Id: Makefile 13786 2008-12-31 15:02:25Z lars $ + +include $(TOPDIR)/rules.mk + +PKG_NAME:=python-ecore + +PKG_REV:=38564 +PKG_VERSION:=r$(PKG_REV) +PKG_RELEASE:=1 + +PKG_SOURCE_PROTO:=svn +PKG_SOURCE_VERSION:=$(PKG_REV) +PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION) +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz +PKG_SOURCE_URL:=http://svn.enlightenment.org/svn/e/trunk/BINDINGS/python/$(PKG_NAME) + +PKG_BUILD_DEPENDS:=cython python + +include $(INCLUDE_DIR)/package.mk +-include $(if $(DUMP),,$(STAGING_DIR)/mk/python-package.mk) + +define Package/python-ecore + SUBMENU:=Python + SECTION:=lang + CATEGORY:=Languages + TITLE:=python-ecore + DEPENDS:=python-core ecore evas eina python-evas +endef + +define Package/python-ecore/description + ecore python bindings +endef + +define Build/Compile + $(call Build/Compile/PyMod,,install --prefix="$(PKG_INSTALL_DIR)/usr") +endef + +define Package/python-ecore/install + $(INSTALL_DIR) $(1)$(PYTHON_PKG_DIR) + $(CP) \ + $(PKG_INSTALL_DIR)$(PYTHON_PKG_DIR)/* \ + $(1)$(PYTHON_PKG_DIR) +endef + +$(eval $(call BuildPackage,python-ecore)) diff --git a/efl/python-ecore/patches/000-prevent-using-setuptools.patch b/efl/python-ecore/patches/000-prevent-using-setuptools.patch new file mode 100644 index 0000000000..4404042124 --- /dev/null +++ b/efl/python-ecore/patches/000-prevent-using-setuptools.patch @@ -0,0 +1,24 @@ +diff -ruN python-ecore-r38564.orig/setup.py python-ecore-r38564/setup.py +--- python-ecore-r38564.orig/setup.py 2009-01-13 10:27:34.000000000 +0100 ++++ python-ecore-r38564/setup.py 2009-01-13 11:08:26.000000000 +0100 +@@ -1,10 +1,7 @@ + import sys + import os + +-from ez_setup import use_setuptools +-use_setuptools('0.6c9') +- +-from setuptools import setup, find_packages, Extension ++from distutils.core import setup, Extension + import subprocess + import shlex + +@@ -143,7 +140,7 @@ + long_description=long_description, + keywords='wrapper binding enlightenment abstraction event ecore', + classifiers=trove_classifiers, +- packages=find_packages(), ++ packages=['ecore', 'ecore.x', 'ecore.evas', 'ecore.imf'], + install_requires=['python-evas>=0.3.1'], + setup_requires=['python-evas>=0.3.1'], + ext_modules=[ecoremodule, ecoreevasmodule, ecorexmodule, diff --git a/efl/python-edje/Makefile b/efl/python-edje/Makefile new file mode 100644 index 0000000000..a761acfce5 --- /dev/null +++ b/efl/python-edje/Makefile @@ -0,0 +1,51 @@ +# +# Copyright (C) 2008 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# +# $Id: Makefile 13786 2008-12-31 15:02:25Z lars $ + +include $(TOPDIR)/rules.mk + +PKG_NAME:=python-edje + +PKG_REV:=38564 +PKG_VERSION:=r$(PKG_REV) +PKG_RELEASE:=1 + +PKG_SOURCE_PROTO:=svn +PKG_SOURCE_VERSION:=$(PKG_REV) +PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION) +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz +PKG_SOURCE_URL:=http://svn.enlightenment.org/svn/e/trunk/BINDINGS/python/$(PKG_NAME) + +PKG_BUILD_DEPENDS:=cython python + +include $(INCLUDE_DIR)/package.mk +-include $(if $(DUMP),,$(STAGING_DIR)/mk/python-package.mk) + +define Package/python-edje + SUBMENU:=Python + SECTION:=lang + CATEGORY:=Languages + TITLE:=python-edje + DEPENDS:=python-core edje evas ecore eina python-evas +endef + +define Package/python-edje/description + edje python bindings +endef + +define Build/Compile + $(call Build/Compile/PyMod,,install --prefix="$(PKG_INSTALL_DIR)/usr") +endef + +define Package/python-edje/install + $(INSTALL_DIR) $(1)$(PYTHON_PKG_DIR) + $(CP) \ + $(PKG_INSTALL_DIR)$(PYTHON_PKG_DIR)/* \ + $(1)$(PYTHON_PKG_DIR) +endef + +$(eval $(call BuildPackage,python-edje)) diff --git a/efl/python-edje/patches/000-prevent-using-setuptools.patch b/efl/python-edje/patches/000-prevent-using-setuptools.patch new file mode 100644 index 0000000000..aa410bb1b7 --- /dev/null +++ b/efl/python-edje/patches/000-prevent-using-setuptools.patch @@ -0,0 +1,24 @@ +diff -ruN python-edje-r38564.orig/setup.py python-edje-r38564/setup.py +--- python-edje-r38564.orig/setup.py 2009-01-13 11:11:36.000000000 +0100 ++++ python-edje-r38564/setup.py 2009-01-13 11:13:17.000000000 +0100 +@@ -1,10 +1,7 @@ + import sys + import os + +-from ez_setup import use_setuptools +-use_setuptools('0.6c9') +- +-from setuptools import setup, find_packages, Extension ++from distutils.core import setup, Extension + import subprocess + import shlex + +@@ -128,7 +125,7 @@ + long_description=long_description, + keywords='wrapper binding enlightenment graphics raster evas canvas theme', + classifiers=trove_classifiers, +- packages=find_packages(), ++ packages=['edje'], + install_requires=['python-evas>=0.3.1'], + setup_requires=['python-evas>=0.3.1'], + ext_modules=[edjemodule], diff --git a/efl/python-etk/Makefile b/efl/python-etk/Makefile new file mode 100644 index 0000000000..50c3783a6b --- /dev/null +++ b/efl/python-etk/Makefile @@ -0,0 +1,51 @@ +# +# Copyright (C) 2008 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# +# $Id: Makefile 13786 2008-12-31 15:02:25Z lars $ + +include $(TOPDIR)/rules.mk + +PKG_NAME:=python-etk + +PKG_REV:=38564 +PKG_VERSION:=r$(PKG_REV) +PKG_RELEASE:=1 + +PKG_SOURCE_PROTO:=svn +PKG_SOURCE_VERSION:=$(PKG_REV) +PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION) +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz +PKG_SOURCE_URL:=http://svn.enlightenment.org/svn/e/trunk/BINDINGS/python/$(PKG_NAME) + +PKG_BUILD_DEPENDS:=cython python + +include $(INCLUDE_DIR)/package.mk +-include $(if $(DUMP),,$(STAGING_DIR)/mk/python-package.mk) + +define Package/python-etk + SUBMENU:=Python + SECTION:=lang + CATEGORY:=Languages + TITLE:=python-etk + DEPENDS:=python-core etk +endef + +define Package/python-etk/description + etk python bindings +endef + +define Build/Compile + $(call Build/Compile/PyMod,,install --prefix="$(PKG_INSTALL_DIR)/usr") +endef + +define Package/python-etk/install + $(INSTALL_DIR) $(1)$(PYTHON_PKG_DIR) + $(CP) \ + $(PKG_INSTALL_DIR)$(PYTHON_PKG_DIR)/* \ + $(1)$(PYTHON_PKG_DIR) +endef + +$(eval $(call BuildPackage,python-etk)) diff --git a/efl/python-etk/patches/000-prevent-using-setuptools.patch b/efl/python-etk/patches/000-prevent-using-setuptools.patch new file mode 100644 index 0000000000..910145e2f4 --- /dev/null +++ b/efl/python-etk/patches/000-prevent-using-setuptools.patch @@ -0,0 +1,24 @@ +diff -ruN python-etk-r38564.orig/setup.py python-etk-r38564/setup.py +--- python-etk-r38564.orig/setup.py 2009-01-13 11:20:07.000000000 +0100 ++++ python-etk-r38564/setup.py 2009-01-13 11:22:59.000000000 +0100 +@@ -1,10 +1,7 @@ + import sys + import os + +-from ez_setup import use_setuptools +-use_setuptools('0.6c9') +- +-from setuptools import setup, find_packages, Extension ++from distutils.core import setup, Extension + from distutils.sysconfig import get_python_inc + from glob import glob + import commands +@@ -74,7 +71,7 @@ + long_description = long_description, + keywords = 'wrapper binding ui etk graphics', + classifiers = trove_classifiers, +- packages = find_packages(), ++ packages = ['etk'], + install_requires = ['python-evas>=0.2.1', 'python-ecore>=0.2.1'], + setup_requires = ['python-evas>=0.2.1', 'python-ecore>=0.2.1'], + headers = headers, diff --git a/efl/python-evas/Makefile b/efl/python-evas/Makefile new file mode 100644 index 0000000000..958a3f1123 --- /dev/null +++ b/efl/python-evas/Makefile @@ -0,0 +1,51 @@ +# +# Copyright (C) 2008 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# +# $Id: Makefile 13786 2008-12-31 15:02:25Z lars $ + +include $(TOPDIR)/rules.mk + +PKG_NAME:=python-evas + +PKG_REV:=38564 +PKG_VERSION:=r$(PKG_REV) +PKG_RELEASE:=1 + +PKG_SOURCE_PROTO:=svn +PKG_SOURCE_VERSION:=$(PKG_REV) +PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION) +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz +PKG_SOURCE_URL:=http://svn.enlightenment.org/svn/e/trunk/BINDINGS/python/$(PKG_NAME) + +PKG_BUILD_DEPENDS:=cython python + +include $(INCLUDE_DIR)/package.mk +include $(if $(DUMP),,$(STAGING_DIR)/mk/python-package.mk) + +define Package/python-evas + SUBMENU:=Python + SECTION:=lang + CATEGORY:=Languages + TITLE:=python-evas + DEPENDS:=python-core evas eina +endef + +define Package/python-evas/description + evas python bindings +endef + +define Build/Compile + $(call Build/Compile/PyMod,,install --prefix="$(PKG_INSTALL_DIR)/usr") +endef + +define Package/python-evas/install + $(INSTALL_DIR) $(1)$(PYTHON_PKG_DIR) + $(CP) \ + $(PKG_INSTALL_DIR)$(PYTHON_PKG_DIR)/* \ + $(1)$(PYTHON_PKG_DIR) +endef + +$(eval $(call BuildPackage,python-evas)) diff --git a/efl/python-evas/patches/000-prevent-using-setuptools.patch b/efl/python-evas/patches/000-prevent-using-setuptools.patch new file mode 100644 index 0000000000..b0897886a0 --- /dev/null +++ b/efl/python-evas/patches/000-prevent-using-setuptools.patch @@ -0,0 +1,24 @@ +diff -ruN python-evas-r38564.orig/setup.py python-evas-r38564/setup.py +--- python-evas-r38564.orig/setup.py 2009-01-13 10:17:27.000000000 +0100 ++++ python-evas-r38564/setup.py 2009-01-13 10:24:35.000000000 +0100 +@@ -1,10 +1,7 @@ + import sys + import os + +-from ez_setup import use_setuptools +-use_setuptools('0.6c9') +- +-from setuptools import setup, find_packages, Extension ++from distutils.core import setup, Extension + from distutils.command.install_headers import install_headers + from distutils.sysconfig import get_python_inc + import subprocess +@@ -142,7 +139,7 @@ + long_description=long_description, + keywords='wrapper binding enlightenment graphics raster evas canvas', + classifiers=trove_classifiers, +- packages=find_packages(), ++ packages=['evas'], + headers=headers, + ext_modules=[evasmodule], + zip_safe=False, -- 2.30.2