From 5265597861b5ae6472710c75941aeda564ce95f9 Mon Sep 17 00:00:00 2001 From: Georgi Georgiev Date: Mon, 19 Nov 2012 00:11:06 +0900 Subject: [PATCH 1/5] Properly count the number of commits The "git log --pretty=format:" command eats up the line feed for the last commit, and thus "wc -l" counts one commit less than there are. This is easy to demonstrate with: $ git log '2.95.3^..2.95.3' --oneline e84de34 config/version: set version to 2.95.3 (OpenELEC-3.0 Beta 3) $ git log '2.95.3^..2.95.3' --pretty=format: | wc -l 0 Even though this is a minor discrepancy, "git rev-list" and "git rev-parse" are simpler and more accurate tools for this task (their output format is not going to change). --- scripts/image | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/image b/scripts/image index 42b77d10e2..dd46401e7a 100755 --- a/scripts/image +++ b/scripts/image @@ -35,8 +35,8 @@ export INSTALL=$BUILD/image/system BUILD_DATE=`date +%Y%m%d%H%M%S` if [ "$OPENELEC_VERSION" = devel -o "$OPENELEC_VERSION" = debug ]; then - GIT_BUILD=`git log --pretty=format:'' | wc -l` - GIT_HASH=`git log -n1 --format=%H` + GIT_BUILD=`git rev-list HEAD | wc -l` + GIT_HASH=`git rev-parse HEAD` OPENELEC_VERSION=$OPENELEC_VERSION-$BUILD_DATE-r$GIT_BUILD fi From fafdff9988404412f3291b34cf8ac325a9c8ac3f Mon Sep 17 00:00:00 2001 From: Stephan Raue Date: Fri, 7 Dec 2012 04:08:42 +0100 Subject: [PATCH 2/5] libcec: update to libcec-2.0.5 Signed-off-by: Stephan Raue --- packages/devel/libcec/meta | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/devel/libcec/meta b/packages/devel/libcec/meta index 87c8b7bac7..e175abeb2b 100644 --- a/packages/devel/libcec/meta +++ b/packages/devel/libcec/meta @@ -19,7 +19,7 @@ ################################################################################ PKG_NAME="libcec" -PKG_VERSION="2.0.4" +PKG_VERSION="2.0.5" PKG_REV="1" PKG_ARCH="any" PKG_LICENSE="GPL" From 35dde388a2c73ebd26b1e739fabfb70af1397f1d Mon Sep 17 00:00:00 2001 From: Stephan Raue Date: Sat, 8 Dec 2012 03:24:36 +0100 Subject: [PATCH 3/5] xbmc: update to xbmc-ae60d24 Signed-off-by: Stephan Raue --- packages/mediacenter/xbmc-theme-Confluence/meta | 2 +- ...e-ae60d24-001-add_oe_settings_to_homescreen.patch} | 0 packages/mediacenter/xbmc/meta | 2 +- ...0d24-001-add_support_to_specify_GIT_REV-0.1.patch} | 0 ...h => xbmc-ae60d24-303-fix_libdvd_xFLAGS-0.1.patch} | 0 ...atch => xbmc-ae60d24-311-fix_rsxs_build-0.1.patch} | 0 ...0d24-321-texturepacker-hostflags-and-rework.patch} | 0 ...ble_PYTHONOPTIMIZE_with_external_Python-0.1.patch} | 0 ... => xbmc-ae60d24-452-change_lcd_content-0.1.patch} | 0 ...mc-ae60d24-453-add_openelec.tv_RSS_news-0.1.patch} | 0 ...h => xbmc-ae60d24-454-disable_backslash-0.1.patch} | 0 ...> xbmc-ae60d24-457-fix_connection_check-0.1.patch} | 0 ...=> xbmc-ae60d24-463-add_remote_devinput-0.1.patch} | 0 ...-PR1179.patch => xbmc-ae60d24-990.01-PR1179.patch} | 0 .../patches/xbmc-e979ca9-999-include_unistd.h.patch | 11 ----------- 15 files changed, 2 insertions(+), 13 deletions(-) rename packages/mediacenter/xbmc-theme-Confluence/patches/{xbmc-theme-Confluence-e979ca9-001-add_oe_settings_to_homescreen.patch => xbmc-theme-Confluence-ae60d24-001-add_oe_settings_to_homescreen.patch} (100%) rename packages/mediacenter/xbmc/patches/{xbmc-e979ca9-001-add_support_to_specify_GIT_REV-0.1.patch => xbmc-ae60d24-001-add_support_to_specify_GIT_REV-0.1.patch} (100%) rename packages/mediacenter/xbmc/patches/{xbmc-e979ca9-303-fix_libdvd_xFLAGS-0.1.patch => xbmc-ae60d24-303-fix_libdvd_xFLAGS-0.1.patch} (100%) rename packages/mediacenter/xbmc/patches/{xbmc-e979ca9-311-fix_rsxs_build-0.1.patch => xbmc-ae60d24-311-fix_rsxs_build-0.1.patch} (100%) rename packages/mediacenter/xbmc/patches/{xbmc-e979ca9-321-texturepacker-hostflags-and-rework.patch => xbmc-ae60d24-321-texturepacker-hostflags-and-rework.patch} (100%) rename packages/mediacenter/xbmc/patches/{xbmc-e979ca9-408-enable_PYTHONOPTIMIZE_with_external_Python-0.1.patch => xbmc-ae60d24-408-enable_PYTHONOPTIMIZE_with_external_Python-0.1.patch} (100%) rename packages/mediacenter/xbmc/patches/{xbmc-e979ca9-452-change_lcd_content-0.1.patch => xbmc-ae60d24-452-change_lcd_content-0.1.patch} (100%) rename packages/mediacenter/xbmc/patches/{xbmc-e979ca9-453-add_openelec.tv_RSS_news-0.1.patch => xbmc-ae60d24-453-add_openelec.tv_RSS_news-0.1.patch} (100%) rename packages/mediacenter/xbmc/patches/{xbmc-e979ca9-454-disable_backslash-0.1.patch => xbmc-ae60d24-454-disable_backslash-0.1.patch} (100%) rename packages/mediacenter/xbmc/patches/{xbmc-e979ca9-457-fix_connection_check-0.1.patch => xbmc-ae60d24-457-fix_connection_check-0.1.patch} (100%) rename packages/mediacenter/xbmc/patches/{xbmc-e979ca9-463-add_remote_devinput-0.1.patch => xbmc-ae60d24-463-add_remote_devinput-0.1.patch} (100%) rename packages/mediacenter/xbmc/patches/{xbmc-e979ca9-990.01-PR1179.patch => xbmc-ae60d24-990.01-PR1179.patch} (100%) delete mode 100644 packages/mediacenter/xbmc/patches/xbmc-e979ca9-999-include_unistd.h.patch diff --git a/packages/mediacenter/xbmc-theme-Confluence/meta b/packages/mediacenter/xbmc-theme-Confluence/meta index d8d54e2abe..1aeb237080 100644 --- a/packages/mediacenter/xbmc-theme-Confluence/meta +++ b/packages/mediacenter/xbmc-theme-Confluence/meta @@ -19,7 +19,7 @@ ################################################################################ PKG_NAME="xbmc-theme-Confluence" -PKG_VERSION="e979ca9" +PKG_VERSION="ae60d24" PKG_REV="1" PKG_ARCH="any" PKG_LICENSE="GPL" diff --git a/packages/mediacenter/xbmc-theme-Confluence/patches/xbmc-theme-Confluence-e979ca9-001-add_oe_settings_to_homescreen.patch b/packages/mediacenter/xbmc-theme-Confluence/patches/xbmc-theme-Confluence-ae60d24-001-add_oe_settings_to_homescreen.patch similarity index 100% rename from packages/mediacenter/xbmc-theme-Confluence/patches/xbmc-theme-Confluence-e979ca9-001-add_oe_settings_to_homescreen.patch rename to packages/mediacenter/xbmc-theme-Confluence/patches/xbmc-theme-Confluence-ae60d24-001-add_oe_settings_to_homescreen.patch diff --git a/packages/mediacenter/xbmc/meta b/packages/mediacenter/xbmc/meta index 865bed92f1..43c0b624b5 100644 --- a/packages/mediacenter/xbmc/meta +++ b/packages/mediacenter/xbmc/meta @@ -19,7 +19,7 @@ ################################################################################ PKG_NAME="xbmc" -PKG_VERSION="e979ca9" +PKG_VERSION="ae60d24" PKG_REV="1" PKG_ARCH="any" PKG_LICENSE="GPL" diff --git a/packages/mediacenter/xbmc/patches/xbmc-e979ca9-001-add_support_to_specify_GIT_REV-0.1.patch b/packages/mediacenter/xbmc/patches/xbmc-ae60d24-001-add_support_to_specify_GIT_REV-0.1.patch similarity index 100% rename from packages/mediacenter/xbmc/patches/xbmc-e979ca9-001-add_support_to_specify_GIT_REV-0.1.patch rename to packages/mediacenter/xbmc/patches/xbmc-ae60d24-001-add_support_to_specify_GIT_REV-0.1.patch diff --git a/packages/mediacenter/xbmc/patches/xbmc-e979ca9-303-fix_libdvd_xFLAGS-0.1.patch b/packages/mediacenter/xbmc/patches/xbmc-ae60d24-303-fix_libdvd_xFLAGS-0.1.patch similarity index 100% rename from packages/mediacenter/xbmc/patches/xbmc-e979ca9-303-fix_libdvd_xFLAGS-0.1.patch rename to packages/mediacenter/xbmc/patches/xbmc-ae60d24-303-fix_libdvd_xFLAGS-0.1.patch diff --git a/packages/mediacenter/xbmc/patches/xbmc-e979ca9-311-fix_rsxs_build-0.1.patch b/packages/mediacenter/xbmc/patches/xbmc-ae60d24-311-fix_rsxs_build-0.1.patch similarity index 100% rename from packages/mediacenter/xbmc/patches/xbmc-e979ca9-311-fix_rsxs_build-0.1.patch rename to packages/mediacenter/xbmc/patches/xbmc-ae60d24-311-fix_rsxs_build-0.1.patch diff --git a/packages/mediacenter/xbmc/patches/xbmc-e979ca9-321-texturepacker-hostflags-and-rework.patch b/packages/mediacenter/xbmc/patches/xbmc-ae60d24-321-texturepacker-hostflags-and-rework.patch similarity index 100% rename from packages/mediacenter/xbmc/patches/xbmc-e979ca9-321-texturepacker-hostflags-and-rework.patch rename to packages/mediacenter/xbmc/patches/xbmc-ae60d24-321-texturepacker-hostflags-and-rework.patch diff --git a/packages/mediacenter/xbmc/patches/xbmc-e979ca9-408-enable_PYTHONOPTIMIZE_with_external_Python-0.1.patch b/packages/mediacenter/xbmc/patches/xbmc-ae60d24-408-enable_PYTHONOPTIMIZE_with_external_Python-0.1.patch similarity index 100% rename from packages/mediacenter/xbmc/patches/xbmc-e979ca9-408-enable_PYTHONOPTIMIZE_with_external_Python-0.1.patch rename to packages/mediacenter/xbmc/patches/xbmc-ae60d24-408-enable_PYTHONOPTIMIZE_with_external_Python-0.1.patch diff --git a/packages/mediacenter/xbmc/patches/xbmc-e979ca9-452-change_lcd_content-0.1.patch b/packages/mediacenter/xbmc/patches/xbmc-ae60d24-452-change_lcd_content-0.1.patch similarity index 100% rename from packages/mediacenter/xbmc/patches/xbmc-e979ca9-452-change_lcd_content-0.1.patch rename to packages/mediacenter/xbmc/patches/xbmc-ae60d24-452-change_lcd_content-0.1.patch diff --git a/packages/mediacenter/xbmc/patches/xbmc-e979ca9-453-add_openelec.tv_RSS_news-0.1.patch b/packages/mediacenter/xbmc/patches/xbmc-ae60d24-453-add_openelec.tv_RSS_news-0.1.patch similarity index 100% rename from packages/mediacenter/xbmc/patches/xbmc-e979ca9-453-add_openelec.tv_RSS_news-0.1.patch rename to packages/mediacenter/xbmc/patches/xbmc-ae60d24-453-add_openelec.tv_RSS_news-0.1.patch diff --git a/packages/mediacenter/xbmc/patches/xbmc-e979ca9-454-disable_backslash-0.1.patch b/packages/mediacenter/xbmc/patches/xbmc-ae60d24-454-disable_backslash-0.1.patch similarity index 100% rename from packages/mediacenter/xbmc/patches/xbmc-e979ca9-454-disable_backslash-0.1.patch rename to packages/mediacenter/xbmc/patches/xbmc-ae60d24-454-disable_backslash-0.1.patch diff --git a/packages/mediacenter/xbmc/patches/xbmc-e979ca9-457-fix_connection_check-0.1.patch b/packages/mediacenter/xbmc/patches/xbmc-ae60d24-457-fix_connection_check-0.1.patch similarity index 100% rename from packages/mediacenter/xbmc/patches/xbmc-e979ca9-457-fix_connection_check-0.1.patch rename to packages/mediacenter/xbmc/patches/xbmc-ae60d24-457-fix_connection_check-0.1.patch diff --git a/packages/mediacenter/xbmc/patches/xbmc-e979ca9-463-add_remote_devinput-0.1.patch b/packages/mediacenter/xbmc/patches/xbmc-ae60d24-463-add_remote_devinput-0.1.patch similarity index 100% rename from packages/mediacenter/xbmc/patches/xbmc-e979ca9-463-add_remote_devinput-0.1.patch rename to packages/mediacenter/xbmc/patches/xbmc-ae60d24-463-add_remote_devinput-0.1.patch diff --git a/packages/mediacenter/xbmc/patches/xbmc-e979ca9-990.01-PR1179.patch b/packages/mediacenter/xbmc/patches/xbmc-ae60d24-990.01-PR1179.patch similarity index 100% rename from packages/mediacenter/xbmc/patches/xbmc-e979ca9-990.01-PR1179.patch rename to packages/mediacenter/xbmc/patches/xbmc-ae60d24-990.01-PR1179.patch diff --git a/packages/mediacenter/xbmc/patches/xbmc-e979ca9-999-include_unistd.h.patch b/packages/mediacenter/xbmc/patches/xbmc-e979ca9-999-include_unistd.h.patch deleted file mode 100644 index 1221dd1806..0000000000 --- a/packages/mediacenter/xbmc/patches/xbmc-e979ca9-999-include_unistd.h.patch +++ /dev/null @@ -1,11 +0,0 @@ -diff -Naur xbmc-1677554/tools/EventClients/Clients/WiiRemote/WiiUse_WiiRemote.h xbmc-1677554.patch/tools/EventClients/Clients/WiiRemote/WiiUse_WiiRemote.h ---- xbmc-1677554/tools/EventClients/Clients/WiiRemote/WiiUse_WiiRemote.h 2012-10-27 20:43:47.000000000 +0200 -+++ xbmc-1677554.patch/tools/EventClients/Clients/WiiRemote/WiiUse_WiiRemote.h 2012-10-28 16:39:35.842914672 +0100 -@@ -21,6 +21,7 @@ - #include - #include - //#include -+#include - #ifdef DEB_PACK - #include - #else From 4ee9ebb9fdb97ad01e02077d3ab6b77be1e416d9 Mon Sep 17 00:00:00 2001 From: Stephan Raue Date: Sat, 8 Dec 2012 03:25:14 +0100 Subject: [PATCH 4/5] libnfs: update to libnfs-1.5.0 Signed-off-by: Stephan Raue --- packages/network/libnfs/meta | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/network/libnfs/meta b/packages/network/libnfs/meta index 870cbc49f3..8007036fdc 100644 --- a/packages/network/libnfs/meta +++ b/packages/network/libnfs/meta @@ -19,7 +19,7 @@ ################################################################################ PKG_NAME="libnfs" -PKG_VERSION="1.3.0" +PKG_VERSION="1.5.0" PKG_REV="1" PKG_ARCH="any" PKG_LICENSE="GPL" From a8c0f5d01a8b42df61182eb105717965baa73ba4 Mon Sep 17 00:00:00 2001 From: Stephan Raue Date: Sat, 8 Dec 2012 04:57:06 +0100 Subject: [PATCH 5/5] crystalhd: update to crystalhd-3cb6786, thanks to 'chewitt' Signed-off-by: Stephan Raue --- packages/multimedia/crystalhd/build | 1 + packages/multimedia/crystalhd/meta | 6 +-- .../patches/crystalhd-171-kernel-3.4.patch | 28 ------------ .../crystalhd-171-use_8_DMA_buffers-0.1.patch | 14 ------ ...rystalhd-3cb6786-crosscompiling-0.1.patch} | 0 .../patches/crystalhd-3cb6786-fix_typo.patch | 12 +++++ ...alhd-3cb6786-lower_THRESHOLD_globals.patch | 18 ++++++++ .../crystalhd-3cb6786-use_8_DMA_buffers.patch | 12 +++++ tools/mkpkg/mkpkg_crystalhd-linuxtv | 44 +++++++++++++++++++ 9 files changed, 90 insertions(+), 45 deletions(-) delete mode 100644 packages/multimedia/crystalhd/patches/crystalhd-171-kernel-3.4.patch delete mode 100644 packages/multimedia/crystalhd/patches/crystalhd-171-use_8_DMA_buffers-0.1.patch rename packages/multimedia/crystalhd/patches/{crystalhd-171-crosscompiling-0.1.patch => crystalhd-3cb6786-crosscompiling-0.1.patch} (100%) create mode 100644 packages/multimedia/crystalhd/patches/crystalhd-3cb6786-fix_typo.patch create mode 100644 packages/multimedia/crystalhd/patches/crystalhd-3cb6786-lower_THRESHOLD_globals.patch create mode 100644 packages/multimedia/crystalhd/patches/crystalhd-3cb6786-use_8_DMA_buffers.patch create mode 100755 tools/mkpkg/mkpkg_crystalhd-linuxtv diff --git a/packages/multimedia/crystalhd/build b/packages/multimedia/crystalhd/build index 7d093f4b3a..7a3709052f 100755 --- a/packages/multimedia/crystalhd/build +++ b/packages/multimedia/crystalhd/build @@ -23,6 +23,7 @@ . config/options $1 cd $PKG_BUILD/driver/linux +autoreconf -vif ./configure --host=$TARGET_NAME \ --build=$HOST_NAME \ --prefix=/usr \ diff --git a/packages/multimedia/crystalhd/meta b/packages/multimedia/crystalhd/meta index c3698b89ec..f471341558 100644 --- a/packages/multimedia/crystalhd/meta +++ b/packages/multimedia/crystalhd/meta @@ -19,12 +19,12 @@ ################################################################################ PKG_NAME="crystalhd" -PKG_VERSION="171" +PKG_VERSION="3cb6786" PKG_REV="1" PKG_ARCH="any" PKG_LICENSE="GPL" -PKG_SITE="http://code.google.com/p/crystalhd-for-osx/" -PKG_URL="$DISTRO_SRC/$PKG_NAME-$PKG_VERSION.tar.bz2" +PKG_SITE="http://git.linuxtv.org/jarod/crystalhd.git" +PKG_URL="$DISTRO_SRC/$PKG_NAME-$PKG_VERSION.tar.xz" PKG_DEPENDS="linux" PKG_BUILD_DEPENDS="toolchain linux" PKG_PRIORITY="optional" diff --git a/packages/multimedia/crystalhd/patches/crystalhd-171-kernel-3.4.patch b/packages/multimedia/crystalhd/patches/crystalhd-171-kernel-3.4.patch deleted file mode 100644 index e4493b1c93..0000000000 --- a/packages/multimedia/crystalhd/patches/crystalhd-171-kernel-3.4.patch +++ /dev/null @@ -1,28 +0,0 @@ -diff -Naur crystalhd-171/driver/linux/crystalhd_lnx.h crystalhd-171.patch/driver/linux/crystalhd_lnx.h ---- crystalhd-171/driver/linux/crystalhd_lnx.h 2010-10-18 01:56:15.000000000 +0200 -+++ crystalhd-171.patch/driver/linux/crystalhd_lnx.h 2012-07-24 00:17:05.257202412 +0200 -@@ -45,7 +45,10 @@ - #include - #include - #include -+#include -+#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 4, 0) - #include -+#endif - #include - - #include "crystalhd_cmds.h" -diff -Naur crystalhd-171/driver/linux/crystalhd_misc.h crystalhd-171.patch/driver/linux/crystalhd_misc.h ---- crystalhd-171/driver/linux/crystalhd_misc.h 2010-10-18 01:56:15.000000000 +0200 -+++ crystalhd-171.patch/driver/linux/crystalhd_misc.h 2012-07-24 00:16:57.091091576 +0200 -@@ -35,7 +35,10 @@ - #include - #include - #include -+#include -+#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 4, 0) - #include -+#endif - #include "bc_dts_glob_lnx.h" - #include "crystalhd_hw.h" - diff --git a/packages/multimedia/crystalhd/patches/crystalhd-171-use_8_DMA_buffers-0.1.patch b/packages/multimedia/crystalhd/patches/crystalhd-171-use_8_DMA_buffers-0.1.patch deleted file mode 100644 index 02ff65480e..0000000000 --- a/packages/multimedia/crystalhd/patches/crystalhd-171-use_8_DMA_buffers-0.1.patch +++ /dev/null @@ -1,14 +0,0 @@ -diff -Naur crystalhd-171/include/bc_dts_glob_lnx.h crystalhd-171.patch/include/bc_dts_glob_lnx.h ---- crystalhd-171/include/bc_dts_glob_lnx.h 2010-10-18 01:56:14.000000000 +0200 -+++ crystalhd-171.patch/include/bc_dts_glob_lnx.h 2010-10-24 02:53:16.739741578 +0200 -@@ -76,8 +76,8 @@ - BC_LINK_MAX_OPENS = 3, /* Maximum simultaneous opens*/ - BC_LINK_MAX_SGLS = 1024, /* Maximum SG elements 4M/4K */ - BC_TX_LIST_CNT = 2, /* Max Tx DMA Rings */ -- //BC_RX_LIST_CNT = 8, /* Max Rx DMA Rings*/ -- BC_RX_LIST_CNT = 16, /* Max Rx DMA Rings*/ -+ BC_RX_LIST_CNT = 8, /* Max Rx DMA Rings*/ -+ //BC_RX_LIST_CNT = 16, /* Max Rx DMA Rings*/ - BC_PROC_OUTPUT_TIMEOUT = 2000, /* Milliseconds */ - BC_INFIFO_THRESHOLD = 0x10000, - }; diff --git a/packages/multimedia/crystalhd/patches/crystalhd-171-crosscompiling-0.1.patch b/packages/multimedia/crystalhd/patches/crystalhd-3cb6786-crosscompiling-0.1.patch similarity index 100% rename from packages/multimedia/crystalhd/patches/crystalhd-171-crosscompiling-0.1.patch rename to packages/multimedia/crystalhd/patches/crystalhd-3cb6786-crosscompiling-0.1.patch diff --git a/packages/multimedia/crystalhd/patches/crystalhd-3cb6786-fix_typo.patch b/packages/multimedia/crystalhd/patches/crystalhd-3cb6786-fix_typo.patch new file mode 100644 index 0000000000..8f8cfe4832 --- /dev/null +++ b/packages/multimedia/crystalhd/patches/crystalhd-3cb6786-fix_typo.patch @@ -0,0 +1,12 @@ +diff -Naur crystalhd-3cb6786/linux_lib/libcrystalhd/libcrystalhd_fwdiag_if.cpp crystalhd-3cb6786.patch/linux_lib/libcrystalhd/libcrystalhd_fwdiag_if.cpp +--- crystalhd-3cb6786/linux_lib/libcrystalhd/libcrystalhd_fwdiag_if.cpp 2012-12-08 03:31:38.000000000 +0100 ++++ crystalhd-3cb6786.patch/linux_lib/libcrystalhd/libcrystalhd_fwdiag_if.cpp 2012-12-08 04:48:46.572661023 +0100 +@@ -233,7 +233,7 @@ + + } + else +- DebugLog_Trace(LDIL_DBG,"Uart Set Sucessfully\n"); ++ DebugLog_Trace(LDIL_DBG,"Uart Set Successfully\n"); + + //START_PROCESSOR bit in DCI_CMD. + RegVal = 0; diff --git a/packages/multimedia/crystalhd/patches/crystalhd-3cb6786-lower_THRESHOLD_globals.patch b/packages/multimedia/crystalhd/patches/crystalhd-3cb6786-lower_THRESHOLD_globals.patch new file mode 100644 index 0000000000..8dda49dfcf --- /dev/null +++ b/packages/multimedia/crystalhd/patches/crystalhd-3cb6786-lower_THRESHOLD_globals.patch @@ -0,0 +1,18 @@ +diff -Naur crystalhd-3cb6786/linux_lib/libcrystalhd/libcrystalhd_priv.h crystalhd-3cb6786.patch/linux_lib/libcrystalhd/libcrystalhd_priv.h +--- crystalhd-3cb6786/linux_lib/libcrystalhd/libcrystalhd_priv.h 2012-12-08 03:31:38.000000000 +0100 ++++ crystalhd-3cb6786.patch/linux_lib/libcrystalhd/libcrystalhd_priv.h 2012-12-08 04:53:46.515531561 +0100 +@@ -62,10 +62,10 @@ + BC_INPUT_MDATA_POOL_SZ_COLLECT = 256, /* Input Meta Data Pool size for collector */ + BC_MAX_SW_VOUT_BUFFS = BC_RX_LIST_CNT, /* MAX - pre allocated buffers..*/ + RX_START_DELIVERY_THRESHOLD = 0, +- PAUSE_DECODER_THRESHOLD = 12, +- RESUME_DECODER_THRESHOLD = 5, +- FLEA_RT_PD_THRESHOLD = 14, +- FLEA_RT_PU_THRESHOLD = 3, ++ PAUSE_DECODER_THRESHOLD = 6, ++ RESUME_DECODER_THRESHOLD = 3, ++ FLEA_RT_PD_THRESHOLD = 7, ++ FLEA_RT_PU_THRESHOLD = 2, + HARDWARE_INIT_RETRY_CNT = 10, + HARDWARE_INIT_RETRY_LINK_CNT = 1, + }; diff --git a/packages/multimedia/crystalhd/patches/crystalhd-3cb6786-use_8_DMA_buffers.patch b/packages/multimedia/crystalhd/patches/crystalhd-3cb6786-use_8_DMA_buffers.patch new file mode 100644 index 0000000000..9b0eb8b1ff --- /dev/null +++ b/packages/multimedia/crystalhd/patches/crystalhd-3cb6786-use_8_DMA_buffers.patch @@ -0,0 +1,12 @@ +diff -Naur crystalhd-3cb6786/include/bc_dts_glob_lnx.h crystalhd-3cb6786.patch/include/bc_dts_glob_lnx.h +--- crystalhd-3cb6786/include/bc_dts_glob_lnx.h 2012-12-08 03:31:38.000000000 +0100 ++++ crystalhd-3cb6786.patch/include/bc_dts_glob_lnx.h 2012-12-08 04:50:12.004056345 +0100 +@@ -76,7 +76,7 @@ + BC_LINK_MAX_OPENS = 3, /* Maximum simultaneous opens*/ + BC_LINK_MAX_SGLS = 1024, /* Maximum SG elements 4M/4K */ + BC_TX_LIST_CNT = 2, /* Max Tx DMA Rings */ +- BC_RX_LIST_CNT = 16, /* Max Rx DMA Rings*/ ++ BC_RX_LIST_CNT = 8, /* Max Rx DMA Rings*/ + BC_PROC_OUTPUT_TIMEOUT = 2000, /* Milliseconds */ + BC_INFIFO_THRESHOLD = 0x10000, + }; diff --git a/tools/mkpkg/mkpkg_crystalhd-linuxtv b/tools/mkpkg/mkpkg_crystalhd-linuxtv new file mode 100755 index 0000000000..8ca3c04449 --- /dev/null +++ b/tools/mkpkg/mkpkg_crystalhd-linuxtv @@ -0,0 +1,44 @@ +#!/bin/sh + +################################################################################ +# This file is part of OpenELEC - http://www.openelec.tv +# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv) +# +# This Program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2, or (at your option) +# any later version. +# +# This Program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with OpenELEC.tv; see the file COPYING. If not, write to +# the Free Software Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110, USA. +# http://www.gnu.org/copyleft/gpl.html +################################################################################ + +echo "getting sources..." + if [ ! -d crystalhd.git ]; then + git clone git://linuxtv.org/jarod/crystalhd.git -b master crystalhd.git + fi + + cd crystalhd.git + git pull + GIT_REV=`git log -n1 --format=%h` + cd .. + +echo "copying sources..." + rm -rf crystalhd-$GIT_REV + cp -R crystalhd.git crystalhd-$GIT_REV + +echo "cleaning sources..." + rm -rf crystalhd-$GIT_REV/.git + +echo "packing sources..." + tar cvJf crystalhd-$GIT_REV.tar.xz crystalhd-$GIT_REV + +echo "remove temporary sourcedir..." + rm -rf crystalhd-$GIT_REV