From 0fca6eda1e9c0bc120eab95c3f79a504d9d3e316 Mon Sep 17 00:00:00 2001
From: Thierry Reding
Date: Sat, 14 Oct 2006 04:33:41 +0000
Subject: Initial version of a new build system for Mesa.
---
debian/changelog | 6 ++
debian/compat | 1 +
debian/control | 196 +++++++++++++++++++++++++++++++++++
debian/copyright | 33 ++++++
debian/libgl1-mesa-dev.install | 2 +
debian/libgl1-mesa-dri.install | 1 +
debian/libgl1-mesa-glx.install | 1 +
debian/libgl1-mesa-swx11-dbg.install | 0
debian/libgl1-mesa-swx11-dev.install | 0
debian/libgl1-mesa-swx11.install | 0
debian/libglu1-mesa-dev.install | 2 +
debian/libglu1-mesa.install | 1 +
debian/libosmesa6-dev.install | 0
debian/libosmesa6.install | 0
debian/mesa-common-dev.install | 0
debian/mesa-swx11-source.install | 0
debian/rules | 93 +++++++++++++++++
debian/watch | 2 +
18 files changed, 338 insertions(+)
create mode 100644 debian/changelog
create mode 100644 debian/compat
create mode 100644 debian/control
create mode 100644 debian/copyright
create mode 100644 debian/libgl1-mesa-dev.install
create mode 100644 debian/libgl1-mesa-dri.install
create mode 100644 debian/libgl1-mesa-glx.install
create mode 100644 debian/libgl1-mesa-swx11-dbg.install
create mode 100644 debian/libgl1-mesa-swx11-dev.install
create mode 100644 debian/libgl1-mesa-swx11.install
create mode 100644 debian/libglu1-mesa-dev.install
create mode 100644 debian/libglu1-mesa.install
create mode 100644 debian/libosmesa6-dev.install
create mode 100644 debian/libosmesa6.install
create mode 100644 debian/mesa-common-dev.install
create mode 100644 debian/mesa-swx11-source.install
create mode 100755 debian/rules
create mode 100644 debian/watch
(limited to 'debian')
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 00000000000..c6bfbcafd9e
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,6 @@
+mesa (6.5.1-1) unstable; urgency=low
+
+ *
+
+ -- Thierry Reding Sat, 14 Oct 2006 02:09:50 +0200
+
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 00000000000..7ed6ff82de6
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+5
diff --git a/debian/control b/debian/control
new file mode 100644
index 00000000000..ed1565ebaac
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,196 @@
+Source: mesa
+Section: graphics
+Priority: optional
+Maintainer: Debian X Strike Force
+Uploaders: Thierry Reding
+Standards-Version: 3.7.2
+Build-Depends: debhelper (>= 5)
+
+Package: libgl1-mesa-swx11
+Section: libs
+Architecture: any
+Depends: ${shlibs:Depends}
+Conflicts: mesag3-glide, mesag3-glide2, mesag3+ggi, libgl1, nvidia-glx, mesag3, libgl1-mesa-swrast
+Provides: libgl1, mesag3, libgl1-mesa-swrast
+Replaces: libgl1, mesag3, libgl1-mesa-swrast
+Description: A free implementation of the OpenGL API -- runtime
+ Mesa is a 3-D graphics library with an API which is very similar to
+ that of OpenGL. To the extent that Mesa utilizes the OpenGL command
+ syntax or state machine, it is being used with authorization from
+ Silicon Graphics, Inc. However, the author makes no claim that Mesa
+ is in any way a compatible replacement for OpenGL or associated with
+ Silicon Graphics, Inc.
+ .
+ This library provides a pure software rasteriser; it does not provide
+ a direct rendering-capable library, or one which uses GLX. For that,
+ please see libgl1-mesa-glx.
+ .
+ On Linux, this library is also known as libGL or libGL.so.1.
+
+Package: libgl1-mesa-swx11-dev
+Section: libdevel
+Architecture: any
+Depends: libgl1-mesa-swx11 (= ${binary:Version}), libc6-dev, libx11-dev | xlibs-dev (>> 4.1.0), libxext6 | xlibs (>> 4.1.0), mesa-common-dev (= ${source:Version}), lesstif2-dev
+Provides: libgl-dev, mesag3-widgets, mesag-widgets-dev, libglw-dev, mesag-dev, libgl1-mesa-swrast-dev
+Conflicts: mesa-dev, libgl-dev, mesag3 (<< 3.1-1), nvidia-glx-dev, mesag-dev, libgl1-mesa-swrast-dev
+Replaces: libgl-dev, mesag-dev, libgl1-mesa-swrast-dev
+Description: A free implementation of the OpenGL API -- development support files
+ This package provides the development environment required for
+ compiling programs with Mesa. For a complete description of Mesa,
+ please look at the libgl1-mesa-swx11 package.
+ .
+ This package also provides a simple widgets library, libGLw, which
+ allows Motif-based applications to embed an OpenGL drawing context.
+ The headers and static libraries for compiling programs that use this
+ library are included.
+ .
+ This library provides a pure software rasteriser; it does not provide
+ a direct rendering-capable library, or one which uses GLX. For that,
+ please see libgl1-mesa-dev.
+
+Package: libgl1-mesa-swx11-dbg
+Section: libs
+Architecture: any
+Depends: ${shlibs:Depends}
+Conflicts: libgl1-mesa-swrast-dbg
+Replaces: libgl1-mesa-swrast-dbg
+Provides: libgl1-mesa-swrast-dbg
+Description: A free implementation of the OpenGL API -- debugging package
+ This package provides a debug-enabled version of the Mesa libraries.
+ .
+ For a complete description of Mesa, please look at the libgl1-mesa-swx11
+ package.
+
+Package: libgl1-mesa-glx
+Section: libs
+Architecture: any
+Depends: ${shlibs:Depends}
+Conflicts: libgl1, libgl1-mesa-dri (<< 6.4.0)
+Replaces: libgl1, libgl1-mesa-dri (<< 6.4.0)
+Provides: libgl1
+Description: A free implementation of the OpenGL API -- GLX runtime
+ This version of Mesa provides GLX and DRI capabilities: it is capable of
+ both direct and indirect rendering. For direct rendering, it can use DRI
+ modules from the libgl1-mesa-dri package to accelerate drawing.
+ .
+ This package does not include the modules themselves: these can be found
+ in the libgl1-mesa-dri package.
+ .
+ For a complete description of Mesa, please look at the
+ libgl1-mesa-swx11 package.
+
+Package: libgl1-mesa-dri
+Section: libs
+Architecture: any
+Depends: ${shlibs:Depends}, libgl1-mesa-glx (= ${binary:Version})
+Conflicts: xlibmesa-dri (<< 1:7.0.0)
+Replaces: xlibmesa-dri (<< 1:7.0.0)
+Description: A free implementation of the OpenGL API -- DRI modules
+ This version of Mesa provides GLX and DRI capabilities: it is capable of
+ both direct and indirect rendering. For direct rendering, it can use DRI
+ modules from the libgl1-mesa-dri package to accelerate drawing.
+ .
+ This package does not include the OpenGL library itself, only the DRI
+ modules for accelerating direct rendering.
+ .
+ For a complete description of Mesa, please look at the
+ libgl1-mesa-swx11 package.
+
+Package: libgl1-mesa-dev
+Section: libs
+Architecture: any
+Depends: ${shlibs:Depends}, libc6-dev, mesa-common-dev (= ${source:Version}), libgl1-mesa-glx (=${binary:Version}), libgl1-mesa-dri (= ${binary:Version})
+Conflicts: libgl-dev, libgl1-mesa-dri-dev
+Replaces: libgl-dev, libgl1-mesa-dri-dev
+Provides: libgl-dev, libgl1-mesa-dri-dev
+Description: A free implementation of the OpenGL API -- GLX development support files
+ This version of Mesa provides GLX and DRI capabilities: it is capable of
+ both direct and indirect rendering. For direct rendering, it can use DRI
+ modules from the libgl1-mesa-dri package to accelerate drawing.
+ .
+ This package includes headers and static libraries for compiling
+ programs with Mesa.
+ .
+ For a complete description of Mesa, please look at the libgl1-mesa-swx11
+ package.
+
+Package: mesa-common-dev
+Section: devel
+Architecture: all
+Replaces: xlibmesa-gl-dev (<< 1:7), xlibosmesa-dev
+Description: Developer documentation for Mesa
+ This package includes the specifications for the Mesa-specific OpenGL
+ extensions, the complete set of release release notes and the
+ development header files common to all Mesa packages.
+
+Package: libosmesa6
+Section: libs
+Architecture: any
+Depends: ${shlibs:Depends}
+Description: Mesa Off-screen rendering extension
+ OSmesa is a Mesa extension that allows programs to render to an
+ off-screen buffer using the OpenGL API without having to create a
+ rendering context on an X Server. It uses a pure software renderer.
+ .
+ This package provides both 16-bit and 32-bit versions of the off-screen
+ renderer which do not require external libraries to work.
+
+Package: libosmesa6-dev
+Section: devel
+Architecture: any
+Depends: libosmesa6 (= ${binary:Version}), libgl1-mesa-swx11-dev (= ${binary:Version})
+Conflicts: xlibosmesa-dev, libosmesa4-dev, libosmesa-dev
+Replaces: xlibosmesa-dev, libosmesa-dev
+Provides: xlibosmesa-dev, libosmesa-dev
+Description: Mesa Off-screen rendering extension -- development support files
+ This package provides the required environment for developing programs
+ that use the off-screen rendering extension of Mesa.
+ .
+ For more information on OSmesa see the libosmesa6 package.
+
+Package: libglu1-mesa
+Section: libs
+Architecture: any
+Depends: ${shlibs:Depends}, libgl1-mesa-glx | libgl1
+Provides: libglu1
+Conflicts: mesag3 (<< 5.0.0-1), xlibmesa3, libglu1
+Replaces: libglu1
+Description: The OpenGL utility library (GLU)
+ GLU offers simple interfaces for building mipmaps; checking for the
+ presence of extensions in the OpenGL (or other libraries which follow
+ the same conventions for advertising extensions); drawing
+ piecewise-linear curves, NURBS, quadrics and other primitives
+ (including, but not limited to, teapots); tesselating surfaces; setting
+ up projection matrices and unprojecting screen coordinates to world
+ coordinates.
+ .
+ On Linux, this library is also known as libGLU or libGLU.so.1.
+ .
+ This package provides the SGI implementation of GLU shipped with the
+ Mesa package (ergo the "-mesa" suffix).
+
+Package: libglu1-mesa-dev
+Section: libdevel
+Architecture: any
+Depends: ${shlibs:Depends}, libglu1-mesa (= ${binary:Version}), libgl1-mesa-dev | libgl-dev
+Provides: libglu-dev, xlibmesa-glu-dev
+Conflicts: mesag-dev (<< 5.0.0-1), mesa-glide2-dev (<< 5.0.0-1), mesag3+ggi-dev (<< 5.0.0-1), xlibmesa-dev
+Replaces: libglu-dev
+Description: The OpenGL utility library -- development support files
+ Includes headers and static libraries for compiling programs with GLU.
+ .
+ For a complete description of GLU, please look at the libglu1-mesa
+ package.
+
+Package: mesa-swx11-source
+Section: libdevel
+Architecture: all
+Description: Mesa software rasteriser source -- development support files
+ This package contains the source to the Mesa software rasteriser, which
+ implements all of Mesa's GL support in software. It powers the X11 and
+ X server backends (assuming unaccelerated indirect). This package is
+ provided mainly for modular X servers which support GL, and need the
+ software rasteriser source to build the GLcore module for unaccelerated
+ indirect rendering.
+
+# vim: tw=0
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 00000000000..1a07b1d9247
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,33 @@
+This package was debianized by Thierry Reding on
+Sat, 14 Oct 2006 02:01:12 +0200.
+
+It was downloaded from http://mesa3d.org/download.html.
+
+Upstream Author: Brian Paul
+
+License:
+
+ Copyright (C) 1999-2005 Brian Paul All Rights Reserved.
+
+ Permission is hereby granted, free of charge, to any person obtaining a
+ copy of this software and associated documentation files (the "Software"),
+ to deal in the Software without restriction, including without limitation
+ the rights to use, copy, modify, merge, publish, distribute, sublicense,
+ and/or sell copies of the Software, and to permit persons to whom the
+ Software is furnished to do so, subject to the following conditions:
+
+ The above copyright notice and this permission notice shall be included
+ in all copies or substantial portions of the Software.
+
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
+ OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
+ BRIAN PAUL BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
+ AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
+ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+------------------------------------------------------------------------------
+
+The Debian packaging is (C) 2006, Thierry Reding and
+is licensed under the GPL, see `/usr/share/common-licenses/GPL'.
+
diff --git a/debian/libgl1-mesa-dev.install b/debian/libgl1-mesa-dev.install
new file mode 100644
index 00000000000..c892278267c
--- /dev/null
+++ b/debian/libgl1-mesa-dev.install
@@ -0,0 +1,2 @@
+usr/include/GL/glx*.h
+usr/lib/libGL.so
diff --git a/debian/libgl1-mesa-dri.install b/debian/libgl1-mesa-dri.install
new file mode 100644
index 00000000000..55500c81209
--- /dev/null
+++ b/debian/libgl1-mesa-dri.install
@@ -0,0 +1 @@
+usr/lib/dri/*.so
diff --git a/debian/libgl1-mesa-glx.install b/debian/libgl1-mesa-glx.install
new file mode 100644
index 00000000000..3fc3ba6696e
--- /dev/null
+++ b/debian/libgl1-mesa-glx.install
@@ -0,0 +1 @@
+usr/lib/libGL.so.1*
diff --git a/debian/libgl1-mesa-swx11-dbg.install b/debian/libgl1-mesa-swx11-dbg.install
new file mode 100644
index 00000000000..e69de29bb2d
diff --git a/debian/libgl1-mesa-swx11-dev.install b/debian/libgl1-mesa-swx11-dev.install
new file mode 100644
index 00000000000..e69de29bb2d
diff --git a/debian/libgl1-mesa-swx11.install b/debian/libgl1-mesa-swx11.install
new file mode 100644
index 00000000000..e69de29bb2d
diff --git a/debian/libglu1-mesa-dev.install b/debian/libglu1-mesa-dev.install
new file mode 100644
index 00000000000..f8973bf1d69
--- /dev/null
+++ b/debian/libglu1-mesa-dev.install
@@ -0,0 +1,2 @@
+usr/include/GL/glu.h
+usr/include/GL/glu_mangle.h
diff --git a/debian/libglu1-mesa.install b/debian/libglu1-mesa.install
new file mode 100644
index 00000000000..d252083d81e
--- /dev/null
+++ b/debian/libglu1-mesa.install
@@ -0,0 +1 @@
+usr/lib/libGLU.so.1*
diff --git a/debian/libosmesa6-dev.install b/debian/libosmesa6-dev.install
new file mode 100644
index 00000000000..e69de29bb2d
diff --git a/debian/libosmesa6.install b/debian/libosmesa6.install
new file mode 100644
index 00000000000..e69de29bb2d
diff --git a/debian/mesa-common-dev.install b/debian/mesa-common-dev.install
new file mode 100644
index 00000000000..e69de29bb2d
diff --git a/debian/mesa-swx11-source.install b/debian/mesa-swx11-source.install
new file mode 100644
index 00000000000..e69de29bb2d
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 00000000000..90e176e0b83
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,93 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+# Sample debian/rules that uses debhelper.
+# This file was originally written by Joey Hess and Craig Small.
+# As a special exception, when this file is copied by dh-make into a
+# dh-make output file, you may use that output file without restriction.
+# This special exception was added by Craig Small in version 0.37 of dh-make.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+CFLAGS = -Wall -g
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+ CFLAGS += -O0
+else
+ CFLAGS += -O2
+endif
+ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
+ INSTALL_PROGRAM += -s
+endif
+
+DEB_HOST_ARCH ?= $(shell dpkg-architecture -qDEB_HOST_ARCH)
+DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
+DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+DEB_BUILD_DIR ?= $(CURDIR)/obj-$(DEB_BUILD_GNU_TYPE)
+
+STAMPDIR = debian/stamp
+
+CONFIGS = debian \
+ debian-dri
+
+STAMP = $(STAMPDIR)/$(DEB_BUILD_GNU_TYPE)-
+BUILD_STAMPS = $(addprefix $(STAMP)-build-, $(CONFIGS))
+INSTALL_STAMPS = $(addprefix $(STAMP)-install-, $(CONFIGS))
+
+debian/stamp:
+ dh_testdir
+ mkdir -p debian/stamp
+
+build: debian/stamp $(BUILD_STAMPS)
+$(STAMP)-build-%:
+ dh_testdir
+ mkdir -p $(DEB_BUILD_DIR)/$*
+ find $(CURDIR)/* -maxdepth 0 -not -path '$(DEB_BUILD_DIR)*' | xargs cp -rl -t $(DEB_BUILD_DIR)/$*
+ ln -s $* $(DEB_BUILD_DIR)/$*/configs/current
+ cd $(DEB_BUILD_DIR)/$* && $(MAKE)
+ touch $@
+
+pre-install:
+ dh_testdir
+ dh_testroot
+ dh_clean -k --exclude ./Makefile.orig
+ dh_installdirs
+
+install: build pre-install $(INSTALL_STAMPS)
+
+$(STAMP)-install-%:
+ # Add here commands to install the package into debian/tmp
+ cd $(DEB_BUILD_DIR)/$* && $(MAKE) install INSTALL_DIR=$(CURDIR)/debian/tmp/usr
+
+clean:
+ dh_testdir
+ dh_testroot
+ rm -rf $(DEB_BUILD_DIR) debian/stamp
+ dh_clean --exclude ./Makefile.orig
+
+# Build architecture-independent files here.
+binary-indep: build install
+# We have nothing to do by default.
+
+# Build architecture-dependent files here.
+binary-arch: build install
+ dh_testdir
+ dh_testroot
+ dh_installchangelogs
+ dh_installdocs
+ dh_installexamples
+ dh_install --sourcedir=debian/tmp --list-missing
+ dh_installman
+ dh_link
+ dh_strip
+ dh_compress
+ dh_fixperms
+ dh_makeshlibs
+ dh_installdeb
+ dh_shlibdeps
+ dh_gencontrol
+ dh_md5sums
+ dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install configure
+
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 00000000000..75441ad9de1
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,2 @@
+version=3
+http://sf.net/mesa3d/MesaLib-(.*)\.tar\.gz
--
cgit v1.2.3
From d29244d8720c95f9e9869a51360902132b4b9c7e Mon Sep 17 00:00:00 2001
From: Thierry Reding
Date: Sat, 14 Oct 2006 15:11:31 +0000
Subject: Add OSMesa configurations and made fixed several issues here and
there.
---
configs/debian | 3 +++
configs/debian-dri-common | 7 +++++--
configs/debian-osmesa16 | 15 +++++++++++++++
configs/debian-osmesa16-static | 7 +++++++
configs/debian-osmesa32 | 15 +++++++++++++++
configs/debian-osmesa32-static | 7 +++++++
configs/debian-static | 6 ++++++
debian/libglu1-mesa-dev.install | 1 +
debian/mesa-common-dev.install | 4 ++++
debian/rules | 15 ++++++++++-----
10 files changed, 73 insertions(+), 7 deletions(-)
create mode 100644 configs/debian-osmesa16
create mode 100644 configs/debian-osmesa16-static
create mode 100644 configs/debian-osmesa32
create mode 100644 configs/debian-osmesa32-static
create mode 100644 configs/debian-static
(limited to 'debian')
diff --git a/configs/debian b/configs/debian
index 5b3b349a416..0a50109402f 100644
--- a/configs/debian
+++ b/configs/debian
@@ -3,3 +3,6 @@ include $(TOP)/configs/linux
CONFIG_NAME = debian
+override SRC_DIRS = mesa glu
+override PROGRAM_DIRS =
+
diff --git a/configs/debian-dri-common b/configs/debian-dri-common
index 4069e2c4070..ef2cebd748d 100644
--- a/configs/debian-dri-common
+++ b/configs/debian-dri-common
@@ -2,7 +2,10 @@ include $(TOP)/configs/debian-common
CONFIG_NAME = debian-dri-common
-DRI_DRIVER_INSTALL_DIR = $(INSTALL_DIR)/lib/dri
-DRI_DRIVER_SEARCH_DIR = /usr/lib/dri
+override SRC_DIRS = glx/x11 mesa
+override PROGRAM_DIRS =
+
+override DRI_DRIVER_INSTALL_DIR = $(INSTALL_DIR)/lib/dri
+override DRI_DRIVER_SEARCH_DIR = /usr/lib/dri
diff --git a/configs/debian-osmesa16 b/configs/debian-osmesa16
new file mode 100644
index 00000000000..93b4cdfc78d
--- /dev/null
+++ b/configs/debian-osmesa16
@@ -0,0 +1,15 @@
+include $(TOP)/configs/debian-common
+
+CONFIG_NAME = debian-osmesa16
+
+DEFINES += -DCHAN_BITS=16 -DDEFAULT_SOFTWARE_DEPTH_BITS=31
+
+override OSMESA_LIB = OSMesa16
+override OSMESA_LIB_NAME = lib$(OSMESA_LIB).so
+
+override SRC_DIRS = mesa glu
+override DRIVER_DIRS = osmesa
+override PROGRAM_DIRS =
+
+override APP_LIB_DEPS = -lOSMesa16
+
diff --git a/configs/debian-osmesa16-static b/configs/debian-osmesa16-static
new file mode 100644
index 00000000000..3057db7c2fa
--- /dev/null
+++ b/configs/debian-osmesa16-static
@@ -0,0 +1,7 @@
+include $(TOP)/configs/debian-static
+include $(TOP)/configs/debian-osmesa16
+
+CONFIG_NAME = debian-osmesa16-static
+
+override OSMESA_LIB_NAME = lib$(OSMESA_LIB).a
+
diff --git a/configs/debian-osmesa32 b/configs/debian-osmesa32
new file mode 100644
index 00000000000..5653c3b3313
--- /dev/null
+++ b/configs/debian-osmesa32
@@ -0,0 +1,15 @@
+include $(TOP)/configs/debian-common
+
+CONFIG_NAME = debian-osmesa32
+
+DEFINES += -DCHAN_BITS=32 -DDEFAULT_SOFTWARE_DEPTH_BITS=31
+
+override OSMESA_LIB = OSMesa32
+override OSMESA_LIB_NAME = lib$(OSMESA_LIB).so
+
+override SRC_DIRS = mesa glu
+override DRIVER_DIRS = osmesa
+override PROGRAM_DIRS =
+
+override APP_LIB_DEPS = -lOSMesa32
+
diff --git a/configs/debian-osmesa32-static b/configs/debian-osmesa32-static
new file mode 100644
index 00000000000..f970db81b6a
--- /dev/null
+++ b/configs/debian-osmesa32-static
@@ -0,0 +1,7 @@
+include $(TOP)/configs/debian-static
+include $(TOP)/configs/debian-osmesa32
+
+CONFIG_NAME = debian-osmesa32-static
+
+override OSMESA_LIB_NAME = lib$(OSMESA_LIB).a
+
diff --git a/configs/debian-static b/configs/debian-static
new file mode 100644
index 00000000000..202b8b0788c
--- /dev/null
+++ b/configs/debian-static
@@ -0,0 +1,6 @@
+include $(TOP)/configs/debian-common
+
+CONFIG_NAME = debian-static
+
+override MKLIB_OPTIONS = -static
+
diff --git a/debian/libglu1-mesa-dev.install b/debian/libglu1-mesa-dev.install
index f8973bf1d69..abada7c1aec 100644
--- a/debian/libglu1-mesa-dev.install
+++ b/debian/libglu1-mesa-dev.install
@@ -1,2 +1,3 @@
usr/include/GL/glu.h
usr/include/GL/glu_mangle.h
+usr/lib/libGLU.so
diff --git a/debian/mesa-common-dev.install b/debian/mesa-common-dev.install
index e69de29bb2d..7c104927712 100644
--- a/debian/mesa-common-dev.install
+++ b/debian/mesa-common-dev.install
@@ -0,0 +1,4 @@
+usr/include/GL/gl.h
+usr/include/GL/glext.h
+usr/include/GL/osmesa.h
+usr/include/GL/gl_mangle.h
diff --git a/debian/rules b/debian/rules
index 90e176e0b83..093efc14a90 100755
--- a/debian/rules
+++ b/debian/rules
@@ -26,10 +26,15 @@ DEB_BUILD_DIR ?= $(CURDIR)/obj-$(DEB_BUILD_GNU_TYPE)
STAMPDIR = debian/stamp
+# build the following configurations
CONFIGS = debian \
- debian-dri
+ debian-dri \
+ debian-osmesa16 \
+ debian-osmesa16-static \
+ debian-osmesa32 \
+ debian-osmesa32-static
-STAMP = $(STAMPDIR)/$(DEB_BUILD_GNU_TYPE)-
+STAMP = $(STAMPDIR)/$(DEB_BUILD_GNU_TYPE)
BUILD_STAMPS = $(addprefix $(STAMP)-build-, $(CONFIGS))
INSTALL_STAMPS = $(addprefix $(STAMP)-install-, $(CONFIGS))
@@ -42,14 +47,14 @@ $(STAMP)-build-%:
dh_testdir
mkdir -p $(DEB_BUILD_DIR)/$*
find $(CURDIR)/* -maxdepth 0 -not -path '$(DEB_BUILD_DIR)*' | xargs cp -rl -t $(DEB_BUILD_DIR)/$*
- ln -s $* $(DEB_BUILD_DIR)/$*/configs/current
+ ln -sf $* $(DEB_BUILD_DIR)/$*/configs/current
cd $(DEB_BUILD_DIR)/$* && $(MAKE)
touch $@
pre-install:
dh_testdir
dh_testroot
- dh_clean -k --exclude ./Makefile.orig
+ dh_clean -k --exclude ./Makefile.orig --exclude configs/CVS/Root.bak
dh_installdirs
install: build pre-install $(INSTALL_STAMPS)
@@ -62,7 +67,7 @@ clean:
dh_testdir
dh_testroot
rm -rf $(DEB_BUILD_DIR) debian/stamp
- dh_clean --exclude ./Makefile.orig
+ dh_clean --exclude ./Makefile.orig --exclude configs/CVS/Root.bak
# Build architecture-independent files here.
binary-indep: build install
--
cgit v1.2.3
From 32c7138d86f1c4823ff193e4e4fdc0abe435fd32 Mon Sep 17 00:00:00 2001
From: Thierry Reding
Date: Sat, 14 Oct 2006 15:42:59 +0000
Subject: Move the debian/debian-dri configurations to
debian-default/debian-dri-default respectively, and use debian/debian-dri to
choose an architecture specific configuration.
---
configs/debian | 12 ++++++------
configs/debian-default | 8 ++++++++
configs/debian-dri | 9 ++++++---
configs/debian-dri-default | 5 +++++
debian/rules | 5 +++--
5 files changed, 28 insertions(+), 11 deletions(-)
create mode 100644 configs/debian-default
create mode 100644 configs/debian-dri-default
(limited to 'debian')
diff --git a/configs/debian b/configs/debian
index 0a50109402f..b1437e2f048 100644
--- a/configs/debian
+++ b/configs/debian
@@ -1,8 +1,8 @@
-include $(TOP)/configs/debian-common
-include $(TOP)/configs/linux
+#DEB_BUILD_ARCH ?= $(shell dpkg-architecture -qDEB_BUILD_ARCH)
-CONFIG_NAME = debian
-
-override SRC_DIRS = mesa glu
-override PROGRAM_DIRS =
+ifneq ($(wildcard $(TOP)/configs/debian-$(DEB_BUILD_ARCH)),)
+ include $(TOP)/configs/debian-$(DEB_BUILD_ARCH)
+else
+ include $(TOP)/configs/debian-any
+endif
diff --git a/configs/debian-default b/configs/debian-default
new file mode 100644
index 00000000000..0a50109402f
--- /dev/null
+++ b/configs/debian-default
@@ -0,0 +1,8 @@
+include $(TOP)/configs/debian-common
+include $(TOP)/configs/linux
+
+CONFIG_NAME = debian
+
+override SRC_DIRS = mesa glu
+override PROGRAM_DIRS =
+
diff --git a/configs/debian-dri b/configs/debian-dri
index db8c74e68bb..57034200667 100644
--- a/configs/debian-dri
+++ b/configs/debian-dri
@@ -1,5 +1,8 @@
-include $(TOP)/configs/debian-dri-common
-include $(TOP)/configs/linux-dri
+#DEB_BUILD_ARCH ?= $(shell dpkg-architecture -qDEB_BUILD_ARCH)
-CONFIG_NAME = debian-dri
+ifneq ($(wildcard $(TOP)/configs/debian-dri-$(DEB_BUILD_ARCH)),)
+ include $(TOP)/configs/debian-dri-$(DEB_BUILD_ARCH)
+else
+ include $(TOP)/configs/debian-dri-any
+endif
diff --git a/configs/debian-dri-default b/configs/debian-dri-default
new file mode 100644
index 00000000000..db8c74e68bb
--- /dev/null
+++ b/configs/debian-dri-default
@@ -0,0 +1,5 @@
+include $(TOP)/configs/debian-dri-common
+include $(TOP)/configs/linux-dri
+
+CONFIG_NAME = debian-dri
+
diff --git a/debian/rules b/debian/rules
index 093efc14a90..aa5299b36ef 100755
--- a/debian/rules
+++ b/debian/rules
@@ -19,11 +19,12 @@ ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
INSTALL_PROGRAM += -s
endif
-DEB_HOST_ARCH ?= $(shell dpkg-architecture -qDEB_HOST_ARCH)
-DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
+DEB_BUILD_ARCH ?= $(shell dpkg-architecture -qDEB_BUILD_ARCH)
DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
DEB_BUILD_DIR ?= $(CURDIR)/obj-$(DEB_BUILD_GNU_TYPE)
+export DEB_BUILD_ARCH
+
STAMPDIR = debian/stamp
# build the following configurations
--
cgit v1.2.3
From 6e318e2cd1a4b9fac72376702fec61f92e57ab40 Mon Sep 17 00:00:00 2001
From: Thierry Reding
Date: Sat, 14 Oct 2006 17:04:02 +0000
Subject: Base the Debian OSMesa configurations on linux-osmesa* provided
upstream.
Add a configuration for building a static version of OSMesa with 32 bits per
color channel.
---
configs/debian-common | 4 ----
configs/debian-osmesa | 10 ++++++++++
configs/debian-osmesa16 | 13 +------------
configs/debian-osmesa16-static | 6 ++----
configs/debian-osmesa32 | 13 +------------
configs/debian-osmesa32-static | 6 ++----
configs/linux-osmesa32-static | 28 ++++++++++++++++++++++++++++
debian/rules | 1 +
8 files changed, 45 insertions(+), 36 deletions(-)
create mode 100644 configs/debian-osmesa
create mode 100644 configs/linux-osmesa32-static
(limited to 'debian')
diff --git a/configs/debian-common b/configs/debian-common
index c45c42d75c3..98796f6cf9f 100644
--- a/configs/debian-common
+++ b/configs/debian-common
@@ -1,10 +1,6 @@
# Override defaults set by the Mesa configuration.
-include $(TOP)/configs/default
-
CONFIG_NAME = debian-common
-override OPT_FLAGS = -O2 -g
-
# vim: ft=make
diff --git a/configs/debian-osmesa b/configs/debian-osmesa
new file mode 100644
index 00000000000..273f5a2eabf
--- /dev/null
+++ b/configs/debian-osmesa
@@ -0,0 +1,10 @@
+# Configuration for building OSMesa on Debian.
+
+include $(TOP)/configs/debian-common
+include $(TOP)/configs/linux-osmesa
+
+CONFIG_NAME = debian-osmesa
+
+# vim: ft=make
+
+
diff --git a/configs/debian-osmesa16 b/configs/debian-osmesa16
index b87178785c0..32747fac926 100644
--- a/configs/debian-osmesa16
+++ b/configs/debian-osmesa16
@@ -2,20 +2,9 @@
# channel.
include $(TOP)/configs/debian-common
-include $(TOP)/configs/linux-osmesa
+include $(TOP)/configs/linux-osmesa16
CONFIG_NAME = debian-osmesa16
-DEFINES += -DCHAN_BITS=16 -DDEFAULT_SOFTWARE_DEPTH_BITS=31
-
-override OSMESA_LIB = OSMesa16
-override OSMESA_LIB_NAME = lib$(OSMESA_LIB).so
-
-override SRC_DIRS = mesa glu
-override DRIVER_DIRS = osmesa
-override PROGRAM_DIRS =
-
-override APP_LIB_DEPS = -lOSMesa16
-
# vim: ft=make
diff --git a/configs/debian-osmesa16-static b/configs/debian-osmesa16-static
index eb507a20a76..78b202c72cb 100644
--- a/configs/debian-osmesa16-static
+++ b/configs/debian-osmesa16-static
@@ -1,12 +1,10 @@
# Configuration for building a static version of OSMesa with support for 16
# bits per color channel.
-include $(TOP)/configs/debian-static
-include $(TOP)/configs/debian-osmesa16
+include $(TOP)/configs/debian-common
+include $(TOP)/configs/linux-osmesa16-static
CONFIG_NAME = debian-osmesa16-static
-override OSMESA_LIB_NAME = lib$(OSMESA_LIB).a
-
# vim: ft=make
diff --git a/configs/debian-osmesa32 b/configs/debian-osmesa32
index a5d5216d6d4..27171b87e3a 100644
--- a/configs/debian-osmesa32
+++ b/configs/debian-osmesa32
@@ -2,20 +2,9 @@
# channel.
include $(TOP)/configs/debian-common
-include $(TOP)/configs/linux-osmesa
+include $(TOP)/configs/linux-osmesa32
CONFIG_NAME = debian-osmesa32
-DEFINES += -DCHAN_BITS=32 -DDEFAULT_SOFTWARE_DEPTH_BITS=31
-
-override OSMESA_LIB = OSMesa32
-override OSMESA_LIB_NAME = lib$(OSMESA_LIB).so
-
-override SRC_DIRS = mesa glu
-override DRIVER_DIRS = osmesa
-override PROGRAM_DIRS =
-
-override APP_LIB_DEPS = -lOSMesa32
-
# vim: ft=make
diff --git a/configs/debian-osmesa32-static b/configs/debian-osmesa32-static
index 21468edbf6f..6cf3a03ae42 100644
--- a/configs/debian-osmesa32-static
+++ b/configs/debian-osmesa32-static
@@ -1,12 +1,10 @@
# Configuration for building a static version of OSMesa with support for 32
# bits per color channel.
-include $(TOP)/configs/debian-static
-include $(TOP)/configs/debian-osmesa32
+include $(TOP)/configs/debian-common
+include $(TOP)/configs/linux-osmesa32-static
CONFIG_NAME = debian-osmesa32-static
-override OSMESA_LIB_NAME = lib$(OSMESA_LIB).a
-
# vim: ft=make
diff --git a/configs/linux-osmesa32-static b/configs/linux-osmesa32-static
new file mode 100644
index 00000000000..6db8bc02370
--- /dev/null
+++ b/configs/linux-osmesa32-static
@@ -0,0 +1,28 @@
+# Configuration for 32 bits/channel OSMesa library on Linux
+
+include $(TOP)/configs/default
+
+CONFIG_NAME = linux-osmesa32-static
+
+# Compiler and flags
+CC = gcc
+CXX = g++
+CFLAGS = -O3 -ansi -pedantic -ffast-math -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE -DUSE_XSHM -DPTHREADS -I/usr/X11R6/include -DCHAN_BITS=32 -DDEFAULT_SOFTWARE_DEPTH_BITS=31
+CXXFLAGS = -O3 -ansi -pedantic -ffast-math -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE
+MKLIB_OPTIONS = -static
+
+
+# Library names
+OSMESA_LIB = OSMesa32
+OSMESA_LIB_NAME = libOSMesa32.a
+
+
+# Directories
+SRC_DIRS = mesa glu
+DRIVER_DIRS = osmesa
+PROGRAM_DIRS =
+
+
+# Dependencies
+OSMESA_LIB_DEPS = -lm -lpthread
+APP_LIB_DEPS = -lOSMesa32
diff --git a/debian/rules b/debian/rules
index aa5299b36ef..0b0e60f3438 100755
--- a/debian/rules
+++ b/debian/rules
@@ -30,6 +30,7 @@ STAMPDIR = debian/stamp
# build the following configurations
CONFIGS = debian \
debian-dri \
+ debian-osmesa \
debian-osmesa16 \
debian-osmesa16-static \
debian-osmesa32 \
--
cgit v1.2.3
From b1f8b49e8b17cffb68d8829ba7562479933bf70c Mon Sep 17 00:00:00 2001
From: Thierry Reding
Date: Sun, 15 Oct 2006 00:42:25 +0000
Subject: Add build-dependency on quilt.
Remove shlibs:Depends substitution variable from -dev packages, which doesn't
make sense.
---
debian/control | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
(limited to 'debian')
diff --git a/debian/control b/debian/control
index ed1565ebaac..b24f7b6f928 100644
--- a/debian/control
+++ b/debian/control
@@ -4,7 +4,7 @@ Priority: optional
Maintainer: Debian X Strike Force
Uploaders: Thierry Reding
Standards-Version: 3.7.2
-Build-Depends: debhelper (>= 5)
+Build-Depends: debhelper (>= 5), quilt
Package: libgl1-mesa-swx11
Section: libs
@@ -99,7 +99,7 @@ Description: A free implementation of the OpenGL API -- DRI modules
Package: libgl1-mesa-dev
Section: libs
Architecture: any
-Depends: ${shlibs:Depends}, libc6-dev, mesa-common-dev (= ${source:Version}), libgl1-mesa-glx (=${binary:Version}), libgl1-mesa-dri (= ${binary:Version})
+Depends: libc6-dev, mesa-common-dev (= ${source:Version}), libgl1-mesa-glx (=${binary:Version}), libgl1-mesa-dri (= ${binary:Version})
Conflicts: libgl-dev, libgl1-mesa-dri-dev
Replaces: libgl-dev, libgl1-mesa-dri-dev
Provides: libgl-dev, libgl1-mesa-dri-dev
@@ -172,7 +172,7 @@ Description: The OpenGL utility library (GLU)
Package: libglu1-mesa-dev
Section: libdevel
Architecture: any
-Depends: ${shlibs:Depends}, libglu1-mesa (= ${binary:Version}), libgl1-mesa-dev | libgl-dev
+Depends: libglu1-mesa (= ${binary:Version}), libgl1-mesa-dev | libgl-dev
Provides: libglu-dev, xlibmesa-glu-dev
Conflicts: mesag-dev (<< 5.0.0-1), mesa-glide2-dev (<< 5.0.0-1), mesag3+ggi-dev (<< 5.0.0-1), xlibmesa-dev
Replaces: libglu-dev
--
cgit v1.2.3
From 8d02f3c68a1852de6bfe8c0b58c325224fef9743 Mon Sep 17 00:00:00 2001
From: Thierry Reding
Date: Sun, 15 Oct 2006 00:49:41 +0000
Subject: Add patch to fix upstream build system to correctly install libOSMesa
and variants. This patch also fixes the build system not to install libGL if
only the OSMesa library is built.
Update *.install files to install more files. Pretty much everything except
debugging and optimized libraries is now built and installed.
Enable building static libraries for inclusion in the -dev packages.
---
configs/debian-dri-default | 3 ++-
configs/debian-osmesa | 3 +++
configs/debian-osmesa16 | 2 ++
configs/debian-osmesa16-static | 2 ++
configs/debian-osmesa32 | 2 ++
configs/debian-osmesa32-static | 2 ++
configs/debian-static | 8 ++++----
debian/libgl1-mesa-dri.install | 2 +-
debian/libgl1-mesa-glx.install | 2 +-
debian/libgl1-mesa-swx11-dev.install | 3 +++
debian/libgl1-mesa-swx11.install | 2 ++
debian/libglu1-mesa-dev.install | 1 +
debian/libglu1-mesa.install | 2 +-
debian/libosmesa6-dev.install | 4 ++++
debian/libosmesa6.install | 2 ++
debian/patches/01_fix-makefile.patch | 15 +++++++++++++++
debian/patches/series | 1 +
debian/rules | 14 ++++++++++----
18 files changed, 58 insertions(+), 12 deletions(-)
create mode 100644 debian/patches/01_fix-makefile.patch
create mode 100644 debian/patches/series
(limited to 'debian')
diff --git a/configs/debian-dri-default b/configs/debian-dri-default
index 553dfcecd1a..ba4ffd92089 100644
--- a/configs/debian-dri-default
+++ b/configs/debian-dri-default
@@ -4,10 +4,11 @@ include $(TOP)/configs/debian-common
CONFIG_NAME = debian-dri-default
+override LIB_DIR = libglx
override SRC_DIRS = glx/x11 mesa
override PROGRAM_DIRS =
-override DRI_DRIVER_INSTALL_DIR = $(INSTALL_DIR)/lib/dri
+override DRI_DRIVER_INSTALL_DIR = $(INSTALL_DIR)/$(LIB_DIR)/dri
override DRI_DRIVER_SEARCH_DIR = /usr/lib/dri
# vim: ft=make
diff --git a/configs/debian-osmesa b/configs/debian-osmesa
index 273f5a2eabf..a639d59895c 100644
--- a/configs/debian-osmesa
+++ b/configs/debian-osmesa
@@ -5,6 +5,9 @@ include $(TOP)/configs/linux-osmesa
CONFIG_NAME = debian-osmesa
+override SRC_DIRS = mesa
+override PROGRAM_DIRS =
+
# vim: ft=make
diff --git a/configs/debian-osmesa16 b/configs/debian-osmesa16
index 32747fac926..3019d49fa4e 100644
--- a/configs/debian-osmesa16
+++ b/configs/debian-osmesa16
@@ -6,5 +6,7 @@ include $(TOP)/configs/linux-osmesa16
CONFIG_NAME = debian-osmesa16
+override SRC_DIRS = mesa
+
# vim: ft=make
diff --git a/configs/debian-osmesa16-static b/configs/debian-osmesa16-static
index 78b202c72cb..74396404595 100644
--- a/configs/debian-osmesa16-static
+++ b/configs/debian-osmesa16-static
@@ -6,5 +6,7 @@ include $(TOP)/configs/linux-osmesa16-static
CONFIG_NAME = debian-osmesa16-static
+override SRC_DIRS = mesa
+
# vim: ft=make
diff --git a/configs/debian-osmesa32 b/configs/debian-osmesa32
index 27171b87e3a..468045bd438 100644
--- a/configs/debian-osmesa32
+++ b/configs/debian-osmesa32
@@ -6,5 +6,7 @@ include $(TOP)/configs/linux-osmesa32
CONFIG_NAME = debian-osmesa32
+override SRC_DIRS = mesa
+
# vim: ft=make
diff --git a/configs/debian-osmesa32-static b/configs/debian-osmesa32-static
index 6cf3a03ae42..237a632b90d 100644
--- a/configs/debian-osmesa32-static
+++ b/configs/debian-osmesa32-static
@@ -6,5 +6,7 @@ include $(TOP)/configs/linux-osmesa32-static
CONFIG_NAME = debian-osmesa32-static
+override SRC_DIRS = mesa
+
# vim: ft=make
diff --git a/configs/debian-static b/configs/debian-static
index 4253b270f45..c3e7f05b030 100644
--- a/configs/debian-static
+++ b/configs/debian-static
@@ -1,12 +1,12 @@
-# Override options needed to build static versions of the libraries.
-#
-# This configuration cannot be used standalone.
+# Configuration for building static versions of the libraries.
include $(TOP)/configs/debian-common
+include $(TOP)/configs/linux-static
CONFIG_NAME = debian-static
-override MKLIB_OPTIONS = -static
+override SRC_DIRS = mesa glu
+override PROGRAM_DIRS =
# vim: ft=make
diff --git a/debian/libgl1-mesa-dri.install b/debian/libgl1-mesa-dri.install
index 55500c81209..f3e8ada53ac 100644
--- a/debian/libgl1-mesa-dri.install
+++ b/debian/libgl1-mesa-dri.install
@@ -1 +1 @@
-usr/lib/dri/*.so
+usr/libglx/dri/*.so usr/lib/dri
diff --git a/debian/libgl1-mesa-glx.install b/debian/libgl1-mesa-glx.install
index 3fc3ba6696e..270e569baa4 100644
--- a/debian/libgl1-mesa-glx.install
+++ b/debian/libgl1-mesa-glx.install
@@ -1 +1 @@
-usr/lib/libGL.so.1*
+usr/libglx/libGL.so.* usr/lib
diff --git a/debian/libgl1-mesa-swx11-dev.install b/debian/libgl1-mesa-swx11-dev.install
index e69de29bb2d..2258776adea 100644
--- a/debian/libgl1-mesa-swx11-dev.install
+++ b/debian/libgl1-mesa-swx11-dev.install
@@ -0,0 +1,3 @@
+usr/include/GL/glx*.h
+usr/lib/libGL.a
+usr/lib/libGL.so
diff --git a/debian/libgl1-mesa-swx11.install b/debian/libgl1-mesa-swx11.install
index e69de29bb2d..26237d51434 100644
--- a/debian/libgl1-mesa-swx11.install
+++ b/debian/libgl1-mesa-swx11.install
@@ -0,0 +1,2 @@
+usr/lib/libGL.so.*
+usr/lib/libOSMesa.*
diff --git a/debian/libglu1-mesa-dev.install b/debian/libglu1-mesa-dev.install
index abada7c1aec..78ac2b01eda 100644
--- a/debian/libglu1-mesa-dev.install
+++ b/debian/libglu1-mesa-dev.install
@@ -1,3 +1,4 @@
usr/include/GL/glu.h
usr/include/GL/glu_mangle.h
+usr/lib/libGLU.a
usr/lib/libGLU.so
diff --git a/debian/libglu1-mesa.install b/debian/libglu1-mesa.install
index d252083d81e..9ad0953c1ca 100644
--- a/debian/libglu1-mesa.install
+++ b/debian/libglu1-mesa.install
@@ -1 +1 @@
-usr/lib/libGLU.so.1*
+usr/lib/libGLU.so.*
diff --git a/debian/libosmesa6-dev.install b/debian/libosmesa6-dev.install
index e69de29bb2d..e92cc0d05bb 100644
--- a/debian/libosmesa6-dev.install
+++ b/debian/libosmesa6-dev.install
@@ -0,0 +1,4 @@
+usr/lib/libOSMesa16.a
+usr/lib/libOSMesa16.so
+usr/lib/libOSMesa32.a
+usr/lib/libOSMesa32.so
diff --git a/debian/libosmesa6.install b/debian/libosmesa6.install
index e69de29bb2d..dbf33f54a7d 100644
--- a/debian/libosmesa6.install
+++ b/debian/libosmesa6.install
@@ -0,0 +1,2 @@
+usr/lib/libOSMesa16.so.*
+usr/lib/libOSMesa32.so.*
diff --git a/debian/patches/01_fix-makefile.patch b/debian/patches/01_fix-makefile.patch
new file mode 100644
index 00000000000..f013c46e1c0
--- /dev/null
+++ b/debian/patches/01_fix-makefile.patch
@@ -0,0 +1,15 @@
+--- a/src/mesa/Makefile
++++ b/src/mesa/Makefile
+@@ -154,7 +154,11 @@
+ $(INSTALL) -d $(INSTALL_DIR)/include/GL
+ $(INSTALL) -d $(INSTALL_DIR)/$(LIB_DIR)
+ $(INSTALL) -m 644 $(TOP)/include/GL/*.h $(INSTALL_DIR)/include/GL
+- $(COPY_LIBS) $(TOP)/$(LIB_DIR)/libGL.* $(INSTALL_DIR)/$(LIB_DIR)
++ @if [ "${DRIVER_DIRS}" != "osmesa" ]; then \
++ $(COPY_LIBS) $(TOP)/$(LIB_DIR)/lib$(GL_LIB).* $(INSTALL_DIR)/$(LIB_DIR); \
++ else \
++ $(COPY_LIBS) $(TOP)/$(LIB_DIR)/lib$(OSMESA_LIB).* $(INSTALL_DIR)/$(LIB_DIR); \
++ fi
+ @if [ "${DRIVER_DIRS}" = "dri" ] ; then \
+ cd drivers/dri ; $(MAKE) install ; \
+ fi
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 00000000000..6840f95c944
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+01_fix-makefile.patch
diff --git a/debian/rules b/debian/rules
index 0b0e60f3438..966d25ed8b8 100755
--- a/debian/rules
+++ b/debian/rules
@@ -9,6 +9,9 @@
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
+QUILT_STAMPFN ?= debian/stamp/patch
+include /usr/share/quilt/quilt.make
+
CFLAGS = -Wall -g
ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
CFLAGS += -O0
@@ -34,7 +37,8 @@ CONFIGS = debian \
debian-osmesa16 \
debian-osmesa16-static \
debian-osmesa32 \
- debian-osmesa32-static
+ debian-osmesa32-static \
+ debian-static
STAMP = $(STAMPDIR)/$(DEB_BUILD_GNU_TYPE)
BUILD_STAMPS = $(addprefix $(STAMP)-build-, $(CONFIGS))
@@ -44,7 +48,7 @@ debian/stamp:
dh_testdir
mkdir -p debian/stamp
-build: debian/stamp $(BUILD_STAMPS)
+build: debian/stamp patch $(BUILD_STAMPS)
$(STAMP)-build-%:
dh_testdir
mkdir -p $(DEB_BUILD_DIR)/$*
@@ -57,15 +61,17 @@ pre-install:
dh_testdir
dh_testroot
dh_clean -k --exclude ./Makefile.orig --exclude configs/CVS/Root.bak
+ rm -rf $(INSTALL_STAMPS)
dh_installdirs
install: build pre-install $(INSTALL_STAMPS)
-$(STAMP)-install-%:
+$(STAMP)-install-%: $(STAMP)-build-%
# Add here commands to install the package into debian/tmp
cd $(DEB_BUILD_DIR)/$* && $(MAKE) install INSTALL_DIR=$(CURDIR)/debian/tmp/usr
+ touch $@
-clean:
+clean: unpatch
dh_testdir
dh_testroot
rm -rf $(DEB_BUILD_DIR) debian/stamp
--
cgit v1.2.3
From 8ef731bcd11af50e92fc1356532df44a80f7a4b0 Mon Sep 17 00:00:00 2001
From: Thierry Reding
Date: Sun, 15 Oct 2006 13:15:56 +0000
Subject: Add a patch (00_create-libdir) that fixes the upstream build system
to make sure the LIB_DIR is created or bail out.
Update the 01_fix-makefile patch to only install libGL/libOSMesa if they
exist. Don't make installation dependent on which drivers are built.
Build optimized versions of the swx11 libraries in addition to those that
should work on the least-capable supported processor for the given
architecture.
Have most configurations include debian-default instead of debian-common so
that INSTALL_DIR is correctly defined. debian-common can probably be dropped
anyway.
---
configs/debian | 9 +++------
configs/debian-any | 7 ++-----
configs/debian-arch | 13 +++++++++++++
configs/debian-default | 2 ++
configs/debian-dri | 12 ++++--------
configs/debian-dri-any | 7 ++-----
configs/debian-dri-arch | 13 +++++++++++++
configs/debian-dri-default | 7 +++----
configs/debian-i386 | 4 ++++
configs/debian-osmesa | 3 +--
configs/debian-osmesa16 | 2 +-
configs/debian-osmesa16-static | 2 +-
configs/debian-osmesa32 | 2 +-
configs/debian-osmesa32-static | 2 +-
configs/debian-static | 5 +----
debian/libgl1-mesa-dri.install | 2 +-
debian/libgl1-mesa-glx.install | 2 +-
debian/patches/00_create-libdir.patch | 11 +++++++++++
debian/patches/01_fix-makefile.patch | 7 ++++---
debian/patches/series | 1 +
debian/rules | 9 +++++++--
21 files changed, 77 insertions(+), 45 deletions(-)
create mode 100644 configs/debian-arch
create mode 100644 configs/debian-dri-arch
create mode 100644 debian/patches/00_create-libdir.patch
(limited to 'debian')
diff --git a/configs/debian b/configs/debian
index d6b972795e0..68b7a613288 100644
--- a/configs/debian
+++ b/configs/debian
@@ -1,10 +1,7 @@
-# Select the correct configuration depending on the build architecture.
+# Configuration for building Mesa on the build architecture.
-ifneq ($(wildcard $(TOP)/configs/debian-$(DEB_BUILD_ARCH)),)
- include $(TOP)/configs/debian-$(DEB_BUILD_ARCH)
-else
- include $(TOP)/configs/debian-any
-endif
+include $(TOP)/configs/debian-default
+include $(TOP)/configs/linux
CONFIG_NAME = debian
diff --git a/configs/debian-any b/configs/debian-any
index d9c11575559..a2846015ba1 100644
--- a/configs/debian-any
+++ b/configs/debian-any
@@ -1,8 +1,5 @@
-# Fallback configuration for building Mesa on architectures for which no
-# architecture-specific configuration is provided.
-
-include $(TOP)/configs/debian-default
-include $(TOP)/configs/linux
+# Chicken-out configuration for architectures where optimized builds are not
+# supported.
CONFIG_NAME = debian-any
diff --git a/configs/debian-arch b/configs/debian-arch
new file mode 100644
index 00000000000..a39163d45d7
--- /dev/null
+++ b/configs/debian-arch
@@ -0,0 +1,13 @@
+# Configuration for building a version of Mesa optimized for the build
+# architecture.
+
+ifneq ($(wildcard $(TOP)/configs/debian-$(DEB_BUILD_ARCH)),)
+ include $(TOP)/configs/debian-$(DEB_BUILD_ARCH)
+else
+ include $(TOP)/configs/debian-any
+endif
+
+CONFIG_NAME = debian-arch
+
+# vim: ft=make
+
diff --git a/configs/debian-default b/configs/debian-default
index aae6ce3ed98..8ae6b10c681 100644
--- a/configs/debian-default
+++ b/configs/debian-default
@@ -11,5 +11,7 @@ CONFIG_NAME = debian-default
override SRC_DIRS = mesa glu
override PROGRAM_DIRS =
+override INSTALL_DIR = $(DESTDIR)/usr
+
# vim: ft=make
diff --git a/configs/debian-dri b/configs/debian-dri
index a26595f1ca6..48d1fc6a4fb 100644
--- a/configs/debian-dri
+++ b/configs/debian-dri
@@ -1,11 +1,7 @@
-# Select the correct configuration for building the DRI drivers depending on
-# the build architecture.
-
-ifneq ($(wildcard $(TOP)/configs/debian-dri-$(DEB_BUILD_ARCH)),)
- include $(TOP)/configs/debian-dri-$(DEB_BUILD_ARCH)
-else
- include $(TOP)/configs/debian-dri-any
-endif
+# Configuration for building the DRI drivers on the build architecture.
+
+include $(TOP)/configs/debian-dri-default
+include $(TOP)/configs/linux-dri
CONFIG_NAME = debian-dri
diff --git a/configs/debian-dri-any b/configs/debian-dri-any
index 03056bd8bb3..f6a33821bc1 100644
--- a/configs/debian-dri-any
+++ b/configs/debian-dri-any
@@ -1,8 +1,5 @@
-# Fallback configuration for building the DRI drivers on architectures for
-# which no architecture-specific configuration is provided.
-
-include $(TOP)/configs/debian-dri-default
-include $(TOP)/configs/linux-dri
+# Chicken-out configuration for architectures where optimized builds are not
+# supported.
CONFIG_NAME = debian-dri-any
diff --git a/configs/debian-dri-arch b/configs/debian-dri-arch
new file mode 100644
index 00000000000..b5785409359
--- /dev/null
+++ b/configs/debian-dri-arch
@@ -0,0 +1,13 @@
+# Configuration for building a version of the DRI drivers optimized for the
+# build architecture.
+
+ifneq ($(wildcard $(TOP)/configs/debian-dri-$(DEB_BUILD_ARCH)),)
+ include $(TOP)/configs/debian-dri-$(DEB_BUILD_ARCH)
+else
+ include $(TOP)/configs/debian-dri-any
+endif
+
+CONFIG_NAME = debian-dri-arch
+
+# vim: ft=make
+
diff --git a/configs/debian-dri-default b/configs/debian-dri-default
index ba4ffd92089..22f4b63e536 100644
--- a/configs/debian-dri-default
+++ b/configs/debian-dri-default
@@ -1,14 +1,13 @@
# Override defaults for the DRI drivers build.
-include $(TOP)/configs/debian-common
+include $(TOP)/configs/debian-default
CONFIG_NAME = debian-dri-default
-override LIB_DIR = libglx
+override LIB_DIR = lib/glx
override SRC_DIRS = glx/x11 mesa
-override PROGRAM_DIRS =
-override DRI_DRIVER_INSTALL_DIR = $(INSTALL_DIR)/$(LIB_DIR)/dri
+override DRI_DRIVER_INSTALL_DIR = $(INSTALL_DIR)/lib/dri
override DRI_DRIVER_SEARCH_DIR = /usr/lib/dri
# vim: ft=make
diff --git a/configs/debian-i386 b/configs/debian-i386
index 1706dabd786..9d56e4a4f4f 100644
--- a/configs/debian-i386
+++ b/configs/debian-i386
@@ -5,5 +5,9 @@ include $(TOP)/configs/linux-x86
CONFIG_NAME = debian-i386
+OPT_FLAGS += -march=i686
+
+override LIB_DIR = lib/i686/cmov
+
# vim: ft=make
diff --git a/configs/debian-osmesa b/configs/debian-osmesa
index a639d59895c..ebace88c7b1 100644
--- a/configs/debian-osmesa
+++ b/configs/debian-osmesa
@@ -1,12 +1,11 @@
# Configuration for building OSMesa on Debian.
-include $(TOP)/configs/debian-common
+include $(TOP)/configs/debian-default
include $(TOP)/configs/linux-osmesa
CONFIG_NAME = debian-osmesa
override SRC_DIRS = mesa
-override PROGRAM_DIRS =
# vim: ft=make
diff --git a/configs/debian-osmesa16 b/configs/debian-osmesa16
index 3019d49fa4e..bfe906ce160 100644
--- a/configs/debian-osmesa16
+++ b/configs/debian-osmesa16
@@ -1,7 +1,7 @@
# Configuration for building OSMesa with support for 16 bits per color
# channel.
-include $(TOP)/configs/debian-common
+include $(TOP)/configs/debian-default
include $(TOP)/configs/linux-osmesa16
CONFIG_NAME = debian-osmesa16
diff --git a/configs/debian-osmesa16-static b/configs/debian-osmesa16-static
index 74396404595..4d1cf89ce26 100644
--- a/configs/debian-osmesa16-static
+++ b/configs/debian-osmesa16-static
@@ -1,7 +1,7 @@
# Configuration for building a static version of OSMesa with support for 16
# bits per color channel.
-include $(TOP)/configs/debian-common
+include $(TOP)/configs/debian-default
include $(TOP)/configs/linux-osmesa16-static
CONFIG_NAME = debian-osmesa16-static
diff --git a/configs/debian-osmesa32 b/configs/debian-osmesa32
index 468045bd438..6ac31292c32 100644
--- a/configs/debian-osmesa32
+++ b/configs/debian-osmesa32
@@ -1,7 +1,7 @@
# Configuration for building OSMesa with support for 32 bits per color
# channel.
-include $(TOP)/configs/debian-common
+include $(TOP)/configs/debian-default
include $(TOP)/configs/linux-osmesa32
CONFIG_NAME = debian-osmesa32
diff --git a/configs/debian-osmesa32-static b/configs/debian-osmesa32-static
index 237a632b90d..46fd1e4194f 100644
--- a/configs/debian-osmesa32-static
+++ b/configs/debian-osmesa32-static
@@ -1,7 +1,7 @@
# Configuration for building a static version of OSMesa with support for 32
# bits per color channel.
-include $(TOP)/configs/debian-common
+include $(TOP)/configs/debian-default
include $(TOP)/configs/linux-osmesa32-static
CONFIG_NAME = debian-osmesa32-static
diff --git a/configs/debian-static b/configs/debian-static
index c3e7f05b030..71129869eb6 100644
--- a/configs/debian-static
+++ b/configs/debian-static
@@ -1,12 +1,9 @@
# Configuration for building static versions of the libraries.
-include $(TOP)/configs/debian-common
+include $(TOP)/configs/debian-default
include $(TOP)/configs/linux-static
CONFIG_NAME = debian-static
-override SRC_DIRS = mesa glu
-override PROGRAM_DIRS =
-
# vim: ft=make
diff --git a/debian/libgl1-mesa-dri.install b/debian/libgl1-mesa-dri.install
index f3e8ada53ac..55500c81209 100644
--- a/debian/libgl1-mesa-dri.install
+++ b/debian/libgl1-mesa-dri.install
@@ -1 +1 @@
-usr/libglx/dri/*.so usr/lib/dri
+usr/lib/dri/*.so
diff --git a/debian/libgl1-mesa-glx.install b/debian/libgl1-mesa-glx.install
index 270e569baa4..1a30ecd7cbd 100644
--- a/debian/libgl1-mesa-glx.install
+++ b/debian/libgl1-mesa-glx.install
@@ -1 +1 @@
-usr/libglx/libGL.so.* usr/lib
+usr/lib/glx/libGL.so.* usr/lib
diff --git a/debian/patches/00_create-libdir.patch b/debian/patches/00_create-libdir.patch
new file mode 100644
index 00000000000..99f02f7bdc1
--- /dev/null
+++ b/debian/patches/00_create-libdir.patch
@@ -0,0 +1,11 @@
+--- a/src/Makefile
++++ b/src/Makefile
+@@ -29,7 +29,7 @@
+ done
+
+ $(TOP)/$(LIB_DIR):
+- -mkdir $(TOP)/$(LIB_DIR)
++ mkdir -p $(TOP)/$(LIB_DIR)
+
+
+ clean:
diff --git a/debian/patches/01_fix-makefile.patch b/debian/patches/01_fix-makefile.patch
index f013c46e1c0..6f8ea18c658 100644
--- a/debian/patches/01_fix-makefile.patch
+++ b/debian/patches/01_fix-makefile.patch
@@ -1,13 +1,14 @@
--- a/src/mesa/Makefile
+++ b/src/mesa/Makefile
-@@ -154,7 +154,11 @@
+@@ -154,7 +154,12 @@
$(INSTALL) -d $(INSTALL_DIR)/include/GL
$(INSTALL) -d $(INSTALL_DIR)/$(LIB_DIR)
$(INSTALL) -m 644 $(TOP)/include/GL/*.h $(INSTALL_DIR)/include/GL
- $(COPY_LIBS) $(TOP)/$(LIB_DIR)/libGL.* $(INSTALL_DIR)/$(LIB_DIR)
-+ @if [ "${DRIVER_DIRS}" != "osmesa" ]; then \
++ @if [ -e $(TOP)/$(LIB_DIR)/$(GL_LIB_NAME) ]; then \
+ $(COPY_LIBS) $(TOP)/$(LIB_DIR)/lib$(GL_LIB).* $(INSTALL_DIR)/$(LIB_DIR); \
-+ else \
++ fi
++ @if [ -e $(TOP)/$(LIB_DIR)/$(OSMESA_LIB_NAME) ]; then \
+ $(COPY_LIBS) $(TOP)/$(LIB_DIR)/lib$(OSMESA_LIB).* $(INSTALL_DIR)/$(LIB_DIR); \
+ fi
@if [ "${DRIVER_DIRS}" = "dri" ] ; then \
diff --git a/debian/patches/series b/debian/patches/series
index 6840f95c944..9616a12dfdc 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
+00_create-libdir.patch
01_fix-makefile.patch
diff --git a/debian/rules b/debian/rules
index 966d25ed8b8..e2c8bbb941c 100755
--- a/debian/rules
+++ b/debian/rules
@@ -32,14 +32,19 @@ STAMPDIR = debian/stamp
# build the following configurations
CONFIGS = debian \
+ debian-arch \
debian-dri \
- debian-osmesa \
debian-osmesa16 \
debian-osmesa16-static \
debian-osmesa32 \
debian-osmesa32-static \
debian-static
+# Don't build architecture-dependent DRI drivers (yet) because it's probably
+# not worth the effort. For benchmarking, include the following configuration
+# in the list above.
+#debian-dri-arch
+
STAMP = $(STAMPDIR)/$(DEB_BUILD_GNU_TYPE)
BUILD_STAMPS = $(addprefix $(STAMP)-build-, $(CONFIGS))
INSTALL_STAMPS = $(addprefix $(STAMP)-install-, $(CONFIGS))
@@ -68,7 +73,7 @@ install: build pre-install $(INSTALL_STAMPS)
$(STAMP)-install-%: $(STAMP)-build-%
# Add here commands to install the package into debian/tmp
- cd $(DEB_BUILD_DIR)/$* && $(MAKE) install INSTALL_DIR=$(CURDIR)/debian/tmp/usr
+ cd $(DEB_BUILD_DIR)/$* && $(MAKE) install DESTDIR=$(CURDIR)/debian/tmp
touch $@
clean: unpatch
--
cgit v1.2.3
From 5bcfa4c85908474774b8537f379504fb8ad9a598 Mon Sep 17 00:00:00 2001
From: Thierry Reding
Date: Sun, 15 Oct 2006 13:30:22 +0000
Subject: Build only optimized versions of the DRI drivers, only using no
optimizations when not supported.
Add configuration to build the DRI drivers on amd64.
---
configs/debian-dri | 9 ---------
configs/debian-dri-amd64 | 9 +++++++++
configs/debian-dri-any | 8 +++++---
debian/rules | 7 +------
4 files changed, 15 insertions(+), 18 deletions(-)
delete mode 100644 configs/debian-dri
create mode 100644 configs/debian-dri-amd64
(limited to 'debian')
diff --git a/configs/debian-dri b/configs/debian-dri
deleted file mode 100644
index 48d1fc6a4fb..00000000000
--- a/configs/debian-dri
+++ /dev/null
@@ -1,9 +0,0 @@
-# Configuration for building the DRI drivers on the build architecture.
-
-include $(TOP)/configs/debian-dri-default
-include $(TOP)/configs/linux-dri
-
-CONFIG_NAME = debian-dri
-
-# vim: ft=make
-
diff --git a/configs/debian-dri-amd64 b/configs/debian-dri-amd64
new file mode 100644
index 00000000000..26cae1627ef
--- /dev/null
+++ b/configs/debian-dri-amd64
@@ -0,0 +1,9 @@
+# Configuration for building the DRI drivers on i386.
+
+include $(TOP)/configs/debian-dri-default
+include $(TOP)/configs/linux-dri-x86-64
+
+CONFIG_NAME = debian-dri-amd64
+
+# vim: ft=make
+
diff --git a/configs/debian-dri-any b/configs/debian-dri-any
index f6a33821bc1..48d1fc6a4fb 100644
--- a/configs/debian-dri-any
+++ b/configs/debian-dri-any
@@ -1,7 +1,9 @@
-# Chicken-out configuration for architectures where optimized builds are not
-# supported.
+# Configuration for building the DRI drivers on the build architecture.
-CONFIG_NAME = debian-dri-any
+include $(TOP)/configs/debian-dri-default
+include $(TOP)/configs/linux-dri
+
+CONFIG_NAME = debian-dri
# vim: ft=make
diff --git a/debian/rules b/debian/rules
index e2c8bbb941c..269e724bcee 100755
--- a/debian/rules
+++ b/debian/rules
@@ -33,18 +33,13 @@ STAMPDIR = debian/stamp
# build the following configurations
CONFIGS = debian \
debian-arch \
- debian-dri \
+ debian-dri-arch \
debian-osmesa16 \
debian-osmesa16-static \
debian-osmesa32 \
debian-osmesa32-static \
debian-static
-# Don't build architecture-dependent DRI drivers (yet) because it's probably
-# not worth the effort. For benchmarking, include the following configuration
-# in the list above.
-#debian-dri-arch
-
STAMP = $(STAMPDIR)/$(DEB_BUILD_GNU_TYPE)
BUILD_STAMPS = $(addprefix $(STAMP)-build-, $(CONFIGS))
INSTALL_STAMPS = $(addprefix $(STAMP)-install-, $(CONFIGS))
--
cgit v1.2.3
From 87744f786b52b0d238efcae7f481042f219a22c9 Mon Sep 17 00:00:00 2001
From: Thierry Reding
Date: Sun, 15 Oct 2006 14:41:12 +0000
Subject: Use STAMP_DIR consistently throughout the debian/rules file.
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Make the BUILD_STAMPS targets depend on patch so that when they are built
separately the patches will also be applied. Thanks to Michel Dänzer for
catching this.
Make symlinking the source tree idempotent by adding the -f option to cp.
Thanks again Michel Dänzer.
---
debian/rules | 23 +++++++++++++----------
1 file changed, 13 insertions(+), 10 deletions(-)
(limited to 'debian')
diff --git a/debian/rules b/debian/rules
index 269e724bcee..b3b1e133ba4 100755
--- a/debian/rules
+++ b/debian/rules
@@ -9,7 +9,9 @@
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
-QUILT_STAMPFN ?= debian/stamp/patch
+STAMP_DIR = debian/stamp
+
+QUILT_STAMPFN = $(STAMP_DIR)/patch
include /usr/share/quilt/quilt.make
CFLAGS = -Wall -g
@@ -28,8 +30,6 @@ DEB_BUILD_DIR ?= $(CURDIR)/obj-$(DEB_BUILD_GNU_TYPE)
export DEB_BUILD_ARCH
-STAMPDIR = debian/stamp
-
# build the following configurations
CONFIGS = debian \
debian-arch \
@@ -40,19 +40,22 @@ CONFIGS = debian \
debian-osmesa32-static \
debian-static
-STAMP = $(STAMPDIR)/$(DEB_BUILD_GNU_TYPE)
+STAMP = $(STAMP_DIR)/$(DEB_BUILD_GNU_TYPE)
BUILD_STAMPS = $(addprefix $(STAMP)-build-, $(CONFIGS))
INSTALL_STAMPS = $(addprefix $(STAMP)-install-, $(CONFIGS))
-debian/stamp:
+$(STAMP_DIR):
dh_testdir
- mkdir -p debian/stamp
+ mkdir -p $@
+
+$(QUILT_STAMPFN): $(STAMP_DIR)
-build: debian/stamp patch $(BUILD_STAMPS)
-$(STAMP)-build-%:
+build: $(BUILD_STAMPS)
+$(STAMP)-build-%: patch
dh_testdir
mkdir -p $(DEB_BUILD_DIR)/$*
- find $(CURDIR)/* -maxdepth 0 -not -path '$(DEB_BUILD_DIR)*' | xargs cp -rl -t $(DEB_BUILD_DIR)/$*
+ find $(CURDIR)/* -maxdepth 0 -not -path '$(DEB_BUILD_DIR)*' | \
+ xargs cp -rlf -t $(DEB_BUILD_DIR)/$*
ln -sf $* $(DEB_BUILD_DIR)/$*/configs/current
cd $(DEB_BUILD_DIR)/$* && $(MAKE)
touch $@
@@ -74,7 +77,7 @@ $(STAMP)-install-%: $(STAMP)-build-%
clean: unpatch
dh_testdir
dh_testroot
- rm -rf $(DEB_BUILD_DIR) debian/stamp
+ rm -rf $(DEB_BUILD_DIR) $(STAMP_DIR)
dh_clean --exclude ./Makefile.orig --exclude configs/CVS/Root.bak
# Build architecture-independent files here.
--
cgit v1.2.3
From 84db6912f0866a2e3e4255001024ec2de78d7d27 Mon Sep 17 00:00:00 2001
From: Thierry Reding
Date: Sun, 15 Oct 2006 18:02:33 +0000
Subject: Add missing build-dependencies.
---
debian/control | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
(limited to 'debian')
diff --git a/debian/control b/debian/control
index b24f7b6f928..a49a763fae5 100644
--- a/debian/control
+++ b/debian/control
@@ -4,7 +4,7 @@ Priority: optional
Maintainer: Debian X Strike Force
Uploaders: Thierry Reding
Standards-Version: 3.7.2
-Build-Depends: debhelper (>= 5), quilt
+Build-Depends: debhelper (>= 5), quilt (>= 0.40), pkg-config, libdrm-dev (>= 2.0.2) [!hurd-i386], libx11-dev, xutils-dev, x11proto-gl-dev (>= 1.4.8), libxxf86vm-dev, libexpat1-dev
Package: libgl1-mesa-swx11
Section: libs
--
cgit v1.2.3
From 55cf480c0b017e9ac7b1792cad64d89edcbe83ec Mon Sep 17 00:00:00 2001
From: Thierry Reding
Date: Mon, 16 Oct 2006 08:58:05 +0000
Subject: Drop the libgl1-mesa-swx11-dbg package until there's a decision as to
whether it is really needed.
Allow more than one type of optimization libraries to be built for any given
architecture. Currently optimization configurations are provided for i386
[i686], alpha [ev5], amd64, powerpc [603], ppc64 and sparc [ultrasparc].
However, only i686 and amd64 are enabled for now for safety.
Add the libgl1-mesa-swx11-i686 for i686 optimized libraries.
Drop the debian-common configuration because it is no longer used.
Don't build libGLU in all configurations, only when needed.
---
configs/debian | 9 -------
configs/debian-alpha | 9 -------
configs/debian-alpha-ev5 | 11 ++++++++
configs/debian-amd64 | 2 ++
configs/debian-common | 6 -----
configs/debian-default | 10 ++------
configs/debian-i386 | 13 ----------
configs/debian-i386-i686 | 12 +++++++++
configs/debian-osmesa | 2 --
configs/debian-osmesa16 | 2 --
configs/debian-osmesa16-static | 2 --
configs/debian-osmesa32 | 2 --
configs/debian-osmesa32-static | 2 --
configs/debian-powerpc | 9 -------
configs/debian-powerpc-603 | 11 ++++++++
configs/debian-ppc64 | 2 ++
configs/debian-sparc | 9 -------
configs/debian-sparc-ultrasparc | 11 ++++++++
configs/debian-swx11+glu | 11 ++++++++
debian/changelog | 5 ++--
debian/control | 37 +++++++++++++++++----------
debian/libgl1-mesa-swx11-dbg.install | 0
debian/libgl1-mesa-swx11-i686.install | 2 ++
debian/rules | 48 +++++++++++++++++++++++++++--------
24 files changed, 128 insertions(+), 99 deletions(-)
delete mode 100644 configs/debian
delete mode 100644 configs/debian-alpha
create mode 100644 configs/debian-alpha-ev5
delete mode 100644 configs/debian-common
delete mode 100644 configs/debian-i386
create mode 100644 configs/debian-i386-i686
delete mode 100644 configs/debian-powerpc
create mode 100644 configs/debian-powerpc-603
delete mode 100644 configs/debian-sparc
create mode 100644 configs/debian-sparc-ultrasparc
create mode 100644 configs/debian-swx11+glu
delete mode 100644 debian/libgl1-mesa-swx11-dbg.install
create mode 100644 debian/libgl1-mesa-swx11-i686.install
(limited to 'debian')
diff --git a/configs/debian b/configs/debian
deleted file mode 100644
index 68b7a613288..00000000000
--- a/configs/debian
+++ /dev/null
@@ -1,9 +0,0 @@
-# Configuration for building Mesa on the build architecture.
-
-include $(TOP)/configs/debian-default
-include $(TOP)/configs/linux
-
-CONFIG_NAME = debian
-
-# vim: ft=make
-
diff --git a/configs/debian-alpha b/configs/debian-alpha
deleted file mode 100644
index 74df4e106bd..00000000000
--- a/configs/debian-alpha
+++ /dev/null
@@ -1,9 +0,0 @@
-# Configuration for building Mesa on alpha.
-
-include $(TOP)/configs/debian-default
-include $(TOP)/configs/linux-alpha
-
-CONFIG_NAME = debian-alpha
-
-# vim: ft=make
-
diff --git a/configs/debian-alpha-ev5 b/configs/debian-alpha-ev5
new file mode 100644
index 00000000000..a7a79d18352
--- /dev/null
+++ b/configs/debian-alpha-ev5
@@ -0,0 +1,11 @@
+# Configuration for building Mesa on alpha.
+
+include $(TOP)/configs/debian-default
+include $(TOP)/configs/linux-alpha
+
+CONFIG_NAME = debian-alpha
+
+override LIB_DIR = lib/ev5/cmov
+
+# vim: ft=make
+
diff --git a/configs/debian-amd64 b/configs/debian-amd64
index de1e495dab9..74f815efbc1 100644
--- a/configs/debian-amd64
+++ b/configs/debian-amd64
@@ -5,5 +5,7 @@ include $(TOP)/configs/linux-x86-64
CONFIG_NAME = debian-amd64
+override LIB_DIR = lib64
+
# vim: ft=make
diff --git a/configs/debian-common b/configs/debian-common
deleted file mode 100644
index 98796f6cf9f..00000000000
--- a/configs/debian-common
+++ /dev/null
@@ -1,6 +0,0 @@
-# Override defaults set by the Mesa configuration.
-
-CONFIG_NAME = debian-common
-
-# vim: ft=make
-
diff --git a/configs/debian-default b/configs/debian-default
index 8ae6b10c681..4c2a09127cd 100644
--- a/configs/debian-default
+++ b/configs/debian-default
@@ -1,14 +1,8 @@
-# Debian-specific defaults for the default Mesa configuration.
-#
-# Yes, this is somewhat confusing: this is different from debian-common in
-# that debian-common only sets general compilation flags while this file
-# overrides the directories that are actually built by default.
-
-include $(TOP)/configs/debian-common
+# Define Debian-specific defaults.
CONFIG_NAME = debian-default
-override SRC_DIRS = mesa glu
+override SRC_DIRS = mesa
override PROGRAM_DIRS =
override INSTALL_DIR = $(DESTDIR)/usr
diff --git a/configs/debian-i386 b/configs/debian-i386
deleted file mode 100644
index 9d56e4a4f4f..00000000000
--- a/configs/debian-i386
+++ /dev/null
@@ -1,13 +0,0 @@
-# Configuration for building Mesa on i386.
-
-include $(TOP)/configs/debian-default
-include $(TOP)/configs/linux-x86
-
-CONFIG_NAME = debian-i386
-
-OPT_FLAGS += -march=i686
-
-override LIB_DIR = lib/i686/cmov
-
-# vim: ft=make
-
diff --git a/configs/debian-i386-i686 b/configs/debian-i386-i686
new file mode 100644
index 00000000000..35fe0b5b87f
--- /dev/null
+++ b/configs/debian-i386-i686
@@ -0,0 +1,12 @@
+# Configuration for building Mesa on i386.
+
+include $(TOP)/configs/debian-default
+include $(TOP)/configs/linux-x86
+
+CONFIG_NAME = debian-i386
+
+override ARCH_FLAGS += -mcpu=i686
+override LIB_DIR = lib/i686/cmov
+
+# vim: ft=make
+
diff --git a/configs/debian-osmesa b/configs/debian-osmesa
index ebace88c7b1..bfd55198c09 100644
--- a/configs/debian-osmesa
+++ b/configs/debian-osmesa
@@ -5,8 +5,6 @@ include $(TOP)/configs/linux-osmesa
CONFIG_NAME = debian-osmesa
-override SRC_DIRS = mesa
-
# vim: ft=make
diff --git a/configs/debian-osmesa16 b/configs/debian-osmesa16
index bfe906ce160..b232e4e81a2 100644
--- a/configs/debian-osmesa16
+++ b/configs/debian-osmesa16
@@ -6,7 +6,5 @@ include $(TOP)/configs/linux-osmesa16
CONFIG_NAME = debian-osmesa16
-override SRC_DIRS = mesa
-
# vim: ft=make
diff --git a/configs/debian-osmesa16-static b/configs/debian-osmesa16-static
index 4d1cf89ce26..c3728fe7636 100644
--- a/configs/debian-osmesa16-static
+++ b/configs/debian-osmesa16-static
@@ -6,7 +6,5 @@ include $(TOP)/configs/linux-osmesa16-static
CONFIG_NAME = debian-osmesa16-static
-override SRC_DIRS = mesa
-
# vim: ft=make
diff --git a/configs/debian-osmesa32 b/configs/debian-osmesa32
index 6ac31292c32..0cd0261ebe2 100644
--- a/configs/debian-osmesa32
+++ b/configs/debian-osmesa32
@@ -6,7 +6,5 @@ include $(TOP)/configs/linux-osmesa32
CONFIG_NAME = debian-osmesa32
-override SRC_DIRS = mesa
-
# vim: ft=make
diff --git a/configs/debian-osmesa32-static b/configs/debian-osmesa32-static
index 46fd1e4194f..2c210e05608 100644
--- a/configs/debian-osmesa32-static
+++ b/configs/debian-osmesa32-static
@@ -6,7 +6,5 @@ include $(TOP)/configs/linux-osmesa32-static
CONFIG_NAME = debian-osmesa32-static
-override SRC_DIRS = mesa
-
# vim: ft=make
diff --git a/configs/debian-powerpc b/configs/debian-powerpc
deleted file mode 100644
index b366d4a6fe2..00000000000
--- a/configs/debian-powerpc
+++ /dev/null
@@ -1,9 +0,0 @@
-# Configuration for building Mesa on powerpc.
-
-include $(TOP)/configs/debian-default
-include $(TOP)/configs/linux-ppc
-
-CONFIG_NAME = debian-powerpc
-
-# vim: ft=make
-
diff --git a/configs/debian-powerpc-603 b/configs/debian-powerpc-603
new file mode 100644
index 00000000000..aaa7e588207
--- /dev/null
+++ b/configs/debian-powerpc-603
@@ -0,0 +1,11 @@
+# Configuration for building Mesa on powerpc.
+
+include $(TOP)/configs/debian-default
+include $(TOP)/configs/linux-ppc
+
+CONFIG_NAME = debian-powerpc
+
+override LIB_DIR = lib/603/cmov
+
+# vim: ft=make
+
diff --git a/configs/debian-ppc64 b/configs/debian-ppc64
index 3a44a6d8f40..69d2872f411 100644
--- a/configs/debian-ppc64
+++ b/configs/debian-ppc64
@@ -4,5 +4,7 @@ include $(TOP)/configs/debian-ppc
CONFIG_NAME = debian-ppc64
+override LIB_DIR = lib64
+
# vim: ft=make
diff --git a/configs/debian-sparc b/configs/debian-sparc
deleted file mode 100644
index 38c89372104..00000000000
--- a/configs/debian-sparc
+++ /dev/null
@@ -1,9 +0,0 @@
-# Configuration for building Mesa on sparc.
-
-include $(TOP)/configs/debian-default
-include $(TOP)/configs/linux-sparc
-
-CONFIG_NAME = debian-sparc
-
-# vim: ft=make
-
diff --git a/configs/debian-sparc-ultrasparc b/configs/debian-sparc-ultrasparc
new file mode 100644
index 00000000000..9832914e5ee
--- /dev/null
+++ b/configs/debian-sparc-ultrasparc
@@ -0,0 +1,11 @@
+# Configuration for building Mesa on sparc.
+
+include $(TOP)/configs/debian-default
+include $(TOP)/configs/linux-sparc
+
+CONFIG_NAME = debian-sparc
+
+override LIB_DIR = lib/ultrasparc/cmov
+
+# vim: ft=make
+
diff --git a/configs/debian-swx11+glu b/configs/debian-swx11+glu
new file mode 100644
index 00000000000..86b7f013b16
--- /dev/null
+++ b/configs/debian-swx11+glu
@@ -0,0 +1,11 @@
+# Configuration for building Mesa (swx11 and GLU) on the build architecture.
+
+include $(TOP)/configs/debian-default
+include $(TOP)/configs/linux
+
+CONFIG_NAME = debian
+
+override SRC_DIRS = mesa glu
+
+# vim: ft=make
+
diff --git a/debian/changelog b/debian/changelog
index c6bfbcafd9e..450e0eecd28 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,7 @@
mesa (6.5.1-1) unstable; urgency=low
- *
+ * Provide i686 optimized versions in libgl1-mesa-swx11-i686.
+ * No longer provide the libgl1-mesa-swx11-dbg package.
- -- Thierry Reding Sat, 14 Oct 2006 02:09:50 +0200
+ -- Thierry Reding Sun, 15 Oct 2006 19:21:13 +0200
diff --git a/debian/control b/debian/control
index a49a763fae5..76b91d4c0c5 100644
--- a/debian/control
+++ b/debian/control
@@ -27,6 +27,30 @@ Description: A free implementation of the OpenGL API -- runtime
.
On Linux, this library is also known as libGL or libGL.so.1.
+Package: libgl1-mesa-swx11-i686
+Section: libs
+Priority: extra
+Architecture: i386
+Pre-Depends: libgl1-mesa-swx11
+Description: A free implementation of the OpenGL API -- i686 optimized runtime
+ Mesa is a 3-D graphics library with an API which is very similar to
+ that of OpenGL. To the extent that Mesa utilizes the OpenGL command
+ syntax or state machine, it is being used with authorization from
+ Silicon Graphics, Inc. However, the author makes no claim that Mesa
+ is in any way a compatible replacement for OpenGL or associated with
+ Silicon Graphics, Inc.
+ .
+ This library provides a pure software rasteriser; it does not provide
+ a direct rendering-capable library, or one which uses GLX. For that,
+ please see libgl1-mesa-glx.
+ .
+ On Linux, this library is also known as libGL or libGL.so.1.
+ .
+ This set of libraries is optimized for i686 machines and will only be used if
+ you are running a 2.6 kernel on an i686 class CPU. This includes Pentium Pro,
+ Pentium II/II/IV, Celeron CPU's and similar class CPU's (including clones
+ such as AMD Athlon/Opteron, VIA C3 Nehemiah, but not VIA C3 Ezla).
+
Package: libgl1-mesa-swx11-dev
Section: libdevel
Architecture: any
@@ -48,19 +72,6 @@ Description: A free implementation of the OpenGL API -- development support file
a direct rendering-capable library, or one which uses GLX. For that,
please see libgl1-mesa-dev.
-Package: libgl1-mesa-swx11-dbg
-Section: libs
-Architecture: any
-Depends: ${shlibs:Depends}
-Conflicts: libgl1-mesa-swrast-dbg
-Replaces: libgl1-mesa-swrast-dbg
-Provides: libgl1-mesa-swrast-dbg
-Description: A free implementation of the OpenGL API -- debugging package
- This package provides a debug-enabled version of the Mesa libraries.
- .
- For a complete description of Mesa, please look at the libgl1-mesa-swx11
- package.
-
Package: libgl1-mesa-glx
Section: libs
Architecture: any
diff --git a/debian/libgl1-mesa-swx11-dbg.install b/debian/libgl1-mesa-swx11-dbg.install
deleted file mode 100644
index e69de29bb2d..00000000000
diff --git a/debian/libgl1-mesa-swx11-i686.install b/debian/libgl1-mesa-swx11-i686.install
new file mode 100644
index 00000000000..53b5801a8c2
--- /dev/null
+++ b/debian/libgl1-mesa-swx11-i686.install
@@ -0,0 +1,2 @@
+usr/lib/i686/cmov/libGL.so.*
+usr/lib/i686/cmov/libOSMesa.*
diff --git a/debian/rules b/debian/rules
index b3b1e133ba4..c0b75b16511 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,10 +1,6 @@
#!/usr/bin/make -f
-# -*- makefile -*-
-# Sample debian/rules that uses debhelper.
-# This file was originally written by Joey Hess and Craig Small.
-# As a special exception, when this file is copied by dh-make into a
-# dh-make output file, you may use that output file without restriction.
-# This special exception was added by Craig Small in version 0.37 of dh-make.
+# debian/rules for the Debian mesa package
+# Copyright © 2006 Thierry Reding
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
@@ -31,8 +27,7 @@ DEB_BUILD_DIR ?= $(CURDIR)/obj-$(DEB_BUILD_GNU_TYPE)
export DEB_BUILD_ARCH
# build the following configurations
-CONFIGS = debian \
- debian-arch \
+CONFIGS = debian-swx11+glu \
debian-dri-arch \
debian-osmesa16 \
debian-osmesa16-static \
@@ -40,6 +35,36 @@ CONFIGS = debian \
debian-osmesa32-static \
debian-static
+# additional configurations optimized for CPU's supported by the build
+# architecture
+ifeq ($(DEB_BUILD_ARCH), i386)
+ CONFIGS += debian-i386-i686
+endif
+
+#ifeq ($(DEB_BUILD_ARCH), alpha)
+# CONFIGS += debian-alpha-ev5
+#endif
+
+ifeq ($(DEB_BUILD_ARCH), amd64)
+ CONFIGS += debian-amd64
+endif
+
+#ifeq ($(DEB_BUILD_ARCH), powerpc)
+# CONFIGS += debian-powerpc-603
+#endif
+
+#ifeq ($(DEB_BUILD_ARCH), ppc64)
+# CONFIGS += debian-ppc64
+#endif
+
+#ifeq ($(DEB_BUILD_ARCH), sparc)
+# CONFIGS += debian-sparc-ultrasparc
+#endif
+
+# Use the following to automatically build all optimized configurations
+# available for the build architecture. Use with caution =)
+#CONFIGS += $(subst configs/,,$(wildcard configs/debian-$(DEB_BUILD_ARCH)*))
+
STAMP = $(STAMP_DIR)/$(DEB_BUILD_GNU_TYPE)
BUILD_STAMPS = $(addprefix $(STAMP)-build-, $(CONFIGS))
INSTALL_STAMPS = $(addprefix $(STAMP)-install-, $(CONFIGS))
@@ -50,7 +75,9 @@ $(STAMP_DIR):
$(QUILT_STAMPFN): $(STAMP_DIR)
+
build: $(BUILD_STAMPS)
+
$(STAMP)-build-%: patch
dh_testdir
mkdir -p $(DEB_BUILD_DIR)/$*
@@ -65,9 +92,8 @@ pre-install:
dh_testroot
dh_clean -k --exclude ./Makefile.orig --exclude configs/CVS/Root.bak
rm -rf $(INSTALL_STAMPS)
- dh_installdirs
-install: build pre-install $(INSTALL_STAMPS)
+install: pre-install $(INSTALL_STAMPS)
$(STAMP)-install-%: $(STAMP)-build-%
# Add here commands to install the package into debian/tmp
@@ -77,8 +103,8 @@ $(STAMP)-install-%: $(STAMP)-build-%
clean: unpatch
dh_testdir
dh_testroot
- rm -rf $(DEB_BUILD_DIR) $(STAMP_DIR)
dh_clean --exclude ./Makefile.orig --exclude configs/CVS/Root.bak
+ rm -rf $(DEB_BUILD_DIR) $(STAMP_DIR)
# Build architecture-independent files here.
binary-indep: build install
--
cgit v1.2.3
From 1b0d29afbcfe8eeb1eca380b6bb6462c0eaa882c Mon Sep 17 00:00:00 2001
From: Thierry Reding
Date: Mon, 16 Oct 2006 09:39:59 +0000
Subject: Rename the CPU optimization configurations to make it clear that they
only build swx11 and GLU.
Build architecture-optimized swx11 and GLU where possible.
---
configs/debian-alpha-ev5 | 11 -----------
configs/debian-amd64 | 11 -----------
configs/debian-any | 7 -------
configs/debian-arch | 13 -------------
configs/debian-dri-any | 2 +-
configs/debian-i386-i686 | 12 ------------
configs/debian-powerpc-603 | 11 -----------
configs/debian-ppc64 | 10 ----------
configs/debian-sparc-ultrasparc | 11 -----------
configs/debian-swx11+glu | 11 -----------
configs/debian-swx11+glu-alpha-ev5 | 11 +++++++++++
configs/debian-swx11+glu-amd64 | 10 ++++++++++
configs/debian-swx11+glu-any | 9 +++++++++
configs/debian-swx11+glu-arch | 15 +++++++++++++++
configs/debian-swx11+glu-i386 | 10 ++++++++++
configs/debian-swx11+glu-i386-i686 | 13 +++++++++++++
configs/debian-swx11+glu-powerpc-603 | 12 ++++++++++++
configs/debian-swx11+glu-ppc64 | 11 +++++++++++
configs/debian-swx11+glu-sparc | 10 ++++++++++
configs/debian-swx11+glu-sparc-ultrasparc | 12 ++++++++++++
debian/rules | 6 +-----
21 files changed, 115 insertions(+), 103 deletions(-)
delete mode 100644 configs/debian-alpha-ev5
delete mode 100644 configs/debian-amd64
delete mode 100644 configs/debian-any
delete mode 100644 configs/debian-arch
delete mode 100644 configs/debian-i386-i686
delete mode 100644 configs/debian-powerpc-603
delete mode 100644 configs/debian-ppc64
delete mode 100644 configs/debian-sparc-ultrasparc
delete mode 100644 configs/debian-swx11+glu
create mode 100644 configs/debian-swx11+glu-alpha-ev5
create mode 100644 configs/debian-swx11+glu-amd64
create mode 100644 configs/debian-swx11+glu-any
create mode 100644 configs/debian-swx11+glu-arch
create mode 100644 configs/debian-swx11+glu-i386
create mode 100644 configs/debian-swx11+glu-i386-i686
create mode 100644 configs/debian-swx11+glu-powerpc-603
create mode 100644 configs/debian-swx11+glu-ppc64
create mode 100644 configs/debian-swx11+glu-sparc
create mode 100644 configs/debian-swx11+glu-sparc-ultrasparc
(limited to 'debian')
diff --git a/configs/debian-alpha-ev5 b/configs/debian-alpha-ev5
deleted file mode 100644
index a7a79d18352..00000000000
--- a/configs/debian-alpha-ev5
+++ /dev/null
@@ -1,11 +0,0 @@
-# Configuration for building Mesa on alpha.
-
-include $(TOP)/configs/debian-default
-include $(TOP)/configs/linux-alpha
-
-CONFIG_NAME = debian-alpha
-
-override LIB_DIR = lib/ev5/cmov
-
-# vim: ft=make
-
diff --git a/configs/debian-amd64 b/configs/debian-amd64
deleted file mode 100644
index 74f815efbc1..00000000000
--- a/configs/debian-amd64
+++ /dev/null
@@ -1,11 +0,0 @@
-# Configuration for building Mesa on amd64.
-
-include $(TOP)/configs/debian-default
-include $(TOP)/configs/linux-x86-64
-
-CONFIG_NAME = debian-amd64
-
-override LIB_DIR = lib64
-
-# vim: ft=make
-
diff --git a/configs/debian-any b/configs/debian-any
deleted file mode 100644
index a2846015ba1..00000000000
--- a/configs/debian-any
+++ /dev/null
@@ -1,7 +0,0 @@
-# Chicken-out configuration for architectures where optimized builds are not
-# supported.
-
-CONFIG_NAME = debian-any
-
-# vim: ft=make
-
diff --git a/configs/debian-arch b/configs/debian-arch
deleted file mode 100644
index a39163d45d7..00000000000
--- a/configs/debian-arch
+++ /dev/null
@@ -1,13 +0,0 @@
-# Configuration for building a version of Mesa optimized for the build
-# architecture.
-
-ifneq ($(wildcard $(TOP)/configs/debian-$(DEB_BUILD_ARCH)),)
- include $(TOP)/configs/debian-$(DEB_BUILD_ARCH)
-else
- include $(TOP)/configs/debian-any
-endif
-
-CONFIG_NAME = debian-arch
-
-# vim: ft=make
-
diff --git a/configs/debian-dri-any b/configs/debian-dri-any
index 48d1fc6a4fb..6e888d52b72 100644
--- a/configs/debian-dri-any
+++ b/configs/debian-dri-any
@@ -3,7 +3,7 @@
include $(TOP)/configs/debian-dri-default
include $(TOP)/configs/linux-dri
-CONFIG_NAME = debian-dri
+CONFIG_NAME = debian-dri-any
# vim: ft=make
diff --git a/configs/debian-i386-i686 b/configs/debian-i386-i686
deleted file mode 100644
index 35fe0b5b87f..00000000000
--- a/configs/debian-i386-i686
+++ /dev/null
@@ -1,12 +0,0 @@
-# Configuration for building Mesa on i386.
-
-include $(TOP)/configs/debian-default
-include $(TOP)/configs/linux-x86
-
-CONFIG_NAME = debian-i386
-
-override ARCH_FLAGS += -mcpu=i686
-override LIB_DIR = lib/i686/cmov
-
-# vim: ft=make
-
diff --git a/configs/debian-powerpc-603 b/configs/debian-powerpc-603
deleted file mode 100644
index aaa7e588207..00000000000
--- a/configs/debian-powerpc-603
+++ /dev/null
@@ -1,11 +0,0 @@
-# Configuration for building Mesa on powerpc.
-
-include $(TOP)/configs/debian-default
-include $(TOP)/configs/linux-ppc
-
-CONFIG_NAME = debian-powerpc
-
-override LIB_DIR = lib/603/cmov
-
-# vim: ft=make
-
diff --git a/configs/debian-ppc64 b/configs/debian-ppc64
deleted file mode 100644
index 69d2872f411..00000000000
--- a/configs/debian-ppc64
+++ /dev/null
@@ -1,10 +0,0 @@
-# Configuration for building Mesa on ppc64.
-
-include $(TOP)/configs/debian-ppc
-
-CONFIG_NAME = debian-ppc64
-
-override LIB_DIR = lib64
-
-# vim: ft=make
-
diff --git a/configs/debian-sparc-ultrasparc b/configs/debian-sparc-ultrasparc
deleted file mode 100644
index 9832914e5ee..00000000000
--- a/configs/debian-sparc-ultrasparc
+++ /dev/null
@@ -1,11 +0,0 @@
-# Configuration for building Mesa on sparc.
-
-include $(TOP)/configs/debian-default
-include $(TOP)/configs/linux-sparc
-
-CONFIG_NAME = debian-sparc
-
-override LIB_DIR = lib/ultrasparc/cmov
-
-# vim: ft=make
-
diff --git a/configs/debian-swx11+glu b/configs/debian-swx11+glu
deleted file mode 100644
index 86b7f013b16..00000000000
--- a/configs/debian-swx11+glu
+++ /dev/null
@@ -1,11 +0,0 @@
-# Configuration for building Mesa (swx11 and GLU) on the build architecture.
-
-include $(TOP)/configs/debian-default
-include $(TOP)/configs/linux
-
-CONFIG_NAME = debian
-
-override SRC_DIRS = mesa glu
-
-# vim: ft=make
-
diff --git a/configs/debian-swx11+glu-alpha-ev5 b/configs/debian-swx11+glu-alpha-ev5
new file mode 100644
index 00000000000..dd20e9266af
--- /dev/null
+++ b/configs/debian-swx11+glu-alpha-ev5
@@ -0,0 +1,11 @@
+# Configuration for building Mesa (swx11 and GLU) on alpha (ev5 optimized).
+
+include $(TOP)/configs/debian-default
+include $(TOP)/configs/linux-alpha
+
+CONFIG_NAME = debian-swx11+glu-alpha-ev5
+
+override LIB_DIR = lib/ev5/cmov
+
+# vim: ft=make
+
diff --git a/configs/debian-swx11+glu-amd64 b/configs/debian-swx11+glu-amd64
new file mode 100644
index 00000000000..080af7c357e
--- /dev/null
+++ b/configs/debian-swx11+glu-amd64
@@ -0,0 +1,10 @@
+# Configuration for building Mesa (swx11 and GLU) with runtime-detected
+# assembler optimizations on amd64.
+
+include $(TOP)/configs/debian-default
+include $(TOP)/configs/linux-x86-64
+
+CONFIG_NAME = debian-swx11+glu-amd64
+
+# vim: ft=make
+
diff --git a/configs/debian-swx11+glu-any b/configs/debian-swx11+glu-any
new file mode 100644
index 00000000000..1269656d3ec
--- /dev/null
+++ b/configs/debian-swx11+glu-any
@@ -0,0 +1,9 @@
+# Configuration for building Mesa (swx11 and GLU) on the build architecture.
+
+include $(TOP)/configs/debian-default
+include $(TOP)/configs/linux
+
+CONFIG_NAME = debian-swx11+glu-any
+
+# vim: ft=make
+
diff --git a/configs/debian-swx11+glu-arch b/configs/debian-swx11+glu-arch
new file mode 100644
index 00000000000..3c02fbe5819
--- /dev/null
+++ b/configs/debian-swx11+glu-arch
@@ -0,0 +1,15 @@
+# Configuration for building a version of swx11 and libGLU optimized for the
+# build architecture.
+
+ifneq ($(wildcard $(TOP)/configs/debian-swx11+glu-$(DEB_BUILD_ARCH)),)
+ include $(TOP)/configs/debian-swx11+glu-$(DEB_BUILD_ARCH)
+else
+ include $(TOP)/configs/debian-swx11+glu-any
+endif
+
+CONFIG_NAME = debian-swx11+glu-arch
+
+override SRC_DIRS = mesa glu
+
+# vim: ft=make
+
diff --git a/configs/debian-swx11+glu-i386 b/configs/debian-swx11+glu-i386
new file mode 100644
index 00000000000..22242254695
--- /dev/null
+++ b/configs/debian-swx11+glu-i386
@@ -0,0 +1,10 @@
+# Configuration for building Mesa (swx11 and GLU) with runtime-detected
+# assembler optimizations on i386.
+
+include $(TOP)/configs/debian-default
+include $(TOP)/configs/linux-x86
+
+CONFIG_NAME = debian-swx11+glu-i386
+
+# vim: ft=make
+
diff --git a/configs/debian-swx11+glu-i386-i686 b/configs/debian-swx11+glu-i386-i686
new file mode 100644
index 00000000000..062079f0e08
--- /dev/null
+++ b/configs/debian-swx11+glu-i386-i686
@@ -0,0 +1,13 @@
+# Configuration for building Mesa (swx11 and GLU) with runtime-detected
+# assembler optimizations on i386 (i686 optimized).
+
+include $(TOP)/configs/debian-default
+include $(TOP)/configs/linux-x86
+
+CONFIG_NAME = debian-swx11+glu-i386-i686
+
+override ARCH_FLAGS += -mcpu=i686
+override LIB_DIR = lib/i686/cmov
+
+# vim: ft=make
+
diff --git a/configs/debian-swx11+glu-powerpc-603 b/configs/debian-swx11+glu-powerpc-603
new file mode 100644
index 00000000000..a3cdaa9ab65
--- /dev/null
+++ b/configs/debian-swx11+glu-powerpc-603
@@ -0,0 +1,12 @@
+# Configuration for building Mesa (swx11 and GLU) with runtime-detected
+# assembler optimizations on powerpc (603 optimized).
+
+include $(TOP)/configs/debian-default
+include $(TOP)/configs/linux-ppc
+
+CONFIG_NAME = debian-swx11+glu-powerpc-603
+
+override LIB_DIR = lib/603/cmov
+
+# vim: ft=make
+
diff --git a/configs/debian-swx11+glu-ppc64 b/configs/debian-swx11+glu-ppc64
new file mode 100644
index 00000000000..77fa2994313
--- /dev/null
+++ b/configs/debian-swx11+glu-ppc64
@@ -0,0 +1,11 @@
+# Configuration for building Mesa (swx11 and GLU) with runtime-detected
+# assembler optimizations on ppc64.
+
+include $(TOP)/configs/debian-ppc
+
+CONFIG_NAME = debian-swx11+glu-ppc64
+
+override LIB_DIR = lib64
+
+# vim: ft=make
+
diff --git a/configs/debian-swx11+glu-sparc b/configs/debian-swx11+glu-sparc
new file mode 100644
index 00000000000..db74ab4cf6d
--- /dev/null
+++ b/configs/debian-swx11+glu-sparc
@@ -0,0 +1,10 @@
+# Configuration for building Mesa (swx11 and GLU) with runtime-detected
+# assembler optimizations on sparc.
+
+include $(TOP)/configs/debian-default
+include $(TOP)/configs/linux-sparc
+
+CONFIG_NAME = debian-swx11+glu-sparc
+
+# vim: ft=make
+
diff --git a/configs/debian-swx11+glu-sparc-ultrasparc b/configs/debian-swx11+glu-sparc-ultrasparc
new file mode 100644
index 00000000000..3dd0d4e08b0
--- /dev/null
+++ b/configs/debian-swx11+glu-sparc-ultrasparc
@@ -0,0 +1,12 @@
+# Configuration for building Mesa (swx11 and GLU) with runtime-detected
+# assembler optimizations on sparc (ultrasparc-optimized).
+
+include $(TOP)/configs/debian-default
+include $(TOP)/configs/linux-ultrasparc
+
+CONFIG_NAME = debian-swx11+glu-sparc-ultrasparc
+
+override LIB_DIR = lib/ultrasparc/cmov
+
+# vim: ft=make
+
diff --git a/debian/rules b/debian/rules
index c0b75b16511..6abe4968d05 100755
--- a/debian/rules
+++ b/debian/rules
@@ -27,7 +27,7 @@ DEB_BUILD_DIR ?= $(CURDIR)/obj-$(DEB_BUILD_GNU_TYPE)
export DEB_BUILD_ARCH
# build the following configurations
-CONFIGS = debian-swx11+glu \
+CONFIGS = debian-swx11+glu-arch \
debian-dri-arch \
debian-osmesa16 \
debian-osmesa16-static \
@@ -45,10 +45,6 @@ endif
# CONFIGS += debian-alpha-ev5
#endif
-ifeq ($(DEB_BUILD_ARCH), amd64)
- CONFIGS += debian-amd64
-endif
-
#ifeq ($(DEB_BUILD_ARCH), powerpc)
# CONFIGS += debian-powerpc-603
#endif
--
cgit v1.2.3
From 5cef6ca36a699a37d647da19b3d1746f1d6348c1 Mon Sep 17 00:00:00 2001
From: Thierry Reding
Date: Mon, 16 Oct 2006 10:03:32 +0000
Subject: Move the detection of architecture-specific configurations to the
debian/rules file.
Add the configs target to debian/rules for checking whether the correct
configurations will be built.
---
configs/debian-dri-arch | 13 -----------
configs/debian-swx11+glu-arch | 15 -------------
debian/rules | 52 ++++++++++++++++++++++++++++---------------
3 files changed, 34 insertions(+), 46 deletions(-)
delete mode 100644 configs/debian-dri-arch
delete mode 100644 configs/debian-swx11+glu-arch
(limited to 'debian')
diff --git a/configs/debian-dri-arch b/configs/debian-dri-arch
deleted file mode 100644
index b5785409359..00000000000
--- a/configs/debian-dri-arch
+++ /dev/null
@@ -1,13 +0,0 @@
-# Configuration for building a version of the DRI drivers optimized for the
-# build architecture.
-
-ifneq ($(wildcard $(TOP)/configs/debian-dri-$(DEB_BUILD_ARCH)),)
- include $(TOP)/configs/debian-dri-$(DEB_BUILD_ARCH)
-else
- include $(TOP)/configs/debian-dri-any
-endif
-
-CONFIG_NAME = debian-dri-arch
-
-# vim: ft=make
-
diff --git a/configs/debian-swx11+glu-arch b/configs/debian-swx11+glu-arch
deleted file mode 100644
index 3c02fbe5819..00000000000
--- a/configs/debian-swx11+glu-arch
+++ /dev/null
@@ -1,15 +0,0 @@
-# Configuration for building a version of swx11 and libGLU optimized for the
-# build architecture.
-
-ifneq ($(wildcard $(TOP)/configs/debian-swx11+glu-$(DEB_BUILD_ARCH)),)
- include $(TOP)/configs/debian-swx11+glu-$(DEB_BUILD_ARCH)
-else
- include $(TOP)/configs/debian-swx11+glu-any
-endif
-
-CONFIG_NAME = debian-swx11+glu-arch
-
-override SRC_DIRS = mesa glu
-
-# vim: ft=make
-
diff --git a/debian/rules b/debian/rules
index 6abe4968d05..ef8b0fa31f0 100755
--- a/debian/rules
+++ b/debian/rules
@@ -26,45 +26,61 @@ DEB_BUILD_DIR ?= $(CURDIR)/obj-$(DEB_BUILD_GNU_TYPE)
export DEB_BUILD_ARCH
-# build the following configurations
-CONFIGS = debian-swx11+glu-arch \
- debian-dri-arch \
- debian-osmesa16 \
- debian-osmesa16-static \
- debian-osmesa32 \
- debian-osmesa32-static \
- debian-static
+# choose an architecture-specific configuration for building swx11 and GLU if
+# one exists
+ifneq ($(wildcard configs/debian-swx11+glu-$(DEB_BUILD_ARCH)),)
+ SWX11_GLU_CONFIGS := debian-swx11+glu-$(DEB_BUILD_ARCH)
+else
+ SWX11_GLU_CONFIGS := debian-swx11+glu-any
+endif
# additional configurations optimized for CPU's supported by the build
# architecture
ifeq ($(DEB_BUILD_ARCH), i386)
- CONFIGS += debian-i386-i686
+ SWX11_GLU_CONFIGS += debian-swx11+glu-i386-i686
endif
#ifeq ($(DEB_BUILD_ARCH), alpha)
-# CONFIGS += debian-alpha-ev5
+# SWX11_GLU_CONFIGS += debian-swx11+glu-alpha-ev5
#endif
#ifeq ($(DEB_BUILD_ARCH), powerpc)
-# CONFIGS += debian-powerpc-603
-#endif
-
-#ifeq ($(DEB_BUILD_ARCH), ppc64)
-# CONFIGS += debian-ppc64
+# SWX11_GLU_CONFIGS += debian-swx11+glu-powerpc-603
#endif
#ifeq ($(DEB_BUILD_ARCH), sparc)
-# CONFIGS += debian-sparc-ultrasparc
+# SWX11_GLU_CONFIGS += debian-swx11+glu-sparc-ultrasparc
#endif
# Use the following to automatically build all optimized configurations
# available for the build architecture. Use with caution =)
-#CONFIGS += $(subst configs/,,$(wildcard configs/debian-$(DEB_BUILD_ARCH)*))
+#SWX11_GLU_CONFIGS += $(subst configs/,,$(wildcard configs/debian-swx11+glu-$(DEB_BUILD_ARCH)-*))
+
+# choose an architecture-specific configuration for building the DRI-enabled
+# libGL if one exists
+ifneq ($(wildcard configs/debian-dri-$(DEB_BUILD_ARCH)),)
+ DRI_CONFIGS := debian-dri-$(DEB_BUILD_ARCH)
+else
+ DRI_CONFIGS := debian-dri-any
+endif
+
+# build the following configurations by default
+CONFIGS = $(SWX11_GLU_CONFIGS) \
+ $(DRI_CONFIGS) \
+ debian-osmesa16 \
+ debian-osmesa16-static \
+ debian-osmesa32 \
+ debian-osmesa32-static \
+ debian-static
STAMP = $(STAMP_DIR)/$(DEB_BUILD_GNU_TYPE)
BUILD_STAMPS = $(addprefix $(STAMP)-build-, $(CONFIGS))
INSTALL_STAMPS = $(addprefix $(STAMP)-install-, $(CONFIGS))
+# list the configurations that will built
+configs:
+ @echo Building the following configurations: $(CONFIGS)
+
$(STAMP_DIR):
dh_testdir
mkdir -p $@
@@ -127,5 +143,5 @@ binary-arch: build install
dh_builddeb
binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install configure
+.PHONY: configs build clean binary-indep binary-arch binary install configure
--
cgit v1.2.3
From eeca642778e290a94dc953827f93878dd86e11a2 Mon Sep 17 00:00:00 2001
From: Thierry Reding
Date: Mon, 16 Oct 2006 11:49:46 +0000
Subject: Add versioned build-dependency on dpkg-dev (>= 1.13.19) to make sure
the binary:Version and source:Version substitution variables can be used.
---
debian/control | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
(limited to 'debian')
diff --git a/debian/control b/debian/control
index 76b91d4c0c5..55053c8f20d 100644
--- a/debian/control
+++ b/debian/control
@@ -4,7 +4,7 @@ Priority: optional
Maintainer: Debian X Strike Force
Uploaders: Thierry Reding
Standards-Version: 3.7.2
-Build-Depends: debhelper (>= 5), quilt (>= 0.40), pkg-config, libdrm-dev (>= 2.0.2) [!hurd-i386], libx11-dev, xutils-dev, x11proto-gl-dev (>= 1.4.8), libxxf86vm-dev, libexpat1-dev
+Build-Depends: debhelper (>= 5), quilt (>= 0.40), pkg-config, libdrm-dev (>= 2.0.2) [!hurd-i386], libx11-dev, xutils-dev, x11proto-gl-dev (>= 1.4.8), libxxf86vm-dev, libexpat1-dev, dpkg-dev (>= 1.13.19)
Package: libgl1-mesa-swx11
Section: libs
--
cgit v1.2.3
From c9db617e0b1764271e8a48450b356577132a82a3 Mon Sep 17 00:00:00 2001
From: Thierry Reding
Date: Mon, 16 Oct 2006 13:04:29 +0000
Subject: Make the debian-static a subclass of debian-swx11+glu-default,
because that's what it actually is. Rename it accordingly and add it to
SWX11_GLU_CONFIGS.
Install the libOSMesa.so symlink and the libOSMesa static library in the
libgl1-mesa-swx11-dev package.
Add .shlibs files for the libgl1-mesa-swx11, libgl1-mesa-glx and libglu1-mesa
packages.
---
configs/debian-static | 8 +++-----
debian/libgl1-mesa-glx.shlibs | 1 +
debian/libgl1-mesa-swx11-dev.install | 2 ++
debian/libgl1-mesa-swx11.shlibs | 2 ++
debian/libglu1-mesa.shlibs | 1 +
debian/rules | 6 ++++--
6 files changed, 13 insertions(+), 7 deletions(-)
create mode 100644 debian/libgl1-mesa-glx.shlibs
create mode 100644 debian/libgl1-mesa-swx11.shlibs
create mode 100644 debian/libglu1-mesa.shlibs
(limited to 'debian')
diff --git a/configs/debian-static b/configs/debian-static
index db8cb79b060..7e2d00cc9b6 100644
--- a/configs/debian-static
+++ b/configs/debian-static
@@ -1,11 +1,9 @@
-# Configuration for building static versions of the libraries.
+# Configuration for building static versions of the libraries (swx11 and GLU).
-include $(TOP)/configs/debian-default
+include $(TOP)/configs/debian-swx11+glu-default
include $(TOP)/configs/linux-static
-CONFIG_NAME = debian-static
-
-override SRC_DIRS = mesa glu
+CONFIG_NAME = debian-swx11+glu-static
# vim: ft=make
diff --git a/debian/libgl1-mesa-glx.shlibs b/debian/libgl1-mesa-glx.shlibs
new file mode 100644
index 00000000000..b8e0fbaaaa5
--- /dev/null
+++ b/debian/libgl1-mesa-glx.shlibs
@@ -0,0 +1 @@
+libGL 1 libgl1-mesa-glx | libgl1
diff --git a/debian/libgl1-mesa-swx11-dev.install b/debian/libgl1-mesa-swx11-dev.install
index 2258776adea..9944522595f 100644
--- a/debian/libgl1-mesa-swx11-dev.install
+++ b/debian/libgl1-mesa-swx11-dev.install
@@ -1,3 +1,5 @@
usr/include/GL/glx*.h
usr/lib/libGL.a
usr/lib/libGL.so
+usr/lib/libOSMesa.a
+usr/lib/libOSMesa.so
diff --git a/debian/libgl1-mesa-swx11.shlibs b/debian/libgl1-mesa-swx11.shlibs
new file mode 100644
index 00000000000..f4b6356179c
--- /dev/null
+++ b/debian/libgl1-mesa-swx11.shlibs
@@ -0,0 +1,2 @@
+libGL 1 libgl1-mesa-glx | libgl1
+libOSMesa 6 libgl1-mesa-swx11 | libgl1-mesa-glide3
diff --git a/debian/libglu1-mesa.shlibs b/debian/libglu1-mesa.shlibs
new file mode 100644
index 00000000000..647fc5be38a
--- /dev/null
+++ b/debian/libglu1-mesa.shlibs
@@ -0,0 +1 @@
+libGLU 1 libglu1-mesa | libglu1
diff --git a/debian/rules b/debian/rules
index ef8b0fa31f0..fbf328332e8 100755
--- a/debian/rules
+++ b/debian/rules
@@ -56,6 +56,9 @@ endif
# available for the build architecture. Use with caution =)
#SWX11_GLU_CONFIGS += $(subst configs/,,$(wildcard configs/debian-swx11+glu-$(DEB_BUILD_ARCH)-*))
+# build a static version of swx11 and GLU as well
+SWX11_GLU_CONFIGS += debian-swx11+glu-static
+
# choose an architecture-specific configuration for building the DRI-enabled
# libGL if one exists
ifneq ($(wildcard configs/debian-dri-$(DEB_BUILD_ARCH)),)
@@ -70,8 +73,7 @@ CONFIGS = $(SWX11_GLU_CONFIGS) \
debian-osmesa16 \
debian-osmesa16-static \
debian-osmesa32 \
- debian-osmesa32-static \
- debian-static
+ debian-osmesa32-static
STAMP = $(STAMP_DIR)/$(DEB_BUILD_GNU_TYPE)
BUILD_STAMPS = $(addprefix $(STAMP)-build-, $(CONFIGS))
--
cgit v1.2.3
From 65a324062f41bbc9baff9fc0e22e76e7047a034c Mon Sep 17 00:00:00 2001
From: Thierry Reding
Date: Mon, 16 Oct 2006 13:05:42 +0000
Subject: Add patches extracted from older Debian diffs but not applied yet
because it's not certain yet that they are needed.
---
debian/patches/02_use-ieee-fp-on-s390-and-m64k.patch | 10 ++++++++++
.../patches/03_handle-sync-and-dont-unlock-display.patch | 15 +++++++++++++++
2 files changed, 25 insertions(+)
create mode 100644 debian/patches/02_use-ieee-fp-on-s390-and-m64k.patch
create mode 100644 debian/patches/03_handle-sync-and-dont-unlock-display.patch
(limited to 'debian')
diff --git a/debian/patches/02_use-ieee-fp-on-s390-and-m64k.patch b/debian/patches/02_use-ieee-fp-on-s390-and-m64k.patch
new file mode 100644
index 00000000000..2ca05adb61f
--- /dev/null
+++ b/debian/patches/02_use-ieee-fp-on-s390-and-m64k.patch
@@ -0,0 +1,10 @@
+--- a/src/mesa/main/imports.h
++++ b/src/mesa/main/imports.h
+@@ -153,6 +153,7 @@
+ defined(__mips) || defined(_MIPS_ARCH) || \
+ defined(__arm__) || \
+ defined(__sh__) || defined(__m32r__) || \
++ defined(__m68k__) || defined(__s390__) || \
+ (defined(__alpha__) && (defined(__IEEE_FLOAT) || !defined(VMS)))
+ #define USE_IEEE
+ #define IEEE_ONE 0x3f800000
diff --git a/debian/patches/03_handle-sync-and-dont-unlock-display.patch b/debian/patches/03_handle-sync-and-dont-unlock-display.patch
new file mode 100644
index 00000000000..c9089ef86ed
--- /dev/null
+++ b/debian/patches/03_handle-sync-and-dont-unlock-display.patch
@@ -0,0 +1,15 @@
+--- a/src/glx/x11/glxext.c
++++ b/src/glx/x11/glxext.c
+@@ -1016,11 +1016,11 @@
+ if (!_XReply(dpy, (xReply*) &reply, 0, False)) {
+ /* Something is busted. Punt. */
+ UnlockDisplay(dpy);
++ SyncHandle();
+ FreeScreenConfigs(priv);
+ return GL_FALSE;
+ }
+
+- UnlockDisplay(dpy);
+ if (!reply.numVisuals) {
+ /* This screen does not support GL rendering */
+ UnlockDisplay(dpy);
--
cgit v1.2.3
From 1292ec1ecf6e413fc8fd43ccea9d12e274852312 Mon Sep 17 00:00:00 2001
From: Thierry Reding
Date: Mon, 16 Oct 2006 13:11:51 +0000
Subject: Fix typo in the filename of the IEEE FP on s390 and m68k patch.
---
debian/patches/02_use-ieee-fp-on-s390-and-m64k.patch | 10 ----------
debian/patches/02_use-ieee-fp-on-s390-and-m68k.patch | 10 ++++++++++
2 files changed, 10 insertions(+), 10 deletions(-)
delete mode 100644 debian/patches/02_use-ieee-fp-on-s390-and-m64k.patch
create mode 100644 debian/patches/02_use-ieee-fp-on-s390-and-m68k.patch
(limited to 'debian')
diff --git a/debian/patches/02_use-ieee-fp-on-s390-and-m64k.patch b/debian/patches/02_use-ieee-fp-on-s390-and-m64k.patch
deleted file mode 100644
index 2ca05adb61f..00000000000
--- a/debian/patches/02_use-ieee-fp-on-s390-and-m64k.patch
+++ /dev/null
@@ -1,10 +0,0 @@
---- a/src/mesa/main/imports.h
-+++ b/src/mesa/main/imports.h
-@@ -153,6 +153,7 @@
- defined(__mips) || defined(_MIPS_ARCH) || \
- defined(__arm__) || \
- defined(__sh__) || defined(__m32r__) || \
-+ defined(__m68k__) || defined(__s390__) || \
- (defined(__alpha__) && (defined(__IEEE_FLOAT) || !defined(VMS)))
- #define USE_IEEE
- #define IEEE_ONE 0x3f800000
diff --git a/debian/patches/02_use-ieee-fp-on-s390-and-m68k.patch b/debian/patches/02_use-ieee-fp-on-s390-and-m68k.patch
new file mode 100644
index 00000000000..2ca05adb61f
--- /dev/null
+++ b/debian/patches/02_use-ieee-fp-on-s390-and-m68k.patch
@@ -0,0 +1,10 @@
+--- a/src/mesa/main/imports.h
++++ b/src/mesa/main/imports.h
+@@ -153,6 +153,7 @@
+ defined(__mips) || defined(_MIPS_ARCH) || \
+ defined(__arm__) || \
+ defined(__sh__) || defined(__m32r__) || \
++ defined(__m68k__) || defined(__s390__) || \
+ (defined(__alpha__) && (defined(__IEEE_FLOAT) || !defined(VMS)))
+ #define USE_IEEE
+ #define IEEE_ONE 0x3f800000
--
cgit v1.2.3
From 55ce23b8dbacd5a7d6587a94cc63da7846c5e7b8 Mon Sep 17 00:00:00 2001
From: Thierry Reding
Date: Mon, 16 Oct 2006 13:34:57 +0000
Subject: Beautify IEEE floating point patch.
---
debian/patches/02_use-ieee-fp-on-s390-and-m68k.patch | 17 ++++++++++-------
1 file changed, 10 insertions(+), 7 deletions(-)
(limited to 'debian')
diff --git a/debian/patches/02_use-ieee-fp-on-s390-and-m68k.patch b/debian/patches/02_use-ieee-fp-on-s390-and-m68k.patch
index 2ca05adb61f..3a06acd0ffe 100644
--- a/debian/patches/02_use-ieee-fp-on-s390-and-m68k.patch
+++ b/debian/patches/02_use-ieee-fp-on-s390-and-m68k.patch
@@ -1,10 +1,13 @@
--- a/src/mesa/main/imports.h
+++ b/src/mesa/main/imports.h
-@@ -153,6 +153,7 @@
+@@ -146,8 +146,9 @@
+ *** USE_IEEE: Determine if we're using IEEE floating point
+ ***/
+ #if defined(__i386__) || defined(__386__) || defined(__sparc__) || \
+- defined(__s390x__) || defined(__powerpc__) || \
++ defined(__s390__) || defined(__s390x__) || defined(__powerpc__) || \
+ defined(__amd64__) || \
++ defined(__m68k__) || \
+ defined(ia64) || defined(__ia64__) || \
+ defined(__hppa__) || defined(hpux) || \
defined(__mips) || defined(_MIPS_ARCH) || \
- defined(__arm__) || \
- defined(__sh__) || defined(__m32r__) || \
-+ defined(__m68k__) || defined(__s390__) || \
- (defined(__alpha__) && (defined(__IEEE_FLOAT) || !defined(VMS)))
- #define USE_IEEE
- #define IEEE_ONE 0x3f800000
--
cgit v1.2.3
From ec916398e7cdc7ba9792062a1c6c8bca2528a169 Mon Sep 17 00:00:00 2001
From: Thierry Reding
Date: Mon, 16 Oct 2006 14:43:43 +0000
Subject: Don't install libOSMesa development files in the libgl1-mesa-swx11
package.
---
debian/libgl1-mesa-swx11.install | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
(limited to 'debian')
diff --git a/debian/libgl1-mesa-swx11.install b/debian/libgl1-mesa-swx11.install
index 26237d51434..0332c792336 100644
--- a/debian/libgl1-mesa-swx11.install
+++ b/debian/libgl1-mesa-swx11.install
@@ -1,2 +1,2 @@
usr/lib/libGL.so.*
-usr/lib/libOSMesa.*
+usr/lib/libOSMesa.so.*
--
cgit v1.2.3
From 230e79916f877f87bcf7bc6b2a3eca014e54249d Mon Sep 17 00:00:00 2001
From: Thierry Reding
Date: Tue, 17 Oct 2006 19:35:35 +0000
Subject: Merge in the old Debian changelog entries and the old copyright file.
---
debian/changelog | 859 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
debian/copyright | 449 +++++++++++++++++++++++++++--
2 files changed, 1289 insertions(+), 19 deletions(-)
(limited to 'debian')
diff --git a/debian/changelog b/debian/changelog
index 450e0eecd28..58ba6d49ea5 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -5,3 +5,862 @@ mesa (6.5.1-1) unstable; urgency=low
-- Thierry Reding Sun, 15 Oct 2006 19:21:13 +0200
+mesa (6.5.1-0.2) unstable; urgency=low
+
+ * Non-maintainer upload
+ * Disable generation of SSE instructions (closes: #390560)
+ * Remove duplicate and unused build configurations
+ * Remove extra source files left from CVS snapshots (closes: #389283)
+ * Enable i965 DRI driver on i386 and amd64. Thanks to Ryan Richter
+ for the patch. (closes: #392030)
+ * Enable Unichrome DRI driver on amd64 (closes: #391900)
+ * Enable FFB DRI driver on sparc, not i386 (closes: #388025)
+ * Consistently compile C sources as C99 (closes: #373623)
+ * Fix X display locking error in GLX. Thanks to Josh Triplett for
+ the patch. (closes: #391681)
+
+ -- Ben Hutchings Fri, 13 Oct 2006 02:25:52 +0100
+
+mesa (6.5.1-0.1) unstable; urgency=low
+
+ * New upstream version
+ * Build-dep on x11proto-gl-dev >= 1.4.8
+ * Stuff not in the upstream tarballs
+ + os2 glut stuff
+ + docs/gears.png
+ * Bump libdrm-dev build-dep to >= 2.0.2
+ * Add libdrm cflags to the debian-dri config. This allows the build system
+ to find drm.h
+ * Make sure that libGl looks for the dri drivers in the proper location. Do
+ this by setting the appropriate variables in the debian config
+ * Re-add s390 and m68k to the USE_IEEE test in src/mesa/main/imports.h. This
+ package seriously needs to store patches somewhere that are easy to find
+ and re-apply.
+ * Add patch from Cyril Brulebois to allow package to build on HURD, which
+ lacks DRI and directfb. This includes not using lib-directfb in the
+ build-depends for hurd-i386. It also creates a new debian config,
+ debian-indirect, which is used when building for HURD. This config is
+ invoked in the debian-dri config on hurd-i386. Thanks to Cyril Brulebois
+ for the patch, Michael Banck, Michel Dänzer, and Samuel Thibault for
+ input on an appropriate fix. (closes: #358065)
+
+ -- David Nusinow Mon, 25 Sep 2006 21:21:47 -0400
+
+mesa (6.5.0.cvs.20060524-1.1) unstable; urgency=medium
+
+ * Non-maintainer upload.
+ * Upload mesa 6.5 cvs to unstable, because we need it for Xorg 7.1.
+ * Upload with medium urgency instead of high, since this is a new
+ upstream that should get some testing in unstable in spite of the
+ multiple RC bugfixes.
+ * Update debian/copyright with the full text of the SGI Free B and SGI
+ MIT-style licenses in use in the package, and take a stab at
+ cleaning up the list of paths and licenses.
+ Closes: #368562.
+ * Make mesa-common-dev Replaces: xlibosmesa-dev from sarge.
+ Closes: #384057.
+ * Fix libgl1-mesa-glx to not Provides: libgl1-mesa-dri, since it
+ definitely doesn't provide DRI support and this Provides: breaks
+ upgrades from sarge. Closes: #384282.
+ * debian/libgl1-mesa-swx11.shlibs: create a static shlibs file,
+ because libOSMesa.so.6 is not provided by all implementations of
+ libGL and so needs a separate shlibs declaration. Also make
+ libgl1-mesa-glx the default alternative instead of libgl1-mesa-swx11
+ for consistency even when building against libgl1-mesa-swx11,
+ because to the extent these are interchangeable (i.e., 99%...),
+ there should be no reason to prefer one over the other -- and to the
+ extent that they aren't interchangeable, it's wrong to list libgl1
+ as an alternative dependency at all. Closes: #386185.
+ * Don't provide shlibs at all for libgl1-mesa-swx11-dbg; this is an
+ unnecessary duplication of the existing libgl1-mesa-swx11 shlibs
+ since packages should not really be linking against /usr/lib/debug/
+ separately.
+ * src/mesa/tnl/t_vb_render.c: Drop a pointless printf() in the
+ RENDER_LINE macro, getting rid of copious debug output on console.
+ Closes: #369895.
+ * libgl1-mesa-swx11 has no reason to depend on libglu, anything that
+ wants libglu will have its own dependency on it; drop this
+ hard-coded dependency from debian/control.
+ * Have libglu1-mesa-dev Provides: xlibmesa-glu-dev, since it's the
+ successor to that package and xlibmesa-glu-dev is still referenced
+ in a number of places and this makes for more reliable builds than
+ depending on alternatives without requiring another dummy -dev
+ package from xorg.
+ * Replace references to Source-Version in debian/control with either
+ binary:Version or source:Version, depending on whether the
+ relationship references an arch: any or arch: all package, making
+ mesa binNMU-safe; add build-depends on dpkg-dev (>= 1.13.19) to
+ ensure these substvars are available.
+
+ -- Steve Langasek Fri, 15 Sep 2006 15:51:16 -0700
+
+mesa (6.5.0.cvs.20060524-1) experimental; urgency=low
+
+ * The "-O666 -fwater-c00ling -DBE_F4ST" release
+ * New pull from CVS
+ * Merge back and forth with 6.4.2-1
+ * configs/debian*_i386: disabled, optimized build fuxxored.
+
+ -- Marcelo E. Magallon Wed, 24 May 2006 14:12:13 -0600
+
+mesa (6.5.0.cvs.20060512-0.0.1) experimental; urgency=low
+
+ * New upstream release (6.5.0)
+ * Pulled CVS as of 2006-05-12
+ * debian/control: remove DirectFB packages
+
+ -- Marcelo E. Magallon Fri, 12 May 2006 15:23:49 -0600
+
+mesa (6.4.2-1) unstable; urgency=low
+
+ * The "please, please, please don't hate me" release.
+ * New upstream release.
+ * Ack NMUs
+ * debian/control: mesa-common-dev Replaces xlibmesa-gl-dev (<< 1:7)
+ AGAINST MY BETTER JUDGEMENT. The problem here is gratuitous package
+ renames within a system that does not support them. (closes:
+ bug#362063)
+ * debian/control: hurd-i386 doesn't have drm. Doesn't fix #358065,
+ yet.
+ * bin/mklib: fix from Robert Millan to support hurd-i386 and
+ GNU/kFreeBSD. Thanks Robert. (closes: bug#358066)
+ * src/glx/x11/indirect_vertex_array.c, src/mesa/main/glheader.h,
+ src/mesa/drivers/dri/common/glcontextmodes.c: fix broken indirect
+ rendering on 64-bit platforms. Thanks Aaron M. Ucko. (closes:
+ bug#364228)
+ * debian/control: b-d on x11proto-gl-dev. Please don't hate me!
+ * debian/control: Standards-Version: 3.7.2
+ * debian/rules: export DEB_HOST_ARCH
+ * configs/debian-dri: use DEB_HOST_ARCH to decide if certain DRI drivers
+ should be built or not.
+ + Built only for i386: i810 i830 sis.
+ Rationale: integrated chipsets available only for i386 processors.
+ + Built only for i386: ffb.
+ Rationale: Michel Dänzer said so, no idea why.
+ + Built only for i386, amd64: i915.
+ Rationale: Apparently this is available in the 64-bit Intel chipset.
+ Please file a bug report stating which drivers should be included/excluded
+ for which architectures. Positive lists are preferred. If possible state
+ why.
+ * debian/mesa-swx11-source.install: nuke this abomination. Dinamically
+ generate the list at build time.
+ * debian/drivers.map: add gl-debian-dri_i386
+ * debian/README.build: updated, add big friendly letters in short sentences.
+ Perhaps I can read it myself this way...
+ * debian/rules, configs/debian, configs/debian-dri, configs/debian_i386,
+ configs/debian-dri_i386, debian/libdir.map, debian/drivers.map: hack in
+ support for variable driver's dir. If you want this for your pet
+ architecture please provide BOTH configs/debian_arch and
+ configs/debian-dri_arch. If you just want to include/exclude DRI drivers
+ on your architecture look in configs/debian-dri.
+ * configs/debian*_i386: disabled, optimized build fuxxored.
+ * debian/rules: remove misguided Perl construct, replace by something
+ simpler in shell. I actually meant to do something else with the Perl
+ thing, but got distracted and forgot about it. Thanks Aaron M. Ucko!
+ * debian/rules: make it work like debian/README.build says it works wrt to
+ building optimized targets.
+
+ -- Marcelo E. Magallon Tue, 16 May 2006 18:07:53 -0600
+
+mesa (6.4.1-0.4) unstable; urgency=low
+
+ * NMU
+ * Add versioned conflict between libgl1-mesa-dri and xlibmesa-dri so that
+ the xlibmesa-dri transitional upgrade package works
+
+ -- David Nusinow Mon, 6 Mar 2006 21:46:18 -0500
+
+mesa (6.4.1-0.3) unstable; urgency=low
+
+ * NMU
+ * Add s390 and m68k to the USE_IEEE test in src/mesa/main/imports.h.
+ (closes: #349437)
+
+ -- David Nusinow Sat, 11 Feb 2006 17:59:26 -0500
+
+mesa (6.4.1-0.2) unstable; urgency=low
+
+ * NMU
+ * Re-add dh_installdirs call to binary-indep target so that we get
+ arch-specific dirs for the mesa-swx11-source package
+ * Remove makedepend from build-depends. Now we'll just build-dep on xutils
+ to get the app, which will translate over to our own xorg 7.0 plans.
+
+ -- David Nusinow Tue, 31 Jan 2006 19:21:12 -0500
+
+mesa (6.4.1-0.1) unstable; urgency=low
+
+ [ Marcelo E. Magallon ]
+ * debian/control: build-depend on xutils
+ * include/GL/glx{int,proto,md,tokens}.h: missing upstream (closes: bug#326466)
+ * debian/libgl1-mesa-dri-dev.install: install GLX include files here, too.
+ * debian/rules: GLU and GLW don't have arch-specific targets.
+
+ [ Daniel Stone ]
+ * New upstream version, incorporating changes from Ubuntu 6.3 packaging.
+ * Rename packages:
+ - mesag3 -> libgl1-mesa-swrast
+ - mesag-dev -> libgl1-mesa-swrast-dev
+ - libgl1-mesa-dri -> libgl1-mesa
+ - libgl1-mesa-dri-dev -> libgl1-mesa-dev
+ - libgl1-mesa-dri still exists, but now contains the DRI modules only.
+ * Drop dependency *from* mesa-common-dev on libgl1-mesa-dev and
+ libglu1-mesa-dev; it should be the other way around. (closes: #336565)
+ * Add Build-Depends on pkg-config to get flags from libdrm, and libexpat-dev
+ for DRI configuration. Break out xlibs-dev Build-Depends to the
+ individual libraries required.
+ * Bump libdrm-dev Build-Depends to >> 1.0.5, in order to get new
+ via_drm.h to build the unichrome DRI driver.
+ * Configs: pare DRI drivers down to a sensible set for each architecture.
+ * Remove completely broken Glide target, which caused FTBFS.
+ * Add mesa-swrast-source package, providing the source for the software
+ rasteriser for libGLcore in the X server.
+ * Drop tight libosmesa6 -> libgl1-mesa-swrast Depends, replace with
+ shlibs:Depends.
+
+ [ David Nusinow ]
+ * New upstream version (6.4.1) (closes: #232665)
+ * Merge changes from Ubuntu version 6.4.1-0ubuntu1.
+ (closes: #341479, #340168, #334742)
+ + Add new files required by xorg-server GL build to mesa-swrast-source.
+ * NMU to begin getting Xorg 7.0 in to Debian
+ * Change libgl1-mesa-swrast Depends on libx11-6-dev to libx11-dev.
+ * Change libgl1-mesa-swrast to be named libgl1-mesa-swx11
+ * Change libgl1-mesa to be named libgl1-mesa-glx
+ * mesa-swrast-src.install stop looking for the swx11 dir and look for swrast
+
+ -- David Nusinow Sat, 21 Jan 2006 21:43:37 -0500
+
+mesa (6.3.2-2.1) unstable; urgency=low
+
+ * Non-maintainer upload.
+ * Adjust Build-Depends:
+ + xlibs transition (Closes: #347129).
+ + xutils, xlibmesa-gl-dev (Closes: #326466).
+ * mesag-dev: Depends: libx11-dev (Closes: #347205).
+
+ -- Christoph Berg Fri, 20 Jan 2006 20:45:43 +0100
+
+mesa (6.3.2-2) unstable; urgency=low
+
+ * debian/rules: build only whatever needs to be build according to
+ debian/control.
+ * debian/libdir.map: it's usr/lib/debug not usr/lib/dbg
+ * debian/rules: select optimized targets for the current host architecture
+ only (thanks Michel!)
+ * debian/README.build: reword some of the directions, add more info.
+ * debian/control: forgot to add CPR relationships in the new packages
+ (thanks Michel!)
+ * debian/control: Set maintainer to pkg-mesa-devel, add myself as uploader
+
+ -- Marcelo E. Magallon Sun, 28 Aug 2005 14:41:15 -0600
+
+mesa (6.3.2-1) unstable; urgency=low
+
+ * New upstream
+ * configs/debian-dri: new target
+ * debian/control: add build-depends on libdrm-dev
+ * debian/rules: pass SRC_DIRS instead of SUBDIRS on the command line.
+ This allows for configurations to override the command line in a
+ sane way.
+ * configs/debian-dri: override SRC_DIRS
+ * configs/debian: add -D_GNU_SOURCE (required by dri drivers)
+ * debian/control, debian/rules: drop glide out of this package, it
+ will be moved to the mesa-legacy package, forked from 6.2.1-7.
+ * debian/drivers.map, debian/rules: take into account that some
+ drivers have external components.
+ + To be fixed: debian/drivers.map hardcodes locations
+ * debian/control: libgl1-mesa-dri, libgl1-mesa-directfb: new drivers
+ * dh_makeshlibs for libgl1-mesa-dri and libgl1-mesa-directfb
+ * debian/control: priority is optional... again...
+
+ -- Marcelo E. Magallon Sun, 21 Aug 2005 17:13:19 -0600
+
+mesa (6.2.1-7) unstable; urgency=low
+
+ * Previous upload got lost somewhere
+ + bin/mklib: add GNU/kFreeBSD, patch from Aurelien Jarno (closes:
+ bug#307154)
+ + recompile with newer g++
+
+ -- Marcelo E. Magallon Tue, 02 Aug 2005 06:47:20 -0600
+
+mesa (6.2.1-6) unstable; urgency=low
+
+ * bin/mklib: add GNU/kFreeBSD, patch from Aurelien Jarno (closes:
+ bug#307154)
+ * recompile with newer g++
+
+ -- Marcelo E. Magallon Sun, 24 Jul 2005 11:47:16 -0600
+
+mesa (6.2.1-5) unstable; urgency=low
+
+ * debian/rules: big mess up, files are not being moved to their proper
+ places. I naively assumed that command-line options to debhelper
+ commands would override DH_OPTIONS, that is, that having
+ DH_OPTIONS=-i (as suggested in the documentation) would mean
+ something like "use -i unless -p is passed on the command line". It
+ actually means "use -i in addition to -p passed on the command
+ line", which does not make any sense, but is consistent with the
+ wording in the documentation. (closes: bug#306499, bug#306918,
+ bug#307095)
+
+ -- Marcelo E. Magallon Sun, 01 May 2005 09:45:12 -0600
+
+mesa (6.2.1-4) unstable; urgency=low
+
+ * debian/control: fix description to reflect the exact content and
+ purpose of package (libosmesa-dev, mesag-dev).
+ * debian/rules: DH_OPTIONS=-s added to binary-arch target. (closes:
+ bug#306091)
+
+ -- Marcelo E. Magallon Sat, 26 Mar 2005 08:03:44 -0600
+
+mesa (6.2.1-3) unstable; urgency=low
+
+ * debian/control: try to match the override file. If mesa is "extra"
+ (for whatever reason), all the packages should be extra.
+ * debian/rules: quick workaround for left-over libGL.so in GLU -dev
+ package.
+
+ -- Marcelo E. Magallon Thu, 24 Mar 2005 19:35:34 -0600
+
+mesa (6.2.1-2) unstable; urgency=low
+
+ * The "thank you so much, I'm still voting against you" release.
+ * debian/rules: correct artifact of me not having had a proper
+ pbuilder environment to build stuff on and the repackaging from the
+ previous release. The -glu- and -glw- targets now explicitly depend
+ on the matching -gl- target, and symlinks are placed in the build
+ directories in order to actually have a libGL.so to make ld happy
+ when creating the libraries.
+ * debian/rules: uncomment dh_install :-\ There was a reason why I had
+ commented that out...
+ * First change closes: bug#298922
+ * Second change closes: bug#300302, bug#300284, bug#300430
+ * debian/control: "An X", whatever, I've been corrected multiple times
+ in both ways (translators beware). (closes: bug#300012)
+
+ -- Marcelo E. Magallon Sun, 20 Mar 2005 22:03:29 -0600
+
+mesa (6.2.1-1) unstable; urgency=low
+
+ * The "autobuilders, please please please don't hate me" release.
+ * New upstream.
+ * Repackage:
+ + Fall prey to debhelper
+ + Entries below this one preserved for historical reasons or
+ sentimental value, pick as many as you want. They bear NO
+ relation to the actual packages!
+ * configs/debian, configs/debian-debug, configs/debian-debug-i386,
+ configs/debian-glide, configs/debian-glide-i386, configs/debian-i386,
+ configs/debian-osmesa16, configs/debian-osmesa16-static,
+ configs/debian-osmesa32, configs/debian-osmesa32-static,
+ configs/debian-static, configs/debian-static-i386: new files.
+ * configs/debian-sparc: Dave Miller confirmed that the sparc assembly
+ files do work on Linux. I don't know where to install the optimized
+ libraries, so the file doesn't actually exist. Please read
+ debian/README.build if you want to have a sparc-optimized library.
+ * debian/control: GGI and glide2 are gone. glide is glide3.
+ * debian/rules: modify shlibs file for the glide3 target to require glide3
+ and only glide3 because that library exports functions not available in
+ other libGLs. Rationale: if someone is compiling a Debian package and
+ uses the glide target either he doesn't know what he is doing or he knows
+ exactly what he is doing. In the first case the package should not be
+ installable and in the second case the package requires this particular
+ version.
+ * debian/control: libgl1-mesa-glide3-dev does NOT provide a proper OpenGL
+ development environment (see above).
+ * PCR is bound to be wrong... *sigh*
+
+ -- Marcelo E. Magallon Sat, 25 Dec 2004 14:50:02 -0600
+
+mesa (6.0.1-1) unstable; urgency=low
+
+ * New upstream release.
+ * debian/rules: redid a bunch of stuff in order to support new build system
+ without autoconf and automake stuff. The next version is going to change
+ this _again_.
+
+ -- Marcelo E. Magallon Sun, 11 Apr 2004 07:00:19 -0600
+
+mesa (5.0.0-5.1) unstable; urgency=low
+
+ * Non-Maintainer Upload.
+ * Rename "GGIMesa"-references in src/GGI/default/Makefile.am to
+ "MesaGGI", which makes the package build again with newer libtool.
+ (Closes: #213836)
+
+ -- Steinar H. Gunderson Sun, 15 Feb 2004 17:37:08 +0100
+
+mesa (5.0.0-5) unstable; urgency=low
+
+ * debian/control: yank and put error? Remove hard-coded
+ nvidia-glx-dev from mesag-glide2-dev dependencies.
+
+ -- Marcelo E. Magallon Sun, 09 Feb 2003 10:31:51 +0100
+
+mesa (5.0.0-4) unstable; urgency=low
+
+ * debian/rules: fix typo in definition of GLIDE_ARCHS. (closes: bug#179622)
+
+ -- Marcelo E. Magallon Mon, 03 Feb 2003 20:19:12 +0100
+
+mesa (5.0.0-3) unstable; urgency=low
+
+ * The "it's amazing how people pick severities" release
+ * debian/control: mesa-common-dev conflicts with xlibmesa-dev. Actually put
+ dependency of mesa-common-dev on the mesa-*-dev packages to avoid having
+ to track other libgl-dev packages popping up. IMO this is less error
+ prone. You can't install mesa-common-dev without installing mesa-*-dev,
+ and those packages conflict with other libgl-dev packages. (closes:
+ bug#177996)
+ * Rename libglu1c102 to libglu1-mesa; the libglu1c102 is incorrent since
+ this library does not export C++ functions. Sorry about the mess.
+ * Rename libglu1-dev to libglu1-mesa-dev to be consistent
+ * debian/rules: use grep-dctrl to extract architectures from debian/control
+ * debian/control: add grep-dctrl to build-depends
+ * debian/shlibs.libglu: libglu1-mesa | libglu1
+ * debian/rules: install include/GL/xmesa.h in /usr/include/GL/xmesa.h; I'm
+ not 100% sure this is the right thing to do, but it's a niche so I don't
+ think it will actually make trouble (closes: bug#148866)
+ * debian/rules: install include/GL/glx*.h in the common package. (closes:
+ bug#178562)
+ * debian/rules: nasty hack to work arround libtool's idea of how libraries
+ should be linked (closes: bug#178514)
+ * debian/rules: even nastier hack. Getting environment variables to
+ percolate thru all the make calls isn't getting anywhere.
+ * si-glu/Makefile.am: export only glu.* symbols
+ * si-glu/Makefile.am: add -lm to link line
+ * src/Makefile.am: god damm it. If you use libm link to it!
+ * debian/control: mesa-common-dev depends on libglu1-mesa-dev to satisfy
+ libgl-dev's requirements
+
+ -- Marcelo E. Magallon Mon, 27 Jan 2003 17:15:25 +0100
+
+mesa (5.0.0-2) unstable; urgency=low
+
+ * debian/control: Not funny, I'm sure I put lesstif and xlibs-dev in the
+ build-depends. CVS says I didn't. (closes: bug#176730)
+ * debian/control, debian/rules: regenerate auto-stuff (closes: bug#176729)
+ * debian/control, debian/rules: GCC C++ 3.2 transition (libglu1c102 -- ugly!)
+ * remove Makefile.in from CVS control
+ * si-glu/libnurbs/interface/Makefile.am: fix INCLUDES macro
+
+ -- Marcelo E. Magallon Sun, 19 Jan 2003 00:48:32 +0100
+
+mesa (5.0.0-1) unstable; urgency=low
+
+ * New upstream release, it looks like glide and GGI are in working
+ condition again.
+ * FX patches from previous releases gone. They'll be back later.
+ * debian/rules: some clean ups.
+ * debian/control: add libglu1 packages
+ * debian/control: Standards-Version: 3.5.8
+ * debian/rules: Build Xt widgets (if you need this stuff, you need to depend
+ on mesag-dev, libgl-dev is not enough)
+ * debian/control, debian/rules: add mesa-common-dev package
+ * debian/control, debian/rules: add osmesa packages.
+
+ -- Marcelo E. Magallon Sun, 15 Dec 2002 12:28:49 +0100
+
+mesa (4.0.3-1) unstable; urgency=low
+
+ * New (and long delayed) upstream version
+ * Redid a bunch of FX patches, probably broke.
+
+ -- Marcelo E. Magallon Thu, 03 Oct 2002 11:27:29 +0200
+
+mesa (3.5-1) unstable; urgency=low
+
+ * New upstream version.
+ * Redid patches.
+ * Disabled building GGI target. Someone with a good understanding of GGI
+ needs to write a driver for mesa. The old version doesn't cut it
+ anymore.
+ * Most makefiles won't work. Copied them out of CVS.
+ * src/Makefile.am: add -lm to library list. (closes: bug#102717)
+ * configure.in: adjust GLU's version info to match previous release.
+
+ -- Marcelo E. Magallon Mon, 25 Jun 2001 22:13:40 +0200
+
+mesa3 (3.4.2.1-4) unstable; urgency=low
+
+ * So, here's the deal: the 3Dfx backend is going nowhere in 4.x and 5.x is
+ just arround the corner. Same thing for the GGI stuff. In order to leave
+ the people who need this stuff with _something_ to work with, I'll compile
+ those targets out of the mesa3 source package and the mesa package will
+ stuck to plain old X.
+ * debian/control, debian/rules: strip out all the parts concerning to mesa3g
+ and mesa3g-dev
+ * debian/control: update GGI architectures, let's see what happens
+ * debian/rules: special case alpha for stripping options. Chris, did you
+ ever figure out what the problem actually is? (closes: bug#99284)
+ * debian/rules: hereby I decree that everything in etc is a conffile. Die
+ future bugs, die!.
+ * configure: fix ggi_libdir, ggi_confdir (closes: bug#139598)
+
+ -- Marcelo E. Magallon Sun, 29 Sep 2002 11:21:00 +0200
+
+mesa (3.4.2.1-3) unstable; urgency=low
+
+ * Actually install widgets on the mesag-dev package (closes: bug#98988)
+
+ -- Marcelo E. Magallon Sat, 9 Jun 2001 16:39:36 +0200
+
+mesa (3.4.2.1-2) unstable; urgency=low
+
+ * src/X/xmesa1.c: I knew it, I knew it. This was bound to break. Stupid
+ typo. Restored MESA_GLX_FX (got renamed to GLX_FX accidentally, if you
+ have to know) (closes: bug#94114)
+
+ -- Marcelo E. Magallon Mon, 21 May 2001 08:52:07 +0200
+
+mesa (3.4.2.1-1) unstable; urgency=low
+
+ * Upstream released 3.4.2.
+ * Hmmm... thought about it on my way home. The code to parse 3dfx.conf
+ is wrong. Redid. Still not tested. (closes: bug#94114)
+ * debian/README.Debian: document 3dfx.conf
+
+ -- Marcelo E. Magallon Sat, 19 May 2001 11:57:33 +0200
+
+mesa (3.4.2-1) unstable; urgency=low
+
+ * New upstream version.
+ * debian/config.guess, debian/config.sub: newest versions from
+ http://subversions.gnu.org/cgi-bin/cvsweb/config (closes: bug#95338)
+ * GAAAAAAARGGH! src/X/xmesa1.c: horrible hack to use /etc/mesa/3dfx.conf
+ if there's no MESA_GLX_FX environment variable defined. I. Hate.
+ This. I'll make a deal with you: you find another of these things,
+ and you send me a nice tested patch. I don't have a 3DFX card and I
+ *HATE* uploading stuff I can't fully test. (closes: bug#94114)
+ * debian/rules: use the new files
+ * debian/rules: s/TMPDIR/DTEMPDIR/g
+ * gl3DfxSetDitherModeEXT from Zephaniah (closes: bug#65860)
+ * Disable GL_EXT_shared_texture_palette per default. Patch looks funny,
+ but I'll blindly trust Zephaniah.
+ * Hmmm... I hope Zephaniah tested this, because it broke in a rather silly
+ way at compile time.
+ * Fancy what people regard as "pretty important".
+
+ -- Marcelo E. Magallon Fri, 18 May 2001 09:23:49 +0200
+
+mesa (3.4.1-3) unstable; urgency=low
+
+ * PLEASE SUBMIT NMUs TO THE BTS, DAMN IT!
+ * debian/control: exclude m68k from libggi2-dev build-dependency.
+
+ -- Marcelo E. Magallon Sat, 17 Mar 2001 19:45:09 +0100
+
+mesa (3.4.1-2) unstable; urgency=low
+
+ * debian/control: add missing dependency on xlibs-dev and corrected the
+ one for libglide2-dev
+
+ -- Marcelo E. Magallon Wed, 14 Mar 2001 00:21:42 +0100
+
+mesa (3.4.1-1) unstable; urgency=low
+
+ * New upstream version.
+ * New maintainer. (closes: bug#81139)
+ * Some fixes to get it to compile.
+ * debian/rules: some reorganization happened to allow me test different
+ builds better.
+ * debian/control: nuked widgets package, if you miss it, you are doing
+ something wrong.
+ * debian/rules: -dev packages will be missing some garbage they used to
+ install. If you miss any of those files, I'm fairly confident you
+ are doing something wrong.
+ * configure, ltmain.sh, aclocal.m4, acinclude.m4, ...: vicious hacks to
+ allow the GGI version to compile.
+ * TODO: add the widgets to the packages
+ * TODO: make OSmesa packages
+
+ -- Marcelo E. Magallon Sat, 10 Feb 2001 18:34:13 +0100
+
+mesa (3.2.1-1) unstable; urgency=low
+
+ * New upstream version.
+
+ -- James A. Treacy Mon, 31 Jul 2000 15:13:34 -0400
+
+mesa (3.2-2) frozen unstable; urgency=low
+
+ * add MMX and 3Dnow opts for x86.
+
+ -- James A. Treacy Fri, 7 Jul 2000 16:06:43 -0400
+
+mesa (3.2-1) frozen unstable; urgency=low
+
+ * New upstream version.
+ * Made minor changes to README.3DFX. Closes bug#56827
+ * Added symlinks for mesa widget libraries. Closes bug#63115
+
+ -- James A. Treacy Wed, 28 Jun 2000 11:21:09 -0400
+
+mesa (3.1-17) frozen unstable; urgency=low
+
+ * Fixed Makefile for demos in mesag-widgets-dev. Closes bug#62674
+
+ -- James A. Treacy Fri, 19 May 2000 13:23:00 -0400
+
+mesa (3.1-16) frozen unstable; urgency=low
+
+ * Add --prefix=/usr to ggi build. Closes bug#61705, #61486
+
+ -- James A. Treacy Wed, 12 Apr 2000 15:12:48 -0400
+
+mesa (3.1-15) frozen unstable; urgency=low
+
+ * Remove ggi from the build on m68k. Closes bug#59273
+
+ -- James A. Treacy Mon, 6 Mar 2000 13:20:29 -0500
+
+mesa (3.1-14) frozen unstable; urgency=low
+
+ * Fixed hard-coded location of config file in library. This is release
+ critical, even though no bug was filed (relates to bug#58267).
+
+ -- James A. Treacy Mon, 28 Feb 2000 10:58:34 -0500
+
+mesa (3.1-13) frozen unstable; urgency=low
+
+ * Add missing ggi libraries. Closes bug#58267, #57760
+
+ -- James A. Treacy Thu, 24 Feb 2000 00:59:30 -0500
+
+mesa (3.1-12) frozen unstable; urgency=low
+
+ * Dependencies are now computed in a more intelligent way. Closes: bug#55861
+
+ -- James A. Treacy Fri, 21 Jan 2000 16:26:40 -0500
+
+mesa (3.1-11) frozen unstable; urgency=low
+
+ * Remove svgalib support from the software only package of mesa
+
+ -- James A. Treacy Sat, 22 Jan 2000 05:33:13 +0000
+
+mesa (3.1-10) frozen unstable; urgency=low
+
+ * Fix the mesag3-glide2 postinst. Closes bug#55462
+
+ -- James A. Treacy Sat, 22 Jan 2000 02:06:27 +0000
+
+mesa (3.1-9) frozen unstable; urgency=low
+
+ * The ggi based packages are now built with the other versions of mesa. Closes: bug#49218, #55221
+
+ -- James A. Treacy Sat, 15 Jan 2000 22:24:13 -0500
+
+mesa (3.1-8) unstable; urgency=low
+
+ * fixed the postinst and prerm for the glide packages
+ * added Provides: mesag-dev to the mesag-glide2-dev package to maintain
+ backwards compatability
+
+ -- James A. Treacy Sat, 15 Jan 2000 01:01:58 -0500
+
+mesa (3.1-7) unstable; urgency=low
+
+ * Fix version number for soname in the shlib file. Closes: bug#54926
+
+ -- James A. Treacy Thu, 13 Jan 2000 01:37:03 -0500
+
+mesa (3.1-6) unstable; urgency=low
+
+ * Include docs/README.3DFX in mesag3-glide2 package. Closes: bug#54625
+ * Remove Provides: libgl1 from mesag3-widgets. Closes: bug#54774
+ * conflicts with older versions of mesa. Closes: bug#54831
+
+ -- James A. Treacy Mon, 10 Jan 2000 11:50:49 -0500
+
+mesa (3.1-5) unstable; urgency=low
+
+ * now Conflicts: libgl1
+ * remove extra '.' in library name
+
+ -- James A. Treacy Sun, 9 Jan 2000 20:47:31 -0500
+
+mesa (3.1-4) unstable; urgency=low
+
+ * Added links libGL.so.1 <- libMesaGL.so.3 so existing progs don't break
+ * Copyright changed for version 3.1
+
+ -- James A. Treacy Thu, 6 Jan 2000 17:11:11 -0500
+
+mesa (3.1-3) unstable; urgency=low
+
+ * copyright file now refers to /usr/share/common-license/LGPL.
+
+ -- James A. Treacy Tue, 4 Jan 2000 11:50:45 -0500
+
+mesa (3.1-2) unstable; urgency=low
+
+ * Second try. Fixed shlibs file.
+
+ -- James A. Treacy Tue, 4 Jan 2000 00:00:29 -0500
+
+mesa (3.1-1) unstable; urgency=low
+
+ * New upstream version.
+ * glide version of packages added, since glide is now under the GPL.
+ * mesa widget libraries are now in a separate package
+ * library names are changed to lib{GL,GLU}.*
+
+ -- James A. Treacy Tue, 14 Dec 1999 10:06:14 -0500
+
+mesa (3.0-2) unstable; urgency=low
+
+ * added symlinks from libMesaGL* -> libGL*. Fixes bug #37160
+ * added lines (commented out) for building a glide version of mesa. Fixes bug #39758
+
+ -- James A. Treacy Thu, 13 May 1999 01:02:42 -0400
+
+mesa (3.0-1) unstable; urgency=low
+
+ * mesa libs moved to /usr/lib. Fixes bug #26874
+ * motif widget library libMesaGLwM added (compiled using headers from lesstif). Fixes bug #25380
+
+ -- James A. Treacy Thu, 6 Aug 1998 13:49:37 -0400
+
+mesa (2.6-4) unstable; urgency=low
+
+ * call to ldconfig in postinst put back in. Fixes bug #20552
+ * changelog.Debian file created for the mesa-doc package.
+ * deleted miscellaneous files. Fixes bug #21481
+
+ -- James A. Treacy Sat, 23 May 1998 23:41:34 -0400
+
+mesa (2.6-3) frozen unstable; urgency=low
+
+ * No changes. Just trying (again) to get this back in the distribution
+
+ -- James A. Treacy Tue, 24 Mar 1998 00:53:09 -0500
+
+mesa (2.6-2) unstable frozen; urgency=low
+
+ * point copyright to LPGL in /usr/doc/copyright. Fixes bug #19633
+
+ -- James A. Treacy Sun, 15 Mar 1998 14:00:33 -0500
+
+mesa (2.6-1) unstable; urgency=low
+
+ * New upstream Release
+ * strip static lib with --strip-debug and shared with strip--unneeded: Fixes bug#17301
+ * create doc package in build-indep: Fixes bug#16090
+ * added widgets-mesa library to package: Fixes bug#15729
+ * created mesa-glide* packages
+
+ -- James A. Treacy Mon, 19 Jan 1998 23:45:50 -0500
+
+mesa (2.5-2) unstable; urgency=low
+
+ * Corrected i386 specific debian/rules file: Fixes bug#15640
+
+ -- James A. Treacy Fri, 5 Nov 1997 11:46:13 -0500
+
+mesa (2.5-1) unstable; urgency=low
+
+ * New upstream release.
+
+ -- James A. Treacy Sun, 23 Nov 1997 20:46:13 -0500
+
+mesa (2.4-1) unstable; urgency=low
+
+ * New upstream release.
+ * New maintainer.
+ * libc6 release.
+
+ -- James A. Treacy Mon, 3 Nov 1997 01:11:34 -0500
+
+mesa (2.2-2) unstable; urgency=low
+
+ * debian/control: mesa-doc no longer depends on mesa (bug #8840).
+
+ -- Karl Sackett Wed, 30 Apr 1997 10:25:25 -0500
+
+mesa (2.2-1) unstable; urgency=low
+
+ * New upstream release.
+ * Make-config: linux-elf libraries compiled with -D_REENTRANT.
+
+ -- Karl Sackett Wed, 19 Mar 1997 09:10:22 -0600
+
+mesa (2.1-4) unstable; urgency=low
+
+ * debian/control: lib packages moved from 'graphics' to 'libs'.
+ * debian/rules: headers moved from /usr/include/mesa to /usr/include
+ (no more -I/usr/include/mesa).
+
+ -- Karl Sackett Tue, 25 Feb 1997 09:30:23 -0600
+
+mesa (2.1-3) unstable; urgency=low
+
+ * debian/control: mesa2 provides mesa and conflicts with mesa
+ (bug #7394).
+
+ -- Karl Sackett Mon, 17 Feb 1997 09:25:42 -0600
+
+mesa (2.1-2) unstable; urgency=low
+
+ * debian/rules: install gmesa.h, osmesa.h, FooMesa.h in mesa-dev
+ (bug #6864).
+
+ -- Karl Sackett Tue, 28 Jan 1997 09:37:41 -0600
+
+mesa (2.1-1) unstable; urgency=low
+
+ * New upstream release.
+ * Added soname to mesa and mesa-widgets.
+ * Moved static libraries to mesa2-dbg.
+ * debian/postinst, postinst-widgets: call ldconfig without explicit
+ pathname (bugs #6176, 6180).
+
+ -- Karl Sackett Mon, 6 Jan 1997 09:30:10 -0600
+
+mesa (2.0-2) unstable; urgency=low
+
+ * Created mesa-widgets and mesa-widgets-dev (Bug #5029).
+
+ -- Karl Sackett Wed, 30 Oct 1996 08:44:19 -0600
+
+mesa (2.0-1) unstable; urgency=low
+
+ * src/draw.c: replaced with upstream patch.
+ * Make-config: linux-elf target builds libMesaGLw.so library, looks
+ for XLIBS in /usr/X11R6/lib, removed -mieee-mp from CFLAGS.
+ * widgets-sgi/Makefile: builds libMesaGlw.a library
+ * New upstream release.
+ * Converted to new package standard.
+ * Maintainer address changed.
+
+ -- Karl Sackett Mon, 14 Oct 1996 15:37:19 -0500
+
+1.2.8-3
+ * Package split into runtime, development, and documentation
+ packages.
+ * widgets now made as a sharable library.
+ * GLUT removed. This will be released as a separate package.
+
+1.2.8-2
+ * Support files now architecture-independent
+
+1.2.8-1
+ * Upgrade to latest release
+ * Brought support files up to latest packaging requirements
+ * mondello/Makefile: fixed error in realclean target
+
+1.2.7-2
+ * debian.rules: clean all Makefiles out of widgets directory
+ * debian.postrm: remove /usr/lib/mesa entry from /etc/ld.so.config
+ (bug #2817)
+
+1.2.7-1
+ * Added Debian support files
+ * Included the GLUT OpenGL Utility Toolkit
+ * Makefile - disable building programs in demos, samples, and book
+ directories
+ * mklib.linux - disabled building *.a libraries
+ * widgets/Makefile.in - disabled building demo programs
diff --git a/debian/copyright b/debian/copyright
index 1a07b1d9247..03ac1d5b8c6 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -1,30 +1,441 @@
-This package was debianized by Thierry Reding on
-Sat, 14 Oct 2006 02:01:12 +0200.
+This package was debianized by James A. Treacy treacy@debian.org on Thu,
+6 Jan 2000 01:11:34 -0500. It was newly debianized by Marcelo E.
+Magallon on Sat, 25 Dec 2004 14:50:02 -0600. It was
+again debianized by Thierry Reding on Sat, 14 Oct 2006
+02:01:12 +0200.
-It was downloaded from http://mesa3d.org/download.html.
+It was downloaded from http://www.mesa3d.org/download.html
-Upstream Author: Brian Paul
+For more information see:
+
+ http://www.mesa3d.org/
+
+Copyright:
+
+Upstream Author: Brian Paul
License:
- Copyright (C) 1999-2005 Brian Paul All Rights Reserved.
+ License / Copyright Information
+
+ The Mesa distribution consists of several components. Different
+ copyrights and licenses apply to different components. For
+ example, GLUT is copyrighted by Mark Kilgard, some demo programs
+ are copyrighted by SGI, some of the Mesa device drivers are
+ copyrighted by their authors. See below for a list of Mesa's
+ components and the copyright/license for each.
+
+ The core Mesa library is licensed according to the terms of the
+ XFree86 copyright (an MIT-style license). This allows integration
+ with the XFree86/DRI project. Unless otherwise stated, the Mesa
+ source code and documentation is licensed as follows:
+
+ Copyright (C) 1999-2003 Brian Paul All Rights Reserved.
+
+ Permission is hereby granted, free of charge, to any person obtaining a
+ copy of this software and associated documentation files (the "Software"),
+ to deal in the Software without restriction, including without limitation
+ the rights to use, copy, modify, merge, publish, distribute, sublicense,
+ and/or sell copies of the Software, and to permit persons to whom the
+ Software is furnished to do so, subject to the following conditions:
+
+ The above copyright notice and this permission notice shall be included
+ in all copies or substantial portions of the Software.
+
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
+ OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
+ BRIAN PAUL BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
+ AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
+ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+ Attention, Contributors
+
+ When contributing to the Mesa project you must agree to relinquish
+ your work to the holder of the copyright for the particular
+ component you're contributing to. That is, you can't put your own
+ copyright on the code, unless it's a modular piece that can be
+ omitted from Mesa (like a new device driver). If for example, you
+ contribute a bug fix to Mesa's texture mapping code, your code
+ will become a part of the body of work which is copyrighted by
+ Brian Paul and licensed by the above terms.
+
+----------------------------------------------------------------------
+
+Some files, as listed below, are made available under the SGI Free B
+license. This license is as follows:
+
+ SGI FREE SOFTWARE LICENSE B (Version 1.1 [02/22/2000])
+
+1. Definitions.
+
+1.1. "Additional Notice Provisions" means such additional provisions as
+ appear in the Notice in Original Code under the heading "Additional
+ Notice Provisions."
+
+1.2. "Covered Code" means the Original Code or Modifications, or any
+ combination thereof.
+
+1.3. "Hardware" means any physical device that accepts input, processes
+ input, stores the results of processing, and/or provides output.
+
+1.4. "Larger Work" means a work that combines Covered Code or portions
+ thereof with code not governed by the terms of this License.
+
+1.5. "Licensable" means having the right to grant, to the maximum extent
+ possible, whether at the time of the initial grant or subsequently
+ acquired, any and all of the rights conveyed herein.
+
+1.6. "License" means this document.
+
+1.7. "Licensed Patents" means patent claims Licensable by SGI that are
+ infringed by the use or sale of Original Code or any Modifications
+ provided by SGI, or any combination thereof.
+
+1.8. "Modifications" means any addition to or deletion from the
+ substance or structure of the Original Code or any previous
+ Modifications. When Covered Code is released as a series of files,
+ a Modification is:
+
+ A. Any addition to the contents of a file containing Original Code
+ and/or addition to or deletion from the contents of a file
+ containing previous Modifications.
+
+ B. Any new file that contains any part of the Original Code or
+ previous Modifications.
+
+1.9. "Notice" means any notice in Original Code or Covered Code, as
+ required by and in compliance with this License.
+
+1.10. "Original Code" means source code of computer software code that
+ is described in the source code Notice required by Exhibit A as
+ Original Code, and updates and error corrections specifically
+ thereto.
+
+1.11. "Recipient" means an individual or a legal entity exercising
+ rights under, and complying with all of the terms of, this License
+ or a future version of this License issued under Section 8. For
+ legal entities, "Recipient" includes any entity that controls, is
+ controlled by, or is under common control with Recipient. For
+ purposes of this definition, "control" of an entity means (a) the
+ power, direct or indirect, to direct or manage such entity, or (b)
+ ownership of fifty percent (50%) or more of the outstanding shares
+ or beneficial ownership of such entity.
+
+1.12. "Recipient Patents" means patent claims Licensable by a Recipient
+ that are infringed by the use or sale of Original Code or any
+ Modifications provided by SGI, or any combination thereof.
+
+1.13. "SGI" means Silicon Graphics, Inc.
+
+1.14. "SGI Patents" means patent claims Licensable by SGI other than the
+ Licensed Patents.
+
+2. License Grant and Restrictions.
+
+2.1. SGI License Grant. Subject to the terms of this License and any
+ third party intellectual property claims, for the duration of
+ intellectual property protections inherent in the Original Code,
+ SGI hereby grants Recipient a worldwide, royalty-free,
+ non-exclusive license, to do the following: (i) under copyrights
+ Licensable by SGI, to reproduce, distribute, create derivative
+ works from, and, to the extent applicable, display and perform the
+ Original Code and/or any Modifications provided by SGI alone and/or
+ as part of a Larger Work; and (ii) under any Licensable Patents, to
+ make, have made, use, sell, offer for sale, import and/or otherwise
+ transfer the Original Code and/or any Modifications provided by
+ SGI. Recipient accepts the terms and conditions of this License by
+ undertaking any of the aforementioned actions. The patent license
+ shall apply to the Covered Code if, at the time any related
+ Modification is added, such addition of the Modification causes
+ such combination to be covered by the Licensed Patents. The patent
+ license in Section 2.1(ii) shall not apply to any other
+ combinations that include the Modification. No patent license is
+ provided under SGI Patents for infringements of SGI Patents by
+ Modifications not provided by SGI or combinations of Original Code
+ and Modifications not provided by SGI.
+
+2.2. Recipient License Grant. Subject to the terms of this License and
+ any third party intellectual property claims, Recipient hereby
+ grants SGI and any other Recipients a worldwide, royalty-free,
+ non-exclusive license, under any Recipient Patents, to make, have
+ made, use, sell, offer for sale, import and/or otherwise transfer
+ the Original Code and/or any Modifications provided by SGI.
+
+2.3. No License For Hardware Implementations. The licenses granted in
+ Section 2.1 and 2.2 are not applicable to implementation in
+ Hardware of the algorithms embodied in the Original Code or any
+ Modifications provided by SGI .
+
+3. Redistributions.
+
+3.1. Retention of Notice/Copy of License. The Notice set forth in
+ Exhibit A, below, must be conspicuously retained or included in any
+ and all redistributions of Covered Code. For distributions of the
+ Covered Code in source code form, the Notice must appear in every
+ file that can include a text comments field; in executable form,
+ the Notice and a copy of this License must appear in related
+ documentation or collateral where the Recipient’s rights relating
+ to Covered Code are described. Any Additional Notice Provisions
+ which actually appears in the Original Code must also be retained
+ or included in any and all redistributions of Covered Code.
+
+3.2. Alternative License. Provided that Recipient is in compliance with
+ the terms of this License, Recipient may, so long as without
+ derogation of any of SGI’s rights in and to the Original Code,
+ distribute the source code and/or executable version(s) of Covered
+ Code under (1) this License; (2) a license identical to this
+ License but for only such changes as are necessary in order to
+ clarify Recipient’s role as licensor of Modifications; and/or (3) a
+ license of Recipient’s choosing, containing terms different from
+ this License, provided that the license terms include this Section
+ 3 and Sections 4, 6, 7, 10, 12, and 13, which terms may not be
+ modified or superseded by any other terms of such license. If
+ Recipient elects to use any license other than this License,
+ Recipient must make it absolutely clear that any of its terms which
+ differ from this License are offered by Recipient alone, and not by
+ SGI. It is emphasized that this License is a limited license, and,
+ regardless of the license form employed by Recipient in accordance
+ with this Section 3.2, Recipient may relicense only such rights, in
+ Original Code and Modifications by SGI, as it has actually been
+ granted by SGI in this License.
+
+3.3. Indemnity. Recipient hereby agrees to indemnify SGI for any
+ liability incurred by SGI as a result of any such alternative
+ license terms Recipient offers.
+
+4. Termination. This License and the rights granted hereunder will
+ terminate automatically if Recipient breaches any term herein and
+ fails to cure such breach within 30 days thereof. Any sublicense to
+ the Covered Code that is properly granted shall survive any
+ termination of this License, absent termination by the terms of such
+ sublicense. Provisions that, by their nature, must remain in effect
+ beyond the termination of this License, shall survive.
+
+5. No Trademark Or Other Rights. This License does not grant any rights
+ to: (i) any software apart from the Covered Code, nor shall any
+ other rights or licenses not expressly granted hereunder arise by
+ implication, estoppel or otherwise with respect to the Covered Code;
+ (ii) any trade name, trademark or service mark whatsoever, including
+ without limitation any related right for purposes of endorsement or
+ promotion of products derived from the Covered Code, without prior
+ written permission of SGI; or (iii) any title to or ownership of the
+ Original Code, which shall at all times remains with SGI. All rights
+ in the Original Code not expressly granted under this License are
+ reserved.
+
+6. Compliance with Laws; Non-Infringement. There are various worldwide
+ laws, regulations, and executive orders applicable to dispositions
+ of Covered Code, including without limitation export, re-export, and
+ import control laws, regulations, and executive orders, of the U.S.
+ government and other countries, and Recipient is reminded it is
+ obliged to obey such laws, regulations, and executive orders.
+ Recipient may not distribute Covered Code that (i) in any way
+ infringes (directly or contributorily) any intellectual property
+ rights of any kind of any other person or entity or (ii) breaches
+ any representation or warranty, express, implied or statutory, to
+ which, under any applicable law, it might be deemed to have been
+ subject.
+
+7. Claims of Infringement. If Recipient learns of any third party claim
+ that any disposition of Covered Code and/or functionality wholly or
+ partially infringes the third party's intellectual property rights,
+ Recipient will promptly notify SGI of such claim.
+
+8. Versions of the License. SGI may publish revised and/or new versions
+ of the License from time to time, each with a distinguishing version
+ number. Once Covered Code has been published under a particular
+ version of the License, Recipient may, for the duration of the
+ license, continue to use it under the terms of that version, or
+ choose to use such Covered Code under the terms of any subsequent
+ version published by SGI. Subject to the provisions of Sections 3
+ and 4 of this License, only SGI may modify the terms applicable to
+ Covered Code created under this License.
+
+9. DISCLAIMER OF WARRANTY. COVERED CODE IS PROVIDED "AS IS." ALL
+ EXPRESS AND IMPLIED WARRANTIES AND CONDITIONS ARE DISCLAIMED,
+ INCLUDING, WITHOUT LIMITATION, ANY IMPLIED WARRANTIES AND CONDITIONS
+ OF MERCHANTABILITY, SATISFACTORY QUALITY, FITNESS FOR A PARTICULAR
+ PURPOSE, AND NON-INFRINGEMENT. SGI ASSUMES NO RISK AS TO THE QUALITY
+ AND PERFORMANCE OF THE SOFTWARE. SHOULD THE SOFTWARE PROVE DEFECTIVE
+ IN ANY RESPECT, SGI ASSUMES NO COST OR LIABILITY FOR SERVICING,
+ REPAIR OR CORRECTION. THIS DISCLAIMER OF WARRANTY IS AN ESSENTIAL
+ PART OF THIS LICENSE. NO USE OF ANY COVERED CODE IS AUTHORIZED
+ HEREUNDER EXCEPT SUBJECT TO THIS DISCLAIMER.
+
+10. LIMITATION OF LIABILITY. UNDER NO CIRCUMSTANCES NOR LEGAL THEORY,
+ WHETHER TORT (INCLUDING, WITHOUT LIMITATION, NEGLIGENCE OR STRICT
+ LIABILITY), CONTRACT, OR OTHERWISE, SHALL SGI OR ANY SGI LICENSOR
+ BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR
+ CONSEQUENTIAL DAMAGES OF ANY CHARACTER INCLUDING, WITHOUT
+ LIMITATION, DAMAGES FOR LOSS OF GOODWILL, WORK STOPPAGE, LOSS OF
+ DATA, COMPUTER FAILURE OR MALFUNCTION, OR ANY AND ALL OTHER
+ COMMERCIAL DAMAGES OR LOSSES, EVEN IF SUCH PARTY SHALL HAVE BEEN
+ INFORMED OF THE POSSIBILITY OF SUCH DAMAGES. THIS LIMITATION OF
+ LIABILITY SHALL NOT APPLY TO LIABILITY FOR DEATH OR PERSONAL INJURY
+ RESULTING FROM SGI's NEGLIGENCE TO THE EXTENT APPLICABLE LAW
+ PROHIBITS SUCH LIMITATION. SOME JURISDICTIONS DO NOT ALLOW THE
+ EXCLUSION OR LIMITATION OF INCIDENTAL OR CONSEQUENTIAL DAMAGES, SO
+ THAT EXCLUSION AND LIMITATION MAY NOT APPLY TO RECIPIENT.
+
+11. Indemnity. Recipient shall be solely responsible for damages
+ arising, directly or indirectly, out of its utilization of rights
+ under this License. Recipient will defend, indemnify and hold
+ harmless Silicon Graphics, Inc. from and against any loss,
+ liability, damages, costs or expenses (including the payment of
+ reasonable attorneys fees) arising out of Recipient's use,
+ modification, reproduction and distribution of the Covered Code or
+ out of any representation or warranty made by Recipient.
+
+12. U.S. Government End Users. The Covered Code is a "commercial item"
+ consisting of "commercial computer software" as such terms are
+ defined in title 48 of the Code of Federal Regulations and all U.S.
+ Government End Users acquire only the rights set forth in this
+ License and are subject to the terms of this License.
+
+13. Miscellaneous. This License represents the complete agreement
+ concerning the its subject matter. If any provision of this License
+ is held to be unenforceable, such provision shall be reformed so as
+ to achieve as nearly as possible the same legal and economic effect
+ as the original provision and the remainder of this License will
+ remain in effect. This License shall be governed by and construed
+ in accordance with the laws of the United States and the State of
+ California as applied to agreements entered into and to be
+ performed entirely within California between California residents.
+ Any litigation relating to this License shall be subject to the
+ exclusive jurisdiction of the Federal Courts of the Northern
+ District of California (or, absent subject matter jurisdiction in
+ such courts, the courts of the State of California), with venue
+ lying exclusively in Santa Clara County, California, with the
+ losing party responsible for costs, including without limitation,
+ court costs and reasonable attorneys fees and expenses. The
+ application of the United Nations Convention on Contracts for the
+ International Sale of Goods is expressly excluded. Any law or
+ regulation that provides that the language of a contract shall be
+ construed against the drafter shall not apply to this License.
+
+Exhibit A
+
+License Applicability. Except to the extent portions of this file are
+made subject to an alternative license as permitted in the SGI Free
+Software License B, Version 1.1 (the "License"), the contents of this
+file are subject only to the provisions of the License. You may not use
+this file except in compliance with the License. You may obtain a copy
+of the License at Silicon Graphics, Inc., attn: Legal Services, 1600
+Amphitheatre Parkway, Mountain View, CA 94043-1351, or at:
+
+http://oss.sgi.com/projects/FreeB
+
+Note that, as provided in the License, the Software is distributed on an
+"AS IS" basis, with ALL EXPRESS AND IMPLIED WARRANTIES AND CONDITIONS
+DISCLAIMED, INCLUDING, WITHOUT LIMITATION, ANY IMPLIED WARRANTIES AND
+CONDITIONS OF MERCHANTABILITY, SATISFACTORY QUALITY, FITNESS FOR A
+PARTICULAR PURPOSE, AND NON-INFRINGEMENT.
+
+Original Code. The Original Code is: [name of software, version number,
+and release date], developed by Silicon Graphics, Inc. The Original Code
+is Copyright (c) [dates of first publication, as appearing in the Notice
+in the Original Code] Silicon Graphics, Inc. Copyright in any portions
+created by third parties is as indicated elsewhere herein. All Rights
+Reserved.
+
+Additional Notice Provisions: [such additional provisions, if any, as
+appear in the Notice in the Original Code under the heading "Additional
+Notice Provisions"]
+
+--------------------------------------------------------------------------
+
+Some other files listed below are made available from Silicon Graphics,
+Inc. under a more liberal, MIT-style license, as follows:
+
+ Permission to use, copy, modify, and distribute this software for
+ any purpose and without fee is hereby granted, provided that the above
+ copyright notice appear in all copies and that both the copyright notice
+ and this permission notice appear in supporting documentation, and that
+ the name of Silicon Graphics, Inc. not be used in advertising
+ or publicity pertaining to distribution of the software without specific,
+ written prior permission.
+
+ THE MATERIAL EMBODIED ON THIS SOFTWARE IS PROVIDED TO YOU "AS-IS"
+ AND WITHOUT WARRANTY OF ANY KIND, EXPRESS, IMPLIED OR OTHERWISE
+ INCLUDING WITHOUT LIMITATION, ANY WARRANTY OF MERCHANTABILITY OR
+ FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL SILICON
+ GRAPHICS, INC. BE LIABLE TO YOU OR ANYONE ELSE FOR ANY DIRECT,
+ SPECIAL, INCIDENTAL, INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY
+ KIND, OR ANY DAMAGES WHATSOEVER, INCLUDING WITHOUT LIMITATION,
+ LOSS OF PROFIT, LOSS OF USE, SAVINGS OR REVENUE, OR THE CLAIMS OF
+ THIRD PARTIES, WHETHER OR NOT SILICON GRAPHICS, INC. HAS BEEN
+ ADVISED OF THE POSSIBILITY OF SUCH LOSS, HOWEVER CAUSED AND ON
+ ANY THEORY OF LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE
+ POSSESSION, USE OR PERFORMANCE OF THIS SOFTWARE.
+
+ US Government Users Restricted Rights
+ Use, duplication, or disclosure by the Government is subject to
+ restrictions set forth in FAR 52.227.19(c)(2) or subparagraph
+ (c)(1)(ii) of the Rights in Technical Data and Computer Software
+ clause at DFARS 252.227-7013 and/or in similar or successor
+ clauses in the FAR or the DOD or NASA FAR Supplement.
+ Unpublished-- rights reserved under the copyright laws of the
+ United States. Contractor/manufacturer is Silicon Graphics,
+ Inc., 2011 N. Shoreline Blvd., Mountain View, CA 94039-7311.
+
+--------------------------------------------------------------------------
+
+ Mesa Component Licenses:
+
+ Component Files Primary Author License
+ ----------------------------------------------------------------------------
+ core Mesa code src/*.[ch] Brian Paul Mesa
+ include/GL/gl.h
+
+ GLX driver src/X/* Brian Paul Mesa
+ include/GL/glx.h
+ include/GL/xmesa.h
+
+ OS/Mesa driver src/OSmesa/* Brian Paul Mesa
+ include/GL/osmesa.h
+
+ 3Dfx driver src/FX/* David Bucciarelli Mesa
+ include/GL/fxmesa.h
+
+ BeOS R4 driver mesa/drivers/beos/ Brian Paul Mesa
+
+ MGL driver include/GL/mglmesa.h SciTech, Inc GNU LGPL
+
+ Windows driver mesa/drivers/windows/ Li Wei GNU LGPL
+ include/GL/wmesa.h
+
+ SVGA driver mesa/drivers/svga/ Brian Paul GNU LGPL
+ include/GL/svgamesa.h
+
+ DOS driver mesa/drivers/dos/ Charlie Wallace GNU LGPL
+ include/GL/dosmesa.h
+
+ GGI driver mesa/drivers/ggi/ Uwe Maurer GNU LGPL
+ include/GL/ggimesa.h
+
+ GLUT src/glut/* Mark Kilgard Mark's copyright
+ include/GL/*glut*.h
+
+ GLU library src/glu/* Brian Paul GNU LGPL
+
+ SGI GLU library src/glu/sgi/* SGI SGI Free B
+ include/GL/glu.h
+
+ Ext registry include/GL/glext.h SGI SGI Free B
+ include/GL/glxext.h
+
+ demo programs progs/demos/* various see source files
+
+ X demos progs/xdemos/* Brian Paul see source files
+
+ SGI demos progs/samples/* SGI SGI MIT-style
- Permission is hereby granted, free of charge, to any person obtaining a
- copy of this software and associated documentation files (the "Software"),
- to deal in the Software without restriction, including without limitation
- the rights to use, copy, modify, merge, publish, distribute, sublicense,
- and/or sell copies of the Software, and to permit persons to whom the
- Software is furnished to do so, subject to the following conditions:
+ RedBook demos progs/redbook/* SGI SGI MIT-style
- The above copyright notice and this permission notice shall be included
- in all copies or substantial portions of the Software.
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
- OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
- BRIAN PAUL BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
- AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
- CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+On Debian systems the full text of the GNU LGPL license is found in
+/usr/share/common-licenses/LGPL.
------------------------------------------------------------------------------
--
cgit v1.2.3
From f20ff6213eafb9f61d8e436d78a5c737e64dc6d5 Mon Sep 17 00:00:00 2001
From: Thierry Reding
Date: Fri, 20 Oct 2006 07:45:39 +0000
Subject: Add a shell script to install the Mesa sources for the
mesa-swx11-source package.
---
debian/scripts/install-source.sh | 43 ++++++++++++++++++++++++++++++++++++++++
1 file changed, 43 insertions(+)
create mode 100755 debian/scripts/install-source.sh
(limited to 'debian')
diff --git a/debian/scripts/install-source.sh b/debian/scripts/install-source.sh
new file mode 100755
index 00000000000..f8c92134888
--- /dev/null
+++ b/debian/scripts/install-source.sh
@@ -0,0 +1,43 @@
+#!/bin/sh
+
+if [ -n "$1" ]; then
+ TOP="$1"
+else
+ TOP=`pwd`
+fi
+
+SOURCE_DIRS='
+ include/GL/internal
+ src/glx/x11
+ src/mesa/array_cache
+ src/mesa/drivers/common
+ src/mesa/drivers/dri/common
+ src/mesa/drivers/dri/glcore
+ src/mesa/drivers/x11
+ src/mesa/glapi
+ src/mesa/main
+ src/mesa/math
+ src/mesa/ppc
+ src/mesa/shader
+ src/mesa/sparc
+ src/mesa/swrast_setup
+ src/mesa/swrast
+ src/mesa/tnl_dd
+ src/mesa/tnl
+ src/mesa/x86-64
+ src/mesa/x86
+'
+
+FILTER="-not -path '*/.svn*'"
+TARGET=${TOP}/debian/tmp/usr/share/mesa-source
+
+(
+ find $SOURCE_DIRS $FILTER -name '*.[ch]';
+ find include/GL $FILTER -name 'xmesa*.h';
+) | \
+ while read x; do
+ DIRNAME=`dirname "$x"`
+ mkdir -p "$TARGET/$DIRNAME"
+ cp -lf "$x" "$TARGET/$DIRNAME"
+ done
+
--
cgit v1.2.3
From f069b2812e16da4eadbbbd1b088f1b590879e690 Mon Sep 17 00:00:00 2001
From: Thierry Reding
Date: Fri, 20 Oct 2006 07:47:37 +0000
Subject: Add a set of files to enable an i686 optimized build of the
DRI/GLX-enabled libGL and the DRI drivers. Disabled for now.
---
configs/debian-dri-i386-i686 | 14 ++++++++++++
debian/control | 44 ++++++++++++++++++++++++++++++++++++-
debian/libgl1-mesa-dri-i686.install | 1 +
debian/libgl1-mesa-glx-i686.install | 1 +
4 files changed, 59 insertions(+), 1 deletion(-)
create mode 100644 configs/debian-dri-i386-i686
create mode 100644 debian/libgl1-mesa-dri-i686.install
create mode 100644 debian/libgl1-mesa-glx-i686.install
(limited to 'debian')
diff --git a/configs/debian-dri-i386-i686 b/configs/debian-dri-i386-i686
new file mode 100644
index 00000000000..02a0321abb9
--- /dev/null
+++ b/configs/debian-dri-i386-i686
@@ -0,0 +1,14 @@
+# Configuration for building the DRI drivers on i386.
+
+include $(TOP)/configs/linux-dri-x86
+include $(TOP)/configs/debian-dri-default
+
+CONFIG_NAME = debian-dri-i386-i686
+
+ARCH_FLAGS = -march=i686
+LIB_DIR = lib/glx/i686/cmov
+
+DRI_DRIVER_INSTALL_DIR = $(INSTALL_DIR)/lib/dri/i686/cmov
+
+# vim: ft=make
+
diff --git a/debian/control b/debian/control
index 55053c8f20d..b3cce11ecba 100644
--- a/debian/control
+++ b/debian/control
@@ -32,7 +32,7 @@ Section: libs
Priority: extra
Architecture: i386
Pre-Depends: libgl1-mesa-swx11
-Description: A free implementation of the OpenGL API -- i686 optimized runtime
+Description: A free implementation of the OpenGL API -- runtime [i686 optimized]
Mesa is a 3-D graphics library with an API which is very similar to
that of OpenGL. To the extent that Mesa utilizes the OpenGL command
syntax or state machine, it is being used with authorization from
@@ -90,6 +90,27 @@ Description: A free implementation of the OpenGL API -- GLX runtime
For a complete description of Mesa, please look at the
libgl1-mesa-swx11 package.
+#Package: libgl1-mesa-glx-i686
+#Section: libs
+#Priority: extra
+#Architecture: i386
+#Pre-Depends: libgl1-mesa-glx
+#Description: A free implementation of the OpenGL API -- GLX runtime [i686 optimized]
+# This version of Mesa provides GLX and DRI capabilities: it is capable of
+# both direct and indirect rendering. For direct rendering, it can use DRI
+# modules from the libgl1-mesa-dri package to accelerate drawing.
+# .
+# This package does not include the modules themselves: these can be found
+# in the libgl1-mesa-dri package.
+# .
+# For a complete description of Mesa, please look at the
+# libgl1-mesa-swx11 package.
+# .
+# This set of libraries is optimized for i686 machines and will only be used if
+# you are running a 2.6 kernel on an i686 class CPU. This includes Pentium Pro,
+# Pentium II/II/IV, Celeron CPU's and similar class CPU's (including clones
+# such as AMD Athlon/Opteron, VIA C3 Nehemiah, but not VIA C3 Ezla).
+
Package: libgl1-mesa-dri
Section: libs
Architecture: any
@@ -107,6 +128,27 @@ Description: A free implementation of the OpenGL API -- DRI modules
For a complete description of Mesa, please look at the
libgl1-mesa-swx11 package.
+#Package: libgl1-mesa-dri-i686
+#Section: libs
+#Priority: extra
+#Architecture: i386
+#Pre-Depends: libgl1-mesa-dri
+#Description: A free implementation of the OpenGL API -- DRI modules [i686 optimized]
+# This version of Mesa provides GLX and DRI capabilities: it is capable of
+# both direct and indirect rendering. For direct rendering, it can use DRI
+# modules from the libgl1-mesa-dri package to accelerate drawing.
+# .
+# This package does not include the OpenGL library itself, only the DRI
+# modules for accelerating direct rendering.
+# .
+# For a complete description of Mesa, please look at the
+# libgl1-mesa-swx11 package.
+# .
+# This set of libraries is optimized for i686 machines and will only be used if
+# you are running a 2.6 kernel on an i686 class CPU. This includes Pentium Pro,
+# Pentium II/II/IV, Celeron CPU's and similar class CPU's (including clones
+# such as AMD Athlon/Opteron, VIA C3 Nehemiah, but not VIA C3 Ezla).
+
Package: libgl1-mesa-dev
Section: libs
Architecture: any
diff --git a/debian/libgl1-mesa-dri-i686.install b/debian/libgl1-mesa-dri-i686.install
new file mode 100644
index 00000000000..44b5c55214d
--- /dev/null
+++ b/debian/libgl1-mesa-dri-i686.install
@@ -0,0 +1 @@
+usr/lib/dri/i686/cmov/*.so
diff --git a/debian/libgl1-mesa-glx-i686.install b/debian/libgl1-mesa-glx-i686.install
new file mode 100644
index 00000000000..4c8ef3b34b6
--- /dev/null
+++ b/debian/libgl1-mesa-glx-i686.install
@@ -0,0 +1 @@
+usr/lib/glx/i686/cmov/libGL.so.* usr/lib/i686/cmov
--
cgit v1.2.3
From c7e576d6bfccc23aa4b6cfed97e97befda714d00 Mon Sep 17 00:00:00 2001
From: Thierry Reding
Date: Fri, 20 Oct 2006 07:56:11 +0000
Subject: No longer install the default build of libOSMesa in the
libgl1-mesa-swx11 package, but in the libosmesa6 package.
Modify the 01_fix-makefile patch to not build libOSMesa on stand-alone builds,
so that it is only created when building OSMesa explicitly.
Build libOSMesa with 8 bits per color channel (the default) in dynamic and
static versions separately from the software rasterization libGL with the
software rasterization code linked in statically so that libOSMesa can run in
parallel with any libGL. This should fix the problem Yann Dirson mentioned a
while ago.
Use the install-source.sh script to install the Mesa sources needed for the
mesa-swx11-source package instead of doing it in the debian/rules file itself.
---
debian/libgl1-mesa-swx11-dev.install | 2 --
debian/libgl1-mesa-swx11-i686.install | 1 -
debian/libgl1-mesa-swx11.install | 1 -
debian/libosmesa6-dev.install | 2 ++
debian/libosmesa6.install | 1 +
debian/mesa-swx11-source.install | 1 +
debian/patches/01_fix-makefile.patch | 15 +++++++++++++++
debian/rules | 33 +++++++++++++++++++++------------
8 files changed, 40 insertions(+), 16 deletions(-)
(limited to 'debian')
diff --git a/debian/libgl1-mesa-swx11-dev.install b/debian/libgl1-mesa-swx11-dev.install
index 9944522595f..2258776adea 100644
--- a/debian/libgl1-mesa-swx11-dev.install
+++ b/debian/libgl1-mesa-swx11-dev.install
@@ -1,5 +1,3 @@
usr/include/GL/glx*.h
usr/lib/libGL.a
usr/lib/libGL.so
-usr/lib/libOSMesa.a
-usr/lib/libOSMesa.so
diff --git a/debian/libgl1-mesa-swx11-i686.install b/debian/libgl1-mesa-swx11-i686.install
index 53b5801a8c2..2177b0cf15d 100644
--- a/debian/libgl1-mesa-swx11-i686.install
+++ b/debian/libgl1-mesa-swx11-i686.install
@@ -1,2 +1 @@
usr/lib/i686/cmov/libGL.so.*
-usr/lib/i686/cmov/libOSMesa.*
diff --git a/debian/libgl1-mesa-swx11.install b/debian/libgl1-mesa-swx11.install
index 0332c792336..6d70d0f9f9a 100644
--- a/debian/libgl1-mesa-swx11.install
+++ b/debian/libgl1-mesa-swx11.install
@@ -1,2 +1 @@
usr/lib/libGL.so.*
-usr/lib/libOSMesa.so.*
diff --git a/debian/libosmesa6-dev.install b/debian/libosmesa6-dev.install
index e92cc0d05bb..b2ccc6b08e6 100644
--- a/debian/libosmesa6-dev.install
+++ b/debian/libosmesa6-dev.install
@@ -1,3 +1,5 @@
+usr/lib/libOSMesa.a
+usr/lib/libOSMesa.so
usr/lib/libOSMesa16.a
usr/lib/libOSMesa16.so
usr/lib/libOSMesa32.a
diff --git a/debian/libosmesa6.install b/debian/libosmesa6.install
index dbf33f54a7d..d1e25b2ffeb 100644
--- a/debian/libosmesa6.install
+++ b/debian/libosmesa6.install
@@ -1,2 +1,3 @@
+usr/lib/libOSMesa.so.*
usr/lib/libOSMesa16.so.*
usr/lib/libOSMesa32.so.*
diff --git a/debian/mesa-swx11-source.install b/debian/mesa-swx11-source.install
index e69de29bb2d..e96b76cde29 100644
--- a/debian/mesa-swx11-source.install
+++ b/debian/mesa-swx11-source.install
@@ -0,0 +1 @@
+usr/share/mesa-source/*
diff --git a/debian/patches/01_fix-makefile.patch b/debian/patches/01_fix-makefile.patch
index 6f8ea18c658..e3cd732aa73 100644
--- a/debian/patches/01_fix-makefile.patch
+++ b/debian/patches/01_fix-makefile.patch
@@ -1,5 +1,20 @@
+Do not build OSMesa for a standalone configuration, since Debian only ships
+OSMesa in a separate package.
+
+Fix Mesa makefile to install the libGL and libOSMesa libraries when they
+exist, not only depending on configuration.
+
--- a/src/mesa/Makefile
+++ b/src/mesa/Makefile
+@@ -107,7 +107,7 @@
+ $(OSMESA_DRIVER_OBJECTS)
+
+
+-stand-alone: depend subdirs $(TOP)/$(LIB_DIR)/$(GL_LIB_NAME) $(TOP)/$(LIB_DIR)/$(OSMESA_LIB_NAME)
++stand-alone: depend subdirs $(TOP)/$(LIB_DIR)/$(GL_LIB_NAME)
+
+ osmesa-only: depend subdirs $(TOP)/$(LIB_DIR)/$(OSMESA_LIB_NAME)
+
@@ -154,7 +154,12 @@
$(INSTALL) -d $(INSTALL_DIR)/include/GL
$(INSTALL) -d $(INSTALL_DIR)/$(LIB_DIR)
diff --git a/debian/rules b/debian/rules
index fbf328332e8..342cd1316e9 100755
--- a/debian/rules
+++ b/debian/rules
@@ -34,10 +34,22 @@ else
SWX11_GLU_CONFIGS := debian-swx11+glu-any
endif
+# build a static version of swx11 and GLU as well
+SWX11_GLU_CONFIGS += debian-swx11+glu-static
+
+# choose an architecture-specific configuration for building the DRI-enabled
+# libGL if one exists
+ifneq ($(wildcard configs/debian-dri-$(DEB_BUILD_ARCH)),)
+ DRI_CONFIGS := debian-dri-$(DEB_BUILD_ARCH)
+else
+ DRI_CONFIGS := debian-dri-any
+endif
+
# additional configurations optimized for CPU's supported by the build
# architecture
ifeq ($(DEB_BUILD_ARCH), i386)
SWX11_GLU_CONFIGS += debian-swx11+glu-i386-i686
+# DRI_CONFIGS += debian-dri-i386-i686
endif
#ifeq ($(DEB_BUILD_ARCH), alpha)
@@ -56,20 +68,11 @@ endif
# available for the build architecture. Use with caution =)
#SWX11_GLU_CONFIGS += $(subst configs/,,$(wildcard configs/debian-swx11+glu-$(DEB_BUILD_ARCH)-*))
-# build a static version of swx11 and GLU as well
-SWX11_GLU_CONFIGS += debian-swx11+glu-static
-
-# choose an architecture-specific configuration for building the DRI-enabled
-# libGL if one exists
-ifneq ($(wildcard configs/debian-dri-$(DEB_BUILD_ARCH)),)
- DRI_CONFIGS := debian-dri-$(DEB_BUILD_ARCH)
-else
- DRI_CONFIGS := debian-dri-any
-endif
-
# build the following configurations by default
CONFIGS = $(SWX11_GLU_CONFIGS) \
$(DRI_CONFIGS) \
+ debian-osmesa \
+ debian-osmesa-static \
debian-osmesa16 \
debian-osmesa16-static \
debian-osmesa32 \
@@ -77,7 +80,8 @@ CONFIGS = $(SWX11_GLU_CONFIGS) \
STAMP = $(STAMP_DIR)/$(DEB_BUILD_GNU_TYPE)
BUILD_STAMPS = $(addprefix $(STAMP)-build-, $(CONFIGS))
-INSTALL_STAMPS = $(addprefix $(STAMP)-install-, $(CONFIGS))
+INSTALL_STAMPS = $(addprefix $(STAMP)-install-, $(CONFIGS)) \
+ $(STAMP_DIR)/install-source
# list the configurations that will built
configs:
@@ -114,6 +118,11 @@ $(STAMP)-install-%: $(STAMP)-build-%
cd $(DEB_BUILD_DIR)/$* && $(MAKE) install DESTDIR=$(CURDIR)/debian/tmp
touch $@
+$(STAMP_DIR)/install-source:
+ # install Mesa source for mesa-swx11-source package
+ debian/scripts/install-source.sh
+ touch $@
+
clean: unpatch
dh_testdir
dh_testroot
--
cgit v1.2.3
From ae41f3a3ee89f43fc7987a450739f7757f81d9a6 Mon Sep 17 00:00:00 2001
From: Thierry Reding
Date: Fri, 20 Oct 2006 12:06:20 +0000
Subject: Don't make libgl1-mesa-swx11-dev depend on lesstif2-dev anymore
because we don't ship anything related to LessTif in that package.
---
debian/control | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
(limited to 'debian')
diff --git a/debian/control b/debian/control
index b3cce11ecba..05bffdd1c3a 100644
--- a/debian/control
+++ b/debian/control
@@ -54,7 +54,7 @@ Description: A free implementation of the OpenGL API -- runtime [i686 optimized]
Package: libgl1-mesa-swx11-dev
Section: libdevel
Architecture: any
-Depends: libgl1-mesa-swx11 (= ${binary:Version}), libc6-dev, libx11-dev | xlibs-dev (>> 4.1.0), libxext6 | xlibs (>> 4.1.0), mesa-common-dev (= ${source:Version}), lesstif2-dev
+Depends: libgl1-mesa-swx11 (= ${binary:Version}), libc6-dev, libx11-dev | xlibs-dev (>> 4.1.0), libxext6 | xlibs (>> 4.1.0), mesa-common-dev (= ${source:Version})
Provides: libgl-dev, mesag3-widgets, mesag-widgets-dev, libglw-dev, mesag-dev, libgl1-mesa-swrast-dev
Conflicts: mesa-dev, libgl-dev, mesag3 (<< 3.1-1), nvidia-glx-dev, mesag-dev, libgl1-mesa-swrast-dev
Replaces: libgl-dev, mesag-dev, libgl1-mesa-swrast-dev
--
cgit v1.2.3
From ccffaef60361392807d2fefc1173bd2201febfbc Mon Sep 17 00:00:00 2001
From: Thierry Reding
Date: Fri, 20 Oct 2006 12:15:29 +0000
Subject: Build architecture-specific static libraries where available.
---
configs/debian-swx11+glu-static | 9 ---------
configs/debian-swx11+glu-static-amd64 | 10 ++++++++++
configs/debian-swx11+glu-static-any | 10 ++++++++++
configs/debian-swx11+glu-static-i386 | 10 ++++++++++
configs/debian-swx11+glu-static-ppc64 | 11 +++++++++++
debian/rules | 19 +++++++++----------
6 files changed, 50 insertions(+), 19 deletions(-)
delete mode 100644 configs/debian-swx11+glu-static
create mode 100644 configs/debian-swx11+glu-static-amd64
create mode 100644 configs/debian-swx11+glu-static-any
create mode 100644 configs/debian-swx11+glu-static-i386
create mode 100644 configs/debian-swx11+glu-static-ppc64
(limited to 'debian')
diff --git a/configs/debian-swx11+glu-static b/configs/debian-swx11+glu-static
deleted file mode 100644
index a819311d4b4..00000000000
--- a/configs/debian-swx11+glu-static
+++ /dev/null
@@ -1,9 +0,0 @@
-# Configuration for building static versions of the libraries (swx11 and GLU).
-
-include $(TOP)/configs/linux-static
-include $(TOP)/configs/debian-swx11+glu-default
-
-CONFIG_NAME = debian-swx11+glu-static
-
-# vim: ft=make
-
diff --git a/configs/debian-swx11+glu-static-amd64 b/configs/debian-swx11+glu-static-amd64
new file mode 100644
index 00000000000..2976fbe66f3
--- /dev/null
+++ b/configs/debian-swx11+glu-static-amd64
@@ -0,0 +1,10 @@
+# Configuration for building static versions of the libraries (swx11 and GLU)
+# on amd64.
+
+include $(TOP)/configs/linux-x86-64-static
+include $(TOP)/configs/debian-swx11+glu-default
+
+CONFIG_NAME = debian-swx11+glu-static-amd64
+
+# vim: ft=make
+
diff --git a/configs/debian-swx11+glu-static-any b/configs/debian-swx11+glu-static-any
new file mode 100644
index 00000000000..82f794d28df
--- /dev/null
+++ b/configs/debian-swx11+glu-static-any
@@ -0,0 +1,10 @@
+# Configuration for building static versions of the libraries (swx11 and GLU)
+# on the build architecture.
+
+include $(TOP)/configs/linux-static
+include $(TOP)/configs/debian-swx11+glu-default
+
+CONFIG_NAME = debian-swx11+glu-static-any
+
+# vim: ft=make
+
diff --git a/configs/debian-swx11+glu-static-i386 b/configs/debian-swx11+glu-static-i386
new file mode 100644
index 00000000000..62859e42548
--- /dev/null
+++ b/configs/debian-swx11+glu-static-i386
@@ -0,0 +1,10 @@
+# Configuration for building static versions of the libraries (swx11 and GLU)
+# on i386.
+
+include $(TOP)/configs/linux-x86-static
+include $(TOP)/configs/debian-swx11+glu-default
+
+CONFIG_NAME = debian-swx11+glu-static-i386
+
+# vim: ft=make
+
diff --git a/configs/debian-swx11+glu-static-ppc64 b/configs/debian-swx11+glu-static-ppc64
new file mode 100644
index 00000000000..a9ea4a95b31
--- /dev/null
+++ b/configs/debian-swx11+glu-static-ppc64
@@ -0,0 +1,11 @@
+# Configuration for building static versions of the libraries (swx11 and GLU)
+# on ppc64.
+
+include $(TOP)/configs/debian-swx11+glu-static-any
+
+CONFIG_NAME = debian-swx11+glu-static-ppc64
+
+LIB_DIR = lib64
+
+# vim: ft=make
+
diff --git a/debian/rules b/debian/rules
index 342cd1316e9..02ecb099edc 100755
--- a/debian/rules
+++ b/debian/rules
@@ -26,19 +26,22 @@ DEB_BUILD_DIR ?= $(CURDIR)/obj-$(DEB_BUILD_GNU_TYPE)
export DEB_BUILD_ARCH
-# choose an architecture-specific configuration for building swx11 and GLU if
-# one exists
+# choose an architecture-specific build of swx11 and GLU if a matching
+# configuration exists
ifneq ($(wildcard configs/debian-swx11+glu-$(DEB_BUILD_ARCH)),)
SWX11_GLU_CONFIGS := debian-swx11+glu-$(DEB_BUILD_ARCH)
else
SWX11_GLU_CONFIGS := debian-swx11+glu-any
endif
-# build a static version of swx11 and GLU as well
-SWX11_GLU_CONFIGS += debian-swx11+glu-static
+# same for static builds
+ifneq ($(wildcard configs/debian-swx11+glu-static-$(DEB_BUILD_ARCH)),)
+ SWX11_GLU_CONFIGS += debian-swx11+glu-static-$(DEB_BUILD_ARCH)
+else
+ SWX11_GLU_CONFIGS += debian-swx11+glu-static-any
+endif
-# choose an architecture-specific configuration for building the DRI-enabled
-# libGL if one exists
+# and for the GLX/DRI-enabled libGL
ifneq ($(wildcard configs/debian-dri-$(DEB_BUILD_ARCH)),)
DRI_CONFIGS := debian-dri-$(DEB_BUILD_ARCH)
else
@@ -64,10 +67,6 @@ endif
# SWX11_GLU_CONFIGS += debian-swx11+glu-sparc-ultrasparc
#endif
-# Use the following to automatically build all optimized configurations
-# available for the build architecture. Use with caution =)
-#SWX11_GLU_CONFIGS += $(subst configs/,,$(wildcard configs/debian-swx11+glu-$(DEB_BUILD_ARCH)-*))
-
# build the following configurations by default
CONFIGS = $(SWX11_GLU_CONFIGS) \
$(DRI_CONFIGS) \
--
cgit v1.2.3
From ce5a39559e735ca254ff99dd84ed1bf316f4f144 Mon Sep 17 00:00:00 2001
From: Thierry Reding
Date: Fri, 20 Oct 2006 17:51:36 +0000
Subject: Install several documents from the docs subdirectory into the
mesa-common-dev package.
---
debian/mesa-common-dev.docs | 7 +++++++
1 file changed, 7 insertions(+)
create mode 100644 debian/mesa-common-dev.docs
(limited to 'debian')
diff --git a/debian/mesa-common-dev.docs b/debian/mesa-common-dev.docs
new file mode 100644
index 00000000000..457acbf84c4
--- /dev/null
+++ b/debian/mesa-common-dev.docs
@@ -0,0 +1,7 @@
+docs/bugs.html
+docs/debugging.html
+docs/envvars.html
+docs/faq.html
+docs/osmesa.html
+docs/RELNOTES-*
+docs/*.spec
--
cgit v1.2.3
From b1630fcbe8dfda9f096c947f237c66227a3c2a65 Mon Sep 17 00:00:00 2001
From: Thierry Reding
Date: Fri, 20 Oct 2006 19:17:34 +0000
Subject: Add build-dependency on lesstif2-dev needed to build the GLw
libraries.
---
debian/control | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
(limited to 'debian')
diff --git a/debian/control b/debian/control
index 05bffdd1c3a..96f7a84f047 100644
--- a/debian/control
+++ b/debian/control
@@ -4,7 +4,7 @@ Priority: optional
Maintainer: Debian X Strike Force
Uploaders: Thierry Reding
Standards-Version: 3.7.2
-Build-Depends: debhelper (>= 5), quilt (>= 0.40), pkg-config, libdrm-dev (>= 2.0.2) [!hurd-i386], libx11-dev, xutils-dev, x11proto-gl-dev (>= 1.4.8), libxxf86vm-dev, libexpat1-dev, dpkg-dev (>= 1.13.19)
+Build-Depends: debhelper (>= 5), quilt (>= 0.40), pkg-config, libdrm-dev (>= 2.0.2) [!hurd-i386], libx11-dev, xutils-dev, x11proto-gl-dev (>= 1.4.8), libxxf86vm-dev, libexpat1-dev, lesstif2-dev, dpkg-dev (>= 1.13.19)
Package: libgl1-mesa-swx11
Section: libs
--
cgit v1.2.3
From 4e183c66e98860fb75fb08c931025f63ebf75867 Mon Sep 17 00:00:00 2001
From: Thierry Reding
Date: Fri, 20 Oct 2006 19:41:00 +0000
Subject: Add comments to patches and enable the previously disabled patches.
---
debian/patches/00_create-libdir.patch | 6 ++++++
debian/patches/01_fix-makefile.patch | 3 +++
debian/patches/02_use-ieee-fp-on-s390-and-m68k.patch | 4 ++++
debian/patches/03_handle-sync-and-dont-unlock-display.patch | 5 +++++
debian/patches/series | 2 ++
5 files changed, 20 insertions(+)
(limited to 'debian')
diff --git a/debian/patches/00_create-libdir.patch b/debian/patches/00_create-libdir.patch
index 99f02f7bdc1..cc59325ac74 100644
--- a/debian/patches/00_create-libdir.patch
+++ b/debian/patches/00_create-libdir.patch
@@ -1,3 +1,9 @@
+Patch that allows the Mesa makefile to create a LIB_DIR that is more than one
+level below TOP.
+
+This patch by Thierry Reding.
+Not submitted to Mesa.
+
--- a/src/Makefile
+++ b/src/Makefile
@@ -29,7 +29,7 @@
diff --git a/debian/patches/01_fix-makefile.patch b/debian/patches/01_fix-makefile.patch
index e3cd732aa73..f599d8438e1 100644
--- a/debian/patches/01_fix-makefile.patch
+++ b/debian/patches/01_fix-makefile.patch
@@ -4,6 +4,9 @@ OSMesa in a separate package.
Fix Mesa makefile to install the libGL and libOSMesa libraries when they
exist, not only depending on configuration.
+This patch by Thierry Reding.
+Hunk #2 submitted to Mesa and applied (post 6.5.1).
+
--- a/src/mesa/Makefile
+++ b/src/mesa/Makefile
@@ -107,7 +107,7 @@
diff --git a/debian/patches/02_use-ieee-fp-on-s390-and-m68k.patch b/debian/patches/02_use-ieee-fp-on-s390-and-m68k.patch
index 3a06acd0ffe..d219de8f267 100644
--- a/debian/patches/02_use-ieee-fp-on-s390-and-m68k.patch
+++ b/debian/patches/02_use-ieee-fp-on-s390-and-m68k.patch
@@ -1,3 +1,7 @@
+Patch that fixes Debian bug #349437.
+
+This patch by David Nusinow.
+
--- a/src/mesa/main/imports.h
+++ b/src/mesa/main/imports.h
@@ -146,8 +146,9 @@
diff --git a/debian/patches/03_handle-sync-and-dont-unlock-display.patch b/debian/patches/03_handle-sync-and-dont-unlock-display.patch
index c9089ef86ed..d29769e4330 100644
--- a/debian/patches/03_handle-sync-and-dont-unlock-display.patch
+++ b/debian/patches/03_handle-sync-and-dont-unlock-display.patch
@@ -1,3 +1,8 @@
+Patch that fixes Debian bug #391681.
+
+This patch by Josh Triplett.
+Submitted to Mesa and applied (post 6.5.1).
+
--- a/src/glx/x11/glxext.c
+++ b/src/glx/x11/glxext.c
@@ -1016,11 +1016,11 @@
diff --git a/debian/patches/series b/debian/patches/series
index 9616a12dfdc..31078561786 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,4 @@
00_create-libdir.patch
01_fix-makefile.patch
+02_use-ieee-fp-on-s390-and-m68k.patch
+03_handle-sync-and-dont-unlock-display.patch
--
cgit v1.2.3
From 9d914e68097d6f6c80324dee64d55ce6b7fe0004 Mon Sep 17 00:00:00 2001
From: Thierry Reding
Date: Fri, 20 Oct 2006 20:56:41 +0000
Subject: Make sure the install-source.sh script is executable before trying to
run it.
---
debian/rules | 1 +
1 file changed, 1 insertion(+)
(limited to 'debian')
diff --git a/debian/rules b/debian/rules
index 02ecb099edc..0747f86049b 100755
--- a/debian/rules
+++ b/debian/rules
@@ -119,6 +119,7 @@ $(STAMP)-install-%: $(STAMP)-build-%
$(STAMP_DIR)/install-source:
# install Mesa source for mesa-swx11-source package
+ chmod a+x debian/scripts/install-source.sh
debian/scripts/install-source.sh
touch $@
--
cgit v1.2.3
From b6e637106f50752eca75e8642841667c3a7010ac Mon Sep 17 00:00:00 2001
From: Thierry Reding
Date: Mon, 23 Oct 2006 08:23:27 +0000
Subject: Add the static libGLw and the corresponding headers to the
libgl1-mesa-swx11-dev package again.
---
debian/libgl1-mesa-swx11-dev.install | 2 ++
1 file changed, 2 insertions(+)
(limited to 'debian')
diff --git a/debian/libgl1-mesa-swx11-dev.install b/debian/libgl1-mesa-swx11-dev.install
index 2258776adea..d61e4be70e8 100644
--- a/debian/libgl1-mesa-swx11-dev.install
+++ b/debian/libgl1-mesa-swx11-dev.install
@@ -1,3 +1,5 @@
usr/include/GL/glx*.h
+usr/include/GL/GLw*A.h
usr/lib/libGL.a
usr/lib/libGL.so
+usr/lib/libGLw.a
--
cgit v1.2.3
From c46becc9b390caeec516c5fe253a9893e74ffc0c Mon Sep 17 00:00:00 2001
From: Thierry Reding
Date: Mon, 23 Oct 2006 08:30:53 +0000
Subject: Move the libOSMesa shlibs entry from libgl1-mesa-swx11 to libosmesa6
because that's where libOSMesa is now installed.
---
debian/libgl1-mesa-swx11.shlibs | 1 -
debian/libosmesa6.shlibs | 1 +
2 files changed, 1 insertion(+), 1 deletion(-)
create mode 100644 debian/libosmesa6.shlibs
(limited to 'debian')
diff --git a/debian/libgl1-mesa-swx11.shlibs b/debian/libgl1-mesa-swx11.shlibs
index f4b6356179c..b8e0fbaaaa5 100644
--- a/debian/libgl1-mesa-swx11.shlibs
+++ b/debian/libgl1-mesa-swx11.shlibs
@@ -1,2 +1 @@
libGL 1 libgl1-mesa-glx | libgl1
-libOSMesa 6 libgl1-mesa-swx11 | libgl1-mesa-glide3
diff --git a/debian/libosmesa6.shlibs b/debian/libosmesa6.shlibs
new file mode 100644
index 00000000000..f4d3f753196
--- /dev/null
+++ b/debian/libosmesa6.shlibs
@@ -0,0 +1 @@
+libOSMesa 6 libosmesa6 | libgl1-mesa-glide3
--
cgit v1.2.3
From 910c32c0e9610d8bd6d6cf2ba64e4b7d9fe59bcf Mon Sep 17 00:00:00 2001
From: Thierry Reding
Date: Mon, 23 Oct 2006 16:02:22 +0000
Subject: Install the osmesa.h header in the libosmesa6-dev package where it
belongs, now that all OSMesa libraries have been split off into
libosmesa6{,-dev}.
Don't make libosmesa6-dev depend on libgl1-mesa-swx11-dev anymore because it
no longer needs a libGL, only the gl.h header provided by mesa-common-dev.
---
debian/changelog | 6 +++++-
debian/control | 2 +-
debian/libosmesa6-dev.install | 1 +
debian/mesa-common-dev.install | 1 -
4 files changed, 7 insertions(+), 3 deletions(-)
(limited to 'debian')
diff --git a/debian/changelog b/debian/changelog
index 58ba6d49ea5..bd56faefb6f 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,8 +2,12 @@ mesa (6.5.1-1) unstable; urgency=low
* Provide i686 optimized versions in libgl1-mesa-swx11-i686.
* No longer provide the libgl1-mesa-swx11-dbg package.
+ * Statically link libOSMesa with the software rasterization code from libGL
+ so that it works independently of the installed libGL.
+ * Make libosmesa6-dev depend on mesa-common-dev because it only needs the
+ gl.h header file and no libGL anymore.
- -- Thierry Reding Sun, 15 Oct 2006 19:21:13 +0200
+ -- Thierry Reding Mon, 23 Oct 2006 17:57:01 +0200
mesa (6.5.1-0.2) unstable; urgency=low
diff --git a/debian/control b/debian/control
index 96f7a84f047..ed185017a76 100644
--- a/debian/control
+++ b/debian/control
@@ -191,7 +191,7 @@ Description: Mesa Off-screen rendering extension
Package: libosmesa6-dev
Section: devel
Architecture: any
-Depends: libosmesa6 (= ${binary:Version}), libgl1-mesa-swx11-dev (= ${binary:Version})
+Depends: libosmesa6 (= ${binary:Version}), mesa-common-dev (= ${binary:Version})
Conflicts: xlibosmesa-dev, libosmesa4-dev, libosmesa-dev
Replaces: xlibosmesa-dev, libosmesa-dev
Provides: xlibosmesa-dev, libosmesa-dev
diff --git a/debian/libosmesa6-dev.install b/debian/libosmesa6-dev.install
index b2ccc6b08e6..149a1bd7891 100644
--- a/debian/libosmesa6-dev.install
+++ b/debian/libosmesa6-dev.install
@@ -1,3 +1,4 @@
+usr/include/GL/osmesa.h
usr/lib/libOSMesa.a
usr/lib/libOSMesa.so
usr/lib/libOSMesa16.a
diff --git a/debian/mesa-common-dev.install b/debian/mesa-common-dev.install
index 7c104927712..40b38f55cb6 100644
--- a/debian/mesa-common-dev.install
+++ b/debian/mesa-common-dev.install
@@ -1,4 +1,3 @@
usr/include/GL/gl.h
usr/include/GL/glext.h
-usr/include/GL/osmesa.h
usr/include/GL/gl_mangle.h
--
cgit v1.2.3
From b57341a78b630e93e649ad83e548f2f3ceae29fb Mon Sep 17 00:00:00 2001
From: Thierry Reding
Date: Mon, 23 Oct 2006 16:43:41 +0000
Subject: Move the glx*.h headers from libgl1-mesa(-swx11)-dev into
mesa-common-dev because both packages provide identical files.
---
debian/changelog | 4 +++-
debian/libgl1-mesa-dev.install | 1 -
debian/libgl1-mesa-swx11-dev.install | 1 -
debian/mesa-common-dev.install | 1 +
4 files changed, 4 insertions(+), 3 deletions(-)
(limited to 'debian')
diff --git a/debian/changelog b/debian/changelog
index bd56faefb6f..156b60349da 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -6,8 +6,10 @@ mesa (6.5.1-1) unstable; urgency=low
so that it works independently of the installed libGL.
* Make libosmesa6-dev depend on mesa-common-dev because it only needs the
gl.h header file and no libGL anymore.
+ * Move glx*.h headers from libgl1-mesa(-swx11)-dev into mesa-common-dev
+ because both packages provide identical files.
- -- Thierry Reding Mon, 23 Oct 2006 17:57:01 +0200
+ -- Thierry Reding Mon, 23 Oct 2006 18:42:47 +0200
mesa (6.5.1-0.2) unstable; urgency=low
diff --git a/debian/libgl1-mesa-dev.install b/debian/libgl1-mesa-dev.install
index c892278267c..e1d3bffe3d7 100644
--- a/debian/libgl1-mesa-dev.install
+++ b/debian/libgl1-mesa-dev.install
@@ -1,2 +1 @@
-usr/include/GL/glx*.h
usr/lib/libGL.so
diff --git a/debian/libgl1-mesa-swx11-dev.install b/debian/libgl1-mesa-swx11-dev.install
index d61e4be70e8..86f5b3e4cb1 100644
--- a/debian/libgl1-mesa-swx11-dev.install
+++ b/debian/libgl1-mesa-swx11-dev.install
@@ -1,4 +1,3 @@
-usr/include/GL/glx*.h
usr/include/GL/GLw*A.h
usr/lib/libGL.a
usr/lib/libGL.so
diff --git a/debian/mesa-common-dev.install b/debian/mesa-common-dev.install
index 40b38f55cb6..487825f8eb6 100644
--- a/debian/mesa-common-dev.install
+++ b/debian/mesa-common-dev.install
@@ -1,3 +1,4 @@
usr/include/GL/gl.h
usr/include/GL/glext.h
usr/include/GL/gl_mangle.h
+usr/include/GL/glx*.h
--
cgit v1.2.3
From 5e38f566f2c642a6a8feab5cb0f007cb0be49d04 Mon Sep 17 00:00:00 2001
From: Thierry Reding
Date: Mon, 23 Oct 2006 16:45:00 +0000
Subject: Provide libgl-dev as alternative to the mesa-common-dev dependency of
the libosmesa6-dev package.
---
debian/control | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
(limited to 'debian')
diff --git a/debian/control b/debian/control
index ed185017a76..c3841bbef7e 100644
--- a/debian/control
+++ b/debian/control
@@ -191,7 +191,7 @@ Description: Mesa Off-screen rendering extension
Package: libosmesa6-dev
Section: devel
Architecture: any
-Depends: libosmesa6 (= ${binary:Version}), mesa-common-dev (= ${binary:Version})
+Depends: libosmesa6 (= ${binary:Version}), mesa-common-dev (= ${binary:Version}) | libgl-dev
Conflicts: xlibosmesa-dev, libosmesa4-dev, libosmesa-dev
Replaces: xlibosmesa-dev, libosmesa-dev
Provides: xlibosmesa-dev, libosmesa-dev
--
cgit v1.2.3
From 9d74c1ef2a2a17dda25b345d0ed527971d7eff28 Mon Sep 17 00:00:00 2001
From: Thierry Reding
Date: Tue, 24 Oct 2006 10:31:28 +0000
Subject: -fno-strict-aliasing actually *does* fix #394311 according to the
submitter.
---
debian/changelog | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
(limited to 'debian')
diff --git a/debian/changelog b/debian/changelog
index 156b60349da..3489f074543 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -8,8 +8,9 @@ mesa (6.5.1-1) unstable; urgency=low
gl.h header file and no libGL anymore.
* Move glx*.h headers from libgl1-mesa(-swx11)-dev into mesa-common-dev
because both packages provide identical files.
+ * Build with -fno-strict-aliasing. (Closes: #394311)
- -- Thierry Reding Mon, 23 Oct 2006 18:42:47 +0200
+ -- Thierry Reding Tue, 24 Oct 2006 12:29:27 +0200
mesa (6.5.1-0.2) unstable; urgency=low
--
cgit v1.2.3
From 83def94db5ccd1be0e24135a450d0d900aef9faf Mon Sep 17 00:00:00 2001
From: Thierry Reding
Date: Tue, 24 Oct 2006 12:16:16 +0000
Subject: Make libgl1-mesa-dev Architecture: all, because all we ship with it
is a symbolic link. Make it binNMU-safe by making it depend on
libgl1-mesa-glx and libgl1-mesa-dri both >= ${Source-Version} instead of
exact versions.
Add packages containing debugging symbols for libgl1-mesa-swx11,
libgl1-mesa-glx and libgl1-mesa-dri.
---
debian/changelog | 4 +++-
debian/control | 63 ++++++++++++++++++++++++++++++++++++++++++++++++++++++--
debian/rules | 3 +++
3 files changed, 67 insertions(+), 3 deletions(-)
(limited to 'debian')
diff --git a/debian/changelog b/debian/changelog
index 3489f074543..f055caf3b15 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -9,8 +9,10 @@ mesa (6.5.1-1) unstable; urgency=low
* Move glx*.h headers from libgl1-mesa(-swx11)-dev into mesa-common-dev
because both packages provide identical files.
* Build with -fno-strict-aliasing. (Closes: #394311)
+ * Add debugging symbol packages for libgl1-mesa-swx11, libgl1-mesa-glx and
+ libgl1-mesa-dri.
- -- Thierry Reding Tue, 24 Oct 2006 12:29:27 +0200
+ -- Thierry Reding Tue, 24 Oct 2006 14:13:01 +0200
mesa (6.5.1-0.2) unstable; urgency=low
diff --git a/debian/control b/debian/control
index c3841bbef7e..a010d4bac56 100644
--- a/debian/control
+++ b/debian/control
@@ -27,6 +27,30 @@ Description: A free implementation of the OpenGL API -- runtime
.
On Linux, this library is also known as libGL or libGL.so.1.
+Package: libgl1-mesa-swx11-dbg
+Section: libs
+Priority: extra
+Architecture: any
+Conflicts: libgl1-mesa-swrast-dbg
+Provides: libgl1-mesa-swrast-dbg
+Replaces: libgl1-mesa-swrast-dbg
+Description: A free implementation of the OpenGL API -- debugging symbols
+ Mesa is a 3-D graphics library with an API which is very similar to
+ that of OpenGL. To the extent that Mesa utilizes the OpenGL command
+ syntax or state machine, it is being used with authorization from
+ Silicon Graphics, Inc. However, the author makes no claim that Mesa
+ is in any way a compatible replacement for OpenGL or associated with
+ Silicon Graphics, Inc.
+ .
+ This library provides a pure software rasteriser; it does not provide
+ a direct rendering-capable library, or one which uses GLX. For that,
+ please see libgl1-mesa-glx.
+ .
+ On Linux, this library is also known as libGL or libGL.so.1.
+ .
+ This package contains debugging symbols for the software rasterization GL
+ library.
+
Package: libgl1-mesa-swx11-i686
Section: libs
Priority: extra
@@ -90,6 +114,24 @@ Description: A free implementation of the OpenGL API -- GLX runtime
For a complete description of Mesa, please look at the
libgl1-mesa-swx11 package.
+Package: libgl1-mesa-glx-dbg
+Section: libs
+Priority: extra
+Architecture: any
+Description: A free implementation of the OpenGL API -- GLX runtime -- debugging symbols
+ This version of Mesa provides GLX and DRI capabilities: it is capable of
+ both direct and indirect rendering. For direct rendering, it can use DRI
+ modules from the libgl1-mesa-dri package to accelerate drawing.
+ .
+ This package does not include the modules themselves: these can be found
+ in the libgl1-mesa-dri package.
+ .
+ For a complete description of Mesa, please look at the
+ libgl1-mesa-swx11 package.
+ .
+ This package contains debugging symbols for the GL library with GLX and DRI
+ capabilities.
+
#Package: libgl1-mesa-glx-i686
#Section: libs
#Priority: extra
@@ -128,6 +170,23 @@ Description: A free implementation of the OpenGL API -- DRI modules
For a complete description of Mesa, please look at the
libgl1-mesa-swx11 package.
+Package: libgl1-mesa-dri-dbg
+Section: libs
+Priority: extra
+Architecture: any
+Description: A free implementation of the OpenGL API -- DRI modules -- debugging symbols
+ This version of Mesa provides GLX and DRI capabilities: it is capable of
+ both direct and indirect rendering. For direct rendering, it can use DRI
+ modules from the libgl1-mesa-dri package to accelerate drawing.
+ .
+ This package does not include the OpenGL library itself, only the DRI
+ modules for accelerating direct rendering.
+ .
+ For a complete description of Mesa, please look at the
+ libgl1-mesa-swx11 package.
+ .
+ This package contains debugging symbols for the DRI modules.
+
#Package: libgl1-mesa-dri-i686
#Section: libs
#Priority: extra
@@ -151,8 +210,8 @@ Description: A free implementation of the OpenGL API -- DRI modules
Package: libgl1-mesa-dev
Section: libs
-Architecture: any
-Depends: libc6-dev, mesa-common-dev (= ${source:Version}), libgl1-mesa-glx (=${binary:Version}), libgl1-mesa-dri (= ${binary:Version})
+Architecture: all
+Depends: libc6-dev, mesa-common-dev (= ${source:Version}), libgl1-mesa-glx (>= ${Source-Version}), libgl1-mesa-dri (>= ${Source-Version})
Conflicts: libgl-dev, libgl1-mesa-dri-dev
Replaces: libgl-dev, libgl1-mesa-dri-dev
Provides: libgl-dev, libgl1-mesa-dri-dev
diff --git a/debian/rules b/debian/rules
index 0747f86049b..adcf06f183d 100755
--- a/debian/rules
+++ b/debian/rules
@@ -143,6 +143,9 @@ binary-arch: build install
dh_install --sourcedir=debian/tmp --list-missing
dh_installman
dh_link
+ dh_strip -plibgl1-mesa-swx11 --dbg-package=libgl1-mesa-swx11-dbg
+ dh_strip -plibgl1-mesa-glx --dbg-package=libgl1-mesa-glx-dbg
+ dh_strip -plibgl1-mesa-dri --dbg-package=libgl1-mesa-dri-dbg
dh_strip
dh_compress
dh_fixperms
--
cgit v1.2.3
From 4e5d870f72d5f612cc2fecd50fdb131fe591bd4e Mon Sep 17 00:00:00 2001
From: Thierry Reding
Date: Tue, 24 Oct 2006 14:29:11 +0000
Subject: Make libosmesa6-dev binNMU-safe again (mesa-common-dev is
Architecture: all).
---
debian/control | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
(limited to 'debian')
diff --git a/debian/control b/debian/control
index a010d4bac56..c14f638762d 100644
--- a/debian/control
+++ b/debian/control
@@ -250,7 +250,7 @@ Description: Mesa Off-screen rendering extension
Package: libosmesa6-dev
Section: devel
Architecture: any
-Depends: libosmesa6 (= ${binary:Version}), mesa-common-dev (= ${binary:Version}) | libgl-dev
+Depends: libosmesa6 (= ${binary:Version}), mesa-common-dev (= ${source:Version}) | libgl-dev
Conflicts: xlibosmesa-dev, libosmesa4-dev, libosmesa-dev
Replaces: xlibosmesa-dev, libosmesa-dev
Provides: xlibosmesa-dev, libosmesa-dev
--
cgit v1.2.3
From 35bc4b82ff1605358a7b666c5383ce911853969e Mon Sep 17 00:00:00 2001
From: Thierry Reding
Date: Tue, 24 Oct 2006 14:33:30 +0000
Subject: Since the original tarball is repackaged to include the three
upstream tarballs (MesaDemos, MesaGLUT and MesaLib), remove files that are
not supposed to be there.
Note that when importing initially, some files were not even added to the SVN
repository because SVN ignored them. These were configs/diffs~ and
docs/RELNOTES-6.1~. I removed those from the tarball as well.
---
configs/CVS/Entries | 92 --------------------------------------------------
configs/CVS/Repository | 1 -
configs/CVS/Root | 1 -
configs/CVS/Root.bak | 1 -
configs/CVS/Template | 0
debian/rules | 2 +-
6 files changed, 1 insertion(+), 96 deletions(-)
delete mode 100644 configs/CVS/Entries
delete mode 100644 configs/CVS/Repository
delete mode 100644 configs/CVS/Root
delete mode 100644 configs/CVS/Root.bak
delete mode 100644 configs/CVS/Template
(limited to 'debian')
diff --git a/configs/CVS/Entries b/configs/CVS/Entries
deleted file mode 100644
index 15b3dddb230..00000000000
--- a/configs/CVS/Entries
+++ /dev/null
@@ -1,92 +0,0 @@
-/linux-osmesa16-static/1.1/Fri Mar 26 15:16:35 2004//
-/linux-ppc/1.3/Fri Jul 15 22:18:52 2005//
-/linux-ppc-static/1.3/Fri Jul 15 22:18:52 2005//
-/linux-static/1.3/Fri Jul 15 22:18:52 2005//
-/linux-x86-32/1.4/Fri Jul 15 22:18:52 2005//
-/linux-solo-ia64/1.8/Thu Aug 11 14:15:58 2005//
-/linux-dri-ppc/1.3/Fri Aug 19 22:03:05 2005//
-/freebsd-dri-amd64/1.3/Mon Sep 12 15:03:11 2005//
-/freebsd-dri-x86/1.2/Mon Sep 12 15:03:11 2005//
-/linux-dri-x86/1.12/Mon Sep 12 15:03:11 2005//
-/linux-solo-x86/1.9/Mon Sep 12 15:03:11 2005//
-/linux-x86-64-debug/1.4/Sat Nov 12 17:56:59 2005//
-/linux-x86-debug/1.4/Sat Nov 12 17:56:59 2005//
-/sunos5-64-gcc/1.1/Mon Apr 3 16:09:53 2006//
-/darwin-static/1.3/Tue Apr 11 20:47:33 2006//
-/darwin-static-x86ppc/1.2/Fri Apr 21 01:03:51 2006//
-/linux-x86/1.7/Sat Apr 22 00:21:52 2006//
-/aix/1.5/Thu Jun 22 22:24:33 2006//
-/aix-64/1.5/Thu Jul 13 02:43:20 2006//
-/aix-64-static/1.3/Thu Jul 13 02:43:20 2006//
-/aix-gcc/1.4/Thu Jul 13 02:43:20 2006//
-/aix-static/1.3/Thu Jul 13 02:43:20 2006//
-/beos/1.7/Thu Jul 13 02:43:20 2006//
-/darwin/1.6/Thu Jul 13 02:43:20 2006//
-/darwin-x86ppc/1.3/Thu Jul 13 02:43:20 2006//
-/hpux10-gcc/1.2/Thu Jul 13 02:43:20 2006//
-/irix6-64/1.6/Thu Jul 13 02:43:20 2006//
-/irix6-64-static/1.6/Thu Jul 13 02:43:20 2006//
-/irix6-n32/1.6/Thu Jul 13 02:43:20 2006//
-/irix6-n32-static/1.6/Thu Jul 13 02:43:20 2006//
-/irix6-o32/1.5/Thu Jul 13 02:43:20 2006//
-/irix6-o32-static/1.6/Thu Jul 13 02:43:20 2006//
-/linux-alpha/1.3/Thu Jul 13 02:43:20 2006//
-/linux-alpha-static/1.3/Thu Jul 13 02:43:20 2006//
-/linux-directfb/1.4/Thu Jul 13 02:43:20 2006//
-/linux-dri-x86-64/1.21/Thu Jul 13 02:43:20 2006//
-/linux-glide/1.4/Thu Jul 13 02:43:20 2006//
-/linux-ia64-icc/1.2/Thu Jul 13 02:43:20 2006//
-/linux-ia64-icc-static/1.2/Thu Jul 13 02:43:20 2006//
-/linux-icc/1.5/Thu Jul 13 02:43:20 2006//
-/linux-icc-static/1.6/Thu Jul 13 02:43:20 2006//
-/linux-osmesa/1.3/Thu Jul 13 02:43:20 2006//
-/linux-osmesa16/1.3/Thu Jul 13 02:43:20 2006//
-/linux-osmesa32/1.3/Thu Jul 13 02:43:20 2006//
-/linux-profile/1.3/Thu Jul 13 02:43:20 2006//
-/linux-x86-64/1.11/Thu Jul 13 02:43:20 2006//
-/linux-x86-64-static/1.8/Thu Jul 13 02:43:20 2006//
-/linux-x86-glide/1.6/Thu Jul 13 02:43:20 2006//
-/linux-x86-static/1.7/Thu Jul 13 02:43:20 2006//
-/netbsd/1.2/Thu Jul 13 02:43:20 2006//
-/openbsd/1.3/Thu Jul 13 02:43:20 2006//
-/osf1/1.5/Thu Jul 13 02:43:20 2006//
-/osf1-static/1.2/Thu Jul 13 02:43:20 2006//
-/solaris-x86/1.3/Thu Jul 13 02:43:20 2006//
-/solaris-x86-gcc/1.6/Thu Jul 13 02:43:20 2006//
-/solaris-x86-gcc-static/1.3/Thu Jul 13 02:43:20 2006//
-/sunos4/1.2/Thu Jul 13 02:43:20 2006//
-/sunos4-gcc/1.2/Thu Jul 13 02:43:20 2006//
-/sunos4-static/1.3/Thu Jul 13 02:43:20 2006//
-/sunos5/1.3/Thu Jul 13 02:43:20 2006//
-/sunos5-gcc/1.6/Thu Jul 13 02:43:20 2006//
-/sunos5-smp/1.3/Thu Jul 13 02:43:20 2006//
-/sunos5-v8/1.2/Thu Jul 13 02:43:20 2006//
-/sunos5-v8-static/1.2/Thu Jul 13 02:43:20 2006//
-/sunos5-v9/1.3/Thu Jul 13 02:43:20 2006//
-/sunos5-v9-static/1.3/Thu Jul 13 02:43:20 2006//
-/ultrix-gcc/1.3/Thu Jul 13 02:43:20 2006//
-/linux-debug/1.9/Thu Jul 13 02:43:26 2006//
-/freebsd/1.8/Thu Aug 17 14:09:02 2006//
-/freebsd-dri/1.21/Thu Aug 17 14:09:02 2006//
-/linux-dri/1.44/Thu Aug 17 14:09:02 2006//
-/linux-dri-xcb/1.4/Thu Aug 17 14:09:02 2006//
-/linux-indirect/1.6/Thu Aug 17 14:09:02 2006//
-/linux-solo/1.25/Thu Aug 17 14:09:02 2006//
-/linux-fbdev/1.5/Mon Aug 21 16:03:34 2006//
-/linux/1.8/Thu Aug 24 23:37:59 2006//
-/linux-sparc/1.6/Thu Aug 24 23:37:59 2006//
-/linux-sparc5/1.5/Thu Aug 24 23:37:59 2006//
-/linux-ultrasparc/1.4/Thu Aug 24 23:37:59 2006//
-/default/1.27/Mon Sep 11 21:35:46 2006//
-/hpux10/1.3/Mon Sep 11 21:35:46 2006//
-/hpux10-static/1.4/Mon Sep 11 21:35:46 2006//
-/hpux11-32/1.4/Mon Sep 11 21:35:46 2006//
-/hpux11-32-static/1.4/Mon Sep 11 21:35:46 2006//
-/hpux11-32-static-nothreads/1.2/Mon Sep 11 21:35:46 2006//
-/hpux11-64/1.4/Mon Sep 11 21:35:46 2006//
-/hpux11-64-static/1.4/Mon Sep 11 21:35:46 2006//
-/hpux11-ia64/1.3/Mon Sep 11 21:35:46 2006//
-/hpux11-ia64-static/1.3/Mon Sep 11 21:35:46 2006//
-/hpux9/1.3/Mon Sep 11 21:35:46 2006//
-/hpux9-gcc/1.3/Mon Sep 11 21:35:46 2006//
-D
diff --git a/configs/CVS/Repository b/configs/CVS/Repository
deleted file mode 100644
index 467347235d9..00000000000
--- a/configs/CVS/Repository
+++ /dev/null
@@ -1 +0,0 @@
-Mesa/configs
diff --git a/configs/CVS/Root b/configs/CVS/Root
deleted file mode 100644
index 231303aae3e..00000000000
--- a/configs/CVS/Root
+++ /dev/null
@@ -1 +0,0 @@
-:ext:brianp@cvs.freedesktop.org:/cvs/mesa
diff --git a/configs/CVS/Root.bak b/configs/CVS/Root.bak
deleted file mode 100644
index eba07540827..00000000000
--- a/configs/CVS/Root.bak
+++ /dev/null
@@ -1 +0,0 @@
-:ext:brianp@pdx.freedesktop.org:/cvs/mesa
diff --git a/configs/CVS/Template b/configs/CVS/Template
deleted file mode 100644
index e69de29bb2d..00000000000
diff --git a/debian/rules b/debian/rules
index adcf06f183d..307088a54de 100755
--- a/debian/rules
+++ b/debian/rules
@@ -126,7 +126,7 @@ $(STAMP_DIR)/install-source:
clean: unpatch
dh_testdir
dh_testroot
- dh_clean --exclude ./Makefile.orig --exclude configs/CVS/Root.bak
+ dh_clean --exclude ./Makefile.orig
rm -rf $(DEB_BUILD_DIR) $(STAMP_DIR)
# Build architecture-independent files here.
--
cgit v1.2.3
From 5bed38974e7b7ce240b4aa141988f9d6a107370c Mon Sep 17 00:00:00 2001
From: Thierry Reding
Date: Tue, 24 Oct 2006 14:45:18 +0000
Subject: Close 392715 because we now ship the contents of the three Mesa
tarballs in the original source.
---
debian/changelog | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
(limited to 'debian')
diff --git a/debian/changelog b/debian/changelog
index f055caf3b15..c67bffc9900 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -11,8 +11,10 @@ mesa (6.5.1-1) unstable; urgency=low
* Build with -fno-strict-aliasing. (Closes: #394311)
* Add debugging symbol packages for libgl1-mesa-swx11, libgl1-mesa-glx and
libgl1-mesa-dri.
+ * Repack the contents of the three Mesa tarballs (MesaDemos, MesaGLUT and
+ MesaLib) as the original source tarball. (Closes: #392715)
- -- Thierry Reding Tue, 24 Oct 2006 14:13:01 +0200
+ -- Thierry Reding Tue, 24 Oct 2006 16:42:33 +0200
mesa (6.5.1-0.2) unstable; urgency=low
--
cgit v1.2.3
From e076cd42f04a643644b180eb24813e5fe07cf4ad Mon Sep 17 00:00:00 2001
From: Thierry Reding
Date: Wed, 25 Oct 2006 00:17:42 +0000
Subject: Bug #387706 should also be closed because we move libOSMesa to
libosmesa6 and statically link in the software rasterization code.
---
debian/changelog | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
(limited to 'debian')
diff --git a/debian/changelog b/debian/changelog
index c67bffc9900..a2e40900f7c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,7 +3,7 @@ mesa (6.5.1-1) unstable; urgency=low
* Provide i686 optimized versions in libgl1-mesa-swx11-i686.
* No longer provide the libgl1-mesa-swx11-dbg package.
* Statically link libOSMesa with the software rasterization code from libGL
- so that it works independently of the installed libGL.
+ so that it works independently of the installed libGL. (Closes: #387706)
* Make libosmesa6-dev depend on mesa-common-dev because it only needs the
gl.h header file and no libGL anymore.
* Move glx*.h headers from libgl1-mesa(-swx11)-dev into mesa-common-dev
@@ -14,7 +14,7 @@ mesa (6.5.1-1) unstable; urgency=low
* Repack the contents of the three Mesa tarballs (MesaDemos, MesaGLUT and
MesaLib) as the original source tarball. (Closes: #392715)
- -- Thierry Reding Tue, 24 Oct 2006 16:42:33 +0200
+ -- Thierry Reding Wed, 25 Oct 2006 02:16:26 +0200
mesa (6.5.1-0.2) unstable; urgency=low
--
cgit v1.2.3
From 143dfcc904a52291862833fc54a38bf57a1e04e2 Mon Sep 17 00:00:00 2001
From: Thierry Reding
Date: Wed, 1 Nov 2006 07:54:40 +0000
Subject: Make mesa-common-dev depend on libx11-dev to provide Xlib.h and
Xutil.h needed by the GLX headers.
---
debian/changelog | 3 ++-
debian/control | 1 +
2 files changed, 3 insertions(+), 1 deletion(-)
(limited to 'debian')
diff --git a/debian/changelog b/debian/changelog
index a2e40900f7c..a3debbd91c8 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -13,8 +13,9 @@ mesa (6.5.1-1) unstable; urgency=low
libgl1-mesa-dri.
* Repack the contents of the three Mesa tarballs (MesaDemos, MesaGLUT and
MesaLib) as the original source tarball. (Closes: #392715)
+ * Make mesa-common-dev depend on libx11-dev. (Closes: #396498)
- -- Thierry Reding Wed, 25 Oct 2006 02:16:26 +0200
+ -- Thierry Reding Wed, 1 Nov 2006 08:52:53 +0100
mesa (6.5.1-0.2) unstable; urgency=low
diff --git a/debian/control b/debian/control
index c14f638762d..fb44a2b0667 100644
--- a/debian/control
+++ b/debian/control
@@ -230,6 +230,7 @@ Package: mesa-common-dev
Section: devel
Architecture: all
Replaces: xlibmesa-gl-dev (<< 1:7), xlibosmesa-dev
+Depends: libx11-dev
Description: Developer documentation for Mesa
This package includes the specifications for the Mesa-specific OpenGL
extensions, the complete set of release release notes and the
--
cgit v1.2.3
From 5d23a7905cde2f1d62032a3ae4ef3bc1367006fc Mon Sep 17 00:00:00 2001
From: Thierry Reding
Date: Thu, 2 Nov 2006 21:05:29 +0000
Subject: Add code to provide a mesa-utils package since those utilities are
shipped in the MesaDemos tarball.
---
configs/debian-default | 1 +
configs/debian-utils | 17 ++++++++
debian/control | 10 +++++
debian/mesa-utils.install | 4 ++
debian/patches/04_optional-progs-and-install.patch | 45 ++++++++++++++++++++++
debian/patches/series | 1 +
debian/rules | 3 +-
7 files changed, 80 insertions(+), 1 deletion(-)
create mode 100644 configs/debian-utils
create mode 100644 debian/mesa-utils.install
create mode 100644 debian/patches/04_optional-progs-and-install.patch
(limited to 'debian')
diff --git a/configs/debian-default b/configs/debian-default
index 3412bb351d1..b64a6806bad 100644
--- a/configs/debian-default
+++ b/configs/debian-default
@@ -8,6 +8,7 @@ SRC_DIRS = mesa
PROGRAM_DIRS =
INSTALL_DIR = $(DESTDIR)/usr
+INSTALL = /usr/bin/install
# vim: ft=make
diff --git a/configs/debian-utils b/configs/debian-utils
new file mode 100644
index 00000000000..1705802c79e
--- /dev/null
+++ b/configs/debian-utils
@@ -0,0 +1,17 @@
+# Configuration defaults for building Mesa (swx11 and GLU).
+
+include $(TOP)/configs/debian-default
+
+CONFIG_NAME = debian-utils
+
+SRC_DIRS =
+PROGRAM_DIRS = xdemos
+PROGS = glxdemo \
+ glxgears \
+ glxheads \
+ glxinfo
+
+APP_LIB_DEPS = -lGL
+
+# vim: ft=make
+
diff --git a/debian/control b/debian/control
index fb44a2b0667..697d819ebe9 100644
--- a/debian/control
+++ b/debian/control
@@ -306,4 +306,14 @@ Description: Mesa software rasteriser source -- development support files
software rasteriser source to build the GLcore module for unaccelerated
indirect rendering.
+Package: mesa-utils
+Section: x11
+Priority: optional
+Architecture: any
+Depends: ${shlibs:Depends}
+Replaces: xbase-clients (<< 6.8.2-38)
+Description: Miscellaneous Mesa GL utilities
+ This package provides several basic GL utilities built by Mesa, including
+ glxinfo and glxgears.
+
# vim: tw=0
diff --git a/debian/mesa-utils.install b/debian/mesa-utils.install
new file mode 100644
index 00000000000..4d4d07e3f00
--- /dev/null
+++ b/debian/mesa-utils.install
@@ -0,0 +1,4 @@
+usr/bin/glxdemo
+usr/bin/glxgears
+usr/bin/glxheads
+usr/bin/glxinfo
diff --git a/debian/patches/04_optional-progs-and-install.patch b/debian/patches/04_optional-progs-and-install.patch
new file mode 100644
index 00000000000..66a4771003b
--- /dev/null
+++ b/debian/patches/04_optional-progs-and-install.patch
@@ -0,0 +1,45 @@
+Allow the programs that are to be built to be defined in the build
+configuration.
+
+Provide an install target for installing the programs in $(INSTALL_DIR)/bin.
+
+This patch by Thierry Reding.
+Not submitted to Mesa.
+
+--- a/progs/xdemos/Makefile
++++ b/progs/xdemos/Makefile
+@@ -8,7 +8,7 @@
+
+ LIB_DEP = $(TOP)/$(LIB_DIR)/$(GL_LIB_NAME) $(TOP)/$(LIB_DIR)/$(GLU_LIB_NAME)
+
+-PROGS = glthreads \
++PROGS ?= glthreads \
+ glxdemo \
+ glxgears \
+ glxgears_fbconfig \
+@@ -44,6 +44,9 @@
+
+ default: $(PROGS)
+
++install: $(PROGS)
++ $(INSTALL) -d $(INSTALL_DIR)/bin
++ $(INSTALL) -m 755 $(PROGS) $(INSTALL_DIR)/bin
+
+ clean:
+ -rm -f $(PROGS)
+--- a/progs/Makefile
++++ b/progs/Makefile
+@@ -21,8 +21,12 @@
+ fi \
+ done
+
+-# Dummy install target
+ install:
++ @for dir in $(SUBDIRS) ; do \
++ if [ -d $$dir ] ; then \
++ (cd $$dir ; $(MAKE) install) ; \
++ fi \
++ done
+
+ clean:
+ @for dir in $(SUBDIRS) tests ; do \
diff --git a/debian/patches/series b/debian/patches/series
index 31078561786..327a78f2151 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -2,3 +2,4 @@
01_fix-makefile.patch
02_use-ieee-fp-on-s390-and-m68k.patch
03_handle-sync-and-dont-unlock-display.patch
+04_optional-progs-and-install.patch
diff --git a/debian/rules b/debian/rules
index 307088a54de..bb2f35c061d 100755
--- a/debian/rules
+++ b/debian/rules
@@ -75,7 +75,8 @@ CONFIGS = $(SWX11_GLU_CONFIGS) \
debian-osmesa16 \
debian-osmesa16-static \
debian-osmesa32 \
- debian-osmesa32-static
+ debian-osmesa32-static \
+ debian-utils
STAMP = $(STAMP_DIR)/$(DEB_BUILD_GNU_TYPE)
BUILD_STAMPS = $(addprefix $(STAMP)-build-, $(CONFIGS))
--
cgit v1.2.3
From 336beba81ba636890e5a76569ad640feea398d93 Mon Sep 17 00:00:00 2001
From: Thierry Reding
Date: Thu, 2 Nov 2006 21:20:33 +0000
Subject: Update Debian changelog.
---
debian/changelog | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
(limited to 'debian')
diff --git a/debian/changelog b/debian/changelog
index a3debbd91c8..260c5319268 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -14,8 +14,10 @@ mesa (6.5.1-1) unstable; urgency=low
* Repack the contents of the three Mesa tarballs (MesaDemos, MesaGLUT and
MesaLib) as the original source tarball. (Closes: #392715)
* Make mesa-common-dev depend on libx11-dev. (Closes: #396498)
+ * Provide a new package: mesa-utils. These utilities are shipped in the
+ MesaDemos package so mesa is the right package to provide them.
- -- Thierry Reding Wed, 1 Nov 2006 08:52:53 +0100
+ -- Thierry Reding Thu, 2 Nov 2006 22:14:58 +0100
mesa (6.5.1-0.2) unstable; urgency=low
--
cgit v1.2.3
From d5ef77353b6691e4e4e205f836d95b6bda182bdf Mon Sep 17 00:00:00 2001
From: Thierry Reding
Date: Fri, 10 Nov 2006 08:40:03 +0000
Subject: Build Mesa utility programs (glxdemo, glxgears, glxheads, glxinfo)
together with the DRI/GLX-enabled libGL. Don't build the utilities on
CPU-optimized configurations.
---
configs/debian-dri-default | 9 ++++++++-
configs/debian-dri-i386-i686 | 2 +-
configs/debian-dri-optimized-default | 13 +++++++++++++
configs/debian-utils | 17 -----------------
debian/rules | 3 +--
5 files changed, 23 insertions(+), 21 deletions(-)
create mode 100644 configs/debian-dri-optimized-default
delete mode 100644 configs/debian-utils
(limited to 'debian')
diff --git a/configs/debian-dri-default b/configs/debian-dri-default
index 5fe6d787b33..31e90479c4a 100644
--- a/configs/debian-dri-default
+++ b/configs/debian-dri-default
@@ -7,8 +7,13 @@ CONFIG_NAME = debian-dri-default
OPT_FLAGS = -O3 -g
-SRC_DIRS = glx/x11 mesa
+SRC_DIRS = glx/x11 mesa progs
DRIVER_DIRS = dri
+PROGRAM_DIRS = xdemos
+PROGS = glxdemo \
+ glxgears \
+ glxheads \
+ glxinfo
LIB_DIR = lib/glx
@@ -27,5 +32,7 @@ ifeq ($(DEB_BUILD_ARCH), sparc)
DRI_DIRS += ffb
endif
+APP_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GL_LIB)
+
# vim: ft=make
diff --git a/configs/debian-dri-i386-i686 b/configs/debian-dri-i386-i686
index 02a0321abb9..b15cd77a03d 100644
--- a/configs/debian-dri-i386-i686
+++ b/configs/debian-dri-i386-i686
@@ -1,7 +1,7 @@
# Configuration for building the DRI drivers on i386.
include $(TOP)/configs/linux-dri-x86
-include $(TOP)/configs/debian-dri-default
+include $(TOP)/configs/debian-dri-optimized-default
CONFIG_NAME = debian-dri-i386-i686
diff --git a/configs/debian-dri-optimized-default b/configs/debian-dri-optimized-default
new file mode 100644
index 00000000000..9c3f68dde7a
--- /dev/null
+++ b/configs/debian-dri-optimized-default
@@ -0,0 +1,13 @@
+# Configuration defaults for CPU-optimized builds of the DRI drivers and
+# DRI/GLX-enabled libGL.
+
+include $(TOP)/configs/debian-dri-default
+
+CONFIG_NAME = debian-dri-optimized-default
+
+# override so that the utility programs are not rebuilt with CPU-specific
+# optimizations
+SRC_DIRS = glx/x11 mesa
+
+# vim: ft=make
+
diff --git a/configs/debian-utils b/configs/debian-utils
deleted file mode 100644
index 1705802c79e..00000000000
--- a/configs/debian-utils
+++ /dev/null
@@ -1,17 +0,0 @@
-# Configuration defaults for building Mesa (swx11 and GLU).
-
-include $(TOP)/configs/debian-default
-
-CONFIG_NAME = debian-utils
-
-SRC_DIRS =
-PROGRAM_DIRS = xdemos
-PROGS = glxdemo \
- glxgears \
- glxheads \
- glxinfo
-
-APP_LIB_DEPS = -lGL
-
-# vim: ft=make
-
diff --git a/debian/rules b/debian/rules
index bb2f35c061d..307088a54de 100755
--- a/debian/rules
+++ b/debian/rules
@@ -75,8 +75,7 @@ CONFIGS = $(SWX11_GLU_CONFIGS) \
debian-osmesa16 \
debian-osmesa16-static \
debian-osmesa32 \
- debian-osmesa32-static \
- debian-utils
+ debian-osmesa32-static
STAMP = $(STAMP_DIR)/$(DEB_BUILD_GNU_TYPE)
BUILD_STAMPS = $(addprefix $(STAMP)-build-, $(CONFIGS))
--
cgit v1.2.3
From b6caed527ccdcce15cfdf31aa77813e52c0faab4 Mon Sep 17 00:00:00 2001
From: Thierry Reding
Date: Fri, 10 Nov 2006 08:50:35 +0000
Subject: Also add release notes of version 6.5.1 and the release notes index.
---
debian/mesa-common-dev.docs | 1 +
1 file changed, 1 insertion(+)
(limited to 'debian')
diff --git a/debian/mesa-common-dev.docs b/debian/mesa-common-dev.docs
index 457acbf84c4..834e887e4fa 100644
--- a/debian/mesa-common-dev.docs
+++ b/debian/mesa-common-dev.docs
@@ -4,4 +4,5 @@ docs/envvars.html
docs/faq.html
docs/osmesa.html
docs/RELNOTES-*
+docs/relnotes*
docs/*.spec
--
cgit v1.2.3
From 50faa32ce32fe5f7409705bffb73efceb0b20354 Mon Sep 17 00:00:00 2001
From: Thierry Reding
Date: Fri, 10 Nov 2006 09:00:00 +0000
Subject: Move the code to choose which configurations to build to a separate
script in order to keep debian/rules cleaner.
---
debian/rules | 43 ++++-------------------------------
debian/scripts/choose-configs | 52 +++++++++++++++++++++++++++++++++++++++++++
2 files changed, 56 insertions(+), 39 deletions(-)
create mode 100644 debian/scripts/choose-configs
(limited to 'debian')
diff --git a/debian/rules b/debian/rules
index 307088a54de..7d3196ff7dc 100755
--- a/debian/rules
+++ b/debian/rules
@@ -26,46 +26,11 @@ DEB_BUILD_DIR ?= $(CURDIR)/obj-$(DEB_BUILD_GNU_TYPE)
export DEB_BUILD_ARCH
-# choose an architecture-specific build of swx11 and GLU if a matching
-# configuration exists
-ifneq ($(wildcard configs/debian-swx11+glu-$(DEB_BUILD_ARCH)),)
- SWX11_GLU_CONFIGS := debian-swx11+glu-$(DEB_BUILD_ARCH)
-else
- SWX11_GLU_CONFIGS := debian-swx11+glu-any
-endif
-
-# same for static builds
-ifneq ($(wildcard configs/debian-swx11+glu-static-$(DEB_BUILD_ARCH)),)
- SWX11_GLU_CONFIGS += debian-swx11+glu-static-$(DEB_BUILD_ARCH)
-else
- SWX11_GLU_CONFIGS += debian-swx11+glu-static-any
-endif
-
-# and for the GLX/DRI-enabled libGL
-ifneq ($(wildcard configs/debian-dri-$(DEB_BUILD_ARCH)),)
- DRI_CONFIGS := debian-dri-$(DEB_BUILD_ARCH)
-else
- DRI_CONFIGS := debian-dri-any
-endif
-
-# additional configurations optimized for CPU's supported by the build
-# architecture
-ifeq ($(DEB_BUILD_ARCH), i386)
- SWX11_GLU_CONFIGS += debian-swx11+glu-i386-i686
-# DRI_CONFIGS += debian-dri-i386-i686
-endif
-
-#ifeq ($(DEB_BUILD_ARCH), alpha)
-# SWX11_GLU_CONFIGS += debian-swx11+glu-alpha-ev5
-#endif
-
-#ifeq ($(DEB_BUILD_ARCH), powerpc)
-# SWX11_GLU_CONFIGS += debian-swx11+glu-powerpc-603
-#endif
+# choose which configurations to build
+SWX11_GLU_CONFIGS =
+DRI_CONFIGS =
-#ifeq ($(DEB_BUILD_ARCH), sparc)
-# SWX11_GLU_CONFIGS += debian-swx11+glu-sparc-ultrasparc
-#endif
+include debian/scripts/choose-configs
# build the following configurations by default
CONFIGS = $(SWX11_GLU_CONFIGS) \
diff --git a/debian/scripts/choose-configs b/debian/scripts/choose-configs
new file mode 100644
index 00000000000..3f5f9868e51
--- /dev/null
+++ b/debian/scripts/choose-configs
@@ -0,0 +1,52 @@
+# Script to choose which configurations are to be built depending on the value
+# of the DEB_BUILD_ARCH variable.
+#
+# Copyright © 2006 Thierry Reding
+
+##############################################################################
+## architecture-specific configurations ######################################
+
+# choose an architecture-specific build of swx11 and GLU if a matching
+# configuration exists
+ifneq ($(wildcard configs/debian-swx11+glu-$(DEB_BUILD_ARCH)),)
+ SWX11_GLU_CONFIGS := debian-swx11+glu-$(DEB_BUILD_ARCH)
+else
+ SWX11_GLU_CONFIGS := debian-swx11+glu-any
+endif
+
+# same for static builds
+ifneq ($(wildcard configs/debian-swx11+glu-static-$(DEB_BUILD_ARCH)),)
+ SWX11_GLU_CONFIGS += debian-swx11+glu-static-$(DEB_BUILD_ARCH)
+else
+ SWX11_GLU_CONFIGS += debian-swx11+glu-static-any
+endif
+
+# and for the GLX/DRI-enabled libGL
+ifneq ($(wildcard configs/debian-dri-$(DEB_BUILD_ARCH)),)
+ DRI_CONFIGS := debian-dri-$(DEB_BUILD_ARCH)
+else
+ DRI_CONFIGS := debian-dri-any
+endif
+
+##############################################################################
+## CPU-optimized configurations ##############################################
+
+ifeq ($(DEB_BUILD_ARCH), i386)
+ SWX11_GLU_CONFIGS += debian-swx11+glu-i386-i686
+# DRI_CONFIGS += debian-dri-i386-i686
+endif
+
+#ifeq ($(DEB_BUILD_ARCH), alpha)
+# SWX11_GLU_CONFIGS += debian-swx11+glu-alpha-ev5
+#endif
+
+#ifeq ($(DEB_BUILD_ARCH), powerpc)
+# SWX11_GLU_CONFIGS += debian-swx11+glu-powerpc-603
+#endif
+
+#ifeq ($(DEB_BUILD_ARCH), sparc)
+# SWX11_GLU_CONFIGS += debian-swx11+glu-sparc-ultrasparc
+#endif
+
+# vim: ft=make
+
--
cgit v1.2.3
From b5a5062176ffae31566f55db4eee6099d15ccf1f Mon Sep 17 00:00:00 2001
From: Thierry Reding
Date: Sat, 18 Nov 2006 17:50:44 +0000
Subject: Target the mesa package at experimental until etch is released.
---
debian/changelog | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
(limited to 'debian')
diff --git a/debian/changelog b/debian/changelog
index 260c5319268..16f6303982c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,4 +1,4 @@
-mesa (6.5.1-1) unstable; urgency=low
+mesa (6.5.1-1) experimental; urgency=low
* Provide i686 optimized versions in libgl1-mesa-swx11-i686.
* No longer provide the libgl1-mesa-swx11-dbg package.
@@ -17,7 +17,7 @@ mesa (6.5.1-1) unstable; urgency=low
* Provide a new package: mesa-utils. These utilities are shipped in the
MesaDemos package so mesa is the right package to provide them.
- -- Thierry Reding Thu, 2 Nov 2006 22:14:58 +0100
+ -- Thierry Reding Sat, 18 Nov 2006 18:50:07 +0100
mesa (6.5.1-0.2) unstable; urgency=low
--
cgit v1.2.3
From bb44a8ae1f392d44b2f588c831101c865485bcfd Mon Sep 17 00:00:00 2001
From: Thierry Reding
Date: Sat, 18 Nov 2006 17:59:25 +0000
Subject: Update to latest upstream release candidate. Update patches.
---
Makefile | 9 +-
bin/minstall | 88 +
bin/mklib | 15 +-
configs/aix | 1 -
configs/default | 5 +-
configs/freebsd | 3 -
configs/freebsd-dri | 10 +-
configs/linux-dri | 5 +-
configs/linux-dri-xcb | 5 +-
configs/linux-indirect | 1 +
debian/changelog | 9 +
debian/patches/01_fix-makefile.patch | 18 -
.../03_handle-sync-and-dont-unlock-display.patch | 20 -
debian/patches/03_optional-progs-and-install.patch | 45 +
debian/patches/04_optional-progs-and-install.patch | 45 -
debian/patches/series | 3 +-
descrip.mms | 2 +-
docs/RELNOTES-6.4 | 50 -
docs/RELNOTES-6.4.1 | 47 -
docs/RELNOTES-6.4.2 | 47 -
docs/RELNOTES-6.5 | 97 -
docs/contents.html | 2 +-
docs/devinfo.html | 14 +-
docs/dispatch.html | 274 +
docs/mangling.html | 8 +-
docs/news.html | 85 +-
docs/relnotes-6.4.1.html | 68 +
docs/relnotes-6.4.2.html | 75 +
docs/relnotes-6.4.html | 90 +
docs/relnotes-6.5.1.html | 74 +-
docs/relnotes-6.5.2.html | 111 +
docs/relnotes-6.5.html | 131 +
docs/relnotes.html | 24 +-
docs/sourcedocs.html | 17 +-
docs/versions.html | 175 +-
include/GL/gl.h | 4 +-
include/GL/glx_mangle.h | 58 +-
progs/demos/Makefile | 2 +
progs/demos/cubemap.c | 1 +
progs/demos/fslight.c | 334 +
progs/demos/readpix.c | 31 +-
progs/demos/streaming_rect.c | 322 +
progs/demos/texdown.c | 133 +-
progs/osdemos/osdemo.c | 45 +-
progs/xdemos/wincopy.c | 35 +-
src/glu/Makefile | 2 +-
src/glut/fbdev/Makefile | 2 +-
src/glut/fbdev/cursor.c | 6 +-
src/glut/fbdev/fbdev.c | 71 +-
src/glut/fbdev/gamemode.c | 1 -
src/glut/fbdev/input.c | 125 +-
src/glut/glx/Makefile | 2 +-
src/glut/glx/glut_cmap.c | 24 +-
src/glut/glx/glut_win.c | 17 +
src/glut/mini/models.c | 16 +-
src/glw/Makefile | 2 +-
src/glx/x11/glxext.c | 262 +-
src/glx/x11/indirect.c | 8236 ++++++++++++--------
src/glx/x11/indirect.h | 23 +-
src/glx/x11/indirect_init.c | 406 +-
src/glx/x11/indirect_size.c | 446 +-
src/glx/x11/indirect_vertex_array.c | 6 +-
src/glx/x11/singlepix.c | 87 +
src/mesa/Makefile | 15 +-
src/mesa/drivers/common/driverfuncs.c | 3 +
src/mesa/drivers/directfb/idirectfbgl_mesa.c | 24 +-
src/mesa/drivers/dri/Makefile.template | 9 +-
src/mesa/drivers/dri/common/dri_bufmgr.c | 493 ++
src/mesa/drivers/dri/common/dri_bufmgr.h | 99 +
src/mesa/drivers/dri/common/dri_bufpool.h | 86 +
src/mesa/drivers/dri/common/dri_drmpool.c | 227 +
src/mesa/drivers/dri/common/dri_util.c | 12 +-
src/mesa/drivers/dri/common/dri_util.h | 15 +-
src/mesa/drivers/dri/common/drirenderbuffer.h | 7 +-
src/mesa/drivers/dri/common/extension_helper.h | 894 ++-
src/mesa/drivers/dri/common/utils.c | 13 +
src/mesa/drivers/dri/common/utils.h | 2 +
src/mesa/drivers/dri/common/vblank.c | 129 +-
src/mesa/drivers/dri/common/vblank.h | 9 +-
src/mesa/drivers/dri/common/xmlpool/options.h | 5 +
src/mesa/drivers/dri/common/xmlpool/t_options.h | 5 +
src/mesa/drivers/dri/fb/fb_dri.c | 1 -
src/mesa/drivers/dri/fb/fb_egl.c | 1 -
src/mesa/drivers/dri/ffb/ffb_clear.c | 44 +-
src/mesa/drivers/dri/ffb/ffb_clear.h | 5 +-
src/mesa/drivers/dri/ffb/ffb_xmesa.c | 3 +-
src/mesa/drivers/dri/gamma/gamma_dd.c | 23 +-
src/mesa/drivers/dri/gamma/gamma_state.c | 5 +-
src/mesa/drivers/dri/i810/i810context.c | 1 -
src/mesa/drivers/dri/i810/i810ioctl.c | 17 +-
src/mesa/drivers/dri/i810/i810state.c | 15 -
src/mesa/drivers/dri/i915/i830_metaops.c | 14 +-
src/mesa/drivers/dri/i915/i830_state.c | 2 +-
src/mesa/drivers/dri/i915/i915_context.c | 3 +
src/mesa/drivers/dri/i915/i915_fragprog.c | 27 +-
src/mesa/drivers/dri/i915/i915_metaops.c | 22 +-
src/mesa/drivers/dri/i915/i915_program.c | 5 +-
src/mesa/drivers/dri/i915/i915_state.c | 2 +-
src/mesa/drivers/dri/i915/i915_texprog.c | 5 +
src/mesa/drivers/dri/i915/i915_vtbl.c | 4 +-
src/mesa/drivers/dri/i915/intel_batchbuffer.c | 235 +-
src/mesa/drivers/dri/i915/intel_context.c | 78 +-
src/mesa/drivers/dri/i915/intel_context.h | 14 +
src/mesa/drivers/dri/i915/intel_ioctl.c | 9 +-
src/mesa/drivers/dri/i915/intel_ioctl.h | 3 +-
src/mesa/drivers/dri/i915/intel_pixel.c | 9 -
src/mesa/drivers/dri/i915/intel_tris.c | 221 +-
src/mesa/drivers/dri/i915/server/i830_common.h | 15 +
src/mesa/drivers/dri/i915tex/Makefile | 66 +
src/mesa/drivers/dri/i915tex/i830_context.c | 104 +
src/mesa/drivers/dri/i915tex/i830_context.h | 208 +
src/mesa/drivers/dri/i915tex/i830_metaops.c | 485 ++
src/mesa/drivers/dri/i915tex/i830_reg.h | 641 ++
src/mesa/drivers/dri/i915tex/i830_state.c | 1113 +++
src/mesa/drivers/dri/i915tex/i830_tex.c | 100 +
src/mesa/drivers/dri/i915tex/i830_texblend.c | 463 ++
src/mesa/drivers/dri/i915tex/i830_texstate.c | 316 +
src/mesa/drivers/dri/i915tex/i830_vtbl.c | 606 ++
src/mesa/drivers/dri/i915tex/i915_context.c | 175 +
src/mesa/drivers/dri/i915tex/i915_context.h | 367 +
src/mesa/drivers/dri/i915tex/i915_debug.c | 334 +
src/mesa/drivers/dri/i915tex/i915_fragprog.c | 1083 +++
src/mesa/drivers/dri/i915tex/i915_metaops.c | 509 ++
src/mesa/drivers/dri/i915tex/i915_program.c | 515 ++
src/mesa/drivers/dri/i915tex/i915_program.h | 160 +
src/mesa/drivers/dri/i915tex/i915_reg.h | 841 ++
src/mesa/drivers/dri/i915tex/i915_state.c | 1019 +++
src/mesa/drivers/dri/i915tex/i915_tex.c | 113 +
src/mesa/drivers/dri/i915tex/i915_tex_layout.c | 380 +
src/mesa/drivers/dri/i915tex/i915_texstate.c | 338 +
src/mesa/drivers/dri/i915tex/i915_vtbl.c | 550 ++
src/mesa/drivers/dri/i915tex/intel_batchbuffer.c | 342 +
src/mesa/drivers/dri/i915tex/intel_batchbuffer.h | 124 +
src/mesa/drivers/dri/i915tex/intel_batchpool.c | 418 +
src/mesa/drivers/dri/i915tex/intel_blit.c | 552 ++
src/mesa/drivers/dri/i915tex/intel_blit.h | 61 +
.../drivers/dri/i915tex/intel_buffer_objects.c | 250 +
.../drivers/dri/i915tex/intel_buffer_objects.h | 86 +
src/mesa/drivers/dri/i915tex/intel_buffers.c | 928 +++
src/mesa/drivers/dri/i915tex/intel_buffers.h | 56 +
src/mesa/drivers/dri/i915tex/intel_context.c | 714 ++
src/mesa/drivers/dri/i915tex/intel_context.h | 502 ++
src/mesa/drivers/dri/i915tex/intel_depthstencil.c | 282 +
src/mesa/drivers/dri/i915tex/intel_depthstencil.h | 14 +
src/mesa/drivers/dri/i915tex/intel_fbo.c | 622 ++
src/mesa/drivers/dri/i915tex/intel_fbo.h | 80 +
src/mesa/drivers/dri/i915tex/intel_ioctl.c | 138 +
src/mesa/drivers/dri/i915tex/intel_ioctl.h | 40 +
src/mesa/drivers/dri/i915tex/intel_mipmap_tree.c | 347 +
src/mesa/drivers/dri/i915tex/intel_mipmap_tree.h | 198 +
src/mesa/drivers/dri/i915tex/intel_pixel.c | 119 +
src/mesa/drivers/dri/i915tex/intel_pixel.h | 63 +
src/mesa/drivers/dri/i915tex/intel_pixel_bitmap.c | 350 +
src/mesa/drivers/dri/i915tex/intel_pixel_copy.c | 380 +
src/mesa/drivers/dri/i915tex/intel_pixel_draw.c | 365 +
src/mesa/drivers/dri/i915tex/intel_pixel_read.c | 317 +
src/mesa/drivers/dri/i915tex/intel_reg.h | 84 +
src/mesa/drivers/dri/i915tex/intel_regions.c | 466 ++
src/mesa/drivers/dri/i915tex/intel_regions.h | 141 +
src/mesa/drivers/dri/i915tex/intel_render.c | 242 +
src/mesa/drivers/dri/i915tex/intel_rotate.c | 237 +
src/mesa/drivers/dri/i915tex/intel_rotate.h | 39 +
src/mesa/drivers/dri/i915tex/intel_screen.c | 864 ++
src/mesa/drivers/dri/i915tex/intel_screen.h | 132 +
src/mesa/drivers/dri/i915tex/intel_span.c | 409 +
src/mesa/drivers/dri/i915tex/intel_span.h | 38 +
src/mesa/drivers/dri/i915tex/intel_state.c | 363 +
src/mesa/drivers/dri/i915tex/intel_structs.h | 132 +
src/mesa/drivers/dri/i915tex/intel_tex.c | 192 +
src/mesa/drivers/dri/i915tex/intel_tex.h | 148 +
src/mesa/drivers/dri/i915tex/intel_tex_copy.c | 301 +
src/mesa/drivers/dri/i915tex/intel_tex_format.c | 172 +
src/mesa/drivers/dri/i915tex/intel_tex_image.c | 685 ++
src/mesa/drivers/dri/i915tex/intel_tex_subimage.c | 183 +
src/mesa/drivers/dri/i915tex/intel_tex_validate.c | 256 +
src/mesa/drivers/dri/i915tex/intel_tris.c | 1149 +++
src/mesa/drivers/dri/i915tex/intel_tris.h | 69 +
src/mesa/drivers/dri/i915tex/server/i830_common.h | 212 +
src/mesa/drivers/dri/i915tex/server/i830_dri.h | 73 +
src/mesa/drivers/dri/i915tex/server/intel.h | 328 +
src/mesa/drivers/dri/i915tex/server/intel_dri.c | 1282 +++
src/mesa/drivers/dri/i965/Makefile | 2 +
src/mesa/drivers/dri/i965/brw_aub_playback.c | 6 +-
src/mesa/drivers/dri/i965/brw_draw.c | 54 +-
src/mesa/drivers/dri/i965/brw_draw_upload.c | 1 +
src/mesa/drivers/dri/i965/brw_exec_api.c | 2 +-
src/mesa/drivers/dri/i965/brw_misc_state.c | 15 +-
src/mesa/drivers/dri/i965/brw_tex.c | 49 +-
src/mesa/drivers/dri/i965/brw_tex_layout.c | 7 +-
src/mesa/drivers/dri/i965/brw_util.c | 2 +
src/mesa/drivers/dri/i965/brw_vs.c | 7 +-
src/mesa/drivers/dri/i965/brw_vs.h | 3 +-
src/mesa/drivers/dri/i965/brw_vs_emit.c | 40 +-
src/mesa/drivers/dri/i965/brw_vs_tnl.c | 1 +
src/mesa/drivers/dri/i965/brw_wm.h | 1 +
src/mesa/drivers/dri/i965/brw_wm_debug.c | 62 +-
src/mesa/drivers/dri/i965/brw_wm_fp.c | 61 +-
src/mesa/drivers/dri/i965/brw_wm_surface_state.c | 12 +-
src/mesa/drivers/dri/i965/bufmgr.h | 2 +
src/mesa/drivers/dri/i965/bufmgr_fake.c | 16 +-
src/mesa/drivers/dri/i965/intel_batchbuffer.c | 20 +-
src/mesa/drivers/dri/i965/intel_batchbuffer.h | 2 +-
src/mesa/drivers/dri/i965/intel_blit.c | 132 +-
src/mesa/drivers/dri/i965/intel_blit.h | 14 +-
src/mesa/drivers/dri/i965/intel_buffers.c | 46 +-
src/mesa/drivers/dri/i965/intel_context.c | 50 +-
src/mesa/drivers/dri/i965/intel_context.h | 45 +-
src/mesa/drivers/dri/i965/intel_ioctl.c | 33 +-
src/mesa/drivers/dri/i965/intel_ioctl.h | 6 +-
src/mesa/drivers/dri/i965/intel_pixel_bitmap.c | 350 +
src/mesa/drivers/dri/i965/intel_pixel_copy.c | 240 +
src/mesa/drivers/dri/i965/intel_screen.c | 4 +-
src/mesa/drivers/dri/i965/intel_span.c | 11 +
src/mesa/drivers/dri/i965/intel_state.c | 35 -
src/mesa/drivers/dri/i965/intel_structs.h | 132 +
src/mesa/drivers/dri/i965/intel_tex_validate.c | 9 +-
src/mesa/drivers/dri/mach64/mach64_context.c | 3 +-
src/mesa/drivers/dri/mach64/mach64_dd.c | 1 -
src/mesa/drivers/dri/mach64/mach64_ioctl.c | 50 +-
src/mesa/drivers/dri/mach64/mach64_ioctl.h | 2 +-
src/mesa/drivers/dri/mach64/mach64_screen.c | 2 +-
src/mesa/drivers/dri/mach64/mach64_state.c | 15 -
src/mesa/drivers/dri/mach64/mach64_texmem.c | 16 +-
src/mesa/drivers/dri/mga/mga_xmesa.c | 4 +-
src/mesa/drivers/dri/mga/mgacontext.h | 7 -
src/mesa/drivers/dri/mga/mgadd.c | 20 +-
src/mesa/drivers/dri/mga/mgaioctl.c | 16 +-
src/mesa/drivers/dri/mga/mgapixel.c | 9 +-
src/mesa/drivers/dri/mga/mgaspan.c | 4 +-
src/mesa/drivers/dri/mga/mgastate.c | 71 +-
src/mesa/drivers/dri/r128/r128_context.c | 3 +-
src/mesa/drivers/dri/r128/r128_dd.c | 1 -
src/mesa/drivers/dri/r128/r128_ioctl.c | 20 +-
src/mesa/drivers/dri/r128/r128_span.c | 8 +-
src/mesa/drivers/dri/r128/r128_state.c | 15 -
src/mesa/drivers/dri/r200/r200_cmdbuf.c | 2 +-
src/mesa/drivers/dri/r200/r200_context.c | 21 +-
src/mesa/drivers/dri/r200/r200_context.h | 38 +-
src/mesa/drivers/dri/r200/r200_fragshader.c | 6 +-
src/mesa/drivers/dri/r200/r200_ioctl.c | 23 +-
src/mesa/drivers/dri/r200/r200_maos_arrays.c | 84 +-
src/mesa/drivers/dri/r200/r200_pixel.c | 8 -
src/mesa/drivers/dri/r200/r200_reg.h | 24 +-
src/mesa/drivers/dri/r200/r200_state.c | 114 +-
src/mesa/drivers/dri/r200/r200_state_init.c | 40 +-
src/mesa/drivers/dri/r200/r200_swtcl.c | 20 +-
src/mesa/drivers/dri/r200/r200_tcl.c | 53 +-
src/mesa/drivers/dri/r200/r200_tex.c | 47 +-
src/mesa/drivers/dri/r200/r200_texmem.c | 4 +
src/mesa/drivers/dri/r200/r200_texstate.c | 147 +-
src/mesa/drivers/dri/r200/r200_vertprog.c | 377 +-
src/mesa/drivers/dri/r200/r200_vertprog.h | 2 +
src/mesa/drivers/dri/r300/r200_context.h | 822 --
src/mesa/drivers/dri/r300/r200_ioctl.h | 204 -
src/mesa/drivers/dri/r300/r200_reg.h | 1423 ----
src/mesa/drivers/dri/r300/r200_state.h | 58 -
src/mesa/drivers/dri/r300/r300_fragprog.c | 271 +-
src/mesa/drivers/dri/r300/r300_fragprog.h | 3 +-
src/mesa/drivers/dri/r300/r300_ioctl.c | 22 +-
src/mesa/drivers/dri/r300/r300_ioctl.h | 1 -
src/mesa/drivers/dri/r300/r300_reg.h | 2 +
src/mesa/drivers/dri/r300/r300_state.c | 12 +-
src/mesa/drivers/dri/r300/r300_tex.c | 40 +-
src/mesa/drivers/dri/r300/r300_texstate.c | 67 +-
src/mesa/drivers/dri/r300/radeon_context.c | 47 +-
src/mesa/drivers/dri/r300/radeon_context.h | 10 +-
src/mesa/drivers/dri/r300/radeon_ioctl.c | 26 +-
src/mesa/drivers/dri/r300/radeon_lock.c | 82 +-
src/mesa/drivers/dri/r300/radeon_mm.c | 2 +-
src/mesa/drivers/dri/r300/radeon_state.c | 62 +-
src/mesa/drivers/dri/r300/radeon_state.h | 2 +-
src/mesa/drivers/dri/radeon/radeon_context.c | 33 +-
src/mesa/drivers/dri/radeon/radeon_context.h | 11 +-
src/mesa/drivers/dri/radeon/radeon_ioctl.c | 19 +-
src/mesa/drivers/dri/radeon/radeon_lock.c | 14 +-
src/mesa/drivers/dri/radeon/radeon_screen.c | 3 +
src/mesa/drivers/dri/radeon/radeon_state.c | 36 +-
src/mesa/drivers/dri/radeon/radeon_texstate.c | 41 +-
src/mesa/drivers/dri/s3v/s3v_dd.c | 22 +-
src/mesa/drivers/dri/s3v/s3v_state.c | 13 +-
src/mesa/drivers/dri/savage/savage_init.h | 13 +-
src/mesa/drivers/dri/savage/savage_xmesa.c | 63 +-
src/mesa/drivers/dri/savage/savagedd.c | 20 +-
src/mesa/drivers/dri/savage/savageioctl.c | 13 +-
src/mesa/drivers/dri/savage/savagespan.c | 9 +-
src/mesa/drivers/dri/savage/savagestate.c | 26 +-
src/mesa/drivers/dri/sis/sis6326_clear.c | 25 +-
src/mesa/drivers/dri/sis/sis6326_state.c | 18 -
src/mesa/drivers/dri/sis/sis_clear.c | 33 +-
src/mesa/drivers/dri/sis/sis_screen.c | 2 +-
src/mesa/drivers/dri/sis/sis_state.c | 14 +-
src/mesa/drivers/dri/sis/sis_state.h | 6 +-
src/mesa/drivers/dri/tdfx/tdfx_context.c | 28 +-
src/mesa/drivers/dri/tdfx/tdfx_context.h | 12 +-
src/mesa/drivers/dri/tdfx/tdfx_dd.c | 135 +-
src/mesa/drivers/dri/tdfx/tdfx_lock.c | 23 +-
src/mesa/drivers/dri/tdfx/tdfx_pixels.c | 12 +-
src/mesa/drivers/dri/tdfx/tdfx_render.c | 9 +-
src/mesa/drivers/dri/tdfx/tdfx_screen.c | 14 +-
src/mesa/drivers/dri/tdfx/tdfx_span.c | 29 +-
src/mesa/drivers/dri/tdfx/tdfx_state.c | 13 +-
src/mesa/drivers/dri/tdfx/tdfx_tex.c | 15 +-
src/mesa/drivers/dri/tdfx/tdfx_texstate.c | 5 +-
src/mesa/drivers/dri/trident/trident_context.c | 1 +
src/mesa/drivers/dri/trident/trident_dd.c | 23 +-
src/mesa/drivers/dri/trident/trident_state.c | 28 +-
src/mesa/drivers/dri/unichrome/via_context.c | 170 +-
src/mesa/drivers/dri/unichrome/via_context.h | 33 +-
src/mesa/drivers/dri/unichrome/via_ioctl.c | 48 +-
src/mesa/drivers/dri/unichrome/via_screen.c | 10 +-
src/mesa/drivers/dri/unichrome/via_span.c | 10 +-
src/mesa/drivers/dri/unichrome/via_state.c | 37 +-
src/mesa/drivers/dri/unichrome/via_tex.c | 8 +
src/mesa/drivers/fbdev/glfbdev.c | 20 +-
src/mesa/drivers/ggi/ggimesa.c | 22 +-
src/mesa/drivers/glide/fxdd.c | 21 +-
src/mesa/drivers/osmesa/osmesa.c | 213 +-
src/mesa/drivers/svga/svgamesa.c | 14 +-
src/mesa/drivers/svga/svgamesa15.c | 12 +-
src/mesa/drivers/svga/svgamesa16.c | 12 +-
src/mesa/drivers/svga/svgamesa24.c | 12 +-
src/mesa/drivers/svga/svgamesa32.c | 12 +-
src/mesa/drivers/svga/svgamesa8.c | 12 +-
src/mesa/drivers/windows/gdi/wmesa.c | 17 +-
src/mesa/drivers/x11/fakeglx.c | 11 +-
src/mesa/drivers/x11/glxapi.c | 37 +-
src/mesa/drivers/x11/xm_api.c | 674 +-
src/mesa/drivers/x11/xm_buffer.c | 216 +-
src/mesa/drivers/x11/xm_dd.c | 364 +-
src/mesa/drivers/x11/xm_span.c | 8 +-
src/mesa/drivers/x11/xmesaP.h | 115 +-
src/mesa/glapi/dispatch.h | 961 +--
src/mesa/glapi/glapi.c | 14 +-
src/mesa/glapi/glapioffsets.h | 766 +-
src/mesa/glapi/glapitable.h | 725 +-
src/mesa/glapi/glapitemp.h | 1065 ++-
src/mesa/glapi/glprocs.h | 2212 +++---
src/mesa/glapi/glthread.h | 8 +-
src/mesa/main/accum.c | 6 +-
src/mesa/main/attrib.c | 5 +
src/mesa/main/blend.c | 31 +
src/mesa/main/blend.h | 9 +-
src/mesa/main/bufferobj.c | 9 +-
src/mesa/main/buffers.c | 47 +-
src/mesa/main/buffers.h | 2 +
src/mesa/main/colortab.c | 330 +-
src/mesa/main/colortab.h | 14 +-
src/mesa/main/config.h | 8 +-
src/mesa/main/context.c | 44 +-
src/mesa/main/context.h | 8 +
src/mesa/main/convolve.c | 35 +-
src/mesa/main/dd.h | 54 +-
src/mesa/main/descrip.mms | 3 +
src/mesa/main/dlist.c | 22 +-
src/mesa/main/enums.c | 5937 +++++++-------
src/mesa/main/extensions.c | 5 +-
src/mesa/main/fbobject.c | 33 +-
src/mesa/main/framebuffer.c | 9 +-
src/mesa/main/get.c | 39 +-
src/mesa/main/getstring.c | 25 +-
src/mesa/main/histogram.c | 4 +-
src/mesa/main/image.c | 448 +-
src/mesa/main/image.h | 42 +-
src/mesa/main/imports.h | 13 +-
src/mesa/main/light.c | 1 +
src/mesa/main/macros.h | 24 +-
src/mesa/main/mipmap.c | 1147 +++
src/mesa/main/mipmap.h | 52 +
src/mesa/main/mm.c | 2 -
src/mesa/main/mtypes.h | 88 +-
src/mesa/main/pixel.c | 790 +-
src/mesa/main/pixel.h | 42 +-
src/mesa/main/rastpos.c | 1 +
src/mesa/main/state.c | 67 +-
src/mesa/main/state.h | 6 +
src/mesa/main/stencil.c | 19 +-
src/mesa/main/texcompress.c | 1 +
src/mesa/main/texcompress_fxt1.c | 1 +
src/mesa/main/texcompress_s3tc.c | 6 +-
src/mesa/main/texenvprogram.c | 55 +-
src/mesa/main/texformat_tmp.h | 119 +-
src/mesa/main/teximage.c | 1088 +--
src/mesa/main/teximage.h | 21 +-
src/mesa/main/texobj.c | 39 +-
src/mesa/main/texobj.h | 4 +
src/mesa/main/texstate.c | 125 +-
src/mesa/main/texstore.c | 1742 ++---
src/mesa/main/texstore.h | 21 -
src/mesa/main/version.h | 6 +-
src/mesa/shader/arbprogparse.c | 14 +-
src/mesa/shader/arbprogram.c | 33 +-
src/mesa/shader/arbprogram.h | 8 +-
src/mesa/shader/grammar/grammar.c | 49 +-
src/mesa/shader/nvfragparse.c | 2 +-
src/mesa/shader/nvprogram.c | 33 +-
src/mesa/shader/nvvertexec.c | 351 +-
src/mesa/shader/nvvertexec.h | 34 +-
src/mesa/shader/nvvertparse.c | 12 +-
src/mesa/shader/program.c | 231 +-
src/mesa/shader/program.h | 11 +-
src/mesa/shader/program_instruction.h | 2 +-
src/mesa/shader/programopt.c | 196 +-
src/mesa/shader/programopt.h | 2 +-
src/mesa/shader/shaderobjects.c | 1723 ++--
src/mesa/shader/shaderobjects.h | 75 +
src/mesa/shader/shaderobjects_3dlabs.c | 2620 ++++---
src/mesa/shader/slang/library/gc_to_bin.c | 41 +-
.../shader/slang/library/slang_pp_directives_syn.h | 239 +
.../shader/slang/library/slang_pp_expression_syn.h | 179 +
src/mesa/shader/slang/library/slang_shader_syn.h | 3 +
src/mesa/shader/slang/slang_analyse.c | 4 +-
src/mesa/shader/slang/slang_assemble.c | 2479 +++---
src/mesa/shader/slang/slang_compile.c | 34 +-
src/mesa/shader/slang/slang_execute_x86.c | 1114 +--
src/mesa/shader/slang/slang_link.c | 1178 +--
src/mesa/shader/slang/slang_link.h | 383 +-
src/mesa/shader/slang/slang_preprocess.c | 1098 ++-
src/mesa/shader/slang/slang_preprocess.h | 5 +-
src/mesa/shader/slang/slang_utility.c | 95 +-
src/mesa/shader/slang/slang_utility.h | 38 +-
src/mesa/sources | 3 +-
src/mesa/sparc/glapi_sparc.S | 242 +-
src/mesa/sparc/sparc.c | 2 +-
src/mesa/swrast/s_aaline.c | 2 +-
src/mesa/swrast/s_aatritemp.h | 10 +-
src/mesa/swrast/s_accum.c | 47 +-
src/mesa/swrast/s_alpha.c | 270 +-
src/mesa/swrast/s_alpha.h | 2 +-
src/mesa/swrast/s_arbshader.c | 52 +-
src/mesa/swrast/s_arbshader.h | 2 +-
src/mesa/swrast/s_atifragshader.c | 108 +-
src/mesa/swrast/s_atifragshader.h | 2 +-
src/mesa/swrast/s_bitmap.c | 43 +-
src/mesa/swrast/s_blend.c | 1023 +--
src/mesa/swrast/s_blend.h | 9 +-
src/mesa/swrast/s_buffers.c | 100 +-
src/mesa/swrast/s_context.c | 69 +-
src/mesa/swrast/s_context.h | 78 +-
src/mesa/swrast/s_copypix.c | 331 +-
src/mesa/swrast/s_depth.c | 8 +-
src/mesa/swrast/s_depth.h | 4 +-
src/mesa/swrast/s_drawpix.c | 687 +-
src/mesa/swrast/s_fog.c | 241 +-
src/mesa/swrast/s_fog.h | 4 +-
src/mesa/swrast/s_imaging.c | 8 +-
src/mesa/swrast/s_lines.c | 2 +-
src/mesa/swrast/s_linetemp.h | 2 +-
src/mesa/swrast/s_logic.c | 110 +-
src/mesa/swrast/s_logic.h | 8 +-
src/mesa/swrast/s_masking.c | 158 +-
src/mesa/swrast/s_masking.h | 23 +-
src/mesa/swrast/s_nvfragprog.c | 567 +-
src/mesa/swrast/s_nvfragprog.h | 2 +-
src/mesa/swrast/s_pointtemp.h | 20 +-
src/mesa/swrast/s_readpix.c | 235 +-
src/mesa/swrast/s_span.c | 1088 ++-
src/mesa/swrast/s_span.h | 23 +-
src/mesa/swrast/s_stencil.c | 6 +-
src/mesa/swrast/s_stencil.h | 2 +-
src/mesa/swrast/s_texcombine.c | 10 +-
src/mesa/swrast/s_texcombine.h | 2 +-
src/mesa/swrast/s_texfilter.c | 6 +-
src/mesa/swrast/s_texstore.c | 77 +-
src/mesa/swrast/s_triangle.c | 29 +-
src/mesa/swrast/s_tritemp.h | 2 +-
src/mesa/swrast/s_zoom.c | 137 +-
src/mesa/swrast/s_zoom.h | 10 +-
src/mesa/swrast/swrast.h | 14 +-
src/mesa/tnl/t_array_api.c | 20 +-
src/mesa/tnl/t_array_import.c | 5 +-
src/mesa/tnl/t_context.c | 5 +-
src/mesa/tnl/t_context.h | 1 +
src/mesa/tnl/t_vb_arbprogram.c | 3 +-
src/mesa/tnl/t_vb_cliptmp.h | 17 +-
src/mesa/tnl/t_vb_program.c | 14 +-
src/mesa/tnl/t_vtx_api.c | 25 +-
src/mesa/x86-64/glapi_x86-64.S | 5775 +++++++-------
src/mesa/x86-64/matypes.h | 24 +-
src/mesa/x86-64/x86-64.c | 7 +-
src/mesa/x86/glapi_x86.S | 295 +-
src/mesa/x86/matypes.h | 24 +-
src/mesa/x86/mmx.h | 21 +-
windows/VC6/mesa/mesa/mesa.dsp | 4 +
windows/VC7/mesa/mesa/mesa.vcproj | 3 +
484 files changed, 63548 insertions(+), 29288 deletions(-)
create mode 100755 bin/minstall
delete mode 100644 debian/patches/03_handle-sync-and-dont-unlock-display.patch
create mode 100644 debian/patches/03_optional-progs-and-install.patch
delete mode 100644 debian/patches/04_optional-progs-and-install.patch
delete mode 100644 docs/RELNOTES-6.4
delete mode 100644 docs/RELNOTES-6.4.1
delete mode 100644 docs/RELNOTES-6.4.2
delete mode 100644 docs/RELNOTES-6.5
create mode 100644 docs/dispatch.html
create mode 100644 docs/relnotes-6.4.1.html
create mode 100644 docs/relnotes-6.4.2.html
create mode 100644 docs/relnotes-6.4.html
create mode 100644 docs/relnotes-6.5.2.html
create mode 100644 docs/relnotes-6.5.html
create mode 100644 progs/demos/fslight.c
create mode 100644 progs/demos/streaming_rect.c
create mode 100644 src/mesa/drivers/dri/common/dri_bufmgr.c
create mode 100644 src/mesa/drivers/dri/common/dri_bufmgr.h
create mode 100644 src/mesa/drivers/dri/common/dri_bufpool.h
create mode 100644 src/mesa/drivers/dri/common/dri_drmpool.c
create mode 100644 src/mesa/drivers/dri/i915tex/Makefile
create mode 100644 src/mesa/drivers/dri/i915tex/i830_context.c
create mode 100644 src/mesa/drivers/dri/i915tex/i830_context.h
create mode 100644 src/mesa/drivers/dri/i915tex/i830_metaops.c
create mode 100644 src/mesa/drivers/dri/i915tex/i830_reg.h
create mode 100644 src/mesa/drivers/dri/i915tex/i830_state.c
create mode 100644 src/mesa/drivers/dri/i915tex/i830_tex.c
create mode 100644 src/mesa/drivers/dri/i915tex/i830_texblend.c
create mode 100644 src/mesa/drivers/dri/i915tex/i830_texstate.c
create mode 100644 src/mesa/drivers/dri/i915tex/i830_vtbl.c
create mode 100644 src/mesa/drivers/dri/i915tex/i915_context.c
create mode 100644 src/mesa/drivers/dri/i915tex/i915_context.h
create mode 100644 src/mesa/drivers/dri/i915tex/i915_debug.c
create mode 100644 src/mesa/drivers/dri/i915tex/i915_fragprog.c
create mode 100644 src/mesa/drivers/dri/i915tex/i915_metaops.c
create mode 100644 src/mesa/drivers/dri/i915tex/i915_program.c
create mode 100644 src/mesa/drivers/dri/i915tex/i915_program.h
create mode 100644 src/mesa/drivers/dri/i915tex/i915_reg.h
create mode 100644 src/mesa/drivers/dri/i915tex/i915_state.c
create mode 100644 src/mesa/drivers/dri/i915tex/i915_tex.c
create mode 100644 src/mesa/drivers/dri/i915tex/i915_tex_layout.c
create mode 100644 src/mesa/drivers/dri/i915tex/i915_texstate.c
create mode 100644 src/mesa/drivers/dri/i915tex/i915_vtbl.c
create mode 100644 src/mesa/drivers/dri/i915tex/intel_batchbuffer.c
create mode 100644 src/mesa/drivers/dri/i915tex/intel_batchbuffer.h
create mode 100644 src/mesa/drivers/dri/i915tex/intel_batchpool.c
create mode 100644 src/mesa/drivers/dri/i915tex/intel_blit.c
create mode 100644 src/mesa/drivers/dri/i915tex/intel_blit.h
create mode 100644 src/mesa/drivers/dri/i915tex/intel_buffer_objects.c
create mode 100644 src/mesa/drivers/dri/i915tex/intel_buffer_objects.h
create mode 100644 src/mesa/drivers/dri/i915tex/intel_buffers.c
create mode 100644 src/mesa/drivers/dri/i915tex/intel_buffers.h
create mode 100644 src/mesa/drivers/dri/i915tex/intel_context.c
create mode 100644 src/mesa/drivers/dri/i915tex/intel_context.h
create mode 100644 src/mesa/drivers/dri/i915tex/intel_depthstencil.c
create mode 100644 src/mesa/drivers/dri/i915tex/intel_depthstencil.h
create mode 100644 src/mesa/drivers/dri/i915tex/intel_fbo.c
create mode 100644 src/mesa/drivers/dri/i915tex/intel_fbo.h
create mode 100644 src/mesa/drivers/dri/i915tex/intel_ioctl.c
create mode 100644 src/mesa/drivers/dri/i915tex/intel_ioctl.h
create mode 100644 src/mesa/drivers/dri/i915tex/intel_mipmap_tree.c
create mode 100644 src/mesa/drivers/dri/i915tex/intel_mipmap_tree.h
create mode 100644 src/mesa/drivers/dri/i915tex/intel_pixel.c
create mode 100644 src/mesa/drivers/dri/i915tex/intel_pixel.h
create mode 100644 src/mesa/drivers/dri/i915tex/intel_pixel_bitmap.c
create mode 100644 src/mesa/drivers/dri/i915tex/intel_pixel_copy.c
create mode 100644 src/mesa/drivers/dri/i915tex/intel_pixel_draw.c
create mode 100644 src/mesa/drivers/dri/i915tex/intel_pixel_read.c
create mode 100644 src/mesa/drivers/dri/i915tex/intel_reg.h
create mode 100644 src/mesa/drivers/dri/i915tex/intel_regions.c
create mode 100644 src/mesa/drivers/dri/i915tex/intel_regions.h
create mode 100644 src/mesa/drivers/dri/i915tex/intel_render.c
create mode 100644 src/mesa/drivers/dri/i915tex/intel_rotate.c
create mode 100644 src/mesa/drivers/dri/i915tex/intel_rotate.h
create mode 100644 src/mesa/drivers/dri/i915tex/intel_screen.c
create mode 100644 src/mesa/drivers/dri/i915tex/intel_screen.h
create mode 100644 src/mesa/drivers/dri/i915tex/intel_span.c
create mode 100644 src/mesa/drivers/dri/i915tex/intel_span.h
create mode 100644 src/mesa/drivers/dri/i915tex/intel_state.c
create mode 100644 src/mesa/drivers/dri/i915tex/intel_structs.h
create mode 100644 src/mesa/drivers/dri/i915tex/intel_tex.c
create mode 100644 src/mesa/drivers/dri/i915tex/intel_tex.h
create mode 100644 src/mesa/drivers/dri/i915tex/intel_tex_copy.c
create mode 100644 src/mesa/drivers/dri/i915tex/intel_tex_format.c
create mode 100644 src/mesa/drivers/dri/i915tex/intel_tex_image.c
create mode 100644 src/mesa/drivers/dri/i915tex/intel_tex_subimage.c
create mode 100644 src/mesa/drivers/dri/i915tex/intel_tex_validate.c
create mode 100644 src/mesa/drivers/dri/i915tex/intel_tris.c
create mode 100644 src/mesa/drivers/dri/i915tex/intel_tris.h
create mode 100644 src/mesa/drivers/dri/i915tex/server/i830_common.h
create mode 100644 src/mesa/drivers/dri/i915tex/server/i830_dri.h
create mode 100644 src/mesa/drivers/dri/i915tex/server/intel.h
create mode 100644 src/mesa/drivers/dri/i915tex/server/intel_dri.c
create mode 100644 src/mesa/drivers/dri/i965/intel_pixel_bitmap.c
create mode 100644 src/mesa/drivers/dri/i965/intel_pixel_copy.c
create mode 100644 src/mesa/drivers/dri/i965/intel_structs.h
delete mode 100644 src/mesa/drivers/dri/r300/r200_context.h
delete mode 100644 src/mesa/drivers/dri/r300/r200_ioctl.h
delete mode 100644 src/mesa/drivers/dri/r300/r200_reg.h
delete mode 100644 src/mesa/drivers/dri/r300/r200_state.h
create mode 100644 src/mesa/main/mipmap.c
create mode 100644 src/mesa/main/mipmap.h
create mode 100644 src/mesa/shader/slang/library/slang_pp_directives_syn.h
create mode 100644 src/mesa/shader/slang/library/slang_pp_expression_syn.h
(limited to 'debian')
diff --git a/Makefile b/Makefile
index 2fd8d35af9b..b280298daf5 100644
--- a/Makefile
+++ b/Makefile
@@ -154,16 +154,17 @@ ultrix-gcc:
# Rules for making release tarballs
-DIRECTORY = Mesa-6.5.1
-LIB_NAME = MesaLib-6.5.1
-DEMO_NAME = MesaDemos-6.5.1
-GLUT_NAME = MesaGLUT-6.5.1
+DIRECTORY = Mesa-6.5.2
+LIB_NAME = MesaLib-6.5.2
+DEMO_NAME = MesaDemos-6.5.2
+GLUT_NAME = MesaGLUT-6.5.2
MAIN_FILES = \
$(DIRECTORY)/Makefile* \
$(DIRECTORY)/descrip.mms \
$(DIRECTORY)/mms-config. \
$(DIRECTORY)/bin/mklib \
+ $(DIRECTORY)/bin/minstall \
$(DIRECTORY)/configs/[a-z]* \
$(DIRECTORY)/docs/*.html \
$(DIRECTORY)/docs/COPYING \
diff --git a/bin/minstall b/bin/minstall
new file mode 100755
index 00000000000..9795263f9f1
--- /dev/null
+++ b/bin/minstall
@@ -0,0 +1,88 @@
+#!/bin/sh
+
+
+# A minimal replacement for 'install' that supports installing symbolic links.
+# Only a limited number of options are supported:
+# -d dir Create a directory
+# -m mode Sets a file's mode when installing
+
+
+# If these commands aren't portable, we'll need some "if (arch)" type stuff
+SYMLINK="ln -s"
+MKDIR="mkdir -p"
+RM="rm -f"
+
+MODE=""
+
+if [ "$1" = "-d" ] ; then
+ # make a directory path
+ $MKDIR "$2"
+ exit 0
+fi
+
+if [ "$1" = "-m" ] ; then
+ # set file mode
+ MODE=$2
+ shift 2
+fi
+
+# install file(s) into destination
+if [ $# -ge 2 ] ; then
+
+ # Last cmd line arg is the dest dir
+ for FILE in $@ ; do
+ DEST="$FILE"
+ done
+
+ # Loop over args, moving them to DEST directory
+ I=1
+ for FILE in $@ ; do
+ if [ $I = $# ] ; then
+ # stop, don't want to install $DEST into $DEST
+ exit 0
+ fi
+
+ # determine file's type
+ if [ -h "$FILE" ] ; then
+ #echo $FILE is a symlink
+ # Unfortunately, cp -d isn't universal so we have to
+ # use a work-around.
+
+ # Use ls -l to find the target that the link points to
+ LL=`ls -l "$FILE"`
+ for L in $LL ; do
+ TARGET=$L
+ done
+ #echo $FILE is a symlink pointing to $TARGET
+
+ FILE=`basename "$FILE"`
+ # Go to $DEST and make the link
+ PWDSAVE="$PWD"
+ cd "$DEST" # pushd
+ $RM "$FILE"
+ $SYMLINK "$TARGET" "$FILE"
+ cd "$PWDSAVE" # popd
+
+ elif [ -f "$FILE" ] ; then
+ #echo "$FILE" is a regular file
+ cp "$FILE" "$DEST"
+ if [ $MODE ] ; then
+ FILE=`basename "$FILE"`
+ chmod $MODE "$DEST/$FILE"
+ fi
+ else
+ echo "Unknown type of argument: " "$FILE"
+ exit 1
+ fi
+
+ I=`expr $I + 1`
+ done
+
+ exit 0
+fi
+
+# If we get here, we didn't find anything to do
+echo "Usage:"
+echo " install -d dir Create named directory"
+echo " install [-m mode] file [...] dest Install files in destination"
+
diff --git a/bin/mklib b/bin/mklib
index 0637662ff7c..7d468b12e77 100755
--- a/bin/mklib
+++ b/bin/mklib
@@ -283,7 +283,9 @@ case $ARCH in
ar -ruv ${LIBNAME} ${OBJECTS}
FINAL_LIBS=${LIBNAME}
else
- LIBNAME="lib${LIBNAME}.so"
+ if [ $NOPREFIX = 0 ] ; then
+ LIBNAME="lib${LIBNAME}.so"
+ fi
echo "mklib: Making SunOS shared library: " ${LIBNAME}
if [ "x$LINK" = "x" ] ; then
@@ -333,9 +335,14 @@ case $ARCH in
# for debug:
#echo "mklib: linker is" ${LINK} ${OPTS}
- rm -f ${LIBNAME}.${MAJOR} ${LIBNAME}
- ${LINK} ${OPTS} -o ${LIBNAME}.${MAJOR} ${OBJECTS} ${DEPS}
- ln -s ${LIBNAME}.${MAJOR} ${LIBNAME}
+ if [ $NOPREFIX = 1 ] ; then
+ rm -f ${LIBNAME}
+ ${LINK} ${OPTS} -o ${LIBNAME} ${OBJECTS} ${DEPS}
+ else
+ rm -f ${LIBNAME}.${MAJOR} ${LIBNAME}
+ ${LINK} ${OPTS} -o ${LIBNAME}.${MAJOR} ${OBJECTS} ${DEPS}
+ ln -s ${LIBNAME}.${MAJOR} ${LIBNAME}
+ fi
FINAL_LIBS="${LIBNAME}.${MAJOR} ${LIBNAME}"
fi
;;
diff --git a/configs/aix b/configs/aix
index 313d4c4fdb3..ebbf5837455 100644
--- a/configs/aix
+++ b/configs/aix
@@ -13,7 +13,6 @@ CXXFLAGS = -O -DAIXV3 -DPTHREADS
# Misc tools and flags
MKLIB_OPTIONS =
-COPY_LIBS = cp -f -h
# Library names (actual file names)
GL_LIB_NAME = libGL.a
diff --git a/configs/default b/configs/default
index 23d7aedfbf5..e805925701a 100644
--- a/configs/default
+++ b/configs/default
@@ -10,7 +10,7 @@ CONFIG_NAME = default
# Version info
MESA_MAJOR=6
MESA_MINOR=5
-MESA_TINY=1
+MESA_TINY=2
# external projects. This should be useless now that we use libdrm.
DRM_SOURCE_PATH=$(TOP)/../drm
@@ -27,8 +27,7 @@ MKLIB_OPTIONS =
MKDEP = makedepend
MKDEP_OPTIONS = -fdepend
MAKE = make
-INSTALL = install
-COPY_LIBS = cp -f -d
+INSTALL = $(TOP)/bin/minstall
# Python and flags (generally only needed by the developers)
PYTHON2 = python
diff --git a/configs/freebsd b/configs/freebsd
index 38806ab946d..db7dd3b78a0 100644
--- a/configs/freebsd
+++ b/configs/freebsd
@@ -9,9 +9,6 @@ CC = cc
CXX = c++
MAKE = gmake
-# cp -d not supported on FreeBSD (see bug 4435)
-COPY_LIBS = cp -f
-
OPT_FLAGS = -O2
PIC_FLAGS = -fPIC
diff --git a/configs/freebsd-dri b/configs/freebsd-dri
index 104e242289c..68877c612e7 100644
--- a/configs/freebsd-dri
+++ b/configs/freebsd-dri
@@ -14,22 +14,24 @@ OPT_FLAGS = -O
EXPAT_INCLUDES = -I/usr/local/include
X11_INCLUDES = -I/usr/X11R6/include
DEFINES = -DPTHREADS -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER \
- -DGLX_DIRECT_RENDERING -DHAVE_ALIAS -DHAVE_POSIX_MEMALIGN
+ -DGLX_DIRECT_RENDERING -DGLX_INDIRECT_RENDERING \
+ -DHAVE_ALIAS -DHAVE_POSIX_MEMALIGN
-CFLAGS = -Wmissing-prototypes -g -std=c99 -Wundef -fPIC -ffast-math \
+CFLAGS = $(WARN_FLAGS) $(OPT_FLAGS) $(PIC_FLAGS) -Wmissing-prototypes -std=c99 -Wundef -ffast-math \
$(ASM_FLAGS) $(X11_INCLUDES) $(DEFINES)
-CXXFLAGS = $(DEFINES) -Wall -g -ansi -pedantic -fPIC
+CXXFLAGS = $(WARN_FLAGS) $(OPT_FLAGS) $(PIC_FLAGS) $(DEFINES) -Wall -ansi -pedantic $(ASM_FLAGS) $(X11_INCLUDES)
ASM_SOURCES =
# Library/program dependencies
+LIBDRM_CFLAGS = `pkg-config --cflags libdrm`
LIBDRM_LIB = `pkg-config --libs libdrm`
DRI_LIB_DEPS = -L/usr/local/lib -lm -lpthread -lexpat $(LIBDRM_LIB)
GL_LIB_DEPS = -L/usr/X11R6/lib -lX11 -lXext -lXxf86vm -lm -lpthread $(LIBDRM_LIB)
GLUT_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -L/usr/X11R6/lib -lGLU -lGL -lX11 -lXmu -lXt -lXi -lm
-GLW_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -L/usr/X11R6/lib -lGL -lXt -lXm -lX11
+GLW_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -L/usr/X11R6/lib -lGL -lXt -lX11
# Directories
diff --git a/configs/linux-dri b/configs/linux-dri
index 1c3b404cf3a..7e822e2eb61 100644
--- a/configs/linux-dri
+++ b/configs/linux-dri
@@ -22,7 +22,8 @@ ARCH_FLAGS ?=
DEFINES = -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE \
-D_BSD_SOURCE -D_GNU_SOURCE \
-DPTHREADS -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER \
- -DGLX_DIRECT_RENDERING -DHAVE_ALIAS -DHAVE_POSIX_MEMALIGN
+ -DGLX_DIRECT_RENDERING -DGLX_INDIRECT_RENDERING \
+ -DHAVE_ALIAS -DHAVE_POSIX_MEMALIGN
X11_INCLUDES = -I/usr/X11R6/include
@@ -64,5 +65,5 @@ WINDOW_SYSTEM=dri
# gamma are missing because they have not been converted to use the new
# interface.
-DRI_DIRS = i810 i915 i965 mach64 mga r128 r200 r300 radeon s3v \
+DRI_DIRS = i810 i915tex i915 i965 mach64 mga r128 r200 r300 radeon s3v \
savage sis tdfx trident unichrome ffb
diff --git a/configs/linux-dri-xcb b/configs/linux-dri-xcb
index 68acb2f2b16..cb327fa60f9 100644
--- a/configs/linux-dri-xcb
+++ b/configs/linux-dri-xcb
@@ -24,7 +24,7 @@ DEFINES = -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE \
-DPTHREADS -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER \
-DGLX_DIRECT_RENDERING -DHAVE_ALIAS -DUSE_XCB -DHAVE_POSIX_MEMALIGN
-X11_INCLUDES = `pkg-config --cflags-only-I x11` `pkg-config --cflags-only-I xcb` `pkg-config --cflags-only-I xcb-glx`
+X11_INCLUDES = `pkg-config --cflags-only-I x11` `pkg-config --cflags-only-I xcb` `pkg-config --cflags-only-I x11-xcb` `pkg-config --cflags-only-I xcb-glx`
CFLAGS = -Wall -Wmissing-prototypes $(OPT_FLAGS) $(PIC_FLAGS) $(ARCH_FLAGS) \
$(DEFINES) $(ASM_FLAGS) -std=c99 -ffast-math
@@ -37,10 +37,11 @@ ASM_SOURCES =
# Library/program dependencies
EXTRA_LIB_PATH=`pkg-config --libs-only-L x11`
+LIBDRM_CFLAGS = `pkg-config --cflags libdrm`
LIBDRM_LIB = `pkg-config --libs libdrm`
DRI_LIB_DEPS = $(EXTRA_LIB_PATH) -lm -lpthread -lexpat -ldl $(LIBDRM_LIB)
GL_LIB_DEPS = $(EXTRA_LIB_PATH) -lX11 -lXext -lXxf86vm -lm -lpthread -ldl \
- $(LIBDRM_LIB) `pkg-config --libs xcb` `pkg-config --libs xcb-glx`
+ $(LIBDRM_LIB) `pkg-config --libs xcb` `pkg-config --libs x11-xcb` `pkg-config --libs xcb-glx`
# This is now 0 by default since it seems to confuse the hell out of people
diff --git a/configs/linux-indirect b/configs/linux-indirect
index b764515786d..bd33345ed70 100644
--- a/configs/linux-indirect
+++ b/configs/linux-indirect
@@ -23,6 +23,7 @@ ARCH_FLAGS ?=
DEFINES = -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE \
-D_BSD_SOURCE -D_GNU_SOURCE \
+ -DGLX_INDIRECT_RENDERING \
-DPTHREADS -DHAVE_ALIAS -DHAVE_POSIX_MEMALIGN
X11_INCLUDES = -I/usr/X11R6/include
diff --git a/debian/changelog b/debian/changelog
index 16f6303982c..59de3401145 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,12 @@
+mesa (6.5.2~rc1-1) experimental; urgency=low
+
+ * New upstream release candidate.
+ * Update patches:
+ + Drop hunk #2 of 01_fix-makefile.patch, applied upstream.
+ + Drop 03_handle-sync-and-dont-unlock-display.patch, applied upstream.
+
+ -- Thierry Reding Sat, 18 Nov 2006 18:52:55 +0100
+
mesa (6.5.1-1) experimental; urgency=low
* Provide i686 optimized versions in libgl1-mesa-swx11-i686.
diff --git a/debian/patches/01_fix-makefile.patch b/debian/patches/01_fix-makefile.patch
index f599d8438e1..6711d2fe5cd 100644
--- a/debian/patches/01_fix-makefile.patch
+++ b/debian/patches/01_fix-makefile.patch
@@ -1,11 +1,7 @@
Do not build OSMesa for a standalone configuration, since Debian only ships
OSMesa in a separate package.
-Fix Mesa makefile to install the libGL and libOSMesa libraries when they
-exist, not only depending on configuration.
-
This patch by Thierry Reding.
-Hunk #2 submitted to Mesa and applied (post 6.5.1).
--- a/src/mesa/Makefile
+++ b/src/mesa/Makefile
@@ -18,17 +14,3 @@ Hunk #2 submitted to Mesa and applied (post 6.5.1).
osmesa-only: depend subdirs $(TOP)/$(LIB_DIR)/$(OSMESA_LIB_NAME)
-@@ -154,7 +154,12 @@
- $(INSTALL) -d $(INSTALL_DIR)/include/GL
- $(INSTALL) -d $(INSTALL_DIR)/$(LIB_DIR)
- $(INSTALL) -m 644 $(TOP)/include/GL/*.h $(INSTALL_DIR)/include/GL
-- $(COPY_LIBS) $(TOP)/$(LIB_DIR)/libGL.* $(INSTALL_DIR)/$(LIB_DIR)
-+ @if [ -e $(TOP)/$(LIB_DIR)/$(GL_LIB_NAME) ]; then \
-+ $(COPY_LIBS) $(TOP)/$(LIB_DIR)/lib$(GL_LIB).* $(INSTALL_DIR)/$(LIB_DIR); \
-+ fi
-+ @if [ -e $(TOP)/$(LIB_DIR)/$(OSMESA_LIB_NAME) ]; then \
-+ $(COPY_LIBS) $(TOP)/$(LIB_DIR)/lib$(OSMESA_LIB).* $(INSTALL_DIR)/$(LIB_DIR); \
-+ fi
- @if [ "${DRIVER_DIRS}" = "dri" ] ; then \
- cd drivers/dri ; $(MAKE) install ; \
- fi
diff --git a/debian/patches/03_handle-sync-and-dont-unlock-display.patch b/debian/patches/03_handle-sync-and-dont-unlock-display.patch
deleted file mode 100644
index d29769e4330..00000000000
--- a/debian/patches/03_handle-sync-and-dont-unlock-display.patch
+++ /dev/null
@@ -1,20 +0,0 @@
-Patch that fixes Debian bug #391681.
-
-This patch by Josh Triplett.
-Submitted to Mesa and applied (post 6.5.1).
-
---- a/src/glx/x11/glxext.c
-+++ b/src/glx/x11/glxext.c
-@@ -1016,11 +1016,11 @@
- if (!_XReply(dpy, (xReply*) &reply, 0, False)) {
- /* Something is busted. Punt. */
- UnlockDisplay(dpy);
-+ SyncHandle();
- FreeScreenConfigs(priv);
- return GL_FALSE;
- }
-
-- UnlockDisplay(dpy);
- if (!reply.numVisuals) {
- /* This screen does not support GL rendering */
- UnlockDisplay(dpy);
diff --git a/debian/patches/03_optional-progs-and-install.patch b/debian/patches/03_optional-progs-and-install.patch
new file mode 100644
index 00000000000..66a4771003b
--- /dev/null
+++ b/debian/patches/03_optional-progs-and-install.patch
@@ -0,0 +1,45 @@
+Allow the programs that are to be built to be defined in the build
+configuration.
+
+Provide an install target for installing the programs in $(INSTALL_DIR)/bin.
+
+This patch by Thierry Reding.
+Not submitted to Mesa.
+
+--- a/progs/xdemos/Makefile
++++ b/progs/xdemos/Makefile
+@@ -8,7 +8,7 @@
+
+ LIB_DEP = $(TOP)/$(LIB_DIR)/$(GL_LIB_NAME) $(TOP)/$(LIB_DIR)/$(GLU_LIB_NAME)
+
+-PROGS = glthreads \
++PROGS ?= glthreads \
+ glxdemo \
+ glxgears \
+ glxgears_fbconfig \
+@@ -44,6 +44,9 @@
+
+ default: $(PROGS)
+
++install: $(PROGS)
++ $(INSTALL) -d $(INSTALL_DIR)/bin
++ $(INSTALL) -m 755 $(PROGS) $(INSTALL_DIR)/bin
+
+ clean:
+ -rm -f $(PROGS)
+--- a/progs/Makefile
++++ b/progs/Makefile
+@@ -21,8 +21,12 @@
+ fi \
+ done
+
+-# Dummy install target
+ install:
++ @for dir in $(SUBDIRS) ; do \
++ if [ -d $$dir ] ; then \
++ (cd $$dir ; $(MAKE) install) ; \
++ fi \
++ done
+
+ clean:
+ @for dir in $(SUBDIRS) tests ; do \
diff --git a/debian/patches/04_optional-progs-and-install.patch b/debian/patches/04_optional-progs-and-install.patch
deleted file mode 100644
index 66a4771003b..00000000000
--- a/debian/patches/04_optional-progs-and-install.patch
+++ /dev/null
@@ -1,45 +0,0 @@
-Allow the programs that are to be built to be defined in the build
-configuration.
-
-Provide an install target for installing the programs in $(INSTALL_DIR)/bin.
-
-This patch by Thierry Reding.
-Not submitted to Mesa.
-
---- a/progs/xdemos/Makefile
-+++ b/progs/xdemos/Makefile
-@@ -8,7 +8,7 @@
-
- LIB_DEP = $(TOP)/$(LIB_DIR)/$(GL_LIB_NAME) $(TOP)/$(LIB_DIR)/$(GLU_LIB_NAME)
-
--PROGS = glthreads \
-+PROGS ?= glthreads \
- glxdemo \
- glxgears \
- glxgears_fbconfig \
-@@ -44,6 +44,9 @@
-
- default: $(PROGS)
-
-+install: $(PROGS)
-+ $(INSTALL) -d $(INSTALL_DIR)/bin
-+ $(INSTALL) -m 755 $(PROGS) $(INSTALL_DIR)/bin
-
- clean:
- -rm -f $(PROGS)
---- a/progs/Makefile
-+++ b/progs/Makefile
-@@ -21,8 +21,12 @@
- fi \
- done
-
--# Dummy install target
- install:
-+ @for dir in $(SUBDIRS) ; do \
-+ if [ -d $$dir ] ; then \
-+ (cd $$dir ; $(MAKE) install) ; \
-+ fi \
-+ done
-
- clean:
- @for dir in $(SUBDIRS) tests ; do \
diff --git a/debian/patches/series b/debian/patches/series
index 327a78f2151..b370d514349 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,5 +1,4 @@
00_create-libdir.patch
01_fix-makefile.patch
02_use-ieee-fp-on-s390-and-m68k.patch
-03_handle-sync-and-dont-unlock-display.patch
-04_optional-progs-and-install.patch
+03_optional-progs-and-install.patch
diff --git a/descrip.mms b/descrip.mms
index 11d94988916..f2f84349130 100644
--- a/descrip.mms
+++ b/descrip.mms
@@ -19,4 +19,4 @@ all :
$(MMS)$(MMSQUALIFIERS)
set default [-.xdemos]
$(MMS)$(MMSQUALIFIERS)
- if f$search("[-]test.DIR") .nes. "" then pipe set default [-.test] ; $(MMS)$(MMSQUALIFIERS)
+ if f$search("[-]tests.DIR") .nes. "" then pipe set default [-.tests] ; $(MMS)$(MMSQUALIFIERS)
diff --git a/docs/RELNOTES-6.4 b/docs/RELNOTES-6.4
deleted file mode 100644
index a12600c3c83..00000000000
--- a/docs/RELNOTES-6.4
+++ /dev/null
@@ -1,50 +0,0 @@
-
- Mesa 6.4 Release Notes
-
- October 24, 2005
-
-
-
-Introduction
-------------
-
-Mesa uses an even/odd version number scheme like the Linux kernel.
-Odd numbered versions (such as 6.3) designate new developmental releases.
-Even numbered versions (such as 6.4) designate stable releases.
-
-
-6.4 is a bug-fix release. See the VERSIONS file for details.
-
-
-
-GLUT tarball
-------------
-
-Starting with 6.4, the GLUT library sources are distributed in a separate
-tarball. This was done at the request of Linux distro vendors who prefer
-to use freeglut.
-
-
-
-
-Driver Status
----------------------- ----------------------
-DRI drivers varies with the driver
-XMesa (Xlib) implements OpenGL 1.5
-OSMesa (off-screen) implements OpenGL 1.5
-Windows/Win32 implements OpenGL 1.5
-Glide (3dfx Voodoo1/2) requires updates
-SVGA requires updates
-DJGPP requires updates
-GGI requires updates
-BeOS requires updates
-Allegro requires updates
-D3D requires updates
-
-The drivers which require updates mostly need to be updated to work
-with the new gl_renderbuffer / gl_framebuffer infrastructure introduced
-in Mesa 6.3.
-
-
-----------------------------------------------------------------------
-$Id: RELNOTES-6.4,v 3.1 2005/10/24 23:33:27 brianp Exp $
diff --git a/docs/RELNOTES-6.4.1 b/docs/RELNOTES-6.4.1
deleted file mode 100644
index 4a867e77825..00000000000
--- a/docs/RELNOTES-6.4.1
+++ /dev/null
@@ -1,47 +0,0 @@
-
- Mesa 6.4.1 Release Notes
-
-
-Introduction
-------------
-
-Mesa uses an even/odd version number scheme like the Linux kernel.
-Odd numbered versions (such as 6.3) designate new developmental releases.
-Even numbered versions (such as 6.4) designate stable releases.
-
-
-6.4.1 is a bug-fix release. See the VERSIONS file for details.
-
-
-
-GLUT tarball
-------------
-
-Starting with 6.4, the GLUT library sources are distributed in a separate
-tarball. This was done at the request of Linux distro vendors who prefer
-to use freeglut.
-
-
-
-
-Driver Status
----------------------- ----------------------
-DRI drivers varies with the driver
-XMesa (Xlib) implements OpenGL 1.5
-OSMesa (off-screen) implements OpenGL 1.5
-Windows/Win32 implements OpenGL 1.5
-Glide (3dfx Voodoo1/2) requires updates
-SVGA requires updates
-DJGPP requires updates
-GGI requires updates
-BeOS requires updates
-Allegro requires updates
-D3D requires updates
-
-The drivers which require updates mostly need to be updated to work
-with the new gl_renderbuffer / gl_framebuffer infrastructure introduced
-in Mesa 6.3.
-
-
-----------------------------------------------------------------------
-$Id: RELNOTES-6.4.1,v 3.1 2006/02/03 17:21:54 brianp Exp $
diff --git a/docs/RELNOTES-6.4.2 b/docs/RELNOTES-6.4.2
deleted file mode 100644
index f9312157b1a..00000000000
--- a/docs/RELNOTES-6.4.2
+++ /dev/null
@@ -1,47 +0,0 @@
-
- Mesa 6.4.2 Release Notes
-
-
-Introduction
-------------
-
-Mesa uses an even/odd version number scheme like the Linux kernel.
-Odd numbered versions (such as 6.3) designate new developmental releases.
-Even numbered versions (such as 6.4) designate stable releases.
-
-
-6.4.2 is a minor bug-fix release. See the VERSIONS file for details.
-
-
-
-GLUT tarball
-------------
-
-Starting with 6.4, the GLUT library sources are distributed in a separate
-tarball. This was done at the request of Linux distro vendors who prefer
-to use freeglut.
-
-
-
-
-Driver Status
----------------------- ----------------------
-DRI drivers varies with the driver
-XMesa (Xlib) implements OpenGL 1.5
-OSMesa (off-screen) implements OpenGL 1.5
-Windows/Win32 implements OpenGL 1.5
-Glide (3dfx Voodoo1/2) requires updates
-SVGA requires updates
-DJGPP requires updates
-GGI requires updates
-BeOS requires updates
-Allegro requires updates
-D3D requires updates
-
-The drivers which require updates mostly need to be updated to work
-with the new gl_renderbuffer / gl_framebuffer infrastructure introduced
-in Mesa 6.3.
-
-
-----------------------------------------------------------------------
-$Id: RELNOTES-6.4.2,v 3.1 2006/02/03 17:21:54 brianp Exp $
diff --git a/docs/RELNOTES-6.5 b/docs/RELNOTES-6.5
deleted file mode 100644
index f51b1bde386..00000000000
--- a/docs/RELNOTES-6.5
+++ /dev/null
@@ -1,97 +0,0 @@
-
- Mesa 6.5 Release Notes
-
-
-
-Introduction
-------------
-
-Mesa uses an even/odd version number scheme like the Linux kernel.
-Odd numbered versions (such as 6.5) designate new developmental releases.
-Even numbered versions (such as 6.4) designate stable releases.
-
-
-
-New Features
-------------
-
-OpenGL Shading language support
- This includes the GL_ARB_shader_objects, GL_ARB_shading_language_100,
- GL_ARB_vertex_shader and GL_ARB_fragment_shader extensions. Most of
- the work was done by Michal Krol.
- There's probably a fair number of bugs since this is a pretty large,
- complicated body of code.
-
- The OpenGL 2.0 interface to these features will be implemented in a
- future version of Mesa,
-
-GL_EXT_timer_query
- Used to measure the time of OpenGL operations at high precision.
- Only supported in the software/Xlib driver at this time.
-
-GL_EXT_packed_depth_stencil
- Defines a new GL_DEPTH_STENCIL_EXT pixel format.
-
-GL_EXT_framebuffer_blit
- A simplified glCopyPixels-like feature for copying pixel rectangles.
-
-GL_ARB_half_float_pixel
- Adds a new half-precision floating point format for image transfers,
- such as for glDrawPixels, glReadPixels, glTexImage, etc.
-
-
-
-Removed Extensions
-------------------
-
-The following extensions have been removed:
-
- GL_HP_occlusion_test - this is superceded by GL_ARB_occlusion_query.
-
-
-
-Known Issues
-------------
-
-Rendering to depth textures will not work. Rendering to GL_DEPTH_STENCIL
-textures should work.
-
-
-
-Driver Interface Changes
-------------------------
-
-Stencil: The Driver.StencilOp/Func/Mask() functions have been replaced by
-the two-sided versions: Driver.Stencil*Separate().
-
-Render-to-texture: The functions for rendering to textures have changed.
-
-
-
-To Do (someday) items
----------------------
- Switch to freeglut
- Increase MAX_DRAWBUFFERS
- Fix linux-glide target/driver.
- Fix lambda calculation for frag progs.
-
-
-
-Driver Status
----------------------- ----------------------
-DRI drivers varies with the driver
-XMesa/GLX (on Xlib) implements OpenGL 1.5
-OSMesa (off-screen) implements OpenGL 1.5
-Glide (3dfx Voodoo1/2) implements OpenGL 1.3
-SVGA implements OpenGL 1.3
-Wind River UGL implements OpenGL 1.3
-Windows/Win32 implements OpenGL 1.5
-DJGPP implements OpenGL 1.5
-GGI implements OpenGL 1.3
-BeOS implements OpenGL 1.5
-Allegro needs updating
-D3D needs updating
-
-
-----------------------------------------------------------------------
-$Id: RELNOTES-6.5,v 3.4 2006/03/29 04:53:02 brianp Exp $
diff --git a/docs/contents.html b/docs/contents.html
index 40cefa26e7a..9f09df97374 100644
--- a/docs/contents.html
+++ b/docs/contents.html
@@ -28,7 +28,6 @@ a:visited {
Platforms and Drivers
License & Copyright
FAQ
-Version History
Release Notes
Acknowledgements
Conformance Testing
@@ -74,6 +73,7 @@ a:visited {
fbdev/DRI Environment
glFBDev Driver
Custom Development
+GL Dispatch
Links
diff --git a/docs/devinfo.html b/docs/devinfo.html
index 4d4730be757..cce14d73a36 100644
--- a/docs/devinfo.html
+++ b/docs/devinfo.html
@@ -34,11 +34,15 @@ To add a new GL extension to Mesa you have to do at least the following.
corresponding Python scripts.
- Find an existing extension that's similar to the new one and search
- the sources for code related to that extension.
- Implement new code as needed.
- In general, new state variables will be added to mtypes.h. If the
- extension is rather large, try to implement it in a new source file.
+ Add a new entry to the gl_extensions
struct in mtypes.h
+
+
+ Update the extensions.c
file.
+
+
+ From this point, the best way to proceed is to find another extension,
+ similar to the new one, that's already implemented in Mesa and use it
+ as an example.
If the new extension adds new GL state, the functions in get.c, enable.c
diff --git a/docs/dispatch.html b/docs/dispatch.html
new file mode 100644
index 00000000000..b9ea8822e60
--- /dev/null
+++ b/docs/dispatch.html
@@ -0,0 +1,274 @@
+
+
+GL Dispatch in Mesa
+
+
+
+
+GL Dispatch in Mesa
+
+Several factors combine to make efficient dispatch of OpenGL functions
+fairly complicated. This document attempts to explain some of the issues
+and introduce the reader to Mesa's implementation. Readers already familiar
+with the issues around GL dispatch can safely skip ahead to the overview of Mesa's implementation .
+
+1. Complexity of GL Dispatch
+
+Every GL application has at least one object called a GL context .
+This object, which is an implicit parameter to ever GL function, stores all
+of the GL related state for the application. Every texture, every buffer
+object, every enable, and much, much more is stored in the context. Since
+an application can have more than one context, the context to be used is
+selected by a window-system dependent function such as
+glXMakeContextCurrent .
+
+In environments that implement OpenGL with X-Windows using GLX, every GL
+function, including the pointers returned by glXGetProcAddress , are
+context independent . This means that no matter what context is
+currently active, the same glVertex3fv function is used.
+
+This creates the first bit of dispatch complexity. An application can
+have two GL contexts. One context is a direct rendering context where
+function calls are routed directly to a driver loaded within the
+application's address space. The other context is an indirect rendering
+context where function calls are converted to GLX protocol and sent to a
+server. The same glVertex3fv has to do the right thing depending
+on which context is current.
+
+Highly optimized drivers or GLX protocol implementations may want to
+change the behavior of GL functions depending on current state. For
+example, glFogCoordf may operate differently depending on whether
+or not fog is enabled.
+
+In multi-threaded environments, it is possible for each thread to have a
+differnt GL context current. This means that poor old glVertex3fv
+has to know which GL context is current in the thread where it is being
+called.
+
+
+2. Overview of Mesa's Implementation
+
+Mesa uses two per-thread pointers. The first pointer stores the address
+of the context current in the thread, and the second pointer stores the
+address of the dispatch table associated with that context. The
+dispatch table stores pointers to functions that actually implement
+specific GL functions. Each time a new context is made current in a thread,
+these pointers a updated.
+
+The implementation of functions such as glVertex3fv becomes
+conceptually simple:
+
+
+Fetch the current dispatch table pointer.
+Fetch the pointer to the real glVertex3fv function from the
+table.
+Call the real function.
+
+
+This can be implemented in just a few lines of C code. The file
+src/mesa/glapi/glapitemp.h contains code very similar to this.
+
+
+
+
+void glVertex3f(GLfloat x, GLfloat y, GLfloat z)
+{
+ const struct _glapi_table * const dispatch = GET_DISPATCH();
+
+ (*dispatch->Vertex3f)(x, y, z);
+}
+Sample dispatch function
+
+
+The problem with this simple implementation is the large amount of
+overhead that it adds to every GL function call.
+
+In a multithreaded environment, a niave implementation of
+GET_DISPATCH involves a call to pthread_getspecific or a
+similar function. Mesa provides a wrapper function called
+_glapi_get_dispatch that is used by default.
+
+3. Optimizations
+
+A number of optimizations have been made over the years to diminish the
+performance hit imposed by GL dispatch. This section describes these
+optimizations. The benefits of each optimization and the situations where
+each can or cannot be used are listed.
+
+3.1. Dual dispatch table pointers
+
+The vast majority of OpenGL applications use the API in a single threaded
+manner. That is, the application has only one thread that makes calls into
+the GL. In these cases, not only do the calls to
+pthread_getspecific hurt performance, but they are completely
+unnecessary! It is possible to detect this common case and avoid these
+calls.
+
+Each time a new dispatch table is set, Mesa examines and records the ID
+of the executing thread. If the same thread ID is always seen, Mesa knows
+that the application is, from OpenGL's point of view, single threaded.
+
+As long as an application is single threaded, Mesa stores a pointer to
+the dispatch table in a global variable called _glapi_Dispatch .
+The pointer is also stored in a per-thread location via
+pthread_setspecific . When Mesa detects that an application has
+become multithreaded, NULL is stored in _glapi_Dispatch .
+
+Using this simple mechanism the dispatch functions can detect the
+multithreaded case by comparing _glapi_Dispatch to NULL .
+The resulting implementation of GET_DISPATCH is slightly more
+complex, but it avoids the expensive pthread_getspecific call in
+the common case.
+
+
+
+
+#define GET_DISPATCH() \
+ (_glapi_Dispatch != NULL) \
+ ? _glapi_Dispatch : pthread_getspecific(&_glapi_Dispatch_key)
+
+Improved GET_DISPATCH Implementation
+
+
+3.2. ELF TLS
+
+Starting with the 2.4.20 Linux kernel, each thread is allocated an area
+of per-thread, global storage. Variables can be put in this area using some
+extensions to GCC. By storing the dispatch table pointer in this area, the
+expensive call to pthread_getspecific and the test of
+_glapi_Dispatch can be avoided.
+
+The dispatch table pointer is stored in a new variable called
+_glapi_tls_Dispatch . A new variable name is used so that a single
+libGL can implement both interfaces. This allows the libGL to operate with
+direct rendering drivers that use either interface. Once the pointer is
+properly declared, GET_DISPACH becomes a simple variable
+reference.
+
+
+
+
+extern __thread struct _glapi_table *_glapi_tls_Dispatch
+ __attribute__((tls_model("initial-exec")));
+
+#define GET_DISPATCH() _glapi_tls_Dispatch
+
+TLS GET_DISPATCH Implementation
+
+
+Use of this path is controlled by the preprocessor define
+GLX_USE_TLS . Any platform capable of using TLS should use this as
+the default dispatch method.
+
+3.3. Assembly Language Dispatch Stubs
+
+Many platforms has difficulty properly optimizing the tail-call in the
+dispatch stubs. Platforms like x86 that pass parameters on the stack seem
+to have even more difficulty optimizing these routines. All of the dispatch
+routines are very short, and it is trivial to create optimal assembly
+language versions. The amount of optimization provided by using assembly
+stubs varies from platform to platform and application to application.
+However, by using the assembly stubs, many platforms can use an additional
+space optimization (see below ).
+
+The biggest hurdle to creating assembly stubs is handling the various
+ways that the dispatch table pointer can be accessed. There are four
+different methods that can be used:
+
+
+Using _glapi_Dispatch directly in builds for non-multithreaded
+environments.
+Using _glapi_Dispatch and _glapi_get_dispatch in
+multithreaded environments.
+Using _glapi_Dispatch and pthread_getspecific in
+multithreaded environments.
+Using _glapi_tls_Dispatch directly in TLS enabled
+multithreaded environments.
+
+
+People wishing to implement assembly stubs for new platforms should focus
+on #4 if the new platform supports TLS. Otherwise, implement #2 followed by
+#3. Environments that do not support multithreading are uncommon and not
+terribly relevant.
+
+Selection of the dispatch table pointer access method is controlled by a
+few preprocessor defines.
+
+
+If GLX_USE_TLS is defined, method #4 is used.
+If PTHREADS is defined, method #3 is used.
+If any of PTHREADS , USE_XTHREADS ,
+SOLARIS_THREADS , WIN32_THREADS , or BEOS_THREADS
+is defined, method #2 is used.
+If none of the preceeding are defined, method #1 is used.
+
+
+Two different techniques are used to handle the various different cases.
+On x86 and SPARC, a macro called GL_STUB is used. In the preamble
+of the assembly source file different implementations of the macro are
+selected based on the defined preprocessor variables. The assmebly code
+then consists of a series of invocations of the macros such as:
+
+
+
+
+GL_STUB(Color3fv, _gloffset_Color3fv)
+
+SPARC Assembly Implementation of glColor3fv
+
+
+The benefit of this technique is that changes to the calling pattern
+(i.e., addition of a new dispatch table pointer access method) require fewer
+changed lines in the assembly code.
+
+However, this technique can only be used on platforms where the function
+implementation does not change based on the parameters passed to the
+function. For example, since x86 passes all parameters on the stack, no
+additional code is needed to save and restore function parameters around a
+call to pthread_getspecific . Since x86-64 passes parameters in
+registers, varying amounts of code needs to be inserted around the call to
+pthread_getspecific to save and restore the GL function's
+parameters.
+
+The other technique, used by platforms like x86-64 that cannot use the
+first technique, is to insert #ifdef within the assembly
+implementation of each function. This makes the assembly file considerably
+larger (e.g., 29,332 lines for glapi_x86-64.S versus 1,155 lines for
+glapi_x86.S ) and causes simple changes to the function
+implementation to generate many lines of diffs. Since the assmebly files
+are typically generated by scripts (see below ), this
+isn't a significant problem.
+
+Once a new assembly file is created, it must be inserted in the build
+system. There are two steps to this. The file must first be added to
+src/mesa/sources . That gets the file built and linked. The second
+step is to add the correct #ifdef magic to
+src/mesa/main/dispatch.c to prevent the C version of the dispatch
+functions from being built.
+
+
+3.4. Fixed-Length Dispatch Stubs
+
+To implement glXGetProcAddress , Mesa stores a table that
+associates function names with pointers to those functions. This table is
+stored in src/mesa/glapi/glprocs.h . For different reasons on
+different platforms, storing all of those pointers is inefficient. On most
+platforms, including all known platforms that support TLS, we can avoid this
+added overhead.
+
+If the assembly stubs are all the same size, the pointer need not be
+stored for every function. The location of the function can instead be
+calculated by multiplying the size of the dispatch stub by the offset of the
+function in the table. This value is then added to the address of the first
+dispatch stub.
+
+This path is activated by adding the correct #ifdef magic to
+src/mesa/glapi/glapi.c just before glprocs.h is
+included.
+
+
+4. Automatic Generation of Dispatch Stubs
+
+
+
diff --git a/docs/mangling.html b/docs/mangling.html
index cb19e7568a5..3f550ba5ec6 100644
--- a/docs/mangling.html
+++ b/docs/mangling.html
@@ -9,8 +9,8 @@
Function Name Mangling
-If you want to use Mesa and native OpenGL in the same application at
-the same time you may find it useful to compile Mesa with
+If you want to use both Mesa and another OpenGL library in the same
+application at the same time you may find it useful to compile Mesa with
name mangling .
This results in all the Mesa functions being prefixed with
mgl instead of gl .
@@ -18,9 +18,7 @@ This results in all the Mesa functions being prefixed with
To do this, recompile Mesa with the compiler flag -DUSE_MGL_NAMESPACE.
-Add the flag to the other compiler flags in Make-config (if using the
-old-style build system) or in src/Makefile if using GNU autoconf/
-automake to build Mesa.
+Add the flag to CFLAGS in the configuration file which you want to use.
diff --git a/docs/news.html b/docs/news.html
index 0c77ad5d30f..9cd622fe227 100644
--- a/docs/news.html
+++ b/docs/news.html
@@ -13,100 +13,37 @@
September 15, 2006
-Mesa 6.5.1 has been released. This is a new development release.
+Mesa 6.5.1 has been released.
+This is a new development release.
-Changes in version 6.5.1
-
-The MD5 checksums are:
-
-
-TBD
-
March 31, 2006
-Mesa 6.5 has been released. This is a new development release.
+Mesa 6.5 has been released.
+This is a new development release.
-Changes in version 6.5
-
-The MD5 checksums are:
-
-
-657be3b92f6dabc78a67ed9cb8d67813 MesaLib-6.5.tar.gz
-61beda590bfc5b4a12e979d5f2d70d7a MesaLib-6.5.tar.bz2
-19d48b872d579d4f91466060804a59ac MesaLib-6.5.zip
-694ad3a7007010c7418a9c72d1cba5b7 MesaDemos-6.5.tar.gz
-ab95b590dcd640726a2d89e62068c66e MesaDemos-6.5.tar.bz2
-b792c303fefd87294488e2b7eab976e5 MesaDemos-6.5.zip
-ac1d585483617db0c91e5c15cb5ec3a3 MesaGLUT-6.5.tar.gz
-59f0bf2b2ffb67fe23ee479f9b044f31 MesaGLUT-6.5.tar.bz2
-005decb2136718e22222ac1c4805cd15 MesaGLUT-6.5.zip
-
February 2, 2006
-Mesa 6.4.2 has been released. This is primarily a bug-fix release.
-
-Changes in version 6.4.2
-
-The MD5 checksums are:
+Mesa 6.4.2 has been released.
+This is stable, bug-fix release.
-
-cb0d745d520fa7c2bb9178058b763544 MesaLib-6.4.2.tar.gz
-7674d2c603b5834259e4e5a820cefd5b MesaLib-6.4.2.tar.bz2
-d224e1325b33ff71a0f3893fc6b4d594 MesaLib-6.4.2.zip
-d4b345d4588fc750cd3d34f3ac26673e MesaDemos-6.4.2.tar.gz
-9cae1ab874af533ce356bd7dfe2e0bb0 MesaDemos-6.4.2.tar.bz2
-2da6e1d1245e441d27813595c6ba50de MesaDemos-6.4.2.zip
-84427d18c3453f0ea52388eeba7169b5 MesaGLUT-6.4.2.tar.gz
-b157ba8ad1ea63260cf5339132e7aac6 MesaGLUT-6.4.2.tar.bz2
-fe1523744fc05edc3811dfc6a1bf4181 MesaGLUT-6.4.2.zip
-
November 29, 2005
-Mesa 6.4.1 has been released. This is a stable, bug-fix release.
+Mesa 6.4.1 has been released.
+This is stable, bug-fix release.
-Changes in version 6.4.1
-
-The MD5 checksums are:
-
-
-698ceb574cf882b0226761f5913c0da9 MesaLib-6.4.1.tar.gz
-ea148c828ec6f645526451db1b8556f1 MesaLib-6.4.1.tar.bz2
-42e93279468975ed2bf3111b8721e5d9 MesaLib-6.4.1.zip
-e3b0d50807fd2bdcd1a95aaddd786f13 MesaDemos-6.4.1.tar.gz
-99df1fdcb98d391666b476ca6f1dda8a MesaDemos-6.4.1.tar.bz2
-b999d2c6d92fb4b7740a3dbd889348e3 MesaDemos-6.4.1.zip
-eadfe01fe5ddfb1eb8227dd567b31635 MesaGLUT-6.4.1.tar.gz
-bd003bb4f981a4f91dee4c38644d4f3f MesaGLUT-6.4.1.tar.bz2
-71c401c037088bf688a88afdaeb3420f MesaGLUT-6.4.1.zip
-
-
October 24, 2005
-Mesa 6.4 has been released. This is a stable, bug-fix release.
-
-Changes in version 6.4
-
-The MD5 checksums are:
+Mesa 6.4 has been released.
+This is stable, bug-fix release.
-
-1cce0c1eb4fd15e9dfe837a1ce0c9812 MesaLib-6.4.tar.gz
-85a84e47a3f718f752f306b9e0954ef6 MesaLib-6.4.tar.bz2
-b976fea4f3ee06354c53f91b6e3f2ffc MesaLib-6.4.zip
-d8734f2c69bcf7ef9f5ae454a85743ba MesaDemos-6.4.tar.gz
-1a8c4d4fc699233f5fdb902b8753099e MesaDemos-6.4.tar.bz2
-607ab7c7a7de0cc5febbdde2bfa03098 MesaDemos-6.4.zip
-3260156f66174322a092be0767962d34 MesaGLUT-6.4.tar.gz
-0465d053f83775f44a12dec4050dfd78 MesaGLUT-6.4.tar.bz2
-02abfcdcdf72ba938ae00f6e3b70fbe0 MesaGLUT-6.4.zip
-
August 19, 2005
@@ -1133,6 +1070,6 @@ source code.
-$Id: news.html,v 3.30 2006/09/16 04:13:20 brianp Exp $
+$Id: news.html,v 3.32 2006/09/21 22:51:16 brianp Exp $