This commit is contained in:
parent
e73d021c8e
commit
1d01cc1431
@ -1,3 +1,11 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Oct 31 08:53:24 CET 2007 - sndirsch@suse.de
|
||||||
|
|
||||||
|
- updated to Mesa 7.0.2 RC1
|
||||||
|
- obsoletes disable-libGL-warning.diff, i915-g33.diff and
|
||||||
|
i915tex-g33.diff
|
||||||
|
- adjusted link-shared.diff and static.diff
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Aug 13 03:06:02 CEST 2007 - sndirsch@suse.de
|
Mon Aug 13 03:06:02 CEST 2007 - sndirsch@suse.de
|
||||||
|
|
||||||
|
42
Mesa.spec
42
Mesa.spec
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# spec file for package Mesa (Version 7.0.1)
|
# spec file for package Mesa (Version 7.0.2)
|
||||||
#
|
#
|
||||||
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
# This file and all modifications and additions to the pristine
|
# This file and all modifications and additions to the pristine
|
||||||
@ -12,17 +12,17 @@
|
|||||||
|
|
||||||
Name: Mesa
|
Name: Mesa
|
||||||
BuildRequires: gcc-c++ libdrm-devel pkgconfig xorg-x11-devel
|
BuildRequires: gcc-c++ libdrm-devel pkgconfig xorg-x11-devel
|
||||||
URL: http://www.mesa3d.org
|
Url: http://www.mesa3d.org
|
||||||
License: X11/MIT
|
License: X11/MIT
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
Provides: xorg-x11-Mesa
|
Provides: xorg-x11-Mesa
|
||||||
Obsoletes: xorg-x11-Mesa
|
Obsoletes: xorg-x11-Mesa
|
||||||
Autoreqprov: on
|
AutoReqProv: on
|
||||||
Version: 7.0.1
|
Version: 7.0.2
|
||||||
Release: 6
|
Release: 1
|
||||||
Summary: Mesa is a 3-D graphics library with an API which is very similar to that of OpenGL.*
|
Summary: Mesa is a 3-D graphics library with an API which is very similar to that of OpenGL.*
|
||||||
Source: MesaLib-%{version}.tar.bz2
|
Source: MesaLib-%{version}-rc1.tar.bz2
|
||||||
Source1: MesaDemos-%{version}.tar.bz2
|
Source1: MesaDemos-%{version}-rc1.tar.bz2
|
||||||
Source3: README.updates
|
Source3: README.updates
|
||||||
Source4: manual-pages.tar.bz2
|
Source4: manual-pages.tar.bz2
|
||||||
Source5: via.csh
|
Source5: via.csh
|
||||||
@ -30,12 +30,9 @@ Source6: via.sh
|
|||||||
Patch0: disable-sis_dri.diff
|
Patch0: disable-sis_dri.diff
|
||||||
Patch1: dri_driver_dir.diff
|
Patch1: dri_driver_dir.diff
|
||||||
Patch2: i915-crossbar.diff
|
Patch2: i915-crossbar.diff
|
||||||
Patch3: disable-libGL-warning.diff
|
|
||||||
Patch4: libIndirectGL.diff
|
Patch4: libIndirectGL.diff
|
||||||
Patch5: static.diff
|
Patch5: static.diff
|
||||||
Patch6: link-shared.diff
|
Patch6: link-shared.diff
|
||||||
Patch7: i915-g33.diff
|
|
||||||
Patch8: i915tex-g33.diff
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -105,7 +102,7 @@ Authors:
|
|||||||
Brian Paul
|
Brian Paul
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -n %{name}-%{version} -b1 -b4
|
%setup -n %{name}-%{version}-rc1 -b1 -b4
|
||||||
rm docs/README.MINGW32.orig
|
rm docs/README.MINGW32.orig
|
||||||
# make legal department happy (Bug #204110)
|
# make legal department happy (Bug #204110)
|
||||||
test -f src/mesa/drivers/directfb/idirectfbgl_mesa.c && exit 1
|
test -f src/mesa/drivers/directfb/idirectfbgl_mesa.c && exit 1
|
||||||
@ -119,17 +116,10 @@ rm -rf src/glw/
|
|||||||
%patch0
|
%patch0
|
||||||
%patch1
|
%patch1
|
||||||
%patch2
|
%patch2
|
||||||
%patch3
|
|
||||||
%patch5
|
%patch5
|
||||||
%ifarch %ix86 x86_64 ppc
|
%ifarch %ix86 x86_64 ppc
|
||||||
%patch6
|
%patch6
|
||||||
%endif
|
%endif
|
||||||
pushd src/mesa/drivers/dri/i915
|
|
||||||
%patch7
|
|
||||||
popd
|
|
||||||
pushd src/mesa/drivers/dri/i915tex
|
|
||||||
%patch8
|
|
||||||
popd
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
|
||||||
@ -156,19 +146,19 @@ make realclean
|
|||||||
%ifarch %ix86 ppc x86_64
|
%ifarch %ix86 ppc x86_64
|
||||||
%ifarch %ix86
|
%ifarch %ix86
|
||||||
make linux-dri-x86 OPT_FLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing -DDEFAULT_DRIVER_DIR='\"'/usr/%{_lib}/dri/updates:/usr/%{_lib}/dri'\"'" %{?jobs:-j %jobs}
|
make linux-dri-x86 OPT_FLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing -DDEFAULT_DRIVER_DIR='\"'/usr/%{_lib}/dri/updates:/usr/%{_lib}/dri'\"'" %{?jobs:-j %jobs}
|
||||||
make install DESTDIR=$RPM_BUILD_ROOT/usr INSTALL_DIR=$RPM_BUILD_ROOT/usr DRI_DRIVER_INSTALL_DIR=$RPM_BUILD_ROOT/usr/%{_lib}/dri %{?jobs:-j %jobs}
|
make install DESTDIR=$RPM_BUILD_ROOT INSTALL_DIR=/usr DRI_DRIVER_INSTALL_DIR=/usr/%{_lib}/dri %{?jobs:-j %jobs}
|
||||||
make realclean
|
make realclean
|
||||||
make linux-x86-static OPT_FLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" %{?jobs:-j %jobs}
|
make linux-x86-static OPT_FLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" %{?jobs:-j %jobs}
|
||||||
%endif
|
%endif
|
||||||
%ifarch ppc
|
%ifarch ppc
|
||||||
make linux-dri-ppc OPT_FLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing -DDEFAULT_DRIVER_DIR='\"'/usr/%{_lib}/dri/updates:/usr/%{_lib}/dri'\"'" %{?jobs:-j %jobs}
|
make linux-dri-ppc OPT_FLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing -DDEFAULT_DRIVER_DIR='\"'/usr/%{_lib}/dri/updates:/usr/%{_lib}/dri'\"'" %{?jobs:-j %jobs}
|
||||||
make install DESTDIR=$RPM_BUILD_ROOT/usr INSTALL_DIR=$RPM_BUILD_ROOT/usr DRI_DRIVER_INSTALL_DIR=$RPM_BUILD_ROOT/usr/%{_lib}/dri %{?jobs:-j %jobs}
|
make install DESTDIR=$RPM_BUILD_ROOT INSTALL_DIR=/usr DRI_DRIVER_INSTALL_DIR=/usr/%{_lib}/dri %{?jobs:-j %jobs}
|
||||||
make realclean
|
make realclean
|
||||||
make linux-ppc-static OPT_FLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" %{?jobs:-j %jobs}
|
make linux-ppc-static OPT_FLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" %{?jobs:-j %jobs}
|
||||||
%endif
|
%endif
|
||||||
%ifarch x86_64
|
%ifarch x86_64
|
||||||
make linux-dri-x86-64 OPT_FLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing -DDEFAULT_DRIVER_DIR='\"'/usr/%{_lib}/dri/updates:/usr/%{_lib}/dri'\"'" %{?jobs:-j %jobs}
|
make linux-dri-x86-64 OPT_FLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing -DDEFAULT_DRIVER_DIR='\"'/usr/%{_lib}/dri/updates:/usr/%{_lib}/dri'\"'" %{?jobs:-j %jobs}
|
||||||
make install DESTDIR=$RPM_BUILD_ROOT/usr INSTALL_DIR=$RPM_BUILD_ROOT/usr DRI_DRIVER_INSTALL_DIR=$RPM_BUILD_ROOT/usr/%{_lib}/dri %{?jobs:-j %jobs}
|
make install DESTDIR=$RPM_BUILD_ROOT INSTALL_DIR=/usr DRI_DRIVER_INSTALL_DIR=/usr/%{_lib}/dri %{?jobs:-j %jobs}
|
||||||
make realclean
|
make realclean
|
||||||
make linux-x86-64-static OPT_FLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" %{?jobs:-j %jobs}
|
make linux-x86-64-static OPT_FLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" %{?jobs:-j %jobs}
|
||||||
%endif
|
%endif
|
||||||
@ -178,7 +168,7 @@ make linux-dri OPT_FLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing -DDEFAULT_DRIVER_D
|
|||||||
%else
|
%else
|
||||||
make linux OPT_FLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
|
make linux OPT_FLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
|
||||||
%endif
|
%endif
|
||||||
make install DESTDIR=$RPM_BUILD_ROOT/usr INSTALL_DIR=$RPM_BUILD_ROOT/usr DRI_DRIVER_INSTALL_DIR=$RPM_BUILD_ROOT/usr/%{_lib}/dri
|
make install DESTDIR=$RPM_BUILD_ROOT INSTALL_DIR=/usr DRI_DRIVER_INSTALL_DIR=/usr/%{_lib}/dri
|
||||||
make realclean
|
make realclean
|
||||||
make linux-static OPT_FLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" %{?jobs:-j %jobs}
|
make linux-static OPT_FLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" %{?jobs:-j %jobs}
|
||||||
%endif
|
%endif
|
||||||
@ -267,6 +257,8 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
/usr/include/GL/xmesa_xf86.h
|
/usr/include/GL/xmesa_xf86.h
|
||||||
/usr/%{_lib}/libGLU.so
|
/usr/%{_lib}/libGLU.so
|
||||||
/usr/%{_lib}/libOSMesa.so
|
/usr/%{_lib}/libOSMesa.so
|
||||||
|
/usr/%{_lib}/pkgconfig/gl.pc
|
||||||
|
/usr/%{_lib}/pkgconfig/glu.pc
|
||||||
%{_mandir}/man3/*
|
%{_mandir}/man3/*
|
||||||
|
|
||||||
%files devel-static
|
%files devel-static
|
||||||
@ -274,8 +266,12 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
/usr/%{_lib}/libGL.a
|
/usr/%{_lib}/libGL.a
|
||||||
/usr/%{_lib}/libGLU.a
|
/usr/%{_lib}/libGLU.a
|
||||||
/usr/%{_lib}/libMesaGL.a
|
/usr/%{_lib}/libMesaGL.a
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Oct 31 2007 - sndirsch@suse.de
|
||||||
|
- updated to Mesa 7.0.2 RC1
|
||||||
|
- obsoletes disable-libGL-warning.diff, i915-g33.diff and
|
||||||
|
i915tex-g33.diff
|
||||||
|
- adjusted link-shared.diff and static.diff
|
||||||
* Mon Aug 13 2007 - sndirsch@suse.de
|
* Mon Aug 13 2007 - sndirsch@suse.de
|
||||||
- disable-libGL-warning.diff:
|
- disable-libGL-warning.diff:
|
||||||
* Just filters warnings about unsupported non-conformant visuals
|
* Just filters warnings about unsupported non-conformant visuals
|
||||||
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:4f074ec7b1d5f6ba5fe7ff35abea1518f4e237fd77e786417a56193fba0ce07a
|
|
||||||
size 1354835
|
|
3
MesaDemos-7.0.2-rc1.tar.bz2
Normal file
3
MesaDemos-7.0.2-rc1.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:b5d70f80f54f3da01a2d7a00bbab98dbfa1bdecec68dddaf4770e753d90d93c3
|
||||||
|
size 1339060
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:e29399443c4f25e13ae5833d948d04e7224580471936372f27e40284a2218cf1
|
|
||||||
size 3437570
|
|
3
MesaLib-7.0.2-rc1.tar.bz2
Normal file
3
MesaLib-7.0.2-rc1.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:49ca12c8f7df18901e609af965302bff363f34d7495fea29a3fd246d82a119d2
|
||||||
|
size 3385409
|
@ -1,17 +0,0 @@
|
|||||||
--- src/glx/x11/glxext.c.orig 2007-08-12 10:45:15.688553249 +0200
|
|
||||||
+++ src/glx/x11/glxext.c 2007-08-12 10:55:49.810243457 +0200
|
|
||||||
@@ -672,8 +672,12 @@ filter_modes( __GLcontextModes ** server
|
|
||||||
if ( do_delete && (m->visualID != 0) ) {
|
|
||||||
do_delete = GL_FALSE;
|
|
||||||
|
|
||||||
- fprintf(stderr, "libGL warning: 3D driver claims to not support "
|
|
||||||
- "visual 0x%02x\n", m->visualID);
|
|
||||||
+ /* filter warnings about unsupported non-conformant visuals
|
|
||||||
+ (Novell #247471 / X.Org #6689) */
|
|
||||||
+ if (m->visualRating != GLX_NON_CONFORMANT_CONFIG) {
|
|
||||||
+ fprintf(stderr, "libGL warning: 3D driver claims to not "
|
|
||||||
+ "support visual 0x%02x\n", m->visualID);
|
|
||||||
+ }
|
|
||||||
}
|
|
||||||
|
|
||||||
if ( do_delete ) {
|
|
@ -1,91 +0,0 @@
|
|||||||
diff -u -r /suse/sndirsch/pkgs/openSUSE/xorg73/Mesa/Mesa-7.0/src/mesa/drivers/dri/i915/i915_texstate.c ./i915_texstate.c
|
|
||||||
--- /suse/sndirsch/pkgs/openSUSE/xorg73/Mesa/Mesa-7.0/src/mesa/drivers/dri/i915/i915_texstate.c 2007-06-22 00:14:38.000000000 +0200
|
|
||||||
+++ ./i915_texstate.c 2007-06-06 00:55:28.000000000 +0200
|
|
||||||
@@ -491,12 +491,19 @@
|
|
||||||
abort();
|
|
||||||
}
|
|
||||||
|
|
||||||
-
|
|
||||||
- if (i915->intel.intelScreen->deviceID == PCI_CHIP_I945_G ||
|
|
||||||
- i915->intel.intelScreen->deviceID == PCI_CHIP_I945_GM)
|
|
||||||
- i945LayoutTextureImages( i915, tObj );
|
|
||||||
- else
|
|
||||||
- i915LayoutTextureImages( i915, tObj );
|
|
||||||
+ switch (i915->intel.intelScreen->deviceID) {
|
|
||||||
+ case PCI_CHIP_I945_G:
|
|
||||||
+ case PCI_CHIP_I945_GM:
|
|
||||||
+ case PCI_CHIP_I945_GME:
|
|
||||||
+ case PCI_CHIP_G33_G:
|
|
||||||
+ case PCI_CHIP_Q33_G:
|
|
||||||
+ case PCI_CHIP_Q35_G:
|
|
||||||
+ i945LayoutTextureImages( i915, tObj );
|
|
||||||
+ break;
|
|
||||||
+ default:
|
|
||||||
+ i915LayoutTextureImages( i915, tObj );
|
|
||||||
+ break;
|
|
||||||
+ }
|
|
||||||
|
|
||||||
t->Setup[I915_TEXREG_MS3] =
|
|
||||||
(((tObj->Image[0][t->intel.base.firstLevel]->Height - 1) << MS3_HEIGHT_SHIFT) |
|
|
||||||
diff -u -r /suse/sndirsch/pkgs/openSUSE/xorg73/Mesa/Mesa-7.0/src/mesa/drivers/dri/i915/intel_context.c ./intel_context.c
|
|
||||||
--- /suse/sndirsch/pkgs/openSUSE/xorg73/Mesa/Mesa-7.0/src/mesa/drivers/dri/i915/intel_context.c 2007-06-22 00:14:38.000000000 +0200
|
|
||||||
+++ ./intel_context.c 2007-06-06 00:55:28.000000000 +0200
|
|
||||||
@@ -123,6 +123,14 @@
|
|
||||||
chipset = "Intel(R) 945G"; break;
|
|
||||||
case PCI_CHIP_I945_GM:
|
|
||||||
chipset = "Intel(R) 945GM"; break;
|
|
||||||
+ case PCI_CHIP_I945_GME:
|
|
||||||
+ chipset = "Intel(R) 945GME"; break;
|
|
||||||
+ case PCI_CHIP_G33_G:
|
|
||||||
+ chipset = "Intel(R) G33"; break;
|
|
||||||
+ case PCI_CHIP_Q35_G:
|
|
||||||
+ chipset = "Intel(R) Q35"; break;
|
|
||||||
+ case PCI_CHIP_Q33_G:
|
|
||||||
+ chipset = "Intel(R) Q33"; break;
|
|
||||||
default:
|
|
||||||
chipset = "Unknown Intel Chipset"; break;
|
|
||||||
}
|
|
||||||
diff -u -r /suse/sndirsch/pkgs/openSUSE/xorg73/Mesa/Mesa-7.0/src/mesa/drivers/dri/i915/intel_context.h ./intel_context.h
|
|
||||||
--- /suse/sndirsch/pkgs/openSUSE/xorg73/Mesa/Mesa-7.0/src/mesa/drivers/dri/i915/intel_context.h 2007-06-22 00:14:38.000000000 +0200
|
|
||||||
+++ ./intel_context.h 2007-06-06 00:55:28.000000000 +0200
|
|
||||||
@@ -454,6 +454,10 @@
|
|
||||||
#define PCI_CHIP_I915_GM 0x2592
|
|
||||||
#define PCI_CHIP_I945_G 0x2772
|
|
||||||
#define PCI_CHIP_I945_GM 0x27A2
|
|
||||||
+#define PCI_CHIP_I945_GME 0x27AE
|
|
||||||
+#define PCI_CHIP_G33_G 0x29C2
|
|
||||||
+#define PCI_CHIP_Q35_G 0x29B2
|
|
||||||
+#define PCI_CHIP_Q33_G 0x29D2
|
|
||||||
|
|
||||||
|
|
||||||
/* ================================================================
|
|
||||||
diff -u -r /suse/sndirsch/pkgs/openSUSE/xorg73/Mesa/Mesa-7.0/src/mesa/drivers/dri/i915/intel_screen.c ./intel_screen.c
|
|
||||||
--- /suse/sndirsch/pkgs/openSUSE/xorg73/Mesa/Mesa-7.0/src/mesa/drivers/dri/i915/intel_screen.c 2007-06-22 00:14:38.000000000 +0200
|
|
||||||
+++ ./intel_screen.c 2007-06-06 00:55:28.000000000 +0200
|
|
||||||
@@ -514,6 +514,10 @@
|
|
||||||
case PCI_CHIP_I915_GM:
|
|
||||||
case PCI_CHIP_I945_G:
|
|
||||||
case PCI_CHIP_I945_GM:
|
|
||||||
+ case PCI_CHIP_I945_GME:
|
|
||||||
+ case PCI_CHIP_G33_G:
|
|
||||||
+ case PCI_CHIP_Q35_G:
|
|
||||||
+ case PCI_CHIP_Q33_G:
|
|
||||||
return i915CreateContext( mesaVis, driContextPriv,
|
|
||||||
sharedContextPrivate );
|
|
||||||
|
|
||||||
diff -u -r /suse/sndirsch/pkgs/openSUSE/xorg73/Mesa/Mesa-7.0/src/mesa/drivers/dri/i915/intel_tex.c ./intel_tex.c
|
|
||||||
--- /suse/sndirsch/pkgs/openSUSE/xorg73/Mesa/Mesa-7.0/src/mesa/drivers/dri/i915/intel_tex.c 2007-06-22 00:14:38.000000000 +0200
|
|
||||||
+++ ./intel_tex.c 2007-06-06 00:55:28.000000000 +0200
|
|
||||||
@@ -677,7 +677,11 @@
|
|
||||||
/* Time for another vtbl entry:
|
|
||||||
*/
|
|
||||||
else if (intel->intelScreen->deviceID == PCI_CHIP_I945_G ||
|
|
||||||
- intel->intelScreen->deviceID == PCI_CHIP_I945_GM) {
|
|
||||||
+ intel->intelScreen->deviceID == PCI_CHIP_I945_GM ||
|
|
||||||
+ intel->intelScreen->deviceID == PCI_CHIP_I945_GME ||
|
|
||||||
+ intel->intelScreen->deviceID == PCI_CHIP_G33_G ||
|
|
||||||
+ intel->intelScreen->deviceID == PCI_CHIP_Q33_G ||
|
|
||||||
+ intel->intelScreen->deviceID == PCI_CHIP_Q35_G) {
|
|
||||||
GLuint row_len = image->Width * image->TexFormat->TexelBytes;
|
|
||||||
GLubyte *dst = (GLubyte *)(t->BufAddr + offset);
|
|
||||||
GLubyte *src = (GLubyte *)image->Data;
|
|
@ -1,64 +0,0 @@
|
|||||||
diff -u -r /suse/sndirsch/pkgs/openSUSE/xorg73/Mesa/Mesa-7.0/src/mesa/drivers/dri/i915tex/intel_context.c ./intel_context.c
|
|
||||||
--- /suse/sndirsch/pkgs/openSUSE/xorg73/Mesa/Mesa-7.0/src/mesa/drivers/dri/i915tex/intel_context.c 2007-06-22 00:14:38.000000000 +0200
|
|
||||||
+++ ./intel_context.c 2007-06-06 00:55:28.000000000 +0200
|
|
||||||
@@ -130,6 +130,18 @@
|
|
||||||
case PCI_CHIP_I945_GM:
|
|
||||||
chipset = "Intel(R) 945GM";
|
|
||||||
break;
|
|
||||||
+ case PCI_CHIP_I945_GME:
|
|
||||||
+ chipset = "Intel(R) 945GME";
|
|
||||||
+ break;
|
|
||||||
+ case PCI_CHIP_G33_G:
|
|
||||||
+ chipset = "Intel(R) G33";
|
|
||||||
+ break;
|
|
||||||
+ case PCI_CHIP_Q35_G:
|
|
||||||
+ chipset = "Intel(R) Q35";
|
|
||||||
+ break;
|
|
||||||
+ case PCI_CHIP_Q33_G:
|
|
||||||
+ chipset = "Intel(R) Q33";
|
|
||||||
+ break;
|
|
||||||
default:
|
|
||||||
chipset = "Unknown Intel Chipset";
|
|
||||||
break;
|
|
||||||
diff -u -r /suse/sndirsch/pkgs/openSUSE/xorg73/Mesa/Mesa-7.0/src/mesa/drivers/dri/i915tex/intel_context.h ./intel_context.h
|
|
||||||
--- /suse/sndirsch/pkgs/openSUSE/xorg73/Mesa/Mesa-7.0/src/mesa/drivers/dri/i915tex/intel_context.h 2007-06-22 00:14:38.000000000 +0200
|
|
||||||
+++ ./intel_context.h 2007-06-06 00:55:28.000000000 +0200
|
|
||||||
@@ -381,6 +385,10 @@
|
|
||||||
#define PCI_CHIP_I915_GM 0x2592
|
|
||||||
#define PCI_CHIP_I945_G 0x2772
|
|
||||||
#define PCI_CHIP_I945_GM 0x27A2
|
|
||||||
+#define PCI_CHIP_I945_GME 0x27AE
|
|
||||||
+#define PCI_CHIP_G33_G 0x29C2
|
|
||||||
+#define PCI_CHIP_Q35_G 0x29B2
|
|
||||||
+#define PCI_CHIP_Q33_G 0x29D2
|
|
||||||
|
|
||||||
|
|
||||||
/* ================================================================
|
|
||||||
diff -u -r /suse/sndirsch/pkgs/openSUSE/xorg73/Mesa/Mesa-7.0/src/mesa/drivers/dri/i915tex/intel_mipmap_tree.c ./intel_mipmap_tree.c
|
|
||||||
--- /suse/sndirsch/pkgs/openSUSE/xorg73/Mesa/Mesa-7.0/src/mesa/drivers/dri/i915tex/intel_mipmap_tree.c 2007-06-22 00:14:38.000000000 +0200
|
|
||||||
+++ ./intel_mipmap_tree.c 2007-06-06 00:55:28.000000000 +0200
|
|
||||||
@@ -79,6 +79,10 @@
|
|
||||||
switch (intel->intelScreen->deviceID) {
|
|
||||||
case PCI_CHIP_I945_G:
|
|
||||||
case PCI_CHIP_I945_GM:
|
|
||||||
+ case PCI_CHIP_I945_GME:
|
|
||||||
+ case PCI_CHIP_G33_G:
|
|
||||||
+ case PCI_CHIP_Q33_G:
|
|
||||||
+ case PCI_CHIP_Q35_G:
|
|
||||||
ok = i945_miptree_layout(mt);
|
|
||||||
break;
|
|
||||||
case PCI_CHIP_I915_G:
|
|
||||||
diff -u -r /suse/sndirsch/pkgs/openSUSE/xorg73/Mesa/Mesa-7.0/src/mesa/drivers/dri/i915tex/intel_screen.c ./intel_screen.c
|
|
||||||
--- /suse/sndirsch/pkgs/openSUSE/xorg73/Mesa/Mesa-7.0/src/mesa/drivers/dri/i915tex/intel_screen.c 2007-06-22 00:14:38.000000000 +0200
|
|
||||||
+++ ./intel_screen.c 2007-06-06 00:55:28.000000000 +0200
|
|
||||||
@@ -752,6 +752,10 @@
|
|
||||||
case PCI_CHIP_I915_GM:
|
|
||||||
case PCI_CHIP_I945_G:
|
|
||||||
case PCI_CHIP_I945_GM:
|
|
||||||
+ case PCI_CHIP_I945_GME:
|
|
||||||
+ case PCI_CHIP_G33_G:
|
|
||||||
+ case PCI_CHIP_Q35_G:
|
|
||||||
+ case PCI_CHIP_Q33_G:
|
|
||||||
return i915CreateContext(mesaVis, driContextPriv, sharedContextPrivate);
|
|
||||||
|
|
||||||
default:
|
|
@ -17,7 +17,7 @@
|
|||||||
@if [ "${DRIVER_DIRS}" = "dri" ] ; then \
|
@if [ "${DRIVER_DIRS}" = "dri" ] ; then \
|
||||||
cd drivers/dri ; $(MAKE) install ; \
|
cd drivers/dri ; $(MAKE) install ; \
|
||||||
fi
|
fi
|
||||||
+ $(INSTALL) $(TOP)/$(LIB_DIR)/libmesa_private.* $(INSTALL_DIR)/$(LIB_DIR)
|
+ $(INSTALL) $(TOP)/$(LIB_DIR)/libmesa_private.* $(DESTDIR)/$(INSTALL_DIR)/$(LIB_DIR)
|
||||||
|
|
||||||
## NOT INSTALLED YET:
|
## NOT INSTALLED YET:
|
||||||
## $(INSTALL) -d $(INSTALL_DIR)/include/GLES
|
## $(INSTALL) -d $(INSTALL_DIR)/include/GLES
|
||||||
@ -34,7 +34,7 @@
|
|||||||
@@ -77,7 +77,7 @@
|
@@ -77,7 +77,7 @@
|
||||||
|
|
||||||
$(LIBNAME): $(OBJECTS) $(MESA_MODULES) $(WINOBJ) Makefile $(TOP)/src/mesa/drivers/dri/Makefile.template
|
$(LIBNAME): $(OBJECTS) $(MESA_MODULES) $(WINOBJ) Makefile $(TOP)/src/mesa/drivers/dri/Makefile.template
|
||||||
$(TOP)/bin/mklib -noprefix -o $@ \
|
$(TOP)/bin/mklib -ldflags '$(LDFLAGS)' -noprefix -o $@ \
|
||||||
- $(OBJECTS) $(MESA_MODULES) $(WINOBJ) $(DRI_LIB_DEPS)
|
- $(OBJECTS) $(MESA_MODULES) $(WINOBJ) $(DRI_LIB_DEPS)
|
||||||
+ $(OBJECTS) $(MESA_MODULES) $(WINOBJ) $(DRI_LIB_DEPS) -Wl,--undefined -Wl,--allow-shlib-undefined
|
+ $(OBJECTS) $(MESA_MODULES) $(WINOBJ) $(DRI_LIB_DEPS) -Wl,--undefined -Wl,--allow-shlib-undefined
|
||||||
|
|
||||||
|
92
static.diff
92
static.diff
@ -1,7 +1,6 @@
|
|||||||
Only in configs.orig/: linux-dri.orig
|
diff -u configs.orig/linux-ppc-static configs/linux-ppc-static
|
||||||
diff -u -r configs.orig/linux-ppc-static configs/linux-ppc-static
|
--- configs.orig/linux-ppc-static 2007-10-31 08:30:54.131367500 +0100
|
||||||
--- configs.orig/linux-ppc-static 2006-07-31 11:07:44.000000000 +0200
|
+++ configs/linux-ppc-static 2007-10-31 08:31:08.204247000 +0100
|
||||||
+++ configs/linux-ppc-static 2006-07-31 11:07:56.000000000 +0200
|
|
||||||
@@ -8,7 +8,3 @@
|
@@ -8,7 +8,3 @@
|
||||||
|
|
||||||
# Library names (actual file names)
|
# Library names (actual file names)
|
||||||
@ -10,48 +9,9 @@ diff -u -r configs.orig/linux-ppc-static configs/linux-ppc-static
|
|||||||
-GLUT_LIB_NAME = libglut.a
|
-GLUT_LIB_NAME = libglut.a
|
||||||
-GLW_LIB_NAME = libGLw.a
|
-GLW_LIB_NAME = libGLw.a
|
||||||
-OSMESA_LIB_NAME = libOSMesa.a
|
-OSMESA_LIB_NAME = libOSMesa.a
|
||||||
diff -u -r configs.orig/linux-x86-64-static configs/linux-x86-64-static
|
diff -u configs.orig/linux-static configs/linux-static
|
||||||
--- configs.orig/linux-x86-64-static 2006-07-31 11:07:44.000000000 +0200
|
--- configs.orig/linux-static 2007-10-31 08:30:54.275376500 +0100
|
||||||
+++ configs/linux-x86-64-static 2006-07-31 11:11:08.000000000 +0200
|
+++ configs/linux-static 2007-10-31 08:31:08.376257750 +0100
|
||||||
@@ -8,16 +8,6 @@
|
|
||||||
|
|
||||||
# Library names (actual file names)
|
|
||||||
GL_LIB_NAME = libGL.a
|
|
||||||
-GLU_LIB_NAME = libGLU.a
|
|
||||||
-GLUT_LIB_NAME = libglut.a
|
|
||||||
-GLW_LIB_NAME = libGLw.a
|
|
||||||
-OSMESA_LIB_NAME = libOSMesa.a
|
|
||||||
|
|
||||||
# Library/program dependencies (static libs don't have dependencies)
|
|
||||||
GL_LIB_DEPS =
|
|
||||||
-OSMESA_LIB_DEPS =
|
|
||||||
-GLU_LIB_DEPS =
|
|
||||||
-GLUT_LIB_DEPS =
|
|
||||||
-GLW_LIB_DEPS =
|
|
||||||
-APP_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GLUT_LIB) -l$(GLU_LIB) -l$(GL_LIB) \
|
|
||||||
- $(EXTRA_LIB_PATH) -lX11 -lXmu -lXt -lXi -lpthread -lstdc++ -lm
|
|
||||||
diff -u -r configs.orig/linux-x86-static configs/linux-x86-static
|
|
||||||
--- configs.orig/linux-x86-static 2006-07-31 11:07:44.000000000 +0200
|
|
||||||
+++ configs/linux-x86-static 2006-07-31 11:11:44.000000000 +0200
|
|
||||||
@@ -8,16 +8,6 @@
|
|
||||||
|
|
||||||
# Library names (actual file names)
|
|
||||||
GL_LIB_NAME = libGL.a
|
|
||||||
-GLU_LIB_NAME = libGLU.a
|
|
||||||
-GLUT_LIB_NAME = libglut.a
|
|
||||||
-GLW_LIB_NAME = libGLw.a
|
|
||||||
-OSMESA_LIB_NAME = libOSMesa.a
|
|
||||||
|
|
||||||
# Library/program dependencies (static libs don't have dependencies)
|
|
||||||
GL_LIB_DEPS =
|
|
||||||
-OSMESA_LIB_DEPS =
|
|
||||||
-GLU_LIB_DEPS =
|
|
||||||
-GLUT_LIB_DEPS =
|
|
||||||
-GLW_LIB_DEPS =
|
|
||||||
-APP_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GLUT_LIB) -l$(GLU_LIB) -l$(GL_LIB) \
|
|
||||||
- $(EXTRA_LIB_PATH) -lX11 -lXmu -lXt -lXi -lpthread -lstdc++ -lm
|
|
||||||
--- configs/linux-static.orig 2006-12-02 21:29:56.556452204 +0100
|
|
||||||
+++ configs/linux-static 2006-12-02 21:30:18.559452348 +0100
|
|
||||||
@@ -8,17 +8,9 @@
|
@@ -8,17 +8,9 @@
|
||||||
|
|
||||||
# Library names (actual file names)
|
# Library names (actual file names)
|
||||||
@ -69,4 +29,42 @@ diff -u -r configs.orig/linux-x86-static configs/linux-x86-static
|
|||||||
-GLW_LIB_DEPS =
|
-GLW_LIB_DEPS =
|
||||||
|
|
||||||
# Need to specify all libraries we may need
|
# Need to specify all libraries we may need
|
||||||
APP_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GLUT_LIB) -l$(GLU_LIB) -l$(GL_LIB) -lm \
|
APP_LIB_DEPS = $(EXTRA_LIB_PATH) -lX11 -lXmu -lXt -lXi -lpthread -lstdc++ -lm
|
||||||
|
diff -u configs.orig/linux-x86-64-static configs/linux-x86-64-static
|
||||||
|
--- configs.orig/linux-x86-64-static 2007-10-31 08:30:54.387383500 +0100
|
||||||
|
+++ configs/linux-x86-64-static 2007-10-31 08:32:57.027048000 +0100
|
||||||
|
@@ -8,15 +8,6 @@
|
||||||
|
|
||||||
|
# Library names (actual file names)
|
||||||
|
GL_LIB_NAME = libGL.a
|
||||||
|
-GLU_LIB_NAME = libGLU.a
|
||||||
|
-GLUT_LIB_NAME = libglut.a
|
||||||
|
-GLW_LIB_NAME = libGLw.a
|
||||||
|
-OSMESA_LIB_NAME = libOSMesa.a
|
||||||
|
|
||||||
|
# Library/program dependencies (static libs don't have dependencies)
|
||||||
|
GL_LIB_DEPS =
|
||||||
|
-OSMESA_LIB_DEPS =
|
||||||
|
-GLU_LIB_DEPS =
|
||||||
|
-GLUT_LIB_DEPS =
|
||||||
|
-GLW_LIB_DEPS =
|
||||||
|
-APP_LIB_DEPS = $(EXTRA_LIB_PATH) -lX11 -lXmu -lXt -lXi -lpthread -lstdc++ -lm
|
||||||
|
diff -u configs.orig/linux-x86-static configs/linux-x86-static
|
||||||
|
--- configs.orig/linux-x86-static 2007-10-31 08:30:54.463388250 +0100
|
||||||
|
+++ configs/linux-x86-static 2007-10-31 08:33:31.349193000 +0100
|
||||||
|
@@ -8,15 +8,6 @@
|
||||||
|
|
||||||
|
# Library names (actual file names)
|
||||||
|
GL_LIB_NAME = libGL.a
|
||||||
|
-GLU_LIB_NAME = libGLU.a
|
||||||
|
-GLUT_LIB_NAME = libglut.a
|
||||||
|
-GLW_LIB_NAME = libGLw.a
|
||||||
|
-OSMESA_LIB_NAME = libOSMesa.a
|
||||||
|
|
||||||
|
# Library/program dependencies (static libs don't have dependencies)
|
||||||
|
GL_LIB_DEPS =
|
||||||
|
-OSMESA_LIB_DEPS =
|
||||||
|
-GLU_LIB_DEPS =
|
||||||
|
-GLUT_LIB_DEPS =
|
||||||
|
-GLW_LIB_DEPS =
|
||||||
|
-APP_LIB_DEPS = $(EXTRA_LIB_PATH) -lX11 -lXmu -lXt -lXi -lpthread -lstdc++ -lm
|
||||||
|
Loading…
Reference in New Issue
Block a user