summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta-gnome/recipes-gnome/evince/evince/0002-add-a-formatting-attribute-check.patch29
-rw-r--r--meta-gnome/recipes-gnome/evince/evince_3.36.3.bb (renamed from meta-gnome/recipes-gnome/evince/evince_3.34.2.bb)19
2 files changed, 11 insertions, 37 deletions
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
index c374fc9430..94794a5f92 100644
--- 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
@@ -19,17 +19,6 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
19 cut-n-paste/unarr/common/unarr.c | 2 +- 19 cut-n-paste/unarr/common/unarr.c | 2 +-
20 1 file changed, 1 insertion(+), 1 deletion(-) 20 1 file changed, 1 insertion(+), 1 deletion(-)
21 21
22--- a/cut-n-paste/unarr/common/unarr.c
23+++ b/cut-n-paste/unarr/common/unarr.c
24@@ -92,7 +92,7 @@ size_t ar_get_global_comment(ar_archive
25 return ar->get_comment(ar, buffer, count);
26 }
27
28-void ar_log(const char *prefix, const char *file, int line, const char *msg, ...)
29+void __attribute__((__format__ (__printf__, 4, 5))) ar_log(const char *prefix, const char *file, int line, const char *msg, ...)
30 {
31 va_list args;
32 va_start(args, msg);
33--- a/cut-n-paste/synctex/synctex_parser_utils.c 22--- a/cut-n-paste/synctex/synctex_parser_utils.c
34+++ b/cut-n-paste/synctex/synctex_parser_utils.c 23+++ b/cut-n-paste/synctex/synctex_parser_utils.c
35@@ -87,11 +87,11 @@ void _synctex_free(void * ptr) { 24@@ -87,11 +87,11 @@ void _synctex_free(void * ptr) {
@@ -76,24 +65,6 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
76 result = NULL; 65 result = NULL;
77 return NULL; 66 return NULL;
78 } 67 }
79--- a/cut-n-paste/synctex/synctex_parser.c
80+++ b/cut-n-paste/synctex/synctex_parser.c
81@@ -8411,6 +8411,7 @@ struct synctex_updater_t {
82 int length; /* the number of chars appended */
83 };
84
85+static int _synctex_updater_print(synctex_updater_p updater, const char * format, ...) SYNCTEX_PRINTF_FORMAT(2, 3);
86 static int _synctex_updater_print(synctex_updater_p updater, const char * format, ...) {
87 int result = 0;
88 if (updater) {
89@@ -8447,6 +8448,7 @@ static int vasprintf(char **ret,
90 /**
91 * gzvprintf is not available until OSX 10.10
92 */
93+static int _synctex_updater_print_gz(synctex_updater_p updater, const char * format, ...) SYNCTEX_PRINTF_FORMAT(2, 3);
94 static int _synctex_updater_print_gz(synctex_updater_p updater, const char * format, ...) {
95 int result = 0;
96 if (updater) {
97--- a/cut-n-paste/synctex/synctex_parser_utils.h 68--- a/cut-n-paste/synctex/synctex_parser_utils.h
98+++ b/cut-n-paste/synctex/synctex_parser_utils.h 69+++ b/cut-n-paste/synctex/synctex_parser_utils.h
99@@ -85,7 +85,11 @@ extern "C" { 70@@ -85,7 +85,11 @@ extern "C" {
diff --git a/meta-gnome/recipes-gnome/evince/evince_3.34.2.bb b/meta-gnome/recipes-gnome/evince/evince_3.36.3.bb
index b792d4fcb1..08a20d4e0d 100644
--- a/meta-gnome/recipes-gnome/evince/evince_3.34.2.bb
+++ b/meta-gnome/recipes-gnome/evince/evince_3.36.3.bb
@@ -16,18 +16,21 @@ DEPENDS = " \
16 ${@bb.utils.contains('DISTRO_FEATURES','x11','gnome-desktop3','',d)} \ 16 ${@bb.utils.contains('DISTRO_FEATURES','x11','gnome-desktop3','',d)} \
17" 17"
18 18
19inherit gnomebase itstool gnome-help pkgconfig gsettings gobject-introspection upstream-version-is-even gettext features_check mime-xdg 19GNOMEBASEBUILDCLASS = "meson"
20 20
21SRC_URI[archive.md5sum] = "9e9e82fa8f6045ad7817157d9335d185" 21inherit gnomebase itstool gnome-help pkgconfig gsettings gobject-introspection upstream-version-is-even gettext features_check mime-xdg gtk-doc
22SRC_URI[archive.sha256sum] = "3cc0955f11204e3a2db1c7ab99b866692749592257485b87304134ad69da0617" 22
23SRC_URI[archive.md5sum] = "9762dabdde37a804072bccbfd311d357"
24SRC_URI[archive.sha256sum] = "af2ebdf7f74e6580c4f1a12bdfe26b9ff90374d7acae061de0666d64012a9db2"
23SRC_URI += " \ 25SRC_URI += " \
24 file://0001-Add-format-attribute-to-_synctex_malloc.patch \ 26 file://0001-Add-format-attribute-to-_synctex_malloc.patch \
25 file://0002-add-a-formatting-attribute-check.patch \ 27 file://0002-add-a-formatting-attribute-check.patch \
26" 28"
27 29
28EXTRA_OECONF = " \ 30GTKDOC_MESON_OPTION = "gtk_doc"
29 --enable-thumbnailer \ 31
30 --without-systemduserunitdir \ 32EXTRA_OEMESON = " \
33 -Dsystemduserunitdir=no \
31" 34"
32 35
33do_compile_prepend() { 36do_compile_prepend() {
@@ -35,8 +38,8 @@ do_compile_prepend() {
35} 38}
36 39
37PACKAGECONFIG ??= "" 40PACKAGECONFIG ??= ""
38PACKAGECONFIG[nautilus] = "--enable-nautilus,--disable-nautilus,nautilus" 41PACKAGECONFIG[nautilus] = "-Dnautilus=true,-Dnautilus=false,nautilus"
39PACKAGECONFIG[browser-plugin] = "--enable-browser-plugin,--disable-browser-plugin," 42PACKAGECONFIG[browser-plugin] = "-Dbrowser_plugin=true,-Dbrowser_plugin=false"
40 43
41RDEPENDS_${PN} += "glib-2.0-utils" 44RDEPENDS_${PN} += "glib-2.0-utils"
42RRECOMMMENDS_${PN} = "adwaita-icon-theme" 45RRECOMMMENDS_${PN} = "adwaita-icon-theme"