|
|
Songbird Wiki > Developer Center > Articles > Getting Started > Core Player Development > Checkout the Code
Checkout the CodeFrom $1Table of contentsSubversion InstructionsFirst you have to assemble all the files in their proper places before you can build Songbird.
Setting up the build system requires downloading two separate packages: the client and the proper dependencies for your particular platform. For simplicity's sake, we'll assume you're always building trunk (the latest revision) Get SubversionFirst, you'll need to get subversion for your platform:
After entering your password the first time, other Subversion commands, like "diff," "ci," "ls" will work from the rxvt terminal, which is launched by Mozilla Build. For those who prefer a GUI, try TortoiseSVN for Windows.
Get the Client TrunkAfter you've got subversion, you'll need to checkout the trunk into the folder you wish to work from. For people using MSVC, you mustn't allow there to be a space in the path to the code (sorry, people who use "My Projects"). While it's downloading, take a nap.
%~: mkdir sbird %~: cd sbird %~/sbird: svn co http://publicsvn.songbirdnest.com/client/trunk
Get the Dependencies
Then, checkout the the dependency vendor-binaries for your OS into a subfolder of the
Go get lunch or something while this runs. It will take some time.
%~/sbird/: cd trunk/dependencies %~/sbird/trunk/dependencies: svn co http://publicsvn.songbirdnest.com/vendor-binaries/trunk/macosx-i686
%~/sbird/: cd trunk/dependencies %~/sbird/trunk/dependencies: svn co http://publicsvn.songbirdnest.com/vendor-binaries/trunk/linux-i686
%~/sbird/: cd trunk/dependencies %~/sbird/trunk/dependencies: svn co http://publicsvn.songbirdnest.com/vendor-binaries/trunk/linux-x86_64 Update the TreeOnce you've got all the files, you can use subversion to keep you up to date with our latest changes. You'll need to update both the trunk and dependencies separately, from within each folder. You don't need to download the tree via subversion to be able to update it. Our source tarballs contain the subversion files directly in them so you can just update once you unpack them. %~/sbird: svn up %~/sbird: cd dependencies/macosx-i686 %~/sbird/dependencies/macosx-i686: svn up Extra Step for Mac DevelopersMinor addendum for Mac users. Due to bug 13084, you'll have to do the following: %~/sbird: cd dependencies/macosx-i686 %~/sbird/dependencies/macosx-i686: svn up -r 10183 mozilla/release/bin %~/sbird/dependencies/macosx-i686: svn up -r 10183 mozilla/debug/binSorry for the inconvenience; we're planning to fix this in the next release cycle. Repository URLs
Once you've downloaded and setup your files, you're ready to build the app. Troubleshooting
Tags:
|
Powered by MindTouch Deki Community Edition v.8.05.2a |