From 927c833392dfc371dc1a6a56adb19647b888c056 Mon Sep 17 00:00:00 2001 From: Xiangfu Liu Date: Mon, 30 Jan 2012 09:59:45 +0800 Subject: [PATCH] bard: update to 0.6 and disable mouse --- bard/Makefile | 2 +- ...0001-remove-configure-hardcode-path.patch} | 16 +++++++++-- bard/patches/0002-disable-mouse.patch | 27 +++++++++++++++++++ 3 files changed, 42 insertions(+), 3 deletions(-) rename bard/patches/{001-remove-configure-hardcode-check.patch => 0001-remove-configure-hardcode-path.patch} (51%) create mode 100644 bard/patches/0002-disable-mouse.patch diff --git a/bard/Makefile b/bard/Makefile index 8681592..cf76cb4 100644 --- a/bard/Makefile +++ b/bard/Makefile @@ -6,7 +6,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=bard -PKG_VERSION:=0.5 +PKG_VERSION:=0.6 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-current.tar.bz2 PKG_SOURCE_URL:=http://festvox.org/bard/ diff --git a/bard/patches/001-remove-configure-hardcode-check.patch b/bard/patches/0001-remove-configure-hardcode-path.patch similarity index 51% rename from bard/patches/001-remove-configure-hardcode-check.patch rename to bard/patches/0001-remove-configure-hardcode-path.patch index 189df29..a0553dd 100644 --- a/bard/patches/001-remove-configure-hardcode-check.patch +++ b/bard/patches/0001-remove-configure-hardcode-path.patch @@ -1,8 +1,17 @@ +From 2d451688f5fbacddf39de02f14ed1088f9414dd6 Mon Sep 17 00:00:00 2001 +From: Xiangfu +Date: Mon, 30 Jan 2012 09:57:01 +0800 +Subject: [PATCH 1/2] remove-configure-hardcode-path + +--- + configure.in | 10 ---------- + 1 files changed, 0 insertions(+), 10 deletions(-) + diff --git a/configure.in b/configure.in -index 0e44011..254d1da 100644 +index d1a93e0..9288a3f 100644 --- a/configure.in +++ b/configure.in -@@ -430,16 +430,6 @@ echo CMU Flite found in $FLITEDIR +@@ -443,16 +443,6 @@ echo CMU Flite found in $FLITEDIR AC_SUBST(FLITEDIR) dnl @@ -19,3 +28,6 @@ index 0e44011..254d1da 100644 dnl Find a font. dnl if test "x$DEFAULTFONT" = "x" +-- +1.7.5.4 + diff --git a/bard/patches/0002-disable-mouse.patch b/bard/patches/0002-disable-mouse.patch new file mode 100644 index 0000000..dcedb7d --- /dev/null +++ b/bard/patches/0002-disable-mouse.patch @@ -0,0 +1,27 @@ +From 559fc9a590cf13af7bfce87af6b78e5bae21eff4 Mon Sep 17 00:00:00 2001 +From: Xiangfu +Date: Mon, 30 Jan 2012 09:58:12 +0800 +Subject: [PATCH 2/2] disable-mouse + +--- + src/display.c | 4 ++++ + 1 files changed, 4 insertions(+), 0 deletions(-) + +diff --git a/src/display.c b/src/display.c +index 620ad8a..91dd965 100644 +--- a/src/display.c ++++ b/src/display.c +@@ -107,6 +107,10 @@ bard_display *bard_display_open(cst_features *config) + return NULL; + } + ++#ifdef BARD_TARGET_BEN_NANONOTE ++ SDL_ShowCursor(SDL_DISABLE); ++#endif ++ + return display; + } + +-- +1.7.5.4 +