Skip to content
bakercp edited this page Nov 21, 2012 · 60 revisions

Welcome! If you are interested in joining the effort to see openFrameworks come to the Raspberry Pi, please browse the pages below. In fact, please feel free to update this wiki as you go! If you find bugs along the way, drop them in our issue tracker here. Raspberry Pi support is still in a very early stage. We need your help to make it better. Join us!

Contributing Code

If you would like to contribute code, there are two simple pathways. 0. Create a fork of this repo, clone it to your PI, checkout the develop-raspberrypi branch on, make changes and then submit a pull requests back to to the openFrameworks-RaspberryPi/openFrameworks repo. This is the normal openFrameworks way of doing things. 0. (Advanced) Alternatively, if you already have a fork of the original openFrameworks/openFrameworks repo (which many of you probably do ...) you may want to create a branch off of your own fork that tracks with the develop-raspberrypi branch of this fork (I know ... it sounds complicated, but it will work, I promise). To go this route: * Set up git on your RPI using the account info associated with your fork Set Guide * On your RPI, create a clone of your personal fork. * git clone [email protected]:<YOUR_GITHUB_USERNAME>/openFrameworks.git * git checkout develop * (if needed) Make sure your fork is up to date with the openFrameworks/openFrameworks develop branch * git remote add upstream git remote add upstream git://github.com/openframeworks/openFrameworks.git * git pull upstream develop * git push origin develop * Create a branch to track with the develop-raspberrypi branch * git checkout develop * git branch develop-raspberrypi * git checkout develop-raspberrypi * Pull pull all of the recent commits from this develop-raspberrypi branch into YOUR tracking branch * git pull git://github.com/openFrameworks-RaspberryPi/openFrameworks.git develop-raspberrypi * Push those changes back to your fork's origin on github: * git push origin develop-raspberrypi * Make changes to the core files. * Add changes to a commit. * git add MYFILES * Commit your change set * git commit -m "A descriptive message about your changes goes here" * Push your changes to your fork's origin on github: * git push origin develop-raspberrypi * Now back on github.com, submit a pull request FROM <YOUR_GITHUB_USERNAME>/openFrameworks develop-raspberrypi TO openFrameworks-RaspberryPi/openFrameworks develop-raspberrypi. Then ask a fellow develope to check it out and / or merge the pull request. * Rinse and repeat. * When you notice that new code has been added to the openFrameworks-RaspberryPi/openFrameworks develop-raspberrypi branch, you can pull in those changes to your branch by the same command as earlier. * git pull git://github.com/openFrameworks-RaspberryPi/openFrameworks.git develop-raspberrypi

openFrameworks + Raspberry Pi = ♥

Clone this wiki locally