forked from pool/xorg-x11-server
Accepting request 208931 from home:tobijk:X11:XOrg
Update to version 1.15RC3 #2 OBS-URL: https://build.opensuse.org/request/show/208931 OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/xorg-x11-server?expand=0&rev=474
This commit is contained in:
parent
5bf0ba1259
commit
b9986d7fcb
@ -3,7 +3,7 @@ Index: xorg-server-1.12.1/hw/xfree86/common/xf86DPMS.c
|
||||
--- xorg-server-1.12.1.orig/hw/xfree86/common/xf86DPMS.c
|
||||
+++ xorg-server-1.12.1/hw/xfree86/common/xf86DPMS.c
|
||||
@@ -151,7 +151,8 @@ DPMSSet(ClientPtr client, int level)
|
||||
rc = dixSaveScreens(client, SCREEN_SAVER_FORCER, ScreenSaverActive);
|
||||
rc = dixSaveScreens(client, SCREEN_SAVER_FORCER, ScreenSaverReset);
|
||||
if (rc != Success)
|
||||
return rc;
|
||||
- }
|
||||
|
@ -1,21 +0,0 @@
|
||||
Index: xorg-server-1.6.3.901/hw/xfree86/modes/xf86Crtc.c
|
||||
================================================================================
|
||||
--- xorg-server-1.7.99/hw/xfree86/modes/xf86Crtc.c
|
||||
+++ xorg-server-1.7.99/hw/xfree86/modes/xf86Crtc.c
|
||||
@@ -2916,8 +2916,14 @@
|
||||
p->output->MonInfo->features.vsize);
|
||||
if (det_mon->type == DT &&
|
||||
det_mon->section.d_timings.h_size != 0 &&
|
||||
- det_mon->section.d_timings.v_size != 0) {
|
||||
-
|
||||
+ det_mon->section.d_timings.v_size != 0 &&
|
||||
+ det_mon->section.d_timings.v_size != 0 &&
|
||||
+ /* some sanity checking for aspect ration */
|
||||
+ ((det_mon->section.d_timings.h_size /
|
||||
+ det_mon->section.d_timings.v_size) < 2) &&
|
||||
+ ((det_mon->section.d_timings.v_size /
|
||||
+ det_mon->section.d_timings.h_size) < 2)
|
||||
+ ) {
|
||||
p->output->mm_width = det_mon->section.d_timings.h_size;
|
||||
p->output->mm_height = det_mon->section.d_timings.v_size;
|
||||
p->ret = TRUE;
|
@ -1,31 +0,0 @@
|
||||
Index: xorg-server-1.12.1/hw/xnest/GCOps.c
|
||||
===================================================================
|
||||
--- xorg-server-1.12.1.orig/hw/xnest/GCOps.c
|
||||
+++ xorg-server-1.12.1/hw/xnest/GCOps.c
|
||||
@@ -94,15 +94,26 @@ xnestPutImage(DrawablePtr pDrawable, GCP
|
||||
}
|
||||
}
|
||||
|
||||
+static int
|
||||
+xnestIgnoreErrorHandler (Display *display,
|
||||
+ XErrorEvent *event)
|
||||
+{
|
||||
+ return False; /* return value is ignored */
|
||||
+}
|
||||
+
|
||||
void
|
||||
xnestGetImage(DrawablePtr pDrawable, int x, int y, int w, int h,
|
||||
unsigned int format, unsigned long planeMask, char *pImage)
|
||||
{
|
||||
XImage *ximage;
|
||||
int length;
|
||||
+ int (*old_handler)(Display*, XErrorEvent*);
|
||||
|
||||
+ /* we may get BadMatch error when xnest window is minimized */
|
||||
+ old_handler = XSetErrorHandler (xnestIgnoreErrorHandler);
|
||||
ximage = XGetImage(xnestDisplay, xnestDrawable(pDrawable),
|
||||
x, y, w, h, planeMask, format);
|
||||
+ XSetErrorHandler (old_handler);
|
||||
|
||||
if (ximage) {
|
||||
length = ximage->bytes_per_line * ximage->height;
|
@ -1,99 +0,0 @@
|
||||
From f9c8248b8326ad01f33f31531c6b2479baf80f02 Mon Sep 17 00:00:00 2001
|
||||
From: Dave Airlie <airlied@redhat.com>
|
||||
Date: Wed, 9 Jan 2013 14:23:57 +1000
|
||||
Subject: [PATCH] randr: don't directly set changed bits in randr screen
|
||||
|
||||
Introduce a wrapper interface so we can fix things up for multi-gpu
|
||||
situations later.
|
||||
|
||||
This just introduces the API for now.
|
||||
|
||||
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
|
||||
Signed-off-by: Dave Airlie <airlied@redhat.com>
|
||||
|
||||
diff --git a/randr/randr.c b/randr/randr.c
|
||||
index f0decfc..11f88b2 100644
|
||||
--- a/randr/randr.c
|
||||
+++ b/randr/randr.c
|
||||
@@ -464,6 +464,14 @@ TellChanged(WindowPtr pWin, pointer value)
|
||||
return WT_WALKCHILDREN;
|
||||
}
|
||||
|
||||
+void
|
||||
+RRSetChanged(ScreenPtr pScreen)
|
||||
+{
|
||||
+ rrScrPriv(pScreen);
|
||||
+
|
||||
+ pScrPriv->changed = TRUE;
|
||||
+}
|
||||
+
|
||||
/*
|
||||
* Something changed; send events and adjust pointer position
|
||||
*/
|
||||
diff --git a/randr/randrstr.h b/randr/randrstr.h
|
||||
index 2517479..2babfed 100644
|
||||
--- a/randr/randrstr.h
|
||||
+++ b/randr/randrstr.h
|
||||
@@ -486,6 +486,10 @@ extern _X_EXPORT void
|
||||
RRDeliverScreenEvent(ClientPtr client, WindowPtr pWin, ScreenPtr pScreen);
|
||||
|
||||
/* randr.c */
|
||||
+/* set a screen change on the primary screen */
|
||||
+extern _X_EXPORT void
|
||||
+RRSetChanged(ScreenPtr pScreen);
|
||||
+
|
||||
/*
|
||||
* Send all pending events
|
||||
*/
|
||||
diff --git a/randr/rrcrtc.c b/randr/rrcrtc.c
|
||||
index 721b05a..2f76b62 100644
|
||||
--- a/randr/rrcrtc.c
|
||||
+++ b/randr/rrcrtc.c
|
||||
@@ -39,7 +39,7 @@ RRCrtcChanged(RRCrtcPtr crtc, Bool layoutChanged)
|
||||
if (pScreen) {
|
||||
rrScrPriv(pScreen);
|
||||
|
||||
- pScrPriv->changed = TRUE;
|
||||
+ RRSetChanged(pScreen);
|
||||
/*
|
||||
* Send ConfigureNotify on any layout change
|
||||
*/
|
||||
diff --git a/randr/rrinfo.c b/randr/rrinfo.c
|
||||
index 1408d6f..fc57bd4 100644
|
||||
--- a/randr/rrinfo.c
|
||||
+++ b/randr/rrinfo.c
|
||||
@@ -225,7 +225,7 @@ RRScreenSetSizeRange(ScreenPtr pScreen,
|
||||
pScrPriv->minHeight = minHeight;
|
||||
pScrPriv->maxWidth = maxWidth;
|
||||
pScrPriv->maxHeight = maxHeight;
|
||||
- pScrPriv->changed = TRUE;
|
||||
+ RRSetChanged(pScreen);
|
||||
pScrPriv->configChanged = TRUE;
|
||||
}
|
||||
|
||||
diff --git a/randr/rroutput.c b/randr/rroutput.c
|
||||
index 88781ba..922d61f 100644
|
||||
--- a/randr/rroutput.c
|
||||
+++ b/randr/rroutput.c
|
||||
@@ -36,7 +36,7 @@ RROutputChanged(RROutputPtr output, Bool configChanged)
|
||||
output->changed = TRUE;
|
||||
if (pScreen) {
|
||||
rrScrPriv(pScreen);
|
||||
- pScrPriv->changed = TRUE;
|
||||
+ RRSetChanged(pScreen);
|
||||
if (configChanged)
|
||||
pScrPriv->configChanged = TRUE;
|
||||
}
|
||||
diff --git a/randr/rrscreen.c b/randr/rrscreen.c
|
||||
index 39340cc..36179ae 100644
|
||||
--- a/randr/rrscreen.c
|
||||
+++ b/randr/rrscreen.c
|
||||
@@ -143,7 +143,7 @@ RRScreenSizeNotify(ScreenPtr pScreen)
|
||||
pScrPriv->height = pScreen->height;
|
||||
pScrPriv->mmWidth = pScreen->mmWidth;
|
||||
pScrPriv->mmHeight = pScreen->mmHeight;
|
||||
- pScrPriv->changed = TRUE;
|
||||
+ RRSetChanged(pScreen);
|
||||
/* pScrPriv->sizeChanged = TRUE; */
|
||||
|
||||
RRTellChanged(pScreen);
|
@ -1,54 +0,0 @@
|
||||
From 9d26e8eaf5a2d7c3e65670ac20254c60f665c463 Mon Sep 17 00:00:00 2001
|
||||
From: Dave Airlie <airlied@redhat.com>
|
||||
Date: Wed, 9 Jan 2013 14:26:35 +1000
|
||||
Subject: [PATCH] randr: report changes when we disconnect a GPU slave
|
||||
|
||||
When we disconnect an output/offload slave set the changed bits,
|
||||
so a later TellChanged can do something.
|
||||
|
||||
Then when we remove a GPU slave device, sent change notification
|
||||
to the protocol screen.
|
||||
|
||||
This allows hot unplugged USB devices to disappear in clients.
|
||||
|
||||
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
|
||||
Signed-off-by: Dave Airlie <airlied@redhat.com>
|
||||
|
||||
diff --git a/hw/xfree86/common/xf86platformBus.c b/hw/xfree86/common/xf86platformBus.c
|
||||
index 9034dad..bcb65ff 100644
|
||||
--- a/hw/xfree86/common/xf86platformBus.c
|
||||
+++ b/hw/xfree86/common/xf86platformBus.c
|
||||
@@ -47,6 +47,7 @@
|
||||
#include "Pci.h"
|
||||
#include "xf86platformBus.h"
|
||||
|
||||
+#include "randrstr.h"
|
||||
int platformSlotClaimed;
|
||||
|
||||
int xf86_num_platform_devices;
|
||||
@@ -499,7 +500,7 @@ xf86platformRemoveDevice(int index)
|
||||
xf86UnclaimPlatformSlot(&xf86_platform_devices[index], NULL);
|
||||
|
||||
xf86_remove_platform_device(index);
|
||||
-
|
||||
+ RRTellChanged(xf86Screens[0]->pScreen);
|
||||
out:
|
||||
return;
|
||||
}
|
||||
diff --git a/hw/xfree86/modes/xf86RandR12.c b/hw/xfree86/modes/xf86RandR12.c
|
||||
index 25beee6..2817aaa 100644
|
||||
--- a/hw/xfree86/modes/xf86RandR12.c
|
||||
+++ b/hw/xfree86/modes/xf86RandR12.c
|
||||
@@ -1896,10 +1896,12 @@ xf86RandR14ProviderDestroy(ScreenPtr screen, RRProviderPtr provider)
|
||||
if (config->randr_provider->offload_sink) {
|
||||
DetachOffloadGPU(screen);
|
||||
config->randr_provider->offload_sink = NULL;
|
||||
+ RRSetChanged(screen);
|
||||
}
|
||||
else if (config->randr_provider->output_source) {
|
||||
DetachOutputGPU(screen);
|
||||
config->randr_provider->output_source = NULL;
|
||||
+ RRSetChanged(screen);
|
||||
}
|
||||
else if (screen->current_master)
|
||||
DetachUnboundGPU(screen);
|
@ -1,117 +0,0 @@
|
||||
From 77e51d5bbb97eb5c9d9dbff9a7c44d7e53620e68 Mon Sep 17 00:00:00 2001
|
||||
From: Eric Anholt <eric@anholt.net>
|
||||
Date: Mon, 17 Jun 2013 22:51:19 +0000
|
||||
Subject: Revert "DRI2: re-allocate DRI2 drawable if pixmap serial changes"
|
||||
|
||||
This reverts commit 3209b094a3b1466b579e8020e12a4f3fa78a5f3f. After a
|
||||
long debug session by Paul Berry, it appears that this was the commit
|
||||
that has been producing sporadic failures in piglit front buffer
|
||||
rendering tests for the last several years.
|
||||
|
||||
GetBuffers may return fresh buffers with invalid contents at a couple
|
||||
reasonable times:
|
||||
|
||||
- When first asked for a non-fake-front buffer.
|
||||
- When the drawable size is changed, an Invalidate has been sent, and
|
||||
obviously the app needs to redraw the whole buffer.
|
||||
- After a glXSwapBuffers(), GL allows the backbuffer to be undefined,
|
||||
and an Invalidate was sent to tell the GL that it should grab these
|
||||
appropriate new buffers to avoid stalling.
|
||||
|
||||
But with the patch being reverted, GetBuffers would also return fresh
|
||||
invalid buffers when the drawable serial number changed, which is
|
||||
approximately "whenever, for any reason". The app is not expecting
|
||||
invalid buffer contents "whenever", nor is it valid. Because the GL
|
||||
usually only GetBuffers after an Invalidate is sent, and the new
|
||||
buffer allocation only happened during a GetBuffers, most apps saw no
|
||||
problems. But apps that do (fake-)frontbuffer rendering do frequently
|
||||
ask the server for the front buffer (since we drop the fake front
|
||||
allocation when we're not doing front buffer rendering), and if the
|
||||
drawable serial got bumped midway through a draw, the server would
|
||||
pointlessly ditch the front *and* backbuffer full of important
|
||||
drawing, resulting in bad rendering.
|
||||
|
||||
The patch was originally to fix bugzilla:
|
||||
https://bugs.freedesktop.org/show_bug.cgi?id=28365
|
||||
Specifically:
|
||||
|
||||
To reproduce, start with a large-ish display (i.e. 1680x1050 on my
|
||||
laptop), use the patched glxgears from bug 28252 to add the
|
||||
-override option. Then run glxgears -override -geometry 640x480
|
||||
to create a 640x480 window in the top left corner, which will work
|
||||
fine. Next, run xrandr -s 640x480 and watch the fireworks.
|
||||
|
||||
I've tested with an override-redirect glxgears, both with vblank sync
|
||||
enabled and disabled, both with gnome-shell and no window manager at
|
||||
all, before and after this patch. The only problem observed was that
|
||||
before and after the revert, sometimes when alt-tabbing to kill my
|
||||
gears after completing the test gnome-shell would get confused about
|
||||
override-redirectness of the glxgears window (according to a log
|
||||
message) and apparently not bother doing any further compositing.
|
||||
|
||||
Signed-off-by: Eric Anholt <eric@anholt.net>
|
||||
Reviewed-by: Keith Packard <keithp@keithp.com>
|
||||
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
|
||||
Tested-by: Chris Wilson <chris@chris-wilson.co.uk>
|
||||
Signed-off-by: Keith Packard <keithp@keithp.com>
|
||||
---
|
||||
diff --git a/hw/xfree86/dri2/dri2.c b/hw/xfree86/dri2/dri2.c
|
||||
index 40963c3..0b047f0 100644
|
||||
--- a/hw/xfree86/dri2/dri2.c
|
||||
+++ b/hw/xfree86/dri2/dri2.c
|
||||
@@ -99,7 +99,6 @@ typedef struct _DRI2Drawable {
|
||||
CARD64 last_swap_msc; /* msc at completion of most recent swap */
|
||||
CARD64 last_swap_ust; /* ust at completion of most recent swap */
|
||||
int swap_limit; /* for N-buffering */
|
||||
- unsigned long serialNumber;
|
||||
Bool needInvalidate;
|
||||
int prime_id;
|
||||
PixmapPtr prime_slave_pixmap;
|
||||
@@ -189,19 +188,6 @@ DRI2GetDrawable(DrawablePtr pDraw)
|
||||
}
|
||||
}
|
||||
|
||||
-static unsigned long
|
||||
-DRI2DrawableSerial(DrawablePtr pDraw)
|
||||
-{
|
||||
- ScreenPtr pScreen = pDraw->pScreen;
|
||||
- PixmapPtr pPix;
|
||||
-
|
||||
- if (pDraw->type != DRAWABLE_WINDOW)
|
||||
- return pDraw->serialNumber;
|
||||
-
|
||||
- pPix = pScreen->GetWindowPixmap((WindowPtr) pDraw);
|
||||
- return pPix->drawable.serialNumber;
|
||||
-}
|
||||
-
|
||||
static DRI2DrawablePtr
|
||||
DRI2AllocateDrawable(DrawablePtr pDraw)
|
||||
{
|
||||
@@ -235,7 +221,6 @@ DRI2AllocateDrawable(DrawablePtr pDraw)
|
||||
pPriv->last_swap_msc = 0;
|
||||
pPriv->last_swap_ust = 0;
|
||||
xorg_list_init(&pPriv->reference_list);
|
||||
- pPriv->serialNumber = DRI2DrawableSerial(pDraw);
|
||||
pPriv->needInvalidate = FALSE;
|
||||
pPriv->redirectpixmap = NULL;
|
||||
pPriv->prime_slave_pixmap = NULL;
|
||||
@@ -493,7 +478,6 @@ allocate_or_reuse_buffer(DrawablePtr pDraw, DRI2ScreenPtr ds,
|
||||
|| attachment == DRI2BufferFrontLeft
|
||||
|| !dimensions_match || (pPriv->buffers[old_buf]->format != format)) {
|
||||
*buffer = create_buffer (pDraw, attachment, format);
|
||||
- pPriv->serialNumber = DRI2DrawableSerial(pDraw);
|
||||
return TRUE;
|
||||
|
||||
}
|
||||
@@ -559,8 +543,7 @@ do_get_buffers(DrawablePtr pDraw, int *width, int *height,
|
||||
ds = DRI2GetScreen(pDraw->pScreen);
|
||||
|
||||
dimensions_match = (pDraw->width == pPriv->width)
|
||||
- && (pDraw->height == pPriv->height)
|
||||
- && (pPriv->serialNumber == DRI2DrawableSerial(pDraw));
|
||||
+ && (pDraw->height == pPriv->height);
|
||||
|
||||
buffers = calloc((count + 1), sizeof(buffers[0]));
|
||||
if (!buffers)
|
||||
--
|
||||
cgit v0.9.0.2-2-gbebe
|
@ -1,38 +0,0 @@
|
||||
From c73c36b537f996574628e69681833ea37dec2b6e Mon Sep 17 00:00:00 2001
|
||||
From: Laércio de Sousa <lbsousajr@gmail.com>
|
||||
Date: Wed, 18 Sep 2013 16:42:17 +0000
|
||||
Subject: xserver: enable InputClass option "GrabDevice" by default for non-seat0 seats (#69478)
|
||||
|
||||
This patch contributes to fill the remaining gaps which make
|
||||
systemd-multi-seat-x wrapper still necessary in some multiseat setups.
|
||||
|
||||
This also replaces previous evdev patch that does the same thing
|
||||
for that particular driver.
|
||||
|
||||
When option "-seat" is passed with an argument different from "seat0",
|
||||
option "GrabDevice" for input devices is enabled by default
|
||||
(no need of enabling it in xorg.conf's "InputClass" section).
|
||||
|
||||
Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=69478
|
||||
|
||||
Signed-off-by: Laércio de Sousa <lbsousajr@gmail.com>
|
||||
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
|
||||
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
||||
---
|
||||
diff --git a/config/udev.c b/config/udev.c
|
||||
index de89241..b55b78e 100644
|
||||
--- a/config/udev.c
|
||||
+++ b/config/udev.c
|
||||
@@ -226,6 +226,10 @@ device_added(struct udev_device *udev_device)
|
||||
|
||||
input_options = input_option_new(input_options, "config_info", config_info);
|
||||
|
||||
+ /* Default setting needed for non-seat0 seats */
|
||||
+ if (ServerIsNotSeat0())
|
||||
+ input_options = input_option_new(input_options, "GrabDevice", "on");
|
||||
+
|
||||
LogMessage(X_INFO, "config/udev: Adding input device %s (%s)\n",
|
||||
name, path);
|
||||
rc = NewInputDeviceRequest(input_options, &attrs, &dev);
|
||||
--
|
||||
cgit v0.9.0.2-2-gbebe
|
@ -2,9 +2,10 @@ Index: xorg-server-1.12.1/configure.ac
|
||||
===================================================================
|
||||
--- xorg-server-1.12.1.orig/configure.ac
|
||||
+++ xorg-server-1.12.1/configure.ac
|
||||
@@ -2232,4 +2232,5 @@ test/Makefile
|
||||
@@ -2232,5 +2232,6 @@ test/Makefile
|
||||
test/xi2/Makefile
|
||||
xserver.ent
|
||||
xorg-server.pc
|
||||
+xorg-x11-server.macros
|
||||
])
|
||||
AC_OUTPUT
|
||||
|
@ -1,55 +0,0 @@
|
||||
Subject: Basic support for aarch64
|
||||
Author: Andreas Schwab <schwab@suse.de>
|
||||
|
||||
Index: xorg-server-1.13.2/hw/xfree86/common/compiler.h
|
||||
===================================================================
|
||||
--- xorg-server-1.13.2.orig/hw/xfree86/common/compiler.h
|
||||
+++ xorg-server-1.13.2/hw/xfree86/common/compiler.h
|
||||
@@ -1351,7 +1351,7 @@ stl_u(unsigned long val, unsigned int *p
|
||||
#else /* ix86 */
|
||||
|
||||
#if !defined(__SUNPRO_C)
|
||||
-#if !defined(FAKEIT) && !defined(__mc68000__) && !defined(__arm__) && !defined(__sh__) && !defined(__hppa__) && !defined(__s390__) && !defined(__m32r__)
|
||||
+#if !defined(FAKEIT) && !defined(__mc68000__) && !defined(__arm__) && !defined(__sh__) && !defined(__hppa__) && !defined(__s390__) && !defined(__m32r__) && !defined(__aarch64__)
|
||||
#ifdef GCCUSESGAS
|
||||
|
||||
/*
|
||||
Index: xorg-server-1.13.2/hw/xfree86/os-support/linux/lnx_video.c
|
||||
===================================================================
|
||||
--- xorg-server-1.13.2.orig/hw/xfree86/os-support/linux/lnx_video.c
|
||||
+++ xorg-server-1.13.2/hw/xfree86/os-support/linux/lnx_video.c
|
||||
@@ -58,7 +58,8 @@ static Bool ExtendedEnabled = FALSE;
|
||||
!defined(__sparc__) && \
|
||||
!defined(__mips__) && \
|
||||
!defined(__nds32__) && \
|
||||
- !defined(__arm__)
|
||||
+ !defined(__arm__) && \
|
||||
+ !defined(__aarch64__)
|
||||
|
||||
/*
|
||||
* Due to conflicts with "compiler.h", don't rely on <sys/io.h> to declare
|
||||
Index: xorg-server-1.13.2/include/servermd.h
|
||||
===================================================================
|
||||
--- xorg-server-1.13.2.orig/include/servermd.h
|
||||
+++ xorg-server-1.13.2/include/servermd.h
|
||||
@@ -286,6 +286,20 @@ SOFTWARE.
|
||||
#define GLYPHPADBYTES 4
|
||||
#endif /* linux/s390 */
|
||||
|
||||
+#ifdef __aarch64__
|
||||
+
|
||||
+#ifdef __AARCH64EL__
|
||||
+#define IMAGE_BYTE_ORDER LSBFirst
|
||||
+#define BITMAP_BIT_ORDER LSBFirst
|
||||
+#endif
|
||||
+#ifdef __AARCH64EB__
|
||||
+#define IMAGE_BYTE_ORDER MSBFirst
|
||||
+#define BITMAP_BIT_ORDER MSBFirst
|
||||
+#endif
|
||||
+#define GLYPHPADBYTES 4
|
||||
+
|
||||
+#endif /* __aarch64__ */
|
||||
+
|
||||
/* size of buffer to use with GetImage, measured in bytes. There's obviously
|
||||
* a trade-off between the amount of heap used and the number of times the
|
||||
* ddx routine has to be called.
|
@ -1,23 +0,0 @@
|
||||
From: Adam Jackson <ajax@redhat.com>
|
||||
Date: Wed, 9 Nov 2011 11:52:06 +1000
|
||||
Subject: [PATCH 2/7] Don't build the ACPI code.
|
||||
|
||||
No good can come of this.
|
||||
---
|
||||
configure.ac | 1 -
|
||||
1 file changed, 1 deletion(-)
|
||||
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index a12783c..54f4464 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -1620,7 +1620,6 @@ if test "x$XORG" = xyes; then
|
||||
linux_alpha=yes
|
||||
;;
|
||||
i*86|amd64*|x86_64*|ia64*)
|
||||
- linux_acpi="yes"
|
||||
;;
|
||||
*)
|
||||
;;
|
||||
--
|
||||
1.7.10.1
|
@ -1,61 +0,0 @@
|
||||
From 0ad777cecd414d4c4b3326cc25580833535b0c0b Mon Sep 17 00:00:00 2001
|
||||
From: Michal Srb <msrb@suse.com>
|
||||
Date: Fri, 4 Oct 2013 17:46:50 +0300
|
||||
Subject: [PATCH] randr: deliver Output and Crtc events of attached output
|
||||
providers.
|
||||
|
||||
Consider all attached output providers when looking for changed outputs and
|
||||
crtcs.
|
||||
|
||||
Reviewed-by: Dave Airlie <airlied@redhat.com>
|
||||
Signed-off-by: Michal Srb <msrb@suse.com>
|
||||
|
||||
diff --git a/randr/randr.c b/randr/randr.c
|
||||
index 9cec6f6..3c51427 100755
|
||||
--- a/randr/randr.c
|
||||
+++ b/randr/randr.c
|
||||
@@ -478,6 +478,16 @@ TellChanged(WindowPtr pWin, pointer value)
|
||||
if (crtc->changed)
|
||||
RRDeliverCrtcEvent(client, pWin, crtc);
|
||||
}
|
||||
+
|
||||
+ xorg_list_for_each_entry(iter, &pScreen->output_slave_list, output_head) {
|
||||
+ pSlaveScrPriv = rrGetScrPriv(iter);
|
||||
+ for (i = 0; i < pSlaveScrPriv->numCrtcs; i++) {
|
||||
+ RRCrtcPtr crtc = pSlaveScrPriv->crtcs[i];
|
||||
+
|
||||
+ if (crtc->changed)
|
||||
+ RRDeliverCrtcEvent(client, pWin, crtc);
|
||||
+ }
|
||||
+ }
|
||||
}
|
||||
|
||||
if (pRREvent->mask & RROutputChangeNotifyMask) {
|
||||
@@ -487,6 +497,16 @@ TellChanged(WindowPtr pWin, pointer value)
|
||||
if (output->changed)
|
||||
RRDeliverOutputEvent(client, pWin, output);
|
||||
}
|
||||
+
|
||||
+ xorg_list_for_each_entry(iter, &pScreen->output_slave_list, output_head) {
|
||||
+ pSlaveScrPriv = rrGetScrPriv(iter);
|
||||
+ for (i = 0; i < pSlaveScrPriv->numOutputs; i++) {
|
||||
+ RROutputPtr output = pSlaveScrPriv->outputs[i];
|
||||
+
|
||||
+ if (output->changed)
|
||||
+ RRDeliverOutputEvent(client, pWin, output);
|
||||
+ }
|
||||
+ }
|
||||
}
|
||||
|
||||
if (pRREvent->mask & RRProviderChangeNotifyMask) {
|
||||
@@ -581,6 +601,10 @@ RRTellChanged(ScreenPtr pScreen)
|
||||
xorg_list_for_each_entry(iter, &master->output_slave_list, output_head) {
|
||||
pSlaveScrPriv = rrGetScrPriv(iter);
|
||||
pSlaveScrPriv->provider->changed = FALSE;
|
||||
+ for (i = 0; i < pSlaveScrPriv->numOutputs; i++)
|
||||
+ pSlaveScrPriv->outputs[i]->changed = FALSE;
|
||||
+ for (i = 0; i < pSlaveScrPriv->numCrtcs; i++)
|
||||
+ pSlaveScrPriv->crtcs[i]->changed = FALSE;
|
||||
}
|
||||
xorg_list_for_each_entry(iter, &master->offload_slave_list, offload_head) {
|
||||
pSlaveScrPriv = rrGetScrPriv(iter);
|
@ -1,161 +0,0 @@
|
||||
From 6ec75c2f85c14c805f4433a17a56774594d8641c Mon Sep 17 00:00:00 2001
|
||||
From: Michal Srb <msrb@suse.com>
|
||||
Date: Fri, 4 Oct 2013 15:59:34 +0300
|
||||
Subject: [PATCH] randr: send RRProviderChangeNotify event
|
||||
|
||||
Send RRProviderChangeNotify event when a provider becomes output source or
|
||||
offload sink.
|
||||
|
||||
Reviewed-by: Dave Airlie <airlied@redhat.com>
|
||||
Signed-off-by: Michal Srb <msrb@suse.com>
|
||||
|
||||
diff --git a/randr/randr.c b/randr/randr.c
|
||||
old mode 100644
|
||||
new mode 100755
|
||||
index cb6fce7..fa0a4da
|
||||
--- a/randr/randr.c
|
||||
+++ b/randr/randr.c
|
||||
@@ -426,6 +426,8 @@ TellChanged(WindowPtr pWin, pointer value)
|
||||
RREventPtr *pHead, pRREvent;
|
||||
ClientPtr client;
|
||||
ScreenPtr pScreen = pWin->drawable.pScreen;
|
||||
+ ScreenPtr iter;
|
||||
+ rrScrPrivPtr pSlaveScrPriv;
|
||||
|
||||
rrScrPriv(pScreen);
|
||||
int i;
|
||||
@@ -460,6 +462,24 @@ TellChanged(WindowPtr pWin, pointer value)
|
||||
RRDeliverOutputEvent(client, pWin, output);
|
||||
}
|
||||
}
|
||||
+
|
||||
+ if (pRREvent->mask & RRProviderChangeNotifyMask) {
|
||||
+ xorg_list_for_each_entry(iter, &pScreen->output_slave_list, output_head) {
|
||||
+ pSlaveScrPriv = rrGetScrPriv(iter);
|
||||
+ if (pSlaveScrPriv->provider->changed)
|
||||
+ RRDeliverProviderEvent(client, pWin, pSlaveScrPriv->provider);
|
||||
+ }
|
||||
+ xorg_list_for_each_entry(iter, &pScreen->offload_slave_list, offload_head) {
|
||||
+ pSlaveScrPriv = rrGetScrPriv(iter);
|
||||
+ if (pSlaveScrPriv->provider->changed)
|
||||
+ RRDeliverProviderEvent(client, pWin, pSlaveScrPriv->provider);
|
||||
+ }
|
||||
+ xorg_list_for_each_entry(iter, &pScreen->unattached_list, unattached_head) {
|
||||
+ pSlaveScrPriv = rrGetScrPriv(iter);
|
||||
+ if (pSlaveScrPriv->provider->changed)
|
||||
+ RRDeliverProviderEvent(client, pWin, pSlaveScrPriv->provider);
|
||||
+ }
|
||||
+ }
|
||||
}
|
||||
return WT_WALKCHILDREN;
|
||||
}
|
||||
@@ -496,6 +516,8 @@ RRTellChanged(ScreenPtr pScreen)
|
||||
rrScrPriv(pScreen);
|
||||
rrScrPrivPtr mastersp;
|
||||
int i;
|
||||
+ ScreenPtr iter;
|
||||
+ rrScrPrivPtr pSlaveScrPriv;
|
||||
|
||||
if (pScreen->isGPU) {
|
||||
master = pScreen->current_master;
|
||||
@@ -519,6 +541,20 @@ RRTellChanged(ScreenPtr pScreen)
|
||||
pScrPriv->outputs[i]->changed = FALSE;
|
||||
for (i = 0; i < pScrPriv->numCrtcs; i++)
|
||||
pScrPriv->crtcs[i]->changed = FALSE;
|
||||
+
|
||||
+ xorg_list_for_each_entry(iter, &master->output_slave_list, output_head) {
|
||||
+ pSlaveScrPriv = rrGetScrPriv(iter);
|
||||
+ pSlaveScrPriv->provider->changed = FALSE;
|
||||
+ }
|
||||
+ xorg_list_for_each_entry(iter, &master->offload_slave_list, offload_head) {
|
||||
+ pSlaveScrPriv = rrGetScrPriv(iter);
|
||||
+ pSlaveScrPriv->provider->changed = FALSE;
|
||||
+ }
|
||||
+ xorg_list_for_each_entry(iter, &master->unattached_list, unattached_head) {
|
||||
+ pSlaveScrPriv = rrGetScrPriv(iter);
|
||||
+ pSlaveScrPriv->provider->changed = FALSE;
|
||||
+ }
|
||||
+
|
||||
if (mastersp->layoutChanged) {
|
||||
pScrPriv->layoutChanged = FALSE;
|
||||
RRPointerScreenConfigured(master);
|
||||
diff --git a/randr/randrstr.h b/randr/randrstr.h
|
||||
old mode 100644
|
||||
new mode 100755
|
||||
index 2babfed..c933349
|
||||
--- a/randr/randrstr.h
|
||||
+++ b/randr/randrstr.h
|
||||
@@ -164,6 +164,7 @@ struct _rrProvider {
|
||||
int nameLength;
|
||||
RRPropertyPtr properties;
|
||||
Bool pendingProperties;
|
||||
+ Bool changed;
|
||||
struct _rrProvider *offload_sink;
|
||||
struct _rrProvider *output_source;
|
||||
};
|
||||
@@ -923,6 +924,9 @@ RRProviderSetCapabilities(RRProviderPtr provider, uint32_t capabilities);
|
||||
extern _X_EXPORT Bool
|
||||
RRProviderLookup(XID id, RRProviderPtr *provider_p);
|
||||
|
||||
+extern _X_EXPORT void
|
||||
+RRDeliverProviderEvent(ClientPtr client, WindowPtr pWin, RRProviderPtr provider);
|
||||
+
|
||||
/* rrproviderproperty.c */
|
||||
|
||||
extern _X_EXPORT void
|
||||
diff --git a/randr/rrprovider.c b/randr/rrprovider.c
|
||||
old mode 100644
|
||||
new mode 100755
|
||||
index b321e62..2334ad2
|
||||
--- a/randr/rrprovider.c
|
||||
+++ b/randr/rrprovider.c
|
||||
@@ -304,6 +304,9 @@ ProcRRSetProviderOutputSource(ClientPtr client)
|
||||
|
||||
pScrPriv->rrProviderSetOutputSource(pScreen, provider, source_provider);
|
||||
|
||||
+ provider->changed = TRUE;
|
||||
+ RRSetChanged(pScreen);
|
||||
+
|
||||
RRTellChanged (pScreen);
|
||||
|
||||
return Success;
|
||||
@@ -333,6 +336,9 @@ ProcRRSetProviderOffloadSink(ClientPtr client)
|
||||
|
||||
pScrPriv->rrProviderSetOffloadSink(pScreen, provider, sink_provider);
|
||||
|
||||
+ provider->changed = TRUE;
|
||||
+ RRSetChanged(pScreen);
|
||||
+
|
||||
RRTellChanged (pScreen);
|
||||
|
||||
return Success;
|
||||
@@ -357,6 +363,7 @@ RRProviderCreate(ScreenPtr pScreen, const char *name,
|
||||
provider->nameLength = nameLength;
|
||||
memcpy(provider->name, name, nameLength);
|
||||
provider->name[nameLength] = '\0';
|
||||
+ provider->changed = FALSE;
|
||||
|
||||
if (!AddResource (provider->id, RRProviderType, (pointer) provider))
|
||||
return NULL;
|
||||
@@ -416,3 +423,21 @@ RRProviderLookup(XID id, RRProviderPtr *provider_p)
|
||||
return TRUE;
|
||||
return FALSE;
|
||||
}
|
||||
+
|
||||
+void
|
||||
+RRDeliverProviderEvent(ClientPtr client, WindowPtr pWin, RRProviderPtr provider)
|
||||
+{
|
||||
+ ScreenPtr pScreen = pWin->drawable.pScreen;
|
||||
+
|
||||
+ rrScrPriv(pScreen);
|
||||
+
|
||||
+ xRRProviderChangeNotifyEvent pe = {
|
||||
+ .type = RRNotify + RREventBase,
|
||||
+ .subCode = RRNotify_ProviderChange,
|
||||
+ .timestamp = pScrPriv->lastSetTime.milliseconds,
|
||||
+ .window = pWin->drawable.id,
|
||||
+ .provider = provider->id
|
||||
+ };
|
||||
+
|
||||
+ WriteEventsToClient(client, 1, (xEvent *) &pe);
|
||||
+}
|
@ -1,170 +0,0 @@
|
||||
From 7fa3e6ac35602ba7025e9283e9b2a7ab21ab77fb Mon Sep 17 00:00:00 2001
|
||||
From: Michal Srb <msrb@suse.com>
|
||||
Date: Fri, 4 Oct 2013 16:11:18 +0300
|
||||
Subject: [PATCH] randr: send RRResourceChangeNotify event
|
||||
|
||||
Send RRResourceChangeNotify event when provider, output or crtc was created or
|
||||
destroyed. I.e. when the list of resources returned by RRGetScreenResources and
|
||||
RRGetProviders changes.
|
||||
|
||||
Reviewed-by: Dave Airlie <airlied@redhat.com>
|
||||
Signed-off-by: Michal Srb <msrb@suse.com>
|
||||
|
||||
diff --git a/hw/xfree86/common/xf86platformBus.c b/hw/xfree86/common/xf86platformBus.c
|
||||
old mode 100644
|
||||
new mode 100755
|
||||
index e368dee..33b2b7d
|
||||
--- a/hw/xfree86/common/xf86platformBus.c
|
||||
+++ b/hw/xfree86/common/xf86platformBus.c
|
||||
@@ -466,6 +466,9 @@ xf86platformAddDevice(int index)
|
||||
/* attach unbound to 0 protocol screen */
|
||||
AttachUnboundGPU(xf86Screens[0]->pScreen, xf86GPUScreens[i]->pScreen);
|
||||
|
||||
+ RRResourcesChanged(xf86Screens[0]->pScreen);
|
||||
+ RRTellChanged(xf86Screens[0]->pScreen);
|
||||
+
|
||||
return 0;
|
||||
}
|
||||
|
||||
@@ -508,6 +511,8 @@ xf86platformRemoveDevice(int index)
|
||||
xf86UnclaimPlatformSlot(&xf86_platform_devices[index], NULL);
|
||||
|
||||
xf86_remove_platform_device(index);
|
||||
+
|
||||
+ RRResourcesChanged(xf86Screens[0]->pScreen);
|
||||
RRTellChanged(xf86Screens[0]->pScreen);
|
||||
out:
|
||||
return;
|
||||
diff --git a/randr/randr.c b/randr/randr.c
|
||||
index fa0a4da..9cec6f6 100755
|
||||
--- a/randr/randr.c
|
||||
+++ b/randr/randr.c
|
||||
@@ -420,6 +420,32 @@ RRExtensionInit(void)
|
||||
#endif
|
||||
}
|
||||
|
||||
+void
|
||||
+RRResourcesChanged(ScreenPtr pScreen)
|
||||
+{
|
||||
+ rrScrPriv(pScreen);
|
||||
+ pScrPriv->resourcesChanged = TRUE;
|
||||
+
|
||||
+ RRSetChanged(pScreen);
|
||||
+}
|
||||
+
|
||||
+static void
|
||||
+RRDeliverResourceEvent(ClientPtr client, WindowPtr pWin)
|
||||
+{
|
||||
+ ScreenPtr pScreen = pWin->drawable.pScreen;
|
||||
+
|
||||
+ rrScrPriv(pScreen);
|
||||
+
|
||||
+ xRRResourceChangeNotifyEvent re = {
|
||||
+ .type = RRNotify + RREventBase,
|
||||
+ .subCode = RRNotify_ResourceChange,
|
||||
+ .timestamp = pScrPriv->lastSetTime.milliseconds,
|
||||
+ .window = pWin->drawable.id
|
||||
+ };
|
||||
+
|
||||
+ WriteEventsToClient(client, 1, (xEvent *) &re);
|
||||
+}
|
||||
+
|
||||
static int
|
||||
TellChanged(WindowPtr pWin, pointer value)
|
||||
{
|
||||
@@ -480,6 +506,12 @@ TellChanged(WindowPtr pWin, pointer value)
|
||||
RRDeliverProviderEvent(client, pWin, pSlaveScrPriv->provider);
|
||||
}
|
||||
}
|
||||
+
|
||||
+ if (pRREvent->mask & RRResourceChangeNotifyMask) {
|
||||
+ if (pScrPriv->resourcesChanged) {
|
||||
+ RRDeliverResourceEvent(client, pWin);
|
||||
+ }
|
||||
+ }
|
||||
}
|
||||
return WT_WALKCHILDREN;
|
||||
}
|
||||
@@ -536,7 +568,11 @@ RRTellChanged(ScreenPtr pScreen)
|
||||
}
|
||||
pScrPriv->changed = FALSE;
|
||||
mastersp->changed = FALSE;
|
||||
+
|
||||
WalkTree(master, TellChanged, (pointer) master);
|
||||
+
|
||||
+ mastersp->resourcesChanged = FALSE;
|
||||
+
|
||||
for (i = 0; i < pScrPriv->numOutputs; i++)
|
||||
pScrPriv->outputs[i]->changed = FALSE;
|
||||
for (i = 0; i < pScrPriv->numCrtcs; i++)
|
||||
diff --git a/randr/randrstr.h b/randr/randrstr.h
|
||||
index c933349..15299fd 100755
|
||||
--- a/randr/randrstr.h
|
||||
+++ b/randr/randrstr.h
|
||||
@@ -301,6 +301,7 @@ typedef struct _rrScrPriv {
|
||||
Bool changed; /* some config changed */
|
||||
Bool configChanged; /* configuration changed */
|
||||
Bool layoutChanged; /* screen layout changed */
|
||||
+ Bool resourcesChanged; /* screen resources change */
|
||||
|
||||
CARD16 minWidth, minHeight;
|
||||
CARD16 maxWidth, maxHeight;
|
||||
@@ -486,6 +487,9 @@ extern _X_EXPORT int
|
||||
extern _X_EXPORT void
|
||||
RRDeliverScreenEvent(ClientPtr client, WindowPtr pWin, ScreenPtr pScreen);
|
||||
|
||||
+extern _X_EXPORT void
|
||||
+ RRResourcesChanged(ScreenPtr pScreen);
|
||||
+
|
||||
/* randr.c */
|
||||
/* set a screen change on the primary screen */
|
||||
extern _X_EXPORT void
|
||||
diff --git a/randr/rrcrtc.c b/randr/rrcrtc.c
|
||||
old mode 100644
|
||||
new mode 100755
|
||||
index 2f76b62..99b3dca
|
||||
--- a/randr/rrcrtc.c
|
||||
+++ b/randr/rrcrtc.c
|
||||
@@ -102,6 +102,8 @@ RRCrtcCreate(ScreenPtr pScreen, void *devPrivate)
|
||||
crtc->pScreen = pScreen;
|
||||
pScrPriv->crtcs[pScrPriv->numCrtcs++] = crtc;
|
||||
|
||||
+ RRResourcesChanged(pScreen);
|
||||
+
|
||||
return crtc;
|
||||
}
|
||||
|
||||
@@ -669,6 +671,8 @@ RRCrtcDestroyResource(pointer value, XID pid)
|
||||
break;
|
||||
}
|
||||
}
|
||||
+
|
||||
+ RRResourcesChanged(pScreen);
|
||||
}
|
||||
|
||||
if (crtc->scanout_pixmap)
|
||||
diff --git a/randr/rroutput.c b/randr/rroutput.c
|
||||
old mode 100644
|
||||
new mode 100755
|
||||
index 922d61f..2b0b82f
|
||||
--- a/randr/rroutput.c
|
||||
+++ b/randr/rroutput.c
|
||||
@@ -101,6 +101,9 @@ RROutputCreate(ScreenPtr pScreen,
|
||||
return NULL;
|
||||
|
||||
pScrPriv->outputs[pScrPriv->numOutputs++] = output;
|
||||
+
|
||||
+ RRResourcesChanged(pScreen);
|
||||
+
|
||||
return output;
|
||||
}
|
||||
|
||||
@@ -355,6 +358,8 @@ RROutputDestroyResource(pointer value, XID pid)
|
||||
break;
|
||||
}
|
||||
}
|
||||
+
|
||||
+ RRResourcesChanged(pScreen);
|
||||
}
|
||||
if (output->modes) {
|
||||
for (m = 0; m < output->numModes; m++)
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:3d8481f60d6ef67bb9b72c1ee375f5a64e69ba32c613c01367b3c2b5c154ab0a
|
||||
size 5510351
|
3
xorg-server-1.14.99.903.1.tar.bz2
Normal file
3
xorg-server-1.14.99.903.1.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:64c780e8d2e61c0ba1877c3334c468c4e35f9d63bf9b307a62ff1288e2a46f21
|
||||
size 3631174
|
@ -1,4 +1,4 @@
|
||||
Provides: X11_ABI_XINPUT = 19.1
|
||||
Provides: X11_ABI_VIDEODRV = 14.1
|
||||
Provides: X11_ABI_XINPUT = 20.0
|
||||
Provides: X11_ABI_VIDEODRV = 15.0
|
||||
Provides: X11_ABI_ANSIC = 0.4
|
||||
Provides: X11_ABI_EXTENSION = 7.0
|
||||
Provides: X11_ABI_EXTENSION = 8.0
|
||||
|
@ -1,3 +1,22 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Nov 28 14:08:58 UTC 2013 - tobias.johannes.klausmann@mni.thm.de
|
||||
|
||||
- Update to 1.14.99.903 (1.15 RC3):
|
||||
- Remove upstreamed patches:
|
||||
+ Patch228: u_aarch64-support.patch
|
||||
+ Patch229: u_disable-acpi-code.patch
|
||||
A new configure option controls this now
|
||||
+ Patch240: U_revert_dri2_realloc_dri2_drawable_if-pixmap_serial_changes.patch
|
||||
+ Patch242: U_randr_dont_directly_set_changed_bits_in_randr_screen.patch
|
||||
+ Patch243: U_randr_report_changes_when_we_disconnect_a_GPU_slave.patch
|
||||
+ Patch244: u_randr_send_rrproviderchangenotify_event.patch
|
||||
+ Patch245: u_randr_send_rrresourcechangenotify_event.patch
|
||||
+ Patch246: u_randr_deliver_output_and_crtc_events_of_attached_output.patch
|
||||
+ Patch249: U_xserver_enable_grabdevice_by_default_for_non_seat0.patch
|
||||
- Drop superseded patches:
|
||||
+ Patch16: N_p_xnest-ignore-getimage-errors.diff
|
||||
+ Patch79: N_edid_data_sanity_check.diff
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Nov 28 11:56:07 UTC 2013 - lbsousajr@gmail.com
|
||||
|
||||
|
@ -18,7 +18,7 @@
|
||||
|
||||
Name: xorg-x11-server
|
||||
|
||||
%define dirsuffix 1.14.3.901
|
||||
%define dirsuffix 1.14.99.903.1
|
||||
|
||||
Summary: X
|
||||
License: GPL-2.0+ and MIT
|
||||
@ -37,8 +37,7 @@ Source99: pre_checkin.sh
|
||||
Patch0: n_xorg-x11-server-rpmmacros.patch
|
||||
# PATCH-MISSING-TAG -- See http://wiki.opensuse.org/openSUSE:Packaging_Patches_guidelines
|
||||
Patch2: N_p_default-module-path.diff
|
||||
# PATCH-MISSING-TAG -- See http://wiki.opensuse.org/openSUSE:Packaging_Patches_guidelines
|
||||
Patch16: N_p_xnest-ignore-getimage-errors.diff
|
||||
|
||||
BuildRequires: Mesa-devel
|
||||
BuildRequires: bison
|
||||
BuildRequires: flex
|
||||
@ -65,8 +64,11 @@ BuildRequires: pkgconfig(renderproto) >= 0.11
|
||||
BuildRequires: pkgconfig(sm)
|
||||
BuildRequires: pkgconfig(x11)
|
||||
BuildRequires: pkgconfig(xau)
|
||||
BuildRequires: pkgconfig(xau)
|
||||
BuildRequires: pkgconfig(xaw7)
|
||||
BuildRequires: pkgconfig(xcb-aux)
|
||||
BuildRequires: pkgconfig(xcb-icccm)
|
||||
BuildRequires: pkgconfig(xcb-image)
|
||||
BuildRequires: pkgconfig(xcb-keysyms)
|
||||
BuildRequires: pkgconfig(xcmiscproto) >= 1.2.0
|
||||
BuildRequires: pkgconfig(xdmcp)
|
||||
BuildRequires: pkgconfig(xext) >= 1.0.99.4
|
||||
@ -82,8 +84,9 @@ BuildRequires: pkgconfig(xprintutil)
|
||||
BuildRequires: pkgconfig(xproto) >= 7.0.17
|
||||
BuildRequires: pkgconfig(xrender)
|
||||
BuildRequires: pkgconfig(xres)
|
||||
BuildRequires: pkgconfig(xshmfence)
|
||||
BuildRequires: pkgconfig(xt)
|
||||
BuildRequires: pkgconfig(xtrans) >= 1.2.2
|
||||
BuildRequires: pkgconfig(xtrans) >= 1.3.1
|
||||
BuildRequires: pkgconfig(xtst) >= 1.0.99.2
|
||||
BuildRequires: pkgconfig(xv)
|
||||
### udev support (broken on openSUSE 11.2, see also bnc #589997)
|
||||
@ -118,8 +121,6 @@ Patch45: N_bug-197858_dpms.diff
|
||||
# PATCH-MISSING-TAG -- See http://wiki.opensuse.org/openSUSE:Packaging_Patches_guidelines
|
||||
Patch77: N_fbdevhw.diff
|
||||
# PATCH-MISSING-TAG -- See http://wiki.opensuse.org/openSUSE:Packaging_Patches_guidelines
|
||||
Patch79: N_edid_data_sanity_check.diff
|
||||
# PATCH-MISSING-TAG -- See http://wiki.opensuse.org/openSUSE:Packaging_Patches_guidelines
|
||||
Patch101: N_zap_warning_xserver.diff
|
||||
# PATCH-MISSING-TAG -- See http://wiki.opensuse.org/openSUSE:Packaging_Patches_guidelines
|
||||
Patch103: N_confine_to_shape.diff
|
||||
@ -153,20 +154,10 @@ Patch222: N_sync-fix.patch
|
||||
Patch223: N_x86emu-include-order.patch
|
||||
|
||||
Patch226: u_vgaHW-no-legacy.patch
|
||||
Patch228: u_aarch64-support.patch
|
||||
Patch229: u_disable-acpi-code.patch
|
||||
Patch230: u_xserver_xvfb-randr.patch
|
||||
|
||||
Patch240: U_revert_dri2_realloc_dri2_drawable_if-pixmap_serial_changes.patch
|
||||
|
||||
Patch242: U_randr_dont_directly_set_changed_bits_in_randr_screen.patch
|
||||
Patch243: U_randr_report_changes_when_we_disconnect_a_GPU_slave.patch
|
||||
Patch244: u_randr_send_rrproviderchangenotify_event.patch
|
||||
Patch245: u_randr_send_rrresourcechangenotify_event.patch
|
||||
Patch246: u_randr_deliver_output_and_crtc_events_of_attached_output.patch
|
||||
Patch247: u_randr_allow_rrselectinput_for_providerchange_and_resourcechange_events.patch
|
||||
Patch248: N_randr_fix_abi.patch
|
||||
Patch249: U_xserver_enable_grabdevice_by_default_for_non_seat0.patch
|
||||
|
||||
%description
|
||||
This package contains the X.Org Server.
|
||||
@ -222,17 +213,17 @@ sh %{SOURCE99} --verify . %{SOURCE98}
|
||||
cp %{SOURCE96} .
|
||||
%patch0 -p1
|
||||
%patch2
|
||||
%patch16 -p1
|
||||
|
||||
### Needs to be rebased
|
||||
#%patch45 -p0
|
||||
%patch77
|
||||
%patch79 -p1
|
||||
%patch101 -p1
|
||||
%patch103
|
||||
%patch106 -p1
|
||||
%patch112 -p0
|
||||
|
||||
%patch127 -p1
|
||||
|
||||
%patch143 -p1
|
||||
%patch145 -p0
|
||||
### disabled for now
|
||||
@ -248,20 +239,9 @@ cp %{SOURCE96} .
|
||||
#%patch222 -p1
|
||||
%patch223 -p1
|
||||
%patch226 -p0
|
||||
%patch228 -p1
|
||||
%patch229 -p1
|
||||
%patch230 -p1
|
||||
|
||||
%patch240 -p1
|
||||
|
||||
%patch242 -p1
|
||||
%patch243 -p1
|
||||
%patch244 -p1
|
||||
%patch245 -p1
|
||||
%patch246 -p1
|
||||
%patch247 -p1
|
||||
%patch248 -p1
|
||||
%patch249 -p1
|
||||
|
||||
%build
|
||||
autoreconf -fi
|
||||
@ -272,6 +252,7 @@ autoreconf -fi
|
||||
--enable-xdm-auth-1 \
|
||||
--enable-dri \
|
||||
--enable-dri2 \
|
||||
--enable-dri3 \
|
||||
--enable-dmx \
|
||||
--enable-xnest \
|
||||
--enable-kdrive \
|
||||
@ -282,6 +263,7 @@ autoreconf -fi
|
||||
--enable-record \
|
||||
--enable-xcsecurity \
|
||||
--with-sha1=libcrypto \
|
||||
--disable-linux-acpi \
|
||||
%ifarch s390 s390x
|
||||
--disable-xorg \
|
||||
--disable-aiglx \
|
||||
@ -391,7 +373,7 @@ exit 0
|
||||
%dir %{_sysconfdir}/X11/xorg.conf.d
|
||||
%config(noreplace) %{_sysconfdir}/X11/xorg.conf.d/10-evdev.conf
|
||||
%dir %{_datadir}/X11/xorg.conf.d
|
||||
%{_datadir}/X11/xorg.conf.d/10-evdev.conf
|
||||
%{_datadir}/X11/xorg.conf.d/10-*.conf
|
||||
%endif
|
||||
%dir %{_localstatedir}/lib/X11
|
||||
%endif
|
||||
|
Loading…
Reference in New Issue
Block a user