Managed to recompile the OpenELEC xbmc for RPi with 13.x release. Here is simple instructions how to do it:
Requirements:
- Linux distribution ( I used Ubuntu 12.0.4 LTS 32 bits for this build )
- Access to official building instructions
http://wiki.openelec.tv/index.php?title=...spberry_Pi
Steps:
- Follow the basic steps in building instructions above up to the point where you need to start actual building process ( up to "PROJECT=RPi ARCH=arm make release" ). I recommend here to start a screen session just in case you loose connectivity to host. Building process takes a lot of time and you it's a good idea to have it start it in a screen session just in case you need to check from someplace else.
- cd to OpenELEC build root and then to "projects/RPi/patches/xbmc"
- create a file called hd_patch.patch and paste the flowing( content between === ):
===
diff -ru a/xbmc-13-6d3bb09/lib/libUPnP/Platinum/Source/Core/PltHttp.h b/xbmc-13-6d3bb09/lib/libUPnP/Platinum/Source/Core/PltHttp.h
--- a/lib/libUPnP/Platinum/Source/Core/PltHttp.h 2014-07-19 09:27:00.000000000 +0300
+++ b/lib/libUPnP/Platinum/Source/Core/PltHttp.h 2014-07-28 01:11:42.662411456 +0300
@@ -49,11 +49,11 @@
| constants
+---------------------------------------------------------------------*/
#if !defined(PLT_HTTP_DEFAULT_USER_AGENT)
-#define PLT_HTTP_DEFAULT_USER_AGENT "UPnP/1.0 DLNADOC/1.50 Platinum/" PLT_PLATINUM_SDK_VERSION_STRING
+#define PLT_HTTP_DEFAULT_USER_AGENT "UPnP/1.0 DLNADOC/1.50 XBMC Platinum/" PLT_PLATINUM_SDK_VERSION_STRING
#endif
#if !defined(PLT_HTTP_DEFAULT_SERVER)
-#define PLT_HTTP_DEFAULT_SERVER "UPnP/1.0 DLNADOC/1.50 Platinum/" PLT_PLATINUM_SDK_VERSION_STRING
+#define PLT_HTTP_DEFAULT_SERVER "UPnP/1.0 DLNADOC/1.50 XBMC Platinum/" PLT_PLATINUM_SDK_VERSION_STRING
#endif
===
- cd to top dir ( OpenELEC ) and issue command "PROJECT=RPi ARCH=arm make release"
- after build process is ready ( might take 2-4 hours depending on hw. ) you end up under "target" dir with build of patched version
- upgrade or install according to official instruction
For me it worked after first build and no need to do anything else. If for some reason you want to recompile only section of OpenELEC ( the patched one ) then you can delete folder "build.OpenELEC-RPi.arm-devel/.stamps/xbmc" and issue make sequence again. It will only patch,config and build the xbmc without the rest.