[Mesa-dev] Split libGLU into its own repository?

Matt Turner mattst88 at gmail.com
Tue Aug 28 21:04:10 PDT 2012


On Mon, Aug 27, 2012 at 2:58 PM, Matt Turner <mattst88 at gmail.com> wrote:
> On Sun, Jan 22, 2012 at 4:03 AM, Kenneth Graunke <kenneth at whitecape.org> wrote:
>> A while back, we split off GLw into a separate repository.  The rationale
>> was that GLw should be maintained and released independently from
>> Mesa/Gallium since it hardly ever changes and isn't closely tied to the core
>> GL and drivers.
>>
>> I'd like to do the same for libGLU.  I've split it out, created an new
>> autotools build system, and uploaded a repository here:
>>
>> git://people.freedesktop.org/~kwg/glu
>>
>> It has all the history except for some old build system vestiges, which
>> filter-branch ate when I moved files from src/glu to the top-level
>> directory.  I doubt anyone cares about those, since you obviously couldn't
>> use the old build system anyway.
>>
>> I made the installed library libGLU.so.1.3.1, as this ought to be compatible
>> with existing binaries.
>>
>> If this sounds good to everyone, we can create an official /mesa/glu repo
>> and I can go ahead and remove it from the Mesa tree.  We'll also want to cut
>> a glu release (though it could possibly wait until Mesa 8.1.)
>>
>> One concern I have is that libGLU in Mesa appears to have some build system
>> magic for linking against OSMesa instead of libGL.  With the new system, I
>> think you would need "pkg-config --libs --cflags gl" to report OSMesa.  I'm
>> not sure whether that's an issue or not.
>
> I've now picked this back up. It's available in
> http://cgit.freedesktop.org/~mattst88/glu/
>
> I've addressed Jakob's comment about putting the src/ folder back in,
> and I've confirmed that it passes distcheck.
>
> I'll bump the package version to 9.0 (to correspond to Mesa-9.0 -- the
> first version of Mesa that won't have bundled GLU) but the soname is
> still 1.3.x to match previous versions. OSMesa linkage should work,
> but I haven't touched the name mangling stuff. Tom (CC'd), if you care
> about this...
>
> I'll send a patch to strip GLU out of Mesa once we get this into its
> own /mesa/glu/ repository.
>
> Please review and then move to /mesa/glu/.
>
> Thanks,
> Matt

I fixed up the history (previously I did an awful cherry-picking hack
which messed up the committers and commit dates).


More information about the mesa-dev mailing list