[Mono-bugs] [Bug 52199][Cri] New - Cairo has changed in CVS. Build fails

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Mon, 15 Dec 2003 16:26:11 -0500 (EST)


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by tvismor@acm.org.

http://bugzilla.ximian.com/show_bug.cgi?id=52199

--- shadow/52199	2003-12-15 16:26:10.000000000 -0500
+++ shadow/52199.tmp.28325	2003-12-15 16:26:10.000000000 -0500
@@ -0,0 +1,56 @@
+Bug#: 52199
+Product: Mono/Class Libraries
+Version: unspecified
+OS: 
+OS Details: Fedor Core 1
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Critical
+Component: System.Drawing.
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: tvismor@acm.org               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Cairo has changed in CVS. Build fails
+
+Cairo has been reorganized in CVS at Freedesktop.org. The file cairo-xlib.h
+no longer exists. The files:
+
+mono/mcs/class/System.Drawing/gdiplus/gdip.h
+mono/mcs/class/System.Drawing/gdiplus/gdip_win32.h
+
+should be modified to reflect this fact. The following patch fixes the problem.
+
+Index: class/System.Drawing/gdiplus/gdip.h
+===================================================================
+RCS file: /mono/mcs/class/System.Drawing/gdiplus/gdip.h,v
+retrieving revision 1.6
+diff -u -r1.6 gdip.h
+--- class/System.Drawing/gdiplus/gdip.h	2 Dec 2003 20:52:05 -0000	1.6
++++ class/System.Drawing/gdiplus/gdip.h	15 Dec 2003 22:27:33 -0000
+@@ -16,7 +16,6 @@
+ #include <stdio.h>
+ 
+ #include <cairo.h>
+-#include <cairo-xlib.h>
+ #include <mono/io-layer/uglify.h>
+ 
+ /*
+Index: class/System.Drawing/gdiplus/gdip_win32.h
+===================================================================
+RCS file: /mono/mcs/class/System.Drawing/gdiplus/gdip_win32.h,v
+retrieving revision 1.4
+diff -u -r1.4 gdip_win32.h
+--- class/System.Drawing/gdiplus/gdip_win32.h	5 Nov 2003 23:44:58 -0000	1.4
++++ class/System.Drawing/gdiplus/gdip_win32.h	15 Dec 2003 22:27:33 -0000
+@@ -9,7 +9,6 @@
+ #define _GDIP_WIN32_H
+ 
+ #include <cairo.h>
+-#include <cairo-xlib.h>
+ #include <mono/io-layer/uglify.h>
+ 
+ /* sizeof (GDIOBJHDR) = 12 (2 + 2 + 4 + 4) */