diff --git a/fusion/Makefile b/fusion/Makefile new file mode 100644 index 0000000..f2be695 --- /dev/null +++ b/fusion/Makefile @@ -0,0 +1,48 @@ +# +# Copyright (C) 2009 Qi Hardware Inc. +# Author: Xiangfu Liu +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +include $(TOPDIR)/rules.mk +include $(INCLUDE_DIR)/kernel.mk + +PKG_NAME:=fusion +PKG_VERSION=8.1.1 +PKG_RELEASE:=1 + +PKG_SOURCE:=linux-$(PKG_NAME)-$(PKG_VERSION).tar.gz +PKG_SOURCE_URL:=http://www.directfb.org/downloads/Core/linux-fusion/ +PKG_BUILD_DIR:=$(BUILD_DIR)/linux-$(PKG_NAME)-$(PKG_VERSION) +SUB:=linux/drivers/char/fusion +export CONFIG_FUSION_DEVICE=m + +include $(INCLUDE_DIR)/package.mk + +define KernelPackage/fusion + SUBMENU:=Wireless Drivers + TITLE:=fusion for Directfb + DEPENDS:=@BROKEN + FILES:=$(PKG_BUILD_DIR)/$(SUB)/fusion.$(LINUX_KMOD_SUFFIX) + AUTOLOAD:=$(call AutoLoad,10,fusion) +endef + +AUTOCONF_H = -include $(LINUX_DIR)/include/linux/autoconf.h + +MAKE_OPTS:= \ + ARCH="$(LINUX_KARCH)" \ + CROSS_COMPILE="$(TARGET_CROSS)" \ + KBUILD_CPPFLAGS="-D__KERNEL__ -I$(PKG_BUILD_DIR)/linux/include -I$(LINUX_DIR)/include $(AUTOCONF_H)" \ + SUBDIRS=$(PKG_BUILD_DIR)/$(SUB) + +define Build/Compile + rm -f $(PKG_BUILD_DIR)/$(SUB)/Makefile + ln -s $(PKG_BUILD_DIR)/$(SUB)/Makefile-2.6 $(PKG_BUILD_DIR)/$(SUB)/Makefile + $(MAKE) -C "$(LINUX_DIR)" \ + $(MAKE_OPTS) \ + modules +endef + +$(eval $(call KernelPackage,fusion)) diff --git a/games/burgerspace/Makefile b/games/burgerspace/Makefile new file mode 100644 index 0000000..51bffcb --- /dev/null +++ b/games/burgerspace/Makefile @@ -0,0 +1,31 @@ +# NOT FINISH YET +# +# This is free software, licensed under the GNU General Public License v2. +# + +include $(TOPDIR)/rules.mk + +PKG_NAME:=burgerspace +PKG_VERSION:=1.9.0 +PKG_RELEASE:=1 + +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz +PKG_SOURCE_URL:=http://perso.b2b2c.ca/sarrazip/dev/ + +include $(INCLUDE_DIR)/package.mk + +define Package/burgerspace + SECTION:=games + CATEGORY:=Games + TITLE:=a hamburger-smashing video game + URL:=http://perso.b2b2c.ca/sarrazip/dev/burgerspace.html + DEPENDS:=+libncurses +flatzebra @BROKEN +endef + +define Package/burgerspace/install + $(INSTALL_DIR) \ + $(1)/usr/bin \ + $(1)/usr/share/games +endef + +$(eval $(call BuildPackage,burgerspace)) diff --git a/games/flatzebra/Makefile b/games/flatzebra/Makefile new file mode 100644 index 0000000..86a22b2 --- /dev/null +++ b/games/flatzebra/Makefile @@ -0,0 +1,31 @@ +# NOT FINISH YET +# +# This is free software, licensed under the GNU General Public License v2. +# + +include $(TOPDIR)/rules.mk + +PKG_NAME:=flatzebra +PKG_VERSION:=0.1.5 +PKG_RELEASE:=1 + +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz +PKG_SOURCE_URL:=http://perso.b2b2c.ca/sarrazip/dev/ + +include $(INCLUDE_DIR)/package.mk + +define Package/flatzebra + SECTION:=games + CATEGORY:=Games + TITLE:=A generic game engine for 2D double-buffering animation + URL:=http://perso.b2b2c.ca/sarrazip/dev/flatzebra.html + DEPENDS:=+libsdl-image @BROKEN +endef + +define Package/flatzebra/install + $(INSTALL_DIR) \ + $(1)/usr/bin \ + $(1)/usr/share/games +endef + +$(eval $(call BuildPackage,flatzebra)) diff --git a/gimmix/Makefile b/gimmix/Makefile new file mode 100644 index 0000000..412a4b2 --- /dev/null +++ b/gimmix/Makefile @@ -0,0 +1,44 @@ +# +# Copyright (C) 2009 Qi Hardware. +# Author: Xiangfu Liu +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +# ERROR: eggtrayicon.h:27:25: fatal error: gtk/gtkplug.h: No such file or directory + +include $(TOPDIR)/rules.mk + +PKG_NAME:=gimmix +PKG_VERSION:=0.5.7.1 + +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 +PKG_SOURCE_URL:=http://download.berlios.de/gimmix/ + +PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION) + + +include $(INCLUDE_DIR)/package.mk +include $(INCLUDE_DIR)/nls.mk + +define Package/gimmix + SECTION:=sound + CATEGORY:=Sound + TITLE:=Gimmix is a GTK2 client for MPD + DEPENDS:=+gtk2 +libintl +libglade +libmpd +taglibc @BROKEN + URL:=http://gimmix.berlios.de/ +endef + +define Package/gimmix/description + Gimmix is a GTK2 client for MPD +endef + +CONFIGURE_ARGS += --disable-libtool-lock --disable-lyrics --disable-cover + +define Package/gimmix/install + $(INSTALL_DIR) $(1)/usr/bin + $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/gimmix $(1)/usr/bin/ +endef + +$(eval $(call BuildPackage,gimmix)) diff --git a/gimmix/patches/001-fix-compile-error.patch b/gimmix/patches/001-fix-compile-error.patch new file mode 100644 index 0000000..e96a0f8 --- /dev/null +++ b/gimmix/patches/001-fix-compile-error.patch @@ -0,0 +1,33 @@ +diff --git a/configure b/configure +index 2332de3..0ec086d 100755 +--- a/configure ++++ b/configure +@@ -3308,7 +3308,7 @@ if test -n "0.21"; then + $as_echo_n "checking for intltool >= 0.21... " >&6; } + + INTLTOOL_REQUIRED_VERSION_AS_INT=`echo 0.21 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'` +- INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3` ++ INTLTOOL_APPLIED_VERSION=`echo 0.21` + INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'` + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_APPLIED_VERSION found" >&5 +@@ -3437,10 +3437,6 @@ $as_echo "no" >&6; } + fi + + +-if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then +- as_fn_error "The intltool scripts were not found. Please install intltool." "$LINENO" 5 +-fi +- + INTLTOOL_DESKTOP_RULE='%.desktop: %.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' + INTLTOOL_DIRECTORY_RULE='%.directory: %.directory.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' + INTLTOOL_KEYS_RULE='%.keys: %.keys.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -k -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' +@@ -12735,7 +12731,7 @@ fi + # Put the nasty error message in config.log where it belongs + echo "$GIMMIX_PKG_ERRORS" >&5 + +- as_fn_error "Package requirements ($pkg_modules) were not met: ++ as_echo "Package requirements ($pkg_modules) were not met: + + $GIMMIX_PKG_ERRORS + diff --git a/libexosip2/Makefile b/libexosip2/Makefile new file mode 100644 index 0000000..61b71da --- /dev/null +++ b/libexosip2/Makefile @@ -0,0 +1,62 @@ +# +# Copyright (C) 2011 Xiangfu Liu +# License GPLv2 or later. NO WARRANTY. +# +# libphone depends on libexosip2 + +include $(TOPDIR)/rules.mk + +PKG_NAME:=libexosip2 +PKG_VERSION:=3.5.0 +PKG_RELEASE:=1 +PKG_SOURCE:=libeXosip2-$(PKG_VERSION).tar.gz +PKG_SOURCE_URL:=http://download.savannah.gnu.org/releases/exosip/ +PKG_BUILD_DIR:=$(BUILD_DIR)/libeXosip2-$(PKG_VERSION) +PKG_INSTALL:=1 + +PKG_FIXUP:=libtool + +include $(INCLUDE_DIR)/package.mk + +define Package/libexosip2 + MAINTAINER:="Xiangfu Liu" + SECTION:=libs + CATEGORY:=Libraries + TITLE:=Libexosip2 + URL:=http://savannah.nongnu.org/projects/exosip/ + DEPENDS:=@BROKEN +# ERROR: ./configure: line 2766: syntax error near unexpected token `scripts' +# ./configure: line 2766: `AM_ACLOCAL_INCLUDE(scripts)' +endef + +define Package/libexosip2/description +eXosip is a library that hides the complexity of using the SIP protocol for mutlimedia session establishement. This protocol is mainly to be used by VoIP telephony applications (endpoints or conference server) but might be also usefull for any application that wish to establish sessions like multiplayer games. +endef + +TARGET_LDFLAGS += -Wl,-rpath-link -Wl,$(STAGING_DIR)/usr/lib + +TARGET_CPPFLAGS += + +CONFIGURE_ARGS += + +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/*.{a,la,so*} \ + $(1)/usr/lib/ +endef + +define Package/libexosip2/install + $(INSTALL_DIR) $(1)/usr/lib + $(CP) $(PKG_INSTALL_DIR)/usr/lib/*.so* $(1)/usr/lib/ +endef + +$(eval $(call BuildPackage,libexosip2)) + +# The following comments configure the Emacs editor. Just ignore them. +# Local Variables: +# compile-command: "make -C ~/openwrt-xburst.full_system package/libexosip2/{clean,compile} -j2 V=99" +# End: diff --git a/libjack/Makefile b/libjack/Makefile new file mode 100644 index 0000000..5d53166 --- /dev/null +++ b/libjack/Makefile @@ -0,0 +1,52 @@ +# +# Copyright (C) 2010 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +include $(TOPDIR)/rules.mk + +PKG_NAME:=libjack +PKG_VERSION:=1.9.7 +PKG_SOURCE:=jack-$(PKG_VERSION).tar.bz2 +PKG_SOURCE_URL:=http://www.grame.fr/~letz/ +PKG_BUILD_DIR:=$(BUILD_DIR)/jack-$(PKG_VERSION) + +PKG_RELEASE:=1 +PKG_INSTALL:=1 + +include $(INCLUDE_DIR)/package.mk + +define Package/libjack + SECTION:=libs + CATEGORY:=Libraries + TITLE:=jack + URL:=http://jackaudio.org/ + DEPENDS:=@BROKEN +# some python depends error: ImportError: No module named thread +endef + +define Package/libjack/description +endef + +define Build/Compile + cd $(PKG_BUILD_DIR) && \ + DESTDIR="$(PKG_INSTALL_DIR)" $(MAKE_VARS) \ + ./waf configure && \ + ./waf build && \ + ./waf install +endef + +define Build/InstallDev + mkdir -p $(1)/usr/include + $(CP) $(PKG_INSTALL_DIR)/usr/include/* $(1)/usr/include/ + mkdir -p $(1)/usr/lib + $(CP) $(PKG_INSTALL_DIR)/usr/lib/* $(1)/usr/lib/ +endef + +define Package/libjack/install + $(INSTALL_DIR) $(1)/usr/lib +endef + +$(eval $(call BuildPackage,libjack)) diff --git a/scim-pinyin/Makefile b/scim-pinyin/Makefile new file mode 100644 index 0000000..938b90d --- /dev/null +++ b/scim-pinyin/Makefile @@ -0,0 +1,39 @@ +# +# Copyright (C) 2009-2010 Qi Hardware Inc. +# Author: Xiangfu Liu +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +include $(TOPDIR)/rules.mk + +PKG_NAME:=scim-pinyin +PKG_VERSION:=0.5.91 + +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz +PKG_SOURCE_URL:=@SF/scim-pinyin +PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION) + +include $(INCLUDE_DIR)/package.mk +include $(INCLUDE_DIR)/nls.mk + +define Package/scim-pinyin + TITLE:=Smart Common Input Method_Chinese PinYin + SECTION:=utils + CATEGORY:=Utilities + URL:=http://www.scim-im.org/projects/imengines + DEPENDS:=+libintl +libiconv +scim +# ERROR: scim is broken +endef + +define Package/scim-pinyin/description + Smart Common Input Method, PinYin +endef + +define Package/scim-pinyin/install + $(INSTALL_DIR) $(1)/usr/bin + $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/scim-pinyin $(1)/usr/bin/ +endef + +$(eval $(call BuildPackage,scim-pinyin)) diff --git a/scim-pinyin/patches/010-fix-compile-error.patch b/scim-pinyin/patches/010-fix-compile-error.patch new file mode 100644 index 0000000..b3f2b0d --- /dev/null +++ b/scim-pinyin/patches/010-fix-compile-error.patch @@ -0,0 +1,62 @@ +add miss head files + +From: Xiangfu Liu + + +--- + + src/scim_phrase.cpp | 1 + + src/scim_pinyin.cpp | 1 + + src/scim_pinyin_phrase.cpp | 1 + + src/scim_special_table.cpp | 1 + + 4 files changed, 4 insertions(+), 0 deletions(-) + + +diff --git a/src/scim_phrase.cpp b/src/scim_phrase.cpp +index b8618ca..2534c5f 100644 +--- a/src/scim_phrase.cpp ++++ b/src/scim_phrase.cpp +@@ -28,6 +28,7 @@ + #define SCIM_PHRASE_MAX_RELATION 1000 + + #include ++#include + #include "scim_pinyin_private.h" + #include "scim_phrase.h" + +diff --git a/src/scim_pinyin.cpp b/src/scim_pinyin.cpp +index 0c281ec..7a762b6 100644 +--- a/src/scim_pinyin.cpp ++++ b/src/scim_pinyin.cpp +@@ -28,6 +28,7 @@ + #define Uses_SCIM_CONFIG_PATH + #define Uses_SCIM_LOOKUP_TABLE + ++#include + #include + #include "scim_pinyin.h" + +diff --git a/src/scim_pinyin_phrase.cpp b/src/scim_pinyin_phrase.cpp +index e44e9df..ab9997b 100644 +--- a/src/scim_pinyin_phrase.cpp ++++ b/src/scim_pinyin_phrase.cpp +@@ -26,6 +26,7 @@ + #define Uses_SCIM_CONFIG_PATH + #define Uses_SCIM_LOOKUP_TABLE + ++#include + #include + #include "scim_pinyin_private.h" + #include "scim_phrase.h" +diff --git a/src/scim_special_table.cpp b/src/scim_special_table.cpp +index 6a46e8f..b47cbcf 100644 +--- a/src/scim_special_table.cpp ++++ b/src/scim_special_table.cpp +@@ -20,6 +20,7 @@ + #define Uses_STL_IOMANIP + #define Uscs_C_STRING + ++#include + #include + #include + #include "scim_pinyin_private.h" diff --git a/scim/Makefile b/scim/Makefile new file mode 100644 index 0000000..9e44ce1 --- /dev/null +++ b/scim/Makefile @@ -0,0 +1,40 @@ +# +# Copyright (C) 2009-2010 Qi Hardware Inc. +# Author: Xiangfu Liu +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +include $(TOPDIR)/rules.mk + +PKG_NAME:=scim +PKG_VERSION:=1.4.7 + +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz +PKG_SOURCE_URL:=@SF/scim +PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION) + + +include $(INCLUDE_DIR)/package.mk +include $(INCLUDE_DIR)/nls.mk + +define Package/scim + TITLE:=Smart Common Input Method + SECTION:=utils + CATEGORY:=Utilities + URL:=http://www.scim-im.org/ + DEPENDS:=+libintl +libiconv @BROKEN +# ERROR: checking for /usr/share/sgml/docbook/xsl-stylesheets/html/tldp-html.xsl... configure: error: cannot check for file existence when cross compiling +endef + +define Package/scim/description + Smart Common Input Method +endef + +define Package/scim/install + $(INSTALL_DIR) $(1)/usr/bin + $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/scim $(1)/usr/bin/ +endef + +$(eval $(call BuildPackage,scim))