Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package metacity for openSUSE:Factory 
checked in at 2021-11-23 22:10:46
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/metacity (Old)
 and      /work/SRC/openSUSE:Factory/.metacity.new.1895 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "metacity"

Tue Nov 23 22:10:46 2021 rev:10 rq:933298 version:3.42.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/metacity/metacity.changes        2021-08-23 
10:09:47.132133350 +0200
+++ /work/SRC/openSUSE:Factory/.metacity.new.1895/metacity.changes      
2021-11-23 22:13:15.334345091 +0100
@@ -1,0 +2,10 @@
+Sat Nov 20 19:39:20 UTC 2021 - Alexei Sorokin <sor.ale...@meowr.ru>
+
+- Update to version 3.42.0:
+  * Enable XPresent compositor.
+  * Fix regression in opacity handling.
+  * Fix tooltip style.
+  * Update translations.
+- Add metacity-glib-2.62.patch: Restore GLib 2.62 support.
+
+-------------------------------------------------------------------

Old:
----
  metacity-3.40.0.tar.xz

New:
----
  metacity-3.42.0.tar.xz
  metacity-glib-2.62.patch

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

Other differences:
------------------
++++++ metacity.spec ++++++
--- /var/tmp/diff_new_pack.THc1py/_old  2021-11-23 22:13:15.874343305 +0100
+++ /var/tmp/diff_new_pack.THc1py/_new  2021-11-23 22:13:15.878343292 +0100
@@ -18,14 +18,17 @@
 
 %define soname  libmetacity
 %define sover   3
-%define _version 3.40
+%define _version 3.42
 Name:           metacity
-Version:        3.40.0
+Version:        3.42.0
 Release:        0
 Summary:        Window Manager for the MATE and GNOME Flashback desktops
 License:        GPL-2.0-or-later
+Group:          System/GUI/Other
 URL:            https://wiki.gnome.org/Projects/Metacity
 Source:         
https://download.gnome.org/sources/metacity/%{_version}/%{name}-%{version}.tar.xz
+# PATCH-FEATURE-OPENSUSE metacity-glib-2.62.patch -- Restore GLib 2.62 support.
+Patch0:         %{name}-glib-2.62.patch
 BuildRequires:  autoconf
 BuildRequires:  automake
 BuildRequires:  gettext
@@ -103,7 +106,7 @@
 needed to develop applications that require libmetacity.
 
 %prep
-%autosetup
+%autosetup -p1
 
 %build
 autoreconf -fi
@@ -118,7 +121,6 @@
 %find_lang %{name} %{?no_lang_C}
 
 %post -n %{soname}%{sover} -p /sbin/ldconfig
-
 %postun -n %{soname}%{sover} -p /sbin/ldconfig
 
 %files

++++++ metacity-3.40.0.tar.xz -> metacity-3.42.0.tar.xz ++++++
++++ 12533 lines of diff (skipped)

++++++ metacity-glib-2.62.patch ++++++
--- a/configure.ac
+++ b/configure.ac
@@ -89,7 +89,7 @@ dnl ************************************
 dnl Check for required packages
 dnl **************************************************************************
 
-GLIB_REQUIRED_VERSION=2.67.3
+GLIB_REQUIRED_VERSION=2.62.0
 GTK_REQUIRED_VERSION=3.24.6
 PANGO_REQUIRED_VERSION=1.2.0
 XCOMPOSITE_REQUIRED_VERSION=0.3
--- a/src/core/screen.c
+++ b/src/core/screen.c
@@ -596,7 +596,11 @@ meta_screen_manage_all_windows (MetaScre
   meta_stack_tracker_get_stack (screen->stack_tracker, &windows, &n_windows);
 
   /* Copy the stack as it will be modified as part of the loop */
+#if GLIB_CHECK_VERSION (2, 68, 0)
   xwindows = g_memdup2 (windows, sizeof (Window) * n_windows);
+#else
+  xwindows = g_memdup (windows, sizeof (Window) * n_windows);
+#endif
 
   for (i = 0; i < n_windows; i++)
     {
--- a/src/core/window-props.c
+++ b/src/core/window-props.c
@@ -1949,7 +1949,11 @@ meta_display_init_window_prop_hooks (Met
     },
   };
 
+#if GLIB_CHECK_VERSION (2, 68, 0)
   MetaWindowPropHooks *table = g_memdup2 (hooks, sizeof (hooks)),
+#else
+  MetaWindowPropHooks *table = g_memdup (hooks, sizeof (hooks)),
+#endif
     *cursor = table;
 
   g_assert (display->prop_hooks == NULL);

Reply via email to