summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGilles Dartiguelongue <eva@gentoo.org>2008-06-02 20:25:45 +0000
committerGilles Dartiguelongue <eva@gentoo.org>2008-06-02 20:25:45 +0000
commit37c85c1f3f02aaf469deb9772c91b9266c04c431 (patch)
tree43cdb328a0a8fb793117d6ad01636b3ca3d6526e /x11-libs/gtkmathview
parentgpsd bump (diff)
downloadhistorical-37c85c1f3f02aaf469deb9772c91b9266c04c431.tar.gz
historical-37c85c1f3f02aaf469deb9772c91b9266c04c431.tar.bz2
historical-37c85c1f3f02aaf469deb9772c91b9266c04c431.zip
bump to 0.8.0. Add fixes for gcc 4.3, bug #215965, clean up style and logic.
Package-Manager: portage-2.1.5.2
Diffstat (limited to 'x11-libs/gtkmathview')
-rw-r--r--x11-libs/gtkmathview/ChangeLog11
-rw-r--r--x11-libs/gtkmathview/Manifest15
-rw-r--r--x11-libs/gtkmathview/files/gtkmathview-0.8.0-gcc43.patch45
-rw-r--r--x11-libs/gtkmathview/gtkmathview-0.8.0.ebuild59
4 files changed, 127 insertions, 3 deletions
diff --git a/x11-libs/gtkmathview/ChangeLog b/x11-libs/gtkmathview/ChangeLog
index 0485027c5310..2e6732680e2a 100644
--- a/x11-libs/gtkmathview/ChangeLog
+++ b/x11-libs/gtkmathview/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for x11-libs/gtkmathview
-# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-libs/gtkmathview/ChangeLog,v 1.22 2006/12/07 19:39:43 mr_bones_ Exp $
+# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/gtkmathview/ChangeLog,v 1.23 2008/06/02 20:25:45 eva Exp $
+
+*gtkmathview-0.8.0 (02 Jun 2008)
+
+ 02 Jun 2008; Gilles Dartiguelongue <eva@gentoo.org>
+ +files/gtkmathview-0.8.0-gcc43.patch, +gtkmathview-0.8.0.ebuild:
+ bump to 0.8.0. Add fixes for gcc 4.3, bug #215965, clean up style and
+ logic.
07 Dec 2006; Michael Sterrett <mr_bones_@gentoo.org>
-gtkmathview-0.5.1.ebuild, -gtkmathview-0.5.2.ebuild,
diff --git a/x11-libs/gtkmathview/Manifest b/x11-libs/gtkmathview/Manifest
index 4704374290cf..3d87a92f0e2d 100644
--- a/x11-libs/gtkmathview/Manifest
+++ b/x11-libs/gtkmathview/Manifest
@@ -1,4 +1,17 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+AUX gtkmathview-0.8.0-gcc43.patch 1545 RMD160 1aebc61f90ad8e849437a1ebdc522dbcf71b8dd6 SHA1 39be70f2f6eadc5e085465a58ec2e61bf7c71e39 SHA256 324899c98fe61b2bea59542dfa02381e8718cc18fc92f6b4b8841818f08bc903
DIST gtkmathview-0.7.6.tar.gz 953213 RMD160 16efce39168d84ae5145d8d607e6c413978e6e87 SHA1 3eef065f062e0eeee67bffabdb662ad28cff8351 SHA256 4b104ab94774ca429aa639a1a6f0adec1ca1443bfd444f2100c063e3cf70e6bb
+DIST gtkmathview-0.8.0.tar.gz 987328 RMD160 6ed60ee9253fd0fdd9bc595a9178ede5100e1644 SHA1 dc6db75a64b8dcde05185c3c54eec310dd7b14d6 SHA256 1dc30175da6a3c560a7d62d1abe1c2f9829d988e6f1a7c5e766544575c558c43
EBUILD gtkmathview-0.7.6.ebuild 1432 RMD160 68727b2b2c855897be6e068ec7e6bfb85977ac6a SHA1 bf699647f6e2a0a674a4d2c0be6119c750958595 SHA256 268afc42b0912fc81b2c8b50af09fb9b141db4718b914e7e7c9b4a51a2f14c8b
-MISC ChangeLog 2951 RMD160 93d18595192bc06c2c04933eec7d3c3cf00227f4 SHA1 25706e0c3922c6241f788f634b6c61bfc30e5d9a SHA256 7c3652cfde2becf21b834c42cc3233134fad0ca875292b8e39b20fc5b3c9d2bd
+EBUILD gtkmathview-0.8.0.ebuild 1528 RMD160 3a63751f361b13b1192b55b7632def88968dbe1e SHA1 681797cfd7fbcdbd1bd765ae51e84ab4225ca347 SHA256 71264cb9aad6b0528bb91b3b804a92c4ffd7f757f1f76f32adc0720be0986f8a
+MISC ChangeLog 3182 RMD160 ca5f5ecf055fe8a8d641354d21e89042795e67ca SHA1 6a1e2cebf36cf5560050753f005ad63031a1c3ec SHA256 c59731158db253071568223b6452b97f00539ca38ca40590ab7b8963197bc4d0
MISC metadata.xml 158 RMD160 c0e2bae8e91bb6be8922bac5e4f597302e06587e SHA1 38f78e9790bcd4382b4a49aa226aa6dda1d3a3d7 SHA256 3a7dbca0fdc557de69783e0663e2d76ddab129ea8a19b2d0ef6d3e5d1b947ce1
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.9 (GNU/Linux)
+
+iEYEARECAAYFAkhEV04ACgkQ1fmVwcYIWAb+CwCfcHeKVhPyafnSOEx4gH++Ia12
+ZFkAnRmLmCIwrRjOIJnQK3u5jB1qiH3L
+=OnbZ
+-----END PGP SIGNATURE-----
diff --git a/x11-libs/gtkmathview/files/gtkmathview-0.8.0-gcc43.patch b/x11-libs/gtkmathview/files/gtkmathview-0.8.0-gcc43.patch
new file mode 100644
index 000000000000..10313b4e8120
--- /dev/null
+++ b/x11-libs/gtkmathview/files/gtkmathview-0.8.0-gcc43.patch
@@ -0,0 +1,45 @@
+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 --git a/x11-libs/gtkmathview/gtkmathview-0.8.0.ebuild b/x11-libs/gtkmathview/gtkmathview-0.8.0.ebuild
new file mode 100644
index 000000000000..ffc0d9208e4c
--- /dev/null
+++ b/x11-libs/gtkmathview/gtkmathview-0.8.0.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/gtkmathview/gtkmathview-0.8.0.ebuild,v 1.1 2008/06/02 20:25:45 eva Exp $
+
+inherit eutils
+
+DESCRIPTION="Rendering engine for MathML documents"
+HOMEPAGE="http://helm.cs.unibo.it/mml-widget/"
+SRC_URI="http://helm.cs.unibo.it/mml-widget/sources/${P}.tar.gz"
+
+LICENSE="GPL-3"
+
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE="gtk svg t1lib"
+
+RDEPEND=">=dev-libs/glib-2.2.1
+ >=dev-libs/popt-1.7
+ >=dev-libs/libxml2-2.6.7
+ gtk? (
+ >=x11-libs/gtk+-2.2.1
+ >=media-libs/t1lib-5
+ >=dev-libs/gmetadom-0.1.8
+ x11-libs/pango
+ )
+ t1lib? ( >=media-libs/t1lib-5 )"
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ epatch "${FILESDIR}/${P}-gcc43.patch"
+}
+
+src_compile() {
+ # --disable-popt will build only the library and not the frontend
+ # TFM is needed for SVG, default value is 2
+ econf $(use_enable debug) \
+ $(use_enable gtk) $(use_enable gtk gmetadom) \
+ $(use_enable svg) \
+ $(use_with t1lib) \
+ --enable-popt \
+ --enable-libxml2 \
+ --enable-libxml2-reader \
+ --enable-ps \
+ --enable-tfm=2 \
+ --enable-builder-cache \
+ --enable-breaks \
+ --enable-boxml \
+ || die "configure failed"
+ emake || die "make failed"
+}
+
+src_install() {
+ emake install DESTDIR="${D}" || die "install failed"
+ dodoc ANNOUNCEMENT AUTHORS BUGS CONTRIBUTORS ChangeLog HISTORY NEWS TODO
+}