1 |
On Mon, Sep 5, 2011 at 3:57 PM, walt <w41ter@×××××.com> wrote: |
2 |
|
3 |
> On 09/05/2011 03:29 AM, Datty wrote: |
4 |
> > Hi all, |
5 |
> > |
6 |
> > I've been having a few problems with a week old gentoo desktop install |
7 |
> with gnome 3 from the gnome overlay. Both libgnomeprint-2.18.8 and |
8 |
> evolution-3.0.3 are failing showing the errors below which I think are |
9 |
> related to pango. |
10 |
> > |
11 |
> > In file included from /usr/include/pango-1.0/pango/pango-gravity.h:98:0, |
12 |
> > from /usr/include/pango-1.0/pango/pango-types.h:91, |
13 |
> > from /usr/include/pango-1.0/pango/pango-font.h:26, |
14 |
> > from /usr/include/pango-1.0/pango/pango-fontmap.h:25, |
15 |
> > from ../../libgnomeprint/gnome-font.h:73, |
16 |
> > from ../../libgnomeprint/gnome-print.h:59, |
17 |
> > from ../gnome-print-private.h:43, |
18 |
> > from sft.h:92, |
19 |
> > from crc32.c:47: |
20 |
> > /usr/include/pango-1.0/pango/pango-script.h:132:12: error: expected |
21 |
> declaration specifiers or ‘...’ before ‘G_CONST_RETURN’ |
22 |
> |
23 |
> The guilty syntax (appearing in several pango headers) seems to be this: |
24 |
> |
25 |
> G_CONST_RETURN char **start |
26 |
> ^^^^ |
27 |
> Looking at the vast number of uses of G_CONST_RETURN in other header files, |
28 |
> I'm guessing that the word 'char' should really be 'gchar'. |
29 |
> |
30 |
> I would test this idea by editing the headers in |
31 |
> /usr/include/pango-1.0/pango |
32 |
> by hand, making the above change to every instance of 'C_CONST_RETURN |
33 |
> char'. |
34 |
> |
35 |
> If that trick works, then it's definitely a bug in the pango package and |
36 |
> |
37 |
needs to be fixed. Otherwise, I'm stumped. |
38 |
|
39 |
Managed to sort it, seems that the live glib ebuild dropped support for |
40 |
G_CONST_RETURN. Downgrading to glib-2.28.8 sorted it but broke some other |
41 |
packages. Is there an overlay newer than the gnome one? Seems I have some |
42 |
packages from the newer gnome 3.1 release and some from the 3.0 and they |
43 |
aren't playing nice. |