From 68a6046fa97a4e4e20222c8e688b95c20a2443fa267b299a24f60a80c12ac115 Mon Sep 17 00:00:00 2001 From: Alexei Sorokin Date: Thu, 7 Mar 2019 14:36:40 +0000 Subject: [PATCH 1/2] - Update to version 1.22.0. OBS-URL: https://build.opensuse.org/package/show/X11:MATE:Factory/eom?expand=0&rev=45 --- eom-1.20.2.tar.xz | 3 - eom-1.22.0.tar.xz | 3 + eom-gtk-3.20.patch | 153 ++++++++++++++++++++++++++++++++++++++++++--- eom.changes | 7 +++ eom.spec | 20 +++--- 5 files changed, 162 insertions(+), 24 deletions(-) delete mode 100644 eom-1.20.2.tar.xz create mode 100644 eom-1.22.0.tar.xz diff --git a/eom-1.20.2.tar.xz b/eom-1.20.2.tar.xz deleted file mode 100644 index 4587196..0000000 --- a/eom-1.20.2.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:05f07cf2702c14938a11dd829aa9768261041ae56fabc28141f6c71697d38010 -size 2156196 diff --git a/eom-1.22.0.tar.xz b/eom-1.22.0.tar.xz new file mode 100644 index 0000000..8ad102e --- /dev/null +++ b/eom-1.22.0.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d4e4014216fd8c5a22fc4755484c45e6b2155e5e5af9018c4f7721826e5c7b24 +size 2171992 diff --git a/eom-gtk-3.20.patch b/eom-gtk-3.20.patch index a07820c..670ea2d 100644 --- a/eom-gtk-3.20.patch +++ b/eom-gtk-3.20.patch @@ -1,6 +1,6 @@ --- a/configure.ac +++ b/configure.ac -@@ -84,9 +84,9 @@ YELP_HELP_INIT +@@ -85,9 +85,9 @@ YELP_HELP_INIT # MATE Libs # ********** @@ -13,9 +13,63 @@ MATE_DESKTOP_REQUIRED=1.17.0 GDKPIXBUF_REQUIRED=2.30.0 SHARED_MIME_INFO_REQUIRED=0.20 +--- a/cut-n-paste/toolbar-editor/egg-editable-toolbar.c ++++ b/cut-n-paste/toolbar-editor/egg-editable-toolbar.c +@@ -358,7 +358,12 @@ popup_context_menu_cb (GtkWidget + menu = GTK_MENU (gtk_ui_manager_get_widget (etoolbar->priv->manager, + etoolbar->priv->popup_path)); + g_return_if_fail (menu != NULL); ++#if GTK_CHECK_VERSION (3, 22, 0) + gtk_menu_popup_at_pointer (menu, NULL); ++#else ++ gtk_menu_popup (menu, NULL, NULL, ++ NULL, NULL, button_number, GDK_CURRENT_TIME); ++#endif + g_signal_connect_object (menu, "selection-done", + G_CALLBACK (popup_context_deactivate), + etoolbar, 0); +@@ -380,7 +385,12 @@ button_press_event_cb (GtkWidget *widget + menu = GTK_MENU (gtk_ui_manager_get_widget (etoolbar->priv->manager, + etoolbar->priv->popup_path)); + g_return_val_if_fail (menu != NULL, FALSE); ++#if GTK_CHECK_VERSION (3, 22, 0) + gtk_menu_popup_at_pointer (menu, (const GdkEvent*) event); ++#else ++ gtk_menu_popup (menu, NULL, NULL, ++ NULL, NULL, event->button, event->time); ++#endif + g_signal_connect_object (menu, "selection-done", + G_CALLBACK (popup_context_deactivate), + etoolbar, 0); +--- a/data/eom-image-properties-dialog.ui ++++ b/data/eom-image-properties-dialog.ui +@@ -1,7 +1,7 @@ + + + +- ++ +