Re: Using cairo-xlib to get screenshots

Oliver <[email protected]>
Newsgroups gmane.comp.lib.cairo
Message-ID <CANuYhOs96mRvJ-OHQuYqBrdKvD4iEUdsCuH_HzhfPfC4egUyoA@mail.gmail.com>
Ah, I've never used a library version other than those from aptitude
before. What's the safest method for doing this? Can I just compile the
libraries from git (are at 1.13.1) and link them directly to my program,
sidestepping the need to muck about with the system wide libraries?

(http://cairographics.org/releases only goes up to 1.12.6 so I assume
compiling from source is the way to go).

Might not be relevant unless the problem persists in higher versions, but
the behaviour didn't change when running KDE Plasma (compositing).

I'll keep working on this tomorrow or on monday; it is 21:27 here so I'm
going to head home from work now :)

Big thanks for the help thus far, it's deeply appreciated! // Oliver


On Fri, Oct 11, 2013 at 9:17 PM, Chris Wilson <[email protected]>wrote:

> On Fri, Oct 11, 2013 at 09:11:53PM +0200, Oliver wrote:
> >    cat /usr/include/cairo/cairo-version.h
> >    #ifndef CAIRO_VERSION_H
> >    #define CAIRO_VERSION_H
> >    #define CAIRO_VERSION_MAJOR 1
> >    #define CAIRO_VERSION_MINOR 12
> >    #define CAIRO_VERSION_MICRO 4
> >    #endif
>
> First update to 1.12.8+ or disable MIT-SHM.
> -Chris
>
> --
> Chris Wilson, Intel Open Source Technology Centre
>

-- 
cairo mailing list
[email protected]
http://lists.cairographics.org/mailman/listinfo/cairo
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.