Views
There are a few ways that you can get the source code of Pd. For development, the source code is hosted in Subversion (SVN). This is publically accessible. rsync is used by the auto-build servers to get the source code, but this is also publically accessible. Using rsync is the easily way to get the whole collection of source code.
Checking out the Pd core from git
Starting with version 0.43, both Pd-vanilla (pure-data) and Pd-extended (pd-extended) are both hosted in the SourceForge? git. Here's how to get the code:
pure-data
git clone git://pure-data.git.sourceforge.net/gitroot/pure-data/pure-data
pd-extended
git clone git://pure-data.git.sourceforge.net/gitroot/pure-data/pd-extended.git
Checking out bits of code from SVN
You can manually checkout sections of code from SVN: How to download from the Sourceforge SVN, RepositoryLayout, SourceRepositories, and Directory Layout for Developers
There is also a script to checkout the whole trunk tree using Subversion: checkout-developer-layout.sh.
rsync from the auto-build farm
An easy way to get the whole source is to use rsync and download it from the auto-build server. (note: the --delete flag to rsync will clean up your sources after a build to get back to the beginning). Choose one of the lines below to rsync all of the source for a given build (i.e. pd-extended, pd-devel, etc.).
rsync -av --delete rsync://128.238.56.50/distros/pd-devel/ pd-devel/ rsync -av --delete rsync://128.238.56.50/distros/pd-extended/ pd-extended/ rsync -av --delete rsync://128.238.56.50/distros/pd-extended-release/ pd-extended-release/ rsync -av --delete rsync://128.238.56.50/distros/pd-main/ pd-main/ rsync -av --delete rsync://128.238.56.50/distros/pd-main+libs/ pd-main+libs/ rsync -av --delete rsync://128.238.56.50/distros/pd-puredyne/ pd-puredyne/ rsync -av --delete rsync://128.238.56.50/distros/desiredata/ desiredata/
Pd-extended between releases
Between releases, Pd-extended has an unusual setup from the SVN. Basically, the pd section is in a separate branch and the rest is from trunk (except for Gem). Here's how to set it up. Then see BuildingPdExtended to build it all.
svn checkout --ignore-externals https://pure-data.svn.sourceforge.net/svnroot/pure-data/trunk pd-extended cd pd-extended rm -rf pd svn checkout https://pure-data.svn.sourceforge.net/svnroot/pure-data/branches/pd-extended/0.42/pd svn checkout https://pd-gem.svn.sourceforge.net/svnroot/pd-gem/branches/0.92/Gem
Tcl/Tk
If you want to build the same version of Tcl/Tk that is used to build Pd-extended on Mac OS X, you can rsync it from here:
rsync -av --delete rsync://128.238.56.50/distros/tcltk_core-8-4-branch/ tcltk_core-8-4-branch/ rsync -av --delete rsync://128.238.56.50/distros/tcltk_core-8-5-branch/ tcltk_core-8-5-branch/