Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Fedora/Linux Management Tools (http://www.linux-archive.org/fedora-linux-management-tools/)
-   -   virt-manager: Basic compile environment for Windows (Cygwin) (http://www.linux-archive.org/fedora-linux-management-tools/8583-virt-manager-basic-compile-environment-windows-cygwin.html)

"Daniel P. Berrange" 11-29-2007 06:58 PM

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>

Dan.
--
|=- 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
et-mgmt-tools@redhat.com
https://www.redhat.com/mailman/listinfo/et-mgmt-tools


All times are GMT. The time now is 08:47 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.