From 709c4d66e0b107ca606941b988bad717c0b45d9b Mon Sep 17 00:00:00 2001 From: Denys Dmytriyenko Date: Tue, 17 Mar 2009 14:32:59 -0400 Subject: rename packages/ to recipes/ per earlier agreement See links below for more details: http://thread.gmane.org/gmane.comp.handhelds.openembedded/21326 http://thread.gmane.org/gmane.comp.handhelds.openembedded/21816 Signed-off-by: Denys Dmytriyenko Acked-by: Mike Westerhof Acked-by: Philip Balister Acked-by: Khem Raj Acked-by: Marcin Juszkiewicz Acked-by: Koen Kooi Acked-by: Frans Meulenbroeks --- recipes/poppler/poppler-data_0.1.bb | 16 ++++++++++++++++ recipes/poppler/poppler-fpu.inc | 6 ++++++ recipes/poppler/poppler.inc | 28 ++++++++++++++++++++++++++++ recipes/poppler/poppler/fix-splash.patch | 28 ++++++++++++++++++++++++++++ recipes/poppler/poppler_0.5.9.bb | 7 +++++++ recipes/poppler/poppler_0.6.4.bb | 6 ++++++ recipes/poppler/poppler_0.8.4.bb | 6 ++++++ 7 files changed, 97 insertions(+) create mode 100644 recipes/poppler/poppler-data_0.1.bb create mode 100644 recipes/poppler/poppler-fpu.inc create mode 100644 recipes/poppler/poppler.inc create mode 100644 recipes/poppler/poppler/fix-splash.patch create mode 100644 recipes/poppler/poppler_0.5.9.bb create mode 100644 recipes/poppler/poppler_0.6.4.bb create mode 100644 recipes/poppler/poppler_0.8.4.bb (limited to 'recipes/poppler') diff --git a/recipes/poppler/poppler-data_0.1.bb b/recipes/poppler/poppler-data_0.1.bb new file mode 100644 index 0000000000..e145cb07ee --- /dev/null +++ b/recipes/poppler/poppler-data_0.1.bb @@ -0,0 +1,16 @@ +DESCRIPTION = "Poppler is a PDF rendering library based on the xpdf-3.0 code base." +LICENSE = "Adobe" +PR = "r1" + +SRC_URI = "http://poppler.freedesktop.org/${PN}-${PV}.tar.gz" + +do_compile() { +} + +do_install() { + oe_runmake install DESTDIR=${D} +} + +FILES_${PN} += "${datadir}" +PACKAGE_ARCH = "all" + diff --git a/recipes/poppler/poppler-fpu.inc b/recipes/poppler/poppler-fpu.inc new file mode 100644 index 0000000000..a26273020a --- /dev/null +++ b/recipes/poppler/poppler-fpu.inc @@ -0,0 +1,6 @@ + +def get_poppler_fpu_setting(bb, d): + if bb.data.getVar('TARGET_FPU', d, 1) in [ 'soft' ]: + return "--enable-fixedpoint" + return "" + diff --git a/recipes/poppler/poppler.inc b/recipes/poppler/poppler.inc new file mode 100644 index 0000000000..0e9b61cd30 --- /dev/null +++ b/recipes/poppler/poppler.inc @@ -0,0 +1,28 @@ +DESCRIPTION = "Poppler is a PDF rendering library based on the xpdf-3.0 code base." +DEPENDS = "fontconfig jpeg zlib gtk+ cairo" +LICENSE = "GPL" + +SRC_URI = "http://poppler.freedesktop.org/${PN}-${PV}.tar.gz" + +inherit autotools pkgconfig + +EXTRA_OECONF = "\ + --enable-xpdf-headers \ + --disable-gtk-test \ + --disable-poppler-qt \ + --disable-poppler-qt4 \ + --enable-zlib \ +" + +# check for TARGET_FPU=soft and inform configure of the result so it can disable some floating points +require poppler-fpu.inc +EXTRA_OECONF += "${@get_poppler_fpu_setting(bb, d)}" + +do_stage() { + autotools_stage_all +} + +PACKAGES =+ "libpoppler libpoppler-glib" +FILES_libpoppler = "${libdir}/libpoppler.so.*" +FILES_libpoppler-glib = "${libdir}/libpoppler-glib.so.*" + diff --git a/recipes/poppler/poppler/fix-splash.patch b/recipes/poppler/poppler/fix-splash.patch new file mode 100644 index 0000000000..001c4ce301 --- /dev/null +++ b/recipes/poppler/poppler/fix-splash.patch @@ -0,0 +1,28 @@ +--- poppler/splash/SplashMath.h 2007/04/25 19:59:10 1.3 ++++ poppler/splash/SplashMath.h 2007/06/01 18:34:48 1.4 +@@ -8,7 +8,7 @@ + #define SPLASHMATH_H + + #if USE_FIXEDPOINT +-#include "FixedPoint.h" ++#include "goo/FixedPoint.h" + #else + #include + #endif +--- poppler/splash/SplashFTFont.cc 2007/04/25 19:59:10 1.8 ++++ poppler/splash/SplashFTFont.cc 2007/06/01 18:34:48 1.9 +@@ -127,10 +127,10 @@ + matrix.yx = (FT_Fixed)((mat[1] / size).getRaw()); + matrix.xy = (FT_Fixed)((mat[2] / size).getRaw()); + matrix.yy = (FT_Fixed)((mat[3] / size).getRaw()); +- textMatrix.xx = (FT_Fixed)((textMat[0] / (size * textScale)).getRaw()); +- textMatrix.yx = (FT_Fixed)((textMat[1] / (size * textScale)).getRaw()); +- textMatrix.xy = (FT_Fixed)((textMat[2] / (size * textScale)).getRaw()); +- textMatrix.yy = (FT_Fixed)((textMat[3] / (size * textScale)).getRaw()); ++ textMatrix.xx = (FT_Fixed)((textMat[0] / (textScale * size)).getRaw()); ++ textMatrix.yx = (FT_Fixed)((textMat[1] / (textScale * size)).getRaw()); ++ textMatrix.xy = (FT_Fixed)((textMat[2] / (textScale * size)).getRaw()); ++ textMatrix.yy = (FT_Fixed)((textMat[3] / (textScale * size)).getRaw()); + #else + matrix.xx = (FT_Fixed)((mat[0] / size) * 65536); + matrix.yx = (FT_Fixed)((mat[1] / size) * 65536); diff --git a/recipes/poppler/poppler_0.5.9.bb b/recipes/poppler/poppler_0.5.9.bb new file mode 100644 index 0000000000..2fc2200afc --- /dev/null +++ b/recipes/poppler/poppler_0.5.9.bb @@ -0,0 +1,7 @@ +require poppler.inc + +PR = "r1" + +SRC_URI += "file://fix-splash.patch;patch=1" +EXTRA_OECONF_append = " --disable-abiword-output " + diff --git a/recipes/poppler/poppler_0.6.4.bb b/recipes/poppler/poppler_0.6.4.bb new file mode 100644 index 0000000000..3c1ec00183 --- /dev/null +++ b/recipes/poppler/poppler_0.6.4.bb @@ -0,0 +1,6 @@ +require poppler.inc + +PR = "r0" + +EXTRA_OECONF_append = " --disable-abiword-output " + diff --git a/recipes/poppler/poppler_0.8.4.bb b/recipes/poppler/poppler_0.8.4.bb new file mode 100644 index 0000000000..3c1ec00183 --- /dev/null +++ b/recipes/poppler/poppler_0.8.4.bb @@ -0,0 +1,6 @@ +require poppler.inc + +PR = "r0" + +EXTRA_OECONF_append = " --disable-abiword-output " + -- cgit v1.2.3