From 9de2294c480bfc28e4792402269a5c27aa9ff841 Mon Sep 17 00:00:00 2001 From: Andreas Müller Date: Mon, 1 Jun 2020 23:44:45 +0200 Subject: evince: upgrade 3.34.2 -> 3.36.3 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * port to meson build * 0002-add-a-formatting-attribute-check.patch: Apllies cleanly but was not tested with clang - don't have resources for that ================ Evince 3.36.3 ================ Fix Evince on MacOS 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 ================ Evince 3.36.2 ================ shell: * check type of window/sidebar objects (#1409, Ilario Gelmetti) build: * Use lowercase for project name in meson (Germán Poo-Caamaño) ci: * build with meson by default and autotools manually (Germán Poo-Caamaño) flatpak: Update Poppler to 0.88.0 (Casey Jao) Developers: * Casey Jao, Germán Poo-Caamaño, Ilario Gelmetti Translations: * sicklylife (Japanese) ================ Evince 3.36.1 ================ backends: * Support 'de facto' tooltip feature (#34, #842, Nelson Benítez León) ci: * Add scripts to update Docker image for CI (Germán Poo-Caamaño) help: * Add Ukrainian screenshots for the docs (Yuri Chornoivan) * Fix incorrect markup in Czech UI translation (Andre Klapper) * Update French help image (Charles Monzat) libdocument: * Allow text entries to handle clicks (#1364, Nelson Benítez León) * Ignore deprecation warnings in headers (Matthew Leeds) libview: * Fix "can-have-popup" prop when creating markup annotations (#1373, Casey Jao) * Move annotation popup window to new position (#570, Marek Kasik) shell: * Set menu button to not focus-on-click (#1339, Nelson Benítez León) * Fix too large slides on scaled display (#1365, #2599, Nelson Benítez León) snap: * Use removable-media for access to USB drives (Sébastien Bacher) Developers: * Andre Klapper, Casey Jao, Charles Monzat, Germán Poo-Caamaño, Marek Kasik, Matthew Leeds, Nelson Benítez León, Sébastien Bacher, Yuri Chornoivan Translations: * Jordi Mas (Catalan) * Marek ÄŒernocký (Czech help) * Charles Monzat (French) * Fabio Tomat (Friulian) * Tim Sabsch (German) * Yosef Or Boczko (Hebrew) * Andika Triwidada (Indonesian) * Daniel Șerbănescu (Romanian) * Марко Костић (Serbian) * Matej Urbančič (Slovenian) * Anders Jonsson (Swedish) * Yuri Chornoivan (Ukrainian) ================ Evince 3.36.0 ================ help: * Update all annotations-nav-to-page.png screenshots to 3.34 UI (Andre Klapper) Developers: * Andre Klapper Translations: * Jordi Mas (Catalan) * Goran Vidović (Croatian) * Nathan Follens (Dutch) * Guillaume Bernard (French) * Gianvito Cavasoli (Italian) * Changwoo Ryu (Korean) * Piotr DrÄ…g (Polish) * Daniel Mustieles (Spanish) ================= Evince 3.35.92 ================= backends: * Show XMP data if newer than modification date (Evangelos Rigas) * Fix some code formatting in poppler (Germán Poo-Caamaño) build: * Allow building with gettext >= 0.20 with autotools (#1312, Henry Gebhardt) * Bump dependency versions (Germán Poo-Caamaño) * Update URL for libgxps (Germán Poo-Caamaño) * Update flatpak rules to match Flatpak CI (Germán Poo-Caamaño) * snap: Change grade (Ken VanDine) * Remove flatpak parts to use inherited instructions instead (Germán Poo-Caamaño) help: * Fix broken pt_BR help translation (Andre Klapper) * Mark an icon as non-translatable (Andre Klapper) * No more 'Fullscreen' menu item (Andre Klapper) * No more 'View options' menu (Andre Klapper) * No more 'previously visited pages' (Andre Klapper) * No more First Page and Last Page menu items (Andre Klapper) * No more Previous Page and Next Page menu items (Andre Klapper) * PDFEdit is dead (Andre Klapper) * Remove an unneeded localized screenshot without any text (Andre Klapper) * Remove deleted file also from Makefile.am, not only meson.build (Andre Klapper) * Side bar is called Side Pane in the UI (Andre Klapper) * Update Bookmarks instructions to 3.35 UI (Andre Klapper) * Update items (and their order) shown in the header (Andre Klapper) * Update names of annotation buttons below header bar (Andre Klapper) * Add danish screenshots * No 'Edit' menu anymore to save current settings as default (Andre Klapper) shell/libraries: * Hopefully fix pipeline for 740f12f6 by removing another localized image (Andre Klapper) * Implement SaveAs named action. (#1314, Kris Jurka) * Remove accelerator label from menu (Sabri Ãœnal) * Remove gtk_menu_popup() calls (#1023, Jason Crain) * Remove shell/ev-bookmark-action.* (#1023, Jason Crain) * Remove unused variables and functions (Jason Crain) * Revert "ignore scroll, text selection events while unfocused" (#1316, Germán Poo-Caamaño) * Update Keyboard Shortcuts page (Sabri Ãœnal) * ignore scroll, text selection events while unfocused (#943, Nelson Benítez León) * Lazily create annotation windows (#1010, Niels De Graef) * Don't move goto window offscreen (#1023, Jason Crain) * remove deprecated GdkScreen functions (#1023, Jason Crain) * set goto window's parent (Jason Crain) * Remove GTK < 3.22 popup code (Jason Crain) * Stop using GdkDeviceManager (#1023, Jason Crain) * fix rgba property id (Jason Crain) * remove _ev_g_mkdtemp function (Jason Crain) * Fix running_job volatile type (Jason Crain) * Update libnautilus-extension includes (Jason Crain) * Fix url in unimplemented named actions message (Germán Poo-Caamaño) * Update screenshots to fit current UI (#1278, Germán Poo-Caamaño) Developers: * Andre Klapper, Evangelos Rigas, Germán Poo-Caamaño, Henry Gebhardt, Jason Crain, Ken VanDine, Kris Jurka, Nelson Benítez León, Niels De Graef, Sabri Ãœnal, scootergrisen Translations: * Asier Sarasua Garmendia (Basque) * Rafael Fontenelle (Brazilian Portuguese) * Bruce Cowan (British English) * Jordi Mas (Catalan) * Dz Chen (Chinese (China)) * Chao-Hsiung Liao (Chinese (Taiwan)) * Yi-Jyun Pan (Chinese (Taiwan)) * Goran Vidović (Croatian) * Marek ÄŒernocký (Czech) * Alan Mortensen (Danish) * Carmen Bianca BAKKER (Esperanto) * Jiri Grönroos (Finnish) * Alexandre Franke (French) * Alexandre Franke (French docs) * Fabio Tomat (Friulian) * Fran Dieguez (Galician) * Balázs Úr (Hungarian) * Andika Triwidada (Indonesian) * Kukuh Syafaat (Indonesian) * sicklylife (Japanese) * Jor Teron (Karbi) * Aurimas ÄŒernius (Lithuanian) * Umarzuki Bin Mochlis Moktar (Malay) * Danial Behzadi (Persian) * Марко Костић (Serbian) * DuÅ¡an Kazik (Slovak) * Daniel Mustieles (Spanish) * Anders Jonsson (Swedish) * Emin Tufan Çetin (Turkish) * Daniel Korostil (Ukrainian) ================ Evince 3.35.1 ================ libview/ev-view: * Make document direction independent of UI direction (#830, Abderrahim Kitouni) * Follow the text direction for laying out pages in dual mode (#830, Abderrahim Kitouni) * Fix annots from dbl/tpl click + drag (#1274, Nelson Benítez León) * Fix caret cursor navigation in non-continuous mode (#390, Nelson Benítez León) * Keep cursor visible when changing pages (#390, Jason Crain) * Don't enable popup actions on page change (#1168, Jason Crain) * Implement ATK's scrollSubstringTo() and scrollSubstringToPoint(). (#1203, Martin Pieuchot) libdocument: * Get DPI from GdkMonitor (#617, Marek Kasik) * Deprecate ev_document_misc_get_screen_dpi() (#617, Jason Crain) shell: * Set a11y names for annotation buttons (Marek Kasik) * Go to annotation on right click (Nelson Benítez León) * Document presentation mode shortcuts (#1302, Jason Crain) Developers: * Abderrahim Kitouni, Germán Poo-Caamaño, Jason Crain, Marek Kasik, Martin Pieuchot, Nelson Benítez León Signed-off-by: Andreas Müller Signed-off-by: Khem Raj --- .../0002-add-a-formatting-attribute-check.patch | 29 ------------ meta-gnome/recipes-gnome/evince/evince_3.34.2.bb | 52 -------------------- meta-gnome/recipes-gnome/evince/evince_3.36.3.bb | 55 ++++++++++++++++++++++ 3 files changed, 55 insertions(+), 81 deletions(-) delete mode 100644 meta-gnome/recipes-gnome/evince/evince_3.34.2.bb create mode 100644 meta-gnome/recipes-gnome/evince/evince_3.36.3.bb (limited to 'meta-gnome') 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 cut-n-paste/unarr/common/unarr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---- a/cut-n-paste/unarr/common/unarr.c -+++ b/cut-n-paste/unarr/common/unarr.c -@@ -92,7 +92,7 @@ size_t ar_get_global_comment(ar_archive - return ar->get_comment(ar, buffer, count); - } - --void ar_log(const char *prefix, const char *file, int line, const char *msg, ...) -+void __attribute__((__format__ (__printf__, 4, 5))) ar_log(const char *prefix, const char *file, int line, const char *msg, ...) - { - va_list args; - va_start(args, msg); --- a/cut-n-paste/synctex/synctex_parser_utils.c +++ b/cut-n-paste/synctex/synctex_parser_utils.c @@ -87,11 +87,11 @@ void _synctex_free(void * ptr) { @@ -76,24 +65,6 @@ Signed-off-by: Khem Raj result = NULL; return NULL; } ---- a/cut-n-paste/synctex/synctex_parser.c -+++ b/cut-n-paste/synctex/synctex_parser.c -@@ -8411,6 +8411,7 @@ struct synctex_updater_t { - int length; /* the number of chars appended */ - }; - -+static int _synctex_updater_print(synctex_updater_p updater, const char * format, ...) SYNCTEX_PRINTF_FORMAT(2, 3); - static int _synctex_updater_print(synctex_updater_p updater, const char * format, ...) { - int result = 0; - if (updater) { -@@ -8447,6 +8448,7 @@ static int vasprintf(char **ret, - /** - * gzvprintf is not available until OSX 10.10 - */ -+static int _synctex_updater_print_gz(synctex_updater_p updater, const char * format, ...) SYNCTEX_PRINTF_FORMAT(2, 3); - static int _synctex_updater_print_gz(synctex_updater_p updater, const char * format, ...) { - int result = 0; - if (updater) { --- a/cut-n-paste/synctex/synctex_parser_utils.h +++ b/cut-n-paste/synctex/synctex_parser_utils.h @@ -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.34.2.bb deleted file mode 100644 index b792d4fcb1..0000000000 --- a/meta-gnome/recipes-gnome/evince/evince_3.34.2.bb +++ /dev/null @@ -1,52 +0,0 @@ -SUMMARY = "Evince is a document viewer for document formats like pdf, ps, djvu" -LICENSE = "GPLv2" -LIC_FILES_CHKSUM = "file://COPYING;md5=96f2f8d5ee576a2163977938ea36fa7b" -SECTION = "x11/office" -DEPENDS = " \ - gnome-common-native \ - yelp-tools-native \ - appstream-glib \ - gtk+3 \ - gspell \ - libsecret \ - poppler \ - gstreamer1.0-plugins-base \ - orc \ - adwaita-icon-theme \ - ${@bb.utils.contains('DISTRO_FEATURES','x11','gnome-desktop3','',d)} \ -" - -inherit gnomebase itstool gnome-help pkgconfig gsettings gobject-introspection upstream-version-is-even gettext features_check mime-xdg - -SRC_URI[archive.md5sum] = "9e9e82fa8f6045ad7817157d9335d185" -SRC_URI[archive.sha256sum] = "3cc0955f11204e3a2db1c7ab99b866692749592257485b87304134ad69da0617" -SRC_URI += " \ - file://0001-Add-format-attribute-to-_synctex_malloc.patch \ - file://0002-add-a-formatting-attribute-check.patch \ -" - -EXTRA_OECONF = " \ - --enable-thumbnailer \ - --without-systemduserunitdir \ -" - -do_compile_prepend() { - export GIR_EXTRA_LIBS_PATH="${B}/libdocument/.libs" -} - -PACKAGECONFIG ??= "" -PACKAGECONFIG[nautilus] = "--enable-nautilus,--disable-nautilus,nautilus" -PACKAGECONFIG[browser-plugin] = "--enable-browser-plugin,--disable-browser-plugin," - -RDEPENDS_${PN} += "glib-2.0-utils" -RRECOMMMENDS_${PN} = "adwaita-icon-theme" - -PACKAGES =+ "${PN}-nautilus-extension" -PACKAGES =+ "${PN}-browser-plugin" - -FILES_${PN} += "${datadir}/dbus-1 \ - ${datadir}/metainfo \ - ${datadir}/thumbnailers \ -" -FILES_${PN}-nautilus-extension = "${libdir}/nautilus/*/*so" -FILES_${PN}-browser-plugin = "${libdir}/mozilla/*/*so" diff --git a/meta-gnome/recipes-gnome/evince/evince_3.36.3.bb b/meta-gnome/recipes-gnome/evince/evince_3.36.3.bb new file mode 100644 index 0000000000..08a20d4e0d --- /dev/null +++ b/meta-gnome/recipes-gnome/evince/evince_3.36.3.bb @@ -0,0 +1,55 @@ +SUMMARY = "Evince is a document viewer for document formats like pdf, ps, djvu" +LICENSE = "GPLv2" +LIC_FILES_CHKSUM = "file://COPYING;md5=96f2f8d5ee576a2163977938ea36fa7b" +SECTION = "x11/office" +DEPENDS = " \ + gnome-common-native \ + yelp-tools-native \ + appstream-glib \ + gtk+3 \ + gspell \ + libsecret \ + poppler \ + gstreamer1.0-plugins-base \ + orc \ + adwaita-icon-theme \ + ${@bb.utils.contains('DISTRO_FEATURES','x11','gnome-desktop3','',d)} \ +" + +GNOMEBASEBUILDCLASS = "meson" + +inherit gnomebase itstool gnome-help pkgconfig gsettings gobject-introspection upstream-version-is-even gettext features_check mime-xdg gtk-doc + +SRC_URI[archive.md5sum] = "9762dabdde37a804072bccbfd311d357" +SRC_URI[archive.sha256sum] = "af2ebdf7f74e6580c4f1a12bdfe26b9ff90374d7acae061de0666d64012a9db2" +SRC_URI += " \ + file://0001-Add-format-attribute-to-_synctex_malloc.patch \ + file://0002-add-a-formatting-attribute-check.patch \ +" + +GTKDOC_MESON_OPTION = "gtk_doc" + +EXTRA_OEMESON = " \ + -Dsystemduserunitdir=no \ +" + +do_compile_prepend() { + export GIR_EXTRA_LIBS_PATH="${B}/libdocument/.libs" +} + +PACKAGECONFIG ??= "" +PACKAGECONFIG[nautilus] = "-Dnautilus=true,-Dnautilus=false,nautilus" +PACKAGECONFIG[browser-plugin] = "-Dbrowser_plugin=true,-Dbrowser_plugin=false" + +RDEPENDS_${PN} += "glib-2.0-utils" +RRECOMMMENDS_${PN} = "adwaita-icon-theme" + +PACKAGES =+ "${PN}-nautilus-extension" +PACKAGES =+ "${PN}-browser-plugin" + +FILES_${PN} += "${datadir}/dbus-1 \ + ${datadir}/metainfo \ + ${datadir}/thumbnailers \ +" +FILES_${PN}-nautilus-extension = "${libdir}/nautilus/*/*so" +FILES_${PN}-browser-plugin = "${libdir}/mozilla/*/*so" -- cgit 1.2.3-korg