From: Mirko Vogt Date: Mon, 4 May 2009 13:13:38 +0000 (+0000) Subject: build efl-tools (edje_cc, edje_dece, edje_recc, eet, embryo_cc - needed among others... X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=50cf8109a63b76d80fdf4acfe8857fec725f2603;p=openwrt%2Fsvn-archive%2Farchive.git build efl-tools (edje_cc, edje_dece, edje_recc, eet, embryo_cc - needed among others for getting enlightenment built) for the host SVN-Revision: 15585 --- diff --git a/efl/ecore/Makefile b/efl/ecore/Makefile index 6e65d53cc6..63b08bb5d5 100644 --- a/efl/ecore/Makefile +++ b/efl/ecore/Makefile @@ -20,8 +20,11 @@ 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)/ +HOST_BUILD_DEPENDS:=eina/host evas/host + PKG_FIXUP = libtool +include $(INCLUDE_DIR)/host-build.mk include $(INCLUDE_DIR)/package.mk define Package/ecore @@ -30,7 +33,7 @@ define Package/ecore 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 +libiconv @!LINUX_2_4 + DEPENDS:=+eina +evas +libiconv @!LINUX_2_4 endef define Package/ecore/description @@ -64,6 +67,54 @@ define Build/Configure --disable-ecore-evas-quartz \ --enable-ecore-evas-buffer \ --enable-ecore-file \ + --enable-inotify \ + --disable-poll \ + --enable-ecore-imf \ + --enable-ecore-imf_evas \ + --disable-doc \ + --disable-simple-x11 \ + --disable-ecore-x-xcb \ + --disable-ecore-evas-opengl-x11 \ + --disable-ecore-evas-software-16-x11 \ + --disable-ecore-evas-software-xcb \ + --disable-ecore-evas-xrender-xcb \ + --disable-ecore-win32 \ + --disable-ecore-evas-software-ddraw \ + --disable-ecore-evas-direct3d \ + --disable-ecore-evas-opengl-glew \ + --disable-ecore-evas-software-16-ddraw \ + --disable-ecore-wince \ + --disable-ecore-evas-software-16-wince \ + --disable-ecore-directfb \ + --disable-ecore-fb \ + --disable-ecore-sdl \ + --disable-ecore-quartz \ + ) +endef + +define Host/Configure + ( cd $(HOST_BUILD_DIR); NOCONFIGURE=YES ./autogen.sh ); + $(call Host/Configure/Default, \ + --without-x \ + --with-iconv-link \ + --disable-gnutls \ + --disable-openssl \ + --disable-curl \ + --disable-abstract-sockets \ + --enable-ecore-job \ + --enable-ecore-con \ + --enable-ecore-ipc \ + --disable-ecore-config \ + --enable-ecore-txt \ + --enable-ecore-evas \ + --disable-ecore-x \ + --disable-ecore-evas-xrender-x11 \ + --disable-ecore-evas-dfb \ + --disable-ecore-evas-fb \ + --disable-ecore-evas-sdl \ + --disable-ecore-evas-quartz \ + --enable-ecore-evas-buffer \ + --enable-ecore-file \ --disable-inotify \ --disable-poll \ --enable-ecore-imf \ @@ -106,4 +157,5 @@ define Package/ecore/install $(FIND) $(1)/ -name "*.a" | $(XARGS) rm endef +$(eval $(call HostBuild)) $(eval $(call BuildPackage,ecore)) diff --git a/efl/edje/Makefile b/efl/edje/Makefile index 97653fc4f1..30e6eb7ecf 100644 --- a/efl/edje/Makefile +++ b/efl/edje/Makefile @@ -20,8 +20,11 @@ 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)/ +HOST_BUILD_DEPENDS:=evas/host ecore/host eet/host embryo/host + PKG_FIXUP = libtool +include $(INCLUDE_DIR)/host-build.mk include $(INCLUDE_DIR)/package.mk define Package/edje @@ -30,7 +33,7 @@ define Package/edje SUBMENU:=libraries TITLE:=Edje is a graphical design and layout library URL:=http://wiki.enlightenment.org/index.php/Edje - DEPENDS:=+evas +ecore +embryo + DEPENDS:=+evas +ecore +eet +embryo endef define Package/edje/description @@ -45,6 +48,14 @@ define Build/Configure ) endef +define Host/Configure + ( cd $(HOST_BUILD_DIR); NOCONFIGURE=YES ./autogen.sh ); + $(call Host/Configure/Default, \ + --enable-edje-cc \ + --disable-doc \ + ) +endef + define Build/Compile DESTDIR="$(PKG_INSTALL_DIR)" $(MAKE) -C $(PKG_BUILD_DIR) all install endef @@ -60,4 +71,5 @@ define Package/edje/install $(CP) $(PKG_INSTALL_DIR)/usr/lib/*.so* $(1)/usr/lib/ endef +$(eval $(call HostBuild)) $(eval $(call BuildPackage,edje)) diff --git a/efl/eet/Makefile b/efl/eet/Makefile index ec6203fe7b..0b1d22d41d 100644 --- a/efl/eet/Makefile +++ b/efl/eet/Makefile @@ -22,6 +22,9 @@ PKG_BUILD_DIR=$(BUILD_DIR)/Xorg/$(_CATEGORY)/$(PKG_NAME)-$(PKG_VERSION)/ PKG_FIXUP = libtool +HOST_BUILD_DEPENDS:=libjpeg/host eina/host + +include $(INCLUDE_DIR)/host-build.mk include $(INCLUDE_DIR)/package.mk define Package/eet @@ -52,6 +55,21 @@ define Build/Configure ) endef +define Host/Configure + ( cd $(HOST_BUILD_DIR); NOCONFIGURE=YES ./autogen.sh ); + $(call Host/Configure/Default, \ + --disable-old-eet-file-format \ + --disable-gnutls \ + --disable-openssl \ + --disable-cipher \ + --disable-signature \ + --disable-doc \ + --disable-assert \ + --disable-tests \ + --disable-coverage \ + ) +endef + define Build/Compile DESTDIR="$(PKG_INSTALL_DIR)" $(MAKE) -C $(PKG_BUILD_DIR) all install endef @@ -69,4 +87,5 @@ define Package/eet/install $(CP) $(PKG_INSTALL_DIR)/usr/bin/* $(1)/usr/bin/ endef +$(eval $(call HostBuild)) $(eval $(call BuildPackage,eet)) diff --git a/efl/embryo/Makefile b/efl/embryo/Makefile index fc18163639..99fb4e3f7b 100644 --- a/efl/embryo/Makefile +++ b/efl/embryo/Makefile @@ -22,6 +22,7 @@ PKG_BUILD_DIR=$(BUILD_DIR)/Xorg/$(_CATEGORY)/$(PKG_NAME)-$(PKG_VERSION)/ PKG_FIXUP = libtool +include $(INCLUDE_DIR)/host-build.mk include $(INCLUDE_DIR)/package.mk define Package/embryo @@ -43,6 +44,13 @@ define Build/Configure ) endef +define Host/Configure + ( cd $(HOST_BUILD_DIR); NOCONFIGURE=YES ./autogen.sh ); + $(call Host/Configure/Default, \ + --disable-doc \ + ) +endef + define Build/Compile DESTDIR="$(PKG_INSTALL_DIR)" $(MAKE) -C $(PKG_BUILD_DIR) all install endef @@ -59,4 +67,5 @@ define Package/embryo/install $(CP) $(PKG_INSTALL_DIR)/usr/bin/embryo_cc $(1)/usr/bin/ endef +$(eval $(call HostBuild)) $(eval $(call BuildPackage,embryo)) diff --git a/efl/enlightenment/Makefile b/efl/enlightenment/Makefile index cb64dddedb..e29845e403 100644 --- a/efl/enlightenment/Makefile +++ b/efl/enlightenment/Makefile @@ -20,6 +20,8 @@ PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=http://svn.enlightenment.org/svn/e/trunk/e PKG_BUILD_DIR=$(BUILD_DIR)/Xorg/$(_CATEGORY)/$(PKG_NAME)-$(PKG_VERSION)/ +PKG_BUILD_DEPENDS:=edje/host + PKG_FIXUP = libtool include $(INCLUDE_DIR)/package.mk diff --git a/efl/evas/Makefile b/efl/evas/Makefile index 9d7e8b5d56..cdcc50a310 100644 --- a/efl/evas/Makefile +++ b/efl/evas/Makefile @@ -20,8 +20,11 @@ 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)/ +HOST_BUILD_DEPENDS:=jpeg/host libpng/host libfreetype/host eet/host + PKG_FIXUP = libtool +include $(INCLUDE_DIR)/host-build.mk include $(INCLUDE_DIR)/package.mk define Package/evas @@ -30,13 +33,15 @@ define Package/evas SUBMENU:=libraries TITLE:=Evas is a hardware-accelerated canvas API for X-Windows URL:=http://wiki.enlightenment.org/index.php/Evas - DEPENDS:=+libXext +libfreetype +libX11 +fontconfig +eet +libfreetype +libjpeg +libpng +libXrender +libpthread + DEPENDS:=+libXext +libfreetype +libX11 +fontconfig +eet +libjpeg +libpng +libXrender +libpthread 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 +# for weird reasons libevas.so seems to not being linked against libX11 + define Build/Configure ( cd $(PKG_BUILD_DIR); NOCONFIGURE=YES ./autogen.sh ); $(call Build/Configure/Default, \ @@ -52,7 +57,7 @@ define Build/Configure --disable-image-loader-svg \ --disable-image-loader-tiff \ --enable-image-loader-xpm \ - --enable-evas-magic-debug \ + --disable-evas-magic-debug \ --enable-convert-8-rgb-332 \ --enable-convert-8-rgb-666 \ --enable-convert-8-rgb-232 \ @@ -118,6 +123,87 @@ define Build/Configure ) endef +define Host/Configure + ( cd $(HOST_BUILD_DIR); NOCONFIGURE=YES ./autogen.sh ); + $(call Host/Configure/Default, \ + --without-x \ + --disable-fontconfig \ + --disable-image-loader-edb \ + --enable-image-loader-eet \ + --disable-font-loader-eet \ + --enable-image-loader-gif \ + --enable-image-loader-jpeg \ + --disable-image-loader-pmaps \ + --enable-image-loader-png \ + --disable-image-loader-svg \ + --disable-image-loader-tiff \ + --enable-image-loader-xpm \ + --disable-evas-magic-debug \ + --disable-convert-8-rgb-332 \ + --disable-convert-8-rgb-666 \ + --disable-convert-8-rgb-232 \ + --disable-convert-8-rgb-222 \ + --disable-convert-8-rgb-221 \ + --disable-convert-8-rgb-121 \ + --disable-convert-8-rgb-111 \ + --disable-convert-16-rgb-565 \ + --disable-convert-16-bgr-565 \ + --disable-convert-16-rgb-555 \ + --disable-convert-16-rgb-444 \ + --disable-convert-16-rgb-ipq \ + --disable-convert-16-rgb-rot-0 \ + --disable-convert-16-rgb-rot-180 \ + --disable-convert-16-rgb-rot-270 \ + --disable-convert-16-rgb-rot-90 \ + --disable-convert-24-rgb-888 \ + --disable-convert-24-bgr-888 \ + --disable-convert-32-rgb-8888 \ + --disable-convert-32-rgbx-8888 \ + --disable-convert-32-bgr-8888 \ + --disable-convert-32-bgrx-8888 \ + --disable-convert-32-rgb-rot-0 \ + --disable-convert-32-rgb-rot-180 \ + --disable-convert-32-rgb-rot-270 \ + --disable-convert-32-rgb-rot-90 \ + --disable-doc \ + --disable-simple-x11 \ + --enable-buffer \ + --disable-software-x11 \ + --disable-xrender-x11 \ + --disable-gl-x11 \ + --disable-glitz-x11 \ + --disable-cairo-x11 \ + --disable-software-xcb \ + --disable-xrender-xcb \ + --disable-software-ddraw \ + --disable-direct3d \ + --disable-quartz \ + --disable-gl-glew \ + --disable-software-sdl \ + --disable-fb \ + --disable-directfb \ + --disable-software-qtopia \ + --disable-software-16-x11 \ + --disable-software-16-ddraw \ + --disable-software-16-wince \ + --disable-sdl-primitive \ + --disable-pthreads \ + --disable-async-events \ + --disable-async-preload \ + --disable-cpu-mmx \ + --disable-cpu-sse \ + --disable-cpu-altivec \ + --enable-cpu-c \ + --enable-scale-sample \ + --enable-scale-smooth \ + --disable-convert-yuv \ + --disable-small-dither-mask \ + --disable-line-dither-mask \ + --disable-no-dither-mask \ + --disable-valgrind \ + ) +endef + define Build/Compile DESTDIR="$(PKG_INSTALL_DIR)" $(MAKE) -C $(PKG_BUILD_DIR) all install endef @@ -136,4 +222,5 @@ define Package/evas/install $(FIND) $(1)/ -name "*.a" | $(XARGS) rm endef +$(eval $(call HostBuild)) $(eval $(call BuildPackage,evas))