From bf79d77f4f26f16594a2b4b0a73459accab9acbc Mon Sep 17 00:00:00 2001 From: Martin Jansa Date: Fri, 30 Sep 2011 20:52:22 +0200 Subject: [PATCH] epdf: fix build with poppler >= 0.16 (From meta-openembedded rev: 33266e4355442c8dd5350e7e8ff3a3271fbb4426) Signed-off-by: Martin Jansa Signed-off-by: Koen Kooi Signed-off-by: Patrick Ohly --- .../recipes-efl/efl/epdf/epdf.poppler-0.16.api.change.patch | 11 +++++++++++ meta-openembedded/meta-efl/recipes-efl/efl/epdf_svn.bb | 6 ++++-- 2 files changed, 15 insertions(+), 2 deletions(-) create mode 100644 meta-openembedded/meta-efl/recipes-efl/efl/epdf/epdf.poppler-0.16.api.change.patch diff --git a/meta-openembedded/meta-efl/recipes-efl/efl/epdf/epdf.poppler-0.16.api.change.patch b/meta-openembedded/meta-efl/recipes-efl/efl/epdf/epdf.poppler-0.16.api.change.patch new file mode 100644 index 0000000..7c0ae65 --- /dev/null +++ b/meta-openembedded/meta-efl/recipes-efl/efl/epdf/epdf.poppler-0.16.api.change.patch @@ -0,0 +1,11 @@ +diff -uNr epdf.orig/src/lib/poppler/epdf_poppler_postscript.cpp epdf/src/lib/poppler/epdf_poppler_postscript.cpp +--- epdf.orig/src/lib/poppler/epdf_poppler_postscript.cpp 2011-09-30 20:50:03.580218578 +0200 ++++ epdf/src/lib/poppler/epdf_poppler_postscript.cpp 2011-09-30 20:49:11.573219667 +0200 +@@ -84,6 +84,7 @@ + + // FIXME: fix postscript title + ps_dev = new PSOutputDev (postscript->filename, ++ postscript->pdfdoc, + postscript->pdfdoc->getXRef(), + postscript->pdfdoc->getCatalog(), + "PS title", diff --git a/meta-openembedded/meta-efl/recipes-efl/efl/epdf_svn.bb b/meta-openembedded/meta-efl/recipes-efl/efl/epdf_svn.bb index 490b3ce..d479da6 100644 --- a/meta-openembedded/meta-efl/recipes-efl/efl/epdf_svn.bb +++ b/meta-openembedded/meta-efl/recipes-efl/efl/epdf_svn.bb @@ -2,7 +2,7 @@ DESCRIPTION = "Epdf is the glue between EFL and libpoppler" DEPENDS = "poppler evas ecore" PV = "0.1.0+svnr${SRCPV}" -PR = "r4" +PR = "r5" SRCREV = "${EFL_SRCREV}" inherit efl @@ -12,7 +12,9 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe \ file://COPYING.LESSER;md5=6a6a8e020838b23406c81b19c1d46df6 \ " -SRC_URI = "${E_SVN}/trunk/PROTO;module=${SRCNAME};proto=http;scmdata=keep" +SRC_URI = "${E_SVN}/trunk/PROTO;module=${SRCNAME};proto=http;scmdata=keep \ + file://epdf.poppler-0.16.api.change.patch \ +" S = "${WORKDIR}/${SRCNAME}" EXTRA_OECONF = "\ -- 2.7.4