Accepting request 383208 from GNOME:Factory

- Add gtk3-bgo764174-boo973416-no-undersize.patch: gtkwindow: Don't
  allow unresizable windows to be smaller than required. Patch from
  upstream git (bgo#764174, boo#973416).

- Update to version 3.20.2:
  + Fix blue background in Emacs windows.
  + Fix a performance issue with excessive redraws.
  + Bugs fixed: bgo#763627, bgo#763783, bgo#763851, bgo#764022,
    bgo#764170, bgo#764210, bgo#764321, bgo#764376.
  + Updated translations.

OBS-URL: https://build.opensuse.org/request/show/383208
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gtk3?expand=0&rev=91
This commit is contained in:
Dominique Leuenberger 2016-04-05 08:42:40 +00:00 committed by Git OBS Bridge
commit 5380a15c61
5 changed files with 52 additions and 4 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ac86a01a57b4258ea70bc85b9494b333226eda6f5a2b0716ad48cfcded5f5380
size 19546504

3
gtk+-3.20.2.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:1ab1d1068ea55e0046f437d69983f164df5e68cb2e9fdfb38787b867f33f69f7
size 17199320

View File

@ -0,0 +1,28 @@
@@ -, +, @@
required
gtk/gtkwindow.c | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
--- a/gtk/gtkwindow.c
+++ a/gtk/gtkwindow.c
@@ -10036,14 +10036,16 @@ gtk_window_update_fixed_size (GtkWindow *window,
if (info->default_width > -1)
{
- new_geometry->min_width = MAX (default_width_csd, new_width);
- new_geometry->max_width = new_geometry->min_width;
+ gint w = MAX (MAX (default_width_csd, new_width), new_geometry->min_width);
+ new_geometry->min_width = w;
+ new_geometry->max_width = w;
}
if (info->default_height > -1)
{
- new_geometry->min_height = MAX (default_height_csd, new_height);
- new_geometry->max_height = new_geometry->min_height;
+ gint h = MAX (MAX (default_height_csd, new_height), new_geometry->min_height);
+ new_geometry->min_height = h;
+ new_geometry->max_height = h;
}
}
}

View File

@ -1,3 +1,20 @@
-------------------------------------------------------------------
Fri Apr 1 08:30:39 UTC 2016 - egeorget@openmailbox.org
- Add gtk3-bgo764174-boo973416-no-undersize.patch: gtkwindow: Don't
allow unresizable windows to be smaller than required. Patch from
upstream git (bgo#764174, boo#973416).
-------------------------------------------------------------------
Thu Mar 31 09:09:21 UTC 2016 - zaitor@opensuse.org
- Update to version 3.20.2:
+ Fix blue background in Emacs windows.
+ Fix a performance issue with excessive redraws.
+ Bugs fixed: bgo#763627, bgo#763783, bgo#763851, bgo#764022,
bgo#764170, bgo#764210, bgo#764321, bgo#764376.
+ Updated translations.
-------------------------------------------------------------------
Fri Mar 25 11:34:21 UTC 2016 - zaitor@opensuse.org

View File

@ -29,7 +29,7 @@
Name: gtk3
%define _name gtk+
Version: 3.20.1
Version: 3.20.2
Release: 0
Summary: The GTK+ toolkit library (version 3)
License: LGPL-2.1+
@ -47,6 +47,8 @@ Patch1: gtk3-path-local.patch
## 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 federico@novell.com - 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-bgo764174-boo973416-no-undersize.patch bgo#764174 boo#973416 egeorget@openmailbox.org -- gtkwindow: Don't allow unresizable windows to be smaller than required
Patch4: gtk3-bgo764174-boo973416-no-undersize.patch
BuildRequires: cups-devel >= 1.2
BuildRequires: docbook-xsl-stylesheets
BuildRequires: fdupes
@ -339,6 +341,7 @@ cp -a %{S:1} .
%patch1 -p0
## 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
%build
# Needed for patch1