Building and Testing
Clone this wiki locally
Get started: build from source, and try out new features early!
Go deeper: report bugs you find, and maybe contribute patches and tweaks.
It's really helpful to us if lots of people build and test the MyPaint development master directly. If more people go hunting for bugs, the more certain it is they will be reported. Tracking the “master” development branch can be fiddly, and you need to be familiar with the Linux command line or its equivalent on your platform.
See the program’s main README for hints about how you should do things on different platforms. The Linux-specific README is the most involved set of instructions, and covers this basic workflow properly. But here's the outline:
- Install the dependencies you need onto your computer. MyPaint relies on a lot of other programs and bits of code to work.
- Clone the MyPaint source repository into your own development copy. You’ll be keeping this clone up to date regularly to catch the newest changes. Your local builds of MyPaint happen in this folder.
- Build the program. The brush engine and some parts of the main program are written in fast C code, so they will need compiling.
- Test the results of the build. This can be done entirely within your cloned source tree. Generally you should test with throwaway fresh configurations, but if you’re brave you can run it against your regular program configuration instead.
- Report problems you find, or fix them.
- Regularly update your cloned source tree, to get new features as they’re added!
See Reporting Bugs, Programming, and Contributing Patches for the next steps. The basic workflow above is also a good place to start if you'd like to contribute artwork for use in the program, or for getting the understanding necessary for packaging Mypaint for new platforms.