Hello community,

here is the log from the commit of package gtk3 for openSUSE:Factory checked in 
at 2016-01-13 22:43:48
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/gtk3 (Old)
 and      /work/SRC/openSUSE:Factory/.gtk3.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "gtk3"

Changes:
--------
--- /work/SRC/openSUSE:Factory/gtk3/gtk3.changes        2015-11-04 
15:30:22.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.gtk3.new/gtk3.changes   2016-01-13 
22:43:50.000000000 +0100
@@ -1,0 +2,64 @@
+Mon Jan 11 10:24:48 UTC 2016 - [email protected]
+
+- Add gtk3-qemu-usb-tablet-is-no-real-touchscreen.patch: The QEMU
+  USB Tablet is not really a touchscreen - although it simulates
+  it for VNC based viewers (making mouse-input more reliable).
+  This patch fixes issues where openQA was not able to correctly
+  handle the CTRL-ALT-DEL handler to show the logout dialog.
+
+-------------------------------------------------------------------
+Sat Dec 26 14:19:15 UTC 2015 - [email protected]
+
+- Add gtk3-gdk_pixbuf_get_from_surface.patch: Restore old behavior.
+
+-------------------------------------------------------------------
+Sun Dec  6 11:57:43 UTC 2015 - [email protected]
+
+- Update to version 3.18.6:
+  + Bugs fixed: bgo#539944, bgo#732742, bgo#735847, bgo#746745,
+    bgo#747295, bgo#748904, bgo#757358, bgo#758025, bgo#758072,
+    bgo#758175, bgo#758327, bgo#758367, bgo#758407, bgo#758483,
+    bgo#758484, bgo#758660, bgo#758661, bgo#758698, bgo#758790.
+  + Updated translations.
+
+-------------------------------------------------------------------
+Mon Nov 16 21:32:02 UTC 2015 - [email protected]
+
+- Update to version 3.18.5:
+  + GtkFileChooser:
+    - Make sure external drives show up either in the sidebar or
+      the places view.
+    - Ignore double-click events.
+  + Avoid some crashes in CSS parsing error handling.
+- Drop
+  gtk3-gtkplacessidebar-improve-heuristics-external-drives.patch:
+  Fixed upstream.
+
+-------------------------------------------------------------------
+Sat Nov 14 20:04:16 UTC 2015 - [email protected]
+
+- Add
+  gtk3-gtkplacessidebar-improve-heuristics-external-drives.patch:
+  Add missed commit for the sidebar refactor, without this external
+  drives are not shown anywhere (bgo#756589).
+
+-------------------------------------------------------------------
+Thu Nov 12 18:32:11 UTC 2015 - [email protected]
+
+- Update to version 3.18.4:
+  + Revert a GtkTextBuffer change that broke binding API.
+  + Properly refresh styles when widget names change.
+
+-------------------------------------------------------------------
+Mon Nov  9 17:38:07 UTC 2015 - [email protected]
+
+- Update to version 3.18.3:
+  + Bugs fixed: bgo#735342, bgo#753992, bgo#755654, bgo#756160,
+    bgo#756385, bgo#756449, bgo#756496, bgo#756505, bgo#756568,
+    bgo#756589, bgo#756625, bgo#756751, bgo#756780, bgo#756886,
+    bgo#757147, bgo#757221, bgo#757298, bgo#757303, bgo#757324,
+    bgo#757358, bgo#757377, bgo#757544.
+  + Updated translations.
+- Drop gtk3-places-sidebar-no-crash.patch: Fixed upstream.
+
+-------------------------------------------------------------------

Old:
----
  gtk+-3.18.2.tar.xz
  gtk3-places-sidebar-no-crash.patch

New:
----
  gtk+-3.18.6.tar.xz
  gtk3-gdk_pixbuf_get_from_surface.patch
  gtk3-qemu-usb-tablet-is-no-real-touchscreen.patch

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

Other differences:
------------------
++++++ gtk3.spec ++++++
--- /var/tmp/diff_new_pack.62M9ch/_old  2016-01-13 22:43:52.000000000 +0100
+++ /var/tmp/diff_new_pack.62M9ch/_new  2016-01-13 22:43:52.000000000 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package gtk3
 #
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
 # Copyright (c) 2010 Dominique Leuenebrger, Amsterdam, Netherlands
 #
 # All modifications and additions to the file contributed by third parties
@@ -29,7 +29,7 @@
 
 Name:           gtk3
 %define _name gtk+
-Version:        3.18.2
+Version:        3.18.6
 Release:        0
 Summary:        The GTK+ toolkit library (version 3)
 License:        LGPL-2.1+
@@ -47,8 +47,10 @@
 ## PATCH-DISABLED gtk3-bnc130159-bgo319483-async-font-selection.patch - 
Upstream bug was closed as obsolete in 2011, lets see if anyone complains. 
 # PATCH-FIX-UPSTREAM gtk3-bnc130159-bgo319483-async-font-selection.patch 
bnc130159 bgo319483 [email protected] - Load fonts asynchronously in 
GtkFontSelection to make it appear faster for CJK languages
 Patch3:         gtk3-bnc130159-bgo319483-async-font-selection.patch
-# PATCH-FIX-UPSTREAM gtk3-places-sidebar-no-crash.patch boo#952356 bgo#757298 
[email protected] -- Don't crash when dragging files from host to guest over 
sidebar
-Patch4:         gtk3-places-sidebar-no-crash.patch
+# PATCH-FIX-UPSTREAM gtk3-gdk_pixbuf_get_from_surface.patch bgo#757147 
[email protected] -- Restore old behavior to return a scaled version when the 
underlying surface is scaled. From upstream git.
+Patch4:         gtk3-gdk_pixbuf_get_from_surface.patch
+# PATCH-FIX-UPSTREAM gtk3-qemu-usb-tablet-is-no-real-touchscreen.patch 
bgo#760445 [email protected] -- The QEMU USB Tablet device is no real 
touchscreen; fixes issues in openQA where ctrl-alt-del was not accepted
+Patch5:         gtk3-qemu-usb-tablet-is-no-real-touchscreen.patch
 BuildRequires:  cups-devel >= 1.2
 BuildRequires:  docbook-xsl-stylesheets
 BuildRequires:  fdupes
@@ -341,9 +343,10 @@
 ## PATCH-DISABLED - Upstream bug was closed as obsolete in 2011, as there was 
a new fontchooser, lets disable the patch and see if anyone complains.
 #%%patch3 -p1
 %patch4 -p1
+%patch5 -p1
 
 %build
-# Needed for patch1 and patch4
+# Needed for patch1
 NOCONFIGURE=1 ./autogen.sh
 %configure \
         --disable-static \

++++++ gtk+-3.18.2.tar.xz -> gtk+-3.18.6.tar.xz ++++++
/work/SRC/openSUSE:Factory/gtk3/gtk+-3.18.2.tar.xz 
/work/SRC/openSUSE:Factory/.gtk3.new/gtk+-3.18.6.tar.xz differ: char 26, line 1

++++++ gtk3-gdk_pixbuf_get_from_surface.patch ++++++
>From 2cbc2972ea58ec9dae5481fc4930f0cd13f21da9 Mon Sep 17 00:00:00 2001
From: Lars Uebernickel <[email protected]>
Date: Wed, 9 Dec 2015 17:48:26 +0100
Subject: gdk_pixbuf_get_from_surface: restore old behavior

A previous commit changed this function to return a pixbuf that is
larger than the passed (width, height) when the surface has a device
scale > 1. It's easy enough to take care of a scaled surface before
calling this function.

Revert to the old behaviour, but change gdk_pixbuf_get_from_window() to
return a scaled version when the underlying surface is scaled. We need
this because there's no other way to get to the unscaled window
contents.

https://bugzilla.gnome.org/show_bug.cgi?id=757147
---
 gdk/gdkpixbuf-drawable.c | 31 +++++++++++++++++++++----------
 1 file changed, 21 insertions(+), 10 deletions(-)

diff --git a/gdk/gdkpixbuf-drawable.c b/gdk/gdkpixbuf-drawable.c
index 0647e3c..bae643a 100644
--- a/gdk/gdkpixbuf-drawable.c
+++ b/gdk/gdkpixbuf-drawable.c
@@ -56,8 +56,9 @@
  * This allows you to efficiently read individual pixels on the client side.
  *
  * This function will create an RGB pixbuf with 8 bits per channel with
- * the same size specified by the @width and @height arguments. The pixbuf
- * will contain an alpha channel if the @window contains one.
+ * the size specified by the @width and @height arguments scaled by the
+ * scale factor of @window. The pixbuf will contain an alpha channel if
+ * the @window contains one.
  *
  * If the window is off the screen, then there is no image data in the
  * obscured/offscreen regions to be placed in the pixbuf. The contents of
@@ -87,6 +88,8 @@ gdk_pixbuf_get_from_window (GdkWindow *src,
                             gint       height)
 {
   cairo_surface_t *surface;
+  cairo_surface_t *copy;
+  cairo_t *cr;
   GdkPixbuf *dest;
   gint scale;
 
@@ -104,9 +107,22 @@ gdk_pixbuf_get_from_window (GdkWindow *src,
    */
   cairo_surface_mark_dirty (surface);
 
-  dest = gdk_pixbuf_get_from_surface (surface,
-                                      scale * src_x, scale * src_y,
-                                      scale * width, scale * height);
+  if (cairo_surface_get_content (surface) & CAIRO_CONTENT_ALPHA)
+    copy = cairo_image_surface_create (CAIRO_FORMAT_ARGB32, width * scale, 
height * scale);
+  else
+    copy = cairo_image_surface_create (CAIRO_FORMAT_RGB24, width * scale, 
height * scale);
+
+  cairo_surface_set_device_scale (copy, scale, scale);
+
+  cr = cairo_create (copy);
+  cairo_set_operator (cr, CAIRO_OPERATOR_SOURCE);
+  cairo_set_source_surface (cr, surface, -src_x, -src_y);
+  cairo_paint (cr);
+  cairo_destroy (cr);
+
+  dest = gdk_pixbuf_get_from_surface (copy, 0, 0, width * scale, height * 
scale);
+
+  cairo_surface_destroy (copy);
   cairo_surface_destroy (surface);
 
   return dest;
@@ -137,16 +153,11 @@ gdk_cairo_surface_coerce_to_image (cairo_surface_t 
*surface,
 {
   cairo_surface_t *copy;
   cairo_t *cr;
-  double sx, sy;
-
-  cairo_surface_get_device_scale (surface, &sx, &sy);
 
   copy = cairo_image_surface_create (gdk_cairo_format_for_content (content),
                                      width,
                                      height);
 
-  cairo_surface_set_device_scale (copy, sx, sy);
-
   cr = cairo_create (copy);
   cairo_set_operator (cr, CAIRO_OPERATOR_SOURCE);
   cairo_set_source_surface (cr, surface, -src_x, -src_y);
-- 
cgit v0.11.2

++++++ gtk3-qemu-usb-tablet-is-no-real-touchscreen.patch ++++++
Index: gtk+-3.18.6/gdk/x11/gdkdevicemanager-xi2.c
===================================================================
--- gtk+-3.18.6.orig/gdk/x11/gdkdevicemanager-xi2.c
+++ gtk+-3.18.6/gdk/x11/gdkdevicemanager-xi2.c
@@ -428,6 +428,7 @@ create_device (GdkDeviceManager *device_
         input_source = GDK_SOURCE_PEN;
       else if (!strstr (tmp_name, "mouse") &&
                !strstr (tmp_name, "pointer") &&
+               !strstr (tmp_name, "qemu usb tablet") &&
                has_abs_axes (display, dev->classes, dev->num_classes))
         input_source = GDK_SOURCE_TOUCHSCREEN;
       else

Reply via email to