Cannot build HEAD on Gentoo

Bug #1460274 reported by L29Ah
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Eina
New
Undecided
Unassigned

Bug Description

gel-ui-generic.c: In function 'set_xml_string':
gel-ui-generic.c:160:2: error: 'gtk_widget_reparent' is deprecated (declared at /usr/include/gtk-3.0/gtk/gtkwidget.h:773) [-Werror=deprecated-declarations]
  gtk_widget_reparent(w, (GtkWidget *) self);
  ^
gel-ui-dialogs.c: In function 'gel_ui_dialog_generic':
gel-ui-dialogs.c:53:3: error: 'GTK_STOCK_CLOSE' undeclared (first use in this function)
   GTK_STOCK_CLOSE, GTK_RESPONSE_CLOSE,
   ^
gel-ui-dialogs.c:53:3: note: each undeclared identifier is reported only once for each function it appears in
gel-ui-dialogs.c:78:12: error: 'GTK_STOCK_DIALOG_ERROR' undeclared (first use in this function)
    stock = GTK_STOCK_DIALOG_ERROR;
            ^
gel-ui-dialogs.c:84:2: error: implicit declaration of function 'gtk_alignment_new' [-Werror=implicit-function-declaration]
  GtkWidget *image = (GtkWidget *) gtk_alignment_new(0, 0, 0, 0);
  ^
gel-ui-dialogs.c:84:21: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]
  GtkWidget *image = (GtkWidget *) gtk_alignment_new(0, 0, 0, 0);
                     ^
gel-ui-dialogs.c:87:3: error: 'gtk_image_new_from_stock' is deprecated (declared at /usr/include/gtk-3.0/gtk/gtkimage.h:122): Use 'gtk_image_new_from_icon_name' instead [-Werror=deprecated-declarations]
   (GtkWidget *) gtk_image_new_from_stock(stock, GTK_ICON_SIZE_DIALOG));
   ^
gel-ui-dialogs.c:91:19: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]
  GtkWidget *msg = (GtkWidget *) gtk_alignment_new(0, 0, 0, 0);

Revision history for this message
Marco Alfonso (maop) wrote :

Hey did you resolve it? im trying to compile under ubuntu xenial, installed all dependencies but i'm getting the same errors... i thinks is because of the outdated code, but i dont have experience working out C code, i'll appreciate if someone can help us getting eina in modern systems. please point me to the documentation!

Revision history for this message
L.Lopez (ldotlopez) wrote :

Hi, I'm the developer of Eina.

I'm very pleased about your interest in Eina, however the development has been stopped some years ago.

Eina needs to be ported from GStreamer 0.10 to 1.x+ and to be updated to use modern GTK+.

May be it will compile if you remove the "-Werror and -DGTK_DISABLE_DEPRECATED" from CFLAGS but I'm not sure.

If anyone wants to take the development, go ahead.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.