FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.

» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora/Linux Management Tools

LinkBack Thread Tools
Old 11-29-2007, 06:58 PM
"Daniel P. Berrange"
Default virt-manager: Basic compile environment for Windows (Cygwin)

On Thu, Nov 29, 2007 at 07:53:20PM +0000, Richard W.M. Jones wrote:
> The attached patch just fixes a few basic compile environment problems
> for virt-manager under Windows (Cygwin). It doesn't actually run after
> this, but it does at least compile without any errors.
> (1) Added a package check for cairo.
> (2) Add cairo CFLAGS and LIBS.
> (3) Include <cairo.h>, which is needed because the code uses 'cairo_t'.
> Goodness knows how this works under Linux.

GTK on modern Linux uses cairo for all rendering. Guess Cygwin doesn't
use Cairo. Just as well I didn't remove the non-Cairo fallback in the
sparkline widget :-)

$ find /usr/include/gtk-2.0 | xargs grep cairo.h
/usr/include/gtk-2.0/gdk/gdkscreen.h:#include <cairo.h>
/usr/include/gtk-2.0/gdk/gdkdrawable.h:#include <cairo.h>
/usr/include/gtk-2.0/gdk/gdk.h:#include <gdk/gdkcairo.h>
/usr/include/gtk-2.0/gdk/gdkpixbuf.h:#include <cairo.h>
/usr/include/gtk-2.0/gdk/gdkcairo.h:#include <pango/pangocairo.h>
/usr/include/gtk-2.0/gdk/gdkcolor.h:#include <cairo.h>
/usr/include/gtk-2.0/gtk/gtkprintoperation.h:#include <cairo.h>
/usr/include/gtk-2.0/gtk/gtkprintoperationpreview.h:#include <cairo.h>

|=- Red Hat, Engineering, Emerging Technologies, Boston. +1 978 392 2496 -=|
|=- Perl modules: http://search.cpan.org/~danberr/ -=|
|=- Projects: http://freshmeat.net/~danielpb/ -=|
|=- GnuPG: 7D3B9505 F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 -=|

et-mgmt-tools mailing list

Thread Tools

All times are GMT. The time now is 07:23 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org