diff options
author | Andreas Müller <schnitzeltony@gmail.com> | 2019-03-22 11:21:26 +0100 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2019-03-22 09:33:00 -0700 |
commit | 735c2b38034df0fb839c253d2e0ae264ab693702 (patch) | |
tree | 6d550318e8d534af138b7d3cf73836584a0c5eef /meta-oe/recipes-support/poppler | |
parent | 2c417a5680537c31c3a3a9fd355b2c3cf90285cb (diff) | |
download | meta-openembedded-735c2b38034df0fb839c253d2e0ae264ab693702.tar.gz |
poppler: upgrade 0.71.0 -> 0.75.0
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-support/poppler')
-rw-r--r-- | meta-oe/recipes-support/poppler/poppler/0001-glib-CMakeLists.txt-Add-libpoppler-to-link-along-wit.patch | 9 | ||||
-rw-r--r-- | meta-oe/recipes-support/poppler/poppler/basename-include.patch | 2 | ||||
-rw-r--r-- | meta-oe/recipes-support/poppler/poppler_0.75.0.bb (renamed from meta-oe/recipes-support/poppler/poppler_0.71.0.bb) | 6 |
3 files changed, 10 insertions, 7 deletions
diff --git a/meta-oe/recipes-support/poppler/poppler/0001-glib-CMakeLists.txt-Add-libpoppler-to-link-along-wit.patch b/meta-oe/recipes-support/poppler/poppler/0001-glib-CMakeLists.txt-Add-libpoppler-to-link-along-wit.patch index 7ed795ef7..c364d7372 100644 --- a/meta-oe/recipes-support/poppler/poppler/0001-glib-CMakeLists.txt-Add-libpoppler-to-link-along-wit.patch +++ b/meta-oe/recipes-support/poppler/poppler/0001-glib-CMakeLists.txt-Add-libpoppler-to-link-along-wit.patch | |||
@@ -15,15 +15,18 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com> | |||
15 | 1 file changed, 1 insertion(+), 1 deletion(-) | 15 | 1 file changed, 1 insertion(+), 1 deletion(-) |
16 | 16 | ||
17 | diff --git a/glib/CMakeLists.txt b/glib/CMakeLists.txt | 17 | diff --git a/glib/CMakeLists.txt b/glib/CMakeLists.txt |
18 | index 33c6608..87e1b44 100644 | 18 | index 6f91669..ca5021f 100644 |
19 | --- a/glib/CMakeLists.txt | 19 | --- a/glib/CMakeLists.txt |
20 | +++ b/glib/CMakeLists.txt | 20 | +++ b/glib/CMakeLists.txt |
21 | @@ -127,7 +127,7 @@ if (HAVE_INTROSPECTION AND BUILD_SHARED_LIBS) | 21 | @@ -135,7 +135,7 @@ if (HAVE_INTROSPECTION AND BUILD_SHARED_LIBS) |
22 | get_directory_property(_tmp_includes INCLUDE_DIRECTORIES) | 22 | get_directory_property(_tmp_includes INCLUDE_DIRECTORIES) |
23 | _list_prefix(_includes _tmp_includes "-I") | 23 | _list_prefix(_includes _tmp_includes "-I") |
24 | set(Poppler_0_18_gir_CFLAGS ${_includes} -L${CMAKE_BINARY_DIR}) | 24 | set(Poppler_0_18_gir_CFLAGS ${_includes} -L${CMAKE_BINARY_DIR} -L${CMAKE_CURRENT_BINARY_DIR}) |
25 | - set(Poppler_0_18_gir_LIBS poppler-glib) | 25 | - set(Poppler_0_18_gir_LIBS poppler-glib) |
26 | + set(Poppler_0_18_gir_LIBS poppler-glib poppler) | 26 | + set(Poppler_0_18_gir_LIBS poppler-glib poppler) |
27 | _list_prefix(_abs_introspection_files introspection_files "${CMAKE_CURRENT_SOURCE_DIR}/") | 27 | _list_prefix(_abs_introspection_files introspection_files "${CMAKE_CURRENT_SOURCE_DIR}/") |
28 | list(APPEND _abs_introspection_files | 28 | list(APPEND _abs_introspection_files |
29 | ${CMAKE_CURRENT_BINARY_DIR}/poppler-enums.c | 29 | ${CMAKE_CURRENT_BINARY_DIR}/poppler-enums.c |
30 | -- | ||
31 | 2.20.1 | ||
32 | |||
diff --git a/meta-oe/recipes-support/poppler/poppler/basename-include.patch b/meta-oe/recipes-support/poppler/poppler/basename-include.patch index 528528ae7..ab6bdb080 100644 --- a/meta-oe/recipes-support/poppler/poppler/basename-include.patch +++ b/meta-oe/recipes-support/poppler/poppler/basename-include.patch | |||
@@ -8,8 +8,8 @@ Index: poppler-0.64.0/utils/pdfsig.cc | |||
8 | --- poppler-0.64.0.orig/utils/pdfsig.cc | 8 | --- poppler-0.64.0.orig/utils/pdfsig.cc |
9 | +++ poppler-0.64.0/utils/pdfsig.cc | 9 | +++ poppler-0.64.0/utils/pdfsig.cc |
10 | @@ -35,6 +35,10 @@ | 10 | @@ -35,6 +35,10 @@ |
11 | #include "Win32Console.h" | ||
12 | #include "numberofcharacters.h" | 11 | #include "numberofcharacters.h" |
12 | #include <libgen.h> | ||
13 | 13 | ||
14 | +#if !defined(__GLIBC__) | 14 | +#if !defined(__GLIBC__) |
15 | +#define basename(src) (strrchr(src,'/') ? strrchr(src,'/')+1 : src) | 15 | +#define basename(src) (strrchr(src,'/') ? strrchr(src,'/')+1 : src) |
diff --git a/meta-oe/recipes-support/poppler/poppler_0.71.0.bb b/meta-oe/recipes-support/poppler/poppler_0.75.0.bb index 371648d1a..febdc8eda 100644 --- a/meta-oe/recipes-support/poppler/poppler_0.71.0.bb +++ b/meta-oe/recipes-support/poppler/poppler_0.75.0.bb | |||
@@ -8,8 +8,8 @@ SRC_URI = "http://poppler.freedesktop.org/${BP}.tar.xz \ | |||
8 | file://0001-glib-CMakeLists.txt-Add-libpoppler-to-link-along-wit.patch \ | 8 | file://0001-glib-CMakeLists.txt-Add-libpoppler-to-link-along-wit.patch \ |
9 | file://basename-include.patch \ | 9 | file://basename-include.patch \ |
10 | " | 10 | " |
11 | SRC_URI[md5sum] = "b505011e49e922c83f3ffb57ab40bc28" | 11 | SRC_URI[md5sum] = "3fb4ca803d989742695ca586c5cc489e" |
12 | SRC_URI[sha256sum] = "badbecd2dddf63352fd85ec08a9c2ed122fdadacf2a34fcb4cc227c4d01f2cf9" | 12 | SRC_URI[sha256sum] = "3bbaedb0fa2797cac933a0659d144303e4d09eec6892c65600da987d8707199a" |
13 | 13 | ||
14 | DEPENDS = "fontconfig zlib cairo lcms glib-2.0" | 14 | DEPENDS = "fontconfig zlib cairo lcms glib-2.0" |
15 | 15 | ||
@@ -40,7 +40,7 @@ EXTRA_OECMAKE += " \ | |||
40 | do_configure_append() { | 40 | do_configure_append() { |
41 | # poppler macro uses pkg-config to check for g-ir runtimes. Something | 41 | # poppler macro uses pkg-config to check for g-ir runtimes. Something |
42 | # makes them point to /usr/bin. Align them to sysroot - that's where the | 42 | # makes them point to /usr/bin. Align them to sysroot - that's where the |
43 | # git-wrappers are: | 43 | # gir-wrappers are: |
44 | sed -i 's: ${bindir}/g-ir: ${STAGING_BINDIR}/g-ir:' ${B}/build.ninja | 44 | sed -i 's: ${bindir}/g-ir: ${STAGING_BINDIR}/g-ir:' ${B}/build.ninja |
45 | } | 45 | } |
46 | 46 | ||