CinePaint Spot Logo by Christian Deister
| Blog | Screenshots | FAQ | Download | Mailing Lists | Docs | Press | SourceForge | Links | People | About |

Support This Project The CinePaint Project

CinePaint Build HOWTO - Creating CinePaint from souce code

CinePaint runs on multiple operating systems. Because autotools has caused maintenance headaches, we're adding support for alternative build systems such as CMAKE, SCons and Cons.

Before you can build CinePaint on a Linux or BSD system, you need the dependency developer libraries installed. Each operating system has somewhat different names for its developer libraries.

Installing Debian Developer Libraries

# apt-get install ...

Installing Fedora Developer Libraries

# yum install ...

Getting CinePaint Source Code

Building Linux CinePaint with Autotools

 $ cd cinepaint-project/cinepaint
 $ ./configure
 $ make
 # make install
 $ cinepaint

Building Linux CinePaint with CMAKE

 $ cd cinepaint-project
 $ cmake .
 $ make
 # make install
 $ cinepaint

Building Linux CinePaint with SCons

Under development. The CinePaint main app has been built with SCons, but no plug-ins yet.

Building Linux CinePaint with Cons

Just getting started on this.

Building Mac CinePaint

See CVS for work-in-progress notes. Still ironing out how to do this cleanly. Can be built with GTK1 X11, GTK+OSX Aqua, or GTK2 Aqua.

Building Windows CinePaint

We had a Windows version, but it's currently broken. Sorry.

Version Numbers

With CinePaint, the latest version should be the best. There is no stable/unstable branch numbering.

/opt

CinePaint is installed in Linux in the traditional way sprinkled across various directories in /usr. Doing so can make CinePaint components difficult to find, and requires being root during installation. An alternative is to install as user in the directory /opt or /opt/version# if you want to install multiple versions of CinePaint side-by-side.

./configure --prefix=/opt

Configure Errors

Configure is a script that checks the proper packages are installed for CinePaint to be able to build. The autotools error messages can seem cryptic. The most common problem is trying to build CinePaint without having the "developer" copies of the necessary libraries installed. Programs that build, as opposed to those that merely are run, need versions of libraries that include the library header files. If you don't normally build programs from source you won't have those installed and will need to do so.

Each operating system distro may have somewhat different names for its developer libraries, but not too different. Here are the needed libraries for the Debian distro.

Release Manager Notes

$ make clean
$ rm -R *.gz
[ Edit configure.in to have the correct version# ]
$ sh autogen.sh
$ ./configure --prefix=/opt --enable-debug --with-openexr-prefix=/opt --enable-openexrtest
[by the way, this needs to display version#, makes cinepaint.spec from cinepaint.spec.in]
$ make
$ make install 
$ make distcheck
$ make distclean
$ sh remove_bak.sh
$ sh remove_debug_dir.sh
$ tar cvvpzf cinepaint.x.tar.gz cinepaint.x
$ gzip -t cinepaint.x.tar.gz 
$ make rpm
$ fakeroot alien -k cinepaint-0.18.i386.rpm
# dpkg -i cinepaint_0.18_i386.deb
$ fakeroot alien -k --to-tgz cinepaint-0.18.i386.rpm

 SourceForge.net Questions to robin.rowe@cinepaint.org
Created November 20, 2002; updated Mar 25, 2008