summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-games/ode/files/digest-ode-0.5-r43
-rw-r--r--dev-games/ode/files/digest-ode-0.73
-rw-r--r--dev-games/ode/files/ode-0.5-PIC.patch19
-rw-r--r--dev-games/ode/files/ode-0.7-flags.patch35
-rw-r--r--dev-games/ode/files/ode-0.7-libdir.patch11
-rw-r--r--dev-games/ode/ode-0.5-r4.ebuild81
-rw-r--r--dev-games/ode/ode-0.7.ebuild82
7 files changed, 0 insertions, 234 deletions
diff --git a/dev-games/ode/files/digest-ode-0.5-r4 b/dev-games/ode/files/digest-ode-0.5-r4
deleted file mode 100644
index 52b6e1f206eb..000000000000
--- a/dev-games/ode/files/digest-ode-0.5-r4
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 b33b21e04ee9661f27802b6b6c8eefd2 ode-0.5.tgz 1710720
-RMD160 3410a842731c1bb24f306f4d23509533664321aa ode-0.5.tgz 1710720
-SHA256 5388c4cd4666f270f18216c90ab6526229c53fdc7e82f93ddb0824e69521df1c ode-0.5.tgz 1710720
diff --git a/dev-games/ode/files/digest-ode-0.7 b/dev-games/ode/files/digest-ode-0.7
deleted file mode 100644
index 20a52c5c195f..000000000000
--- a/dev-games/ode/files/digest-ode-0.7
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 b6727fef2cbb9ca812438bb774c9d6ec ode-src-0.7.zip 1903503
-RMD160 6215cc2b825321abdf3c9113a2711c6092590e06 ode-src-0.7.zip 1903503
-SHA256 e346097fc41174038a4373d4e6295b04c7dcfaf10489f4c385bd2c0878fbc878 ode-src-0.7.zip 1903503
diff --git a/dev-games/ode/files/ode-0.5-PIC.patch b/dev-games/ode/files/ode-0.5-PIC.patch
deleted file mode 100644
index 01c2fcbeb8e4..000000000000
--- a/dev-games/ode/files/ode-0.5-PIC.patch
+++ /dev/null
@@ -1,19 +0,0 @@
-Make sure we don't clobber %ebx (important with PIC).
-
-http://bugs.gentoo.org/77079
-
---- ode-0.5/ode/src/timer.cpp
-+++ ode-0.5/ode/src/timer.cpp
-@@ -117,9 +117,11 @@ static inline void getClockCount (unsign
- static inline void serialize()
- {
- asm volatile (
-+ "mov %%ebx,%%edi\n"
- "mov $0,%%eax\n"
- "cpuid\n"
-+ "mov %%edi,%%ebx\n"
-- : : : "%eax","%ebx","%ecx","%edx","cc","memory");
-+ : : : "%eax","%edi","%ecx","%edx","cc","memory");
- }
-
-
diff --git a/dev-games/ode/files/ode-0.7-flags.patch b/dev-games/ode/files/ode-0.7-flags.patch
deleted file mode 100644
index 32353d8b8293..000000000000
--- a/dev-games/ode/files/ode-0.7-flags.patch
+++ /dev/null
@@ -1,35 +0,0 @@
---- configure.in.old 2006-10-16 23:44:52.000000000 +0200
-+++ configure.in 2006-10-16 23:46:20.000000000 +0200
-@@ -271,9 +271,6 @@
- release=$enableval,release=no)
- if test "x$release" == xyes
- then
-- CFLAGS="-fomit-frame-pointer -ffast-math"
-- CPPFLAGS="-fomit-frame-pointer -ffast-math"
-- CXXFLAGS="-fomit-frame-pointer -ffast-math"
- AC_DEFINE(dNODEBUG,,[Disable debug output])
- fi
- AC_MSG_RESULT($release)
-@@ -282,12 +279,6 @@
- AC_ARG_ENABLE(debug,AC_HELP_STRING([--enable-debug],
- [build a debug library with -g]),
- debug=$enableval,debug=no)
--if test "x$debug" == xyes
--then
-- CFLAGS="-g"
-- CPPFLAGS="-g"
-- CXXFLAGS="-g"
--fi
- AC_MSG_RESULT($debug)
-
-
-@@ -403,9 +394,6 @@
- gprof=$enableval,gprof=no)
- if test "$gprof" != no
- then
-- CFLAGS="-pg $CFLAGS"
-- CPPFLAGS="-pg $CPPFLAGS"
-- CXXFLAGS="-pg $CXXFLAGS"
- AC_CHECK_LIB(gmon, main,[LIBS="$LIBS -lgmon"])
- AC_MSG_RESULT(enabled)
- else
diff --git a/dev-games/ode/files/ode-0.7-libdir.patch b/dev-games/ode/files/ode-0.7-libdir.patch
deleted file mode 100644
index c05f6918c899..000000000000
--- a/dev-games/ode/files/ode-0.7-libdir.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- ode/src/Makefile.am.orig 2007-02-03 20:09:21.000000000 +0100
-+++ ode/src/Makefile.am 2007-02-03 20:09:31.000000000 +0100
-@@ -11,7 +11,7 @@
- # Fake an executable in order to get a shared library
- # Note the elegant and cunning way to trick Autotools to install a program
- # in a lib directory. --Rodrigo
--traplibdir=$(prefix)/lib
-+traplibdir=$(prefix)/$(libdir)
- EXEEXT=@so_ext@
- traplib_PROGRAMS=libode
- libode_SOURCES=
diff --git a/dev-games/ode/ode-0.5-r4.ebuild b/dev-games/ode/ode-0.5-r4.ebuild
deleted file mode 100644
index 972cdba3bfb1..000000000000
--- a/dev-games/ode/ode-0.5-r4.ebuild
+++ /dev/null
@@ -1,81 +0,0 @@
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-games/ode/ode-0.5-r4.ebuild,v 1.5 2006/07/13 02:27:13 agriffis Exp $
-
-inherit eutils
-
-DESCRIPTION="Open Dynamics Engine SDK"
-HOMEPAGE="http://ode.org/"
-SRC_URI="mirror://sourceforge/opende/${P}.tgz"
-
-LICENSE="LGPL-2.1"
-SLOT="0"
-KEYWORDS="amd64 ia64 ppc ~sparc x86"
-IUSE="doc debug double-precision"
-
-RDEPEND="virtual/opengl
- || (
- (
- x11-libs/libX11
- virtual/glut )
- virtual/x11 )
- virtual/glu"
-
-DEPEND="${RDEPEND}
- || (
- x11-proto/xproto
- virtual/x11 )"
-
-config_use() {
- use $1 && echo $2 || echo $3
-}
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
- echo 'C_FLAGS+=$(E_CFLAGS) -fPIC' >> config/makefile.unix-gcc
- epatch "${FILESDIR}"/${P}-PIC.patch
- sed -i -e "s/..\/..\/drawstuff\/textures/\/usr\/share\/${PF}\/examples/" ode/test/*.c*
- sed -i -e "s/fn.path_to_textures = 0/fn.path_to_textures = \"\/usr\/share\/${PF}\/examples\"/" drawstuff/dstest/dstest.cpp
- sed -i \
- -e "s/#OPCODE_DIRECTORY/OPCODE_DIRECTORY/" \
- -e "/^BUILD=/s:=.*:=$(config_use debug debug release):" \
- -e "/^PRECISION=/s:=.*:=$(config_use double-precision DOUBLE SINGLE):" \
- config/user-settings
- sed -i -e "s/inline_[\t]*void[\t*]ResetCountDown/void ResetCountDown/" OPCODE/OPC_TreeCollider.h
-}
-
-src_compile() {
- emake \
- -j1 \
- E_CFLAGS="${CFLAGS}" \
- PLATFORM=unix-gcc \
- || die "emake failed"
-}
-
-src_install() {
- insinto /usr/include/ode
- doins include/ode/*.h || die "doins failed"
- insinto /usr/include/drawstuff
- doins include/drawstuff/*.h || die "doins failed"
- dolib lib/libode.a lib/libdrawstuff.a || die "dolib failed"
- dodir /usr/share/${P}/config
- insinto /usr/share/${P}/config
- doins config/user-settings
- if use doc; then
- dodoc README CHANGELOG ode/doc/ode.pdf
- dohtml ode/doc/ode.html
- dodir /usr/share/doc/${PF}/html/pix/
- insinto /usr/share/doc/${PF}/html/pix/
- doins ode/doc/pix/*.jpg
- # install examples
- dodir /usr/share/${PF}/examples
- exeinto /usr/share/${PF}/examples
- doexe ode/test/*.exe
- doexe drawstuff/dstest/dstest.exe
- insinto /usr/share/${PF}/examples
- doins ode/test/*.c ode/test/*.cpp
- doins drawstuff/textures/*.ppm
- doins drawstuff/dstest/dstest.cpp
- fi
-}
diff --git a/dev-games/ode/ode-0.7.ebuild b/dev-games/ode/ode-0.7.ebuild
deleted file mode 100644
index 8c8c9d5f4dad..000000000000
--- a/dev-games/ode/ode-0.7.ebuild
+++ /dev/null
@@ -1,82 +0,0 @@
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-games/ode/ode-0.7.ebuild,v 1.3 2007/02/03 19:17:34 blubb Exp $
-
-WANT_AUTOCONF=latest
-WANT_AUTOMAKE=latest
-inherit eutils autotools
-
-DESCRIPTION="Open Dynamics Engine SDK"
-HOMEPAGE="http://ode.org/"
-SRC_URI="mirror://sourceforge/opende/${PN}-src-${PV}.zip"
-
-LICENSE="LGPL-2.1"
-SLOT="0"
-KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
-IUSE="double-precision examples nogyroscopic noopcode"
-
-RDEPEND="examples? (
- virtual/opengl
- virtual/glu
- x11-libs/libXmu
- x11-libs/libXi
- )"
-DEPEND="app-arch/unzip
- virtual/opengl
- virtual/glu
- x11-libs/libXmu
- x11-libs/libXi"
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
-
- epatch "${FILESDIR}"/${P}-flags.patch
- epatch "${FILESDIR}"/${P}-libdir.patch
- eautoreconf
-
- sed -i -e "s/..\/..\/drawstuff\/textures/\/usr\/share\/${PF}\/examples/" ode/test/*.c*
- sed -i -e "s/fn.path_to_textures = 0/fn.path_to_textures = \"\/usr\/share\/${PF}\/examples\"/" drawstuff/dstest/dstest.cpp
- sed -i -e "s/inline_[\t]*void[\t*]ResetCountDown/void ResetCountDown/" OPCODE/OPC_TreeCollider.h
-}
-
-src_compile() {
- econf \
- $(use_enable double-precision) \
- $(use_enable !noopcode opcode) \
- $(use_enable !nogyroscopic gyroscopic) \
- --enable-release \
- || die
-
- emake || die "ODE compile failed"
-}
-
-src_install() {
- emake DESTDIR="${D}" install || die "Install failed!"
- dodoc CHANGELOG.txt README.txt
- # Install API docs
- dohtml docs/*
-
- if use examples; then
- # install examples
- dodir /usr/share/${PF}/examples
- exeinto /usr/share/${PF}/examples
- cd ode/test
- doexe test_basket test_boxstack test_buggy test_chain1 test_chain2 \
- test_collision test_crash test_cyl test_cylvssphere test_friction \
- test_hinge test_I test_joints test_motor test_moving_trimesh \
- test_ode test_slider test_space test_space_stress test_step \
- test_trimesh
- cd ../..
- doexe drawstuff/dstest/dstest
- insinto /usr/share/${PF}/examples
- doins ode/test/*.{c,cpp,h}
- doins drawstuff/textures/*.ppm
- doins drawstuff/dstest/dstest.cpp
- doins drawstuff/src/{drawstuff.cpp,internal.h,x11.cpp}
- fi
-}
-
-src_test() {
- ! LD_LIBRARY_PATH=ode/src ode/test/test_ode | grep -qi fail || die "test failed"
-}