Scripted push of GNOME 47

OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/libwnck?expand=0&rev=134
This commit is contained in:
Bjørn Lie 2024-09-30 07:52:11 +00:00 committed by Git OBS Bridge
commit ea31417d13
6 changed files with 1433 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

View File

@ -0,0 +1,25 @@
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)

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

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

1255
libwnck.changes Normal file

File diff suppressed because it is too large Load Diff

126
libwnck.spec Normal file
View File

@ -0,0 +1,126 @@
#
# spec file for package libwnck
#
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: libwnck
Version: 43.0
Release: 0
Summary: Window Navigator Construction Kit (Library Package)
License: LGPL-2.1-or-later
Group: Development/Libraries/GNOME
URL: https://git.gnome.org/browse/libwnck
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: gettext-devel
BuildRequires: gobject-introspection-devel
BuildRequires: meson
BuildRequires: pkgconfig
BuildRequires: pkgconfig(gtk+-3.0) >= 3.22.0
BuildRequires: pkgconfig(libstartup-notification-1.0)
BuildRequires: pkgconfig(x11)
BuildRequires: pkgconfig(xres)
%description
The Window Navigator Construction Kit is a library that can be used to
write task lists, pagers, and similar GNOME programs.
%package -n libwnck-3-0
Summary: Window Navigator Construction Kit (Library Package)
Group: Development/Libraries/GNOME
Provides: %{name} = %{version}
Obsoletes: %{name} < %{version}
#
%description -n libwnck-3-0
The Window Navigator Construction Kit is a library that can be used to
write task lists, pagers, and similar GNOME programs.
%package -n typelib-1_0-Wnck-3_0
Summary: Window Navigator Construction Kit (Library Package) -- Introspection bindings
Group: System/Libraries
%description -n typelib-1_0-Wnck-3_0
The Window Navigator Construction Kit is a library that can be used to
write task lists, pagers, and similar GNOME programs.
This package provides the GObject Introspection bindings for libwnck.
%package tools
Summary: Window Navigator Construction Kit -- Tools
Group: Development/Libraries/GNOME
%description tools
The Window Navigator Construction Kit is a library that can be used to
write task lists, pagers, and similar GNOME programs.
This package provides some utilities based on libwnck.
%package devel
Summary: Include Files and Libraries mandatory for Development
Group: Development/Libraries/GNOME
Requires: libwnck-3-0 = %{version}
Requires: typelib-1_0-Wnck-3_0 = %{version}
Obsoletes: libwnck-doc < %{version}
Provides: libwnck-doc = %{version}
%description devel
This package contains all necessary include files and libraries needed
to develop applications that require these.
%lang_package
%prep
%autosetup -p1
%build
%meson \
-Dintrospection=enabled \
%{nil}
%meson_build
%install
%meson_install
%find_lang %{name}-3.0
%fdupes %{buildroot}/{_prefix}
%post -n libwnck-3-0 -p /sbin/ldconfig
%postun -n libwnck-3-0 -p /sbin/ldconfig
%files tools
%{_bindir}/wnck-urgency-monitor
%{_bindir}/wnckprop
%files lang -f %{name}-3.0.lang
%files -n libwnck-3-0
%license COPYING
%{_libdir}/*.so.*
%files -n typelib-1_0-Wnck-3_0
%{_libdir}/girepository-1.0/Wnck-3.0.typelib
%files devel
%doc AUTHORS README NEWS ChangeLog
%{_includedir}/libwnck-3.0/
%{_libdir}/pkgconfig/libwnck-3.0.pc
%{_libdir}/*.so
%{_datadir}/gir-1.0/Wnck-3.0.gir
%changelog