Home Forums Wiki Doc Install Extras Screenshots Source Code Projects Blog Users Groups Register
Glx-Dock / Cairo-Dock List of forums Installation problems | Problèmes à l'installation cairo 1.8 provides no more cairo-glitz.h
The latest stable release is the *3.4.0* : How to install it here.
Note: We just switched from BZR to Git on Github! (only to host the code and your future pull requests)
Installation problems | Problèmes à l'installation

Subjects Author Language Messages Last message
[Locked] cairo 1.8 provides no more cairo-glitz.h
Anubis English 6 Mav [Read]
08 December 2008 à 18:36

Anubis, Sunday 07 December 2008 à 15:59


Subscription date : 23 March 2008
Messages : 86
thanks to that:

cairo-dock-draw.c:19:25: error: cairo-glitz.h: No such file or directory
In file included from cairo-dock-dbus.h:7,
from cairo-dock-dbus.c:14:
cairo-dock-struct.h:27:25: error: cairo-glitz.h: No such file or directory
cairo-dock-draw.c: In function 'cairo_dock_create_context_from_window':
cairo-dock-draw.c:225: warning: implicit declaration of function 'cairo_glitz_surface_create'
cairo-dock-draw.c:225: warning: assignment makes pointer from integer without a cast
cairo-dock-callbacks.c:24:25: error: cairo-glitz.h: No such file or directory
make[3]: *** [cairo_dock-cairo-dock-dbus.o] Error 1
make[3]: *** Waiting for unfinished jobs....
In file included from cairo-dock-icons.h:7,
from cairo-dock.c:71:
cairo-dock-struct.h:27:25: error: cairo-glitz.h: No such file or directory
make[3]: *** [cairo_dock-cairo-dock-draw.o] Error 1
make[3]: *** [cairo_dock-cairo-dock-callbacks.o] Error 1
make[3]: *** [cairo_dock-cairo-dock.o] Error 1
make[3]: Leaving directory `/usr/src/packages/BUILD/cairo-dock-1.6.3.1/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/packages/BUILD/cairo-dock-1.6.3.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/packages/BUILD/cairo-dock-1.6.3.1'
make: *** [all] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.91534 (%build)


i discover cairo 1.8 that for example suse 11.1 use, miss cairo-glitz.h: (here -devel package content)

/usr/include/cairo
/usr/include/cairo/cairo-deprecated.h
/usr/include/cairo/cairo-features.h
/usr/include/cairo/cairo-ft.h
/usr/include/cairo/cairo-pdf.h
/usr/include/cairo/cairo-ps.h
/usr/include/cairo/cairo-svg.h
/usr/include/cairo/cairo-version.h
/usr/include/cairo/cairo-xcb-xrender.h
/usr/include/cairo/cairo-xcb.h
/usr/include/cairo/cairo-xlib-xrender.h
/usr/include/cairo/cairo-xlib.h
/usr/include/cairo/cairo.h
/usr/lib/libcairo.a
/usr/lib/libcairo.la
/usr/lib/libcairo.so
/usr/lib/pkgconfig/cairo-ft.pc
/usr/lib/pkgconfig/cairo-pdf.pc
/usr/lib/pkgconfig/cairo-png.pc
/usr/lib/pkgconfig/cairo-ps.pc
/usr/lib/pkgconfig/cairo-svg.pc
/usr/lib/pkgconfig/cairo-xcb.pc
/usr/lib/pkgconfig/cairo-xlib-xrender.pc
/usr/lib/pkgconfig/cairo-xlib.pc
/usr/lib/pkgconfig/cairo.pc
/usr/share/doc/packages/cairo-devel
/usr/share/doc/packages/cairo-devel/PORTING_GUIDE


anyway to workaround that? have to include cairo-deprecated.h or something like that?

thanks

Anubis, Sunday 07 December 2008 à 16:25


Subscription date : 23 March 2008
Messages : 86
well.. include cairo-deprecated instead of cairo-glitz "looks" to works.. at least compilation continue, but then, fail here:

http://pastebin.com/m763b9300

here, header file "cairo-deprecated.h"

http://pastebin.com/m10d3b4c

i think that line may be usefull:

#define cairo_set_target_glitz cairo_set_target_glitz_DEPRECATED_BY_cairo_glitz_surface_create

Guest, Monday 08 December 2008 à 10:56

any news?

fabounet, Monday 08 December 2008 à 13:37


Subscription date : 30 November 2007
Messages : 17118
seems they are working to re-integrate glitz inside cairo.
maybe one day we'll have cairo built with glitz by default

Anubis, Monday 08 December 2008 à 15:05


Subscription date : 23 March 2008
Messages : 86
any chance to patch it and allow me to build 1.6.3.1 with cairo 1.8?

fabounet, Monday 08 December 2008 à 16:30


Subscription date : 30 November 2007
Messages : 17118
you can already patch it (see the wiki), but it's quite unofficial

Mav, Monday 08 December 2008 à 18:36


Subscription date : 29 November 2007
Messages : 3146
Anubis, please have a look at my script (it provides an installation with cairo-dock 1.8.0 and glitz 0.5.2, I think)

Installation problems | Problèmes à l'installation

Subjects Author Language Messages Last message
[Locked] cairo 1.8 provides no more cairo-glitz.h
Anubis English 6 Mav [Read]
08 December 2008 à 18:36


Glx-Dock / Cairo-Dock List of forums Installation problems | Problèmes à l'installation cairo 1.8 provides no more cairo-glitz.h Top

Online users :

Powered by ElementSpeak © 2007 Adrien Pilleboue, 2009-2013 Matthieu Baerts.
Dock based on CSS Dock Menu (Ndesign) with jQuery. Icons by zgegball
Cairo-Dock is a free software under GNU-GPL3 licence. First stable version created by Fabounet.
Many thanks to TuxFamily for the web Hosting and Mav for the domain name.