Hello community,

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

Package is "eom"

Tue Mar 20 21:58:08 2018 rev:21 rq:586618 version:1.20.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/eom/eom.changes  2017-11-16 14:03:44.647689879 
+0100
+++ /work/SRC/openSUSE:Factory/.eom.new/eom.changes     2018-03-20 
21:58:33.769564527 +0100
@@ -1,0 +2,31 @@
+Fri Mar  9 19:10:07 UTC 2018 - [email protected]
+
+- Update to version 1.20.0:
+  * Require GTK+ 3.22 and GLib 2.50.
+  * EomThumbView, EomScrollView: Replace the deprecated
+    gtk_menu_popup() function.
+  * UI: Avoid using deprecaded widgets.
+  * Fix a few GtkStock deprecations.
+  * A bunch of instrospection warning fixes.
+  * EomScrollView: Fix the override_background deprecated call.
+  * EomPropertiesDialog: Fix deprecation warnings.
+  * EomThumbNav: Fix a deprecated function warning.
+  * EomScrollView: Switch from GdkDeviceManager to GdkSeat.
+  * settings: Use the rgb colour definition as defaults.
+  * EomFileChooser: Use MateThumbnailFactory to create the preview
+    image.
+  * EomPropertiesDialog: Allow RGBA for transparent background
+    colour.
+  * preferences-ui: Drop usage of MateColorButton.
+  * EomScrollView: Switch to GdkRGBA for background and transparent
+    colours.
+  * EomPrintPreview: Avoid unnecessary colour parsing.
+  * toolbar-editor: Avoid deprecated GtkAlignment.
+  * gtk 3.22: Avoid deprecated gdk_screen_get_monitor_ functions.
+  * Don't use deprecated gtk_show_uri().
+  * Avoid deprecated gdk_screen_get_number().
+  * print-preview: Replace custom code with a GDK function call.
+  * Update translations.
+- Add eom-gtk-3.20.patch: Restore GLib 2.48 and GTK+ 3.20 support.
+
+-------------------------------------------------------------------

Old:
----
  eom-1.18.3.tar.xz

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

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

Other differences:
------------------
++++++ eom.spec ++++++
--- /var/tmp/diff_new_pack.4x0Lj0/_old  2018-03-20 21:58:34.473539181 +0100
+++ /var/tmp/diff_new_pack.4x0Lj0/_new  2018-03-20 21:58:34.481538893 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package eom
 #
-# 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
@@ -17,15 +17,17 @@
 
 
 %define typelib typelib-1_0-Eom-1_0
-%define _version 1.18
+%define _version 1.20
 Name:           eom
-Version:        1.18.3
+Version:        1.20.0
 Release:        0
 Summary:        MATE Desktop graphics viewer
-License:        GPL-2.0+ AND LGPL-2.1+
+License:        GPL-2.0-or-later AND LGPL-2.1-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 eom-gtk-3.20.patch -- Restore GLib 2.48 and GTK+ 3.20 
support.
+Patch0:         eom-gtk-3.20.patch
 BuildRequires:  hicolor-icon-theme
 BuildRequires:  libjpeg-devel
 BuildRequires:  libxml2-python
@@ -36,8 +38,9 @@
 BuildRequires:  pkgconfig(dbus-glib-1)
 BuildRequires:  pkgconfig(exempi-2.0)
 BuildRequires:  pkgconfig(gdk-pixbuf-2.0)
+BuildRequires:  pkgconfig(glib-2.0) >= 2.48
 BuildRequires:  pkgconfig(gobject-introspection-1.0)
-BuildRequires:  pkgconfig(gtk+-3.0) >= 3.14
+BuildRequires:  pkgconfig(gtk+-3.0) >= 3.20
 BuildRequires:  pkgconfig(gtk+-unix-print-3.0)
 BuildRequires:  pkgconfig(lcms2)
 BuildRequires:  pkgconfig(libexif)
@@ -87,6 +90,7 @@
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 NOCONFIGURE=1 mate-autogen
@@ -101,7 +105,7 @@
 find %{buildroot} -type f -name "*.la" -delete -print
 %suse_update_desktop_file %{name}
 
-%if 0%{?suse_version} <= 1320
+%if 0%{?suse_version} < 1500
 %post
 %desktop_database_post
 %icon_theme_cache_post
@@ -114,7 +118,12 @@
 %endif
 
 %files
-%doc AUTHORS COPYING NEWS README
+%if 0%{?suse_version} >= 1500
+%license COPYING
+%else
+%doc COPYING
+%endif
+%doc AUTHORS NEWS README
 %{_bindir}/%{name}
 %{_libdir}/%{name}/
 %{_datadir}/%{name}/

++++++ eom-1.18.3.tar.xz -> eom-1.20.0.tar.xz ++++++
++++ 77369 lines of diff (skipped)

++++++ eom-gtk-3.20.patch ++++++
--- a/configure.ac
+++ b/configure.ac
@@ -84,9 +84,9 @@ YELP_HELP_INIT
 # MATE Libs
 # **********
 
-GLIB_REQUIRED=2.50.0
-GIO_REQUIRED=2.50.0
-GTK_REQUIRED=3.22.0
+GLIB_REQUIRED=2.48.0
+GIO_REQUIRED=2.48.0
+GTK_REQUIRED=3.20.0
 MATE_DESKTOP_REQUIRED=1.17.0
 GDKPIXBUF_REQUIRED=2.30.0
 SHARED_MIME_INFO_REQUIRED=0.20
--- a/src/eom-scroll-view.c
+++ b/src/eom-scroll-view.c
@@ -2146,8 +2146,14 @@ view_on_button_press_event_cb (GtkWidget
     /* Ignore double-clicks and triple-clicks */
     if (event->button == 3 && event->type == GDK_BUTTON_PRESS)
     {
+#if GTK_CHECK_VERSION (3, 22, 0)
            gtk_menu_popup_at_pointer (GTK_MENU (view->priv->menu),
                                       (const GdkEvent*) event);
+#else
+           gtk_menu_popup (GTK_MENU (view->priv->menu),
+                           NULL, NULL, NULL, NULL,
+                           event->button, event->time);
+#endif
 
            return TRUE;
     }
--- a/src/eom-thumb-view.c
+++ b/src/eom-thumb-view.c
@@ -1063,6 +1063,12 @@ eom_thumb_view_popup_menu (EomThumbView
 {
        g_return_if_fail (event != NULL);
 
+#if GTK_CHECK_VERSION (3, 22, 0)
        gtk_menu_popup_at_pointer (GTK_MENU (thumbview->priv->menu),
                                   (const GdkEvent*) event);
+#else
+       gtk_menu_popup (GTK_MENU (thumbview->priv->menu),
+                       NULL, NULL, NULL, NULL,
+                       event->button, event->time);
+#endif
 }
--- a/src/eom-util.c
+++ b/src/eom-util.c
@@ -53,7 +53,11 @@ eom_util_show_help (const gchar *section
        if (section)
                uri = g_strdup_printf ("help:eom/%s", section);
 
+#if GTK_CHECK_VERSION (3, 22, 0)
        gtk_show_uri_on_window (parent, ((uri != NULL) ? uri : "help:eom"),
+#else
+       gtk_show_uri (NULL, ((uri != NULL) ? uri : "help:eom"),
+#endif
                      gtk_get_current_event_time (), &error);
 
        g_free (uri);
--- a/src/eom-window.c
+++ b/src/eom-window.c
@@ -1198,9 +1198,16 @@ eom_window_obtain_desired_size (EomImage
        screen = gtk_window_get_screen (GTK_WINDOW (window));
        display = gdk_screen_get_display (screen);
 
+#if GTK_CHECK_VERSION (3, 22, 0)
        gdk_monitor_get_geometry (gdk_display_get_monitor_at_window (display,
                                                                     
gtk_widget_get_window (GTK_WIDGET (window))),
                                  &monitor);
+#else
+       gdk_screen_get_monitor_geometry (screen,
+                                        gdk_screen_get_monitor_at_window 
(screen,
+                                                                          
gtk_widget_get_window (GTK_WIDGET (window))),
+                                        &monitor);
+#endif
 
        screen_width  = monitor.width;
        screen_height = monitor.height;
@@ -1649,9 +1656,16 @@ eom_window_update_fullscreen_popup (EomW
        screen = gtk_widget_get_screen (GTK_WIDGET (window));
        display = gdk_screen_get_display (screen);
 
+#if GTK_CHECK_VERSION (3, 22, 0)
        gdk_monitor_get_geometry (gdk_display_get_monitor_at_window (display,
                                                                     
gtk_widget_get_window (GTK_WIDGET (window))),
                                  &screen_rect);
+#else
+       gdk_screen_get_monitor_geometry (screen,
+                                        
gdk_screen_get_monitor_at_window(screen,
+                                                                         
gtk_widget_get_window (GTK_WIDGET (window))),
+                                        &screen_rect);
+#endif
 
        gtk_widget_set_size_request (popup,
                                     screen_rect.width,

Reply via email to