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

Bug#443711: FTBFS: Uses deprecated GTK+ features



On Mon, Oct 22, 2007 at 05:55:29AM +0200, Ana Guerrero wrote:
> On Sun, Sep 23, 2007 at 08:44:50AM -0700, Matt Kraai wrote:
> > Package: d4x
> > Version: 2.5.7.1-4
> > Severity: serious
> > Tags: patch
> > 
> > d4x fails to build because it uses some deprecated GTK+ features and
> > defines GTK_DISABLE_DEPRECATED:
> > 
> > if i486-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../..   -I/usr/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -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/freetype2 -I/usr/include/libpng12 -include ../../config.h  -O2 -Wall -MT fsched.o -MD -MP -MF ".deps/fsched.Tpo" -c -o fsched.o fsched.cc; \
> > 	then mv -f ".deps/fsched.Tpo" ".deps/fsched.Po"; else rm -f ".deps/fsched.Tpo"; exit 1; fi
> > fsched.cc:45: warning: deprecated conversion from string constant to 'char*'
> > fsched.cc:45: warning: deprecated conversion from string constant to 'char*'
> > fsched.cc:45: warning: deprecated conversion from string constant to 'char*'
> > fsched.cc:45: warning: deprecated conversion from string constant to 'char*'
> > fsched.cc:45: warning: deprecated conversion from string constant to 'char*'
> > fsched.cc:45: warning: deprecated conversion from string constant to 'char*'
> > fsched.cc:45: warning: deprecated conversion from string constant to 'char*'
> > fsched.cc:45: warning: deprecated conversion from string constant to 'char*'
> > fsched.cc:45: warning: deprecated conversion from string constant to 'char*'
> > fsched.cc:45: warning: deprecated conversion from string constant to 'char*'
> > fsched.cc:45: warning: deprecated conversion from string constant to 'char*'
> > fsched.cc:45: warning: deprecated conversion from string constant to 'char*'
> > fsched.cc: In function 'GtkWidget* d4x_scheduler_init()':
> > fsched.cc:251: error: 'gtk_widget_ref' was not declared in this scope
> > fsched.cc: In function 'void my_gtk_aeditor_browse_ok(GtkWidget*, MyGtkAEditor*)':
> > fsched.cc:295: error: 'GTK_FILE_SELECTION' was not declared in this scope
> > fsched.cc:295: error: 'gtk_file_selection_get_filename' was not declared in this scope
> > fsched.cc: In function 'void my_gtk_aeditor_browse(GtkWidget*, MyGtkAEditor*)':
> > fsched.cc:309: error: 'gtk_file_selection_new' was not declared in this scope
> > fsched.cc:312: error: 'GTK_FILE_SELECTION' was not declared in this scope
> > fsched.cc:312: error: 'gtk_file_selection_set_filename' was not declared in this scope
> > fsched.cc:314: error: 'GTK_FILE_SELECTION' was not declared in this scope
> > fsched.cc: At global scope:
> > fsched.cc:113: warning: 'gint compare_nodes2(const void*, const void*)' defined but not used
> > 
> > The attached patch fixes this by not defining GTK_DISABLE_DEPRECATED.
> >
> 
> 
> Maybe is it time to do a QA upload of this? I would do, but it is your patch..  :)

I've done an upload (hopefully correctly).  If there's anything else I
can do, please let me know.

-- 
Matt




Reply to: