After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 634532 - Fails to build with gtk+-3.0
Fails to build with gtk+-3.0
Status: RESOLVED FIXED
Product: GtkHtml
Classification: Other
Component: API
3.91.x
Other Linux
: Normal normal
: ---
Assigned To: gtkhtml-maintainers
gtkhtml-maintainers
evolution[gtk3]
: 635290 636163 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2010-11-10 17:50 UTC by David Ronis
Modified: 2010-12-17 03:00 UTC
See Also:
GNOME target: 3.0
GNOME version: ---



Description David Ronis 2010-11-10 17:50:38 UTC
I'm trying to build the git/master in a gtk+-3.0 environment.  I've got gtk+-3.0 2.91.4 installed.  The build dies with:


libtool: compile:  /usr/bin/gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I. -DGSEAL_ENABLE -pthread -DORBIT2=1 -I/opt/garnom
e-svn-2.91.1/include/gtk-3.0 -I/opt/garnome-svn-2.91.1/lib/gtk-3.0/include -I/opt/garnome-svn-2.91.1/include/atk-1
.0 -I/opt/garnome-svn-2.91.1/include/cairo -I/opt/garnome-svn-2.91.1/include/gdk-pixbuf-2.0 -I/opt/garnome-svn-2.9
1.1/include/pango-1.0 -I/opt/garnome-svn-2.91.1/include/gio-unix-2.0/ -I/opt/garnome-svn-2.91.1/include -I/opt/gar
nome-svn-2.91.1/include/glib-2.0 -I/opt/garnome-svn-2.91.1/lib/glib-2.0/include -I/opt/garnome-svn-2.91.1/include/
freetype2 -I/opt/garnome-svn-2.91.1/include/enchant -I/opt/garnome-svn-2.91.1/include/gconf/2 -I/opt/garnome-svn-2
.91.1/include/orbit-2.0 -I/usr/include/pixman-1 -I/usr/include/libpng12 -pthread -I/opt/garnome-svn-2.91.1/include
/libsoup-2.4 -I/opt/garnome-svn-2.91.1/include/libxml2 -I/opt/garnome-svn-2.91.1/include -I/opt/garnome-svn-2.91.1
/include/glib-2.0 -I/opt/garnome-svn-2.91.1/lib/glib-2.0/include -DGNOME_EXPLICIT_TRANSLATION_DOMAIN=\"gtkhtml-4.0
\" -DG_LOG_DOMAIN=\"gtkhtml\" -DHAVE_NEWSOUP -I/opt/garnome-svn-2.91.1/include -DPREFIX=\"/opt/garnome-svn-2.91.1\
" -DLIBDIR=\"/opt/garnome-svn-2.91.1/share\" -DDATADIR=\"/opt/garnome-svn-2.91.1/share\" -DSYSCONFDIR=\"/opt/garno
me-svn-2.91.1/etc\" -DICONDIR=\"/opt/garnome-svn-2.91.1/share/gtkhtml-4.0/icons\" -DGTKHTML_DATADIR=\"/opt/garnome
-svn-2.91.1/share/gtkhtml-4.0\" -DGNOMELOCALEDIR=\"/opt/garnome-svn-2.91.1/share/locale\" -I/opt/garnome-svn-2.91.
1/include -L/opt/garnome-svn-2.91.1/lib -O2 -g -pipe -DG_DISABLE_SINGLE_INCLUDES -DGTK_DISABLE_SINGLE_INCLUDES -Wall -Wextra -Wno-missing-field-initializers -Wno-sign-compare -Wno-unused-parameter -Wdeclaration-after-statement -Werror-implicit-function-declaration -Wformat-nonliteral -Wformat-security -Winit-self -Wmissing-declarations -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wpointer-arith -Wredundant-decls -Wundef -Wwrite-strings -fno-strict-aliasing -MT htmlbutton.lo -MD -MP -MF .deps/htmlbutton.Tpo -c htmlbutton.c  -fPIC -DPIC -o .libs/htmlbutton.o
gtkhtml.c: In function 'set_adjustments':
gtkhtml.c:2456:18: error: 'GtkLayoutClass' has no member named 'set_scroll_adjustments'
gtkhtml.c:2457:18: error: 'GtkLayoutClass' has no member named 'set_scroll_adjustments'
gtkhtml.c: In function 'gtk_html_class_init':
gtkhtml.c:3243:14: error: 'GtkLayoutClass' has no member named 'set_scroll_adjustments'
make[6]: *** [gtkhtml.lo] Error 1
m
Comment 1 Matthew Barnes 2010-11-10 18:50:26 UTC
I have a fix for this already on a private branch.  I'll merge it to master after GTK+ 3.0 is released in late December or January.
Comment 2 Jan Schmidt 2010-11-18 11:44:06 UTC
Could you at least put the patch up for those of us who are trying to jhbuild?
Comment 3 Matthew Barnes 2010-11-18 14:22:03 UTC
There's a public branch for building with gtk3 now.  It's called gtk3.
Comment 4 Matthew Barnes 2010-11-20 01:30:39 UTC
*** Bug 635290 has been marked as a duplicate of this bug. ***
Comment 5 Matthew Barnes 2010-12-01 00:13:36 UTC
*** Bug 636163 has been marked as a duplicate of this bug. ***
Comment 6 Sergey V. Udaltsov 2010-12-01 01:08:22 UTC
Would it make sense to make gtk3 branch master at this stage, and move the stable code into non-master branch? IMHO that would be more sane than switching jhbuild to gtk3 branch and then (later) back to master.
Comment 7 Matthew Barnes 2010-12-01 01:12:10 UTC
We only require and support gtk2 right now and are working on gtk3 changes on the side.  Once gtk-3.0 is formally released we will merge the gtk3 branch into master and drop support for gtk2.
Comment 8 Matthew Barnes 2010-12-17 03:00:55 UTC
Everything builds fine now on our gtk3 branches, so closing this.