From 51506aaa6c2068863831e1df7511e184328c5092 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20M=C3=BCller?= Date: Fri, 31 Jul 2020 02:00:05 +0200 Subject: [PATCH] poppler: upgrade 0.89.0 -> 0.90.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Release 0.90.1: core: * Fix regression on PS conversion. Regression only happened on applications that are locale enabled i.e. Okular but not pdftops, when using a quite new lcms and the user locale uses , as decimal separator instead of . * Add UTF16LE support to TextStringToUCS4. Even if the standard clearly says it should be UTF16BE Release 0.90.0: core: * Color profile tweaks * Small signature improvements * BBoxOutputDev: Fix calculation when type3 fonts are involved * Fix potential crash when reading Forms * Fix infinite loop in broken file glib: * Fix adding annots in rotated pages * Add ability to reset forms * Several fixes to the documentation qt5: * Make it clear we require Qt 5.5 * demo: Fix crash on broken files * Small documentation improvements utils: * pdftoppm: Add option to set display profile * pdftops: Add a -rasterize option with values always, never, or whenneeded build system: * Require cmake 3.5 * More modern cmake way to link against curl Signed-off-by: Andreas Müller Signed-off-by: Khem Raj --- .../poppler/poppler/basename-include.patch | 9 ++++++--- .../poppler/{poppler_0.89.0.bb => poppler_0.90.1.bb} | 4 ++-- 2 files changed, 8 insertions(+), 5 deletions(-) rename meta-oe/recipes-support/poppler/{poppler_0.89.0.bb => poppler_0.90.1.bb} (93%) diff --git a/meta-oe/recipes-support/poppler/poppler/basename-include.patch b/meta-oe/recipes-support/poppler/poppler/basename-include.patch index 3d6d7a8f14..4a18ba3504 100644 --- a/meta-oe/recipes-support/poppler/poppler/basename-include.patch +++ b/meta-oe/recipes-support/poppler/poppler/basename-include.patch @@ -5,6 +5,9 @@ Subject: [PATCH 3/3] Minic GNU basename() API for non-glibc library e.g. musl Upstream-Status: Pending +Rework for poppler 0.90.1 +Signed-off-by: Andreas Müller + Signed-off-by: Khem Raj Signed-off-by: Randy MacLeod --- @@ -12,7 +15,7 @@ Signed-off-by: Randy MacLeod 1 file changed, 4 insertions(+) diff --git a/goo/gbasename.cc b/goo/gbasename.cc -index 830c1c80..e93eb368 100644 +index 69236d8..3858415 100644 --- a/goo/gbasename.cc +++ b/goo/gbasename.cc @@ -46,6 +46,10 @@ @@ -23,9 +26,9 @@ index 830c1c80..e93eb368 100644 +#define basename(src) (strrchr(src,'/') ? strrchr(src,'/')+1 : src) +#endif + - std::string gbasename(const char* filename) + std::string gbasename(const char *filename) { #ifdef _MSC_VER -- -2.17.0 +2.21.3 diff --git a/meta-oe/recipes-support/poppler/poppler_0.89.0.bb b/meta-oe/recipes-support/poppler/poppler_0.90.1.bb similarity index 93% rename from meta-oe/recipes-support/poppler/poppler_0.89.0.bb rename to meta-oe/recipes-support/poppler/poppler_0.90.1.bb index f8b7c075ac..bb5a782ae0 100644 --- a/meta-oe/recipes-support/poppler/poppler_0.89.0.bb +++ b/meta-oe/recipes-support/poppler/poppler_0.90.1.bb @@ -7,8 +7,8 @@ SRC_URI = "http://poppler.freedesktop.org/${BP}.tar.xz \ file://0001-Do-not-overwrite-all-our-build-flags.patch \ file://basename-include.patch \ " -SRC_URI[md5sum] = "92ac57f60ae8c3a1f8bfe01c9530b7b5" -SRC_URI[sha256sum] = "fba230364537782cc5d43b08d693ef69c36586286349683c7b127156a8ef9b5c" +SRC_URI[md5sum] = "b80a82f14459d31d929db421b0e8cf05" +SRC_URI[sha256sum] = "984d82e72e91418d280885298c8bdc855a2fd92665fd52a1345b27235e0c71c4" DEPENDS = "fontconfig zlib cairo lcms glib-2.0"