Hello community,

here is the log from the commit of package xorg-x11-server for openSUSE:Factory 
checked in at 2016-01-23 01:15:30
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/xorg-x11-server (Old)
 and      /work/SRC/openSUSE:Factory/.xorg-x11-server.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "xorg-x11-server"

Changes:
--------
--- /work/SRC/openSUSE:Factory/xorg-x11-server/xorg-x11-server.changes  
2016-01-13 22:43:03.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.xorg-x11-server.new/xorg-x11-server.changes     
2016-01-23 01:15:44.000000000 +0100
@@ -1,0 +2,13 @@
+Fri Jan 15 16:25:36 UTC 2016 - e...@suse.com
+
+- u_Panning-Set-panning-state-in-xf86RandR12ScreenSetSize.patch
+  Fix panning when configured in xorg.conf* (boo#771521).
+
+-------------------------------------------------------------------
+Fri Jan 15 11:47:17 UTC 2016 - e...@suse.com
+
+- Handle source-file-list in build not prep
+- N_xorg-x11-server-rpmmacros.patch:
+  Delete: Process xorg-x11-server.macros in install
+
+-------------------------------------------------------------------

Old:
----
  N_xorg-x11-server-rpmmacros.patch

New:
----
  u_Panning-Set-panning-state-in-xf86RandR12ScreenSetSize.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ xorg-x11-server.spec ++++++
--- /var/tmp/diff_new_pack.Ovm7si/_old  2016-01-23 01:15:46.000000000 +0100
+++ /var/tmp/diff_new_pack.Ovm7si/_new  2016-01-23 01:15:46.000000000 +0100
@@ -157,7 +157,6 @@
 Requires:       xkeyboard-config
 
 # PATCH-FEATURE-OPENSUSE n_xorg-x11-server-rpmmacros.patch 
dims...@opensuse.org -- Provide RPM macros to require correct ABI Versions.
-Patch0:         N_xorg-x11-server-rpmmacros.patch
 Patch1:         N_default-module-path.diff
 Patch2:         N_zap_warning_xserver.diff
 Patch3:         N_driver-autoconfig.diff
@@ -184,6 +183,7 @@
 Patch205:       U_kdrive-UnregisterFd-Fix-off-by-one.patch
 Patch206:       u_busfault_sigaction-Only-initialize-pointer-when-matched.patch
 Patch207:       U_modesetting-should-not-reference-gbm-when-it-s-not-d.patch
+Patch208:       u_Panning-Set-panning-state-in-xf86RandR12ScreenSetSize.patch
 
 Patch1000:      n_xserver-optimus-autoconfig-hack.patch
 
@@ -262,8 +262,6 @@
 %setup -q -n xorg-server-%{dirsuffix} -a3
 # Early verification if the ABI Defines are correct. Let's not waste build 
cycles if the Provides are wrong at the end.
 sh %{SOURCE92} --verify . %{SOURCE91}
-cp %{SOURCE90} .
-%patch0 -p1
 
 %if 0%{?suse_version} < 1315
 %patch1
@@ -292,6 +290,7 @@
 %patch205 -p1
 %patch206 -p1
 %patch207 -p1
+%patch208 -p1
 
 %patch1000 -p1
 
@@ -302,9 +301,11 @@
 ### patch222 might not be applicable anymore
 #%patch1222 -p1
 
-find . -type f \! -name '*.orig' \! -path ./source-file-list > source-file-list
-
 %build
+test -e source-file-list || \
+    find . -type f \! -name '*.orig' \! -path ./source-file-list > \
+    source-file-list
+
 autoreconf -fi
 %configure CFLAGS="%{optflags} -fno-strict-aliasing" \
            --sysconfdir=/etc \
@@ -402,6 +403,8 @@
   
%{buildroot}%{_localstatedir}/adm/fillup-templates/sysconfig.displaymanager-%{name}
 %endif
 install -m 755 $RPM_SOURCE_DIR/xorg-backtrace 
%{buildroot}%{_bindir}/xorg-backtrace
+cp %{S:90} .
+./config.status --file xorg-x11-server.macros
 install -D xorg-x11-server.macros 
%{buildroot}%{_sysconfdir}/rpm/macros.xorg-server
 %ifnarch s390 s390x
 %if 0%{?suse_version} >= 1315

++++++ u_Panning-Set-panning-state-in-xf86RandR12ScreenSetSize.patch ++++++
From: Egbert Eich <e...@suse.de>
Date: Fri Jan 15 16:52:18 2016 +0100
Subject: [PATCH]Panning: Set panning state in xf86RandR12ScreenSetSize()
Patch-mainline: to be upstreamed

References: boo#771521
Signed-off-by: Egbert Eich <e...@suse.com>

Right after verifying the panning area the per-crtc panning state should
be set.
This fixes panning when set in the configuration.

Bugzilla: https://bugzilla.suse.com/show_bug.cgi?id=771521
Signed-off-by: Egbert Eich <e...@suse.de>
---
 hw/xfree86/modes/xf86RandR12.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/hw/xfree86/modes/xf86RandR12.c b/hw/xfree86/modes/xf86RandR12.c
index eae7016..9f444dd 100644
--- a/hw/xfree86/modes/xf86RandR12.c
+++ b/hw/xfree86/modes/xf86RandR12.c
@@ -681,6 +681,7 @@ xf86RandR12ScreenSetSize(ScreenPtr pScreen,
     WindowPtr pRoot = pScreen->root;
     PixmapPtr pScrnPix;
     Bool ret = FALSE;
+    Bool panning = FALSE;
     int c;
 
     if (randrp->virtualX == -1 || randrp->virtualY == -1) {
@@ -709,6 +710,7 @@ xf86RandR12ScreenSetSize(ScreenPtr pScreen,
             if (crtc->panningTrackingArea.y2 > crtc->panningTrackingArea.y1)
                 crtc->panningTrackingArea.y2 += height - pScreen->height;
             xf86RandR13VerifyPanningArea(crtc, width, height);
+            panning = panning ? TRUE : PANNING_ENABLED (crtc);
             xf86RandR13Pan(crtc, randrp->pointerX, randrp->pointerY);
         }
     }
@@ -718,6 +720,7 @@ xf86RandR12ScreenSetSize(ScreenPtr pScreen,
     pScreen->height = pScrnPix->drawable.height = height;
     randrp->mmWidth = pScreen->mmWidth = mmWidth;
     randrp->mmHeight = pScreen->mmHeight = mmHeight;
+    randrp->panning = panning;
 
     xf86SetViewport(pScreen, pScreen->width - 1, pScreen->height - 1);
     xf86SetViewport(pScreen, 0, 0);

Reply via email to