summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcel Unbehaun <frostworks@gmx.de>2009-08-28 12:19:23 +0200
committerMarcel Unbehaun <frostworks@gmx.de>2009-08-28 12:19:23 +0200
commitb8c657bfda39f4fcd6f778f21c3e87b6b19bf5f6 (patch)
treecd76c37b38b840a7ca5af192a2ca982f53f35a9b /dev-libs
parent(games-action/exception_conflict) updated /files/gcc-4.3-fixes-1.09.patch (diff)
downloadgamerlay-b8c657bfda39f4fcd6f778f21c3e87b6b19bf5f6.tar.gz
gamerlay-b8c657bfda39f4fcd6f778f21c3e87b6b19bf5f6.tar.bz2
gamerlay-b8c657bfda39f4fcd6f778f21c3e87b6b19bf5f6.zip
(dev-libs/libbulletml) version bump and enhancement libbulletml-0.0.6-r1.ebuild
(dev-libs/libbulletml) updated ChangeLog (dev-libs/libbulletml) new Manifest (dev-libs/libbulletml) old files/libbulletml-0.0.6-gcc43.patch (dev-libs/libbulletml) newmetadata.xml
Diffstat (limited to 'dev-libs')
-rw-r--r--dev-libs/libbulletml/ChangeLog36
-rw-r--r--dev-libs/libbulletml/Manifest6
-rw-r--r--dev-libs/libbulletml/files/libbulletml-0.0.6-gcc43.patch31
-rw-r--r--dev-libs/libbulletml/libbulletml-0.0.6-r1.ebuild57
-rw-r--r--dev-libs/libbulletml/metadata.xml5
5 files changed, 135 insertions, 0 deletions
diff --git a/dev-libs/libbulletml/ChangeLog b/dev-libs/libbulletml/ChangeLog
new file mode 100644
index 0000000..6961756
--- /dev/null
+++ b/dev-libs/libbulletml/ChangeLog
@@ -0,0 +1,36 @@
+# ChangeLog for dev-libs/libbulletml
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libbulletml/libbulletml-0.0.6-r1.ebuild,v 1.6 2009/08/27 15:47:32 frostwork Exp $
+
+ 27 Aug 2009; Marcel Unbehaun <frostworks@gmx.de>
+ +tons of fixes from debian
+ time was up for an update
+
+ 30 Apr 2008; Tristan Heaven <nyhm@gentoo.org>
+ +files/libbulletml-0.0.6-gcc43.patch, libbulletml-0.0.6.ebuild:
+ Fix building with gcc-4.3
+
+ 09 Feb 2007; Diego Pettenò <flameeyes@gentoo.org> ChangeLog:
+ Regenerate digest in Manifest2 format.
+
+ 09 Feb 2007; Diego Pettenò <flameeyes@gentoo.org> ChangeLog:
+ Regenerate digest in Manifest2 format.
+
+ 11 Aug 2005; Carlos Silva <r3pek@gentoo.org> libbulletml-0.0.6.ebuild:
+ marked stable on amd64. closes bug #102057
+
+ 17 Jun 2005; Tom Martin <slarti@gentoo.org> libbulletml-0.0.6.ebuild:
+ Marked ~amd64.
+
+ 09 Nov 2004; Joseph Jezak <josejx@gentoo.org> libbulletml-0.0.6.ebuild:
+ Marked ppc stable.
+
+ 17 Oct 2004; David Holm <dholm@gentoo.org> libbulletml-0.0.6.ebuild:
+ Added to ~ppc.
+
+*libbulletml-0.0.6 (26 Sep 2004)
+
+ 26 Sep 2004; Michael Sterrett <mr_bones_@gentoo.org> +metadata.xml,
+ +libbulletml-0.0.6.ebuild:
+ initial commit - ebuild submitted by Atzm Watanabe via bug #45038
+
diff --git a/dev-libs/libbulletml/Manifest b/dev-libs/libbulletml/Manifest
new file mode 100644
index 0000000..2a1f0c9
--- /dev/null
+++ b/dev-libs/libbulletml/Manifest
@@ -0,0 +1,6 @@
+AUX libbulletml-0.0.6-gcc43.patch 589 RMD160 2156ca25e5dbde78d62291bc5ae0182cf745f4c2 SHA1 2202e8c4ca0d440c1159c1696d99b2222c3255c3 SHA256 86e34792a212498cd2ffa86abe8ce595479a904f434d60ba4df924c51bc9455b
+DIST bulletml_0.0.6-4.diff.gz 17522 RMD160 5c0804777687f37ece8551ac95a59dbff0275cb7 SHA1 504d5fd807bf18ea9dbcf778a451f2b397dec132 SHA256 6751732806c172d8d757fd72c4bf791700dca2b73e59d8bdbac5aed7b4512a01
+DIST bulletml_0.0.6.orig.tar.gz 85748 RMD160 224e44845736161f50fd64bbaa81f819db8050c4 SHA1 ae6f99c2f07f8050f72aaaa7714f5d0604aadd8e SHA256 162544e708cd8f61c944f7eac2a0403d2900d29fa9b1dc45235cfccfac8ae960
+EBUILD libbulletml-0.0.6-r1.ebuild 1895 RMD160 025a65f4017fcc6f521e9d97e190cd6fcf79e500 SHA1 9eecd8d6fe571044988016334635e0c60a20eb0d SHA256 df9c8eb3afa73b9b3ca012dcfbb9670aa360ded8eae82c9659d94aa75bff07e5
+MISC ChangeLog 1294 RMD160 fbad4191572719baa07311e64b63125405d54e4d SHA1 63361b192cc5e82b6975903a7fee864175b9ff01 SHA256 0ead73f607a2ee37f28125841e6710ab72c6d3f5466d6b847f99b62d0e03cb5d
+MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3
diff --git a/dev-libs/libbulletml/files/libbulletml-0.0.6-gcc43.patch b/dev-libs/libbulletml/files/libbulletml-0.0.6-gcc43.patch
new file mode 100644
index 0000000..f7e9bfb
--- /dev/null
+++ b/dev-libs/libbulletml/files/libbulletml-0.0.6-gcc43.patch
@@ -0,0 +1,31 @@
+--- src/calc.yy
++++ src/calc.yy
+@@ -8,6 +8,7 @@
+
+ #include <cmath>
+ #include <cctype>
++#include <cstring>
+
+ #include <vector>
+ #include <sstream>
+--- src/tinyxml/tinyxml.h
++++ src/tinyxml/tinyxml.h
+@@ -28,6 +28,8 @@
+ #include <string>
+ #include <stdio.h>
+ #include <assert.h>
++#include <cstring>
++#include <cstdlib>
+
+ class TiXmlDocument;
+ class TiXmlElement;
+--- src/tinyxml/tinyxmlparser.cpp
++++ src/tinyxml/tinyxmlparser.cpp
+@@ -24,6 +24,7 @@
+
+ #include "tinyxml.h"
+ #include <ctype.h>
++#include <cstring>
+
+ const char* TiXmlBase::SkipWhiteSpace( const char* p )
+ {
diff --git a/dev-libs/libbulletml/libbulletml-0.0.6-r1.ebuild b/dev-libs/libbulletml/libbulletml-0.0.6-r1.ebuild
new file mode 100644
index 0000000..5b478c9
--- /dev/null
+++ b/dev-libs/libbulletml/libbulletml-0.0.6-r1.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libbulletml/libbulletml-0.0.6-r1.ebuild,v 1.6 2009/08/27 15:47:32 frostwork Exp $
+
+EAPI="2"
+
+inherit eutils
+
+DESCRIPTION="A Library of Bullet Markup Language"
+HOMEPAGE="http://user.ecc.u-tokyo.ac.jp/~s31552/wp/libbulletml/index_en.html"
+SRC_URI="mirror://debian/pool/main/b/${PN#lib}/${PN#lib}_${PV}.orig.tar.gz
+ mirror://debian/pool/main/b/${PN#lib}/${PN#lib}_${PV}-4.diff.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="amd64 ppc x86"
+IUSE=""
+
+S="${WORKDIR}/${PN#lib}-${PV}/src"
+
+src_unpack() {
+ unpack ${A}
+}
+src_prepare(){
+ epatch "${WORKDIR}"/${PN#lib}_${PV}-4.diff
+ mv "${WORKDIR}"/${PN#lib}/* "${WORKDIR}"/${PN#lib}-${PV}
+ sed -i -e "s:\MAJOR=0d2:\MAJOR=0:g" -i "${WORKDIR}"/${PN#lib}-${PV}/debian/patches/makefile.patch
+ epatch "${WORKDIR}"/${PN#lib}-${PV}/debian/patches/fixes.patch
+ epatch "${WORKDIR}"/${PN#lib}-${PV}/debian/patches/bulletml_d.patch
+ epatch "${WORKDIR}"/${PN#lib}-${PV}/debian/patches/d_cpp.patch
+ epatch "${WORKDIR}"/${PN#lib}-${PV}/debian/patches/warnings.patch
+ epatch "${WORKDIR}"/${PN#lib}-${PV}/debian/patches/makefile.patch
+ epatch "${WORKDIR}"/${PN#lib}-${PV}/debian/patches/includes.patch
+ cd "${S}"
+ epatch "${WORKDIR}"/${PN#lib}-${PV}/debian/patches/get-rid-of-boost.patch
+ epatch "${FILESDIR}"/${P}-gcc43.patch
+}
+
+src_compile() {
+ emake CFLAGS="${CFLAGS}" CXXFLAGS="${CXXFLAGS}" || die "emake failed"
+}
+
+src_install() {
+ dolib.a libbulletml.a || die "dolib.a failed"
+ dolib libbulletml.so.0.0 libbulletml.so libbulletml.so.0 || die "dolib failed"
+
+ insinto /usr/include/bulletml
+ doins *.h || die "doins .h failed"
+
+ insinto /usr/include/bulletml/tinyxml
+ doins tinyxml/tinyxml.h || die "doins tinyxml.h failed"
+
+ insinto /usr/include/bulletml/ygg
+ doins ygg/ygg.h || die "doins ygg.h failed"
+
+ dodoc ../README*
+}
diff --git a/dev-libs/libbulletml/metadata.xml b/dev-libs/libbulletml/metadata.xml
new file mode 100644
index 0000000..d3c2cc9
--- /dev/null
+++ b/dev-libs/libbulletml/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>games</herd>
+</pkgmetadata>