glwDrawingAreaWidgetClass gone

Jason Bacon jbacon at mcw.edu
Fri May 25 21:27:52 UTC 2007


Hi guys,

First, thanks for all the hard work on the xorg 7.2 merge - this must 
have been a real booger...

I'm in the process of building all my ports with the new xorg, and I ran 
into a problem with afni.  Under xorg 6.9, libGLw defines both 
glwDrawingAreaWidgetClass and glwMDrawingAreaWidgetClass (the latter is 
#defined as either glwM1... or glwM2... depending on the GL version).

FreeBSD smithers bacon /usr/X11R6/lib 213: ls -d /var/db/pkg/xorg*
/var/db/pkg/xorg-clients-6.9.0_3/
/var/db/pkg/xorg-fonts-encodings-6.9.0_1/
/var/db/pkg/xorg-fonts-miscbitmaps-6.9.0_1/
/var/db/pkg/xorg-fonts-truetype-6.9.0/
/var/db/pkg/xorg-libraries-6.9.0_1/
/var/db/pkg/xorg-server-6.9.0_6/
FreeBSD smithers bacon /usr/X11R6/lib 214: strings libGLw.so | fgrep glw 
| fgrep Drawing
glwDrawingAreaClassRec
glwDrawingAreaWidgetClass
glwM1DrawingAreaClassRec
glwM1DrawingAreaWidgetClass
glwM2DrawingAreaClassRec
glwM2DrawingAreaWidgetClass
w->glwDrawingArea.attribList
w->glwDrawingArea.visualInfo

Under xorg 7.2, only glwMDrawingAreaWidgetClass is defined.

<<<ROOT at deepthought>>> /usr/local/lib 331 # ls -d /var/db/pkg/xorg-*
/var/db/pkg/xorg-cf-files-1.0.2_2/   /var/db/pkg/xorg-libraries-7.2/
/var/db/pkg/xorg-fonts-truetype-7.2/
<<<ROOT at deepthought>>> /usr/local/lib 332 # strings libGLw.so | fgrep 
glw | fgrep Drawing
glwMDrawingAreaWidgetClass
glwMDrawingAreaClassRec
w->glwDrawingArea.visualInfo
w->glwDrawingArea.attribList
neww->glwDrawingArea.visualInfo
neww->glwDrawingArea.attribList
(ptr-w->glwDrawingArea.attribList)<ATTRIBLIST_SIZE

Is there a specific reason that glwDrawingAreaWidgetClass was dropped 
under 7.2, or could this just be a loose end?  I'd be happy to help with 
modifying the libGLw port, unless there's a good reason to leave it as 
it is.  I grepped all the pkg-plists and Makefiles, and there seem to be 
very few ports that depend on it.

Patching afni would be difficult, since it's a huge suite of programs, 
and various programs use both glw and glwM.

Thanks,

    Jason



More information about the freebsd-x11 mailing list