aboutsummaryrefslogtreecommitdiff
path: root/project
diff options
context:
space:
mode:
authornight199uk <night199uk@xbmc.org>2013-05-05 04:32:42 +0800
committerJonathan Marshall <jmarshall@xbmc.org>2013-12-22 13:27:23 +1300
commit68e14beace458c7e1b5735e1b6305e653c27e676 (patch)
tree936d1bc31ab8ee44f31b55243d7ecdc1546764c4 /project
parente13564c7e86349dc3207054b171ddf0cca3802ac (diff)
[scrapers] Support XSLT transforms (XML->XML) in the scrapers
Diffstat (limited to 'project')
-rw-r--r--project/BuildDependencies/scripts/libxml2_d.bat15
-rw-r--r--project/BuildDependencies/scripts/libxml2_d.txt2
-rw-r--r--project/BuildDependencies/scripts/libxslt_d.bat15
-rw-r--r--project/BuildDependencies/scripts/libxslt_d.txt2
-rw-r--r--project/VS2010Express/XBMC.vcxproj8
-rw-r--r--project/VS2010Express/XBMC.vcxproj.filters6
-rw-r--r--project/Win32BuildSetup/XBMC for Windows.nsi2
7 files changed, 47 insertions, 3 deletions
diff --git a/project/BuildDependencies/scripts/libxml2_d.bat b/project/BuildDependencies/scripts/libxml2_d.bat
new file mode 100644
index 0000000000..54605254ff
--- /dev/null
+++ b/project/BuildDependencies/scripts/libxml2_d.bat
@@ -0,0 +1,15 @@
+@ECHO ON
+rem libxml2 is needed by libxslt
+
+SET LOC_PATH=%CD%
+SET FILES=%LOC_PATH%\libxml2_d.txt
+
+CALL dlextract.bat libxml2 %FILES%
+
+cd %TMP_PATH%
+
+echo readme.txt > libxml2_exclude.txt
+
+xcopy libxml2-2.7.8-win32\* "%XBMC_PATH%\" /E /Q /I /Y /EXCLUDE:libxml2_exclude.txt
+
+cd %LOC_PATH%
diff --git a/project/BuildDependencies/scripts/libxml2_d.txt b/project/BuildDependencies/scripts/libxml2_d.txt
new file mode 100644
index 0000000000..ab83b9d1ae
--- /dev/null
+++ b/project/BuildDependencies/scripts/libxml2_d.txt
@@ -0,0 +1,2 @@
+; filename source of the file
+libxml2-2.7.8-win32.7z http://mirrors.xbmc.org/build-deps/win32/
diff --git a/project/BuildDependencies/scripts/libxslt_d.bat b/project/BuildDependencies/scripts/libxslt_d.bat
new file mode 100644
index 0000000000..f61128b61a
--- /dev/null
+++ b/project/BuildDependencies/scripts/libxslt_d.bat
@@ -0,0 +1,15 @@
+@ECHO OFF
+rem libxslt depends on libxml2
+
+SET LOC_PATH=%CD%
+SET FILES=%LOC_PATH%\libxslt_d.txt
+
+CALL dlextract.bat libxslt %FILES%
+
+cd %TMP_PATH%
+
+echo readme.txt > libxslt_exclude.txt
+
+xcopy libxslt-1.1.26-win32\* "%XBMC_PATH%\" /E /Q /I /Y /EXCLUDE:libxslt_exclude.txt
+
+cd %LOC_PATH%
diff --git a/project/BuildDependencies/scripts/libxslt_d.txt b/project/BuildDependencies/scripts/libxslt_d.txt
new file mode 100644
index 0000000000..df6eb163da
--- /dev/null
+++ b/project/BuildDependencies/scripts/libxslt_d.txt
@@ -0,0 +1,2 @@
+; filename mirror of the file
+libxslt-1.1.26-win32.7z http://mirrors.xbmc.org/build-deps/win32/ \ No newline at end of file
diff --git a/project/VS2010Express/XBMC.vcxproj b/project/VS2010Express/XBMC.vcxproj
index 3d3b73fae5..e655f7bb44 100644
--- a/project/VS2010Express/XBMC.vcxproj
+++ b/project/VS2010Express/XBMC.vcxproj
@@ -158,7 +158,7 @@
<IgnoreSpecificDefaultLibraries>libc;msvcrt;libcmt;msvcrtd;msvcprtd;%(IgnoreSpecificDefaultLibraries)</IgnoreSpecificDefaultLibraries>
<ModuleDefinitionFile>
</ModuleDefinitionFile>
- <DelayLoadDLLs>dnssd.dll;dwmapi.dll;libmicrohttpd-5.dll;ssh.dll;sqlite3.dll;libsamplerate-0.dll;%(DelayLoadDLLs)</DelayLoadDLLs>
+ <DelayLoadDLLs>libxslt.dll;dnssd.dll;dwmapi.dll;libmicrohttpd-5.dll;ssh.dll;sqlite3.dll;libsamplerate-0.dll;%(DelayLoadDLLs)</DelayLoadDLLs>
<ProgramDatabaseFile>$(OutDir)XBMC.pdb</ProgramDatabaseFile>
<EntryPointSymbol>
</EntryPointSymbol>
@@ -190,7 +190,7 @@
<IgnoreSpecificDefaultLibraries>libc;msvcrt;libcmt;msvcrtd;msvcprtd;%(IgnoreSpecificDefaultLibraries)</IgnoreSpecificDefaultLibraries>
<ModuleDefinitionFile>
</ModuleDefinitionFile>
- <DelayLoadDLLs>dnssd.dll;dwmapi.dll;libmicrohttpd-5.dll;ssh.dll;sqlite3.dll;libsamplerate-0.dll;%(DelayLoadDLLs)</DelayLoadDLLs>
+ <DelayLoadDLLs>libxslt.dll;dnssd.dll;dwmapi.dll;libmicrohttpd-5.dll;ssh.dll;sqlite3.dll;libsamplerate-0.dll;%(DelayLoadDLLs)</DelayLoadDLLs>
<ProgramDatabaseFile>$(OutDir)XBMC.pdb</ProgramDatabaseFile>
<SubSystem>Console</SubSystem>
<EntryPointSymbol>
@@ -220,7 +220,7 @@
<AdditionalDependencies>D3dx9.lib;DInput8.lib;DSound.lib;winmm.lib;Mpr.lib;Iphlpapi.lib;PowrProf.lib;setupapi.lib;dwmapi.lib;yajl.lib;dxguid.lib;%(AdditionalDependencies)</AdditionalDependencies>
<OutputFile>$(OutDir)XBMC.exe</OutputFile>
<IgnoreSpecificDefaultLibraries>libc;msvcrt;libci;msvcprt;%(IgnoreSpecificDefaultLibraries)</IgnoreSpecificDefaultLibraries>
- <DelayLoadDLLs>dnssd.dll;dwmapi.dll;libmicrohttpd-5.dll;ssh.dll;sqlite3.dll;libsamplerate-0.dll;%(DelayLoadDLLs)</DelayLoadDLLs>
+ <DelayLoadDLLs>libxslt.dll;dnssd.dll;dwmapi.dll;libmicrohttpd-5.dll;ssh.dll;sqlite3.dll;libsamplerate-0.dll;%(DelayLoadDLLs)</DelayLoadDLLs>
<GenerateDebugInformation>true</GenerateDebugInformation>
<ProgramDatabaseFile>$(OutDir)XBMC.pdb</ProgramDatabaseFile>
<RandomizedBaseAddress>true</RandomizedBaseAddress>
@@ -1133,6 +1133,7 @@
<ClInclude Include="..\..\xbmc\utils\Utf8Utils.h" />
<ClInclude Include="..\..\xbmc\utils\uXstrings.h" />
<ClInclude Include="..\..\xbmc\utils\Vector.h" />
+ <ClInclude Include="..\..\xbmc\utils\XSLTUtils.h" />
<ClInclude Include="..\..\xbmc\video\FFmpegVideoDecoder.h" />
<ClInclude Include="..\..\xbmc\interfaces\python\swig.h" />
<ClInclude Include="..\..\xbmc\interfaces\python\XBPython.h" />
@@ -1284,6 +1285,7 @@
</ClCompile>
<ClCompile Include="..\..\xbmc\utils\Utf8Utils.cpp" />
<ClCompile Include="..\..\xbmc\utils\Vector.cpp" />
+ <ClCompile Include="..\..\xbmc\utils\XSLTUtils.cpp" />
<ClCompile Include="..\..\xbmc\video\PlayerController.cpp" />
<ClCompile Include="..\..\xbmc\video\VideoThumbLoader.cpp" />
<ClCompile Include="..\..\xbmc\music\MusicThumbLoader.cpp" />
diff --git a/project/VS2010Express/XBMC.vcxproj.filters b/project/VS2010Express/XBMC.vcxproj.filters
index 007ffb99f5..c4d6cfcfbb 100644
--- a/project/VS2010Express/XBMC.vcxproj.filters
+++ b/project/VS2010Express/XBMC.vcxproj.filters
@@ -3110,6 +3110,9 @@
<ClCompile Include="..\..\xbmc\utils\Utf8Utils.cpp">
<Filter>utils</Filter>
</ClCompile>
+ <ClCompile Include="..\..\xbmc\utils\XSLTUtils.cpp">
+ <Filter>utils</Filter>
+ </ClCompile>
</ItemGroup>
<ItemGroup>
<ClInclude Include="..\..\xbmc\win32\pch.h">
@@ -6112,6 +6115,9 @@
<ClInclude Include="..\..\xbmc\utils\Utf8Utils.h">
<Filter>utils</Filter>
</ClInclude>
+ <ClInclude Include="..\..\xbmc\utils\XSLTUtils.h">
+ <Filter>utils</Filter>
+ </ClInclude>
</ItemGroup>
<ItemGroup>
<ResourceCompile Include="..\..\xbmc\win32\XBMC_PC.rc">
diff --git a/project/Win32BuildSetup/XBMC for Windows.nsi b/project/Win32BuildSetup/XBMC for Windows.nsi
index d20c206e55..94358ecb43 100644
--- a/project/Win32BuildSetup/XBMC for Windows.nsi
+++ b/project/Win32BuildSetup/XBMC for Windows.nsi
@@ -259,6 +259,8 @@ Section "Uninstall"
Delete "$INSTDIR\python27.dll"
Delete "$INSTDIR\libcdio-*.dll"
Delete "$INSTDIR\libiconv-2.dll"
+ Delete "$INSTDIR\libxml2.dll"
+ Delete "$INSTDIR\iconv.dll"
RMDir /r "$INSTDIR\language"
RMDir /r "$INSTDIR\media"
RMDir /r "$INSTDIR\plugins"