Hello community, here is the log from the commit of package xreader for openSUSE:Factory checked in at 2018-05-15 10:10:53 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/xreader (Old) and /work/SRC/openSUSE:Factory/.xreader.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "xreader" Tue May 15 10:10:53 2018 rev:15 rq:605803 version:1.8.1 Changes: -------- --- /work/SRC/openSUSE:Factory/xreader/xreader.changes 2017-12-29 18:50:22.949979206 +0100 +++ /work/SRC/openSUSE:Factory/.xreader.new/xreader.changes 2018-05-15 10:32:19.382565842 +0200 @@ -1,0 +2,33 @@ +Thu May 8 20:40:20 UTC 2018 - sor.ale...@meowr.ru + +- Update to version 1.8.1 (changes since 1.6.2): + * Bump xapp requirement to 1.1.0 + * Add Remove Annotation. + * Correct sidebar refresh after removing annotation. + * Code style: Fix ev-application and ev-window. + * shell: Use g_printerr instead of g_warning + * shell: Port to GtkApplication. + * daemon: Port to GApplication. + * Recent view. + * Add a preferences dialogue and optional toolbar buttons. + * Fix Ctrl+A selecting the entire document when focus is on a + text entry. + * ev-recent-view: General cleanup. + * Sidebar: Add a close button. + * Fix crash when opening an already open document twice. + * Fix Epub thumbnails. + * Allow to save epub documents. + * Add the ability to zoom in/out thumbnails. + * Add smooth scrolling. + * Thumbnail zoom buttons: Reorder, use symbolic and rename the + tooltips. + * Fix changing page in Page View after zooming out. + * ev-sidebar: Don't set the relief on the select button to NONE. + * Bug fixes. + * Add a shortcut for continuous mode. + * Remove caja/nemo extensions. +- Add xreader-fix-func-type.patch: Fix function type to fix a + warning in libview/ev-view.c. +- Drop packages for Caja and Nemo extensions. + +------------------------------------------------------------------- Old: ---- xreader-1.6.2.tar.gz New: ---- xreader-1.8.1.tar.gz xreader-fix-func-type.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ xreader.spec ++++++ --- /var/tmp/diff_new_pack.Qq4pWP/_old 2018-05-15 10:32:20.022542336 +0200 +++ /var/tmp/diff_new_pack.Qq4pWP/_new 2018-05-15 10:32:20.026542189 +0200 @@ -1,7 +1,7 @@ # # spec file for package xreader # -# 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 @@ -20,13 +20,15 @@ %define typelib1 typelib-1_0-XreaderDocument-1_5 %define typelib2 typelib-1_0-XreaderView-1_5 Name: xreader -Version: 1.6.2 +Version: 1.8.1 Release: 0 Summary: Document viewer for documents like PDF/PostScript -License: GPL-2.0 AND LGPL-2.0 +License: GPL-2.0-only AND LGPL-2.0-only Group: Productivity/Office/Other -Url: https://github.com/linuxmint/xreader +URL: https://github.com/linuxmint/xreader Source: https://github.com/linuxmint/%{name}/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz +# PATCH-FIX-UPSTREAM xreader-fix-func-type.patch -- Fix function type to fix a warning in libview/ev-view.c. +Patch0: xreader-fix-func-type.patch BuildRequires: fdupes BuildRequires: gcc-c++ BuildRequires: gnome-common @@ -42,22 +44,19 @@ BuildRequires: pkgconfig(gtk+-3.0) >= 3.14.0 BuildRequires: pkgconfig(gtk+-unix-print-3.0) BuildRequires: pkgconfig(libgxps) >= 0.2.0 -BuildRequires: pkgconfig(libnemo-extension) BuildRequires: pkgconfig(libsecret-1) >= 0.5 BuildRequires: pkgconfig(libspectre) >= 0.2.0 BuildRequires: pkgconfig(libxml-2.0) >= 2.5.0 BuildRequires: pkgconfig(poppler-glib) >= 0.22.0 BuildRequires: pkgconfig(sm) >= 1.0.0 +BuildRequires: pkgconfig(webkit2gtk-4.0) >= 2.4.3 +BuildRequires: pkgconfig(xapp) >= 1.1.0 BuildRequires: pkgconfig(zlib) Requires: %{name}-backends = %{version} Recommends: %{name}-lang +Obsoletes: caja-extension-%{name} < %{version} +Obsoletes: nemo-extension-%{name} < %{version} %glib2_gsettings_schema_requires -%if 0%{?suse_version} > 1320 || (0%{?sle_version} > 120200 && 0%{?is_opensuse}) -BuildRequires: pkgconfig(libcaja-extension) -%endif -%if 0%{?suse_version} >= 1320 || (0%{?sle_version} >= 120100 && 0%{?is_opensuse}) -BuildRequires: pkgconfig(webkit2gtk-4.0) >= 2.4.3 -%endif %description Xreader is a document viewer capable of displaying multiple and @@ -111,38 +110,6 @@ Xreader is a document viewer capable of displaying multiple and single page document formats like PDF and Postscript. -%package -n nemo-extension-%{name} -Summary: X-Apps Document Reader file manager extension -Group: Productivity/Office/Other -Requires: %{name} = %{version} -Requires: nemo -Recommends: nemo-extension-sendto - -%description -n nemo-extension-%{name} -Xreader is a document viewer capable of displaying multiple and -single page document formats like PDF and Postscript. - -This package contains the xreader extension for the Nemo file -manager. It adds an additional tab called "Document" to the file -properties dialog. - -%if 0%{?suse_version} > 1320 || (0%{?sle_version} > 120200 && 0%{?is_opensuse}) -%package -n caja-extension-%{name} -Summary: X-Apps Document Reader file manager extension -Group: Productivity/Office/Other -Requires: %{name} = %{version} -Requires: caja -Recommends: caja-extension-sendto - -%description -n caja-extension-%{name} -Xreader is a document viewer capable of displaying multiple and -single page document formats like PDF and Postscript. - -This package contains the xreader extension for the Caja file -manager. It adds an additional tab called "Document" to the file -properties dialog. -%endif - %package devel Summary: X-Apps Document Reader development files Group: Development/Libraries/C and C++ @@ -156,15 +123,13 @@ %prep %setup -q +%patch0 -p1 %build NOCONFIGURE=1 gnome-autogen.sh %configure \ --disable-static \ --libexecdir=%{_libexecdir}/%{name} \ -%if 0%{?suse_version} <= 1320 && !(0%{?sle_version} > 120200 && 0%{?is_opensuse}) - --disable-caja \ -%endif --enable-introspection \ --enable-gtk-doc make %{?_smp_mflags} V=1 @@ -184,7 +149,7 @@ %postun -n libxreaderdocument%{sover} -p /sbin/ldconfig -%if 0%{?suse_version} <= 1320 +%if 0%{?suse_version} < 1500 %post %icon_theme_cache_post %desktop_database_post @@ -199,7 +164,8 @@ %endif %files -%doc AUTHORS COPYING README +%license COPYING +%doc AUTHORS README %{_bindir}/%{name} %{_bindir}/%{name}-previewer %{_bindir}/%{name}-thumbnailer @@ -222,11 +188,13 @@ %files lang -f %{name}.lang %files -n libxreaderview%{sover} -%doc AUTHORS COPYING README +%license COPYING +%doc AUTHORS README %{_libdir}/libxreaderview.so.%{sover}* %files -n libxreaderdocument%{sover} -%doc AUTHORS COPYING README +%license COPYING +%doc AUTHORS README %{_libdir}/libxreaderdocument.so.%{sover}* %files devel @@ -236,18 +204,6 @@ %{_datadir}/gir-1.0/*.gir %{_datadir}/gtk-doc/html/ -%files -n nemo-extension-%{name} -%dir %{_datadir}/nemo/extensions/ -%{_datadir}/nemo/extensions/libxreader-properties-page.nemo-extension -%{_libdir}/nemo/ - -%if 0%{?suse_version} > 1320 || (0%{?sle_version} > 120200 && 0%{?is_opensuse}) -%files -n caja-extension-%{name} -%dir %{_datadir}/caja/extensions/ -%{_datadir}/caja/extensions/libxreader-properties-page.caja-extension -%{_libdir}/caja/ -%endif - %files -n %{typelib1} %{_libdir}/girepository-1.0/XreaderDocument-1.5.typelib @@ -255,7 +211,8 @@ %{_libdir}/girepository-1.0/XreaderView-1.5.typelib %files backends -%doc AUTHORS README COPYING +%license COPYING +%doc AUTHORS README %{_libdir}/%{name}/%{sover}/backends/ %changelog ++++++ xreader-1.6.2.tar.gz -> xreader-1.8.1.tar.gz ++++++ ++++ 24048 lines of diff (skipped) ++++++ xreader-fix-func-type.patch ++++++ --- a/libview/ev-view.c +++ b/libview/ev-view.c @@ -2675,7 +2675,7 @@ ev_view_find_window_child_for_annot (EvV return NULL; } -static EvViewWindowChild * +static void ev_view_remove_window_child_for_annot (EvView *view, guint page, EvAnnotation *annot)