Hello community, here is the log from the commit of package evince for openSUSE:Leap:15.2 checked in at 2020-01-30 14:48:26 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Leap:15.2/evince (Old) and /work/SRC/openSUSE:Leap:15.2/.evince.new.26092 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "evince" Thu Jan 30 14:48:26 2020 rev:35 rq:751792 version:3.34.2 Changes: -------- --- /work/SRC/openSUSE:Leap:15.2/evince/evince.changes 2020-01-15 14:54:17.889551485 +0100 +++ /work/SRC/openSUSE:Leap:15.2/.evince.new.26092/evince.changes 2020-01-30 14:48:57.366856373 +0100 @@ -2 +2 @@ -Fri Jul 26 09:42:45 UTC 2019 - Felix Zhang <[email protected]> +Sat Nov 23 18:43:05 UTC 2019 - Bjørn Lie <[email protected]> @@ -4,2 +4,44 @@ -- Add CVE-2019-1010006.patch: Fix overflow checks in tiff backend - (boo#1141619 bgo#788980 CVE-2019-1010006) +- Update to version 3.34.2: + + libview: + - Fix crash on DnD. + - Don't enable popup actions on page change. + + Updated translations. + +------------------------------------------------------------------- +Tue Nov 5 15:26:27 UTC 2019 - Antonio Larrosa <[email protected]> + +- Add patches to reverse the upstream requirement of at least + synctex 1.19 since that requires texlive 2019 and we have 2017 in + SLE 15. The patches are only applied when building evince with + synctex < 1.19: + * 0001-reversed-synctex-Move-_GNU_SOURCE-to-the-top-of-the-source-code.patch + * 0002-reversed-synctex-Remove-unused-labels.patch + * 0003-reversed-synctex-Silence-error-when-no-synctex-file-is-present.patch + * 0004-reversed-synctex-Annotate-functions-that-wrap-vfprintf.patch + * 0005-reversed-synctex-Fix-compilation.patch + * 0006-reversed-synctex-Update-from-version-1.18-to-1.21.patch + +------------------------------------------------------------------- +Mon Oct 7 20:05:48 UTC 2019 - Bjørn Lie <[email protected]> + +- Update to version 3.34.1: + + accessibility: + - Fix erroneous cast. + - Initialize private fields. + + build: Distribute meson build files when using autotools. + + flatpak: Update dependency versions. + + i18n: Fix typo in Ukrainian translation for Download. + + icon: + - Create a nightly app icon. + - Fix logo in README and add flatpak button. + + shell: + - Ignore higher mouse buttons on links. + - Fix slow scrolling on last pages of big pdf's. + + Updated translations. + +------------------------------------------------------------------- +Mon Sep 30 08:48:49 UTC 2019 - [email protected] + +- Update to version 3.34.0: + + AppData: Add release information to AppData. +- Switch to using explicit tag in _service. @@ -8 +50,28 @@ -Mon Jun 3 19:10:06 UTC 2019 - [email protected] +Mon Sep 30 08:45:16 UTC 2019 - [email protected] + +- Update to version 3.32.1+0: + + AppData: Add 3.30 major release date. + + Add release information to AppData. + +------------------------------------------------------------------- +Mon Sep 09 22:37:15 UTC 2019 - [email protected] + +- Update to version 3.32.0+28: + + sidebar links: fix popup. + + require Poppler 0.76.0 for ignoreDiacritics feature. + + shell: remember unmaximized window size. + + EvPresentationView: don't start render job until realized. + + ev-page-action-widget: disconnect notify::document signal in + finalize. + + backend: fix swapped y-coordinates when adding annotations. + + ev_window: prevent NULL metadata being passed. + + Updated translations. +- Switch to source services, use checkout from gnome-3.32 stable + branch. +- Switch to meson buildsystem. Add meson BuildRequires and macros, + as well as dropping libtool BuildRequires, no longer needed. +- Replace gcc-c++ with generic c++_compiler BuildRequires. +- Drop CVE-2019-11459.patch: Fixed upstream. + +------------------------------------------------------------------- +Mon Jun 3 18:51:09 UTC 2019 - [email protected] @@ -15 +84 @@ -Fri May 17 20:10:48 UTC 2019 - [email protected] +Fri May 17 20:03:45 UTC 2019 - [email protected] @@ -21 +90,187 @@ -Thu Mar 22 12:38:14 UTC 2018 - [email protected] +Thu Mar 14 18:54:57 UTC 2019 - Bjørn Lie <[email protected]> + +- Update to version 3.32.0: + + Updated translations. + +------------------------------------------------------------------- +Wed Feb 20 12:36:35 UTC 2019 - [email protected] + +- Update to version 3.31.91: + + Updated translations. +- Changes from version 3.31.90: + + Fix typo's spotted for max-scale and min-scale. + + Remove '.flat' style from PDF forms GtkEntry's. + + Set MIN_SCALE back to previous low value. + + Revert removal of browser-plugin support. + + Update app icon. + + help: + - No more View menu. + - Replace title bar with header bar. + + pdf backend: Ignore diacritics when searching text. + + unarr: Update LZMA SDK. + + Updated translations. + +------------------------------------------------------------------- +Wed Jan 9 22:15:04 UTC 2019 - [email protected] + +- Update to version 3.31.4: + + General: + - Fix build when compiled without dbus. + - Fix reference to Bugzilla by Gitlab URL in DOAP file. + + Sidebar:: + - Display a first blank thumbnail. + - Remove GtkTreeView implementation for thumbnails. + + Updated translations. +- Changes from version 3.31.3: + + UI: + - Fix criticals in tree view mode. + - Fix ComboBoxText user selected item's logic. + + help: + - Search uses icon instead of text for zero matches. + - Update printer debugging to 3.30 Control Center UI. + + Updated translations. +- Changes from version 3.31.2: + + UI: + - Fix appearance of editable GtkComboBox in PDF form. + - Handle adjustment change during drag event. + - Set propergravity on popup menu in search box. + - Fix default icon name in evince-previewer. + - Use GtkHeaderBar in print preview. + - Beautify placeholder text for password locked documents. + - Remove App menu. + - Use monitor instead of screen to determine window size. + - Close auto-expanded rows and remember state. + - Provide a visual cue when find is unsupported. + - Add symbolic to show a layer when is visible. + - Use the info bar close button instead of a custom one. + - Add icons for squiggly and text annotations. + + misc: Remove EvPageAction widget. + + general: Code cleanup: + - Remove unused variables. + - Replace deprecated symbols. + - Sync cut-n-paste code. + - Fix dependencies. + - Sync overwrite dialog against GtkFileChooserWidget. +- Changes from version 3.31.1: + + No changes. +- Drop upstream fixed patches: + + evince-previewer-Fix-default-icon-name.patch + + evince-shell-Use-monitor-instead-of-screen.patch +- Drop all references to browser-plugin sans obsoletes: It has now + been dropped upstream. +- Add pkgconfig(appstream-glib) BuildRequires: New dependency. +- Add explicit libtool BuildRequires: We pull it in anyway, and use + it during build. +- Drop intltool BuildRequires: No longer needed. + +------------------------------------------------------------------- +Thu Dec 27 23:05:40 UTC 2018 - [email protected] + +- Add upstream bug fix patches from stable branch: + + evince-previewer-Fix-default-icon-name.patch: previewer: Fix + default icon name. + + evince-shell-Use-monitor-instead-of-screen.patch: Use monitor + instead of screen to determine window size. + +------------------------------------------------------------------- +Tue Oct 23 18:29:08 UTC 2018 - [email protected] + +- Update to version 3.30.2: + + UI: + - Fix appearance of editable GtkComboBox in PDF form. + - Handle unexpected page jump while dragging the scroll. + + Build: Claim ownership of org.gnome.evince. + + Updated translations. + +------------------------------------------------------------------- +Wed Oct 3 14:37:42 UTC 2018 - [email protected] + +- Update to version 3.30.1: + + Printing: Fix messages to show printed file name when it + contains '&' in the name. + + libdocument: + - Fix handling of mime-type aliases. + - Fix regression, open gzipped documents. + + Backends: + - comics: Use official IANA type for .cbr. + - djvu: Ignore text regions that are missing text. + + UI: + - Fix Dual odd-left state. + - Fix regression, set to odd-left in dual mode when document + has only 2 pages. + - Fix cursor movement when logical and visual line differs. + - Fix zoom-action to respond touch events. ++++ 142 more lines (skipped) ++++ between /work/SRC/openSUSE:Leap:15.2/evince/evince.changes ++++ and /work/SRC/openSUSE:Leap:15.2/.evince.new.26092/evince.changes Old: ---- CVE-2019-1010006.patch CVE-2019-11459.patch _servicedata evince-3.26.0+20180128.1bd86963.tar.xz libdocument-return-96-dpi-if-unable-to-determine.patch New: ---- 0001-reversed-synctex-Move-_GNU_SOURCE-to-the-top-of-the-source-code.patch 0002-reversed-synctex-Remove-unused-labels.patch 0003-reversed-synctex-Silence-error-when-no-synctex-file-is-present.patch 0004-reversed-synctex-Annotate-functions-that-wrap-vfprintf.patch 0005-reversed-synctex-Fix-compilation.patch 0006-reversed-synctex-Update-from-version-1.18-to-1.21.patch evince-3.34.2.obscpio evince.obsinfo ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ evince.spec ++++++ --- /var/tmp/diff_new_pack.kr2SUJ/_old 2020-01-30 14:48:57.870856641 +0100 +++ /var/tmp/diff_new_pack.kr2SUJ/_new 2020-01-30 14:48:57.870856641 +0100 @@ -1,7 +1,7 @@ # # spec file for package evince # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -20,98 +20,102 @@ %define pluginAPI 4 Name: evince -Version: 3.26.0+20180128.1bd86963 +Version: 3.34.2 Release: 0 Summary: GNOME Document Viewer -License: GPL-2.0+ +License: GPL-2.0-or-later Group: Productivity/Office/Other -Url: http://www.gnome.org/projects/evince/ - -#Source0: http://download.gnome.org/sources/evince/3.26/%%{name}-%%{version}.tar.xz -Source: %{name}-%{version}.tar.xz -# PATCH-FIX-UPSTREAM libdocument-return-96-dpi-if-unable-to-determine.patch bsc#1066138 bgo#719400 [email protected] -- fix the broken zoom in/out when graphic backend does not return proper dpi -Patch1: libdocument-return-96-dpi-if-unable-to-determine.patch -# PATCH-FIX-UPSTREAM CVE-2019-11459.patch boo#1122607 [email protected] -- fix display of uninitialized memory if TiffReadRGBAImageOriented fails. -Patch2: CVE-2019-11459.patch -# PATCH-FIX-UPSTREAM CVE-2019-1010006.patch boo#1141619 [email protected] -- Fix overflow checks in tiff backend -Patch3: CVE-2019-1010006.patch +URL: https://wiki.gnome.org/Apps/Evince +Source0: %{name}-%{version}.tar.xz +# PATCH-FIX-SLE [email protected] - Reverse upstream bump of synctex required version to build with texlive 2017 +Patch0: 0001-reversed-synctex-Move-_GNU_SOURCE-to-the-top-of-the-source-code.patch +Patch1: 0002-reversed-synctex-Remove-unused-labels.patch +Patch2: 0003-reversed-synctex-Silence-error-when-no-synctex-file-is-present.patch +Patch3: 0004-reversed-synctex-Annotate-functions-that-wrap-vfprintf.patch +Patch4: 0005-reversed-synctex-Fix-compilation.patch +Patch5: 0006-reversed-synctex-Update-from-version-1.18-to-1.21.patch +BuildRequires: c++_compiler BuildRequires: fdupes -BuildRequires: gcc-c++ BuildRequires: ghostscript-fonts-std BuildRequires: ghostscript-x11 -BuildRequires: gnome-common -BuildRequires: intltool +BuildRequires: gtk-doc >= 1.3 BuildRequires: libtiff-devel +BuildRequires: meson +BuildRequires: pkgconfig BuildRequires: texlive-devel BuildRequires: translation-update-upstream BuildRequires: yelp-tools BuildRequires: pkgconfig(adwaita-icon-theme) >= 2.17.1 +BuildRequires: pkgconfig(appstream-glib) BuildRequires: pkgconfig(ddjvuapi) >= 3.5.22 BuildRequires: pkgconfig(gio-2.0) >= 2.36.0 BuildRequires: pkgconfig(gio-unix-2.0) BuildRequires: pkgconfig(gnome-desktop-3.0) BuildRequires: pkgconfig(gobject-introspection-1.0) >= 0.6 +BuildRequires: pkgconfig(gspell-1) >= 1.6.0 BuildRequires: pkgconfig(gstreamer-1.0) BuildRequires: pkgconfig(gstreamer-base-1.0) BuildRequires: pkgconfig(gstreamer-video-1.0) BuildRequires: pkgconfig(gthread-2.0) BuildRequires: pkgconfig(gtk+-3.0) >= 3.16.0 BuildRequires: pkgconfig(ice) -BuildRequires: pkgconfig(libarchive) >= 3.1.2 +BuildRequires: pkgconfig(libarchive) >= 3.2.0 BuildRequires: pkgconfig(libgxps) >= 0.2.1 BuildRequires: pkgconfig(libnautilus-extension) >= 2.91.4 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.33.0 +BuildRequires: pkgconfig(poppler-glib) >= 0.76.0 BuildRequires: pkgconfig(sm) >= 1.0.0 +BuildRequires: pkgconfig(synctex) >= 1.18 BuildRequires: pkgconfig(x11) BuildRequires: pkgconfig(zlib) -Recommends: %{name}-lang # Disable the browser plugin and package, and make main package provide-obsolete plugin package for upgrade; see bgo#738270 Provides: evince-browser-plugin Obsoletes: evince-browser-plugin -%{glib2_gsettings_schema_requires} %description -Evince is a document viewer capable of displaying multiple and -singlepage document formats like PDF and PostScript. +Evince is a document viewer capable of displaying single-page and multi-page +document formats like PDF and PostScript. + +Separate plugin packages, e.g. evince-plugin-pdfdocument, need to be present +for certain formats to be recognized. %package -n libevdocument3-4 -Summary: GNOME Document Viewer - System Library +Summary: GNOME Document Viewer System Library Group: System/Libraries %description -n libevdocument3-4 -Evince is a document viewer capable of displaying multiple and -singlepage document formats like PDF and PostScript. +Evince is a document viewer capable of displaying single-page and multi-page +document formats like PDF and PostScript. %package -n libevview3-3 -Summary: GNOME Document Viewer - System Library +Summary: GNOME Document Viewer System Library Group: System/Libraries %description -n libevview3-3 -Evince is a document viewer capable of displaying multiple and -singlepage document formats like PDF and PostScript. +Evince is a document viewer capable of displaying single-page and multi-page +document formats like PDF and PostScript. %package -n typelib-1_0-EvinceDocument-3_0 -Summary: GNOME Document Viewer -- Introspection bindings +Summary: Introspection bindings for the Evince Document Viewer Group: System/Libraries %description -n typelib-1_0-EvinceDocument-3_0 -Evince is a document viewer capable of displaying multiple and -singlepage document formats like PDF and PostScript. +Evince is a document viewer capable of displaying single-page and multi-page +document formats like PDF and PostScript. %package -n typelib-1_0-EvinceView-3_0 -Summary: GNOME Document Viewer -- Introspection bindings +Summary: Introspection bindings for the Evince Document Viewer Group: System/Libraries %description -n typelib-1_0-EvinceView-3_0 -Evince is a document viewer capable of displaying multiple and -singlepage document formats like PDF and PostScript. +Evince is a document viewer capable of displaying single-page and multi-page +document formats like PDF and PostScript. %package devel -Summary: GNOME Document Viewer +Summary: Header files for the Evince Document Viewer Group: Development/Languages/C and C++ Requires: %{name} = %{version} Requires: libevdocument3-4 = %{version} @@ -120,18 +124,10 @@ Requires: typelib-1_0-EvinceView-3_0 = %{version} %description devel -Evince is a document viewer capable of displaying multiple and -singlepage document formats like PDF and PostScript. +Evince is a document viewer capable of displaying single-page and multi-page +document formats like PDF and PostScript. -%package browser-plugin -Summary: Browser Plugin Based on Evince -Group: Productivity/Office/Other -Requires: %{name} = %{version} -Supplements: packageand(%{name}:MozillaFirefox) - -%description browser-plugin -Evince is a document viewer capable of displaying multiple and -singlepage document formats like PDF and PostScript. +This package contains the header files for building additional plugins. %package -n nautilus-evince Summary: Evince Plugin for Nautilus @@ -148,101 +144,96 @@ This package contains a plugin to integrate Evince into Nautilus. %package -n evince-plugin-comicsdocument -Summary: Evince - comics document support +Summary: Comics document support for Evince Group: Productivity/Office/Other Requires: %{name} Enhances: %{name} %description -n evince-plugin-comicsdocument -Add comics document support to Evince +A plugin for Evince to read Comics documents. %package -n evince-plugin-djvudocument -Summary: Evince - DjVu document support +Summary: DjVu document support for Evince Group: Productivity/Office/Other Requires: %{name} Enhances: %{name} %description -n evince-plugin-djvudocument -Add DjVu document support to Evince +A plugin for Evince to read DjVu documents. %package -n evince-plugin-dvidocument -Summary: Evince - DVI document support +Summary: DVI document support for Evince Group: Productivity/Office/Other Requires: %{name} Enhances: %{name} %description -n evince-plugin-dvidocument -Add DVI document support to Evince +A plugin for Evince to read DVI documents. %package -n evince-plugin-pdfdocument -Summary: Evince - PDF document support +Summary: PDF document support for Evince Group: Productivity/Office/Other Requires: %{name} Supplements: %{name} %description -n evince-plugin-pdfdocument -Add PDF document support to Evince +A plugin for Evince to read PDF documents. %package -n evince-plugin-psdocument -Summary: Evince - PS document support +Summary: PostScript document support for Evince Group: Productivity/Office/Other Requires: %{name} %description -n evince-plugin-psdocument -Add PostScript document support to Evince +A plugin for Evince to read PostScript documents. %package -n evince-plugin-tiffdocument -Summary: Evince - TIFF document support +Summary: TIFF document support for Evince Group: Productivity/Office/Other Requires: %{name} Enhances: %{name} %description -n evince-plugin-tiffdocument -Add TIFF document support to Evince +A plugin for Evince to read TIFF images. %package -n evince-plugin-xpsdocument -Summary: Evince - XPS document support +Summary: XPS document support for Evince Group: Productivity/Office/Other Requires: %{name} Enhances: %{name} %description -n evince-plugin-xpsdocument -Add XPS document support to Evince +A plugin for Evince to read XPS documents. %lang_package %prep -%autosetup -p1 -translation-update-upstream +%setup +%if %{pkg_vcmp pkgconfig(synctex) < 1.19} +%patch0 -p1 +%patch1 -p1 +%patch2 -p1 +%patch3 -p1 +%patch4 -p1 +%patch5 -p1 +%endif +translation-update-upstream po %{name} %build -# on openSUSE, we share the browser plugins between browsers; do not use mozilla's default. -export BROWSER_PLUGIN_DIR=%{_libdir}/browser-plugins -NOCONFIGURE=1 ./autogen.sh -%configure \ - --disable-static \ - --with-pic \ +%meson \ --libexecdir=%{_libexecdir}/%{name} \ - --enable-djvu \ - --enable-dvi \ - --enable-comics \ - --enable-nautilus \ - --enable-introspection \ - --enable-multimedia \ - --disable-browser-plugin \ - --enable-gtk-doc \ + -Dps=enabled \ + -Dt1lib=disabled \ %{nil} -%make_build +%meson_build %install -%make_install +%meson_install %find_lang %{name} %{?no_lang_C} --metainfo %{name} -find %{buildroot} -type f -name "*.la" -delete -print %fdupes %{buildroot}/%{_prefix} %post -n libevdocument3-4 -p /sbin/ldconfig %postun -n libevdocument3-4 -p /sbin/ldconfig - %post -n libevview3-3 -p /sbin/ldconfig %postun -n libevview3-3 -p /sbin/ldconfig @@ -250,14 +241,13 @@ %license COPYING %doc %{_datadir}/help/C/%{name}/ %{_bindir}/* -%dir %{_datadir}/appdata -%{_datadir}/appdata/evince.appdata.xml %{_datadir}/applications/*.desktop %{_datadir}/dbus-1/services/org.gnome.evince.Daemon.service %{_datadir}/evince %{_datadir}/GConf/gsettings/evince.convert %{_datadir}/glib-2.0/schemas/org.gnome.Evince.gschema.xml -%{_datadir}/icons/hicolor/*/apps/evince*.* +%{_datadir}/icons/hicolor/*/apps/org.gnome.Evince* +%{_datadir}/metainfo/org.gnome.Evince.appdata.xml %dir %{_datadir}/thumbnailers %{_datadir}/thumbnailers/evince.thumbnailer # backends directory structure - backends go to their own packages @@ -267,14 +257,8 @@ # helpers & daemon %dir %{_libexecdir}/evince %{_libexecdir}/evince/evinced -%doc %{_mandir}/man?/*.* -%{_userunitdir}/evince.service - -%files lang -f %{name}.lang - -#%%files browser-plugin -#%%defattr(-,root,root) -#%%{_libdir}/browser-plugins/libevbrowserplugin.so +%{_mandir}/man?/*%{ext_man} +%{_userunitdir}/org.gnome.Evince.service %files -n libevdocument3-4 %{_libdir}/libevdocument3.so.4* @@ -304,38 +288,40 @@ %{_libdir}/nautilus/extensions-*/*.so %files -n evince-plugin-comicsdocument -%{_datadir}/appdata/evince-comicsdocument.metainfo.xml +%{_datadir}/metainfo/evince-comicsdocument.metainfo.xml %{_libdir}/evince/%{pluginAPI}/backends/comicsdocument.evince-backend %{_libdir}/evince/%{pluginAPI}/backends/libcomicsdocument.so %files -n evince-plugin-djvudocument -%{_datadir}/appdata/evince-djvudocument.metainfo.xml +%{_datadir}/metainfo/evince-djvudocument.metainfo.xml %{_libdir}/evince/%{pluginAPI}/backends/djvudocument.evince-backend %{_libdir}/evince/%{pluginAPI}/backends/libdjvudocument.so %files -n evince-plugin-dvidocument -%{_datadir}/appdata/evince-dvidocument.metainfo.xml +%{_datadir}/metainfo/evince-dvidocument.metainfo.xml %{_libdir}/evince/%{pluginAPI}/backends/dvidocument.evince-backend %{_libdir}/evince/%{pluginAPI}/backends/libdvidocument.so %files -n evince-plugin-pdfdocument -%{_datadir}/appdata/evince-pdfdocument.metainfo.xml +%{_datadir}/metainfo/evince-pdfdocument.metainfo.xml %{_libdir}/evince/%{pluginAPI}/backends/pdfdocument.evince-backend %{_libdir}/evince/%{pluginAPI}/backends/libpdfdocument.so %files -n evince-plugin-psdocument -%{_datadir}/appdata/evince-psdocument.metainfo.xml +%{_datadir}/metainfo/evince-psdocument.metainfo.xml %{_libdir}/evince/%{pluginAPI}/backends/psdocument.evince-backend %{_libdir}/evince/%{pluginAPI}/backends/libpsdocument.so %files -n evince-plugin-tiffdocument -%{_datadir}/appdata/evince-tiffdocument.metainfo.xml +%{_datadir}/metainfo/evince-tiffdocument.metainfo.xml %{_libdir}/evince/%{pluginAPI}/backends/tiffdocument.evince-backend %{_libdir}/evince/%{pluginAPI}/backends/libtiffdocument.so %files -n evince-plugin-xpsdocument -%{_datadir}/appdata/evince-xpsdocument.metainfo.xml +%{_datadir}/metainfo/evince-xpsdocument.metainfo.xml %{_libdir}/evince/%{pluginAPI}/backends/xpsdocument.evince-backend %{_libdir}/evince/%{pluginAPI}/backends/libxpsdocument.so +%files lang -f %{name}.lang + %changelog ++++++ 0001-reversed-synctex-Move-_GNU_SOURCE-to-the-top-of-the-source-code.patch ++++++ --- b/cut-n-paste/synctex/synctex_parser.c +++ a/cut-n-paste/synctex/synctex_parser.c @@ -83,11 +83,6 @@ * First level objects are sheets and forms, containing boxes, glues, kerns... * The third tree allows to browse leaves according to tag and line. */ -/* Declare _GNU_SOURCE for accessing vasprintf. For MSC compiler, vasprintf is - * defined in this file - */ -#define _GNU_SOURCE - # if defined(SYNCTEX_USE_LOCAL_HEADER) # include "synctex_parser_local.h" # else @@ -100,6 +95,7 @@ # endif # endif +#define _GNU_SOURCE #include <stdlib.h> #include <stdarg.h> #include <stdio.h> ++++++ 0002-reversed-synctex-Remove-unused-labels.patch ++++++ --- b/cut-n-paste/synctex/synctex_parser.c +++ a/cut-n-paste/synctex/synctex_parser.c @@ -754,6 +754,7 @@ (char *)_synctex_malloc(reader->size+1); /* one more character for null termination */ if (NULL == reader->start) { _synctex_error("! malloc error in synctex_reader_init_with_output_file."); + bailey: #ifdef SYNCTEX_DEBUG return reader; #else @@ -5458,6 +5459,7 @@ # pragma mark + SCAN KERN # endif ns = _synctex_parse_new_kern(scanner); + continue_scan: if (ns.status == SYNCTEX_STATUS_OK) { if (child) { _synctex_node_set_sibling(child,ns.node); ++++++ 0003-reversed-synctex-Silence-error-when-no-synctex-file-is-present.patch ++++++ --- b/cut-n-paste/synctex/synctex_parser.c +++ a/cut-n-paste/synctex/synctex_parser.c @@ -6030,6 +6030,7 @@ if ((scanner->reader = synctex_reader_init_with_output_file(scanner->reader, output, build_directory))) { return parse? synctex_scanner_parse(scanner):scanner; } + _synctex_error("No file?"); return NULL; } ++++++ 0004-reversed-synctex-Annotate-functions-that-wrap-vfprintf.patch ++++++ --- b/cut-n-paste/synctex/synctex_parser_utils.c +++ a/cut-n-paste/synctex/synctex_parser_utils.c @@ -87,8 +87,7 @@ # include <syslog.h> #endif +int _synctex_log(int level, const char * prompt, const char * reason,va_list arg); -int _synctex_error(const char * reason, ...) __attribute__((__format__ (__printf__, 1, 2))); -int _synctex_log(int level, const char * prompt, const char * reason, va_list arg) __attribute__((__format__ (__printf__, 3, 0))); int _synctex_log(int level, const char * prompt, const char * reason,va_list arg) { int result; ++++++ 0005-reversed-synctex-Fix-compilation.patch ++++++ --- b/cut-n-paste/synctex/synctex_parser.c +++ a/cut-n-paste/synctex/synctex_parser.c @@ -95,7 +95,6 @@ # endif # endif -#define _GNU_SOURCE #include <stdlib.h> #include <stdarg.h> #include <stdio.h> @@ -263,8 +262,6 @@ # pragma mark Abstract OBJECTS and METHODS # endif -void synctex_node_free(synctex_node_p node); - /** * \def SYNCTEX_MSG_SEND * \brief Takes care of sending the given message if possible. @@ -536,10 +533,6 @@ synctex_io_mode_t io_mode; } synctex_open_s; -void synctex_reader_free(synctex_reader_p reader); -synctex_reader_p synctex_reader_init_with_output_file(synctex_reader_p reader, const char * output, const char * build_directory); -synctex_node_p _synctex_node_next(synctex_node_p node); - /* This functions opens the file at the "output" given location. * It manages the problem of quoted filenames that appear with pdftex and filenames containing the space character. * In TeXLive 2008, the synctex file created with pdftex did contain unexpected quotes. --- b/cut-n-paste/synctex/synctex_parser_utils.c +++ a/cut-n-paste/synctex/synctex_parser_utils.c @@ -87,8 +87,6 @@ # include <syslog.h> #endif -int _synctex_log(int level, const char * prompt, const char * reason,va_list arg); - int _synctex_log(int level, const char * prompt, const char * reason,va_list arg) { int result; # ifdef SYNCTEX_RECENT_WINDOWS ++++++ 0006-reversed-synctex-Update-from-version-1.18-to-1.21.patch ++++++ ++++ 15040 lines (skipped) ++++++ _service ++++++ --- /var/tmp/diff_new_pack.kr2SUJ/_old 2020-01-30 14:48:57.926856671 +0100 +++ /var/tmp/diff_new_pack.kr2SUJ/_new 2020-01-30 14:48:57.926856671 +0100 @@ -1,16 +1,14 @@ <services> - <service mode="disabled" name="tar_scm"> - <param name="url">git://git.gnome.org/evince</param> + <service name="obs_scm" mode="disabled"> + <param name="url">https://gitlab.gnome.org/GNOME/evince.git</param> <param name="scm">git</param> - <param name="revision">gnome-3-26</param> - <param name="versionformat">3.26.0+%cd.%h</param> - <param name="changesgenerate">enable</param> + <param name="revision">refs/tags/3.34.2</param> + <param name="versionformat">@PARENT_TAG@</param> </service> - <service mode="disabled" name="recompress"> + <service mode="buildtime" name="tar" /> + <service mode="buildtime" name="recompress"> <param name="file">*.tar</param> <param name="compression">xz</param> </service> <service mode="disabled" name="set_version" /> </services> - - ++++++ evince.obsinfo ++++++ name: evince version: 3.34.2 mtime: 1574533353 commit: f04ad76b698c1f80854bd21b00250d05fed64435
