poppler: update to 0.37.0
PATCH 1/4 poppler: update to 0.37.0
---
.../recipes-support/poppler/{poppler_0.35.0.bb => poppler_0.37.0.bb} | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
rename meta-oe/recipes-support/poppler/{poppler_0.35.0.bb => poppler_0.37.0.bb} (91%)meta-oe/recipes-support/poppler/poppler_0.37.0.bb renamed from meta-oe/recipes-support/poppler/poppler_0.35.0.bb +2 -2
@@ -6,8 +6,8 @@ SRC_URI = " \ http://poppler.freedesktop.org/${BP}.tar.xz \ file://0001-add-manadatory-options-to-find-qt4-qt5-moc.patch \ " -SRC_URI[md5sum] = "561ef4454bfabe59ef1b8b9cd4aa4c4b" -SRC_URI[sha256sum] = "e86755b1a4df6efe39d84f581c11bcb0e34976166a671a7b700c28ebaa3e2189" +SRC_URI[md5sum] = "c635e1742202cbbd9182cb0255d95652" +SRC_URI[sha256sum] = "b89f9c5eae3bbb1046b0f767714afd75eca102a0406a3a30856778d42a685bee" DEPENDS = "fontconfig zlib cairo lcms"
Signature · 1 line
2.1.0
PATCH 2/4 efl: add wayland-packageconfig to defaults if wayland is in distro features
At least meta-fsl-arm supports either x11 or wayland - not both at the same time - for their gpu blobs. Selecting x11 only does not build wayland-egl and efl's configuration fails with:
| checking whether to enable Wayland Egl rendering backend... yes | configure: error: Wayland Egl dependencies not found | Configure failed. The contents of all config.log files follows to aid debugging
--- meta-efl/recipes-efl/efl/efl.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta-efl/recipes-efl/efl/efl.inc +1 -1
@@ -51,7 +51,7 @@ EXTRA_OECONF_append_class-native = " \ --disable-image-loader-dds \ " -PACKAGECONFIG ?= "wayland egl opengl-es gstreamer1 pulseaudio luajit" +PACKAGECONFIG ?= "egl opengl-es gstreamer1 pulseaudio luajit ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'wayland', '', d)}" PACKAGECONFIG_class-native = "luajit" PACKAGECONFIG[wayland] = "--enable-wayland --enable-wayland-ivi-shell,--disable-wayland --disable-wayland-ivi-shell,wayland"
Signature · 1 line
2.1.0
PATCH 3/4 efl: fix build by adding -fPIC to CFLAGS
In reply to Andreas Mülleron armv7/cortexa8 efl fails with:
| ld: error: modules/evas/image_loaders/png/bin_evas_evas_cserve2_slave-evas_image_load_png.o: requires unsupported dynamic reloc R_ARM_MOVW_ABS_NC; recompile with -fPIC | ld: error: modules/evas/image_loaders/png/bin_evas_evas_cserve2_slave-evas_image_load_png.o: requires unsupported dynamic reloc R_ARM_MOVW_ABS_NC; recompile with -fPIC
--- meta-efl/recipes-efl/efl/efl_1.15.1.bb | 4 ++++ 1 file changed, 4 insertions(+)
meta-efl/recipes-efl/efl/efl_1.15.1.bb +4 -0
@@ -23,3 +23,7 @@ PARALLEL_MAKE_class-native = "" #Makefile:2163: recipe for target 'all-recursive' failed # autotools-brokensep B = "${S}" + +#ld: error: modules/evas/image_loaders/png/bin_evas_evas_cserve2_slave-evas_image_load_png.o: requires unsupported dynamic reloc R_ARM_MOVW_ABS_NC; recompile with -fPIC +#ld: error: modules/evas/image_loaders/png/bin_evas_evas_cserve2_slave-evas_image_load_png.o: requires unsupported dynamic reloc R_ARM_MOVW_ABS_NC; recompile with -fPIC +CFLAGS += "-fPIC"
Signature · 1 line
2.1.0
PATCH 4/4 epdf: make it build again and get out of blacklist-exile
In reply to Andreas Müller--- ...alias-functions-poppler-has-dropped-them-.patch | 132 +++++++++++++++++++++ ...r_postscript.cpp-fix-build-for-poppler-AP.patch | 45 +++++++ meta-efl/recipes-efl/efl/epdf_svn.bb | 8 +- 3 files changed, 181 insertions(+), 4 deletions(-) create mode 100644 meta-efl/recipes-efl/efl/epdf/0001-remove-antialias-functions-poppler-has-dropped-them-.patch create mode 100644 meta-efl/recipes-efl/efl/epdf/0002-epdf_poppler_postscript.cpp-fix-build-for-poppler-AP.patch
meta-efl/recipes-efl/efl/epdf/0001-remove-antialias-functions-poppler-has-dropped-them-.patch new file +132 -0
@@ -0,0 +1,132 @@ +From 6691ac5fcbac0e766d4410ae649a13957ae85289 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Andreas=20M=C3=BCller?= <[email protected]> +Date: Thu, 22 Oct 2015 16:27:52 +0200 +Subject: [PATCH 1/2] remove antialias functions - poppler has dropped them in + the API +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +The functions removed were not used. + +Upstream-Status: pending + +Signed-off-by: Andreas Müller <[email protected]> +--- + src/lib/epdf_main.h | 45 ----------------------------------- + src/lib/mupdf/epdf_mupdf_main.c | 18 -------------- + src/lib/poppler/epdf_poppler_main.cpp | 21 ---------------- + 3 files changed, 84 deletions(-) + +diff --git a/src/lib/epdf_main.h b/src/lib/epdf_main.h +index 54a57ca..0a79bad 100644 +--- a/src/lib/epdf_main.h ++++ b/src/lib/epdf_main.h +@@ -29,49 +29,4 @@ EAPI int epdf_shutdown(); + */ + EAPI const char *epdf_backend_version_get (void); + +-/** +- * @brief Return the state of fonts antialiasing in Poppler +- * +- * @return EINA_TRUE if fonts antialiasing enabled, EINA_FALSE otherwise. +- * +- * Return EINA_TRUE if the state of fonts antialiasing is enabled in +- * Poppler, EINA_FALSE otherwise. +- * +- * @ingroup Epdf_Main +- */ +-EAPI Eina_Bool epdf_fonts_antialias_get (void); +- +-/** +- * @brief Sets fonts antialiasing mode in Poppler +- * +- * @param on EINA_TRUE to enable fonts antialiasing, EINA_FALSE to disable +- * +- * Set @p on to EINA_TRUE to enable fonts antialiasing in Poppler, +- * EINA_FALSE to disable it. +- */ +-EAPI void epdf_fonts_antialias_set (Eina_Bool on); +- +-/** +- * @brief Return the state of lines antialiasing in Poppler +- * +- * @return EINA_TRUE if lines antialiasing enabled, EINA_FALSE otherwise. +- * +- * Return EINA_TRUE if the state of lines antialiasing is enabled in +- * Poppler, EINA_FALSE otherwise. +- * +- * @ingroup Epdf_Main +- */ +-EAPI Eina_Bool epdf_lines_antialias_get (void); +- +-/** +- * @brief Sets lines antialiasing mode in Poppler +- * +- * @param on EINA_TRUE to enable lines antialiasing, EINA_FALSE to disable +- * +- * Set @p on to EINA_TRUE to enable lines antialiasing in Poppler, +- * EINA_FALSE to disable it. +- */ +-EAPI void epdf_lines_antialias_set (Eina_Bool on); +- +- + #endif /* __EPDF_MAIN_H__ */ +diff --git a/src/lib/mupdf/epdf_mupdf_main.c b/src/lib/mupdf/epdf_mupdf_main.c +index 17bb830..27c6de2 100644 +--- a/src/lib/mupdf/epdf_mupdf_main.c ++++ b/src/lib/mupdf/epdf_mupdf_main.c +@@ -37,21 +37,3 @@ epdf_backend_version_get (void) + { + return "0.5"; + } +- +-Eina_Bool epdf_fonts_antialias_get(void) +-{ +- return EINA_TRUE; +-} +- +-void epdf_fonts_antialias_set(Eina_Bool on) +-{ +-} +- +-Eina_Bool epdf_lines_antialias_get(void) +-{ +- return EINA_TRUE; +-} +- +-void epdf_lines_antialias_set(Eina_Bool on) +-{ +-} +diff --git a/src/lib/poppler/epdf_poppler_main.cpp b/src/lib/poppler/epdf_poppler_main.cpp +index 9841987..9efdbe8 100644 +--- a/src/lib/poppler/epdf_poppler_main.cpp ++++ b/src/lib/poppler/epdf_poppler_main.cpp +@@ -46,24 +46,3 @@ epdf_backend_version_get (void) + { + return POPPLER_VERSION; + } +- +-Eina_Bool epdf_fonts_antialias_get (void) +-{ +- return globalParams->getAntialias(); +-} +- +-void epdf_fonts_antialias_set (Eina_Bool on) +-{ +- /* Nice API */ +- globalParams->setAntialias((char*)(on ? "yes" : "no")); +-} +- +-Eina_Bool epdf_lines_antialias_get (void) +-{ +- return globalParams->getVectorAntialias(); +-} +- +-void epdf_lines_antialias_set (Eina_Bool on) +-{ +- globalParams->setVectorAntialias((char*)(on ? "yes" : "no")); +-} +-- +2.1.0 +
meta-efl/recipes-efl/efl/epdf/0002-epdf_poppler_postscript.cpp-fix-build-for-poppler-AP.patch new file +45 -0
45 lines not on this page · raw message
meta-efl/recipes-efl/efl/epdf_svn.bb +4 -4
@@ -11,7 +11,10 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe \ file://COPYING.LESSER;md5=6a6a8e020838b23406c81b19c1d46df6 \ " -SRC_URI = "${E_SVN}/trunk/PROTO;module=${SRCNAME};protocol=http;scmdata=keep \ +SRC_URI = " \ + ${E_SVN}/trunk/PROTO;module=${SRCNAME};protocol=http;scmdata=keep \ + file://0001-remove-antialias-functions-poppler-has-dropped-them-.patch \ + file://0002-epdf_poppler_postscript.cpp-fix-build-for-poppler-AP.patch \ " S = "${WORKDIR}/${SRCNAME}"
@@ -22,6 +25,3 @@ EXTRA_OECONF = "\ # Some upgrade path tweaking, as in evas AUTO_LIBNAME_PKGS = "" - -# 2_0.1.0+svnr82070-r0/epdf/src/lib/poppler/epdf_poppler_main.cpp:52:24: error: 'class GlobalParams' has no member named 'getAntialias' -PNBLACKLIST[epdf] ?= "BROKEN: fails to build with newer poppler"
Signature · 1 line
2.1.0