diff options
author | Andreas Müller <schnitzeltony@googlemail.com> | 2016-05-17 01:04:40 +0200 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2016-05-19 12:02:41 +0200 |
commit | 5ce609fa3429b317bfda7daf4e442c50d037939c (patch) | |
tree | dcf8a37ecddda1899a8bb0e5fa64c0ef358ac837 /meta-oe | |
parent | 207e97112b2627267a7fa8921d94457114700cb7 (diff) | |
download | meta-openembedded-5ce609fa3429b317bfda7daf4e442c50d037939c.tar.gz |
poppler: update to 0.43.0
* patch was applied upstream
* a PACKAGECONFIG for nss was added - enabled by default
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe')
-rw-r--r-- | meta-oe/recipes-support/poppler/poppler/0001-Compile-with-C-11-compilers-that-don-t-define-isinfi.patch | 39 | ||||
-rw-r--r-- | meta-oe/recipes-support/poppler/poppler_0.43.0.bb (renamed from meta-oe/recipes-support/poppler/poppler_0.41.0.bb) | 8 |
2 files changed, 4 insertions, 43 deletions
diff --git a/meta-oe/recipes-support/poppler/poppler/0001-Compile-with-C-11-compilers-that-don-t-define-isinfi.patch b/meta-oe/recipes-support/poppler/poppler/0001-Compile-with-C-11-compilers-that-don-t-define-isinfi.patch deleted file mode 100644 index d5c34a6a02..0000000000 --- a/meta-oe/recipes-support/poppler/poppler/0001-Compile-with-C-11-compilers-that-don-t-define-isinfi.patch +++ /dev/null | |||
@@ -1,39 +0,0 @@ | |||
1 | From a8e3399487258e53df0fd4a79c570c8d71188bed Mon Sep 17 00:00:00 2001 | ||
2 | From: Takahiro Hashimoto <kenya888.en@gmail.com> | ||
3 | Date: Wed, 27 Apr 2016 00:16:52 +0200 | ||
4 | Subject: [PATCH] Compile with C++11 compilers that don't define isinfinite | ||
5 | |||
6 | Bug #94761 | ||
7 | --- | ||
8 | poppler/SplashOutputDev.cc | 8 ++++++++ | ||
9 | 1 file changed, 8 insertions(+) | ||
10 | |||
11 | diff --git a/poppler/SplashOutputDev.cc b/poppler/SplashOutputDev.cc | ||
12 | index 13d090c..0e50702 100644 | ||
13 | --- a/poppler/SplashOutputDev.cc | ||
14 | +++ b/poppler/SplashOutputDev.cc | ||
15 | @@ -36,6 +36,7 @@ | ||
16 | // Copyright (C) 2014 Richard PALO <richard@netbsd.org> | ||
17 | // Copyright (C) 2015 Tamas Szekeres <szekerest@gmail.com> | ||
18 | // Copyright (C) 2015 Kenji Uno <ku@digitaldolphins.jp> | ||
19 | +// Copyright (C) 2016 Takahiro Hashimoto <kenya888.en@gmail.com> | ||
20 | // | ||
21 | // To see a description of the changes please see the Changelog file that | ||
22 | // came with your tarball or type make ChangeLog if you are building from git | ||
23 | @@ -94,6 +95,13 @@ extern "C" int unlink(char *filename); | ||
24 | #endif | ||
25 | #endif | ||
26 | |||
27 | +#if __cplusplus > 199711L | ||
28 | +#include <cmath> | ||
29 | +#ifndef isfinite | ||
30 | +#define isfinite(x) std::isfinite(x) | ||
31 | +#endif | ||
32 | +#endif | ||
33 | + | ||
34 | static inline void convertGfxColor(SplashColorPtr dest, | ||
35 | SplashColorMode colorMode, | ||
36 | GfxColorSpace *colorSpace, | ||
37 | -- | ||
38 | 2.8.2 | ||
39 | |||
diff --git a/meta-oe/recipes-support/poppler/poppler_0.41.0.bb b/meta-oe/recipes-support/poppler/poppler_0.43.0.bb index f7cc07681c..95cd5e5daf 100644 --- a/meta-oe/recipes-support/poppler/poppler_0.41.0.bb +++ b/meta-oe/recipes-support/poppler/poppler_0.43.0.bb | |||
@@ -5,16 +5,15 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe" | |||
5 | SRC_URI = " \ | 5 | SRC_URI = " \ |
6 | http://poppler.freedesktop.org/${BP}.tar.xz \ | 6 | http://poppler.freedesktop.org/${BP}.tar.xz \ |
7 | file://0001-add-manadatory-options-to-find-qt4-qt5-moc.patch \ | 7 | file://0001-add-manadatory-options-to-find-qt4-qt5-moc.patch \ |
8 | file://0001-Compile-with-C-11-compilers-that-don-t-define-isinfi.patch \ | ||
9 | " | 8 | " |
10 | SRC_URI[md5sum] = "849a8bd6af5794efb961b70418414e5a" | 9 | SRC_URI[md5sum] = "1d2b001663119855cdfbc0713dbfb9c6" |
11 | SRC_URI[sha256sum] = "420abaab63caed9e1ee28964a0ba216d1979506726164bc99ad5ade289192a1b" | 10 | SRC_URI[sha256sum] = "c720e26a26ee10b7ebc9e256d2ee7adcdb536cf85f9f1c4777a38f7f81fb2456" |
12 | 11 | ||
13 | DEPENDS = "fontconfig zlib cairo lcms" | 12 | DEPENDS = "fontconfig zlib cairo lcms" |
14 | 13 | ||
15 | inherit autotools pkgconfig gtk-doc gobject-introspection | 14 | inherit autotools pkgconfig gtk-doc gobject-introspection |
16 | 15 | ||
17 | PACKAGECONFIG ??= "jpeg openjpeg png tiff ${@bb.utils.contains('BBFILE_COLLECTIONS', 'qt5-layer', 'qt5', '', d)}" | 16 | PACKAGECONFIG ??= "jpeg openjpeg png tiff nss ${@bb.utils.contains('BBFILE_COLLECTIONS', 'qt5-layer', 'qt5', '', d)}" |
18 | PACKAGECONFIG[jpeg] = "--enable-libjpeg,--disable-libjpeg,jpeg" | 17 | PACKAGECONFIG[jpeg] = "--enable-libjpeg,--disable-libjpeg,jpeg" |
19 | PACKAGECONFIG[png] = "--enable-libpng,--disable-libpng,libpng" | 18 | PACKAGECONFIG[png] = "--enable-libpng,--disable-libpng,libpng" |
20 | PACKAGECONFIG[tiff] = "--enable-libtiff,--disable-libtiff,tiff" | 19 | PACKAGECONFIG[tiff] = "--enable-libtiff,--disable-libtiff,tiff" |
@@ -22,6 +21,7 @@ PACKAGECONFIG[curl] = "--enable-libcurl,--disable-libcurl,curl" | |||
22 | PACKAGECONFIG[openjpeg] = "--enable-libopenjpeg=openjpeg2,--disable-libopenjpeg,openjpeg" | 21 | PACKAGECONFIG[openjpeg] = "--enable-libopenjpeg=openjpeg2,--disable-libopenjpeg,openjpeg" |
23 | PACKAGECONFIG[qt5] = "--enable-poppler-qt5 --with-moc-qt5=${STAGING_BINDIR_NATIVE}/qt5/moc,--disable-poppler-qt5,qtbase" | 22 | PACKAGECONFIG[qt5] = "--enable-poppler-qt5 --with-moc-qt5=${STAGING_BINDIR_NATIVE}/qt5/moc,--disable-poppler-qt5,qtbase" |
24 | PACKAGECONFIG[qt4e] = "--enable-poppler-qt4 --with-moc-qt4=${STAGING_BINDIR_NATIVE}/moc4,--disable-poppler-qt4,qt4-embedded" | 23 | PACKAGECONFIG[qt4e] = "--enable-poppler-qt4 --with-moc-qt4=${STAGING_BINDIR_NATIVE}/moc4,--disable-poppler-qt4,qt4-embedded" |
24 | PACKAGECONFIG[nss] = "--enable-libnss,--disable-libnss,nss" | ||
25 | 25 | ||
26 | # Needed for qt5 | 26 | # Needed for qt5 |
27 | CXXFLAGS += "--std=c++11" | 27 | CXXFLAGS += "--std=c++11" |