From 39ca2aba3c0db1e84da3fc71275b292fcae85248838542e40604d41f7771cbc4 Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Fri, 19 Feb 2016 14:31:24 +0000 Subject: [PATCH] Accepting request 360309 from GNOME:Next Scripted push of project GNOME:Next OBS-URL: https://build.opensuse.org/request/show/360309 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gtk3?expand=0&rev=216 --- gtk+-3.18.7.tar.xz | 3 - gtk+-3.19.9.tar.xz | 3 + gtk3-revert-kp_decimal_handling.patch | 62 ------ gtk3.changes | 280 ++++++++++++++++++++++++++ gtk3.spec | 22 +- 5 files changed, 296 insertions(+), 74 deletions(-) delete mode 100644 gtk+-3.18.7.tar.xz create mode 100644 gtk+-3.19.9.tar.xz delete mode 100644 gtk3-revert-kp_decimal_handling.patch diff --git a/gtk+-3.18.7.tar.xz b/gtk+-3.18.7.tar.xz deleted file mode 100644 index cfd3f2c..0000000 --- a/gtk+-3.18.7.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:a76e1cb0ac45ce5c2734f6778f2731a5c6a23d1ff6bd4db357774f014ee68820 -size 16815772 diff --git a/gtk+-3.19.9.tar.xz b/gtk+-3.19.9.tar.xz new file mode 100644 index 0000000..e9227c1 --- /dev/null +++ b/gtk+-3.19.9.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:65b6a7ba9c945c747500dc0071e6d99b12739860d0f6a71b842ea776f402b90c +size 19638704 diff --git a/gtk3-revert-kp_decimal_handling.patch b/gtk3-revert-kp_decimal_handling.patch deleted file mode 100644 index 7d06de0..0000000 --- a/gtk3-revert-kp_decimal_handling.patch +++ /dev/null @@ -1,62 +0,0 @@ -From 4eb333801b517c58b896d82dcd129768e76d0e0e Mon Sep 17 00:00:00 2001 -From: Matthias Clasen -Date: Fri, 8 Jan 2016 08:59:02 -0500 -Subject: [PATCH] Revert "Translate GDK_KEY_KP_Decimal according to locale" - -This reverts commit 7c7fde136e1fd1197df1881a3bbd975c4cb1c01a. - -Too much controversy for this minor improvement. -See https://bugzilla.gnome.org/show_bug.cgi?id=756751 ---- - gdk/gdkkeyuni.c | 21 --------------------- - 1 file changed, 21 deletions(-) - -diff --git a/gdk/gdkkeyuni.c b/gdk/gdkkeyuni.c -index ea28010..d770737 100644 ---- a/gdk/gdkkeyuni.c -+++ b/gdk/gdkkeyuni.c -@@ -27,7 +27,6 @@ - #include "gdkkeys.h" - #include "gdktypes.h" - --#include - - /* Thanks to Markus G. Kuhn for the ksysym<->Unicode - * mapping functions, from the xterm sources. -@@ -873,23 +872,6 @@ static const struct { - #endif - }; - --static gunichar --get_decimal_point (void) --{ -- struct lconv *locale_data; -- const gchar *decimal_point; -- gunichar ret; -- -- locale_data = localeconv (); -- decimal_point = locale_data->decimal_point; -- -- ret = g_utf8_get_char_validated (decimal_point, -1); -- if (ret != (gunichar)-2 && ret != (gunichar)-1) -- return ret; -- -- return (gunichar) '.'; --} -- - /** - * gdk_keyval_to_unicode: - * @keyval: a GDK key symbol -@@ -917,9 +899,6 @@ gdk_keyval_to_unicode (guint keyval) - if ((keyval & 0xff000000) == 0x01000000) - return keyval & 0x00ffffff; - -- if (keyval == 0xffae) -- return (guint32) get_decimal_point (); -- - /* binary search in table */ - while (max >= min) { - mid = (min + max) / 2; --- -2.6.2 - diff --git a/gtk3.changes b/gtk3.changes index d2b2d1e..e067018 100644 --- a/gtk3.changes +++ b/gtk3.changes @@ -1,3 +1,282 @@ +------------------------------------------------------------------- +Wed Feb 17 09:41:19 UTC 2016 - zaitor@opensuse.org + +- Update to version 3.19.9: + + gtk-builder-tool can now preview .ui files with custom CSS. + + gtk3-demo now demonstrates saving window sizes in the + application example, and has many more widgets in the foreign + drawing example. + + CSS changes: + - the rem unit is now supported. + - calc() expressions are supported, too. + + Themes: + - Many fixes to Adwaita. + - The Windows theme is now included on all platforms. + + Windows + - The Classic and XP themes have been dropped. + - The remaining theme is being fixed to work with CSS nodes. + - React to theme changes. + + Quartz: Fix image retrieval from the clipboard. + + Wayland: Fix a significant buffer leak. + + Bugs fixed: bgo#677329, bgo#698652, bgo#754990, bgo#759657, + bgo#760996, bgo#761209, bgo#761309, bgo#761312, bgo#761332, + bgo#761339, bgo#761363, bgo#761381, bgo#761402, bgo#761428, + bgo#761474, bgo#761476, bgo#761484, bgo#761552, bgo#761571, + bgo#761686, bgo#761716, bgo#761757, bgo#761775, bgo#761778, + bgo#761791, bgo#761792, bgo#761826, bgo#761828, bgo#761829, + bgo#761838, bgo#761900, bgo#761903, bgo#761954, bgo#762021, + bgo#762032, bgo#762036, bgo#762067, bgo#762080, bgo#753351, + bgo#762120, bgo#762165. + + Updated translations. + +------------------------------------------------------------------- +Wed Feb 17 03:19:09 UTC 2016 - zaitor@opensuse.org + +- Update to version 3.19.8: + + GtkEntry: + - Complete gadget conversion for entries and spin buttons. + - Add a visual hint for scrolling ('undershoot'). + + GtkStack: Turn into a no-window widget. + + CSS changes: + - Allow loading svg images. + - Fix baseline handling. + - -gtk-recolor() works properly with hi-dpi now. + - image() can be used in CSS now. + + Themes: New radio / check implementation. + + Tools: gtk-builder-tool can now preview .ui files. + + Bugs fixed: bgo#464528, bgo#608865, bgo#688524, bgo#690791, + bgo#727294, bgo#754868, bgo#754990, bgo#760522, bgo#760714, + bgo#760754, bgo#760881, bgo#760891, bgo#760897, bgo#760933, + bgo#760942, bgo#760967, bgo#761005, bgo#761095, bgo#761128, + bgo#761254, bgo#761026, bgo#761318. + + Updated translations. + +------------------------------------------------------------------- +Wed Feb 17 03:19:08 UTC 2016 - zaitor@opensuse.org + +- Update to version 3.19.7: + + GtkNotebook: + - Has been converted to use gadgets. + - Style properties have been deprecated. + + GtkTextView: Offers (some) control over cursor blinking. + + CSS changes: + - Fix rendering of asymmetric borders. + - Add CSS names to more widgets. + - Support recoloring icons with -gtk-recolor. + + Themes: Many Adwaita fixes. + + GTK+ widget drawing scalability has been improved (for + containers with many children, like large list boxes or flow + boxes). + + Drag-and-Drop has been rearchitected to move the input handling + into GDK, where different backends can handle it according to + their needs and capabilities. The new, 'managed' DND is + currently implemented for X11 and Wayland. + + Wayland: + - Support kinetic scrolling, using the new events in version 5 + of the wl_pointer interface. + - Suppport DND actions and drag cancellation that were added in + version 3 of the wl_data_offer interface. + + Bugs fixed: bgo#722727, bgo#722937, bgo#748327, bgo#756729, + bgo#757503, bgo#759785, bgo#759898, bgo#760350, bgo#760388, + bgo#760416, bgo#760427, bgo#760445, bgo#760509, bgo#760524, + bgo#760525, bgo#760528, bgo#760536, bgo#760572, bgo#760596, + bgo#760615, bgo#760640, bgo#760663, bgo#760668, bgo#760680, + bgo#760748, bgo#760754, bgo#756729, bgo#760370. + + Updated translations. +- Drop gtk3-qemu-usb-tablet-is-no-real-touchscreen.patch: Fixed + upstream. + +------------------------------------------------------------------- +Wed Feb 17 03:19:07 UTC 2016 - damjanovic.ivo@gmail.com + +- Updated to version 3.19.6: + + CSS changes: + - CSS margins, border and padding are more consistently + supported. + - More widgets support min-width and min-height. + - More style properties have been superseded by CSS properties. + - Pseudo state names have been aligned with what CSS uses: + :disabled instead of :insensitive, :indeterminate instead of + :inconsistent and :drop(active) instead of :dnd. The old + names still work. + - GTK+ specific CSS properties have been prefixed with -gtk-. + The old names still work. + - The CSS syntax for Radial gradients is now supported. + - CSS documentation has been rewritten and expanded. + + Themes: GTK+ now includes a HighContrastInverse theme which is + a dark variant of the HighContrast theme. + + Inspector: The inspector can now highlight widgets that are + causing resizes, which can be helpful in tracking down + allocation loops. + + Wayland: + - Prefer subsurfaces for temporary windows when possible, + to fix placement issues. + - Improve handling of dialogs without transient parent. + - Force a grab cursor while a popup is shown. + + Bugs fixed: bgo#728344, bgo#753520, bgo#756618, bgo#757147, + bgo#757411, bgo#759161, bgo#759299, bgo#759541, bgo#759567, + bgo#759586, bgo#759607, bgo#759664, bgo#759668, bgo#759670, + bgo#759705, bgo#759738, bgo#759764, bgo#759768, bgo#759771, + bgo#759857, bgo#759905, bgo#759917, bgo#760018, bgo#760082, + bgo#760097, bgo#760141, bgo#760148, bgo#760169, bgo#760188, + bgo#760202, bgo#760213, bgo#760238, bgo#760314. + + Updated translations. +- Drop gtk3-fix-gtkborder-build-regression.patch: Fixed upstream. +- Drop gtk3-revert-kp_decimal_handling.patch: fixed upstream. + +------------------------------------------------------------------- +Wed Feb 17 03:19:06 UTC 2016 - fcrozat@suse.com + +- Add gtk3-fix-gtkborder-build-regression.patch: backport fix + gtkborder build regression with some libraries/applications. + +------------------------------------------------------------------- +Wed Feb 17 03:19:05 UTC 2016 - dimstar@opensuse.org + +- Update to version 3.19.5: + + GtkShortcutsWindow: GtkShortcutsGesture has been removed, since + GtkShortcutsShortcut can now document gestures. + + GtkFileChooser: + - The places view now shows the available space when that + information is available. + - Problems with remembering the dialog size have been fixed. + + CSS changes: + - CSS margins, border and padding are more consistently + supported. + - Many widgets now support min-width and min-height. + - Many style properties have been superseded by CSS properties. + + Adwaita: Some visual updates and fixes. + + Wayland: DND with icon widgets is working properly. + + GDK: + - More of the DND implementation is now handled in GDK: + creating the drag window, moving the window along with the + cursor, the drag cancel animation. + - GdkSeat is a new API that supersedes grabs on individual + devices and is a better fit for backends like Wayland or Mir. + + Bugs fixed: bgo#708394, bgo#729593, bgo#755947, bgo#756191, + bgo#758929, bgo#759079, bgo#759081, bgo#759091, bgo#759092, + bgo#759168, bgo#759225, bgo#759260, bgo#759309, bgo#759323. +- Changes from version 3.19.4: + + GtkPopover can now be instructed to stay within the toplevel + window on platforms that don't already enforce this (such as + Wayland). + + Wayland: + - Memory leak fixes. + - Window positioning and sizing fixes. + - Clipboard and DND fixes. + - New build dependency: wayland-protocols. + + CSS changes: + - The -gtk-image-effect property was renamed to + -gtk-icon-effect. + - Active spinners are now :checked, not :active. + - A -gtk-icontheme property has been added. + - A -gtk-icon-palette has been added to allow recoloring + symbolic icons. + - Drag highlighting uses the new :dnd pseudoclass. + + DND: + - Make drag highlighting themable. + - Stop using RGBA cursors for drag icons (this only ever worked + on X11). + - Change the handling of drag windows to work on Wayland. The + drag window implementation has been moved to GDK, with the + new function gdk_drag_context_get_drag_window. + - Non-toplevel widgets can be used as drag widgets. + + Bugs fixed: bgo#539944, bgo#732742, bgo#735847, bgo#747295, + bgo#756618, bgo#757147, bgo#757282, bgo#757474, bgo#758483, + bgo#758484, bgo#758563, bgo#758609, bgo#758634, bgo#758660, + bgo#758661, bgo#758698, bgo#758713, bgo#758790, bgo#758901, + bgo#758908, bgo#758930, bgo#758936, bgo#759018. + + Updated translations. +- Add pkgconfig(wayland-protocols) BuildRequires: new dependency. +- Drop Add gtk3-gdk_pixbuf_get_from_surface.patch: Fixed upstream. + +------------------------------------------------------------------- +Wed Feb 17 03:19:03 UTC 2016 - zaitor@opensuse.org + +- Update to version 3.19.3: + + Theming changes: + - Non-standard CSS properties have been renamed to have a -gtk- + prefix (the old names still work, with a warning): + gtk-key-bindings is now -gtk-key-bindings icon-shadow is now + -gtk-icon-shadow. + - CSS parsing errors and warnings are shown in the inspector + + GtkShortcutsWindow: + - Widgets are more complete, to allow supporting them in glade. + - GtkShortcutsShortcut can now show gestures as well, + GtkShortcutsGesture is no longer needed and will be removed + soon. + - GtkShortcutsShortcut supports standard gestures, with + predefined icons and subtitles. + + Bugs fixed: bgo#746745, bgo#758025, bgo#758094, bgo#758187, + bgo#758367, bgo#758407, bgo#758442. + + Updated translations. +- Changes from version 3.19.2: + + Most widgets have been ported to CSS nodes. The element names + and the tree relationships are documented now. The Adwaita and + HighContrast themes have been mostly kept up-to-date with these + changes. Third-party themes and custom CSS will need + adjustments. + + The inspector now shows CSS nodes and allows to manipulate + them. + + Size allocation has been simplified to avoid excessive resizes + of the entire window. + + GtkShortcutsWindow can now display direction-dependent + shortcuts and sequences of keys. + + Support for native file chooser on Win32 when using the new + GtkFileChooserNative API, and when using GtkFileChooserButton. + + The GtkFileChooser interface prerequisite was changed from + GtkWidget to GObject to allow non-widget filechooser + implementations. + + focus-on-click has been moved from various subclasses to + GtkWidget, so it is now available for every widget, in + particular GtkListBoxRow. + + Bugs fixed: bgo#735341, bgo#748904, bgo#756618, bgo#756625, + bgo#756670, bgo#756978, bgo#757221, bgo#757269, bgo#757324, + bgo#757358, bgo#757377, bgo#757397, bgo#757805, bgo#757888, + bgo#757950, bgo#757968, bgo#757984, bgo#758072, bgo#758087, + bgo#758208, bgo#758327, bgo#758086, bgo#758175. + + Updated translations. +- Changes from version 3.19.1: + + Support for help overlays to document keyboard shortcuts and + gestures has been added. + + GdkAppLaunchContext is now setting the DISPLAY environment + variable for X11. + + Support for GL legacy profiles has been added back. + + GTK+ now loads compose tables in the format used by XLib from + ~/.config/gtk-3.0/Compose, ~/.XCompose and the X11 locale + information. + + GtkBuilder can now create GFile objects, for use in e.g. + GFileIcons. + + New APIs: + - GtkShortcutsWindow + - gtk_text_tag_changed + - gtk_settings_reset_property + - gdk_rectangle_equal + - gdk_gl_context_is_legacy + + A new commandline utility, gtk-query-settings, to query GTK+ + settings, has been added. + + Theming: Element names are now supported. A number of widgets + have already been changed to use element names for the widget + itself and its various subelements. This effort will continue + in next development releases. This change will require + adjustments in themes and custom css - as part of this + transition, the element names and style classes in use are + documented and will be stable going forward. + + Debugging: GtkInspector can now edit string-array-valued + properties. + + Wayland: + - Fix transparent terminals. + - Fix treeview search popups. + - Fix CSD window resizing / moving. + + Bugs fixed: bgo#721120, bgo#735341, bgo#753371, bgo#753992, + bgo#754983, bgo#755008, bgo#755413, bgo#755416, bgo#755654, + bgo#755791, bgo#755927, bgo#755988, bgo#756042, bgo#756142, + bgo#756160, bgo#756174, bgo#756195, bgo#756338, bgo#756428, + bgo#756439, bgo#756449, bgo#756496, bgo#756505, bgo#756568, + bgo#756589, bgo#756618, bgo#756625, bgo#756751, bgo#756770, + bgo#756852, bgo#756881, bgo#756886, bgo#756780, bgo#757147. + + Updated translations. + ------------------------------------------------------------------- Tue Feb 16 09:08:26 UTC 2016 - fcrozat@suse.com @@ -33,6 +312,7 @@ Sat Dec 26 14:19:15 UTC 2015 - zaitor@opensuse.org - Add gtk3-gdk_pixbuf_get_from_surface.patch: Restore old behavior. ------------------------------------------------------------------- + Sun Dec 6 11:57:43 UTC 2015 - zaitor@opensuse.org - Update to version 3.18.6: diff --git a/gtk3.spec b/gtk3.spec index 86a4a8f..0412d18 100644 --- a/gtk3.spec +++ b/gtk3.spec @@ -29,13 +29,13 @@ Name: gtk3 %define _name gtk+ -Version: 3.18.7 +Version: 3.19.9 Release: 0 Summary: The GTK+ toolkit library (version 3) License: LGPL-2.1+ Group: System/Libraries Url: http://www.gtk.org/ -Source: http://download.gnome.org/sources/gtk+/3.18/%{_name}-%{version}.tar.xz +Source: http://download.gnome.org/sources/gtk+/3.19/%{_name}-%{version}.tar.xz Source1: README.SUSE Source2: settings.ini Source3: macros.gtk3 @@ -47,8 +47,6 @@ 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-revert-kp_decimal_handling.patch bgo#756751 fcrozat@suse.com -- Revert local-based kp_decimal handling -Patch4: gtk3-revert-kp_decimal_handling.patch BuildRequires: cups-devel >= 1.2 BuildRequires: docbook-xsl-stylesheets BuildRequires: fdupes @@ -58,16 +56,16 @@ BuildRequires: gnome-common BuildRequires: hicolor-icon-theme BuildRequires: translation-update-upstream BuildRequires: xsltproc -BuildRequires: pkgconfig(atk) >= 2.12.0 +BuildRequires: pkgconfig(atk) >= 2.15.1 BuildRequires: pkgconfig(atk-bridge-2.0) BuildRequires: pkgconfig(cairo) >= 1.14.0 BuildRequires: pkgconfig(colord) BuildRequires: pkgconfig(epoxy) >= 1.0 BuildRequires: pkgconfig(fontconfig) BuildRequires: pkgconfig(gdk-pixbuf-2.0) >= 2.30.0 -BuildRequires: pkgconfig(glib-2.0) >= 2.43.4 +BuildRequires: pkgconfig(glib-2.0) >= 2.45.8 BuildRequires: pkgconfig(gmodule-2.0) -BuildRequires: pkgconfig(gobject-introspection-1.0) >= 1.32.0 +BuildRequires: pkgconfig(gobject-introspection-1.0) >= 1.39.0 BuildRequires: pkgconfig(json-glib-1.0) BuildRequires: pkgconfig(pango) >= 1.37.3 BuildRequires: pkgconfig(pangoft2) @@ -82,9 +80,10 @@ BuildRequires: pkgconfig(xi) BuildRequires: pkgconfig(xinerama) BuildRequires: pkgconfig(xrandr) %if %{build_wayland_backend} -BuildRequires: pkgconfig(wayland-client) >= 1.5.91 +BuildRequires: pkgconfig(wayland-client) >= 1.9.90 BuildRequires: pkgconfig(wayland-cursor) BuildRequires: pkgconfig(wayland-egl) +BuildRequires: pkgconfig(wayland-protocols) >= 1.0 BuildRequires: pkgconfig(xkbcommon) %endif BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -340,7 +339,6 @@ 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 @@ -586,6 +584,7 @@ fi %{_bindir}/gtk-encode-symbolic-svg %{_bindir}/gtk-launch %{_bindir}/gtk-query-immodules-3.0* +%{_bindir}/gtk-query-settings %{_bindir}/gtk-update-icon-cache-3.0 %ghost %{_bindir}/gtk-update-icon-cache %{_datadir}/applications/gtk3-icon-browser.desktop @@ -595,6 +594,7 @@ fi %{_mandir}/man1/gtk-encode-symbolic-svg.1%{?ext_man} %{_mandir}/man1/gtk-launch.1%{?ext_man} %{_mandir}/man1/gtk-query-immodules-3.0*.1* +%{_mandir}/man1/gtk-query-settings.1%{?ext_man} %{_mandir}/man1/gtk-update-icon-cache-3.0.1* %ghost %{_mandir}/man1/gtk-update-icon-cache.1* @@ -659,5 +659,9 @@ fi %{_libdir}/libgdk-3.so %{_libdir}/libgtk-3.so %{_sysconfdir}/rpm/macros.gtk3 +%dir %{_datadir}/gettext/ +%dir %{_datadir}/gettext/its/ +%{_datadir}/gettext/its/gtkbuilder.its +%{_datadir}/gettext/its/gtkbuilder.loc %changelog