diff options
author | Andreas Müller <schnitzeltony@gmail.com> | 2021-01-12 22:51:58 +0100 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2021-01-13 10:22:23 -0800 |
commit | ed75a35ba336340d6033858e91714d3c7fe39519 (patch) | |
tree | ed827b6b3e157d678aef086c90e7cc9c1b7fd726 /meta-gnome | |
parent | 9128c30e11cc271d547764e1bcb9410330028c54 (diff) | |
download | meta-openembedded-ed75a35ba336340d6033858e91714d3c7fe39519.tar.gz |
evince: upgrade 3.36.7 -> 3.38.0
clang patches are not necessary any more
================
Evince 3.38.0
================
build:
* Build using libm in some of the backends (Sebastien Bacher)
dvi:
* Minus sign doesn't appear with mathdesign fonts (#1477, David C. Sterratt)
pdf:
* Reimplement 'de facto' tooltip with no ABI break (Germán Poo-Caamaño)
Developers:
* David C. Sterratt, Germán Poo-Caamaño, Sebastien Bacher
Translations:
* Asier Sarasua Garmendia (Basque)
* Rafael Fontenelle (Brazilian Portuguese)
* Goran Vidović (Croatian)
* Nathan Follens (Dutch)
* Jiri Grönroos (Finnish)
* Julien Humbert (French)
* Balázs Úr (Hungarian)
* sicklylife (Japanese)
* Changwoo Ryu (Korean)
* Danial Behzadi (Persian)
* Yuri Chornoivan (Ukrainian)
=================
Evince 3.37.90
=================
build:
* Bump glib requirement to 2.44 (Germán Poo-Caamaño)
* Correct a typo in meson.build (Felix Yan)
ci:
* remove deprecated jobs (Jordan Petridis)
dvi:
* Fix some math fonts when using virtual fonts (#53, David C. Sterratt)
libdocument:
* Replace deprecated GTime by GDateTime (vanadiae)
libview:
* Fix deprecation for getting background color (Germán Poo-Caamaño)
Developers:
* David C. Sterratt, Felix Yan, Germán Poo-Caamaño, Jordan Petridis, vanadiae
Translations:
* Boyuan Yang (Chinese (China))
* Marek Černocký (Czech)
* Jiri Grönroos (Finnish)
* Thibault Martin (French)
* Fabio Tomat (Friulian)
* Fran Dieguez (Galician)
* Kukuh Syafaat (Indonesian)
* Aurimas Černius (Lithuanian)
* Piotr Drąg (Polish)
* Марко Костић (Serbian)
* Matej Urbančič (Slovenian)
* Daniel Mustieles (Spanish)
* Anders Jonsson (Swedish)
* Emin Tufan Çetin (Turkish)
* Yuri Chornoivan (Ukrainian)
================
Evince 3.37.3
================
backend:
* Add support for xmpRights:UsageTerms in PDF (#128, Juanjo Marín)
* Fix -Werror=format=2 fixes on dvi for ARM (#1429, Germán Poo-Caamaño)
* Fix warnings (Germán Poo-Caamaño)
build:
* Remove autotools (Iñigo Martínez)
* add usual meson build directory to gitignore (vanadiae)
cut-n-paste:
* Add libdazzle utilities to open file manager (Germán Poo-Caamaño)
* Use async calls in file manager (Germán Poo-Caamaño)
* filemanager: create proxy synchronously (Christian Hergert)
data:
* Add man pages for evince-previewer and evince-thumbnailer (#680, Caolán McNamara)
* Crop out of place pixel line of screenshot (Germán Poo-Caamaño)
flatpak:
* Bump gnome-desktop to 3.36.1 (Germán Poo-Caamaño)
* Bump poppler to 0.89.0 (Germán Poo-Caamaño)
* Update Flatpak for app-provided gdk-pixbuf loader (Bastien Nocera)
* don't build user help as slow and not needed for development (vanadiae)
help:
* Link to the GNOME Desktop help for two print pages (#1344, Pranali Deshmukh)
* Updated annotation navigation page (#1345, Pranali Deshmukh)
history:
* Add links when jumping to first or last page. (#785627, #810, Casey Jao)
* Don't assume EvLink has always a valid EvLinkAction (#810, Nelson Benítez León)
* Move some responsibilities out of EvHistory. (#785627, #810, Casey Jao)
* Record current page when going back in history (#810, Casey Jao)
* Record links in history when activating bookmarks (#785627, #810, Casey Jao)
libdocument:
* Annotate deprecated function (Germán Poo-Caamaño)
* Load application-specific gdk-pixbuf loaders (Bastien Nocera)
libview:
* Add delay before showing link preview popover (#662, Mads Chr. Olesen)
* Adjust preview size and contents' position (#662, Henry Gebhardt)
* Allow find results be styled with CSS (Germán Poo-Caamaño)
* Cleanup link preview popover, on mouseover of it (#662, Mads Chr. Olesen)
* Fix deprecated use of gdk_flush (Germán Poo-Caamaño)
* Fix gtk_drag_begin deprecations (Germán Poo-Caamaño)
* Increase page duration resolution (#637, Marc Vinyals)
* Let handle_cursor_over_xy handle link preview (#662, Mads Chr. Olesen)
* Make a preview popover for links (#662, Mads Chr. Olesen)
* Remove gtk_adjustment_changed calls (Germán Poo-Caamaño)
* Remove unused variables (#1010, Germán Poo-Caamaño)
* Replace "cursor-color" by "caret-color" (Germán Poo-Caamaño)
* Make contrast functions available in all libview/ (vanadiae)
* Use annotation color for the close button (vanadiae)
meson:
* set license to GPLv2+ as it's the one for the license notices (vanadiae)
misc:
* Add contribution guidelines (Germán Poo-Caamaño)
* Add editorconfig file to keep style consistency (vanadiae)
* Fix formatting CONTRIBUTING.md (Germán Poo-Caamaño)
* Fix tabs in guidelines for contributors (Germán Poo-Caamaño)
* Make "Open Containing Folder" work in flatpak (#1147, Casey Jao)
* Update POTFILES.skip (Piotr Drąg)
* Updated Contribution Guidelines (Pranali Deshmukh)
* Fix warning on documents lacking annotations interface (Nelson Benítez León)
shell:
* Add meaningful description in about dialog (#1418, Germán Poo-Caamaño)
* Check "page-changed" in EvSidebarBookmarks (#623, Casey Jao)
* Fix interval for displaying the loading message (Germán Poo-Caamaño)
* Make opening file year-2038-safe (Germán Poo-Caamaño)
* Use GMenu for bookmarks' popup menu (Germán Poo-Caamaño)
* Use GtkFileChooserNative for opening and saving files. (Casey Jao)
snap:
* Don't specify candidate channel for the build snap (Ken VanDine)
* updated to use latest snapcraft extension. Fixes #1426 (Ken VanDine)
synctex:
* Annotate more functions that wraps formatting strings (Germán Poo-Caamaño)
* Sync against upstream synctex (Germán Poo-Caamaño)
Developers:
* Bastien Nocera, Caolán McNamara, Casey Jao, Christian Hergert, Germán Poo-Caamaño, Henry Gebhardt, Iñigo Martínez, Juanjo Marín, Ken VanDine, Mads Chr. Olesen, Marc Vinyals, Nelson Benítez León, Piotr Drąg, Pranali Deshmukh, vanadiae
Translations:
* Gil Forcada (Catalan)
* Jordi Mas (Catalan)
* Boyuan Yang (Chinese (China))
* Baurzhan Muftakhidinov (Kazakh)
* Daniel Șerbănescu (Romanian)
* Florentina Mușat (Romanian)
* Matej Urbančič (Slovenian)
* Daniel Mustieles (Spanish)
* Emin Tufan Çetin (Turkish)
* Yuri Chornoivan (Ukrainian)
================
Evince 3.37.2
================
backends:
* Annotate functions that wraps formatting strings (#1410, Germán Poo-Caamaño)
* Fix -Wformat-zero-length warning (Germán Poo-Caamaño)
build:
* use so suffix on macOS (Tom Schoonjans)
ci:
* Fix meson targets (Germán Poo-Caamaño)
cut-n-paste:
* Annotate functions that wraps formatting strings (#1410, Germán Poo-Caamaño)
Developers:
* Germán Poo-Caamaño, Tom Schoonjans
Translations:
* Kukuh Syafaat (Indonesian)
================
Evince 3.37.1
================
build:
* Use lowercase for project name in meson (Germán Poo-Caamaño)
* Add 'user_doc' option to meson (Nelson Benítez León)
ci:
* build with meson by default and autotools manually (Germán Poo-Caamaño)
flatpak:
* Update Poppler to 0.88.0 (Casey Jao)
libview:
* Fix typo in parameter's description (Yuri Chornoivan)
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-gnome')
-rw-r--r-- | meta-gnome/recipes-gnome/evince/evince/0001-Add-format-attribute-to-_synctex_malloc.patch | 27 | ||||
-rw-r--r-- | meta-gnome/recipes-gnome/evince/evince/0002-add-a-formatting-attribute-check.patch | 93 | ||||
-rw-r--r-- | meta-gnome/recipes-gnome/evince/evince_3.38.0.bb (renamed from meta-gnome/recipes-gnome/evince/evince_3.36.7.bb) | 7 |
3 files changed, 1 insertions, 126 deletions
diff --git a/meta-gnome/recipes-gnome/evince/evince/0001-Add-format-attribute-to-_synctex_malloc.patch b/meta-gnome/recipes-gnome/evince/evince/0001-Add-format-attribute-to-_synctex_malloc.patch deleted file mode 100644 index 32ca073f95..0000000000 --- a/meta-gnome/recipes-gnome/evince/evince/0001-Add-format-attribute-to-_synctex_malloc.patch +++ /dev/null | |||
@@ -1,27 +0,0 @@ | |||
1 | From 3776fd0b42e473fe51d3678bf26cdaa37e1d8e0d Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Sat, 8 Apr 2017 13:36:12 -0700 | ||
4 | Subject: [PATCH] Add format attribute to _synctex_malloc | ||
5 | |||
6 | Helps in avoiding compile errors about formating with clang | ||
7 | |||
8 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
9 | --- | ||
10 | cut-n-paste/synctex/synctex_parser_utils.c | 1 + | ||
11 | 1 file changed, 1 insertion(+) | ||
12 | |||
13 | diff --git a/cut-n-paste/synctex/synctex_parser_utils.c b/cut-n-paste/synctex/synctex_parser_utils.c | ||
14 | index 08053f0..0519b38 100644 | ||
15 | --- a/cut-n-paste/synctex/synctex_parser_utils.c | ||
16 | +++ b/cut-n-paste/synctex/synctex_parser_utils.c | ||
17 | @@ -136,6 +136,7 @@ int _synctex_log(int level, const char * prompt, const char * reason,va_list arg | ||
18 | return result; | ||
19 | } | ||
20 | |||
21 | +__attribute__((__format__ (__printf__, 1, 0))) | ||
22 | int _synctex_error(const char * reason,...) { | ||
23 | va_list arg; | ||
24 | int result; | ||
25 | -- | ||
26 | 2.20.1 | ||
27 | |||
diff --git a/meta-gnome/recipes-gnome/evince/evince/0002-add-a-formatting-attribute-check.patch b/meta-gnome/recipes-gnome/evince/evince/0002-add-a-formatting-attribute-check.patch deleted file mode 100644 index 94794a5f92..0000000000 --- a/meta-gnome/recipes-gnome/evince/evince/0002-add-a-formatting-attribute-check.patch +++ /dev/null | |||
@@ -1,93 +0,0 @@ | |||
1 | From ef170dda7fbab53682c9bc287dec93fa86130bc9 Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Sun, 9 Sep 2018 21:49:59 -0700 | ||
4 | Subject: [PATCH] add a formatting attribute check | ||
5 | |||
6 | Tell Clang that parameter is a printf style format using the | ||
7 | attribute flag | ||
8 | |||
9 | This helps in avoiding below warnings seen with clang | ||
10 | |||
11 | unarr.c:106:22: error: format string is not a string literal | ||
12 | [-Werror,-Wformat-nonliteral] | ||
13 | | vfprintf(stderr, msg, args); | ||
14 | | ^~~ | ||
15 | |||
16 | Upstream-Status: Pending | ||
17 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
18 | --- | ||
19 | cut-n-paste/unarr/common/unarr.c | 2 +- | ||
20 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
21 | |||
22 | --- a/cut-n-paste/synctex/synctex_parser_utils.c | ||
23 | +++ b/cut-n-paste/synctex/synctex_parser_utils.c | ||
24 | @@ -87,11 +87,11 @@ void _synctex_free(void * ptr) { | ||
25 | # include <syslog.h> | ||
26 | #endif | ||
27 | |||
28 | -int _synctex_error(const char * reason, ...) __attribute__((__format__ (__printf__, 1, 2))); | ||
29 | -int _synctex_log(int level, const char * prompt, const char * reason, va_list arg) __attribute__((__format__ (__printf__, 3, 0))); | ||
30 | - | ||
31 | -int _synctex_log(int level, const char * prompt, const char * reason,va_list arg) { | ||
32 | +static int _synctex_log(int level, const char * prompt, const char * reason, ...) SYNCTEX_PRINTF_FORMAT(3, 0); | ||
33 | +static int _synctex_log(int level, const char * prompt, const char * reason, ...) { | ||
34 | + va_list arg; | ||
35 | int result; | ||
36 | + va_start(arg, reason); | ||
37 | # ifdef SYNCTEX_RECENT_WINDOWS | ||
38 | {/* This code is contributed by William Blum. | ||
39 | As it does not work on some older computers, | ||
40 | @@ -133,10 +133,10 @@ int _synctex_log(int level, const char * | ||
41 | result += vfprintf(where, reason, arg); | ||
42 | result += fprintf(where,"\n"); | ||
43 | # endif | ||
44 | + va_end(arg); | ||
45 | return result; | ||
46 | } | ||
47 | |||
48 | -__attribute__((__format__ (__printf__, 1, 0))) | ||
49 | int _synctex_error(const char * reason,...) { | ||
50 | va_list arg; | ||
51 | int result; | ||
52 | @@ -355,6 +355,7 @@ char * _synctex_merge_strings(const char | ||
53 | size_t len = strlen(temp); | ||
54 | if(UINT_MAX-len<size) { | ||
55 | _synctex_error("! _synctex_merge_strings: Capacity exceeded."); | ||
56 | + va_end(arg); | ||
57 | return NULL; | ||
58 | } | ||
59 | size+=len; | ||
60 | @@ -374,6 +375,7 @@ char * _synctex_merge_strings(const char | ||
61 | if(dest != strncpy(dest,temp,size)) { | ||
62 | _synctex_error("! _synctex_merge_strings: Copy problem"); | ||
63 | free(result); | ||
64 | + va_end(arg); | ||
65 | result = NULL; | ||
66 | return NULL; | ||
67 | } | ||
68 | --- a/cut-n-paste/synctex/synctex_parser_utils.h | ||
69 | +++ b/cut-n-paste/synctex/synctex_parser_utils.h | ||
70 | @@ -85,7 +85,11 @@ extern "C" { | ||
71 | # else | ||
72 | # define SYNCTEX_ARE_PATH_CHARACTERS_EQUAL(left,right) (toupper(left) != toupper(right)) | ||
73 | # endif | ||
74 | - | ||
75 | +# ifdef __GNUC__ | ||
76 | +# define SYNCTEX_PRINTF_FORMAT(si, ftc) __attribute__ ((format (printf, si, ftc))) | ||
77 | +# else | ||
78 | +# define SYNCTEX_PRINTF_FORMAT(si, ftc) | ||
79 | +# endif | ||
80 | /* This custom malloc functions initializes to 0 the newly allocated memory. | ||
81 | * There is no bzero function on windows. */ | ||
82 | void *_synctex_malloc(size_t size); | ||
83 | @@ -97,8 +101,8 @@ void _synctex_free(void * ptr); | ||
84 | /* This is used to log some informational message to the standard error stream. | ||
85 | * On Windows, the stderr stream is not exposed and another method is used. | ||
86 | * The return value is the number of characters printed. */ | ||
87 | - int _synctex_error(const char * reason,...); | ||
88 | - int _synctex_debug(const char * reason,...); | ||
89 | + int _synctex_error(const char * reason,...) SYNCTEX_PRINTF_FORMAT(1, 2); | ||
90 | + int _synctex_debug(const char * reason,...) SYNCTEX_PRINTF_FORMAT(1, 2); | ||
91 | |||
92 | /* strip the last extension of the given string, this string is modified! | ||
93 | * This function depends on the OS because the path separator may differ. | ||
diff --git a/meta-gnome/recipes-gnome/evince/evince_3.36.7.bb b/meta-gnome/recipes-gnome/evince/evince_3.38.0.bb index 3ea54101c0..9c1d8641e5 100644 --- a/meta-gnome/recipes-gnome/evince/evince_3.36.7.bb +++ b/meta-gnome/recipes-gnome/evince/evince_3.38.0.bb | |||
@@ -20,12 +20,7 @@ GNOMEBASEBUILDCLASS = "meson" | |||
20 | 20 | ||
21 | inherit gnomebase itstool gnome-help pkgconfig gsettings gobject-introspection upstream-version-is-even gettext mime-xdg gtk-doc | 21 | inherit gnomebase itstool gnome-help pkgconfig gsettings gobject-introspection upstream-version-is-even gettext mime-xdg gtk-doc |
22 | 22 | ||
23 | SRC_URI[archive.md5sum] = "a7ebf1f76552579be71fc63947a15297" | 23 | SRC_URI[archive.sha256sum] = "26df897a417545b476d2606b14731122e84278ae994bd64ea535449c3cf01948" |
24 | SRC_URI[archive.sha256sum] = "65d61a423e3fbbe07001f65e87422dfb7d2e42b9edf0ca6a1d427af9a04b8f32" | ||
25 | SRC_URI += " \ | ||
26 | file://0001-Add-format-attribute-to-_synctex_malloc.patch \ | ||
27 | file://0002-add-a-formatting-attribute-check.patch \ | ||
28 | " | ||
29 | 24 | ||
30 | GTKDOC_MESON_OPTION = "gtk_doc" | 25 | GTKDOC_MESON_OPTION = "gtk_doc" |
31 | 26 | ||