From 5b81654ba58e48e0727b2c196dcc45768869f0c050663866c2d9e07535c084c5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Lie?= Date: Thu, 20 Jul 2017 11:38:14 +0000 Subject: [PATCH] Accepting request 511578 from GNOME:Next New stable release + file-triggers migration OBS-URL: https://build.opensuse.org/request/show/511578 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gtk3?expand=0&rev=282 --- gtk+-3.22.16.tar.xz | 3 --- gtk+-3.22.17.tar.xz | 3 +++ gtk3.changes | 21 +++++++++++++++++++++ gtk3.spec | 20 +++++++++++++++++++- 4 files changed, 43 insertions(+), 4 deletions(-) delete mode 100644 gtk+-3.22.16.tar.xz create mode 100644 gtk+-3.22.17.tar.xz diff --git a/gtk+-3.22.16.tar.xz b/gtk+-3.22.16.tar.xz deleted file mode 100644 index 09a4675..0000000 --- a/gtk+-3.22.16.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:3e0c3ad01f3c8c5c9b1cc1ae00852bd55164c8e5a9c1f90ba5e07f14f175fe2c -size 18655144 diff --git a/gtk+-3.22.17.tar.xz b/gtk+-3.22.17.tar.xz new file mode 100644 index 0000000..259c154 --- /dev/null +++ b/gtk+-3.22.17.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a6c1fb8f229c626a3d9c0e1ce6ea138de7f64a5a6bc799d45fa286fe461c3437 +size 18702864 diff --git a/gtk3.changes b/gtk3.changes index 8eb3995..1b98dc9 100644 --- a/gtk3.changes +++ b/gtk3.changes @@ -1,3 +1,24 @@ +------------------------------------------------------------------- +Wed Jul 19 07:05:03 UTC 2017 - zaitor@opensuse.org + +- Update to version 3.22.17: + + Add native file chooser support for OS X. + + Bugs fixed: bgo#766517, bgo#781583, bgo#781935, bgo#781936, + bgo#782040, bgo#782325, bgo#784323, bgo#784723, bgo#784888. + + Updated translations. + +------------------------------------------------------------------- +Tue Jun 27 12:24:12 UTC 2017 - dimstar@opensuse.org + +- Migrate %icon_theme_cache_post/postun macro from + hicolor-icon-theme to gtk3-tools file triggers. Any package + installing icons below /usr/share/icons will trigger. Each + package will produce the cache for every icon theme being + updated. The same trigger is also added to gtk2-tools, where only + the one owning the current instance of + /usr/bin/gtk-update-icon-cache update-alternative link actually + executes the update. + ------------------------------------------------------------------- Wed Jun 21 07:33:55 UTC 2017 - dimstar@opensuse.org diff --git a/gtk3.spec b/gtk3.spec index 46f68f7..b7e8e11 100644 --- a/gtk3.spec +++ b/gtk3.spec @@ -29,7 +29,7 @@ Name: gtk3 %define _name gtk+ -Version: 3.22.16 +Version: 3.22.17 Release: 0 Summary: The GTK+ toolkit library (version 3) License: LGPL-2.1+ @@ -479,6 +479,24 @@ fi update-alternatives --install %{_bindir}/gtk-update-icon-cache gtk-update-icon-cache %{_bindir}/gtk-update-icon-cache-3.0 3 \ --slave %{_mandir}/man1/gtk-update-icon-cache.1.gz gtk-update-icon-cache.1.gz %{_mandir}/man1/gtk-update-icon-cache-3.0.1.gz +%filetriggerin tools -- %{_datadir}/icons +if [ "$(realpath %{_bindir}/gtk-update-icon-cache)" = "%{_bindir}/gtk-update-icon-cache-3.0" ]; then + for ICON_THEME in $(cut -d / -f 5 | sort -u); do + if [ -f "%{_datadir}/icons/${ICON_THEME}/index.theme" ]; then + %{_bindir}/gtk-update-icon-cache --quiet --force "%{_datadir}/icons/${ICON_THEME}" + fi + done +fi + +%filetriggerpostun tools -- %{_datadir}/icons +if [ "$(realpath %{_bindir}/gtk-update-icon-cache)" = "%{_bindir}/gtk-update-icon-cache-3.0" ]; then + for ICON_THEME in $(cut -d / -f 5 | sort -u); do + if [ -f "%{_datadir}/icons/${ICON_THEME}/index.theme" ]; then + %{_bindir}/gtk-update-icon-cache --quiet --force "%{_datadir}/icons/${ICON_THEME}" + fi + done +fi + %post schema %glib2_gsettings_schema_post