Hello community,

here is the log from the commit of package marco for openSUSE:Factory checked 
in at 2018-03-20 21:56:35
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/marco (Old)
 and      /work/SRC/openSUSE:Factory/.marco.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "marco"

Tue Mar 20 21:56:35 2018 rev:20 rq:586533 version:1.20.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/marco/marco.changes      2017-11-07 
10:04:04.613070123 +0100
+++ /work/SRC/openSUSE:Factory/.marco.new/marco.changes 2018-03-20 
21:56:49.409322103 +0100
@@ -1,0 +2,52 @@
+Fri Mar  9 19:10:07 UTC 2018 - sor.ale...@meowr.ru
+
+- Update to version 1.20.0:
+  * Require GTK+ 3.22 and GLib 2.50.
+  * Store a window flag when user resizes from tiled.
+  * Allow tiled windows to be resized horizontally.
+  * Avoid deprecated gdk_screen_get_monitor_(),
+    gdk_screen_width/height(), gdk_screen_get_width() functions.
+  * display: Don't use deprecated GdkDeviceManager.
+  * tools: Remove marco-mag and marco-grayscaletools.
+  * Force a window scale of 1 for the window manager, instead of
+    using the default or user configured scale.
+  * Avoid deprecated gdk_display_get_screen, gdk_screen_get_number.
+  * Alt+Tab - define arrow keycode + numpad arrows.
+  * Allow use of arrows while in a Alt+Tab pop up.
+  * README: Fix names of GSettings keys.
+  * keybindings: Remove uppercase from "current workspace".
+  * Add a hotkey to rename the current workspace.
+  * Fix windows not going to save_rect when restoring.
+  * Allow horizontal and vertical resizing when a corner tiled.
+  * Fix a window getting reset to saved_rect when untiling from a
+    corner.
+  * Add keybindings for corner tiling.
+  * Implement simple corner tiling by mouse drag.
+  * Implementation of WidthOfScreen and HeightOfScreen.
+  * XFIXES regions are leaked during paint_windows.
+  * Add stricter logic for running without XPresent support.
+  * Make XPresent optional.
+  * Remove debug output.
+  * Add in some changes from xfwm4.
+  * Cancel present_pending flag when erroring out.
+  * XPresent extension support - first pass.
+  * build: Drop unneeded pangoxft requirement.
+  * A small bugfix for the move_to_X keybinds.
+  * Bugfix for monitors of different sizes.
+  * Restructured monitor keybinds and adjust save_rect.
+  * Implement simple shortcuts to move a window to another monitor.
+  * gschema: Fix typos.
+  * compositor: Don't try to paint a window that is not viewable.
+  * Fix wrong results in meta_window_titlebar_is_onscreen() for
+    windows without a frame.
+  * Add support for the Gtk3 _GTK_SHOW_WINDOW_MENU event.
+  * A more elegant solution for handling new move-to-workspace
+    keybinds.
+  * Implement a setting to disable top tiling.
+  * Implement tabpopup when moving a window to different workspace.
+  * keybindings.c: Fix  abuild warning.
+  * Reset tile_resized to false when fullscreening.
+  * Update translations.
+- Add marco-gtk-3.20.patch: Restore GLib 2.48 and GTK+ 3.20 support.
+
+-------------------------------------------------------------------

Old:
----
  marco-1.18.2.tar.xz

New:
----
  marco-1.20.0.tar.xz
  marco-gtk-3.20.patch

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

Other differences:
------------------
++++++ marco.spec ++++++
--- /var/tmp/diff_new_pack.z0gUUY/_old  2018-03-20 21:56:50.117296611 +0100
+++ /var/tmp/diff_new_pack.z0gUUY/_new  2018-03-20 21:56:50.121296467 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package marco
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -18,22 +18,25 @@
 
 %define soname  libmarco-private
 %define sover   1
-%define _version 1.18
+%define _version 1.20
 Name:           marco
-Version:        1.18.2
+Version:        1.20.0
 Release:        0
 Summary:        MATE window manager
-License:        GPL-2.0+
+License:        GPL-2.0-or-later
 Group:          System/GUI/Other
 Url:            https://mate-desktop.org/
 Source:         
http://pub.mate-desktop.org/releases/%{_version}/%{name}-%{version}.tar.xz
+# PATCH-FEATURE-OPENSUSE marco-gtk-3.20.patch -- Restore GLib 2.48 and GTK+ 
3.20 support.
+Patch0:         marco-gtk-3.20.patch
 BuildRequires:  fdupes
 BuildRequires:  mate-common >= %{_version}
 BuildRequires:  pkgconfig
 BuildRequires:  update-desktop-files
 BuildRequires:  yelp-tools
 BuildRequires:  zenity
-BuildRequires:  pkgconfig(gtk+-3.0) >= 3.14
+BuildRequires:  pkgconfig(glib-2.0) >= 2.48
+BuildRequires:  pkgconfig(gtk+-3.0) >= 3.20
 BuildRequires:  pkgconfig(libcanberra-gtk3)
 BuildRequires:  pkgconfig(libgtop-2.0)
 BuildRequires:  pkgconfig(libstartup-notification-1.0)
@@ -91,6 +94,7 @@
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 NOCONFIGURE=1 mate-autogen
@@ -110,7 +114,7 @@
 %suse_update_desktop_file 
%{buildroot}%{_datadir}/mate/wm-properties/%{name}-wm.desktop
 %fdupes %{buildroot}%{_datadir}/themes/
 
-%if 0%{?suse_version} <= 1320
+%if 0%{?suse_version} < 1500
 %post
 %desktop_database_post
 %glib2_gsettings_schema_post
@@ -125,7 +129,12 @@
 %postun -n %{soname}%{sover} -p /sbin/ldconfig
 
 %files
-%doc COPYING NEWS README
+%if 0%{?suse_version} >= 1500
+%license COPYING
+%else
+%doc COPYING
+%endif
+%doc NEWS README
 %{_bindir}/%{name}*
 %dir %{_datadir}/mate/
 %{_datadir}/mate/wm-properties/
@@ -139,12 +148,12 @@
 %files lang -f %{name}.lang
 
 %files -n %{soname}%{sover}
+%{_libdir}/*.so.%{sover}*
 # Marco requires libmarco-private0 and mate-control-center requires
 # it too; make libmarco-private0 own /usr/share/mate-control-center
 # to avoid conflicts between packages.
 %dir %{_datadir}/mate-control-center/
 %dir %{_datadir}/mate-control-center/keybindings/
-%{_libdir}/*.so.%{sover}*
 
 %files themes
 %{_datadir}/themes/ClearlooksRe/

++++++ marco-1.18.2.tar.xz -> marco-1.20.0.tar.xz ++++++
++++ 137543 lines of diff (skipped)

++++++ marco-gtk-3.20.patch ++++++
--- a/configure.ac
+++ b/configure.ac
@@ -104,7 +104,7 @@ fi
 changequote([,])dnl
 
 GIO_MIN_VERSION=2.25.10
-GTK_MIN_VERSION=3.22.0
+GTK_MIN_VERSION=3.20.0
 
 MARCO_PC_MODULES="gtk+-3.0 >= $GTK_MIN_VERSION gio-2.0 >= $GIO_MIN_VERSION 
pango >= 1.2.0 libcanberra-gtk3"
 
@@ -154,7 +154,7 @@ AC_CHECK_HEADERS(execinfo.h, [AC_CHECK_F
 
 AM_GLIB_GNU_GETTEXT
 
-PKG_CHECK_MODULES(ALL, glib-2.0 >= 2.50.0)
+PKG_CHECK_MODULES(ALL, glib-2.0 >= 2.48.0)
 PKG_CHECK_MODULES(MARCO_MESSAGE, gtk+-3.0 >= $GTK_MIN_VERSION)
 PKG_CHECK_MODULES(MARCO_WINDOW_DEMO, gtk+-3.0 >= $GTK_MIN_VERSION)
 
--- a/src/ui/fixedtip.c
+++ b/src/ui/fixedtip.c
@@ -67,7 +67,11 @@ meta_fixed_tip_show (int root_x, int roo
 {
   gint w;
   gint h;
+#if GTK_CHECK_VERSION (3, 22, 0)
   GdkMonitor *mon_num;
+#else
+  int mon_num;
+#endif
   GdkRectangle monitor;
   gint screen_right_edge;
 
@@ -106,8 +110,13 @@ meta_fixed_tip_show (int root_x, int roo
                        G_CALLBACK (gtk_widget_destroyed), &tip);
     }
 
+#if GTK_CHECK_VERSION (3, 22, 0)
   mon_num = gdk_display_get_monitor_at_point (gdk_screen_get_display (screen), 
root_x, root_y);
   gdk_monitor_get_geometry (mon_num, &monitor);
+#else
+  mon_num = gdk_screen_get_monitor_at_point (screen, root_x, root_y);
+  gdk_screen_get_monitor_geometry (screen, mon_num, &monitor);
+#endif
   screen_right_edge = monitor.x + monitor.width;
 
   gtk_label_set_markup (GTK_LABEL (label), markup_text);

Reply via email to