Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=5c905afffaee194f3a590e2cf5ab170ba13156f5
commit 5c905afffaee194f3a590e2cf5ab170ba13156f5 Author: bouleetbil <[EMAIL PROTECTED]> Date: Mon Jun 9 22:01:28 2008 +0200 gtkmathview-0.8.0-1-i686 *new package diff --git a/source/xlib-extra/gtkmathview/FrugalBuild b/source/xlib-extra/gtkmathview/FrugalBuild new file mode 100644 index 0000000..4350f35 --- /dev/null +++ b/source/xlib-extra/gtkmathview/FrugalBuild @@ -0,0 +1,26 @@ +# Compiling Time: 2.42 SBU +# Maintainer: bouleetbil <[EMAIL PROTECTED]> + +pkgname=gtkmathview +pkgver=0.8.0 +pkgrel=1 +pkgdesc="Rendering engine for MathML documents" +depends=('popt' 'libxml2' 'gtk+2' 't1lib' 'pango') +groups=('xlib-extra') +archs=('i686') +url="http://helm.cs.unibo.it/mml-widget/" +up2date="lynx -dump $url/sources/ | Flasttar" +source=($url/sources/$pkgname-$pkgver.tar.gz gcc43.patch) +Fconfopts="[EMAIL PROTECTED] --enable-svg + --enable-popt \ + --enable-libxml2 \ + --enable-libxml2-reader \ + --enable-ps \ + --enable-tfm=2 \ + --enable-builder-cache \ + --enable-breaks \ + --enable-boxml" +sha1sums=('dc6db75a64b8dcde05185c3c54eec310dd7b14d6' \ + '6818e6d50d6bb739e0bcb9c89c879aebb730bee5') + +# optimization OK diff --git a/source/xlib-extra/gtkmathview/gcc43.patch b/source/xlib-extra/gtkmathview/gcc43.patch new file mode 100644 index 0000000..5edfa92 --- /dev/null +++ b/source/xlib-extra/gtkmathview/gcc43.patch @@ -0,0 +1,56 @@ +diff -urN gtkmathview-0.8.0-orig/mathmlps/main.cc gtkmathview-0.8.0/mathmlps/main.cc +--- gtkmathview-0.8.0-orig/mathmlps/main.cc 2008-04-03 22:43:06.000000000 +0400 ++++ gtkmathview-0.8.0/mathmlps/main.cc 2008-04-03 23:53:16.000000000 +0400 +@@ -20,6 +20,7 @@ + + #include <cassert> + #include <fstream> ++#include <cstring> + + #include <popt.h> + +diff -urN gtkmathview-0.8.0-orig/mathmlsvg/main.cc gtkmathview-0.8.0/mathmlsvg/main.cc +--- gtkmathview-0.8.0-orig/mathmlsvg/main.cc 2008-04-03 22:43:05.000000000 +0400 ++++ gtkmathview-0.8.0/mathmlsvg/main.cc 2008-04-03 23:43:31.000000000 +0400 +@@ -20,6 +20,7 @@ + + #include <cassert> + #include <fstream> ++#include <cstring> + + #include <popt.h> + +diff -urN gtkmathview-0.8.0-orig/mathmlsvg/SMS.cc gtkmathview-0.8.0/mathmlsvg/SMS.cc +--- gtkmathview-0.8.0-orig/mathmlsvg/SMS.cc 2008-04-03 22:43:05.000000000 +0400 ++++ gtkmathview-0.8.0/mathmlsvg/SMS.cc 2008-04-03 23:25:12.000000000 +0400 +@@ -19,6 +19,7 @@ + #include <config.h> + + #include <sstream> ++#include <cstring> + #include "defs.h" + #include "AbstractLogger.hh" + #include "ValueConversion.hh" +diff -urN gtkmathview-0.8.0-orig/src/engine/mathml/mathVariantAux.cc gtkmathview-0.8.0/src/engine/mathml/mathVariantAux.cc +--- gtkmathview-0.8.0-orig/src/engine/mathml/mathVariantAux.cc 2008-04-03 22:43:05.000000000 +0400 ++++ gtkmathview-0.8.0/src/engine/mathml/mathVariantAux.cc 2008-04-03 23:10:05.000000000 +0400 +@@ -20,6 +20,8 @@ + + #include <cassert> + ++#include <cstring> ++ + #include "mathVariantAux.hh" + + static MathVariantAttributes vattr[] = { +diff -urN gtkmathview-0.8.0-orig/src/backend/ps/T1_FontDataBase.cc gtkmathview-0.8.0/src/backend/ps/T1_FontDataBase.cc +--- gtkmathview-0.8.0-orig/src/backend/ps/T1_FontDataBase.cc 2007-08-17 12:02:40.000000000 +0200 ++++ gtkmathview-0.8.0/src/backend/ps/T1_FontDataBase.cc 2008-06-07 12:26:01.000000000 +0200 +@@ -23,6 +23,7 @@ + #include <stdlib.h> + #include <iostream> + #include <list> ++#include <cstring> + + #include "String.hh" + #include "T1_FontDataBase.hh" _______________________________________________ Frugalware-git mailing list Frugalware-git@frugalware.org http://frugalware.org/mailman/listinfo/frugalware-git