From: Marcelo E. M. <mma...@de...> - 2001-02-11 21:56:53
|
Hi, I was updating the Debian package for Mesa and I want to make sure I'm not going to mess up things. In Debian there are several Mesa packages available: the ones from the mesa source (the "regular" mesa, a glide2 package, a ggi package, plus a development package) and the ones coming from the XFree86 sources (the "regular" mesa, xlibmesa3[1], a development package, xlibmesa-dev, and a OSMesa package). The 3.2 packages still have some libMesaGL -> libGL symlinks which I'm going to remove in the 3.4 package (or 3.4.1). What I'm not sure what to do with is the libMesaGLw library. The xlibmesa-dev package provides libGLw.a, which contains the following symbol definitions: GLwDrawingAreaMakeCurrent GLwDrawingAreaSwapBuffers glwDrawingAreaClassRec glwDrawingAreaWidgetClass glwMDrawingAreaClassRec glwM1DrawingAreaWidgetClass glwM2DrawingAreaWidgetClass GLwCreateM1DrawingArea GLwCreateM2DrawingArea glwMDrawingAreaClassRec which is slightly different from what's generated using the sources in widgets-mesa. The other difference is the name of the library itself. mesa generates libMesaGLw and libMesaGLwM, depending if the Motif version of the widgets is enabled or not. This library also provides the "mesa" functions (e.g., mesaDrawingAreaClassRec). My problem with all of this is that the the "xfree86" packages provide libGLw.a as part of the aforementioned xlibmesa-dev package, which means the mesag-dev[2] package has to provide this file in some (compatible) way. One possible solution for me is to just ask the XFree86 maintainer to split the widgets out of the xlibmesa packages and don't use the ones provided by the mesa source. The other one is to ask you guys to use the SI source for the widgets. Yet another one is to do that myself (but I'm not too fond of that idea). Another one is the included patch, which only modifies the widgets-mesa/src/Makefile in order to generate a libGLw.a library which has the same stuff as the "xfree86" library (modulo the Motif 1/Motif 2 functions). Please note the motif library is still called libGLwM.a. Thank you in advance for your input, Marcelo [1] If you are asking yourself about this name, that makes two of us. [2] the "g" is a remanent of past times, when there was a mesa-dev package that provided a libc5 development environment. |
From: Marcelo E. M. <mma...@de...> - 2001-02-11 22:12:27
Attachments:
mesa.diff
|
>> "Marcelo E. Magallon" <mma...@de...> writes: > Another one is the included patch I'm sorry. |
From: Brian P. <br...@va...> - 2001-02-12 15:41:45
|
"Marcelo E. Magallon" wrote: > > Hi, > > I was updating the Debian package for Mesa and I want to make sure I'm > not going to mess up things. In Debian there are several Mesa packages > available: the ones from the mesa source (the "regular" mesa, a glide2 > package, a ggi package, plus a development package) and the ones coming > from the XFree86 sources (the "regular" mesa, xlibmesa3[1], a > development package, xlibmesa-dev, and a OSMesa package). The 3.2 > packages still have some libMesaGL -> libGL symlinks which I'm going to > remove in the 3.4 package (or 3.4.1). What I'm not sure what to do > with is the libMesaGLw library. The xlibmesa-dev package provides > libGLw.a, which contains the following symbol definitions: > > GLwDrawingAreaMakeCurrent > GLwDrawingAreaSwapBuffers > glwDrawingAreaClassRec > glwDrawingAreaWidgetClass > glwMDrawingAreaClassRec > glwM1DrawingAreaWidgetClass > glwM2DrawingAreaWidgetClass > GLwCreateM1DrawingArea > GLwCreateM2DrawingArea > glwMDrawingAreaClassRec > > which is slightly different from what's generated using the sources in > widgets-mesa. > > The other difference is the name of the library itself. mesa generates > libMesaGLw and libMesaGLwM, depending if the Motif version of the > widgets is enabled or not. This library also provides the "mesa" > functions (e.g., mesaDrawingAreaClassRec). > > My problem with all of this is that the the "xfree86" packages provide > libGLw.a as part of the aforementioned xlibmesa-dev package, which > means the mesag-dev[2] package has to provide this file in some > (compatible) way. > > One possible solution for me is to just ask the XFree86 maintainer to > split the widgets out of the xlibmesa packages and don't use the ones > provided by the mesa source. The other one is to ask you guys to use > the SI source for the widgets. Yet another one is to do that myself > (but I'm not too fond of that idea). Another one is the included > patch, which only modifies the widgets-mesa/src/Makefile in order to > generate a libGLw.a library which has the same stuff as the "xfree86" > library (modulo the Motif 1/Motif 2 functions). Please note the motif > library is still called libGLwM.a. > > Thank you in advance for your input, I'd forget about widgets-mesa. The one special thing it has is better colormap/visual selection code for when you're running on an 8-bit display. It tries to avoid colormap flashing. Few people run 3D apps at 8bpp nowadays. The widgets-sgi directory has the SGI-authored widgets and is probably the better code to promote. -Brian |