Bug#187365: xlibmesa3-glu: libraries not correctly linked
- To: 187365@bugs.debian.org
- Subject: Bug#187365: xlibmesa3-glu: libraries not correctly linked
- From: "Marcelo E. Magallon" <mmagallo@debian.org>
- Date: Sun, 4 May 2003 07:10:02 -0500
- Message-id: <[🔎] 20030504071002.A22712@debian.org>
- Reply-to: "Marcelo E. Magallon" <mmagallo@debian.org>, 187365@bugs.debian.org
- In-reply-to: <20030426215810.GT14585@deadbeast.net>; from branden@debian.org on Sat, Apr 26, 2003 at 04:58:10PM -0500
- References: <20030402221209.CAA0133D29@wonderland.linux.it> <20030403055911.GC28588@trinity.unimelb.edu.au> <1049375780.26922.16.camel@thor> <20030426215810.GT14585@deadbeast.net>
>> Branden Robinson <branden@debian.org> writes:
> We could just as well ask why we bother to ship xlibmesa*, then.
>
> I would like to know why the answers to your question and the above
> should be different.
The best answer I can come up with? Because someone is bound to create
a CD which doesn't include the mesa packages (because it's mesa and
it's slow and it's software and who in their same mind would want to
use that and it's not the cool thing of the day) yet he'll need libGLU
for one reason or another[0].
Other than that, it's just code duplication. Modulo some compilation
flags, both libGLU binaries are likely the same. "mine" is much easier
to build, though (it doesn't take 2+ GB of space ;-)
[0] The one function not provided by libGL but libGLU used by -- dare I
come up with a statistic on the spot -- 90% of the OpenGL programs out
there is gluPerspective, which is a small wrapper for gluFrustum. The
next in line is probably gluBuild2DMipmaps, which unlike gluPerspective
is larger two or three lines of code, and is in fact larger than a
screenful.
> N.B., I'm not opposed to having the XFree86 packages stop shipping
> the Mesa libraries, I just want to have a coherent reason for doing
> so.
No, not the mesa libraries, just libGLU. The libGL in the XFree86
packages is a different beast when you compare it to the libGL
libraries coming out of the mesa packages. Same API, binary
compatible, but totally different behaviour when it comes down to the
nitty gritty.
Marcelo
Reply to: