From f9eab5d248fbb101ad71f8dc5b7da197ff8dcbc7 Mon Sep 17 00:00:00 2001 From: Stephan Raue Date: Fri, 1 Mar 2013 18:44:44 +0100 Subject: [PATCH 1/3] xbmc: add PR2323 Signed-off-by: Stephan Raue --- .../xbmc/patches/xbmc-990.15-PR2323.patch | 47 +++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 packages/mediacenter/xbmc/patches/xbmc-990.15-PR2323.patch diff --git a/packages/mediacenter/xbmc/patches/xbmc-990.15-PR2323.patch b/packages/mediacenter/xbmc/patches/xbmc-990.15-PR2323.patch new file mode 100644 index 0000000000..d8e6762441 --- /dev/null +++ b/packages/mediacenter/xbmc/patches/xbmc-990.15-PR2323.patch @@ -0,0 +1,47 @@ +--- xbmc-12.0.3/configure.in.orig 2013-03-01 13:21:58.791312360 +0100 ++++ xbmc-12.0.3/configure.in 2013-03-01 13:38:41.138311757 +0100 +@@ -990,9 +990,15 @@ + AC_CHECK_LIB([tiff], [main],, AC_MSG_ERROR($missing_library)) + if echo "$ARCH" | grep -q freebsd; then + AC_CHECK_LIB([pthread], [main],LIBS="-pthread $LIBS", AC_MSG_ERROR($missing_library)) ++AC_CHECK_LIB([pthread], [pthread_set_name_np], ++ AC_DEFINE([HAVE_PTHREAD_SET_NAME_NP],[1],["Define to 1 if pthread has pthread_set_name_np"]), ++ AC_MSG_RESULT([Could not find pthread_set_name_np in pthread])) + else + if test "$target_platform" != "target_android" ; then + AC_CHECK_LIB([pthread], [main],, AC_MSG_ERROR($missing_library)) ++ AC_CHECK_LIB([pthread], [pthread_setname_np], ++ AC_DEFINE([HAVE_PTHREAD_SETNAME_NP],[1],["Define to 1 if pthread has pthread_setname_np"]), ++ AC_MSG_RESULT([Could not find pthread_setname_np in pthread])) + fi + fi + AC_CHECK_LIB([lzo2], [main],, AC_MSG_ERROR($missing_library)) +--- xbmc-12.0.3/xbmc/threads/platform/pthreads/ThreadImpl.cpp.orig 2013-03-01 14:40:50.080309513 +0100 ++++ xbmc-12.0.3/xbmc/threads/platform/pthreads/ThreadImpl.cpp 2013-03-01 14:40:20.548309531 +0100 +@@ -18,6 +18,9 @@ + * + */ + ++#if (defined HAVE_CONFIG_H) && (!defined WIN32) ++ #include "config.h" ++#endif + #include + #if defined(TARGET_ANDROID) + #include +@@ -71,10 +74,16 @@ + m_ThreadOpaque.LwpId = syscall(SYS_gettid); + #endif + ++#if defined(HAVE_PTHREAD_SETNAME_NP) + #ifdef TARGET_DARWIN + #if(__MAC_OS_X_VERSION_MIN_REQUIRED >= 1060 || __IPHONE_OS_VERSION_MIN_REQUIRED >= 30200) + pthread_setname_np(m_ThreadName.c_str()); + #endif ++#else ++ pthread_setname_np(m_ThreadId, m_ThreadName.c_str()); ++#endif ++#elif defined(HAVE_PTHREAD_SET_NAME_NP) ++ pthread_set_name_np(m_ThreadId, m_ThreadName.c_str()); + #endif + + #ifdef RLIMIT_NICE From e6bcfb83fd2a82927049e25cf2c74d9936fda4cd Mon Sep 17 00:00:00 2001 From: Stephan Raue Date: Fri, 1 Mar 2013 18:46:01 +0100 Subject: [PATCH 2/3] xbmc: dont clean temp dir on boot Signed-off-by: Stephan Raue --- packages/mediacenter/xbmc/init.d/92_setup-xbmc | 9 --------- 1 file changed, 9 deletions(-) diff --git a/packages/mediacenter/xbmc/init.d/92_setup-xbmc b/packages/mediacenter/xbmc/init.d/92_setup-xbmc index d0c6163031..2af3d091c5 100644 --- a/packages/mediacenter/xbmc/init.d/92_setup-xbmc +++ b/packages/mediacenter/xbmc/init.d/92_setup-xbmc @@ -24,15 +24,6 @@ progress "setup XBMC" -# -# clean temp dir -# - # hack... we should always clean this temp dir, but we should keep - # the logfiles in debug mode - if [ ! "$DEBUG" = "yes" ]; then - rm -rf $HOME/.xbmc/temp/* - fi - # # add some default settings # From 107e046f4376ff3bfe0314b817d6ac0a1a7437c9 Mon Sep 17 00:00:00 2001 From: Stephan Raue Date: Fri, 1 Mar 2013 18:49:21 +0100 Subject: [PATCH 3/3] libcec: update to libcec-2.1.0 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 e175abeb2b..6734963e2c 100644 --- a/packages/devel/libcec/meta +++ b/packages/devel/libcec/meta @@ -19,7 +19,7 @@ ################################################################################ PKG_NAME="libcec" -PKG_VERSION="2.0.5" +PKG_VERSION="2.1.0" PKG_REV="1" PKG_ARCH="any" PKG_LICENSE="GPL"