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-04-24 23:07:11 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/evince (Old) and /work/SRC/openSUSE:Factory/.evince.new.12324 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "evince" Sat Apr 24 23:07:11 2021 rev:156 rq:887999 version:40.1 Changes: -------- --- /work/SRC/openSUSE:Factory/evince/evince.changes 2021-04-12 12:37:40.553390983 +0200 +++ /work/SRC/openSUSE:Factory/.evince.new.12324/evince.changes 2021-04-24 23:07:37.159264664 +0200 @@ -1,0 +2,26 @@ +Thu Apr 22 07:49:39 UTC 2021 - Antonio Larrosa <[email protected]> + +- Add 3 patches from upstream (reversed) to remove more synctex + related patches in SLE/Leap where texlive is too old + (boo#1184093): + + 0001-reversed-synctex-Annotate-more-functions-that-wraps-formatting-strings.patch + + 0002-reversed-synctex-Sync-against-upstream-synctex.patch + + 0003-reversed-cut-n-paste-Annotate-functions-that-wraps-formatting-strings.patch +- Rebase patch since meson is used now instead of autoconf: + + 0006-reversed-synctex-Update-from-version-1.18-to-1.21.patch + +------------------------------------------------------------------- +Sat Apr 17 09:27:01 UTC 2021 - Dominique Leuenberger <[email protected]> + +- Update to version 40.1: + + Avoid changing soname. +- Changes from version 40.0: + + comics: Add support for RAR v5 archives through libarchive. + + Updated appliction help. + + unarr: Add error reporting to open function. + + Shell: + - Add two new shortcuts. + - Set page cache size with correct type. + + Updated translations. + +------------------------------------------------------------------- Old: ---- evince-3.39.2.tar.xz New: ---- 0001-reversed-synctex-Annotate-more-functions-that-wraps-formatting-strings.patch 0002-reversed-synctex-Sync-against-upstream-synctex.patch 0003-reversed-cut-n-paste-Annotate-functions-that-wraps-formatting-strings.patch evince-40.1.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ evince.spec ++++++ --- /var/tmp/diff_new_pack.MG1ov1/_old 2021-04-24 23:07:37.655265366 +0200 +++ /var/tmp/diff_new_pack.MG1ov1/_new 2021-04-24 23:07:37.659265371 +0200 @@ -20,20 +20,23 @@ %define pluginAPI 4 Name: evince -Version: 3.39.2 +Version: 40.1 Release: 0 Summary: GNOME Document Viewer License: GPL-2.0-or-later Group: Productivity/Office/Other URL: https://wiki.gnome.org/Apps/Evince -Source0: https://download.gnome.org/sources/evince/3.39/%{name}-%{version}.tar.xz +Source0: https://download.gnome.org/sources/evince/40/%{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 +Patch0: 0001-reversed-synctex-Annotate-more-functions-that-wraps-formatting-strings.patch +Patch1: 0002-reversed-synctex-Sync-against-upstream-synctex.patch +Patch2: 0003-reversed-cut-n-paste-Annotate-functions-that-wraps-formatting-strings.patch +Patch3: 0001-reversed-synctex-Move-_GNU_SOURCE-to-the-top-of-the-source-code.patch +Patch4: 0002-reversed-synctex-Remove-unused-labels.patch +Patch5: 0003-reversed-synctex-Silence-error-when-no-synctex-file-is-present.patch +Patch6: 0004-reversed-synctex-Annotate-functions-that-wrap-vfprintf.patch +Patch7: 0005-reversed-synctex-Fix-compilation.patch +Patch8: 0006-reversed-synctex-Update-from-version-1.18-to-1.21.patch BuildRequires: c++_compiler BuildRequires: fdupes @@ -52,13 +55,13 @@ BuildRequires: pkgconfig(gio-2.0) >= 2.44.0 BuildRequires: pkgconfig(gio-unix-2.0) BuildRequires: pkgconfig(gnome-desktop-3.0) -BuildRequires: pkgconfig(gobject-introspection-1.0) >= 0.6 +BuildRequires: pkgconfig(gobject-introspection-1.0) >= 1.0 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(gtk+-3.0) >= 3.22.0 BuildRequires: pkgconfig(ice) BuildRequires: pkgconfig(libarchive) >= 3.2.0 BuildRequires: pkgconfig(libgxps) >= 0.2.1 @@ -136,7 +139,7 @@ Requires: %{name} = %{version} # For "send to" action; the action will be hidden if nautilus-sendto is not available Recommends: nautilus-sendto -Supplements: packageand(evince:nautilus) +Supplements: (evince and nautilus) %description -n nautilus-evince Evince is a document viewer capable of displaying multiple and @@ -217,6 +220,9 @@ %patch3 -p1 %patch4 -p1 %patch5 -p1 +%patch6 -p1 +%patch7 -p1 +%patch8 -p1 %endif translation-update-upstream po %{name} ++++++ 0001-reversed-synctex-Annotate-more-functions-that-wraps-formatting-strings.patch ++++++ --- b/cut-n-paste/synctex/synctex_parser_utils.c +++ a/cut-n-paste/synctex/synctex_parser_utils.c @@ -86,7 +86,6 @@ # include <syslog.h> #endif -__attribute__((__format__ (__printf__, 3, 0))) static int _synctex_log(int level, const char * prompt, const char * reason,va_list arg) { int result; # ifdef SYNCTEX_RECENT_WINDOWS @@ -133,7 +132,6 @@ return result; } -__attribute__((__format__ (__printf__, 1, 2))) int _synctex_error(const char * reason,...) { va_list arg; int result; ++++++ 0002-reversed-synctex-Sync-against-upstream-synctex.patch ++++++ --- b/cut-n-paste/synctex/synctex_parser.c +++ a/cut-n-paste/synctex/synctex_parser.c @@ -267,6 +267,8 @@ # 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. @@ -284,7 +286,7 @@ * Free the given node by sending the free message. * - parameter NODE: of type synctex_node_p */ +void synctex_node_free(synctex_node_p node) { -static void synctex_node_free(synctex_node_p node) { SYNCTEX_MSG_SEND(node,free); } # if defined(SYNCTEX_TESTING) @@ -441,7 +443,7 @@ /* * _synctex_tree_set_... methods return the old value. * The return value of _synctex_tree_set_child and + * _synctex_tree_set_sibling must be released somehown. - * _synctex_tree_set_sibling must be released somehow. */ DEFINE_SYNCTEX_TREE__GETSETRESET(sibling) DEFINE_SYNCTEX_TREE_GETSETRESET(parent) @@ -538,6 +540,10 @@ 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. @@ -653,12 +659,12 @@ quoteless_synctex_name = NULL; } } + /* The operation is successfull, return the arguments by value. */ - /* The operation is successful, return the arguments by value. */ open.status = SYNCTEX_STATUS_OK; return open; } +/* Opens the ouput file, taking into account the eventual build_directory. -/* Opens the output file, taking into account the eventual build_directory. * - returns: an open structure which status is * SYNCTEX_STATUS_OK on success, * SYNCTEX_STATUS_ERROR on failure. @@ -712,7 +718,7 @@ } /* if (build_directory...) */ return open; } +void synctex_reader_free(synctex_reader_p reader) { -static void synctex_reader_free(synctex_reader_p reader) { if (reader) { _synctex_free(reader->output); _synctex_free(reader->synctex); @@ -725,7 +731,7 @@ * Return reader on success. * Deallocate reader and return NULL on failure. */ +synctex_reader_p synctex_reader_init_with_output_file(synctex_reader_p reader, const char * output, const char * build_directory) { -static synctex_reader_p synctex_reader_init_with_output_file(synctex_reader_p reader, const char * output, const char * build_directory) { if (reader) { /* now open the synctex file */ synctex_open_s open = _synctex_open_v2(output,build_directory,0,synctex_ADD_QUOTES); @@ -752,7 +758,6 @@ (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 @@ -2832,6 +2837,20 @@ } return _synctex_node_sibling_or_parents(node); } +/** + * The next nodes corresponds to a deep first tree traversal. + * Does not create child proxies as side effect contrary to + * the synctex_node_next method above. + * May loop infinitely many times if the tree + * is not properly built (contains loops). + */ +synctex_node_p _synctex_node_next(synctex_node_p node) { + synctex_node_p N = _synctex_tree_child(node); + if (N) { + return N; + } + return _synctex_node_sibling_or_parents(node); +} /** * The node which argument is the sibling. * - return: NULL if the argument has no parent or @@ -5156,7 +5175,7 @@ /* At least 1 more character */ zs = _synctex_buffer_get_available_size(scanner,1); if (zs.size == 0){ + _synctex_error("Uncomplete synctex file, postamble missing."); - _synctex_error("Incomplete synctex file, postamble missing."); SYNCTEX_RETURN(SYNCTEX_STATUS_ERROR); } goto main_loop; @@ -5173,13 +5192,13 @@ --ignored_form_depth; } if (_synctex_next_line(scanner)<SYNCTEX_STATUS_OK) { + _synctex_error("Uncomplete container."); - _synctex_error("Incomplete container."); SYNCTEX_RETURN(SYNCTEX_STATUS_ERROR); } } else { zs = _synctex_buffer_get_available_size(scanner,1); if (zs.size == 0){ + _synctex_error("Uncomplete synctex file, postamble missing."); - _synctex_error("Incomplete synctex file, postamble missing."); SYNCTEX_RETURN(SYNCTEX_STATUS_ERROR); } } @@ -5255,7 +5274,7 @@ synctex_node_log(child); # endif if (_synctex_next_line(scanner)<SYNCTEX_STATUS_OK) { + _synctex_error("Uncomplete container."); - _synctex_error("Incomplete container."); SYNCTEX_RETURN(SYNCTEX_STATUS_ERROR); } last_k = last_g = NULL; @@ -5364,7 +5383,7 @@ sibling = _synctex_tree_child(parent); _synctex_data_set_point(sibling,_synctex_data_point_V(parent)); if (last_k && last_g && (child = synctex_node_child(parent))) { + /* Find the node preceeding last_k */ - /* Find the node preceding last_k */ synctex_node_p next; while ((next = __synctex_tree_sibling(child))) { if (next == last_k) { @@ -5388,7 +5407,7 @@ # endif } if (_synctex_next_line(scanner)<SYNCTEX_STATUS_OK) { + _synctex_error("Uncomplete container."); - _synctex_error("Incomplete container."); SYNCTEX_RETURN(SYNCTEX_STATUS_ERROR); } last_k = last_g = NULL; @@ -5443,7 +5462,6 @@ # 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); @@ -5669,7 +5687,7 @@ } zs = _synctex_buffer_get_available_size(scanner,1); if (zs.size == 0){ + _synctex_error("Uncomplete synctex file, postamble missing."); - _synctex_error("Incomplete synctex file, postamble missing."); SYNCTEX_RETURN(SYNCTEX_STATUS_ERROR); } last_k = last_g = NULL; @@ -5935,11 +5953,11 @@ /* Used when parsing the synctex file */ static synctex_status_t _synctex_scan_content(synctex_scanner_p scanner) { + scanner->reader->lastv = -1; + synctex_status_t status = 0; if (NULL == scanner) { return SYNCTEX_STATUS_BAD_ARGUMENT; } - scanner->reader->lastv = -1; - synctex_status_t status = 0; /* Find where this section starts */ content_not_found: status = _synctex_match_string(scanner,"Content:"); @@ -5947,7 +5965,7 @@ return status; } if (_synctex_next_line(scanner)<SYNCTEX_STATUS_OK) { + _synctex_error("Uncomplete Content."); - _synctex_error("Incomplete Content."); return SYNCTEX_STATUS_ERROR; } if (status == SYNCTEX_STATUS_NOT_OK) { @@ -6052,8 +6070,8 @@ scanner->pre_magnification = 1000; scanner->pre_unit = 8192; scanner->pre_x_offset = scanner->pre_y_offset = 578; + /* initialize the offset with a fake unprobable value, + * If there is a post scriptum section, this value will be overriden by the real life value */ - /* initialize the offset with a fake improbable value, - * If there is a post scriptum section, this value will be overridden by the real life value */ scanner->x_offset = scanner->y_offset = 6.027e23f; scanner->reader->line_number = 1; @@ -7603,7 +7621,7 @@ width = _synctex_data_width(node); min = _synctex_data_h(node); max = min + (width>0?width:-width); + /* We allways have min <= max */ - /* We always have min <= max */ if (hit->h<min) { nd.distance = min - hit->h; /* regions 1+4+7, result is > 0 */ } else if (hit->h>max) { @@ -7617,7 +7635,7 @@ width = synctex_node_width(node); min = synctex_node_h(node); max = min + (width>0?width:-width); + /* We allways have min <= max */ - /* We always have min <= max */ if (hit->h<min) { nd.distance = min - hit->h; /* regions 1+4+7, result is > 0 */ } else if (hit->h>max) { @@ -7632,7 +7650,7 @@ width = synctex_node_hbox_width(node); min = synctex_node_hbox_h(node); max = min + (width>0?width:-width); + /* We allways have min <= max */ - /* We always have min <= max */ if (hit->h<min) { nd.distance = min - hit->h; /* regions 1+4+7, result is > 0 */ } else if (hit->h>max) { @@ -7744,7 +7762,7 @@ min = synctex_node_v(node); max = min + _synctex_abs(_synctex_data_depth(node)); min -= _synctex_abs(_synctex_data_height(node)); + /* We allways have min <= max */ - /* We always have min <= max */ if (hit->v<min) { nd.distance = min - hit->v; /* regions 1+2+3, result is > 0 */ } else if (hit->v>max) { @@ -7758,7 +7776,7 @@ min = synctex_node_v(node); max = min + _synctex_abs(synctex_node_depth(node)); min -= _synctex_abs(synctex_node_height(node)); + /* We allways have min <= max */ - /* We always have min <= max */ if (hit->v<min) { nd.distance = min - hit->v; /* regions 1+2+3, result is > 0 */ } else if (hit->v>max) { @@ -7775,7 +7793,7 @@ max = min + (depth>0?depth:-depth); height = synctex_node_hbox_height(node); min -= (height>0?height:-height); + /* We allways have min <= max */ - /* We always have min <= max */ if (hit->v<min) { nd.distance = min - hit->v; /* regions 1+2+3, result is > 0 */ } else if (hit->v>max) { @@ -7791,7 +7809,7 @@ min = _synctex_data_v(node); max = min + _synctex_abs(_synctex_data_depth(_synctex_tree_parent(node))); min -= _synctex_abs(_synctex_data_height(_synctex_tree_parent(node))); + /* We allways have min <= max */ - /* We always have min <= max */ if (hit->v<min) { nd.distance = min - hit->v; /* regions 1+2+3, result is > 0 */ } else if (hit->v>max) { @@ -8384,10 +8402,10 @@ gzFile as_gzFile; FILE * as_FILE_p; void * as_ptr; +} syncex_file_u; -} synctex_file_u; struct synctex_updater_t { + syncex_file_u file; - synctex_file_u file; synctex_print_f print; synctex_close_f close; int length; /* the number of chars appended */ @@ -8552,20 +8570,6 @@ # pragma mark - # pragma mark Testers # endif -/** - * The next nodes corresponds to a deep first tree traversal. - * Does not create child proxies as side effect contrary to - * the synctex_node_next method above. - * May loop infinitely many times if the tree - * is not properly built (contains loops). - */ -static synctex_node_p _synctex_node_next(synctex_node_p node) { - synctex_node_p N = _synctex_tree_child(node); - if (N) { - return N; - } - return _synctex_node_sibling_or_parents(node); -} static int _synctex_input_copy_name(synctex_node_p input, char * name) { char * copy = _synctex_malloc(strlen(name)+1); memcpy(copy,name,strlen(name)+1); --- b/cut-n-paste/synctex/synctex_parser.h +++ a/cut-n-paste/synctex/synctex_parser.h @@ -146,7 +146,7 @@ /* The main entry points. * Given the file name, a line and a column number, synctex_display_query returns the number of nodes + * satisfying the contrain. Use code like - * satisfying the constrain. Use code like * * if(synctex_display_query(scanner,name,line,column,page_hint)>0) { * synctex_node_p node; @@ -165,7 +165,7 @@ * - highlight just the character using that information * * Given the page and the position in the page, synctex_edit_query returns the number of nodes + * satisfying the contrain. Use code like - * satisfying the constrain. Use code like * * if(synctex_edit_query(scanner,page,h,v)>0) { * synctex_node_p node; @@ -230,7 +230,7 @@ * synctex_node_box_visible_depth(node) * ); * The visible dimensions are bigger than real ones + * to compensate 0 width boxes or nodes intentionnaly - * to compensate 0 width boxes or nodes intentionally * put outside the box (using \kern for example). * - parameter node: a node. * - returns: a float. @@ -248,7 +248,7 @@ * as opposite to TeX coordinates. * The origin is at the top left corner of the page. * The visible dimensions are bigger than real ones + * to compensate 0 width boxes or nodes intentionnaly - * to compensate 0 width boxes or nodes intentionally * put outside the box (using \kern for example). * All nodes have coordinates, but all nodes don't * have non null size. For example, math nodes @@ -389,7 +389,7 @@ * The scanner owns a list of sheet siblings and * a list of form siblings. * Sheets or forms have one child which is a box: + * theie contents. - * their contents. * - argument page: 1 based sheet page number. * - argument tag: 1 based form tag number. */ --- b/cut-n-paste/synctex/synctex_parser_advanced.h +++ a/cut-n-paste/synctex/synctex_parser_advanced.h @@ -449,7 +449,7 @@ */ void synctex_iterator_free(synctex_iterator_p iterator); /** + * Wether the iterator actually points to an object. - * Whether the iterator actually points to an object. * - argument iterator: the object to iterate on... */ synctex_bool_t synctex_iterator_has_next(synctex_iterator_p iterator); --- b/cut-n-paste/synctex/synctex_parser_utils.c +++ a/cut-n-paste/synctex/synctex_parser_utils.c @@ -48,6 +48,7 @@ #include <limits.h> #include <ctype.h> +#include <string.h> #include <sys/stat.h> @@ -86,7 +87,10 @@ # include <syslog.h> #endif +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) { -static int _synctex_log(int level, const char * prompt, const char * reason,va_list arg) { int result; # ifdef SYNCTEX_RECENT_WINDOWS {/* This code is contributed by William Blum. @@ -301,7 +305,7 @@ if(src && dest_ref) { const char * lpc; # define dest (*dest_ref) + dest = NULL; /* Default behavior: no change and sucess. */ - dest = NULL; /* Default behavior: no change and success. */ lpc = _synctex_last_path_component(src); if(strlen(lpc)) { if(strchr(lpc,' ') && lpc[0]!='"' && lpc[strlen(lpc)-1]!='"') { @@ -351,7 +355,6 @@ size_t len = strlen(temp); if(UINT_MAX-len<size) { _synctex_error("! _synctex_merge_strings: Capacity exceeded."); - va_end(arg); return NULL; } size+=len; @@ -372,7 +375,6 @@ _synctex_error("! _synctex_merge_strings: Copy problem"); free(result); result = NULL; - va_end(arg); return NULL; } dest += size; @@ -390,7 +392,7 @@ /* The purpose of _synctex_get_name is to find the name of the synctex file. * There is a list of possible filenames from which we return the most recent one and try to remove all the others. + * With two runs of pdftex or xetex we are sure the the synctex file is really the most appropriate. - * With two runs of pdftex or xetex we are sure the synctex file is really the most appropriate. */ int _synctex_get_name(const char * output, const char * build_directory, char ** synctex_name_ref, synctex_io_mode_t * io_mode_ref) { ++++++ 0003-reversed-cut-n-paste-Annotate-functions-that-wraps-formatting-strings.patch ++++++ --- b/cut-n-paste/synctex/synctex_parser.c +++ a/cut-n-paste/synctex/synctex_parser.c @@ -8411,7 +8411,6 @@ int length; /* the number of chars appended */ }; -__attribute__((__format__ (__printf__, 2, 3))) static int _synctex_updater_print(synctex_updater_p updater, const char * format, ...) { int result = 0; if (updater) { @@ -8448,7 +8447,6 @@ /** * gzvprintf is not available until OSX 10.10 */ -__attribute__((__format__ (__printf__, 2, 3))) static int _synctex_updater_print_gz(synctex_updater_p updater, const char * format, ...) { int result = 0; if (updater) { --- b/cut-n-paste/synctex/synctex_parser_utils.c +++ a/cut-n-paste/synctex/synctex_parser_utils.c @@ -149,7 +149,6 @@ return result; } -__attribute__((__format__ (__printf__, 1, 2))) int _synctex_debug(const char * reason,...) { va_list arg; int result; --- b/cut-n-paste/unarr/common/unarr.c +++ a/cut-n-paste/unarr/common/unarr.c @@ -92,7 +92,6 @@ return ar->get_comment(ar, buffer, count); } -__attribute__((__format__ (__printf__, 4, 0))) void ar_log(const char *prefix, const char *file, int line, const char *msg, ...) { va_list args; ++++++ 0006-reversed-synctex-Update-from-version-1.18-to-1.21.patch ++++++ --- /var/tmp/diff_new_pack.MG1ov1/_old 2021-04-24 23:07:37.703265434 +0200 +++ /var/tmp/diff_new_pack.MG1ov1/_new 2021-04-24 23:07:37.707265440 +0200 @@ -1,35 +1,46 @@ ---- b/configure.ac -+++ a/configure.ac -@@ -130,7 +130,6 @@ - NAUTILUS_REQUIRED=2.91.4 - GDK_PIXBUF_REQUIRED=2.36.5 - GSPELL_REQUIRED=1.6.0 --SYNCTEX_REQUIRED=1.19 - - AC_SUBST([GLIB_REQUIRED]) - AC_SUBST([GTK_REQUIRED]) -@@ -539,7 +538,7 @@ - - dnl ================== libsynctex =========================================== - -+PKG_CHECK_MODULES(SYNCTEX, [synctex], has_synctex=system, has_synctex=internal) --PKG_CHECK_MODULES(SYNCTEX, [synctex >= $SYNCTEX_REQUIRED], has_synctex=system, has_synctex=internal) - - dnl not found? use internal code copy. - if test "x$has_synctex" = "xinternal"; then ---- b/cut-n-paste/synctex/Makefile.am -+++ a/cut-n-paste/synctex/Makefile.am -@@ -4,9 +4,7 @@ - synctex_parser.c \ - synctex_parser.h \ - synctex_parser_utils.h \ -+ synctex_parser_utils.c -- synctex_parser_utils.c \ -- synctex_parser_advanced.h \ -- synctex_version.h - - libsynctex_la_CPPFLAGS = \ - -DSYNCTEX_VERBOSE=0 \ +--- evince-40.1.orig/meson.build ++++ evince-40.1/meson.build +@@ -250,7 +250,7 @@ gsettings_desktop_schemas_dep = dependen + config_h.set('HAVE_DESKTOP_SCHEMAS', gsettings_desktop_schemas_dep.found()) + + # *** libsynctex *** +-synctex_dep = dependency('synctex', version: '>= 1.19', required: false) ++synctex_dep = dependency('synctex', version: '>= 1.18', required: false) + external_synctex = synctex_dep.found() + + # *** Mime types list *** +#--- b/configure.ac +#+++ a/configure.ac +#@@ -130,7 +130,6 @@ +# NAUTILUS_REQUIRED=2.91.4 +# GDK_PIXBUF_REQUIRED=2.36.5 +# GSPELL_REQUIRED=1.6.0 +#-SYNCTEX_REQUIRED=1.19 +# +# AC_SUBST([GLIB_REQUIRED]) +# AC_SUBST([GTK_REQUIRED]) +#@@ -539,7 +538,7 @@ +# +# dnl ================== libsynctex =========================================== +# +#+PKG_CHECK_MODULES(SYNCTEX, [synctex], has_synctex=system, has_synctex=internal) +#-PKG_CHECK_MODULES(SYNCTEX, [synctex >= $SYNCTEX_REQUIRED], has_synctex=system, has_synctex=internal) +# +# dnl not found? use internal code copy. +# if test "x$has_synctex" = "xinternal"; then +#--- b/cut-n-paste/synctex/Makefile.am +#+++ a/cut-n-paste/synctex/Makefile.am +#@@ -4,9 +4,7 @@ +# synctex_parser.c \ +# synctex_parser.h \ +# synctex_parser_utils.h \ +#+ synctex_parser_utils.c +#- synctex_parser_utils.c \ +#- synctex_parser_advanced.h \ +#- synctex_version.h +# +# libsynctex_la_CPPFLAGS = \ +# -DSYNCTEX_VERBOSE=0 \ --- b/cut-n-paste/synctex/synctex_parser.c +++ a/cut-n-paste/synctex/synctex_parser.c @@ -1,52 +1,56 @@ @@ -15007,7 +15018,7 @@ - * corresponding to the position (line and column in @source_link) in - * the source Tex file. * - * Returns: An EvMapping with the page number and area corresponfing to + * Returns: An EvMapping with the page number and area corresponding to * the given line in the source file. It must be free with g_free when done @@ -686,7 +685,7 @@ EvSourceLink *link) ++++++ evince-3.39.2.tar.xz -> evince-40.1.tar.xz ++++++ ++++ 79321 lines of diff (skipped)
