Gentoo Archives: gentoo-commits

From: "Azamat H. Hackimov" <winterheart@××××××.ru>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/gamerlay:master commit in: dev-libs/libbulletml/, dev-libs/libbulletml/files/
Date: Tue, 24 Dec 2019 18:58:10
Message-Id: 1577213856.15eb290681778649cf2b23562a4f2e0d960c1cbd.winterheart@gentoo
1 commit: 15eb290681778649cf2b23562a4f2e0d960c1cbd
2 Author: Azamat H. Hackimov <azamat.hackimov <AT> gmail <DOT> com>
3 AuthorDate: Tue Dec 24 18:40:22 2019 +0000
4 Commit: Azamat H. Hackimov <winterheart <AT> gentoo <DOT> ru>
5 CommitDate: Tue Dec 24 18:57:36 2019 +0000
6 URL: https://gitweb.gentoo.org/proj/gamerlay.git/commit/?id=15eb2906
7
8 dev-libs/libbulletml: in portage now
9
10 Signed-off-by: Azamat H. Hackimov <azamat.hackimov <AT> gmail.com>
11
12 .../files/libbulletml-0.0.6-gcc43.patch | 31 -------------
13 dev-libs/libbulletml/libbulletml-0.0.6-r1.ebuild | 52 ----------------------
14 dev-libs/libbulletml/metadata.xml | 4 --
15 3 files changed, 87 deletions(-)
16
17 diff --git a/dev-libs/libbulletml/files/libbulletml-0.0.6-gcc43.patch b/dev-libs/libbulletml/files/libbulletml-0.0.6-gcc43.patch
18 deleted file mode 100644
19 index e7e4a1d..0000000
20 --- a/dev-libs/libbulletml/files/libbulletml-0.0.6-gcc43.patch
21 +++ /dev/null
22 @@ -1,31 +0,0 @@
23 ---- a/src/calc.yy
24 -+++ b/src/calc.yy
25 -@@ -8,6 +8,7 @@
26 -
27 - #include <cmath>
28 - #include <cctype>
29 -+#include <cstring>
30 -
31 - #include <vector>
32 - #include <sstream>
33 ---- a/src/tinyxml/tinyxml.h
34 -+++ b/src/tinyxml/tinyxml.h
35 -@@ -28,6 +28,8 @@
36 - #include <string>
37 - #include <stdio.h>
38 - #include <assert.h>
39 -+#include <cstring>
40 -+#include <cstdlib>
41 -
42 - class TiXmlDocument;
43 - class TiXmlElement;
44 ---- a/src/tinyxml/tinyxmlparser.cpp
45 -+++ b/src/tinyxml/tinyxmlparser.cpp
46 -@@ -24,6 +24,7 @@
47 -
48 - #include "tinyxml.h"
49 - #include <ctype.h>
50 -+#include <cstring>
51 -
52 - const char* TiXmlBase::SkipWhiteSpace( const char* p )
53 - {
54
55 diff --git a/dev-libs/libbulletml/libbulletml-0.0.6-r1.ebuild b/dev-libs/libbulletml/libbulletml-0.0.6-r1.ebuild
56 deleted file mode 100644
57 index ee59874..0000000
58 --- a/dev-libs/libbulletml/libbulletml-0.0.6-r1.ebuild
59 +++ /dev/null
60 @@ -1,52 +0,0 @@
61 -# Copyright 1999-2017 Gentoo Foundation
62 -# Distributed under the terms of the GNU General Public License v2
63 -
64 -EAPI="6"
65 -
66 -inherit eutils
67 -
68 -DESCRIPTION="A Library of Bullet Markup Language"
69 -HOMEPAGE="http://user.ecc.u-tokyo.ac.jp/~s31552/wp/libbulletml/index_en.html"
70 -SRC_URI="
71 - mirror://debian/pool/main/b/${PN#lib}/${PN#lib}_${PV}.orig.tar.gz
72 - mirror://debian/pool/main/b/${PN#lib}/${PN#lib}_${PV}-6.1.debian.tar.bz2
73 -"
74 -
75 -LICENSE="BSD"
76 -SLOT="0"
77 -KEYWORDS="amd64 ppc x86"
78 -IUSE=""
79 -
80 -S="${WORKDIR}/${PN#lib}"
81 -
82 -PATCHES=(
83 - "${WORKDIR}/debian/patches"
84 - "${FILESDIR}/${P}-gcc43.patch"
85 -)
86 -
87 -src_prepare(){
88 - sed -i -e "s:\MAJOR=0d2:\MAJOR=0:g" -i "${WORKDIR}"/debian/patches/makefile.patch
89 - default
90 -}
91 -
92 -src_compile() {
93 - emake -C src CFLAGS="${CFLAGS} -fPIC" CXXFLAGS="${CXXFLAGS} -fPIC" LDFLAGS="${LDFLAGS} -fPIC" || die "emake failed"
94 -}
95 -
96 -src_install() {
97 - cd "${S}/src"
98 -
99 - dolib.a libbulletml.a
100 - dolib libbulletml.so*
101 -
102 - insinto /usr/include/bulletml
103 - doins *.h
104 -
105 - insinto /usr/include/bulletml/tinyxml
106 - doins tinyxml/tinyxml.h
107 -
108 - insinto /usr/include/bulletml/ygg
109 - doins ygg/ygg.h
110 -
111 - dodoc ../README*
112 -}
113
114 diff --git a/dev-libs/libbulletml/metadata.xml b/dev-libs/libbulletml/metadata.xml
115 deleted file mode 100644
116 index 097975e..0000000
117 --- a/dev-libs/libbulletml/metadata.xml
118 +++ /dev/null
119 @@ -1,4 +0,0 @@
120 -<?xml version="1.0" encoding="UTF-8"?>
121 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
122 -<pkgmetadata>
123 -</pkgmetadata>