* Wed Jan 20 2010 Peter Hutterer <peter.hutterer@redhat.com> 1.7.99.3-1.20100120
- Update to today's git master. - Disable prelease warning patch - this is a prerelease - Remove upstreamed patches. - Remove shave files, shave was purged.
This commit is contained in:
parent
704bf42673
commit
73b55c8fd7
@ -1 +1 @@
|
|||||||
xorg-server-1.7.3.tar.bz2
|
xorg-server-20100120.tar.xz
|
||||||
|
2
commitid
2
commitid
@ -1 +1 @@
|
|||||||
84eb4c66a4a09c360cef260fb2f35dfb6d8a93c6
|
6f6a99abc12ddee82898fdabfb50c17e90e094b9
|
||||||
|
2
sources
2
sources
@ -1 +1 @@
|
|||||||
4c63b22cad9ed8ae8b86561f0f92c327 xorg-server-1.7.3.tar.bz2
|
c4ccc0dd1f6b4092d7029526291d0a4d xorg-server-20100120.tar.xz
|
||||||
|
@ -14,12 +14,12 @@
|
|||||||
# Fix rhpxl to no longer need vesamodes/extramodes
|
# Fix rhpxl to no longer need vesamodes/extramodes
|
||||||
|
|
||||||
%define pkgname xorg-server
|
%define pkgname xorg-server
|
||||||
#define gitdate 20090903
|
%define gitdate 20100120
|
||||||
|
|
||||||
Summary: X.Org X11 X server
|
Summary: X.Org X11 X server
|
||||||
Name: xorg-x11-server
|
Name: xorg-x11-server
|
||||||
Version: 1.7.3
|
Version: 1.7.99.3
|
||||||
Release: 7%{dist}
|
Release: 1.%{gitdate}%{dist}
|
||||||
URL: http://www.x.org
|
URL: http://www.x.org
|
||||||
License: MIT
|
License: MIT
|
||||||
Group: User Interface/X
|
Group: User Interface/X
|
||||||
@ -71,18 +71,11 @@ Patch6027: xserver-1.6.0-displayfd.patch
|
|||||||
Patch6028: xserver-1.6.99-randr-error-debugging.patch
|
Patch6028: xserver-1.6.99-randr-error-debugging.patch
|
||||||
Patch6030: xserver-1.6.99-right-of.patch
|
Patch6030: xserver-1.6.99-right-of.patch
|
||||||
Patch6033: xserver-1.6.99-default-modes.patch
|
Patch6033: xserver-1.6.99-default-modes.patch
|
||||||
Patch6044: xserver-1.6.99-hush-prerelease-warning.patch
|
#Patch6044: xserver-1.6.99-hush-prerelease-warning.patch
|
||||||
Patch6045: xserver-1.7.0-randr-gamma-restore.patch
|
Patch6045: xserver-1.7.0-randr-gamma-restore.patch
|
||||||
|
|
||||||
Patch6047: xserver-1.7.0-glx-versioning.patch
|
|
||||||
#Patch6048: xserver-1.7.0-exa-fix-mixed.patch
|
|
||||||
Patch6049: xserver-1.7.1-multilib.patch
|
Patch6049: xserver-1.7.1-multilib.patch
|
||||||
Patch6051: xserver-1.7.1-gamma-kdm-fix.patch
|
Patch6051: xserver-1.7.1-gamma-kdm-fix.patch
|
||||||
Patch6052: xserver-1.7.1-libcrypto.patch
|
|
||||||
Patch6066: xserver-1.7.1-glx14-swrast.patch
|
|
||||||
|
|
||||||
Patch6067: xserver-1.7.3-exa-master.patch
|
|
||||||
Patch6068: xserver-1.7.3-fb-backport.patch
|
|
||||||
|
|
||||||
%define moduledir %{_libdir}/xorg/modules
|
%define moduledir %{_libdir}/xorg/modules
|
||||||
%define drimoduledir %{_libdir}/dri
|
%define drimoduledir %{_libdir}/dri
|
||||||
@ -108,6 +101,7 @@ BuildRequires: automake autoconf libtool pkgconfig
|
|||||||
BuildRequires: xorg-x11-util-macros >= 1.1.5
|
BuildRequires: xorg-x11-util-macros >= 1.1.5
|
||||||
|
|
||||||
BuildRequires: xorg-x11-proto-devel >= 7.4-27
|
BuildRequires: xorg-x11-proto-devel >= 7.4-27
|
||||||
|
BuildRequires: xorg-x11-font-utils
|
||||||
|
|
||||||
BuildRequires: xorg-x11-xtrans-devel >= 1.2.2-1
|
BuildRequires: xorg-x11-xtrans-devel >= 1.2.2-1
|
||||||
BuildRequires: libXfont-devel libXau-devel libxkbfile-devel libXres-devel
|
BuildRequires: libXfont-devel libXau-devel libxkbfile-devel libXres-devel
|
||||||
@ -368,7 +362,6 @@ install -m 644 %{SOURCE10} $RPM_BUILD_ROOT%{_sysconfdir}/pam.d/xserver
|
|||||||
%define inst_srcdir %{buildroot}/%{xserver_source_dir}
|
%define inst_srcdir %{buildroot}/%{xserver_source_dir}
|
||||||
mkdir -p %{inst_srcdir}/{Xext,xkb,GL,hw/{xquartz/bundle,xfree86/common}}
|
mkdir -p %{inst_srcdir}/{Xext,xkb,GL,hw/{xquartz/bundle,xfree86/common}}
|
||||||
cp cpprules.in %{inst_srcdir}
|
cp cpprules.in %{inst_srcdir}
|
||||||
cp shave*in %{inst_srcdir}
|
|
||||||
cp {,%{inst_srcdir}/}hw/xquartz/bundle/cpprules.in
|
cp {,%{inst_srcdir}/}hw/xquartz/bundle/cpprules.in
|
||||||
cp xkb/README.compiled %{inst_srcdir}/xkb
|
cp xkb/README.compiled %{inst_srcdir}/xkb
|
||||||
cp hw/xfree86/xorgconf.cpp %{inst_srcdir}/hw/xfree86
|
cp hw/xfree86/xorgconf.cpp %{inst_srcdir}/hw/xfree86
|
||||||
@ -511,6 +504,12 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%{xserver_source_dir}
|
%{xserver_source_dir}
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Jan 20 2010 Peter Hutterer <peter.hutterer@redhat.com> 1.7.99.3-1.20100120
|
||||||
|
- Update to today's git master.
|
||||||
|
- Disable prelease warning patch - this is a prerelease
|
||||||
|
- Remove upstreamed patches.
|
||||||
|
- Remove shave files, shave was purged.
|
||||||
|
|
||||||
* Tue Jan 05 2010 Peter Hutterer <peter.hutterer@redhat.com> 1.7.3-7
|
* Tue Jan 05 2010 Peter Hutterer <peter.hutterer@redhat.com> 1.7.3-7
|
||||||
- Require xkeyboard-config, not xkbdata. xkbdata has been replaced by
|
- Require xkeyboard-config, not xkbdata. xkbdata has been replaced by
|
||||||
xkeyboard-config.
|
xkeyboard-config.
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
From b4e4b980663692a3af5787eeaf2d48eb6c0188ed Mon Sep 17 00:00:00 2001
|
From eff3bb9c6f0b71a57705885a3fe6e6469d252d2b Mon Sep 17 00:00:00 2001
|
||||||
From: Fedora X Ninjas <airlied@redhat.com>
|
From: Fedora X Ninjas <x@fedoraproject.org>
|
||||||
Date: Tue, 4 Aug 2009 14:45:58 +1000
|
Date: Wed, 20 Jan 2010 14:46:12 +1300
|
||||||
Subject: [PATCH] Add nr for background=none root
|
Subject: [PATCH] Add nr for background=none root
|
||||||
|
|
||||||
---
|
---
|
||||||
@ -25,7 +25,7 @@ index c24a94f..907a5e8 100644
|
|||||||
int cursorScreenDevPriv[MAXSCREENS];
|
int cursorScreenDevPriv[MAXSCREENS];
|
||||||
|
|
||||||
diff --git a/dix/window.c b/dix/window.c
|
diff --git a/dix/window.c b/dix/window.c
|
||||||
index 32e26d9..0bf1d52 100644
|
index caff1cb..be1d1c4 100644
|
||||||
--- a/dix/window.c
|
--- a/dix/window.c
|
||||||
+++ b/dix/window.c
|
+++ b/dix/window.c
|
||||||
@@ -466,22 +466,24 @@ InitRootWindow(WindowPtr pWin)
|
@@ -466,22 +466,24 @@ InitRootWindow(WindowPtr pWin)
|
||||||
@ -59,7 +59,7 @@ index 32e26d9..0bf1d52 100644
|
|||||||
MapWindow(pWin, serverClient);
|
MapWindow(pWin, serverClient);
|
||||||
}
|
}
|
||||||
diff --git a/hw/xfree86/common/xf86Init.c b/hw/xfree86/common/xf86Init.c
|
diff --git a/hw/xfree86/common/xf86Init.c b/hw/xfree86/common/xf86Init.c
|
||||||
index e84da4e..2a0f47a 100644
|
index 6707448..776b898 100644
|
||||||
--- a/hw/xfree86/common/xf86Init.c
|
--- a/hw/xfree86/common/xf86Init.c
|
||||||
+++ b/hw/xfree86/common/xf86Init.c
|
+++ b/hw/xfree86/common/xf86Init.c
|
||||||
@@ -77,6 +77,7 @@
|
@@ -77,6 +77,7 @@
|
||||||
@ -70,7 +70,7 @@ index e84da4e..2a0f47a 100644
|
|||||||
|
|
||||||
#include "xf86VGAarbiter.h"
|
#include "xf86VGAarbiter.h"
|
||||||
#include "globals.h"
|
#include "globals.h"
|
||||||
@@ -234,6 +235,7 @@ xf86CreateRootWindow(WindowPtr pWin)
|
@@ -254,6 +255,7 @@ xf86CreateRootWindow(WindowPtr pWin)
|
||||||
int ret = TRUE;
|
int ret = TRUE;
|
||||||
int err = Success;
|
int err = Success;
|
||||||
ScreenPtr pScreen = pWin->drawable.pScreen;
|
ScreenPtr pScreen = pWin->drawable.pScreen;
|
||||||
@ -78,7 +78,7 @@ index e84da4e..2a0f47a 100644
|
|||||||
RootWinPropPtr pProp;
|
RootWinPropPtr pProp;
|
||||||
CreateWindowProcPtr CreateWindow = (CreateWindowProcPtr)
|
CreateWindowProcPtr CreateWindow = (CreateWindowProcPtr)
|
||||||
dixLookupPrivate(&pScreen->devPrivates, xf86CreateRootWindowKey);
|
dixLookupPrivate(&pScreen->devPrivates, xf86CreateRootWindowKey);
|
||||||
@@ -285,6 +287,15 @@ xf86CreateRootWindow(WindowPtr pWin)
|
@@ -305,6 +307,15 @@ xf86CreateRootWindow(WindowPtr pWin)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -95,10 +95,10 @@ index e84da4e..2a0f47a 100644
|
|||||||
return (ret);
|
return (ret);
|
||||||
}
|
}
|
||||||
diff --git a/hw/xfree86/common/xf86str.h b/hw/xfree86/common/xf86str.h
|
diff --git a/hw/xfree86/common/xf86str.h b/hw/xfree86/common/xf86str.h
|
||||||
index 5c3ee44..e3c7841 100644
|
index de1f1b6..5c3aa00 100644
|
||||||
--- a/hw/xfree86/common/xf86str.h
|
--- a/hw/xfree86/common/xf86str.h
|
||||||
+++ b/hw/xfree86/common/xf86str.h
|
+++ b/hw/xfree86/common/xf86str.h
|
||||||
@@ -516,7 +516,7 @@ typedef struct _confdrirec {
|
@@ -503,7 +503,7 @@ typedef struct _confdrirec {
|
||||||
} confDRIRec, *confDRIPtr;
|
} confDRIRec, *confDRIPtr;
|
||||||
|
|
||||||
/* These values should be adjusted when new fields are added to ScrnInfoRec */
|
/* These values should be adjusted when new fields are added to ScrnInfoRec */
|
||||||
@ -107,8 +107,8 @@ index 5c3ee44..e3c7841 100644
|
|||||||
#define NUM_RESERVED_POINTERS 14
|
#define NUM_RESERVED_POINTERS 14
|
||||||
#define NUM_RESERVED_FUNCS 11
|
#define NUM_RESERVED_FUNCS 11
|
||||||
|
|
||||||
@@ -800,6 +800,9 @@ typedef struct _ScrnInfoRec {
|
@@ -775,6 +775,9 @@ typedef struct _ScrnInfoRec {
|
||||||
ClockRangesPtr clockRanges;
|
ClockRangePtr clockRanges;
|
||||||
int adjustFlags;
|
int adjustFlags;
|
||||||
|
|
||||||
+ /* -nr support */
|
+ /* -nr support */
|
||||||
@ -130,10 +130,10 @@ index b3c7c70..fcc8c95 100644
|
|||||||
extern _X_EXPORT Bool CoreDump;
|
extern _X_EXPORT Bool CoreDump;
|
||||||
|
|
||||||
diff --git a/os/utils.c b/os/utils.c
|
diff --git a/os/utils.c b/os/utils.c
|
||||||
index 00abd63..7bfdf8b 100644
|
index d7c8388..40583d0 100644
|
||||||
--- a/os/utils.c
|
--- a/os/utils.c
|
||||||
+++ b/os/utils.c
|
+++ b/os/utils.c
|
||||||
@@ -514,6 +514,7 @@ void UseMsg(void)
|
@@ -513,6 +513,7 @@ void UseMsg(void)
|
||||||
#endif
|
#endif
|
||||||
ErrorF("-nolisten string don't listen on protocol\n");
|
ErrorF("-nolisten string don't listen on protocol\n");
|
||||||
ErrorF("-noreset don't reset after last client exists\n");
|
ErrorF("-noreset don't reset after last client exists\n");
|
||||||
@ -141,7 +141,7 @@ index 00abd63..7bfdf8b 100644
|
|||||||
ErrorF("-reset reset after last client exists\n");
|
ErrorF("-reset reset after last client exists\n");
|
||||||
ErrorF("-p # screen-saver pattern duration (minutes)\n");
|
ErrorF("-p # screen-saver pattern duration (minutes)\n");
|
||||||
ErrorF("-pn accept failure to listen on all ports\n");
|
ErrorF("-pn accept failure to listen on all ports\n");
|
||||||
@@ -861,6 +862,8 @@ ProcessCommandLine(int argc, char *argv[])
|
@@ -856,6 +857,8 @@ ProcessCommandLine(int argc, char *argv[])
|
||||||
defaultBackingStore = WhenMapped;
|
defaultBackingStore = WhenMapped;
|
||||||
else if ( strcmp( argv[i], "-wr") == 0)
|
else if ( strcmp( argv[i], "-wr") == 0)
|
||||||
whiteRoot = TRUE;
|
whiteRoot = TRUE;
|
||||||
@ -151,5 +151,5 @@ index 00abd63..7bfdf8b 100644
|
|||||||
if(++i < argc) {
|
if(++i < argc) {
|
||||||
long reqSizeArg = atol(argv[i]);
|
long reqSizeArg = atol(argv[i]);
|
||||||
--
|
--
|
||||||
1.6.0.6
|
1.6.6
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
From 50552b0ee81b23b997bebd798b19b4a7e234a55f Mon Sep 17 00:00:00 2001
|
From 8cdd51d13aa003c888cd2a3a42664e2dc60c354c Mon Sep 17 00:00:00 2001
|
||||||
From: Adam Jackson <ajax@redhat.com>
|
From: Adam Jackson <ajax@redhat.com>
|
||||||
Date: Fri, 21 Aug 2009 13:51:45 -0400
|
Date: Wed, 20 Jan 2010 14:55:12 +1300
|
||||||
Subject: [PATCH] tweak default mode list yet again
|
Subject: [PATCH] tweak default mode list yet again
|
||||||
|
|
||||||
---
|
---
|
||||||
@ -8,19 +8,19 @@ Subject: [PATCH] tweak default mode list yet again
|
|||||||
1 files changed, 4 insertions(+), 1 deletions(-)
|
1 files changed, 4 insertions(+), 1 deletions(-)
|
||||||
|
|
||||||
diff --git a/hw/xfree86/modes/xf86Crtc.c b/hw/xfree86/modes/xf86Crtc.c
|
diff --git a/hw/xfree86/modes/xf86Crtc.c b/hw/xfree86/modes/xf86Crtc.c
|
||||||
index 4f14a75..c6fd910 100644
|
index 23f4a87..0ce631a 100644
|
||||||
--- a/hw/xfree86/modes/xf86Crtc.c
|
--- a/hw/xfree86/modes/xf86Crtc.c
|
||||||
+++ b/hw/xfree86/modes/xf86Crtc.c
|
+++ b/hw/xfree86/modes/xf86Crtc.c
|
||||||
@@ -1567,7 +1567,7 @@ xf86ProbeOutputModes (ScrnInfoPtr scrn, int maxX, int maxY)
|
@@ -1578,7 +1578,7 @@ xf86ProbeOutputModes (ScrnInfoPtr scrn, int maxX, int maxY)
|
||||||
int min_clock = 0;
|
int min_clock = 0;
|
||||||
int max_clock = 0;
|
int max_clock = 0;
|
||||||
double clock;
|
double clock;
|
||||||
- Bool add_default_modes = TRUE;
|
- Bool add_default_modes = TRUE;
|
||||||
+ Bool add_default_modes;
|
+ Bool add_default_modes;
|
||||||
|
Bool debug_modes = config->debug_modes ||
|
||||||
|
xf86Initialising;
|
||||||
enum { sync_config, sync_edid, sync_default } sync_source = sync_default;
|
enum { sync_config, sync_edid, sync_default } sync_source = sync_default;
|
||||||
|
@@ -1623,6 +1623,9 @@ xf86ProbeOutputModes (ScrnInfoPtr scrn, int maxX, int maxY)
|
||||||
while (output->probed_modes != NULL)
|
|
||||||
@@ -1610,6 +1610,9 @@ xf86ProbeOutputModes (ScrnInfoPtr scrn, int maxX, int maxY)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
output_modes = (*output->funcs->get_modes) (output);
|
output_modes = (*output->funcs->get_modes) (output);
|
||||||
@ -31,5 +31,5 @@ index 4f14a75..c6fd910 100644
|
|||||||
edid_monitor = output->MonInfo;
|
edid_monitor = output->MonInfo;
|
||||||
|
|
||||||
--
|
--
|
||||||
1.6.4
|
1.6.6
|
||||||
|
|
||||||
|
@ -1,233 +0,0 @@
|
|||||||
From 3ef4be8129f78afd5566a9e5d0fb901449dcb771 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Ian Romanick <ian.d.romanick@intel.com>
|
|
||||||
Date: Tue, 29 Sep 2009 16:43:43 -0700
|
|
||||||
Subject: [PATCH] GLX: Enable GLX 1.4 on DRI2
|
|
||||||
|
|
||||||
this squashes 4 commits
|
|
||||||
(cherry picked from commit ad5c0d9efa47476ed5cf75c82265c73919e468b4)
|
|
||||||
(cherry picked from commit cb54cf1b3e8c4109541cfb698542c00f2473e731)
|
|
||||||
(cherry picked from commit 4c6bfa2c09ae2b0cffdf9211a6dfbcaefe0366b5)
|
|
||||||
(cherry picked from commit 9bf2ff4faf730913de3073f346646a8727be41d4)
|
|
||||||
---
|
|
||||||
glx/glxcmds.c | 12 ++++++++----
|
|
||||||
glx/glxdri2.c | 12 ++++++++++++
|
|
||||||
glx/glxext.c | 8 +++++++-
|
|
||||||
glx/glxscreens.c | 15 ++++++++++++---
|
|
||||||
glx/glxscreens.h | 11 +++++++++++
|
|
||||||
glx/glxserver.h | 3 +++
|
|
||||||
glx/indirect_texture_compression.c | 4 ++--
|
|
||||||
include/protocol-versions.h | 2 +-
|
|
||||||
8 files changed, 56 insertions(+), 11 deletions(-)
|
|
||||||
|
|
||||||
diff --git a/glx/glxcmds.c b/glx/glxcmds.c
|
|
||||||
index b1061a8..ba4c123 100644
|
|
||||||
--- a/glx/glxcmds.c
|
|
||||||
+++ b/glx/glxcmds.c
|
|
||||||
@@ -50,7 +50,6 @@
|
|
||||||
#include "indirect_dispatch.h"
|
|
||||||
#include "indirect_table.h"
|
|
||||||
#include "indirect_util.h"
|
|
||||||
-#include "protocol-versions.h"
|
|
||||||
|
|
||||||
static int
|
|
||||||
validGlxScreen(ClientPtr client, int screen, __GLXscreen **pGlxScreen, int *err)
|
|
||||||
@@ -739,8 +738,8 @@ int __glXDisp_QueryVersion(__GLXclientState *cl, GLbyte *pc)
|
|
||||||
** client if it wants to work with older clients; however, in this
|
|
||||||
** implementation the server just returns its version number.
|
|
||||||
*/
|
|
||||||
- reply.majorVersion = SERVER_GLX_MAJOR_VERSION;
|
|
||||||
- reply.minorVersion = SERVER_GLX_MINOR_VERSION;
|
|
||||||
+ reply.majorVersion = glxMajorVersion;
|
|
||||||
+ reply.minorVersion = glxMinorVersion;
|
|
||||||
reply.length = 0;
|
|
||||||
reply.type = X_Reply;
|
|
||||||
reply.sequenceNumber = client->sequence;
|
|
||||||
@@ -2360,6 +2359,7 @@ int __glXDisp_QueryServerString(__GLXclientState *cl, GLbyte *pc)
|
|
||||||
char *buf;
|
|
||||||
__GLXscreen *pGlxScreen;
|
|
||||||
int err;
|
|
||||||
+ char ver_str[16];
|
|
||||||
|
|
||||||
if (!validGlxScreen(client, req->screen, &pGlxScreen, &err))
|
|
||||||
return err;
|
|
||||||
@@ -2369,7 +2369,11 @@ int __glXDisp_QueryServerString(__GLXclientState *cl, GLbyte *pc)
|
|
||||||
ptr = pGlxScreen->GLXvendor;
|
|
||||||
break;
|
|
||||||
case GLX_VERSION:
|
|
||||||
- ptr = pGlxScreen->GLXversion;
|
|
||||||
+ /* Return to the server version rather than the screen version
|
|
||||||
+ * to prevent confusion when they do not match.
|
|
||||||
+ */
|
|
||||||
+ snprintf(ver_str, 16, "%d.%d", glxMajorVersion, glxMinorVersion);
|
|
||||||
+ ptr = ver_str;
|
|
||||||
break;
|
|
||||||
case GLX_EXTENSIONS:
|
|
||||||
ptr = pGlxScreen->GLXextensions;
|
|
||||||
diff --git a/glx/glxdri2.c b/glx/glxdri2.c
|
|
||||||
index ed7fb4c..ed7dc80 100644
|
|
||||||
--- a/glx/glxdri2.c
|
|
||||||
+++ b/glx/glxdri2.c
|
|
||||||
@@ -685,6 +685,18 @@ __glXDRIscreenProbe(ScreenPtr pScreen)
|
|
||||||
screen->base.GLXextensions);
|
|
||||||
}
|
|
||||||
|
|
||||||
+ /* We're going to assume (perhaps incorrectly?) that all DRI2-enabled
|
|
||||||
+ * drivers support the required extensions for GLX 1.4. The extensions
|
|
||||||
+ * we're assuming are:
|
|
||||||
+ *
|
|
||||||
+ * - GLX_SGI_make_current_read (1.3)
|
|
||||||
+ * - GLX_SGIX_fbconfig (1.3)
|
|
||||||
+ * - GLX_SGIX_pbuffer (1.3)
|
|
||||||
+ * - GLX_ARB_multisample (1.4)
|
|
||||||
+ */
|
|
||||||
+ screen->base.GLXmajor = 1;
|
|
||||||
+ screen->base.GLXminor = 4;
|
|
||||||
+
|
|
||||||
screen->enterVT = pScrn->EnterVT;
|
|
||||||
pScrn->EnterVT = glxDRIEnterVT;
|
|
||||||
screen->leaveVT = pScrn->LeaveVT;
|
|
||||||
diff --git a/glx/glxext.c b/glx/glxext.c
|
|
||||||
index 19d70d4..9f9c0ed 100644
|
|
||||||
--- a/glx/glxext.c
|
|
||||||
+++ b/glx/glxext.c
|
|
||||||
@@ -360,12 +360,18 @@ void GlxExtensionInit(void)
|
|
||||||
pScreen = screenInfo.screens[i];
|
|
||||||
|
|
||||||
for (p = __glXProviderStack; p != NULL; p = p->next) {
|
|
||||||
- if (p->screenProbe(pScreen) != NULL) {
|
|
||||||
+ __GLXscreen *glxScreen;
|
|
||||||
+
|
|
||||||
+ glxScreen = p->screenProbe(pScreen);
|
|
||||||
+ if (glxScreen != NULL) {
|
|
||||||
+ if (glxScreen->GLXminor < glxMinorVersion)
|
|
||||||
+ glxMinorVersion = glxScreen->GLXminor;
|
|
||||||
LogMessage(X_INFO,
|
|
||||||
"GLX: Initialized %s GL provider for screen %d\n",
|
|
||||||
p->name, i);
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
+
|
|
||||||
}
|
|
||||||
|
|
||||||
if (!p)
|
|
||||||
diff --git a/glx/glxscreens.c b/glx/glxscreens.c
|
|
||||||
index 7d29d31..674e2c6 100644
|
|
||||||
--- a/glx/glxscreens.c
|
|
||||||
+++ b/glx/glxscreens.c
|
|
||||||
@@ -42,6 +42,7 @@
|
|
||||||
#include "glxserver.h"
|
|
||||||
#include "glxutil.h"
|
|
||||||
#include "glxext.h"
|
|
||||||
+#include "protocol-versions.h"
|
|
||||||
|
|
||||||
static int glxScreenPrivateKeyIndex;
|
|
||||||
static DevPrivateKey glxScreenPrivateKey = &glxScreenPrivateKeyIndex;
|
|
||||||
@@ -162,7 +163,8 @@ static const char GLServerExtensions[] =
|
|
||||||
** supported across all screens in a multi-screen system.
|
|
||||||
*/
|
|
||||||
static char GLXServerVendorName[] = "SGI";
|
|
||||||
-static char GLXServerVersion[] = "1.2";
|
|
||||||
+unsigned glxMajorVersion = SERVER_GLX_MAJOR_VERSION;
|
|
||||||
+unsigned glxMinorVersion = SERVER_GLX_MINOR_VERSION;
|
|
||||||
static char GLXServerExtensions[] =
|
|
||||||
"GLX_ARB_multisample "
|
|
||||||
"GLX_EXT_visual_info "
|
|
||||||
@@ -378,9 +380,17 @@ void __glXScreenInit(__GLXscreen *pGlxScreen, ScreenPtr pScreen)
|
|
||||||
pGlxScreen->pScreen = pScreen;
|
|
||||||
pGlxScreen->GLextensions = xstrdup(GLServerExtensions);
|
|
||||||
pGlxScreen->GLXvendor = xstrdup(GLXServerVendorName);
|
|
||||||
- pGlxScreen->GLXversion = xstrdup(GLXServerVersion);
|
|
||||||
pGlxScreen->GLXextensions = xstrdup(GLXServerExtensions);
|
|
||||||
|
|
||||||
+ /* All GLX providers must support all of the functionality required for at
|
|
||||||
+ * least GLX 1.2. If the provider supports a higher version, the GLXminor
|
|
||||||
+ * version can be changed in the provider's screen-probe routine. For
|
|
||||||
+ * most providers, the screen-probe routine is the caller of this
|
|
||||||
+ * function.
|
|
||||||
+ */
|
|
||||||
+ pGlxScreen->GLXmajor = 1;
|
|
||||||
+ pGlxScreen->GLXminor = 2;
|
|
||||||
+
|
|
||||||
pGlxScreen->CloseScreen = pScreen->CloseScreen;
|
|
||||||
pScreen->CloseScreen = glxCloseScreen;
|
|
||||||
pGlxScreen->DestroyWindow = pScreen->DestroyWindow;
|
|
||||||
@@ -454,7 +464,6 @@ void __glXScreenInit(__GLXscreen *pGlxScreen, ScreenPtr pScreen)
|
|
||||||
void __glXScreenDestroy(__GLXscreen *screen)
|
|
||||||
{
|
|
||||||
xfree(screen->GLXvendor);
|
|
||||||
- xfree(screen->GLXversion);
|
|
||||||
xfree(screen->GLXextensions);
|
|
||||||
xfree(screen->GLextensions);
|
|
||||||
}
|
|
||||||
diff --git a/glx/glxscreens.h b/glx/glxscreens.h
|
|
||||||
index 3c1bdd4..bff4363 100644
|
|
||||||
--- a/glx/glxscreens.h
|
|
||||||
+++ b/glx/glxscreens.h
|
|
||||||
@@ -161,6 +161,17 @@ struct __GLXscreen {
|
|
||||||
char *GLXversion;
|
|
||||||
char *GLXextensions;
|
|
||||||
|
|
||||||
+ /**
|
|
||||||
+ * \name GLX version supported by this screen.
|
|
||||||
+ *
|
|
||||||
+ * Since the GLX version advertised by the server is for the whole server,
|
|
||||||
+ * the GLX protocol code uses the minimum version supported on all screens.
|
|
||||||
+ */
|
|
||||||
+ /*@{*/
|
|
||||||
+ unsigned GLXmajor;
|
|
||||||
+ unsigned GLXminor;
|
|
||||||
+ /*@}*/
|
|
||||||
+
|
|
||||||
Bool (*CloseScreen)(int index, ScreenPtr pScreen);
|
|
||||||
Bool (*DestroyWindow)(WindowPtr pWindow);
|
|
||||||
};
|
|
||||||
diff --git a/glx/glxserver.h b/glx/glxserver.h
|
|
||||||
index 4aa8c2e..80f1b28 100644
|
|
||||||
--- a/glx/glxserver.h
|
|
||||||
+++ b/glx/glxserver.h
|
|
||||||
@@ -248,4 +248,7 @@ extern int __glXImageSize(GLenum format, GLenum type,
|
|
||||||
GLint imageHeight, GLint rowLength, GLint skipImages, GLint skipRows,
|
|
||||||
GLint alignment);
|
|
||||||
|
|
||||||
+extern unsigned glxMajorVersion;
|
|
||||||
+extern unsigned glxMinorVersion;
|
|
||||||
+
|
|
||||||
#endif /* !__GLX_server_h__ */
|
|
||||||
diff --git a/glx/indirect_texture_compression.c b/glx/indirect_texture_compression.c
|
|
||||||
index 25c6eb3..5f44d7b 100644
|
|
||||||
--- a/glx/indirect_texture_compression.c
|
|
||||||
+++ b/glx/indirect_texture_compression.c
|
|
||||||
@@ -52,7 +52,7 @@ int __glXDisp_GetCompressedTexImageARB(struct __GLXclientStateRec *cl, GLbyte *p
|
|
||||||
const GLenum target = *(GLenum *)(pc + 0);
|
|
||||||
const GLint level = *(GLint *)(pc + 4);
|
|
||||||
GLint compsize = 0;
|
|
||||||
- char *answer, answerBuffer[200];
|
|
||||||
+ char *answer = NULL, answerBuffer[200];
|
|
||||||
|
|
||||||
CALL_GetTexLevelParameteriv(GET_DISPATCH(), (target, level, GL_TEXTURE_COMPRESSED_IMAGE_SIZE, &compsize));
|
|
||||||
|
|
||||||
@@ -92,7 +92,7 @@ int __glXDispSwap_GetCompressedTexImageARB(struct __GLXclientStateRec *cl, GLbyt
|
|
||||||
const GLenum target = (GLenum) bswap_32( *(int *)(pc + 0) );
|
|
||||||
const GLint level = (GLint ) bswap_32( *(int *)(pc + 4) );
|
|
||||||
GLint compsize = 0;
|
|
||||||
- char *answer, answerBuffer[200];
|
|
||||||
+ char *answer = NULL, answerBuffer[200];
|
|
||||||
|
|
||||||
CALL_GetTexLevelParameteriv(GET_DISPATCH(), (target, level, GL_TEXTURE_COMPRESSED_IMAGE_SIZE, &compsize));
|
|
||||||
|
|
||||||
diff --git a/include/protocol-versions.h b/include/protocol-versions.h
|
|
||||||
index da9770c..d688c66 100644
|
|
||||||
--- a/include/protocol-versions.h
|
|
||||||
+++ b/include/protocol-versions.h
|
|
||||||
@@ -61,7 +61,7 @@
|
|
||||||
|
|
||||||
/* GLX */
|
|
||||||
#define SERVER_GLX_MAJOR_VERSION 1
|
|
||||||
-#define SERVER_GLX_MINOR_VERSION 2
|
|
||||||
+#define SERVER_GLX_MINOR_VERSION 4
|
|
||||||
|
|
||||||
/* Xinerama */
|
|
||||||
#define SERVER_PANORAMIX_MAJOR_VERSION 1
|
|
||||||
--
|
|
||||||
1.6.5.rc2
|
|
||||||
|
|
@ -8,35 +8,6 @@ Subject: [PATCH] randr gamma reload hack
|
|||||||
hw/xfree86/modes/xf86RandR12.c | 6 ++++++
|
hw/xfree86/modes/xf86RandR12.c | 6 ++++++
|
||||||
2 files changed, 10 insertions(+), 0 deletions(-)
|
2 files changed, 10 insertions(+), 0 deletions(-)
|
||||||
|
|
||||||
diff --git a/hw/xfree86/loader/sdksyms.c b/hw/xfree86/loader/sdksyms.c
|
|
||||||
index 12af6b7..656d07b 100644
|
|
||||||
--- a/hw/xfree86/loader/sdksyms.c
|
|
||||||
+++ b/hw/xfree86/loader/sdksyms.c
|
|
||||||
@@ -1056,6 +1056,8 @@ _X_HIDDEN void *xorg_symbols[] = {
|
|
||||||
(void *) &noXFree86VidModeExtension,
|
|
||||||
(void *) &noXFixesExtension,
|
|
||||||
(void *) &noPanoramiXExtension,
|
|
||||||
+ (void *) &noSELinuxExtension,
|
|
||||||
+ (void *) &selinuxEnforcingState,
|
|
||||||
(void *) &noXvExtension,
|
|
||||||
(void *) &noDRI2Extension,
|
|
||||||
(void *) &defaultTextFont,
|
|
||||||
@@ -1069,6 +1071,7 @@ _X_HIDDEN void *xorg_symbols[] = {
|
|
||||||
(void *) &defaultScreenSaverBlanking,
|
|
||||||
(void *) &defaultScreenSaverAllowExposures,
|
|
||||||
(void *) &display,
|
|
||||||
+ (void *) &displayfd,
|
|
||||||
(void *) &defaultBackingStore,
|
|
||||||
(void *) &disableBackingStore,
|
|
||||||
(void *) &enableBackingStore,
|
|
||||||
@@ -1078,6 +1081,7 @@ _X_HIDDEN void *xorg_symbols[] = {
|
|
||||||
(void *) &maxBigRequestSize,
|
|
||||||
(void *) &party_like_its_1989,
|
|
||||||
(void *) &whiteRoot,
|
|
||||||
+ (void *) &bgNoneRoot,
|
|
||||||
(void *) &CoreDump,
|
|
||||||
(void *) &DontPropagateMasks,
|
|
||||||
(void *) &screenIsSaved,
|
|
||||||
diff --git a/hw/xfree86/modes/xf86RandR12.c b/hw/xfree86/modes/xf86RandR12.c
|
diff --git a/hw/xfree86/modes/xf86RandR12.c b/hw/xfree86/modes/xf86RandR12.c
|
||||||
index 6ea9d26..41bac11 100644
|
index 6ea9d26..41bac11 100644
|
||||||
--- a/hw/xfree86/modes/xf86RandR12.c
|
--- a/hw/xfree86/modes/xf86RandR12.c
|
||||||
|
@ -1,26 +0,0 @@
|
|||||||
From 25a0107768c9f25e8edc5e423ca8b1d0813f2d04 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Adam Jackson <ajax@redhat.com>
|
|
||||||
Date: Tue, 24 Nov 2009 13:38:46 -0500
|
|
||||||
Subject: [PATCH] Enable GLX 1.4 for swrast
|
|
||||||
|
|
||||||
---
|
|
||||||
glx/glxdriswrast.c | 3 +++
|
|
||||||
1 files changed, 3 insertions(+), 0 deletions(-)
|
|
||||||
|
|
||||||
diff --git a/glx/glxdriswrast.c b/glx/glxdriswrast.c
|
|
||||||
index 44f658f..20f9f90 100644
|
|
||||||
--- a/glx/glxdriswrast.c
|
|
||||||
+++ b/glx/glxdriswrast.c
|
|
||||||
@@ -510,6 +510,9 @@ __glXDRIscreenProbe(ScreenPtr pScreen)
|
|
||||||
|
|
||||||
__glXScreenInit(&screen->base, pScreen);
|
|
||||||
|
|
||||||
+ screen->base.GLXmajor = 1;
|
|
||||||
+ screen->base.GLXminor = 4;
|
|
||||||
+
|
|
||||||
LogMessage(X_INFO,
|
|
||||||
"AIGLX: Loaded and initialized %s\n", filename);
|
|
||||||
|
|
||||||
--
|
|
||||||
1.6.5.2
|
|
||||||
|
|
@ -1,35 +0,0 @@
|
|||||||
From 8875112f5c57ec5d575e717c5638fbc919145efb Mon Sep 17 00:00:00 2001
|
|
||||||
From: Adam Jackson <ajax@redhat.com>
|
|
||||||
Date: Mon, 16 Nov 2009 18:01:26 -0500
|
|
||||||
Subject: [PATCH] configure: Only link against libcrypto
|
|
||||||
|
|
||||||
openssl.pc will link you against libssl, which we don't need, and which
|
|
||||||
brings in another seven libraries we also don't need. This is still
|
|
||||||
bogus, we're really only trying to get a SHA1 routine, we could link it
|
|
||||||
statically and be even better off.
|
|
||||||
---
|
|
||||||
configure.ac | 6 ------
|
|
||||||
1 files changed, 0 insertions(+), 6 deletions(-)
|
|
||||||
|
|
||||||
diff --git a/configure.ac b/configure.ac
|
|
||||||
index f69f97e..254d33d 100644
|
|
||||||
--- a/configure.ac
|
|
||||||
+++ b/configure.ac
|
|
||||||
@@ -1297,14 +1297,8 @@ if test "x$SHA1_LIB" = "x" ; then
|
|
||||||
fi
|
|
||||||
|
|
||||||
if test "x$SHA1_LIB" = "x" ; then
|
|
||||||
- PKG_CHECK_EXISTS([OPENSSL], [openssl], [HAVE_OPENSSL_PKC=yes],
|
|
||||||
- [HAVE_OPENSSL_PKC=no])
|
|
||||||
- if test "x$HAVE_OPENSSL_PKC" = xyes; then
|
|
||||||
- REQUIRED_LIBS="$REQUIRED_LIBS openssl"
|
|
||||||
- else
|
|
||||||
AC_CHECK_LIB([crypto], [SHA1_Init], [SHA1_LIB="-lcrypto"],
|
|
||||||
[AC_MSG_ERROR([OpenSSL must be installed in order to build the X server.])])
|
|
||||||
- fi
|
|
||||||
fi
|
|
||||||
|
|
||||||
PKG_CHECK_MODULES([XSERVERCFLAGS], [$REQUIRED_MODULES $REQUIRED_LIBS])
|
|
||||||
--
|
|
||||||
1.6.5.2
|
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user