diff options
author | Denys Dmytriyenko <denis@denix.org> | 2009-03-17 14:32:59 -0400 |
---|---|---|
committer | Denys Dmytriyenko <denis@denix.org> | 2009-03-17 14:32:59 -0400 |
commit | 709c4d66e0b107ca606941b988bad717c0b45d9b (patch) | |
tree | 37ee08b1eb308f3b2b6426d5793545c38396b838 /recipes/mml-widget | |
parent | fa6cd5a3b993f16c27de4ff82b42684516d433ba (diff) |
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 <denis@denix.org>
Acked-by: Mike Westerhof <mwester@dls.net>
Acked-by: Philip Balister <philip@balister.org>
Acked-by: Khem Raj <raj.khem@gmail.com>
Acked-by: Marcin Juszkiewicz <hrw@openembedded.org>
Acked-by: Koen Kooi <koen@openembedded.org>
Acked-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
Diffstat (limited to 'recipes/mml-widget')
-rw-r--r-- | recipes/mml-widget/files/mathview-gcc43x.diff | 53 | ||||
-rw-r--r-- | recipes/mml-widget/gtkmathview_0.7.6.bb | 18 | ||||
-rw-r--r-- | recipes/mml-widget/gtkmathview_0.8.0.bb | 24 |
3 files changed, 95 insertions, 0 deletions
diff --git a/recipes/mml-widget/files/mathview-gcc43x.diff b/recipes/mml-widget/files/mathview-gcc43x.diff new file mode 100644 index 0000000000..4091051a76 --- /dev/null +++ b/recipes/mml-widget/files/mathview-gcc43x.diff @@ -0,0 +1,53 @@ +--- /tmp/mathVariantAux.cc 2008-07-13 15:56:56.000000000 +0200 ++++ gtkmathview-0.8.0/src/engine/mathml/mathVariantAux.cc 2008-07-13 15:57:46.893198000 +0200 +@@ -20,6 +20,8 @@ + + #include <cassert> + ++#include <string.h> ++ + #include "mathVariantAux.hh" + + static MathVariantAttributes vattr[] = { +--- /tmp/T1_FontDataBase.cc 2008-07-13 16:25:24.000000000 +0200 ++++ gtkmathview-0.8.0/src/backend/ps/T1_FontDataBase.cc 2008-07-13 16:25:47.123198000 +0200 +@@ -20,6 +20,7 @@ + #include <config.h> + #include <map> + #include <string> ++#include <string.h> + #include <stdlib.h> + #include <iostream> + #include <list> +--- /tmp/SMS.cc 2008-07-13 16:27:23.000000000 +0200 ++++ gtkmathview-0.8.0/mathmlsvg/SMS.cc 2008-07-13 16:27:41.543198000 +0200 +@@ -19,6 +19,7 @@ + #include <config.h> + + #include <sstream> ++#include <string.h> + #include "defs.h" + #include "AbstractLogger.hh" + #include "ValueConversion.hh" +--- /tmp/main.cc 2008-07-13 16:29:11.000000000 +0200 ++++ gtkmathview-0.8.0/mathmlsvg/main.cc 2008-07-13 16:29:28.813198000 +0200 +@@ -20,7 +20,7 @@ + + #include <cassert> + #include <fstream> +- ++#include <string.h> + #include <popt.h> + + // needed for old versions of GCC, must come before String.hh! +--- /tmp/main.cc 2008-07-13 16:30:11.000000000 +0200 ++++ gtkmathview-0.8.0/mathmlps/main.cc 2008-07-13 16:30:33.183198000 +0200 +@@ -20,7 +20,7 @@ + + #include <cassert> + #include <fstream> +- ++#include <string.h> + #include <popt.h> + + // needed for old versions of GCC, must come before String.hh! diff --git a/recipes/mml-widget/gtkmathview_0.7.6.bb b/recipes/mml-widget/gtkmathview_0.7.6.bb new file mode 100644 index 0000000000..55f4328f7e --- /dev/null +++ b/recipes/mml-widget/gtkmathview_0.7.6.bb @@ -0,0 +1,18 @@ +LICENSE = "GPL" +HOMEPAGE = "http://helm.cs.unibo.it/mml-widget/" +DEPENDS = "gtk+ popt libxslt libxml2" + +SRC_URI = "http://helm.cs.unibo.it/mml-widget/sources/${P}.tar.gz" + +inherit autotools pkgconfig + +EXTRA_OECONF = "--disable-binreloc" + +do_configure() { + oe_runconf +} + +do_stage() { + autotools_stage_all +} + diff --git a/recipes/mml-widget/gtkmathview_0.8.0.bb b/recipes/mml-widget/gtkmathview_0.8.0.bb new file mode 100644 index 0000000000..2fe48ea872 --- /dev/null +++ b/recipes/mml-widget/gtkmathview_0.8.0.bb @@ -0,0 +1,24 @@ +LICENSE = "GPL" +HOMEPAGE = "http://helm.cs.unibo.it/mml-widget/" +DEPENDS = "t1lib gtk+ popt libxslt libxml2" + +SRC_URI = "http://helm.cs.unibo.it/mml-widget/sources/${P}.tar.gz \ + file://mathview-gcc43x.diff;patch=1 \ + " + +inherit autotools +AUTOTOOLS_STAGE_PKGCONFIG = 1 + +EXTRA_OECONF = "--disable-binreloc" + +do_configure_prepend() { + sed -i -e s:AM_BINRELOC::g ${S}/configure.ac +} + +do_stage() { + autotools_stage_all + for i in ${PKG_CONFIG_DIR}/*math*.pc ; do + sed -i -e s:${STAGING_INCDIR}:'${libdir}':g $i + done +} + |