Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 16527 - gtkglext-0.5.0 the current stable will not compile with versions of gtk+ > 2.0.x
Summary: gtkglext-0.5.0 the current stable will not compile with versions of gtk+ > 2...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High major
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-02-27 22:46 UTC by Daniel
Modified: 2003-03-08 12:58 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel 2003-02-27 22:46:54 UTC
gtkglext-0.5.0 (the current stable) will not compile with versions of gtk+  >
2.0.x gtkglext-0.5.0 is trying to use a member of GdkDrawableClass called
_draw_pixbuf that no longer exists in more recent versions of gtk+.

Reproducible: Always
Steps to Reproduce:
1. emerge gtkglarea


Actual Results:  
gdkglwindow.c: In function `gdk_gl_window_class_init':
gdkglwindow.c:230: structure has no member named `_draw_pixbuf'
gdkglwindow.c: In function `gdk_gl_window_draw_pixbuf':
gdkglwindow.c:650: structure has no member named `_draw_pixbuf'

and many more errors along these same lines.

Expected Results:  
After tracking down this for awhile I found that the _draw_pixbuf only exists in
gtk+ 2.0.x and that newer versions have lost that at some poit.  The more recent
gtkglarea-0.7.0 will succesfully check for gtk+ 2.0 and use _draw_pixbuf
otherwise it will work around it.  I am currently working with gtk+ 2.2.1.

Portage 2.0.46-r12 (default-x86-1.4, gcc-3.2.2, glibc-2.2.5-r2,2.3.1-r2)
=================================================================
System uname: 2.4.18-xfs i686 Intel(R) Pentium(R) 4 CPU 2.26GHz
GENTOO_MIRRORS="http://gentoo.oregonstate.edu/ http://distro.ibiblio.org/pub/Lin
ux/distributions/gentoo"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share
/config /usr/X11R6/lib/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY=""
USE="x86 oss 3dnow apm arts avi crypt cups encode gif jpeg libg++ libwww mikmod 
mmx mpeg ncurses nls pdflib png qtmt quicktime spell truetype xml2 xmms xv zlib 
gtkhtml gdbm berkdb slang readline bonobo svga tcltk java guile sdl tcpd pam ssl
 perl python esd imlib oggvorbis qt motif opengl mozilla cdr X gtk -gpm -kde -gn
ome -alsa"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer"
CXXFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer"
ACCEPT_KEYWORDS="x86"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
FEATURES="sandbox ccache"
Comment 1 foser (RETIRED) gentoo-dev 2003-03-03 15:25:05 UTC
try 0.7 thats gonna be stable from now on.
Comment 2 foser (RETIRED) gentoo-dev 2003-03-08 12:58:15 UTC
should be ok now. please report back if not.