Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
A 2D animation program based on MyPaint
Python C C++ Shell
Branch: xdna-fileformat
Pull request Compare This branch is 264 commits behind master.

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
backgrounds
brushes
brushlib
desktop
doc
glade
gui
lib
palettes
pixmaps
po
svg
tests
.gitattributes
.gitignore
COPYING
COPYING.cursors
LICENSE
README
README.animation
README.gegl
README.gtk3
SConscript
SConstruct
changelog
mypaint-gegl.py
mypaint.py
release.sh

README

MyPaint - drawing program with dynamic brushes for graphic tablets
==================================================================

The license is described in the file LICENSE.
Documentation can be found within the program and on the homepage:
http://mypaint.info/

A list of contributors can be found in the about dialog.


Building and installing on Linux
================================

Compile and run:

    $ scons
    $ ./mypaint

Install:

    # scons prefix=/usr/local install

Uninstall:

    # scons prefix=/usr/local install --clean

Install (for packagers):

    $ scons prefix=/usr --install-sandbox=`pwd`/path/to/sandbox

        (NOTE: the sandbox location must be located under the current working
        directory, and be specified as an *absolute* path. Using `pwd` or your
        build environment's absolute path-to-here variable should achieve that.
        The above installs the main launch script (for example) as
        "./path/to/sandbox/usr/bin/mypaint".  Use a symlink if that's too
        limiting.)


Required: pygobject, gtk3, python, swig, numpy, pycairo(>=1.4), libpng,
            lcms2, json-c
    (NOTE: pygobject must be built with --enable-cairo)


Debian users can fetch these dependencies by running:

    # apt-get install g++ python-dev python-numpy \ 
        libgtk-3-dev python-gi-dev gir1.2-gtk-3.0 python-gi-cairo \ 
        swig scons gettext libpng12-dev liblcms2-dev 

Recommended: a pressure sensitive input device (graphic tablet)


Post-installation
=================

Runtime linker
--------------

You may need to update ld.so's caches and links after installation on some
systems. As root,

    # ldconfig

Do this if you get any messages about MyPaint not being able to load
mypaintlib.so when run on the command line.

If you installed to a $prefix other than the trusted locations, /usr/lib and
/lib, you may need to add a line for it into /etc/ld.so.conf or ld.so.conf.d
before running ldconfig. Scons won't do this for you because the need to
perform the action varies by distribution, and package distributers need to be
able to defer it to post-installation scripting.


Icon theme caches
-----------------

Take care to update the icon theme cache for your $prefix if you're installing
mypaint to a location which has one of these files already. If you install new
icons, any existing icon cache must be updated too, otherwise MyPaint won't be
able to find its icons even if it looks in the right place. For example for an
install into /usr (which has one on most systems), you should run

    $ gtk-update-icon-cache /usr/share/icons/hicolor
    $ chmod a+r /usr/share/icons/hicolor/icon-theme.cache

after installation to ensure that the cache is up to date. Scons won't do this
for you because the cache file is optional.

If you install to /usr/local, you may need to run this instead:

    $ gtk-update-icon-cache --ignore-theme-index /usr/local/share/icons/hicolor


Building on Windows
===================

    Starting point for up-to-date information:
    http://wiki.mypaint.info/Development/Packaging#Windows


Building on Mac
===============

    Starting point for up-to-date information:
    http://wiki.mypaint.info/Development/Packaging#OSX
Something went wrong with that request. Please try again.