Re: mesag3 <-> xlibmesa-gl / libgl1-mesa-dri <-> xlibmesa-dri / libglu1-mesa <-> libglu1-xorg
On Wed, 2005-08-31 at 21:55 -0600, Marcelo E. Magallon wrote:
> On Wed, Aug 31, 2005 at 10:35:55PM -0400, Michel Dänzer wrote:
>
> > > 2) Someone with the proper hardware should test the several
> > > (there's at least 8 of them IIRC) drivers that ship inside the
> > > -dri package with the current (6.8) and future (6.9, 7.0) x.org
> > > server.
> >
> > I'll gladly test the r200 driver once it's built on powerpc and the
> > libgl1 issue mentioned above is solved.
>
> Can you just try the drivers? I mean "dpkg -x" or something like that.
I tried building from SVN:
[...]
mkdir -p debian/stamp/ && touch debian/stamp/target-gl-debian-debug
dh_testdir
chmod +x debian/shadowtree
rm -f -rf build/gl-debian-debug-i386
debian/shadowtree build/gl-debian-debug-i386
ln -sf debian-debug-i386 build/gl-debian-debug-i386/configs/current
if test gl != gl ; then mkdir -p build/gl-debian-debug-i386/lib/ ; ln
-sf ../../gl-debian-debug-i386/lib/libGL.so
build/gl-debian-debug-i386/lib/ ; fi
make -C build/gl-debian-debug-i386/src SRC_DIRS=mesa
make[1]: Entering directory
`/home/michdaen/debian/mesa-svn/trunk/build/gl-debian-debug-i386/src'
Making sources for debian-debug-i386
mkdir ../lib
make[2]: Entering directory
`/home/michdaen/debian/mesa-svn/trunk/build/gl-debian-debug-i386/src/mesa'
make[3]: Entering directory
`/home/michdaen/debian/mesa-svn/trunk/build/gl-debian-debug-i386/src/mesa'
make[4]: Entering directory
`/home/michdaen/debian/mesa-svn/trunk/build/gl-debian-debug-i386/src/mesa/x86'
cc -I../../../include/GL -I../../../include -I.. -I../main -I../math
-I../glapi -I../tnl -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L
-D_SVID_SOURCE -D_BSD_SOURCE -D_GNU_SOURCE -DUSE_XSHM -DPTHREADS
-I/usr/X11R6/include -DDEBUG -DMESA_DEBUG -ansi -pedantic -Wall -fPIC
-std=c99 -mcpu=i686 -msse -mfpmath=sse -DUSE_X86_ASM -DUSE_MMX_ASM
-DUSE_3DNOW_ASM -DUSE_SSE_ASM gen_matypes.c -o gen_matypes
cc1: error: invalid option ‘sse’
cc1: error: invalid option ‘fpmath=sse’
gen_matypes.c:1: error: bad value (i686) for -mcpu= switch
[...]
(Keep in mind this is on powerpc)
I took a look at debian/rules, but it isn't obvious to me what the best
way to fix this is.
> I just need to know if they work fine with the current X server in
> unstable or if I need to wait for the 6.9 X server.
FWIW, we generally try to preserve backwards compatibility, so they
*should* work with the X server in sid. The r200 driver from Mesa CVS
certainly works here, although I'm not using the DDX driver from
xserver-xorg either. :)
> SVN is svn://svn.debian.org/svn/pkg-mesa/mesa/trunk and patches are
> most welcomed (BTS is easier, but my @d.o address should be fine).
The attached patch adds the IMO appropriate Conflicts:, Replaces: and
Provides: for libgl1-mesa-dri{,-dev}.
> And since I've got your attention Michel, if you figure there's an
> optimization for PowerPC that actually has some visible impact, I'll be
> glad to include that, too. Please read debian/README.build.
Thanks for the pointer, but unfortunately, I can't think of anything
offhand.
> I really wish I had a PowerPC where I could port the optimized T&L
> functions, PowerPC asm is *really* nice :-)
Yeah, that'd be very cool. :)
> And co-maintaining is always welcomed.
Okay, do you intend to use the pkg-mesa-devel list?
--
Earthling Michel Dänzer | Debian (powerpc), X and DRI developer
Libre software enthusiast | http://svcs.affero.net/rm.php?r=daenzer
Index: debian/control
===================================================================
--- debian/control (revision 26)
+++ debian/control (working copy)
@@ -52,6 +52,9 @@
Section: libs
Architecture: any
Depends: ${shlibs:Depends}, libglu1-mesa | libglu1
+Conflicts: libgl1
+Replaces: libgl1
+Provides: libgl1
Description: A free implementation of the OpenGL API -- DRI runtime
This version of Mesa provides hardware accelerated rendering
capabilities via the Direct Rendering Interface (DRI) infraestructure.
@@ -62,6 +65,9 @@
Section: libs
Architecture: any
Depends: ${shlibs:Depends}, libc6-dev, mesa-common-dev (= ${Source-Version}), libgl1-mesa-dri (=${Source-Version})
+Conflicts: libgl-dev
+Replaces: libgl-dev
+Provides: libgl-dev
Description: A free implementation of the OpenGL API -- DRI development support files
This version of Mesa provides hardware accelerated rendering
capabilities via the Direct Rendering Interface (DRI) infraestructure.
Reply to: