-
Notifications
You must be signed in to change notification settings - Fork 567
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
libwnck3: Update Version from 3.36.0 -> 43.1
- Loading branch information
1 parent
ec144b0
commit befa8bc
Showing
8 changed files
with
2,617 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
{ | ||
"Signatures": { | ||
"libwnck-3.36.0.tar.xz": "bc508150b3ed5d22354b0e6774ad4eee465381ebc0ace45eb0e2d3a4186c925f" | ||
"libwnck-43.1.tar.xz": "634b4587b7367a493d3818c4b57740dac06153cf8f25cd64f5af16b657dd6845" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,19 +4,26 @@ Distribution: Azure Linux | |
|
||
Summary: Window Navigator Construction Kit | ||
Name: libwnck3 | ||
Version: 3.36.0 | ||
Release: 3%{?dist} | ||
Version: 43.1 | ||
Release: 2%{?dist} | ||
URL: http://download.gnome.org/sources/%{source_name}/ | ||
Source0: http://download.gnome.org/sources/%{source_name}/3.36/%{source_name}-%{version}.tar.xz | ||
License: GPLv2 | ||
Source0: http://download.gnome.org/sources/%{source_name}/43/%{source_name}-%{version}.tar.xz | ||
License: LGPL-2.0-or-later | ||
|
||
# https://gitlab.gnome.org/GNOME/libwnck/-/merge_requests/10 | ||
Patch1: libwnck_0001-Expose-window-scaling-factor_v43.1.patch | ||
Patch2: libwnck_0002-icons-Use-cairo-surfaces-to-render-icons_v43.1.patch | ||
Patch3: libwnck_0003-xutils-Change-icons-to-being-cairo-surfaces_v43.1.patch | ||
Patch4: libwnck_0004-icons-Mark-GdkPixbuf-icons-as-deprecated_v43.1.patch | ||
Patch5: libwnck_0005-tasklist-Add-surface-loader-function_v43.1.patch | ||
|
||
BuildRequires: %{_bindir}/xsltproc | ||
BuildRequires: gcc | ||
BuildRequires: meson | ||
BuildRequires: gettext | ||
BuildRequires: glib2-devel | ||
BuildRequires: gobject-introspection-devel | ||
BuildRequires: gtk3-devel | ||
BuildRequires: gtk-doc | ||
BuildRequires: libXres-devel | ||
BuildRequires: pango-devel | ||
BuildRequires: startup-notification-devel | ||
|
@@ -36,29 +43,24 @@ Requires: %{name}%{?_isa} = %{version}-%{release} | |
The %{name}-devel package contains libraries and header files for | ||
developing applications that use %{name}. | ||
|
||
|
||
%prep | ||
%setup -q -n %{source_name}-%{version} | ||
|
||
%autosetup -n %{source_name}-%{version} -p1 | ||
|
||
%build | ||
%meson -Dgtk_doc=false | ||
%meson -Dgtk_doc=true | ||
%meson_build | ||
|
||
|
||
%install | ||
%meson_install | ||
|
||
%find_lang %{source_name}-3.0 --with-gnome --all-name | ||
|
||
|
||
%ldconfig_scriptlets | ||
|
||
|
||
%files -f %{source_name}-3.0.lang | ||
%license COPYING | ||
%doc AUTHORS README NEWS | ||
%{_libdir}/%{source_name}-3.so.* | ||
%{_libdir}/%{source_name}-3.so.0* | ||
%{_bindir}/wnck-urgency-monitor | ||
%{_libdir}/girepository-1.0/Wnck-3.0.typelib | ||
|
||
|
@@ -68,16 +70,74 @@ developing applications that use %{name}. | |
%{_libdir}/pkgconfig/* | ||
%{_includedir}/%{source_name}-3.0/ | ||
%{_datadir}/gir-1.0/Wnck-3.0.gir | ||
|
||
%doc %{_datadir}/gtk-doc | ||
|
||
%changelog | ||
* Mon Mar 21 2022 Pawel Winogrodzki <[email protected]> - 3.36.0-3 | ||
- Adding BR on '%%{_bindir}/xsltproc'. | ||
- Disabled gtk doc generation to remove network dependency during build-time. | ||
- License verified. | ||
* Mon 18 Sreenivasulu Malavathula <[email protected]> - 43.1-2 | ||
- Initial Azure Linux import from Fedora 41 (license: MIT) | ||
- License verified | ||
|
||
* Mon Oct 07 2024 Wolfgang Ulbrich <[email protected]> - 43.1-1 | ||
- update to 43.1 | ||
|
||
* Thu Jul 18 2024 Fedora Release Engineering <[email protected]> - 43.0-9 | ||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild | ||
|
||
* Thu Jan 25 2024 Fedora Release Engineering <[email protected]> - 43.0-8 | ||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild | ||
|
||
* Sun Jan 21 2024 Fedora Release Engineering <[email protected]> - 43.0-7 | ||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild | ||
|
||
* Tue Nov 21 2023 Wolfgang Ulbrich <[email protected]> - 43.0-6 | ||
- fix rhbz (#2242944) | ||
- disable Revert-pager-do-not-change-workspace-size-from-size patch | ||
|
||
* Thu Jul 20 2023 Fedora Release Engineering <[email protected]> - 43.0-5 | ||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild | ||
|
||
* Thu Jan 19 2023 Fedora Release Engineering <[email protected]> - 43.0-4 | ||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild | ||
|
||
* Fri Oct 07 2022 Wolfgang Ulbrich <[email protected]> - 43.0-3 | ||
- fix https://bugs.launchpad.net/ubuntu/+source/libwnck3/+bug/1990263 | ||
|
||
* Thu Sep 29 2022 Wolfgang Ulbrich <[email protected]> - 43.0-2 | ||
- fix https://gitlab.gnome.org/GNOME/libwnck/-/issues/154 | ||
|
||
* Mon Sep 19 2022 Wolfgang Ulbrich <[email protected]> - 43.0-1 | ||
- update to 43.0 | ||
|
||
* Thu Jul 21 2022 Fedora Release Engineering <[email protected]> - 40.1-2 | ||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild | ||
|
||
* Sat Feb 19 2022 Wolfgang Ulbrich <[email protected]> - 40.1-1 | ||
- update to 40.1 | ||
|
||
* Thu Jan 20 2022 Fedora Release Engineering <[email protected]> - 40.0-5 | ||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild | ||
|
||
* Sun Dec 12 2021 Wolfgang Ulbrich <[email protected]> - 40.0-4 | ||
- use https://gitlab.gnome.org/GNOME/libwnck/-/commit/bd8ab37 | ||
- Scale tasklist icons | ||
|
||
* Thu Jul 22 2021 Fedora Release Engineering <[email protected]> - 40.0-3 | ||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild | ||
|
||
* Fri Jun 11 2021 Wolfgang Ulbrich <[email protected]> - 40.0-2 | ||
- revert https://gitlab.gnome.org/GNOME/libwnck/-/commit/3456b74 | ||
- fixes rhbz #1971048 | ||
- and https://github.com/mate-desktop/mate-panel/issues/1230 | ||
|
||
* Wed May 26 2021 Kalev Lember <[email protected]> - 40.0-1 | ||
- Update to 40.0 | ||
- Tighten soname globs | ||
|
||
* Tue Jan 26 2021 Fedora Release Engineering <[email protected]> - 3.36.0-3 | ||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild | ||
|
||
* Fri Oct 15 2021 Pawel Winogrodzki <[email protected]> - 3.36.0-2 | ||
- Initial CBL-Mariner import from Fedora 32 (license: MIT). | ||
* Tue Jul 28 2020 Fedora Release Engineering <[email protected]> - 3.36.0-2 | ||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild | ||
|
||
* Sat Mar 28 2020 Wolfgang Ulbrich <[email protected]> - 3.36.0-1 | ||
- update to 3.36.0 | ||
|
58 changes: 58 additions & 0 deletions
58
SPECS-EXTENDED/libwnck3/libwnck_0001-Expose-window-scaling-factor_v43.1.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
From 18398f3a78b3fe71e99b2da9258cb793b0809bad Mon Sep 17 00:00:00 2001 | ||
From: Victor Kareh <[email protected]> | ||
Date: Tue, 6 Aug 2019 09:59:59 -0400 | ||
Subject: [PATCH 1/5] Expose window scaling factor | ||
|
||
--- | ||
libwnck/private.h | 2 ++ | ||
libwnck/util.c | 21 +++++++++++++++++++++ | ||
2 files changed, 23 insertions(+) | ||
|
||
diff --git a/libwnck/private.h b/libwnck/private.h | ||
index bf87619..0d88ddd 100644 | ||
--- a/libwnck/private.h | ||
+++ b/libwnck/private.h | ||
@@ -37,6 +37,8 @@ G_BEGIN_DECLS | ||
|
||
WnckHandle *_wnck_get_handle (void); | ||
|
||
+int _wnck_get_window_scaling_factor (void); | ||
+ | ||
void _wnck_application_process_property_notify (WnckApplication *app, | ||
XEvent *xevent); | ||
void _wnck_window_process_property_notify (WnckWindow *window, | ||
diff --git a/libwnck/util.c b/libwnck/util.c | ||
index 83659dc..a58a99e 100644 | ||
--- a/libwnck/util.c | ||
+++ b/libwnck/util.c | ||
@@ -164,6 +164,27 @@ _wnck_get_handle (void) | ||
return wnck_handle; | ||
} | ||
|
||
+/** | ||
+ * _wnck_get_window_scaling_factor: | ||
+ * | ||
+ * Retrieves the internal scale factor that maps from window coordinates to the | ||
+ * actual device pixels. On traditional systems this is 1, on high density | ||
+ * outputs, it can be a higher value (typically 2). | ||
+ */ | ||
+int | ||
+_wnck_get_window_scaling_factor (void) | ||
+{ | ||
+ GdkScreen *screen; | ||
+ GValue value = G_VALUE_INIT; | ||
+ | ||
+ g_value_init (&value, G_TYPE_INT); | ||
+ | ||
+ screen = gdk_screen_get_default (); | ||
+ if (gdk_screen_get_setting (screen, "gdk-window-scaling-factor", &value)) | ||
+ return g_value_get_int (&value); | ||
+ return 1; | ||
+} | ||
+ | ||
/** | ||
* wnck_set_default_icon_size: | ||
* @size: the default size for windows and application standard icons. | ||
-- | ||
2.46.1 | ||
|
Oops, something went wrong.