diff options
-rw-r--r-- | meta-gnome/recipes-gnome/evince/evince/0001-Add-format-attribute-to-_synctex_malloc.patch | 12 | ||||
-rw-r--r-- | meta-gnome/recipes-gnome/evince/evince/0001-help-remove-YELP-macro.patch | 24 | ||||
-rw-r--r-- | meta-gnome/recipes-gnome/evince/evince/0001-libview-Remove-EvDocumentModel-get-type-function-dec.patch | 33 | ||||
-rw-r--r-- | meta-gnome/recipes-gnome/evince/evince/0002-add-a-formatting-attribute-check.patch (renamed from meta-gnome/recipes-gnome/evince/evince/0001-add-a-formatting-attribute-check.patch) | 0 | ||||
-rw-r--r-- | meta-gnome/recipes-gnome/evince/evince_3.28.2.bb | 65 | ||||
-rw-r--r-- | meta-gnome/recipes-gnome/evince/evince_3.34.1.bb | 52 |
6 files changed, 58 insertions, 128 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 index de739c5b39..32ca073f95 100644 --- 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 | |||
@@ -11,17 +11,17 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com> | |||
11 | 1 file changed, 1 insertion(+) | 11 | 1 file changed, 1 insertion(+) |
12 | 12 | ||
13 | diff --git a/cut-n-paste/synctex/synctex_parser_utils.c b/cut-n-paste/synctex/synctex_parser_utils.c | 13 | diff --git a/cut-n-paste/synctex/synctex_parser_utils.c b/cut-n-paste/synctex/synctex_parser_utils.c |
14 | index f8a9f6f..9459b2d 100644 | 14 | index 08053f0..0519b38 100644 |
15 | --- a/cut-n-paste/synctex/synctex_parser_utils.c | 15 | --- a/cut-n-paste/synctex/synctex_parser_utils.c |
16 | +++ b/cut-n-paste/synctex/synctex_parser_utils.c | 16 | +++ b/cut-n-paste/synctex/synctex_parser_utils.c |
17 | @@ -78,6 +78,7 @@ void *_synctex_malloc(size_t size) { | 17 | @@ -136,6 +136,7 @@ int _synctex_log(int level, const char * prompt, const char * reason,va_list arg |
18 | return (void *)ptr; | 18 | return result; |
19 | } | 19 | } |
20 | 20 | ||
21 | +__attribute__((__format__ (__printf__, 1, 0))) | 21 | +__attribute__((__format__ (__printf__, 1, 0))) |
22 | int _synctex_error(const char * reason,...) { | 22 | int _synctex_error(const char * reason,...) { |
23 | va_list arg; | 23 | va_list arg; |
24 | int result; | 24 | int result; |
25 | -- | 25 | -- |
26 | 2.12.2 | 26 | 2.20.1 |
27 | 27 | ||
diff --git a/meta-gnome/recipes-gnome/evince/evince/0001-help-remove-YELP-macro.patch b/meta-gnome/recipes-gnome/evince/evince/0001-help-remove-YELP-macro.patch deleted file mode 100644 index 592f466066..0000000000 --- a/meta-gnome/recipes-gnome/evince/evince/0001-help-remove-YELP-macro.patch +++ /dev/null | |||
@@ -1,24 +0,0 @@ | |||
1 | From 40921037d8e7205a3889d529fb4e06f79e1e88b0 Mon Sep 17 00:00:00 2001 | ||
2 | From: Alexander Kanavin <alex.kanavin@gmail.com> | ||
3 | Date: Fri, 19 Feb 2016 16:52:18 +0200 | ||
4 | Subject: [PATCH] help: remove YELP macro | ||
5 | |||
6 | Upstream-Status: Inappropriate [embedded-specific] | ||
7 | Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> | ||
8 | --- | ||
9 | help/Makefile.am | 2 -- | ||
10 | 1 file changed, 2 deletions(-) | ||
11 | |||
12 | diff --git a/help/Makefile.am b/help/Makefile.am | ||
13 | index 7835810..37c88ce 100644 | ||
14 | --- a/help/Makefile.am | ||
15 | +++ b/help/Makefile.am | ||
16 | @@ -1,5 +1,3 @@ | ||
17 | -@YELP_HELP_RULES@ | ||
18 | - | ||
19 | SUBDIRS = reference | ||
20 | |||
21 | HELP_ID = evince | ||
22 | -- | ||
23 | 2.7.0 | ||
24 | |||
diff --git a/meta-gnome/recipes-gnome/evince/evince/0001-libview-Remove-EvDocumentModel-get-type-function-dec.patch b/meta-gnome/recipes-gnome/evince/evince/0001-libview-Remove-EvDocumentModel-get-type-function-dec.patch deleted file mode 100644 index dcc4a4e9ca..0000000000 --- a/meta-gnome/recipes-gnome/evince/evince/0001-libview-Remove-EvDocumentModel-get-type-function-dec.patch +++ /dev/null | |||
@@ -1,33 +0,0 @@ | |||
1 | From 0cdce687d3edfa5ac0fd19539ba1815d039026d5 Mon Sep 17 00:00:00 2001 | ||
2 | From: =?UTF-8?q?I=C3=B1igo=20Mart=C3=ADnez?= <inigomartinez@gmail.com> | ||
3 | Date: Fri, 7 Sep 2018 22:34:29 +0200 | ||
4 | Subject: [PATCH] libview: Remove EvDocumentModel get type function declaration | ||
5 | |||
6 | The EvDocumentModel class declares the `ev_document_model_get_type` | ||
7 | function as part of the `GObject` boilerplate code. | ||
8 | |||
9 | However, this declaration is not necessary and also causes a warning | ||
10 | when introspection data file, `EvinceView-3.0.gir`, is generated. | ||
11 | |||
12 | Upstream-Status: Applied [1] | ||
13 | |||
14 | |||
15 | --- | ||
16 | libview/ev-document-model.h | 1 - | ||
17 | 1 file changed, 1 deletion(-) | ||
18 | |||
19 | diff --git a/libview/ev-document-model.h b/libview/ev-document-model.h | ||
20 | index 784e27d6..6a99e43a 100644 | ||
21 | --- a/libview/ev-document-model.h | ||
22 | +++ b/libview/ev-document-model.h | ||
23 | @@ -54,7 +54,6 @@ typedef enum { | ||
24 | EV_PAGE_LAYOUT_AUTOMATIC | ||
25 | } EvPageLayout; | ||
26 | |||
27 | -GType ev_document_model_get_type (void) G_GNUC_CONST; | ||
28 | EvDocumentModel *ev_document_model_new (void); | ||
29 | EvDocumentModel *ev_document_model_new_with_document (EvDocument *document); | ||
30 | |||
31 | -- | ||
32 | 2.20.1 | ||
33 | |||
diff --git a/meta-gnome/recipes-gnome/evince/evince/0001-add-a-formatting-attribute-check.patch b/meta-gnome/recipes-gnome/evince/evince/0002-add-a-formatting-attribute-check.patch index e87da90bce..e87da90bce 100644 --- a/meta-gnome/recipes-gnome/evince/evince/0001-add-a-formatting-attribute-check.patch +++ b/meta-gnome/recipes-gnome/evince/evince/0002-add-a-formatting-attribute-check.patch | |||
diff --git a/meta-gnome/recipes-gnome/evince/evince_3.28.2.bb b/meta-gnome/recipes-gnome/evince/evince_3.28.2.bb deleted file mode 100644 index f45180e797..0000000000 --- a/meta-gnome/recipes-gnome/evince/evince_3.28.2.bb +++ /dev/null | |||
@@ -1,65 +0,0 @@ | |||
1 | SUMMARY = "Evince is a document viewer for document formats like pdf, ps, djvu" | ||
2 | LICENSE = "GPLv2" | ||
3 | LIC_FILES_CHKSUM = "file://COPYING;md5=96f2f8d5ee576a2163977938ea36fa7b" | ||
4 | SECTION = "x11/office" | ||
5 | DEPENDS = "gtk+3 libsecret ${@bb.utils.contains('DISTRO_FEATURES','x11','gnome-desktop3','',d)} poppler gstreamer1.0-plugins-base orc adwaita-icon-theme intltool-native gnome-common-native" | ||
6 | |||
7 | inherit gnomebase pkgconfig gtk-icon-cache gsettings gobject-introspection distro_features_check systemd | ||
8 | |||
9 | SRC_URI = " \ | ||
10 | ${GNOME_MIRROR}/${GNOMEBN}/${@gnome_verdir("${PV}")}/${GNOMEBN}-${PV}.tar.${GNOME_COMPRESS_TYPE};name=archive \ | ||
11 | file://0001-help-remove-YELP-macro.patch \ | ||
12 | file://0001-Add-format-attribute-to-_synctex_malloc.patch \ | ||
13 | file://0001-add-a-formatting-attribute-check.patch \ | ||
14 | file://0001-libview-Remove-EvDocumentModel-get-type-function-dec.patch \ | ||
15 | " | ||
16 | SRC_URI[archive.md5sum] = "66aa1766eaaa37536e48def11a0e67a3" | ||
17 | SRC_URI[archive.sha256sum] = "0955d22d85c9f6d322b6cbb464f1cc4c352db619017ec95dad4cc5c3440f73e1" | ||
18 | |||
19 | EXTRA_OECONF = "--enable-thumbnailer" | ||
20 | |||
21 | do_compile_prepend() { | ||
22 | export GIR_EXTRA_LIBS_PATH="${B}/libdocument/.libs" | ||
23 | } | ||
24 | |||
25 | |||
26 | do_install_append() { | ||
27 | install -d ${D}${datadir}/pixmaps | ||
28 | install -m 0755 ${S}/data/icons/48x48/apps/evince.png ${D}${datadir}/pixmaps/ | ||
29 | if ${@bb.utils.contains('DISTRO_FEATURES','systemd','true','false',d)} | ||
30 | then | ||
31 | install -d ${D}${systemd_unitdir}/system | ||
32 | mv ${D}${systemd_user_unitdir}/evince.service ${D}${systemd_system_unitdir}/evince.service | ||
33 | else | ||
34 | rm -rf ${D}${libdir}/systemd/user/evince.service | ||
35 | fi | ||
36 | rmdir --ignore-fail-on-non-empty ${D}${systemd_user_unitdir} | ||
37 | rmdir --ignore-fail-on-non-empty ${D}${nonarch_libdir}/systemd | ||
38 | rmdir --ignore-fail-on-non-empty ${D}${nonarch_libdir} | ||
39 | } | ||
40 | |||
41 | PACKAGECONFIG ??= "" | ||
42 | PACKAGECONFIG[nautilus] = "--enable-nautilus,--disable-nautilus,nautilus" | ||
43 | PACKAGECONFIG[browser-plugin] = "--enable-browser-plugin,--disable-browser-plugin," | ||
44 | |||
45 | SYSTEMD_SERVICE_${PN} = "evince.service" | ||
46 | |||
47 | RDEPENDS_${PN} += "glib-2.0-utils" | ||
48 | RRECOMMMENDS_${PN} = "adwaita-icon-theme" | ||
49 | |||
50 | PACKAGES =+ "${PN}-nautilus-extension" | ||
51 | PACKAGES =+ "${PN}-browser-plugin" | ||
52 | |||
53 | FILES_${PN} += "${datadir}/dbus-1 \ | ||
54 | ${datadir}/metainfo \ | ||
55 | ${datadir}/thumbnailers \ | ||
56 | ${systemd_unitdir}/systemd/user/evince.service \ | ||
57 | " | ||
58 | FILES_${PN}-dbg += "${libdir}/*/*/.debug \ | ||
59 | ${libdir}/*/*/*/.debug" | ||
60 | FILES_${PN}-dev += "${libdir}/nautilus/extensions-2.0/*.la \ | ||
61 | ${libdir}/evince/*/backends/*.la" | ||
62 | FILES_${PN}-staticdev += "${libdir}/nautilus/extensions-2.0/*.a \ | ||
63 | ${libdir}/evince/*/backends/*.a" | ||
64 | FILES_${PN}-nautilus-extension = "${libdir}/nautilus/*/*so" | ||
65 | FILES_${PN}-browser-plugin = "${libdir}/mozilla/*/*so" | ||
diff --git a/meta-gnome/recipes-gnome/evince/evince_3.34.1.bb b/meta-gnome/recipes-gnome/evince/evince_3.34.1.bb new file mode 100644 index 0000000000..6f0392d27e --- /dev/null +++ b/meta-gnome/recipes-gnome/evince/evince_3.34.1.bb | |||
@@ -0,0 +1,52 @@ | |||
1 | SUMMARY = "Evince is a document viewer for document formats like pdf, ps, djvu" | ||
2 | LICENSE = "GPLv2" | ||
3 | LIC_FILES_CHKSUM = "file://COPYING;md5=96f2f8d5ee576a2163977938ea36fa7b" | ||
4 | SECTION = "x11/office" | ||
5 | DEPENDS = " \ | ||
6 | gnome-common-native \ | ||
7 | yelp-tools-native \ | ||
8 | appstream-glib \ | ||
9 | gtk+3 \ | ||
10 | gspell \ | ||
11 | libsecret \ | ||
12 | poppler \ | ||
13 | gstreamer1.0-plugins-base \ | ||
14 | orc \ | ||
15 | adwaita-icon-theme \ | ||
16 | ${@bb.utils.contains('DISTRO_FEATURES','x11','gnome-desktop3','',d)} \ | ||
17 | " | ||
18 | |||
19 | inherit gnomebase itstool gnome-help pkgconfig gsettings gobject-introspection upstream-version-is-even gettext distro_features_check | ||
20 | |||
21 | SRC_URI[archive.md5sum] = "77b38b625008f5940e9bd4b3d38e8cf8" | ||
22 | SRC_URI[archive.sha256sum] = "85e407cde396147b249120d816c7715fb6df191ca561cf65ff3554a5d67626df" | ||
23 | SRC_URI += " \ | ||
24 | file://0001-Add-format-attribute-to-_synctex_malloc.patch \ | ||
25 | file://0002-add-a-formatting-attribute-check.patch \ | ||
26 | " | ||
27 | |||
28 | EXTRA_OECONF = " \ | ||
29 | --enable-thumbnailer \ | ||
30 | --without-systemduserunitdir \ | ||
31 | " | ||
32 | |||
33 | do_compile_prepend() { | ||
34 | export GIR_EXTRA_LIBS_PATH="${B}/libdocument/.libs" | ||
35 | } | ||
36 | |||
37 | PACKAGECONFIG ??= "" | ||
38 | PACKAGECONFIG[nautilus] = "--enable-nautilus,--disable-nautilus,nautilus" | ||
39 | PACKAGECONFIG[browser-plugin] = "--enable-browser-plugin,--disable-browser-plugin," | ||
40 | |||
41 | RDEPENDS_${PN} += "glib-2.0-utils" | ||
42 | RRECOMMMENDS_${PN} = "adwaita-icon-theme" | ||
43 | |||
44 | PACKAGES =+ "${PN}-nautilus-extension" | ||
45 | PACKAGES =+ "${PN}-browser-plugin" | ||
46 | |||
47 | FILES_${PN} += "${datadir}/dbus-1 \ | ||
48 | ${datadir}/metainfo \ | ||
49 | ${datadir}/thumbnailers \ | ||
50 | " | ||
51 | FILES_${PN}-nautilus-extension = "${libdir}/nautilus/*/*so" | ||
52 | FILES_${PN}-browser-plugin = "${libdir}/mozilla/*/*so" | ||