From 50f6d69a1401476cf7a644833403d3c6454c2c78 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Fri, 11 Oct 2013 10:45:26 +0200 Subject: fix read-only startup, fix strange directory names --- package/xbmc/Makefile | 5 ++++- package/xbmc/patches/patch-xbmc_Application_cpp | 4 ++-- 2 files changed, 6 insertions(+), 3 deletions(-) (limited to 'package/xbmc') diff --git a/package/xbmc/Makefile b/package/xbmc/Makefile index 1eb77d9c1..98e245bae 100644 --- a/package/xbmc/Makefile +++ b/package/xbmc/Makefile @@ -5,7 +5,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:= xbmc PKG_VERSION:= 12.2 -PKG_RELEASE:= 1 +PKG_RELEASE:= 2 PKG_MD5SUM:= 489f3877decae4e265ece54f9eaef0ba PKG_DESCR:= software media player PKG_SECTION:= multimedia @@ -56,6 +56,9 @@ CONFIGURE_ARGS+= --disable-optical-drive \ --disable-x11 \ --with-platform=raspberry-pi +post-extract: + (cd $(WRKDIR) && ${BASH} $(TOPDIR)/scripts/xbmc-fix.sh) + xbmc-install: $(INSTALL_DIR) $(IDIR_XBMC)/usr/lib/xbmc $(CP) $(WRKINST)/usr/lib/xbmc/* \ diff --git a/package/xbmc/patches/patch-xbmc_Application_cpp b/package/xbmc/patches/patch-xbmc_Application_cpp index 587456a07..dd350c3b6 100644 --- a/package/xbmc/patches/patch-xbmc_Application_cpp +++ b/package/xbmc/patches/patch-xbmc_Application_cpp @@ -1,5 +1,5 @@ --- xbmc-12.2.orig/xbmc/Application.cpp 2013-05-03 07:57:41.000000000 +0200 -+++ xbmc-12.2/xbmc/Application.cpp 2013-10-08 13:55:01.000000000 +0200 ++++ xbmc-12.2/xbmc/Application.cpp 2013-10-10 18:43:17.000000000 +0200 @@ -615,7 +615,7 @@ bool CApplication::Create() if (!CLog::Init(CSpecialProtocol::TranslatePath(g_settings.m_logFolder).c_str())) @@ -35,7 +35,7 @@ - CStdString strTempPath = userHome; - strTempPath = URIUtils::AddFileToFolder(strTempPath, ".xbmc/temp"); + CStdString strTempPath = "/tmp"; -+ strTempPath = URIUtils::AddFileToFolder(strTempPath, "/.xbmc/temp"); ++ strTempPath = URIUtils::AddFileToFolder(strTempPath, "/xbmc"); if (getenv("XBMC_TEMP")) strTempPath = getenv("XBMC_TEMP"); CSpecialProtocol::SetTempPath(strTempPath); -- cgit v1.2.3