Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package gtk3 for openSUSE:Factory checked in 
at 2021-04-24 23:06:56
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/gtk3 (Old)
 and      /work/SRC/openSUSE:Factory/.gtk3.new.12324 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "gtk3"

Sat Apr 24 23:06:56 2021 rev:166 rq:887495 version:3.24.28

Changes:
--------
--- /work/SRC/openSUSE:Factory/gtk3/gtk3.changes        2021-03-21 
23:19:59.816731555 +0100
+++ /work/SRC/openSUSE:Factory/.gtk3.new.12324/gtk3.changes     2021-04-24 
23:07:15.947234673 +0200
@@ -1,0 +2,18 @@
+Thu Apr 22 06:14:53 UTC 2021 - Dominique Leuenberger <dims...@opensuse.org>
+
+- Update to version 3.24.28:
+  + Input: Improve dead key handling.
+  + CSS: Fix rendering of scaled text shadows.
+  + Wayland: Fix matching of accelerators with multiple layouts.
+  + X11: Trap errors from the COW.
+  + Build: Make gtk3-update-icon-cache output reproducible.
+  + Updated translations.
+
+-------------------------------------------------------------------
+Wed Apr 21 12:29:38 UTC 2021 - QK ZHU <qk...@suse.com>
+
+- Add gtk3-prevent-g_file_get_basename-return-NULL.patch:
+  + Fix a possible crash in gtk_show_uri
+    (boo#1185082, glgo#GNOME/gtk!3458).
+
+-------------------------------------------------------------------

Old:
----
  gtk-3.24.27.obscpio

New:
----
  gtk-3.24.28.obscpio
  gtk3-prevent-g_file_get_basename-return-NULL.patch

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

Other differences:
------------------
++++++ gtk3.spec ++++++
--- /var/tmp/diff_new_pack.j9XVvJ/_old  2021-04-24 23:07:16.899236019 +0200
+++ /var/tmp/diff_new_pack.j9XVvJ/_new  2021-04-24 23:07:16.903236025 +0200
@@ -1,5 +1,5 @@
 #
-# spec file for package gtk3
+# spec file for package gtk3-doc
 #
 # Copyright (c) 2021 SUSE LLC
 # Copyright (c) 2010 Dominique Leuenberger, Amsterdam, Netherlands
@@ -18,24 +18,21 @@
 
 
 %global flavor @BUILD_FLAVOR@%{nil}
-
 %if "%{flavor}" == ""
 %global pname gtk3
 %bcond_with    doc
 %endif
-
 %if "%{flavor}" == "doc"
 %global pname gtk3-doc
 %bcond_without doc
 %endif
-
 # When updating the binary version, do not forget to also update baselibs.conf
 %define         gtk_binary_version 3.0.0
 %define _name   gtk
 %bcond_without  broadway
 %bcond_with     doc
 Name:           %{pname}
-Version:        3.24.27
+Version:        3.24.28
 Release:        0
 Summary:        The GTK+ toolkit library (version 3)
 License:        LGPL-2.1-or-later
@@ -50,15 +47,13 @@
 Patch0:         gtk3-GTK_PATH64.patch
 # PATCH-FIX-OPENSUSE gtk3-revert-forced-xftdpi.patch fv...@opensuse.org -- 
Revert very controversal commit on GTK3, forcing DPI to 96
 Patch1:         gtk3-revert-forced-xftdpi.patch
+# PATCH-FIX-UPSTREAM gtk3-prevent-g_file_get_basename-return-NULL.patch 
boo#1185082, glgo#GNOME/gtk!3458 qk...@suse.com -- Fix a possible crash in 
gtk_show_uri
+Patch2:         gtk3-prevent-g_file_get_basename-return-NULL.patch
 
 BuildRequires:  cups-devel >= 1.7
 BuildRequires:  docbook-xsl-stylesheets
 BuildRequires:  fdupes
 BuildRequires:  gettext-tools-mini >= 0.19.7
-# Autotools requires gtk-doc even with --disable-gtk-doc, try again with meson
-%if %{with doc} || 1
-BuildRequires:  gtk-doc
-%endif
 BuildRequires:  hicolor-icon-theme
 # libtool is needed since we are using a git checkout
 BuildRequires:  libtool
@@ -100,6 +95,10 @@
 BuildRequires:  pkgconfig(xinerama)
 BuildRequires:  pkgconfig(xkbcommon) >= 0.2.0
 BuildRequires:  pkgconfig(xrandr)
+# Autotools requires gtk-doc even with --disable-gtk-doc, try again with meson
+%if %{with doc} || 1
+BuildRequires:  gtk-doc
+%endif
 
 %description
 GTK+ is a multi-platform toolkit for creating graphical user interfaces.
@@ -111,9 +110,6 @@
 Group:          System/Libraries
 Requires:       %{name}-data >= %{version}
 Requires:       %{name}-schema >= %{version}
-# Recommend Adwaita Icon Theme: GTK3 references this icon set in the code,
-# but some setups might still want to eliminate it (think limited size Live 
CDs)
-Recommends:     adwaita-icon-theme
 # Require gdk-pixbuf-loader-rsvg - bsc#1007453. We require adwaita-icon-theme
 # so we need something to load the svg icons.
 Requires:       gdk-pixbuf-loader-rsvg
@@ -131,6 +127,9 @@
 Recommends:     %{name}-immodule-thai = %{version}
 Recommends:     %{name}-immodule-tigrigna = %{version}
 Recommends:     %{name}-immodule-vietnamese = %{version}
+# Recommend Adwaita Icon Theme: GTK3 references this icon set in the code,
+# but some setups might still want to eliminate it (think limited size Live 
CDs)
+Recommends:     adwaita-icon-theme
 Recommends:     gvfs
 # Provide %%{name} to make the lang and immodules packages installable
 Provides:       %{name} = %{version}
@@ -160,7 +159,7 @@
 Group:          System/Libraries
 Requires:       %{name} = %{version}
 Requires(post): %{name}-tools
-Requires(postun): %{name}-tools
+Requires(postun):%{name}-tools
 Provides:       locale(%{name}:am)
 
 %description immodule-amharic
@@ -175,7 +174,7 @@
 Group:          System/Libraries
 Requires:       %{name} = %{version}
 Requires(post): %{name}-tools
-Requires(postun): %{name}-tools
+Requires(postun):%{name}-tools
 
 %description immodule-broadway
 GTK+ is a multi-platform toolkit for creating graphical user interfaces.
@@ -189,7 +188,7 @@
 Group:          System/Libraries
 Requires:       %{name} = %{version}
 Requires(post): %{name}-tools
-Requires(postun): %{name}-tools
+Requires(postun):%{name}-tools
 Provides:       locale(%{name}:iu)
 
 %description immodule-inuktitut
@@ -204,7 +203,7 @@
 Group:          System/Libraries
 Requires:       %{name} = %{version}
 Requires(post): %{name}-tools
-Requires(postun): %{name}-tools
+Requires(postun):%{name}-tools
 
 %description immodule-multipress
 GTK+ is a multi-platform toolkit for creating graphical user interfaces.
@@ -219,7 +218,7 @@
 Group:          System/Libraries
 Requires:       %{name} = %{version}
 Requires(post): %{name}-tools
-Requires(postun): %{name}-tools
+Requires(postun):%{name}-tools
 Provides:       locale(%{name}:lo)
 Provides:       locale(%{name}:th)
 
@@ -235,7 +234,7 @@
 Group:          System/Libraries
 Requires:       %{name} = %{version}
 Requires(post): %{name}-tools
-Requires(postun): %{name}-tools
+Requires(postun):%{name}-tools
 Provides:       %{name}-immodules-tigrigna = %{version}
 Provides:       locale(%{name}:ti)
 Obsoletes:      %{name}-immodules-tigrigna < %{version}
@@ -252,7 +251,7 @@
 Group:          System/Libraries
 Requires:       %{name} = %{version}
 Requires(post): %{name}-tools
-Requires(postun): %{name}-tools
+Requires(postun):%{name}-tools
 Provides:       locale(%{name}:vi)
 
 %description immodule-vietnamese
@@ -267,7 +266,7 @@
 Group:          System/Libraries
 Requires:       %{name} = %{version}
 Requires(post): %{name}-tools
-Requires(postun): %{name}-tools
+Requires(postun):%{name}-tools
 
 %description immodule-wayland
 GTK+ is a multi-platform toolkit for creating graphical user interfaces.
@@ -282,7 +281,7 @@
 Group:          System/Libraries
 Requires:       %{name} = %{version}
 Requires(post): %{name}-tools
-Requires(postun): %{name}-tools
+Requires(postun):%{name}-tools
 Provides:       locale(%{name}:ja)
 Provides:       locale(%{name}:ko)
 Provides:       locale(%{name}:th)
@@ -299,7 +298,7 @@
 Summary:        Auxiliary utilities for the GTK+ toolkit library v3
 Group:          System/Libraries
 Requires(post): update-alternatives
-Requires(postun): update-alternatives
+Requires(postun):update-alternatives
 
 %description tools
 GTK+ is a multi-platform toolkit for creating graphical user interfaces.
@@ -330,7 +329,7 @@
 Summary:        Upstream theme configuration for the GTK+ toolkit library v3
 Group:          System/Libraries
 Requires:       libgtk-3-0 = %{version}
-Supplements:    packageand(%{name}:branding-upstream)
+Supplements:    (%{name} and branding-upstream)
 Conflicts:      %{name}-branding
 Provides:       %{name}-branding = %{version}
 BuildArch:      noarch
@@ -398,6 +397,7 @@
 %patch0 -p1
 %endif
 %patch1 -p1
+%patch2 -p1
 
 %build
 NOCONFIGURE=1 ./autogen.sh
@@ -416,12 +416,12 @@
         %{nil}
 
 %if "%{flavor}" == ""
-make %{?_smp_mflags} V=1
+%make_build
 %else
-make %{?_smp_mflags} V=1 -C gdk
-make %{?_smp_mflags} V=1 -C gtk
-make %{?_smp_mflags} V=1 -C tests
-make %{?_smp_mflags} V=1 -C docs
+%make_build -C gdk
+%make_build -C gtk
+%make_build -C tests
+%make_build -C docs
 %endif
 
 %install
@@ -554,6 +554,7 @@
 %endif
 
 %postun -n libgtk-3-0 -p /sbin/ldconfig
+
 %postun immodule-amharic
 %{_gtk_query_immodules_update_cache}
 
@@ -664,11 +665,11 @@
 %ghost %{_sysconfdir}/alternatives/gtk-update-icon-cache
 %{_datadir}/applications/gtk3-icon-browser.desktop
 %{_mandir}/man1/broadwayd.1%{?ext_man}
-%{_mandir}/man1/gtk3-icon-browser.1%{ext_man}
+%{_mandir}/man1/gtk3-icon-browser.1%{?ext_man}
 %{_mandir}/man1/gtk-builder-tool.1%{?ext_man}
 %{_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-immodules-3.0*.1%{?ext_man}
 %{_mandir}/man1/gtk-query-settings.1%{?ext_man}
 %{_mandir}/man1/gtk-update-icon-cache-3.0.1%{?ext_man}
 %{_mandir}/man1/gtk-update-icon-cache.1%{?ext_man}

++++++ _service ++++++
--- /var/tmp/diff_new_pack.j9XVvJ/_old  2021-04-24 23:07:16.947236087 +0200
+++ /var/tmp/diff_new_pack.j9XVvJ/_new  2021-04-24 23:07:16.947236087 +0200
@@ -3,7 +3,7 @@
   <service name="obs_scm" mode="disabled">
     <param name="url">https://gitlab.gnome.org/GNOME/gtk.git</param>
     <param name="scm">git</param>
-    <param name="revision">3.24.27</param>
+    <param name="revision">3.24.28</param>
     <param name="versionformat">@PARENT_TAG@+@TAG_OFFSET@</param>
     <param name="versionrewrite-pattern">(.*)\+0</param>
     <param name="versionrewrite-replacement">\1</param>

++++++ gtk-3.24.27.obscpio -> gtk-3.24.28.obscpio ++++++
/work/SRC/openSUSE:Factory/gtk3/gtk-3.24.27.obscpio 
/work/SRC/openSUSE:Factory/.gtk3.new.12324/gtk-3.24.28.obscpio differ: char 49, 
line 1

++++++ gtk.obsinfo ++++++
--- /var/tmp/diff_new_pack.j9XVvJ/_old  2021-04-24 23:07:17.003236166 +0200
+++ /var/tmp/diff_new_pack.j9XVvJ/_new  2021-04-24 23:07:17.003236166 +0200
@@ -1,5 +1,5 @@
 name: gtk
-version: 3.24.27
-mtime: 1615563717
-commit: c7df3b9e9790012e6c5fbad6a4f4519bcf75561f
+version: 3.24.28
+mtime: 1616810069
+commit: 23db3508899f8304482b68e04a181bb081549081
 

++++++ gtk3-prevent-g_file_get_basename-return-NULL.patch ++++++
commit ce2a433ca157b444b54646aa0383ff5b75cc41f9
Author: Matthias Clasen <mcla...@redhat.com>
Date:   Mon Apr 19 16:39:53 2021 -0400

    Fix a possible crash in gtk_show_uri
    
    g_file_get_basename can return NULL.
    Deal with it somehow.
    
    Fixes: #3883

diff --git a/gdk/x11/gdkapplaunchcontext-x11.c 
b/gdk/x11/gdkapplaunchcontext-x11.c
index 206c34e52d..43c190e5e6 100644
--- a/gdk/x11/gdkapplaunchcontext-x11.c
+++ b/gdk/x11/gdkapplaunchcontext-x11.c
@@ -45,6 +45,9 @@ get_display_name (GFile     *file,
   if (name == NULL)
     {
       name = g_file_get_basename (file);
+      if (name == NULL)
+        name = g_file_get_uri (file);
+
       if (!g_utf8_validate (name, -1, NULL))
         {
           tmp = name;

Reply via email to