From eb22a6545f4f6a818c5430550a54bf4e0985933d Mon Sep 17 00:00:00 2001 From: Chris Bainbridge Date: Mon, 12 Feb 2007 19:42:33 +0000 Subject: [PATCH] Version bump for ode and pyode. Package-Manager: portage-2.1.1-r2 --- dev-games/ode/ChangeLog | 8 ++- dev-games/ode/Manifest | 24 +++++-- dev-games/ode/files/digest-ode-0.8 | 3 + dev-games/ode/files/ode-0.8-flags.patch | 35 ++++++++++ dev-games/ode/files/ode-0.8-libdir.patch | 11 ++++ dev-games/ode/ode-0.8.ebuild | 81 ++++++++++++++++++++++++ 6 files changed, 157 insertions(+), 5 deletions(-) create mode 100644 dev-games/ode/files/digest-ode-0.8 create mode 100644 dev-games/ode/files/ode-0.8-flags.patch create mode 100644 dev-games/ode/files/ode-0.8-libdir.patch create mode 100644 dev-games/ode/ode-0.8.ebuild diff --git a/dev-games/ode/ChangeLog b/dev-games/ode/ChangeLog index e4e7d28f57fb..0b05c5b26053 100644 --- a/dev-games/ode/ChangeLog +++ b/dev-games/ode/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-games/ode # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-games/ode/ChangeLog,v 1.36 2007/02/03 19:17:34 blubb Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-games/ode/ChangeLog,v 1.37 2007/02/12 19:42:33 chrb Exp $ + +*ode-0.8 (12 Feb 2007) + + 12 Feb 2007; Chris Bainbridge + +files/ode-0.8-flags.patch, +files/ode-0.8-libdir.patch, +ode-0.8.ebuild: + Version bump for ode and pyode. 03 Feb 2007; Simon Stelling +files/ode-0.7-libdir.patch, ode-0.7.ebuild: diff --git a/dev-games/ode/Manifest b/dev-games/ode/Manifest index c91cf32f0f24..f3751dc288c9 100644 --- a/dev-games/ode/Manifest +++ b/dev-games/ode/Manifest @@ -14,9 +14,18 @@ AUX ode-0.7-libdir.patch 427 RMD160 1eed14ed0db3204c52e5fde68fb043e2debdf5e3 SHA MD5 433cdcf81b1d1be4f12c764d3c2759bb files/ode-0.7-libdir.patch 427 RMD160 1eed14ed0db3204c52e5fde68fb043e2debdf5e3 files/ode-0.7-libdir.patch 427 SHA256 16a9d54e3167837963e98f1bed527c26f45943b8a4d24d6f8e8f1fb5064949c6 files/ode-0.7-libdir.patch 427 +AUX ode-0.8-flags.patch 983 RMD160 66caffe33e3a365ea7428b6971c0326f90ccb247 SHA1 55967c2228f63cb1dab42f9d4374cb0581fb0e32 SHA256 0d97aa182e9b62bccc30b56481aab5fa58db52f363031f8e1921b370f78c3d3a +MD5 10af71e676a1feaac170b2ba93c4f7cd files/ode-0.8-flags.patch 983 +RMD160 66caffe33e3a365ea7428b6971c0326f90ccb247 files/ode-0.8-flags.patch 983 +SHA256 0d97aa182e9b62bccc30b56481aab5fa58db52f363031f8e1921b370f78c3d3a files/ode-0.8-flags.patch 983 +AUX ode-0.8-libdir.patch 427 RMD160 1eed14ed0db3204c52e5fde68fb043e2debdf5e3 SHA1 dac5ea0958c5ff157ca198f10ee1d618505b27c8 SHA256 16a9d54e3167837963e98f1bed527c26f45943b8a4d24d6f8e8f1fb5064949c6 +MD5 433cdcf81b1d1be4f12c764d3c2759bb files/ode-0.8-libdir.patch 427 +RMD160 1eed14ed0db3204c52e5fde68fb043e2debdf5e3 files/ode-0.8-libdir.patch 427 +SHA256 16a9d54e3167837963e98f1bed527c26f45943b8a4d24d6f8e8f1fb5064949c6 files/ode-0.8-libdir.patch 427 DIST ode-0.5.tgz 1710720 RMD160 3410a842731c1bb24f306f4d23509533664321aa SHA1 f13756f1192d24101b6d1a3c14feb43efbf0b281 SHA256 5388c4cd4666f270f18216c90ab6526229c53fdc7e82f93ddb0824e69521df1c DIST ode-src-0.6.zip 1808849 RMD160 47f156ff618dc0ea49ba17756dc51f362b8b9f91 SHA1 e6af7548e68ca391f9f586409a9cb9b4203066f7 SHA256 5bc01923bd68b122368f15d4e969bff4d53acbd69af521712b33181d47b36b88 DIST ode-src-0.7.zip 1903503 RMD160 6215cc2b825321abdf3c9113a2711c6092590e06 SHA1 89d1593fd530e222c9d4aef3820414d4c0b0206b SHA256 e346097fc41174038a4373d4e6295b04c7dcfaf10489f4c385bd2c0878fbc878 +DIST ode-src-0.8.zip 2005445 RMD160 43a299a61a5ce6ed757eefc2855cd05fe6ae2024 SHA1 8e8a956ecebfc9e1f5f76b4e0083147581d85abe SHA256 07d751fc92ca4c739d4e76e2fc01cda19374d126bd65a789529dd727d1ec3edb EBUILD ode-0.5-r4.ebuild 2241 RMD160 401d94a4d43d385e9d17febe3995d64291ddcc47 SHA1 893a7e3164c335463376ee1470b29f81780ae8af SHA256 894503adf32f4048e224fd660de928eac84e7067ed520f77973225fceb490ca8 MD5 ae3e992cf550836fa834836a67a2b8c6 ode-0.5-r4.ebuild 2241 RMD160 401d94a4d43d385e9d17febe3995d64291ddcc47 ode-0.5-r4.ebuild 2241 @@ -29,10 +38,14 @@ EBUILD ode-0.7.ebuild 2270 RMD160 03ff4605b427a05784e3e4f704635ca1c6b5363f SHA1 MD5 356a62a25b26d29b7d890938e77d9a55 ode-0.7.ebuild 2270 RMD160 03ff4605b427a05784e3e4f704635ca1c6b5363f ode-0.7.ebuild 2270 SHA256 3b64793f354dc835923081a629c023888b8861f8852121c12c5c0060b12520e0 ode-0.7.ebuild 2270 -MISC ChangeLog 5295 RMD160 817049055bdc48d047f49db98badb6ba770af0e9 SHA1 dc02c6068cb0ebec0ae9e60f6a51dbc190c0c374 SHA256 4cc427dba07da27d1acd36c5994ef3b3201f78160c3af9c8f0c06d1beb47e89b -MD5 56e82767c3b227916162b0c416873da2 ChangeLog 5295 -RMD160 817049055bdc48d047f49db98badb6ba770af0e9 ChangeLog 5295 -SHA256 4cc427dba07da27d1acd36c5994ef3b3201f78160c3af9c8f0c06d1beb47e89b ChangeLog 5295 +EBUILD ode-0.8.ebuild 2229 RMD160 b615e4ec594d7413c08b93dff18a8d603cd2ae3b SHA1 9cdf52f4806ba0b4dbb066366b3ac1251f013d3a SHA256 47f0d87bfc6ecfebc32fe49a1eee390c8feb0abf78b34930d2ba2d0c69e3752d +MD5 be8d3b489563787de0e988ad18b7666b ode-0.8.ebuild 2229 +RMD160 b615e4ec594d7413c08b93dff18a8d603cd2ae3b ode-0.8.ebuild 2229 +SHA256 47f0d87bfc6ecfebc32fe49a1eee390c8feb0abf78b34930d2ba2d0c69e3752d ode-0.8.ebuild 2229 +MISC ChangeLog 5479 RMD160 3576c2e319ce4024d8c358d8b11aaceebf4074b0 SHA1 3cd35964bb4f6f3bcb9328d7e8b7885bca275891 SHA256 fa3b7e1385dcc8f234764c80871e03a7dafb16e96df324ab4cbab133982e13b5 +MD5 938cd7a74b41d5307958af213f687d56 ChangeLog 5479 +RMD160 3576c2e319ce4024d8c358d8b11aaceebf4074b0 ChangeLog 5479 +SHA256 fa3b7e1385dcc8f234764c80871e03a7dafb16e96df324ab4cbab133982e13b5 ChangeLog 5479 MISC metadata.xml 507 RMD160 fc35b374510850c6916d280578c4b9fad69d2f6a SHA1 2844b71e1f83503d096e912d5d61d6b69b296a99 SHA256 b8638b82f39c6329cfeeab46ec0a1cf325a28f880ce4b87e19b0586d41bd58de MD5 2149b6065a52ec18bd6db2bea63d5b9a metadata.xml 507 RMD160 fc35b374510850c6916d280578c4b9fad69d2f6a metadata.xml 507 @@ -46,3 +59,6 @@ SHA256 6cf98cd14d6644e7965eb9ef54d4a7f7ee96ae1fca10e324a2bfb6463bd42131 files/di MD5 1c6096d1eea2832d17394318ca60a919 files/digest-ode-0.7 229 RMD160 2526b9732db87e25510d3f072c989816ae55fbec files/digest-ode-0.7 229 SHA256 1e961751b99ad3d6ede233ab170ec1dff47d6b2bde0ad034f41cd57f1e6e20fd files/digest-ode-0.7 229 +MD5 849775c5756be6b268817e8e9ce9e5e5 files/digest-ode-0.8 229 +RMD160 6103edbf83164824c7a1f23a1a7d8432df1207b6 files/digest-ode-0.8 229 +SHA256 185b847cdfb008cd16db973c37cf87c444a20f654d1b766798b51317943e6bd1 files/digest-ode-0.8 229 diff --git a/dev-games/ode/files/digest-ode-0.8 b/dev-games/ode/files/digest-ode-0.8 new file mode 100644 index 000000000000..173935dd286c --- /dev/null +++ b/dev-games/ode/files/digest-ode-0.8 @@ -0,0 +1,3 @@ +MD5 fb7462ba0af2fbc230cb1b3f79e0acbb ode-src-0.8.zip 2005445 +RMD160 43a299a61a5ce6ed757eefc2855cd05fe6ae2024 ode-src-0.8.zip 2005445 +SHA256 07d751fc92ca4c739d4e76e2fc01cda19374d126bd65a789529dd727d1ec3edb ode-src-0.8.zip 2005445 diff --git a/dev-games/ode/files/ode-0.8-flags.patch b/dev-games/ode/files/ode-0.8-flags.patch new file mode 100644 index 000000000000..0490308a3158 --- /dev/null +++ b/dev-games/ode/files/ode-0.8-flags.patch @@ -0,0 +1,35 @@ +--- configure.in.old 2007-02-12 19:16:01.000000000 +0000 ++++ configure.in 2007-02-12 19:17:30.000000000 +0000 +@@ -296,9 +296,6 @@ + release=$enableval,release=no) + if test "x$release" == xyes + then +- CFLAGS="$CFLAGS -fomit-frame-pointer -ffast-math" +- CPPFLAGS="$CPPFLAGS -fomit-frame-pointer -ffast-math" +- CXXFLAGS="$CXXFLAGS -fomit-frame-pointer -ffast-math" + AC_DEFINE(dNODEBUG,,[Disable debug output]) + fi + AC_MSG_RESULT($release) +@@ -307,12 +304,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="$CFLAGS -g" +- CPPFLAGS="$CPPFLAGS -g" +- CXXFLAGS="$CXXFLAGS -g" +-fi + AC_MSG_RESULT($debug) + + +@@ -428,9 +419,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.8-libdir.patch b/dev-games/ode/files/ode-0.8-libdir.patch new file mode 100644 index 000000000000..c05f6918c899 --- /dev/null +++ b/dev-games/ode/files/ode-0.8-libdir.patch @@ -0,0 +1,11 @@ +--- 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.8.ebuild b/dev-games/ode/ode-0.8.ebuild new file mode 100644 index 000000000000..9c5e4d010805 --- /dev/null +++ b/dev-games/ode/ode-0.8.ebuild @@ -0,0 +1,81 @@ +# 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.8.ebuild,v 1.1 2007/02/12 19:42:33 chrb 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 + 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" +} -- 2.26.2