On Saturday, 12 July 2008 at 19:04, Matthias Clasen wrote: > On Sat, 2008-07-12 at 15:30 +0200, Dominik 'Rathann' Mierzejewski wrote: > > On Saturday, 31 May 2008 at 13:02, Rawhide wrote: > > [...] > > > > Sorry to dig up old stuff, but this update > > > > > gtk2-2.13.1-2.fc10 > > > ------------------ > > > * Fri May 30 18:00:00 2008 Matthias Clasen <mclasen@xxxxxxxxxx> - 2.13.1-2 > > > - Fix a problem with some pixbuf loaders > > > > > > * Fri May 30 18:00:00 2008 Matthias Clasen <mclasen@xxxxxxxxxx> - 2.13.1-1 > > > - Update to 2.13.1 > > > > broke compilation of ekg2. See https://bugzilla.redhat.com/show_bug.cgi?id=449637 > > > > I finally managed to paper over the issue by adding a missing deprecated > > #define and not including a deprecated header. Looks like an incompatible > > API change in gtk2-2.13.1. I'll notify upstream about this. > > No need, I am upstream. I meant ekg2 upstream, since they're using obsolete API and headers. > But it would be more helpful if you let me know what was missing, in > your opinion. ekg2 source used below is here: http://pl.ekg2.org/ekg2-0.2-rc1.tar.gz The ekg2-devel archives seem to be down, so I'll just post the compilation errors here (edited out some #warnings for readability): /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -DDATADIR=\"/usr/share/ekg2\" -fvisibility=hidden -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -Wall -std=c99 -MT gtk_la-maingui.lo -MD -MP -MF .deps/gtk_la-maingui.Tpo -c -o gtk_la-maingui.lo `test -f 'maingui.c' || echo './'`maingui.c gcc -DHAVE_CONFIG_H -I. -I../.. -DDATADIR=\"/usr/share/ekg2\" -fvisibility=hidden -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -Wall -std=c99 -MT gtk_la-maingui.lo -MD -MP -MF .deps/gtk_la-maingui.Tpo -c maingui.c -fPIC -DPIC -o .libs/gtk_la-maingui.o In file included from maingui.c:78: xtext.h:243: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'gtk_xtext_get_type' maingui.c: In function 'mg_populate': maingui.c:686: warning: implicit declaration of function 'gtk_xtext_get_type' make[1]: *** [gtk_la-maingui.lo] Error 1 make[1]: Leaving directory `/builddir/build/BUILD/ekg2-0.2-rc1/plugins/gtk' make: *** [all] Error 2 The missing typedef GType GtkType; is under #ifndef GTK_DISABLE_DEPRECATED in <gtk/gtktypeutils.h>. After re-adding the missing typedef, the next error: /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -DDATADIR=\"/usr/share/ekg2\" -fvisibility=hidden -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -Wall -std=c99 -MT gtk_la-gtkutil.lo -MD -MP -MF .deps/gtk_la-gtkutil.Tpo -c -o gtk_la-gtkutil.lo `test -f 'gtkutil.c' || echo './'`gtkutil.c gcc -DHAVE_CONFIG_H -I. -I../.. -DDATADIR=\"/usr/share/ekg2\" -fvisibility=hidden -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -Wall -std=c99 -MT gtk_la-gtkutil.lo -MD -MP -MF .deps/gtk_la-gtkutil.Tpo -c gtkutil.c -fPIC -DPIC -o .libs/gtk_la-gtkutil.o In file included from /usr/include/gtk-2.0/gtk/gtk.h:222, from /usr/include/gtk-2.0/gtk/gtksignal.h:33, from /usr/include/gtk-2.0/gtk/gtkclist.h:35, from gtkutil.c:30: /usr/include/gtk-2.0/gtk/gtkctree.h:110: error: expected specifier-qualifier-list before 'GtkCList' /usr/include/gtk-2.0/gtk/gtkctree.h:127: error: expected specifier-qualifier-list before 'GtkCListClass' /usr/include/gtk-2.0/gtk/gtkctree.h:149: error: expected specifier-qualifier-list before 'GtkCListRow' /usr/include/gtk-2.0/gtk/gtkctree.h:342: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'gtk_ctree_node_get_cell_type' gtkutil.c: In function 'gtkutil_button': gtkutil.c:365: warning: comparison with string literal results in unspecified behavior make[1]: *** [gtk_la-gtkutil.lo] Error 1 make[1]: Leaving directory `/builddir/build/BUILD/ekg2-0.2-rc1/plugins/gtk' make: *** [all] Error 2 This one is fixed by removing #include <gtk/gtkclist.h>. Regards, R. -- Fedora http://fedoraproject.org/wiki/User:Rathann Livna http://rpm.livna.org | MPlayer http://mplayerhq.hu "Faith manages." -- Delenn to Lennier in Babylon 5:"Confessions and Lamentations" -- fedora-devel-list mailing list fedora-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/fedora-devel-list