bugGnome Chemistry Utils - Bugs: bug #32761, Build failure with gtk+ 2.24.1

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #32761: Build failure with gtk+ 2.24.1

Submitted by:  Ryo ONODERA <ryoon>
Submitted on:  Sat 12 Mar 2011 09:52:50 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: Jean Bréfort <jean_brefort>
Open/Closed: Closed

Wed 18 May 2011 08:33:00 AM UTC, comment #2:

Fixed in trunk.

Jean Bréfort <jean_brefort>
Project AdministratorIn charge of this item.
Sat 12 Mar 2011 09:59:11 PM UTC, comment #1:

Known problem. It will be fixed before 0.14. For now, just remove the -DGTK_DISABLE_DEPRECATED flag.

Jean Bréfort <jean_brefort>
Project AdministratorIn charge of this item.
Sat 12 Mar 2011 09:52:50 PM UTC, original submission:

With gtk 2.24.1, build fails.
I think some function (at least gtk_combo_box_new_text and gtk_combo_box_append_textis) deprecated since 2.24.

CXX filechooser.lo
libtool: compile: c++ -DHAVE_CONFIG_H -DDATADIR=\"/usr/pkg/share\" -DLOCALEDIR=
\"/usr/pkg/share/locale\" -DLIBEXECDIR=\"/usr/pkg/libexec\" -DPKGDATADIR=\"/usr/
pkg/share/gchemutils/0.14\" -DUIDIR=\"/usr/pkg/share/gchemutils/0.14/ui/libgcu\"
-DGCU_PLUGINS_DIR=\"/usr/pkg/lib/gchemutils/0.14/plugins\" -I. -I../.. -I../../
libs -pthread -D_REENTRANT -DORBIT2=1 -I/usr/tmp/wip/gnome-chemistry-utils/work/
.buildlink/include/libgoffice-0.8 -I/usr/tmp/wip/gnome-chemistry-utils/work/.bui
ldlink/include/glib/glib-2.0 -I/usr/tmp/wip/gnome-chemistry-utils/work/.buildlin
k/lib/glib-2.0/include -I/usr/tmp/wip/gnome-chemistry-utils/work/.buildlink/incl
ude/libgsf-1 -I/usr/tmp/wip/gnome-chemistry-utils/work/.buildlink/include/libxml
2 -I/usr/tmp/wip/gnome-chemistry-utils/work/.buildlink/include/gtk-2.0 -I/usr/tm
p/wip/gnome-chemistry-utils/work/.buildlink/include/cairo -I/usr/tmp/wip/gnome-c
hemistry-utils/work/.buildlink/include/pango-1.0 -I/usr/tmp/wip/gnome-chemistry-
utils/work/.buildlink/include/gconf/2 -I/usr/tmp/wip/gnome-chemistry-utils/work/
.buildlink/lib/gtk-2.0/include -I/usr/tmp/wip/gnome-chemistry-utils/work/.buildl
ink/include/atk-1.0 -I/usr/tmp/wip/gnome-chemistry-utils/work/.buildlink/include
/gdk-pixbuf-2.0 -I/usr/tmp/wip/gnome-chemistry-utils/work/.buildlink/include/gli
b/gio-unix-2.0/ -I/usr/tmp/wip/gnome-chemistry-utils/work/.x11-buildlink/include -I/usr/tmp/wip/gnome-chemistry-utils/work/.x11-buildlink/include/pixman-1 -I/usr/tmp/wip/gnome-chemistry-utils/work/.x11-buildlink/include/freetype2 -I/usr/tmp/wip/gnome-chemistry-utils/work/.buildlink/include/libpng15 -I/usr/tmp/wip/gnome-chemistry-utils/work/.buildlink/include/orbit-2.0 -pthread -I/usr/tmp/wip/gnome-chemistry-utils/work/.buildlink/include/gtkglext-1.0 -I/usr/tmp/wip/gnome-chemistry-utils/work/.buildlink/lib/gtkglext-1.0/include -DG_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DGSEAL_ENABLE -Wall -Wextra -I/usr/tmp/wip/gnome-chemistry-utils/work/.buildlink/include -O2 -MT filechooser.lo -MD -MP -MF .deps/filechooser.Tpo -c filechooser.cc -fPIC -DPIC -o .libs/filechooser.o
In file included from ../../libs/gcu/document.h:32,
from filechooser.cc:28:
../../libs/gcu/loader-error.h:64:29: warning: no newline at end of file
filechooser.cc: In constructor 'gcu::FileChooser::FileChooser(gcu::Application, bool, std::list<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, gcu::Document, const char, GtkWidget)':
filechooser.cc:61: error: 'gtk_combo_box_new_text' was not declared in this scope
filechooser.cc:62: error: 'gtk_combo_box_append_text' was not declared in this scope
gmake[3]: *** [filechooser.lo] Error 1
gmake[3]: Leaving directory `/usr/tmp/wip/gnome-chemistry-utils/work/gnome-chemistry-utils-0.13.2/libs/gcu'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/usr/tmp/wip/gnome-chemistry-utils/work/gnome-chemistry-utils-0.13.2/libs'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/tmp/wip/gnome-chemistry-utils/work/gnome-chemistry-utils-0.13.2'
gmake: *** [all] Error 2

      • Error code 2

Stop.

Ryo ONODERA <ryoon>

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by ryoon (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 18 May 2011 08:33:00 AM UTCjean_brefortStatusConfirmed=>Fixed
      Open/ClosedOpen=>Closed
    Sat 12 Mar 2011 09:59:11 PM UTCjean_brefortStatusNone=>Confirmed
      Assigned toNone=>jean_brefort

    Back to the top


    Powered by Savane 3.1-cleanup1