After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 454958 - compilation error /w cairo-directfb
compilation error /w cairo-directfb
Status: RESOLVED DUPLICATE of bug 447118
Product: gtk+
Classification: Platform
Component: Widget: Other
2.11.x
Other All
: Normal blocker
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2007-07-08 21:19 UTC by Fabien Tassin
Modified: 2007-09-07 05:51 UTC
See Also:
GNOME target: ---
GNOME version: 2.19/2.20


Attachments
patch fixing the issue (1.27 KB, patch)
2007-07-08 21:21 UTC, Fabien Tassin
needs-work Details | Review

Description Fabien Tassin 2007-07-08 21:19:14 UTC
Please describe the problem:
Compilation fails in gdk/directfb because includes of cairo and cairo-directfb are reversed.

This is under Ubuntu 7.10-pre.



Steps to reproduce:
1. svn ...
2. ./autogen.sh
3. ./configure ... --with-gdktarget=directfb
4. make


Actual results:
Fails in gdk/directfb with:
#error Cairo was not compiled with support for the directfb backend


Expected results:


Does this happen every time?
100%

Other information:
Patch follows
Comment 1 Fabien Tassin 2007-07-08 21:21:20 UTC
Created attachment 91452 [details] [review]
patch fixing the issue

This patch just reverses the order of cairo and cairo-directfb in CFLAGS.

Tested on Ubuntu 7.10-pre.
Comment 2 Fabien Tassin 2007-07-08 23:51:29 UTC
Looks similar to #447118
Comment 3 Matthias Clasen 2007-07-09 05:00:47 UTC
Patch looks wrong to me. Blindly changing the order of some variables is not the way to go here. It really looks more like a bug in cairo-directfb to me if it ships a cairo.h header. Why don't we have this problem with cairo-win32 or cairo-xlib ?
Comment 4 Behdad Esfahbod 2007-09-07 05:51:23 UTC

*** This bug has been marked as a duplicate of 447118 ***