Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package evince for openSUSE:Factory checked in at 2021-07-21 19:05:54 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/evince (Old) and /work/SRC/openSUSE:Factory/.evince.new.2632 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "evince" Wed Jul 21 19:05:54 2021 rev:158 rq:907042 version:40.4 Changes: -------- --- /work/SRC/openSUSE:Factory/evince/evince.changes 2021-06-14 23:10:44.980714089 +0200 +++ /work/SRC/openSUSE:Factory/.evince.new.2632/evince.changes 2021-07-21 19:06:47.603334582 +0200 @@ -1,0 +2,14 @@ +Thu Jul 15 17:43:57 UTC 2021 - Bj??rn Lie <[email protected]> + +- Update to version 40.4: + + shell: Fix compilation error when DBus is disabled. + +------------------------------------------------------------------- +Tue Jul 13 13:41:03 UTC 2021 - Bj??rn Lie <[email protected]> + +- Update to version 40.3: + + Shell: + - Show None when missing creation/modification date. + - Enable odd pages left when dual page is on. + +------------------------------------------------------------------- Old: ---- evince-40.2.tar.xz New: ---- evince-40.4.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ evince.spec ++++++ --- /var/tmp/diff_new_pack.QkfQ4f/_old 2021-07-21 19:06:48.171335569 +0200 +++ /var/tmp/diff_new_pack.QkfQ4f/_new 2021-07-21 19:06:48.175335575 +0200 @@ -20,7 +20,7 @@ %define pluginAPI 4 Name: evince -Version: 40.2 +Version: 40.4 Release: 0 Summary: GNOME Document Viewer License: GPL-2.0-or-later ++++++ evince-40.2.tar.xz -> evince-40.4.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/evince-40.2/NEWS new/evince-40.4/NEWS --- old/evince-40.2/NEWS 2021-06-09 05:24:17.602498800 +0200 +++ new/evince-40.4/NEWS 2021-07-15 19:09:47.885610000 +0200 @@ -1,4 +1,26 @@ ============== +Evince 40.4 +============== + +shell: + * fix compilation error when DBus is disabled (Tom Schoonjans) + +Developers: + * Tom Schoonjans + +============== +Evince 40.3 +============== + +shell: + * Show None when missing creation/modification date (#1549, Volte--Vieira Philippe) + * Enable odd pages left when dual page is on (#602, Germ??n Poo-Caama??o) + +Developers: + * Germ??n Poo-Caama??o, Volte--Vieira Philippe + + +============== Evince 40.2 ============== diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/evince-40.2/meson.build new/evince-40.4/meson.build --- old/evince-40.2/meson.build 2021-06-09 05:24:17.674498800 +0200 +++ new/evince-40.4/meson.build 2021-07-15 19:09:47.993613700 +0200 @@ -1,6 +1,6 @@ project( 'evince', ['c', 'cpp'], - version: '40.2', + version: '40.4', license: 'GPL2+', default_options: 'buildtype=debugoptimized', meson_version: '>= 0.50.0', diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/evince-40.2/org.gnome.Evince.appdata.xml.in new/evince-40.4/org.gnome.Evince.appdata.xml.in --- old/evince-40.2/org.gnome.Evince.appdata.xml.in 2021-06-09 05:24:17.674498800 +0200 +++ new/evince-40.4/org.gnome.Evince.appdata.xml.in 2021-07-15 19:09:47.993613700 +0200 @@ -81,6 +81,15 @@ <content_attribute id="money-gambling">none</content_attribute> </content_rating> <releases> + <release version="40.4" date="2021-07-15" /> + </releases> + <releases> + <release version="40.3" date="2021-07-12"> + <issues> + <issue url="https://gitlab.gnome.org/GNOME/evince/issues/602">#602</issue> + <issue url="https://gitlab.gnome.org/GNOME/evince/issues/1549">#1549</issue> + </issues> + </release> <release version="40.2" date="2021-06-08"> <issues> <issue url="https://gitlab.gnome.org/GNOME/evince/issues/1587">#1587</issue> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/evince-40.2/properties/ev-properties-view.c new/evince-40.4/properties/ev-properties-view.c --- old/evince-40.2/properties/ev-properties-view.c 2021-06-09 05:24:17.786498800 +0200 +++ new/evince-40.4/properties/ev-properties-view.c 2021-07-15 19:09:48.037615000 +0200 @@ -392,14 +392,22 @@ set_property (properties, GTK_GRID (grid), CREATOR_PROPERTY, info->creator, &row); } if (info->fields_mask & EV_DOCUMENT_INFO_CREATION_DATE) { - text = ev_document_misc_format_date (info->creation_date); - set_property (properties, GTK_GRID (grid), CREATION_DATE_PROPERTY, text, &row); - g_free (text); + if (info->creation_date == -1) { + set_property (properties, GTK_GRID (grid), CREATION_DATE_PROPERTY, NULL, &row); + } else { + text = ev_document_misc_format_date (info->creation_date); + set_property (properties, GTK_GRID (grid), CREATION_DATE_PROPERTY, text, &row); + g_free (text); + } } if (info->fields_mask & EV_DOCUMENT_INFO_MOD_DATE) { - text = ev_document_misc_format_date (info->modified_date); - set_property (properties, GTK_GRID (grid), MOD_DATE_PROPERTY, text, &row); - g_free (text); + if (info->modified_date == -1) { + set_property (properties, GTK_GRID (grid), MOD_DATE_PROPERTY, NULL, &row); + } else { + text = ev_document_misc_format_date (info->modified_date); + set_property (properties, GTK_GRID (grid), MOD_DATE_PROPERTY, text, &row); + g_free (text); + } } if (info->fields_mask & EV_DOCUMENT_INFO_FORMAT) { set_property (properties, GTK_GRID (grid), FORMAT_PROPERTY, info->format, &row); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/evince-40.2/shell/ev-application.c new/evince-40.4/shell/ev-application.c --- old/evince-40.2/shell/ev-application.c 2021-06-09 05:24:17.786498800 +0200 +++ new/evince-40.4/shell/ev-application.c 2021-07-15 19:09:48.037615000 +0200 @@ -1178,7 +1178,9 @@ void ev_application_clear_uri (EvApplication *application) { +#ifdef ENABLE_DBUS ev_application_unregister_uri (application, application->uri); +#endif g_clear_pointer (&application->uri, g_free); } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/evince-40.2/shell/ev-window.c new/evince-40.4/shell/ev-window.c --- old/evince-40.2/shell/ev-window.c 2021-06-09 05:24:17.798498900 +0200 +++ new/evince-40.4/shell/ev-window.c 2021-07-15 19:09:48.045615400 +0200 @@ -4276,10 +4276,24 @@ { EvWindow *window = user_data; EvWindowPrivate *priv = GET_PRIVATE (window); + EvDocument *document = priv->document; + gboolean has_pages = FALSE; + gboolean dual_page; + gboolean recent_view_mode; + + dual_page = g_variant_get_boolean (state); ev_window_stop_presentation (window, TRUE); - ev_document_model_set_dual_page (priv->model, g_variant_get_boolean (state)); + ev_document_model_set_dual_page (priv->model, dual_page); g_simple_action_set_state (action, state); + + recent_view_mode = ev_window_is_recent_view (window); + + if (document) + has_pages = ev_document_get_n_pages (priv->document) > 0; + + ev_window_set_action_enabled (window, "dual-odd-left", dual_page && + has_pages && !recent_view_mode); } static void
