Accepting request 1206269 from GNOME:Factory

OBS-URL: https://build.opensuse.org/request/show/1206269
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libwnck?expand=0&rev=95
This commit is contained in:
Ana Guerrero 2024-10-08 15:16:45 +00:00 committed by Git OBS Bridge
commit cddfe5af24
5 changed files with 16 additions and 31 deletions

View File

@ -1,25 +0,0 @@
From: Alberts Muktupavels <alberts.muktupavels@gmail.com>
Date: 2022-09-20 15:40:22 +0300
Subject: Avoid segfault in invalidate_icons
References: boo#1204157 lp#1990263 glgo#GNOME/libwnck!46
Upstream: submitted
Screens variable won't be initialized if default icon sizes are
set/changed before using wnck_screen_get_default
---
libwnck/wnck-handle.c | 3 +++
1 file changed, 3 insertions(+)
--- a/libwnck/wnck-handle.c 2022-11-09 14:54:06.445579490 +0100
+++ b/libwnck/wnck-handle.c 2022-11-09 14:54:45.522267274 +0100
@@ -70,6 +70,9 @@
Display *xdisplay;
int i;
+ if (self->screens == NULL)
+ return;
+
xdisplay = _wnck_get_default_display ();
for (i = 0; i < ScreenCount (xdisplay); ++i)

View File

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

3
libwnck-43.1.tar.xz Normal file
View File

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

View File

@ -1,3 +1,15 @@
-------------------------------------------------------------------
Sat Oct 5 12:07:44 UTC 2024 - Bjørn Lie <bjorn.lie@gmail.com>
- Update to version 43.1:
+ Return correct number of application windows.
+ Avoid showing pointless tooltips.
+ Do not remove underscores form window titles.
+ Do not crash if XRes 1.2 is not available.
+ Do not crash if display is not available.
- Drop handle-avoid-segfault-in-invalidate-icons.patch: Fixed
upstream.
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Aug 19 11:33:54 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org> Mon Aug 19 11:33:54 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>

View File

@ -17,15 +17,13 @@
Name: libwnck Name: libwnck
Version: 43.0 Version: 43.1
Release: 0 Release: 0
Summary: Window Navigator Construction Kit (Library Package) Summary: Window Navigator Construction Kit (Library Package)
License: LGPL-2.1-or-later License: LGPL-2.1-or-later
Group: Development/Libraries/GNOME Group: Development/Libraries/GNOME
URL: https://git.gnome.org/browse/libwnck URL: https://git.gnome.org/browse/libwnck
Source0: https://download.gnome.org/sources/libwnck/43/%{name}-%{version}.tar.xz Source0: https://download.gnome.org/sources/libwnck/43/%{name}-%{version}.tar.xz
# PATCH-FIX-UPSTREAM handle-avoid-segfault-in-invalidate-icons.patch glgo#GNOME/libwnck#46 -- avoid segfault in invalidate_icons
Patch0: handle-avoid-segfault-in-invalidate-icons.patch
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: gettext-devel BuildRequires: gettext-devel