From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 24DCB139694 for ; Sun, 16 Jul 2017 07:10:54 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5F8DBE0E3C; Sun, 16 Jul 2017 07:10:53 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 3230AE0E3C for ; Sun, 16 Jul 2017 07:10:52 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 5C7DE341A3B for ; Sun, 16 Jul 2017 07:10:51 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 035F674B4 for ; Sun, 16 Jul 2017 07:10:50 +0000 (UTC) From: "Vadim A. Misbakh-Soloviov" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Vadim A. Misbakh-Soloviov" Message-ID: <1500189040.ebc57d6b5a36fc573dc9fc6cd864d8d46a267dac.mva@gentoo> Subject: [gentoo-commits] proj/gamerlay:master commit in: dev-libs/libbulletml/files/, dev-libs/libbulletml/ X-VCS-Repository: proj/gamerlay X-VCS-Files: dev-libs/libbulletml/files/libbulletml-0.0.6-gcc43.patch dev-libs/libbulletml/libbulletml-0.0.6-r1.ebuild X-VCS-Directories: dev-libs/libbulletml/ dev-libs/libbulletml/files/ X-VCS-Committer: mva X-VCS-Committer-Name: Vadim A. Misbakh-Soloviov X-VCS-Revision: ebc57d6b5a36fc573dc9fc6cd864d8d46a267dac X-VCS-Branch: master Date: Sun, 16 Jul 2017 07:10:50 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 7b9d5bd7-f7d4-4805-96e4-a99df30f01d4 X-Archives-Hash: ce162a62bf483b83d1de26d28b0663c1 commit: ebc57d6b5a36fc573dc9fc6cd864d8d46a267dac Author: Vadim A. Misbakh-Soloviov mva name> AuthorDate: Sun Jul 16 07:10:40 2017 +0000 Commit: Vadim A. Misbakh-Soloviov mva name> CommitDate: Sun Jul 16 07:10:40 2017 +0000 URL: https://gitweb.gentoo.org/proj/gamerlay.git/commit/?id=ebc57d6b libbulletml: bump to EAPI6 + fixes (BZ#623814) .../files/libbulletml-0.0.6-gcc43.patch | 12 +++--- dev-libs/libbulletml/libbulletml-0.0.6-r1.ebuild | 49 ++++++++++------------ 2 files changed, 28 insertions(+), 33 deletions(-) diff --git a/dev-libs/libbulletml/files/libbulletml-0.0.6-gcc43.patch b/dev-libs/libbulletml/files/libbulletml-0.0.6-gcc43.patch index f7e9bfb..e7e4a1d 100644 --- a/dev-libs/libbulletml/files/libbulletml-0.0.6-gcc43.patch +++ b/dev-libs/libbulletml/files/libbulletml-0.0.6-gcc43.patch @@ -1,5 +1,5 @@ ---- src/calc.yy -+++ src/calc.yy +--- a/src/calc.yy ++++ b/src/calc.yy @@ -8,6 +8,7 @@ #include @@ -8,8 +8,8 @@ #include #include ---- src/tinyxml/tinyxml.h -+++ src/tinyxml/tinyxml.h +--- a/src/tinyxml/tinyxml.h ++++ b/src/tinyxml/tinyxml.h @@ -28,6 +28,8 @@ #include #include @@ -19,8 +19,8 @@ class TiXmlDocument; class TiXmlElement; ---- src/tinyxml/tinyxmlparser.cpp -+++ src/tinyxml/tinyxmlparser.cpp +--- a/src/tinyxml/tinyxmlparser.cpp ++++ b/src/tinyxml/tinyxmlparser.cpp @@ -24,6 +24,7 @@ #include "tinyxml.h" diff --git a/dev-libs/libbulletml/libbulletml-0.0.6-r1.ebuild b/dev-libs/libbulletml/libbulletml-0.0.6-r1.ebuild index 5b478c9..ee59874 100644 --- a/dev-libs/libbulletml/libbulletml-0.0.6-r1.ebuild +++ b/dev-libs/libbulletml/libbulletml-0.0.6-r1.ebuild @@ -1,57 +1,52 @@ -# Copyright 1999-2009 Gentoo Foundation +# Copyright 1999-2017 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" +EAPI="6" 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" +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}-6.1.debian.tar.bz2 +" LICENSE="BSD" SLOT="0" KEYWORDS="amd64 ppc x86" IUSE="" -S="${WORKDIR}/${PN#lib}-${PV}/src" +S="${WORKDIR}/${PN#lib}" + +PATCHES=( + "${WORKDIR}/debian/patches" + "${FILESDIR}/${P}-gcc43.patch" +) -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 + sed -i -e "s:\MAJOR=0d2:\MAJOR=0:g" -i "${WORKDIR}"/debian/patches/makefile.patch + default } src_compile() { - emake CFLAGS="${CFLAGS}" CXXFLAGS="${CXXFLAGS}" || die "emake failed" + emake -C src CFLAGS="${CFLAGS} -fPIC" CXXFLAGS="${CXXFLAGS} -fPIC" LDFLAGS="${LDFLAGS} -fPIC" || 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" + cd "${S}/src" + + dolib.a libbulletml.a + dolib libbulletml.so* insinto /usr/include/bulletml - doins *.h || die "doins .h failed" + doins *.h insinto /usr/include/bulletml/tinyxml - doins tinyxml/tinyxml.h || die "doins tinyxml.h failed" + doins tinyxml/tinyxml.h insinto /usr/include/bulletml/ygg - doins ygg/ygg.h || die "doins ygg.h failed" + doins ygg/ygg.h dodoc ../README* }