[Gtkradiant] future gtkglext trouble: gdk_gl_font_use_pango_font(_for_display) API removed
Nerius Landys
nlandys at gmail.com
Sat Nov 13 23:11:11 CST 2010
Oh, "we'll" fix it when it becomes an issue, at the latest.
I've been testing Radiant on the latest Ubuntu 10.10 and apparently that
still has this function defined (so everything compiles and works). So I'd
expect this to break in a serious manner in 6 months or so when the next
version of Ubuntu gets released.
I'm actually going to look at some [unrelated] font issues tomorrow so I
might just stumble upon this code then, we'll see.
- Rambetter
On Sat, Nov 13, 2010 at 8:09 PM, Liam Busey <liam.busey at comcast.net> wrote:
> Hi everyone, I just wanted to give you all a heads up.
>
>
> This may be old news to you but it looks like future versions of
> gtkglext will not be usable with zeroradiant.
>
>
> I was recently playing with my LFS system. I wanted to do some mapping
> so I was going about getting my dependencies in order in preparation
> for building zeroradiant. The release tarball for gtkglext didn't build
> for me so I decided to use the git version and it compiled fine.
>
> I then tried to build zeroradiant but got this error:
>
>
> g++ -o build/debug/radiant/radiant/glwidget.o -c -pipe -Wall
> -fmessage-length=0 -fvisibility=hidden -I/usr/include/libxml2 -pthread
> -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/pixman-1 -I/usr/include/freetype2
> -I/usr/include/libpng12 -pthread -I/usr/include/gtkglext-1.0
> -I/usr/include/gtk-2.0 -I/usr/lib/gtkglext-1.0/include
> -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/pixman-1
> -I/usr/include/freetype2 -I/usr/include/libpng12 -fpermissive
> -fvisibility-inlines-hidden -g -pipe -Wall -fmessage-length=0
> -fvisibility=hidden -I/usr/include/libxml2 -pthread
> -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/pixman-1 -I/usr/include/freetype2
> -I/usr/include/libpng12 -pthread -I/usr/include/gtkglext-1.0
> -I/usr/include/gtk-2.0 -I/usr/lib/gtkglext-1.0/include
> -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/pixman-1
> -I/usr/include/freetype2 -I/usr/include/libpng12 -DQ_NO_STLPORT
> -D_DEBUG -Ibuild/debug/radiant/include -Iinclude
> -Ibuild/debug/radiant/libs -Ilibs radiant/glwidget.cpp
> radiant/glwidget.cpp: In function 'void
> gtk_glwidget_create_font(GtkWidget*)': radiant/glwidget.cpp:223:71:
> error: 'gdk_gl_font_use_pango_font' was not declared in this scope
> scons: *** [build/debug/radiant/radiant/glwidget.o] Error 1 scons:
> building terminated because of errors.
>
>
> Hmmm ...
>
> I googled "gdk_gl_font_use_pango_font" and found this thread:
>
> [GtkGLExt] gdk_gl_font_use_pango_font: life support or euthanasia?
> http://www.mail-archive.com/gtkglext-list@gnome.org/msg00649.html
>
> Unfortunately it was euthanized on 2010-04-26:
> [GB#604333] Remove the gdk_gl_font_use_pango_font(_for_display) API
> functions.
>
> http://git.gnome.org/browse/gtkglext/commit/?id=df7a7b35b80b395d7ba411c7f727970a46fb0588
>
> I built a new gtkglext from just before the removal of the
> gdk_gl_font_use_pango_font(_for_display) API functions. Zeroradiant
> built successfully with this version of gtkglext (SHA1
> 1a6472adeeef9ce754fa21647968e04e3929e9d5).
>
> I'm not much of a coder so I'm not sure if this a big deal or not but I
> thought you all might like to know about it. If anything needs to be
> done I'm willing to help.
>
>
> -Liam
>
> _______________________________________________
> Gtkradiant mailing list
> Gtkradiant at zerowing.idsoftware.com
> http://zerowing.idsoftware.com/cgi-bin/mailman/listinfo/gtkradiant
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://zerowing.idsoftware.com/pipermail/gtkradiant/attachments/20101113/72483a28/attachment-0001.htm
More information about the Gtkradiant
mailing list