summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta-gnome/recipes-gnome/evince/evince/0001-Add-format-attribute-to-_synctex_malloc.patch12
-rw-r--r--meta-gnome/recipes-gnome/evince/evince/0001-help-remove-YELP-macro.patch24
-rw-r--r--meta-gnome/recipes-gnome/evince/evince/0001-libview-Remove-EvDocumentModel-get-type-function-dec.patch33
-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.bb65
-rw-r--r--meta-gnome/recipes-gnome/evince/evince_3.34.1.bb52
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
13diff --git a/cut-n-paste/synctex/synctex_parser_utils.c b/cut-n-paste/synctex/synctex_parser_utils.c 13diff --git a/cut-n-paste/synctex/synctex_parser_utils.c b/cut-n-paste/synctex/synctex_parser_utils.c
14index f8a9f6f..9459b2d 100644 14index 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--
262.12.2 262.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 @@
1From 40921037d8e7205a3889d529fb4e06f79e1e88b0 Mon Sep 17 00:00:00 2001
2From: Alexander Kanavin <alex.kanavin@gmail.com>
3Date: Fri, 19 Feb 2016 16:52:18 +0200
4Subject: [PATCH] help: remove YELP macro
5
6Upstream-Status: Inappropriate [embedded-specific]
7Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
8---
9 help/Makefile.am | 2 --
10 1 file changed, 2 deletions(-)
11
12diff --git a/help/Makefile.am b/help/Makefile.am
13index 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--
232.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 @@
1From 0cdce687d3edfa5ac0fd19539ba1815d039026d5 Mon Sep 17 00:00:00 2001
2From: =?UTF-8?q?I=C3=B1igo=20Mart=C3=ADnez?= <inigomartinez@gmail.com>
3Date: Fri, 7 Sep 2018 22:34:29 +0200
4Subject: [PATCH] libview: Remove EvDocumentModel get type function declaration
5
6The EvDocumentModel class declares the `ev_document_model_get_type`
7function as part of the `GObject` boilerplate code.
8
9However, this declaration is not necessary and also causes a warning
10when introspection data file, `EvinceView-3.0.gir`, is generated.
11
12Upstream-Status: Applied [1]
13
14
15---
16 libview/ev-document-model.h | 1 -
17 1 file changed, 1 deletion(-)
18
19diff --git a/libview/ev-document-model.h b/libview/ev-document-model.h
20index 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--
322.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 @@
1SUMMARY = "Evince is a document viewer for document formats like pdf, ps, djvu"
2LICENSE = "GPLv2"
3LIC_FILES_CHKSUM = "file://COPYING;md5=96f2f8d5ee576a2163977938ea36fa7b"
4SECTION = "x11/office"
5DEPENDS = "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
7inherit gnomebase pkgconfig gtk-icon-cache gsettings gobject-introspection distro_features_check systemd
8
9SRC_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"
16SRC_URI[archive.md5sum] = "66aa1766eaaa37536e48def11a0e67a3"
17SRC_URI[archive.sha256sum] = "0955d22d85c9f6d322b6cbb464f1cc4c352db619017ec95dad4cc5c3440f73e1"
18
19EXTRA_OECONF = "--enable-thumbnailer"
20
21do_compile_prepend() {
22 export GIR_EXTRA_LIBS_PATH="${B}/libdocument/.libs"
23}
24
25
26do_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
41PACKAGECONFIG ??= ""
42PACKAGECONFIG[nautilus] = "--enable-nautilus,--disable-nautilus,nautilus"
43PACKAGECONFIG[browser-plugin] = "--enable-browser-plugin,--disable-browser-plugin,"
44
45SYSTEMD_SERVICE_${PN} = "evince.service"
46
47RDEPENDS_${PN} += "glib-2.0-utils"
48RRECOMMMENDS_${PN} = "adwaita-icon-theme"
49
50PACKAGES =+ "${PN}-nautilus-extension"
51PACKAGES =+ "${PN}-browser-plugin"
52
53FILES_${PN} += "${datadir}/dbus-1 \
54 ${datadir}/metainfo \
55 ${datadir}/thumbnailers \
56 ${systemd_unitdir}/systemd/user/evince.service \
57 "
58FILES_${PN}-dbg += "${libdir}/*/*/.debug \
59 ${libdir}/*/*/*/.debug"
60FILES_${PN}-dev += "${libdir}/nautilus/extensions-2.0/*.la \
61 ${libdir}/evince/*/backends/*.la"
62FILES_${PN}-staticdev += "${libdir}/nautilus/extensions-2.0/*.a \
63 ${libdir}/evince/*/backends/*.a"
64FILES_${PN}-nautilus-extension = "${libdir}/nautilus/*/*so"
65FILES_${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 @@
1SUMMARY = "Evince is a document viewer for document formats like pdf, ps, djvu"
2LICENSE = "GPLv2"
3LIC_FILES_CHKSUM = "file://COPYING;md5=96f2f8d5ee576a2163977938ea36fa7b"
4SECTION = "x11/office"
5DEPENDS = " \
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
19inherit gnomebase itstool gnome-help pkgconfig gsettings gobject-introspection upstream-version-is-even gettext distro_features_check
20
21SRC_URI[archive.md5sum] = "77b38b625008f5940e9bd4b3d38e8cf8"
22SRC_URI[archive.sha256sum] = "85e407cde396147b249120d816c7715fb6df191ca561cf65ff3554a5d67626df"
23SRC_URI += " \
24 file://0001-Add-format-attribute-to-_synctex_malloc.patch \
25 file://0002-add-a-formatting-attribute-check.patch \
26"
27
28EXTRA_OECONF = " \
29 --enable-thumbnailer \
30 --without-systemduserunitdir \
31"
32
33do_compile_prepend() {
34 export GIR_EXTRA_LIBS_PATH="${B}/libdocument/.libs"
35}
36
37PACKAGECONFIG ??= ""
38PACKAGECONFIG[nautilus] = "--enable-nautilus,--disable-nautilus,nautilus"
39PACKAGECONFIG[browser-plugin] = "--enable-browser-plugin,--disable-browser-plugin,"
40
41RDEPENDS_${PN} += "glib-2.0-utils"
42RRECOMMMENDS_${PN} = "adwaita-icon-theme"
43
44PACKAGES =+ "${PN}-nautilus-extension"
45PACKAGES =+ "${PN}-browser-plugin"
46
47FILES_${PN} += "${datadir}/dbus-1 \
48 ${datadir}/metainfo \
49 ${datadir}/thumbnailers \
50"
51FILES_${PN}-nautilus-extension = "${libdir}/nautilus/*/*so"
52FILES_${PN}-browser-plugin = "${libdir}/mozilla/*/*so"