From 429322a9a50a3ab56656ca2e9474c7102268dada Mon Sep 17 00:00:00 2001 From: Mirko Vogt Date: Wed, 17 Mar 2010 11:19:44 +0100 Subject: [PATCH 1/4] add missing dependency to tntnet --- cxxtools/Makefile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/cxxtools/Makefile b/cxxtools/Makefile index c896944..509abb4 100644 --- a/cxxtools/Makefile +++ b/cxxtools/Makefile @@ -23,9 +23,10 @@ include $(INCLUDE_DIR)/host-build.mk include $(INCLUDE_DIR)/package.mk define Package/cxxtools - TITLE:=cxxtools - SECTION:=utils - CATEGORY:=Utilities + TITLE:=cxxtools + SECTION:=utils + CATEGORY:=Utilities + DEPENDS:=+tntnet endef define Build/Configure From f97402f5f825ee5038f11bf7cb73d61c5f626735 Mon Sep 17 00:00:00 2001 From: Xiangfu Liu Date: Fri, 19 Mar 2010 21:11:56 +0800 Subject: [PATCH 2/4] add Volume control to fn-handle --- fn-handle/Makefile | 2 +- fn-handle/files/fn-handle.init | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/fn-handle/Makefile b/fn-handle/Makefile index 942254b..2611f01 100644 --- a/fn-handle/Makefile +++ b/fn-handle/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=fn-handle PKG_VERSION:=20100316 -PKG_REV:=748269bdcfd0cea82ff9e3a79f60a0c3bb3bd35b +PKG_REV:=acacde7b404a544d214f4ee01231bf0193a7155d PKG_RELEASE:=1 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz diff --git a/fn-handle/files/fn-handle.init b/fn-handle/files/fn-handle.init index eb0573c..c3f7eea 100755 --- a/fn-handle/files/fn-handle.init +++ b/fn-handle/files/fn-handle.init @@ -2,10 +2,12 @@ # Copyright (C) 2008 OpenWrt.org START=40 -DEVICE="/dev/input/event0" +DEVICE_PW="/dev/input/event0" +DEVICE_KB="/dev/input/event1" start() { - fnkeys $DEVICE & + fnkeys $DEVICE_PW & + fnkeys $DEVICE_KB & } stop() { From 2dd023593df9a3badd31f9615332640976b5d034 Mon Sep 17 00:00:00 2001 From: Mirko Vogt Date: Thu, 25 Mar 2010 13:53:07 +0100 Subject: [PATCH 3/4] mark package as broken as it does not even compile --- guile/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/guile/Makefile b/guile/Makefile index 44041e7..ec81eac 100644 --- a/guile/Makefile +++ b/guile/Makefile @@ -24,7 +24,7 @@ define Package/guile TITLE:=guile SECTION:=lang CATEGORY:=Languages - DEPENDS:=+libgmp +libpthread +libltdl + DEPENDS:=+libgmp +libpthread +libltdl @BROKEN URL:=http://savannah.gnu.org/projects/guile/ endef From 01766f2aa93d21cfeb61116a0a90d8c23992b78d Mon Sep 17 00:00:00 2001 From: Xiangfu Liu Date: Fri, 26 Mar 2010 16:44:21 +0800 Subject: [PATCH 4/4] [guile] disable multi thread in configure argument, for now need guile command in host --- guile/Makefile | 2 +- guile/patches/0001-disable-csqrt.patch | 13 +++++ ...-disable-pthread-check-disable-csqrt.patch | 50 ------------------- stardict/Makefile | 2 +- 4 files changed, 15 insertions(+), 52 deletions(-) create mode 100644 guile/patches/0001-disable-csqrt.patch delete mode 100644 guile/patches/0001-disable-pthread-check-disable-csqrt.patch diff --git a/guile/Makefile b/guile/Makefile index ec81eac..8a60d89 100644 --- a/guile/Makefile +++ b/guile/Makefile @@ -34,7 +34,7 @@ endef TARGET_LDFLAGS+="-Wl,-rpath-link=$(STAGING_DIR)/usr/lib" -CONFIGURE_ARGS += +CONFIGURE_ARGS += --without-threads define Package/guile/install $(INSTALL_DIR) $(1)/usr/bin diff --git a/guile/patches/0001-disable-csqrt.patch b/guile/patches/0001-disable-csqrt.patch new file mode 100644 index 0000000..e8b5b46 --- /dev/null +++ b/guile/patches/0001-disable-csqrt.patch @@ -0,0 +1,13 @@ +diff --git a/configure.in b/configure.in +index 217ac83..c4c16fc 100644 +--- a/configure.in ++++ b/configure.in +@@ -854,7 +854,7 @@ main (void) + }]])], + [guile_cv_use_csqrt=yes], + [guile_cv_use_csqrt="no, glibc 2.3 bug"], +- [guile_cv_use_csqrt="yes, hopefully (cross-compiling)"])]) ++ [guile_cv_use_csqrt="no, Ben NanoNote (cross-compiling)"])]) + case $guile_cv_use_csqrt in + yes*) + AC_DEFINE(HAVE_USABLE_CSQRT, 1, [Define to 1 if csqrt is bug-free]) diff --git a/guile/patches/0001-disable-pthread-check-disable-csqrt.patch b/guile/patches/0001-disable-pthread-check-disable-csqrt.patch deleted file mode 100644 index 016fcea..0000000 --- a/guile/patches/0001-disable-pthread-check-disable-csqrt.patch +++ /dev/null @@ -1,50 +0,0 @@ -diff --git a/configure b/configure -index a57297d..98857ae 100755 ---- a/configure -+++ b/configure -@@ -35053,6 +35053,8 @@ fi - - if test "$with_threads" = pthreads; then - -+cat >> /dev/null << end_pthread_attr_getstack_check_part1 -+ - { $as_echo "$as_me:$LINENO: checking whether pthread_attr_getstack works for the main thread" >&5 - $as_echo_n "checking whether pthread_attr_getstack works for the main thread... " >&6; } - old_CFLAGS="$CFLAGS" -@@ -35121,12 +35123,15 @@ $as_echo "$ac_try_echo") >&5 - ac_status=$? - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then -+ -+end_pthread_attr_getstack_check_part1 - works=yes - - cat >>confdefs.h <<\_ACEOF - #define PTHREAD_ATTR_GETSTACK_WORKS 1 - _ACEOF - -+cat >> /dev/null << end_pthread_attr_getstack_check_part2 - else - $as_echo "$as_me: program exited with status $ac_status" >&5 - $as_echo "$as_me: failed program was:" >&5 -@@ -35138,6 +35143,7 @@ fi - rm -rf conftest.dSYM - rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext - fi -+end_pthread_attr_getstack_check_part2 - - - CFLAGS="$old_CFLAGS" -diff --git a/configure.in b/configure.in -index 217ac83..c4c16fc 100644 ---- a/configure.in -+++ b/configure.in -@@ -854,7 +854,7 @@ main (void) - }]])], - [guile_cv_use_csqrt=yes], - [guile_cv_use_csqrt="no, glibc 2.3 bug"], -- [guile_cv_use_csqrt="yes, hopefully (cross-compiling)"])]) -+ [guile_cv_use_csqrt="no, Ben NanoNote (cross-compiling)"])]) - case $guile_cv_use_csqrt in - yes*) - AC_DEFINE(HAVE_USABLE_CSQRT, 1, [Define to 1 if csqrt is bug-free]) diff --git a/stardict/Makefile b/stardict/Makefile index eaadeda..8d64b90 100644 --- a/stardict/Makefile +++ b/stardict/Makefile @@ -12,7 +12,7 @@ PKG_NAME:=stardict PKG_VERSION:=3.0.1 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 -PKG_SOURCE_URL:=http://downloads.sourceforge.net/stardict/ +PKG_SOURCE_URL:=http://stardictproject.googlecode.com/files/ PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION) PKG_INSTALL:=1