[oe-commits] org.oe.dev gtkmathview: add 0.8.0

koen commit oe at amethyst.openembedded.net
Sun Jul 13 16:41:03 UTC 2008


gtkmathview: add 0.8.0

Author: koen at openembedded.org
Branch: org.openembedded.dev
Revision: b639cdcd3a5ec92891fd473c2d394b25a71fd952
ViewMTN: http://monotone.openembedded.org/revision/info/b639cdcd3a5ec92891fd473c2d394b25a71fd952
Files:
1
packages/mml-widget/files
packages/mml-widget/files/mathview-gcc43x.diff
packages/mml-widget/gtkmathview_0.8.0.bb
packages/mml-widget/gtkmathview_0.7.6.bb
Diffs:

#
# mt diff -r99db34ffcae026c5623d18f21db2058167763959 -rb639cdcd3a5ec92891fd473c2d394b25a71fd952
#
#
#
# add_dir "packages/mml-widget/files"
# 
# add_file "packages/mml-widget/files/mathview-gcc43x.diff"
#  content [606a7ab8b8033a24ef72e432cb8604978a4538aa]
# 
# add_file "packages/mml-widget/gtkmathview_0.8.0.bb"
#  content [6722b48e3fb9faefeef745d321ccd2fb22122a38]
# 
# patch "packages/mml-widget/gtkmathview_0.7.6.bb"
#  from [5ff90d604ced3e24dba96dc592a79f9c2a5ad971]
#    to [2daa6a30825798dbe1bbb6118251caf2b9af965a]
#
============================================================
--- packages/mml-widget/files/mathview-gcc43x.diff	606a7ab8b8033a24ef72e432cb8604978a4538aa
+++ packages/mml-widget/files/mathview-gcc43x.diff	606a7ab8b8033a24ef72e432cb8604978a4538aa
@@ -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!
============================================================
--- packages/mml-widget/gtkmathview_0.8.0.bb	6722b48e3fb9faefeef745d321ccd2fb22122a38
+++ packages/mml-widget/gtkmathview_0.8.0.bb	6722b48e3fb9faefeef745d321ccd2fb22122a38
@@ -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	
+}
+
============================================================
--- packages/mml-widget/gtkmathview_0.7.6.bb	5ff90d604ced3e24dba96dc592a79f9c2a5ad971
+++ packages/mml-widget/gtkmathview_0.7.6.bb	2daa6a30825798dbe1bbb6118251caf2b9af965a
@@ -9,10 +9,10 @@ do_configure() {
 EXTRA_OECONF = "--disable-binreloc"
 
 do_configure() {
-oe_runconf
+	oe_runconf
 }
 
 do_stage() {
-autotools_stage_all
+	autotools_stage_all
 }
 






More information about the Openembedded-commits mailing list