Re: Setting user preferences in git build




For the preference ui in git master you need gtk-3.0. This is due to a
problem with vala's conditionals not propagating to C which makes us
unable to support gtk+2.0 and 3.0 in dist tarballs.



Well - having compiled and installed required dependencies, I get en error when jhbuild starts on the preferences dialog:

-------
  CC     rygel-preferences-dialog.o
In file included from /usr/local/include/gtk-3.0/gtk/gtkwindow.h:35,
                 from /usr/local/include/gtk-3.0/gtk/gtkdialog.h:35,
                 from /usr/local/include/gtk-3.0/gtk/gtkaboutdialog.h:32,
                 from /usr/local/include/gtk-3.0/gtk/gtk.h:33,
                 from rygel-preferences-dialog.c:30:
/usr/local/include/gtk-3.0/gtk/gtkapplication.h:48: error: expected specifier-qualifier-list before ‘GApplication’ /usr/local/include/gtk-3.0/gtk/gtkapplication.h:56: error: expected specifier-qualifier-list before ‘GApplicationClass’ /usr/local/include/gtk-3.0/gtk/gtkapplication.h:65: error: expected declaration specifiers or ‘...’ before ‘GApplicationFlags’
In file included from /usr/local/include/gtk-3.0/gtk/gtk.h:140,
                 from rygel-preferences-dialog.c:30:
/usr/local/include/gtk-3.0/gtk/gtknumerableicon.h:48: error: field ‘parent’ has incomplete type /usr/local/include/gtk-3.0/gtk/gtknumerableicon.h:55: error: field ‘parent_class’ has incomplete type
make[3]: *** [rygel-preferences-dialog.o] Error 1
-------

I did not notice any errors when compiling glib or gdk-pixbuf. The rest of the requirements for gtk3 originate from the Ubuntu repositories.

Any ideas what causes this?

Thanks.



Kjetil B. Moe


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]