Skip to content

Commit 001566d

Browse files
authored
libwnck3: Update Version from 3.36.0 -> 43.1 (#11134)
1 parent 7f48175 commit 001566d

8 files changed

Lines changed: 2617 additions & 24 deletions
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
22
"Signatures": {
3-
"libwnck-3.36.0.tar.xz": "bc508150b3ed5d22354b0e6774ad4eee465381ebc0ace45eb0e2d3a4186c925f"
3+
"libwnck-43.1.tar.xz": "634b4587b7367a493d3818c4b57740dac06153cf8f25cd64f5af16b657dd6845"
44
}
5-
}
5+
}

SPECS-EXTENDED/libwnck3/libwnck3.spec

Lines changed: 80 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,26 @@ Distribution: Azure Linux
44

55
Summary: Window Navigator Construction Kit
66
Name: libwnck3
7-
Version: 3.36.0
8-
Release: 3%{?dist}
7+
Version: 43.1
8+
Release: 2%{?dist}
99
URL: http://download.gnome.org/sources/%{source_name}/
10-
Source0: http://download.gnome.org/sources/%{source_name}/3.36/%{source_name}-%{version}.tar.xz
11-
License: GPLv2
10+
Source0: https://download.gnome.org/sources/%{source_name}/43/%{source_name}-%{version}.tar.xz
11+
License: LGPL-2.0-or-later
12+
13+
# https://gitlab.gnome.org/GNOME/libwnck/-/merge_requests/10
14+
Patch1: libwnck_0001-Expose-window-scaling-factor_v43.1.patch
15+
Patch2: libwnck_0002-icons-Use-cairo-surfaces-to-render-icons_v43.1.patch
16+
Patch3: libwnck_0003-xutils-Change-icons-to-being-cairo-surfaces_v43.1.patch
17+
Patch4: libwnck_0004-icons-Mark-GdkPixbuf-icons-as-deprecated_v43.1.patch
18+
Patch5: libwnck_0005-tasklist-Add-surface-loader-function_v43.1.patch
1219

13-
BuildRequires: %{_bindir}/xsltproc
1420
BuildRequires: gcc
1521
BuildRequires: meson
1622
BuildRequires: gettext
1723
BuildRequires: glib2-devel
1824
BuildRequires: gobject-introspection-devel
1925
BuildRequires: gtk3-devel
26+
BuildRequires: gtk-doc
2027
BuildRequires: libXres-devel
2128
BuildRequires: pango-devel
2229
BuildRequires: startup-notification-devel
@@ -36,29 +43,24 @@ Requires: %{name}%{?_isa} = %{version}-%{release}
3643
The %{name}-devel package contains libraries and header files for
3744
developing applications that use %{name}.
3845

39-
4046
%prep
41-
%setup -q -n %{source_name}-%{version}
42-
47+
%autosetup -n %{source_name}-%{version} -p1
4348

4449
%build
45-
%meson -Dgtk_doc=false
50+
%meson -Dgtk_doc=true
4651
%meson_build
4752

48-
4953
%install
5054
%meson_install
5155

5256
%find_lang %{source_name}-3.0 --with-gnome --all-name
5357

54-
5558
%ldconfig_scriptlets
5659

57-
5860
%files -f %{source_name}-3.0.lang
5961
%license COPYING
6062
%doc AUTHORS README NEWS
61-
%{_libdir}/%{source_name}-3.so.*
63+
%{_libdir}/%{source_name}-3.so.0*
6264
%{_bindir}/wnck-urgency-monitor
6365
%{_libdir}/girepository-1.0/Wnck-3.0.typelib
6466

@@ -68,16 +70,74 @@ developing applications that use %{name}.
6870
%{_libdir}/pkgconfig/*
6971
%{_includedir}/%{source_name}-3.0/
7072
%{_datadir}/gir-1.0/Wnck-3.0.gir
71-
73+
%doc %{_datadir}/gtk-doc
7274

7375
%changelog
74-
* Mon Mar 21 2022 Pawel Winogrodzki <pawelwi@microsoft.com> - 3.36.0-3
75-
- Adding BR on '%%{_bindir}/xsltproc'.
76-
- Disabled gtk doc generation to remove network dependency during build-time.
77-
- License verified.
76+
* Mon 18 Sreenivasulu Malavathula <vsmalavathu@microsoft.com> - 43.1-2
77+
- Initial Azure Linux import from Fedora 41 (license: MIT)
78+
- License verified
79+
80+
* Mon Oct 07 2024 Wolfgang Ulbrich <raveit65.sun@gmail.com> - 43.1-1
81+
- update to 43.1
82+
83+
* Thu Jul 18 2024 Fedora Release Engineering <releng@fedoraproject.org> - 43.0-9
84+
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
85+
86+
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 43.0-8
87+
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
88+
89+
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 43.0-7
90+
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
91+
92+
* Tue Nov 21 2023 Wolfgang Ulbrich <fedora@raveit.de> - 43.0-6
93+
- fix rhbz (#2242944)
94+
- disable Revert-pager-do-not-change-workspace-size-from-size patch
95+
96+
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 43.0-5
97+
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
98+
99+
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 43.0-4
100+
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
101+
102+
* Fri Oct 07 2022 Wolfgang Ulbrich <fedora@raveit.de> - 43.0-3
103+
- fix https://bugs.launchpad.net/ubuntu/+source/libwnck3/+bug/1990263
104+
105+
* Thu Sep 29 2022 Wolfgang Ulbrich <fedora@raveit.de> - 43.0-2
106+
- fix https://gitlab.gnome.org/GNOME/libwnck/-/issues/154
107+
108+
* Mon Sep 19 2022 Wolfgang Ulbrich <fedora@raveit.de> - 43.0-1
109+
- update to 43.0
110+
111+
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 40.1-2
112+
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
113+
114+
* Sat Feb 19 2022 Wolfgang Ulbrich <fedora@raveit.de> - 40.1-1
115+
- update to 40.1
116+
117+
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 40.0-5
118+
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
119+
120+
* Sun Dec 12 2021 Wolfgang Ulbrich <fedora@raveit.de> - 40.0-4
121+
- use https://gitlab.gnome.org/GNOME/libwnck/-/commit/bd8ab37
122+
- Scale tasklist icons
123+
124+
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 40.0-3
125+
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
126+
127+
* Fri Jun 11 2021 Wolfgang Ulbrich <fedora@raveit.de> - 40.0-2
128+
- revert https://gitlab.gnome.org/GNOME/libwnck/-/commit/3456b74
129+
- fixes rhbz #1971048
130+
- and https://github.com/mate-desktop/mate-panel/issues/1230
131+
132+
* Wed May 26 2021 Kalev Lember <klember@redhat.com> - 40.0-1
133+
- Update to 40.0
134+
- Tighten soname globs
135+
136+
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.36.0-3
137+
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
78138

79-
* Fri Oct 15 2021 Pawel Winogrodzki <pawelwi@microsoft.com> - 3.36.0-2
80-
- Initial CBL-Mariner import from Fedora 32 (license: MIT).
139+
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.36.0-2
140+
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
81141

82142
* Sat Mar 28 2020 Wolfgang Ulbrich <fedora@raveit.de> - 3.36.0-1
83143
- update to 3.36.0
Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
From 18398f3a78b3fe71e99b2da9258cb793b0809bad Mon Sep 17 00:00:00 2001
2+
From: Victor Kareh <vkareh@redhat.com>
3+
Date: Tue, 6 Aug 2019 09:59:59 -0400
4+
Subject: [PATCH 1/5] Expose window scaling factor
5+
6+
---
7+
libwnck/private.h | 2 ++
8+
libwnck/util.c | 21 +++++++++++++++++++++
9+
2 files changed, 23 insertions(+)
10+
11+
diff --git a/libwnck/private.h b/libwnck/private.h
12+
index bf87619..0d88ddd 100644
13+
--- a/libwnck/private.h
14+
+++ b/libwnck/private.h
15+
@@ -37,6 +37,8 @@ G_BEGIN_DECLS
16+
17+
WnckHandle *_wnck_get_handle (void);
18+
19+
+int _wnck_get_window_scaling_factor (void);
20+
+
21+
void _wnck_application_process_property_notify (WnckApplication *app,
22+
XEvent *xevent);
23+
void _wnck_window_process_property_notify (WnckWindow *window,
24+
diff --git a/libwnck/util.c b/libwnck/util.c
25+
index 83659dc..a58a99e 100644
26+
--- a/libwnck/util.c
27+
+++ b/libwnck/util.c
28+
@@ -164,6 +164,27 @@ _wnck_get_handle (void)
29+
return wnck_handle;
30+
}
31+
32+
+/**
33+
+ * _wnck_get_window_scaling_factor:
34+
+ *
35+
+ * Retrieves the internal scale factor that maps from window coordinates to the
36+
+ * actual device pixels. On traditional systems this is 1, on high density
37+
+ * outputs, it can be a higher value (typically 2).
38+
+ */
39+
+int
40+
+_wnck_get_window_scaling_factor (void)
41+
+{
42+
+ GdkScreen *screen;
43+
+ GValue value = G_VALUE_INIT;
44+
+
45+
+ g_value_init (&value, G_TYPE_INT);
46+
+
47+
+ screen = gdk_screen_get_default ();
48+
+ if (gdk_screen_get_setting (screen, "gdk-window-scaling-factor", &value))
49+
+ return g_value_get_int (&value);
50+
+ return 1;
51+
+}
52+
+
53+
/**
54+
* wnck_set_default_icon_size:
55+
* @size: the default size for windows and application standard icons.
56+
--
57+
2.46.1
58+

0 commit comments

Comments
 (0)