[cairo] Compiling for Cairo development

Arjen Nienhuis a.g.nienhuis at gmail.com
Mon May 24 01:10:27 PDT 2010


You use this for pixman, cairo and the app that needs cairo:

PKG_CONFIG_PATH=$PREFIX/lib/pkgconfig ./autogen.sh --prefix=$PREFIX

I use it to build pycairo with the latest pixman and cairo.

Groeten, Arjen

On Mon, May 24, 2010 at 7:09 AM, Bill Spitzak <spitzak at gmail.com> wrote:
> Any recommendations for how to compile Cairo when I want to work on Cairo
> itself? This is on Ubuntu 10.04.
> What I would like to do is be able to modify my git checkout of Cairo and
> test the results.
> Right now I have to "sudo make install" after compiling any changes. I would
> prefer not to do this as I don't want to risk messing up other programs that
> use Cairo.
> I believe I can avoid this for Cairo itself by building my test programs
> linked directly to cairo/src/.libs and pixman/pixman/.libs. However changes
> to pixman look a lot more risky. Cairo refuses to compile unless pixman is
> installed.
> It would seem that Cairo developers must be doing this already, are there
> any recommended procedures?
> Also the instructions for compiling need to point out that pixman must be
> done first, and pixman needs to point out that autogen.sh must be run if you
> check out from git. I don't think a newbie could ever get past this to a
> compiled version of Cairo.
> --
> cairo mailing list
> cairo at cairographics.org
> http://lists.cairographics.org/mailman/listinfo/cairo

More information about the cairo mailing list