[cairo] cairo release 1.10.0, upgrade
alex.shulgin at gmail.com
Wed Sep 8 23:25:19 PDT 2010
On Wed, Sep 8, 2010 at 20:52, Bill Spitzak <spitzak at gmail.com> wrote:
> Thanks that is what I was looking for.
> Wouldn't it make sense to include pixman with the cairo source tarball?
IIRC, since pixman was included into cairo before (like in 1.6.x?),
and now it's an external library I think it's unlikely it will be ever
included directly into cairo release tarball again.
> Aren't they pretty much in sync so you have to have the right pixman to
> compile cairo?
Seems so. However, as long as ./configure checks for the latest
pixman release it's aware of, this is going to work.
> Alexander Shulgin wrote:
>> It's also required to download and build and install the latest pixman
>> from here: http://cairographics.org/releases/pixman-0.18.4.tar.gz
> (in the pixman directory):
>> ./configure --prefix=$HOME
>> make install
>> Then run the following command to install the development files for
>> various cairo dependencies like libpng, freetype, etc.:
>> sudo apt-get build-dep cairo
> Might make sense to do this *before* compiling pixman as it may find
> dependencies of it's own.
Yep, it's not required now as pixman doesn't seem to have any build
dependencies (other than gcc and binutils, heh), but may become needed
> (in the cairo directory)
>> PKG_CONFIG_PATH=$HOME/lib/pkgconfig ./configure --prefix=$HOME
>> to pick up the newly built and installed pixman.
>> After that it should compile nicely.
> In addition if you want to compile any programs using this, you need to set
> PKG_CONFIG_PATH before running pkg-config as part of the compilation,
> something like:
> PKG_CONFIG_PATH=$HOME/lib/pkgconfig gcc -o program program.c `pkg-config
> --cflags --libs pangocairo`
> And you need to set LD_LIBRARY_PATH to run programs:
No, that's shouldn't be necessary. At least on Linux I have:
~/src/cairo-1.10.0/test$ ldd .libs/cairo-test-suite | grep /home
libcairo.so.2 => /home/user/lib/libcairo.so.2 (0x00007fe52aa2e000)
libpixman-1.so.0 => /home/user/lib/libpixman-1.so.0 (0x00007fe52a389000)
And there's no LD_LIBRARY_PATH or something similar set in the environment:
$ set | grep /home
Probably, installation instructions can be improved to incorporate
some of the above information, huh? :)
More information about the cairo