Skip to content

Commit

Permalink
step 3/4: Move linuxport to trunk. How'd I get roped into this?
Browse files Browse the repository at this point in the history
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@23097 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
  • Loading branch information
AlTheKiller authored and AlTheKiller committed Sep 23, 2009
0 parents commit 45285e8
Show file tree
Hide file tree
Showing 17,686 changed files with 6,070,054 additions and 0 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
4,343 changes: 4,343 additions & 0 deletions .cproject

Large diffs are not rendered by default.

86 changes: 86 additions & 0 deletions .project
Original file line number Diff line number Diff line change
@@ -0,0 +1,86 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>XBMC</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.cdt.managedbuilder.core.genmakebuilder</name>
<triggers>full,incremental,</triggers>
<arguments>
<dictionary>
<key>?children?</key>
<value>?name?=outputEntries\|?children?=?name?=entry\\\\\\\\\\\\\\\|\\\\\\\|\||</value>
</dictionary>
<dictionary>
<key>?name?</key>
<value></value>
</dictionary>
<dictionary>
<key>org.eclipse.cdt.make.core.append_environment</key>
<value>true</value>
</dictionary>
<dictionary>
<key>org.eclipse.cdt.make.core.autoBuildTarget</key>
<value>all</value>
</dictionary>
<dictionary>
<key>org.eclipse.cdt.make.core.buildArguments</key>
<value>-configuration Debug</value>
</dictionary>
<dictionary>
<key>org.eclipse.cdt.make.core.buildCommand</key>
<value>xcodebuild</value>
</dictionary>
<dictionary>
<key>org.eclipse.cdt.make.core.buildLocation</key>
<value>${workspace_loc:/XBMC/}</value>
</dictionary>
<dictionary>
<key>org.eclipse.cdt.make.core.cleanBuildTarget</key>
<value>clean</value>
</dictionary>
<dictionary>
<key>org.eclipse.cdt.make.core.contents</key>
<value>org.eclipse.cdt.make.core.activeConfigSettings</value>
</dictionary>
<dictionary>
<key>org.eclipse.cdt.make.core.enableAutoBuild</key>
<value>false</value>
</dictionary>
<dictionary>
<key>org.eclipse.cdt.make.core.enableCleanBuild</key>
<value>false</value>
</dictionary>
<dictionary>
<key>org.eclipse.cdt.make.core.enableFullBuild</key>
<value>true</value>
</dictionary>
<dictionary>
<key>org.eclipse.cdt.make.core.fullBuildTarget</key>
<value></value>
</dictionary>
<dictionary>
<key>org.eclipse.cdt.make.core.stopOnError</key>
<value>true</value>
</dictionary>
<dictionary>
<key>org.eclipse.cdt.make.core.useDefaultBuildCmd</key>
<value>false</value>
</dictionary>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.cdt.managedbuilder.core.ScannerConfigBuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.cdt.core.cnature</nature>
<nature>org.eclipse.cdt.managedbuilder.core.ScannerConfigNature</nature>
<nature>org.eclipse.cdt.core.ccnature</nature>
<nature>org.eclipse.cdt.managedbuilder.core.managedBuildNature</nature>
</natures>
</projectDescription>
190 changes: 190 additions & 0 deletions Build.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,190 @@
@ECHO OFF
CLS
COLOR 1B
TITLE XBMC Build Prepare Script
rem ----PURPOSE----
rem - Create a working XBMC build with a single click
rem -------------------------------------------------------------
rem Config
rem If you get an error that Visual studio was not found, SET your path for VSNET main executable.
rem ONLY needed if you have a very old bios, SET the path for xbepatch. Not needed otherwise.
rem If Winrar isn't installed under standard programs, SET the path for WinRAR's (freeware) rar.exe
rem and finally set the options for the final rar.
rem -------------------------------------------------------------
rem Remove 'rem' from 'web / python' below to copy these to the BUILD directory.
rem -------------------------------------------------------------
rem CONFIG START
IF "%VS71COMNTOOLS%"=="" (
set NET="%ProgramFiles%\Microsoft Visual Studio .NET 2003\Common7\IDE\devenv.com"
) ELSE (
set NET="%VS71COMNTOOLS%\..\IDE\devenv.com"
)
IF NOT EXIST %NET% (
set DIETEXT=Visual Studio .NET 2003 was not found.
goto DIE
)

set OPTS_EXE=project\VS2003\XBMC_PC.sln /build "Release (SDL) Win32"
set CLEAN_EXE=project\VS2003\XBMC_PC.sln /clean "Release (SDL) Win32"
set EXE= "XBMC.exe"

set RAR="%ProgramFiles%\Winrar\rar.exe"
set RAR_ROOT=rar.exe
set RAROPS_EXE=a -r -idp -inul -m5 XBMC_PC.rar BUILD_WIN32
rem CONFIG END
rem -------------------------------------------------------------

ECHO ²²²²²²²±±±±±±±±°°°°°°°
ECHO ²ÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛ²²²²²²±±±±±°°°°°° ßßß²ÜÜ
ECHO ÞÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛ²²²²±±±°° ßßÜ
ECHO ²ÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛ²° Ý
ECHO ²ÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛßÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛ° ²
ECHO ±ÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÝ°ÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛ Þ
ECHO °ÛÛÛÛÛÛ²±° ßÛß ßÛÛÛß ß²ß ßÛÛÛß °²ÛÛÛ Þ
ECHO ÛÛÛÛÛÛÛÛÛÛÝ ÜÛÛÛÝ ²ÛÛÛÜ ÞÛÝ Ü²ÛÜ ÜÛÛÜ ÞÛ ÜÛÛÛÛÛÛÛ Þ
ECHO ²ÛÛÛÛÛÛÛÛÛÛ ÛÛÛÛÛÝ ÛÛÛÛÛÝ Û ÞÛÛÛÛÝ ÞÛÛÛÛÝ Ý ÞÛÛÛÛÛÛÛÛ ²
ECHO ±ÛÛÛÛÛÛÛÛÛÝ ÞÛÛÛÛÛÝ ÛÛÛÛÛÝ Û ÛÛÛÛÛÝ ÛÛÛÛÛÝ ²ÛÛÛÛÛÛÛ² Ý
ECHO °²ÛÛÛÛÛÛÛß ßÛÛÛÛÝ ßÛÛÛß ÞÝ ÛÛÛÛÛÝ ÛÛÛÛÛÝ ° ßÛÛÛÛÛÛÛÝ Ý
ECHO ±ÛÛÛ²±° ÜÛÛÜ °±²ÛÛÜ ÜÛ²ÜÛÛÛÛÛÛÜÛÛÛÛÛ² ÛÜ °²ÛÛÛÝÞ
ECHO °²ÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛ ²
ECHO ±ÛÛÛÛÛßßßßÛßßÛßßÛÛßÛÛßÛÛÛÛßßÛßßÛßßßÛßßÛßßÛßßÛÛÛÛÛÛÛ Ý
ECHO °²ÛÛÛÛ ÝÞ Û ßÛ Û Û ÛÝÜÞÛÛÛ ÛÛ ßÛ Û ÛÝÞÛ ßÛ ßÜÛÛÛÛÛ± Ý
ECHO ±ÛÛÛÛ ÝÞ Û ßÛ ßÜÛ Û Ü ÛÛÛ ßÛ ßÛ Û ÛÝÞÛ ßÛ Û ÛÛÛÛÛ°Þ
ECHO °²ÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛ²
ECHO ±°ÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜ °±²²²²
ECHO °²ÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛ²°°±²ß
ECHO ±²ÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛ²Û²²ßßßß
ECHO ²²ÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛ²Û²²ßßßß
ECHO ß²ÛÛÛÛ²Û²²²ßßßßßß
ECHO ------------------------------------------------------------
ECHO XBMC prepare menu
ECHO ------------------------------------------------------------
ECHO [1] Build XBMC_WIN32 ( for Windows use)
ECHO ------------------------------------------------------------
set /P XBMC_COMPILE_ANSWER=Please enter the number you want to build! [1]:
if /I %XBMC_COMPILE_ANSWER% EQU 1 goto EXE_COMPILE

:EXE_COMPILE
rem ---------------------------------------------
rem check for existing xbe
rem ---------------------------------------------
IF EXIST %EXE% (
goto EXE_EXIST
)
goto COMPILE_EXE

:EXE_EXIST
ECHO ------------------------------------------------------------
ECHO Found a previous Compiled WIN32 EXE!
ECHO [1] a NEW EXE will be compiled for the BUILD_WIN32
ECHO [2] existing EXE will be updated (quick mode compile) for the BUILD_WIN32
ECHO [3] existing EXE will be used for the BUILD_WIN32
ECHO ------------------------------------------------------------
set /P XBMC_COMPILE_ANSWER=Compile a new EXE? [1/2/3]:
if /I %XBMC_COMPILE_ANSWER% EQU 1 goto COMPILE_EXE
if /I %XBMC_COMPILE_ANSWER% EQU 2 goto COMPILE_NO_CLEAN_EXE
if /I %XBMC_COMPILE_ANSWER% EQU 3 goto MAKE_BUILD_EXE

:COMPILE_EXE
ECHO Wait while preparing the build.
ECHO ------------------------------------------------------------
ECHO Cleaning Solution...
%NET% %CLEAN_EXE%
ECHO Compiling Solution...
%NET% %OPTS_EXE%
IF NOT EXIST %EXE% (
set DIETEXT="XBMC.EXE failed to build! See .\project\VS2003\Release (SDL)\BuildLog.htm for details."
goto DIE
)
ECHO Done!
ECHO ------------------------------------------------------------
GOTO MAKE_BUILD_EXE

:COMPILE_NO_CLEAN_EXE
ECHO Wait while preparing the build.
ECHO ------------------------------------------------------------
ECHO Compiling Solution...
%NET% %OPTS_EXE%
IF NOT EXIST %EXE% (
set DIETEXT="XBMC.EXE failed to build! See .\project\VS2003\Release (SDL)\BuildLog.htm for details."
goto DIE
)
ECHO Done!
ECHO ------------------------------------------------------------
GOTO MAKE_BUILD_EXE

:MAKE_BUILD_EXE
ECHO Copying files...
rmdir BUILD_WIN32 /S /Q
md BUILD_WIN32\Xbmc

Echo .svn>exclude.txt
Echo Thumbs.db>>exclude.txt
Echo Desktop.ini>>exclude.txt
Echo dsstdfx.bin>>exclude.txt
Echo exclude.txt>>exclude.txt

xcopy %EXE% BUILD_WIN32\Xbmc
xcopy UserData BUILD_WIN32\Xbmc\UserData /E /Q /I /Y /EXCLUDE:exclude.txt
xcopy *.txt BUILD_WIN32 /EXCLUDE:exclude.txt
rem xcopy *.xml BUILD_WIN32\

rem xcopy project\VS2003\run_me_first.bat BUILD_WIN32 /EXCLUDE:exclude.txt

cd "skin\Project Mayhem III"
CALL build.bat
cd ..\..
xcopy "skin\Project Mayhem III\BUILD\Project Mayhem III" "BUILD_WIN32\Xbmc\skin\Project Mayhem III" /E /Q /I /Y /EXCLUDE:exclude.txt

xcopy credits BUILD_WIN32\Xbmc\credits /Q /I /Y /EXCLUDE:exclude.txt
xcopy language BUILD_WIN32\Xbmc\language /E /Q /I /Y /EXCLUDE:exclude.txt
xcopy screensavers BUILD_WIN32\Xbmc\screensavers /E /Q /I /Y /EXCLUDE:exclude.txt
xcopy visualisations BUILD_WIN32\Xbmc\visualisations /E /Q /I /Y /EXCLUDE:exclude.txt
xcopy system BUILD_WIN32\Xbmc\system /E /Q /I /Y /EXCLUDE:exclude.txt
xcopy media BUILD_WIN32\Xbmc\media /E /Q /I /Y /EXCLUDE:exclude.txt
xcopy sounds BUILD_WIN32\Xbmc\sounds /E /Q /I /Y /EXCLUDE:exclude.txt

del exclude.txt
ECHO ------------------------------------------------------------
ECHO Build Succeeded!
GOTO RAR_EXE

:RAR_EXE
ECHO ------------------------------------------------------------
ECHO Compressing build to XBMC_WIN32.rar file...
ECHO ------------------------------------------------------------
IF EXIST %RAR% ( %RAR% %RAROPS_EXE%
) ELSE (
IF EXIST %RAR_ROOT% ( %RAR_ROOT% %RAROPS_EXE%
) ELSE (
ECHO WinRAR not installed! Skipping .rar compression...
)
)
ECHO ------------------------------------------------------------
GOTO VIEWLOG_EXE

:DIE
ECHO ------------------------------------------------------------
ECHO !-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-
ECHO ERROR ERROR ERROR ERROR ERROR ERROR ERROR ERROR ERROR
ECHO !-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-
set DIETEXT=ERROR: %DIETEXT%
echo %DIETEXT%
ECHO ------------------------------------------------------------

:VIEWLOG_XBE
set /P XBMC_BUILD_ANSWER=View the build log in your HTML browser? [y/n]
if /I %XBMC_BUILD_ANSWER% NEQ y goto END
start /D"Release (SDL)" BuildLog.htm"
goto END

:VIEWLOG_EXE
set /P XBMC_BUILD_ANSWER=View the build log in your HTML browser? [y/n]
if /I %XBMC_BUILD_ANSWER% NEQ y goto END
start /D"project\VS2003\Release (SDL)" BuildLog.htm"
goto END

:END
set XBMC_BUILD_ANSWER=
ECHO Press any key to exit...
pause > NUL
Loading

0 comments on commit 45285e8

Please sign in to comment.