[gentoo-commits] repo/gentoo:master commit in: dev-games/ode/

2022-08-11 Thread Ionen Wolkens
commit: 8d674854cb5a3af7010ae3927838d2bdafd5cd64
Author: Ionen Wolkens  gentoo  org>
AuthorDate: Thu Aug 11 05:31:58 2022 +
Commit: Ionen Wolkens  gentoo  org>
CommitDate: Thu Aug 11 07:37:06 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8d674854

dev-games/ode: drop 0.11.1, 0.12

Unsure if these still useful for something (please report)
but getting rather old and cleaning to reduce maintenance.

Signed-off-by: Ionen Wolkens  gentoo.org>

 dev-games/ode/Manifest  |  2 -
 dev-games/ode/ode-0.11.1.ebuild | 86 -
 dev-games/ode/ode-0.12.ebuild   | 85 
 3 files changed, 173 deletions(-)

diff --git a/dev-games/ode/Manifest b/dev-games/ode/Manifest
index 4528a5fa39c7..77d310fc155f 100644
--- a/dev-games/ode/Manifest
+++ b/dev-games/ode/Manifest
@@ -1,3 +1 @@
-DIST ode-0.11.1.tar.bz2 1720088 BLAKE2B 
0908356d45e9b17af80cc2afefd3a09735c4955d0a03b502a60f0bd01023796c3b00b1caf379eac354d7754035db11bcdf802c1ecc72abd28a9fce7e1dd7eef1
 SHA512 
1e015231f4d01c68e7539144d197031cca23d4b58ea53733184a826ce23388956c428a53385254e7eed2c5d3fc28224a688eb13be7ea648bd78e186c8f203d37
-DIST ode-0.12.tar.bz2 1816246 BLAKE2B 
7ac4b9158f6672775e0374a619f71a178cb8a3a1cf8c957d67c2547081a9dd660a091923fec364133dfbe4cd6b82cfe14961bda8994bb6241aa9e1af61ef22ef
 SHA512 
303ffda8afcb89a87d09c44393f590f5646f10e8959ca06746121859ad2407709cd711ab185fed4817a9f74c9ca4ee13d1698a28577211bf65dbaad1141f6fc0
 DIST ode-0.14.tar.gz 4018146 BLAKE2B 
7dbb3d4cd673dabce176cf92d9d0b5fdd21dea25b751b8b43fd99a71e7806170fb97459dc2ecc7a9cbd14bf54bd32b4a3e631b78a1c3420ebc11c2d518f0eb45
 SHA512 
1f74c3c4687ee9665fa70e65a79100747fba577729830a90806e374115f1c161a2f4545cf591b0979054aa3e2f9a3673635668cb7362ab5c213ada0d39b1a03d

diff --git a/dev-games/ode/ode-0.11.1.ebuild b/dev-games/ode/ode-0.11.1.ebuild
deleted file mode 100644
index 03338b82af9b..
--- a/dev-games/ode/ode-0.11.1.ebuild
+++ /dev/null
@@ -1,86 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-DESCRIPTION="Open Dynamics Engine SDK"
-HOMEPAGE="http://ode.org/";
-SRC_URI="mirror://sourceforge/opende/${P}.tar.bz2"
-
-LICENSE="|| ( LGPL-2.1 BSD )"
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE="debug doc double-precision examples gyroscopic static-libs"
-
-RDEPEND="
-   examples? (
-   virtual/opengl
-   )
-"
-DEPEND="${RDEPEND}"
-BDEPEND="doc? ( app-doc/doxygen )"
-
-DOCS=( CHANGELOG.txt README.txt )
-
-src_prepare() {
-   default
-
-   sed -i \
-   -e "s:\$.*/drawstuff/textures:/usr/share/doc/${PF}/examples:" \
-   drawstuff/src/Makefile.in \
-   ode/demo/Makefile.in || die
-}
-
-src_configure() {
-   # use bash (bug #335760)
-   CONFIG_SHELL=/bin/bash \
-   econf \
-   --enable-shared \
-   $(use_enable static-libs static) \
-   $(use_enable debug asserts) \
-   $(use_enable double-precision) \
-   $(use_enable examples demos) \
-   $(use_enable gyroscopic) \
-   $(use_with examples drawstuff X11)
-}
-
-src_compile() {
-   emake
-
-   if use doc ; then
-   cd ode/doc
-   doxygen Doxyfile || die
-   fi
-}
-
-src_install() {
-   default
-
-   find "${ED}" -name '*.la' -delete || die
-
-   if use doc ; then
-   docinto html
-   dodoc docs/*
-   fi
-
-   if use examples ; then
-   cd ode/demo || die
-
-   exeinto /usr/share/doc/${PF}/examples
-
-   local f
-   for f in *.c* ; do
-   doexe .libs/${f%.*}
-   done
-
-   cd ../.. || die
-
-   doexe drawstuff/dstest/dstest
-
-   docinto examples
-   dodoc ode/demo/*.{c,cpp,h} \
-   drawstuff/textures/*.ppm \
-   drawstuff/dstest/dstest.cpp \
-   drawstuff/src/{drawstuff.cpp,internal.h,x11.cpp}
-   fi
-}

diff --git a/dev-games/ode/ode-0.12.ebuild b/dev-games/ode/ode-0.12.ebuild
deleted file mode 100644
index c5e93ccbf22c..
--- a/dev-games/ode/ode-0.12.ebuild
+++ /dev/null
@@ -1,85 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-DESCRIPTION="Open Dynamics Engine SDK"
-HOMEPAGE="http://ode.org/";
-SRC_URI="mirror://sourceforge/opende/${P}.tar.bz2"
-
-LICENSE="|| ( LGPL-2.1 BSD )"
-SLOT="0"
-KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux"
-IUSE="debug doc double-precision examples gyroscopic static-libs"
-
-RDEPEND="
-   examples? (
-   virtual/opengl
-   )
-"
-DEPEND="${RDEPEND}"
-BDEPEND="doc? ( app-doc/doxygen )"
-
-DOCS=( CHANGELOG.txt README.txt )
-
-src_prepare() {
-   default
-
-   sed -i \
-   -e "s:\$.*/d

[gentoo-commits] repo/gentoo:master commit in: dev-games/ode/

2021-12-14 Thread Sam James
commit: 362f5bad64745f0b5a183986b5fd6aaca850756c
Author: Sam James  gentoo  org>
AuthorDate: Tue Dec 14 09:04:29 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Dec 14 09:04:29 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=362f5bad

dev-games/ode: Keyword 0.14-r1 arm64, #821949

Signed-off-by: Sam James  gentoo.org>

 dev-games/ode/ode-0.14-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-games/ode/ode-0.14-r1.ebuild b/dev-games/ode/ode-0.14-r1.ebuild
index 98865c663c91..827d7b2ed482 100644
--- a/dev-games/ode/ode-0.14-r1.ebuild
+++ b/dev-games/ode/ode-0.14-r1.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://bitbucket.org/odedevs/ode/downloads/${P}.tar.gz";
 
 LICENSE="|| ( LGPL-2.1+ BSD )"
 SLOT="0/6"
-KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 ~arm64 x86 ~amd64-linux ~x86-linux"
 IUSE="debug doc double-precision examples gyroscopic static-libs"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: dev-games/ode/

2021-04-19 Thread Sam James
commit: d7d89deaf9b02b250e7b730156032d88ae4a074f
Author: Sam James  gentoo  org>
AuthorDate: Mon Apr 19 20:22:33 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Apr 19 20:54:02 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d7d89dea

dev-games/ode: port to EAPI 7

Signed-off-by: Sam James  gentoo.org>

 dev-games/ode/ode-0.11.1.ebuild  | 44 +
 dev-games/ode/ode-0.12.ebuild| 45 ++
 dev-games/ode/ode-0.14-r1.ebuild | 53 ++--
 3 files changed, 93 insertions(+), 49 deletions(-)

diff --git a/dev-games/ode/ode-0.11.1.ebuild b/dev-games/ode/ode-0.11.1.ebuild
index b06d5c927c9..03338b82af9 100644
--- a/dev-games/ode/ode-0.11.1.ebuild
+++ b/dev-games/ode/ode-0.11.1.ebuild
@@ -1,8 +1,7 @@
 # Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=5
-inherit ltprune
+EAPI=7
 
 DESCRIPTION="Open Dynamics Engine SDK"
 HOMEPAGE="http://ode.org/";
@@ -13,13 +12,19 @@ SLOT="0"
 KEYWORDS="amd64 x86"
 IUSE="debug doc double-precision examples gyroscopic static-libs"
 
-RDEPEND="examples? (
+RDEPEND="
+   examples? (
virtual/opengl
-   )"
-DEPEND="${RDEPEND}
-   doc? ( app-doc/doxygen )"
+   )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="doc? ( app-doc/doxygen )"
+
+DOCS=( CHANGELOG.txt README.txt )
 
 src_prepare() {
+   default
+
sed -i \
-e "s:\$.*/drawstuff/textures:/usr/share/doc/${PF}/examples:" \
drawstuff/src/Makefile.in \
@@ -41,6 +46,7 @@ src_configure() {
 
 src_compile() {
emake
+
if use doc ; then
cd ode/doc
doxygen Doxyfile || die
@@ -48,23 +54,31 @@ src_compile() {
 }
 
 src_install() {
-   DOCS="CHANGELOG.txt README.txt" \
-   default
-   prune_libtool_files
+   default
+
+   find "${ED}" -name '*.la' -delete || die
+
if use doc ; then
-   dohtml docs/*
+   docinto html
+   dodoc docs/*
fi
-   if use examples; then
-   cd ode/demo
+
+   if use examples ; then
+   cd ode/demo || die
+
exeinto /usr/share/doc/${PF}/examples
+
local f
for f in *.c* ; do
doexe .libs/${f%.*}
done
-   cd ../..
+
+   cd ../.. || die
+
doexe drawstuff/dstest/dstest
-   insinto /usr/share/doc/${PF}/examples
-   doins ode/demo/*.{c,cpp,h} \
+
+   docinto examples
+   dodoc ode/demo/*.{c,cpp,h} \
drawstuff/textures/*.ppm \
drawstuff/dstest/dstest.cpp \
drawstuff/src/{drawstuff.cpp,internal.h,x11.cpp}

diff --git a/dev-games/ode/ode-0.12.ebuild b/dev-games/ode/ode-0.12.ebuild
index a1b352d94fa..c5e93ccbf22 100644
--- a/dev-games/ode/ode-0.12.ebuild
+++ b/dev-games/ode/ode-0.12.ebuild
@@ -1,8 +1,7 @@
 # Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=5
-inherit ltprune
+EAPI=7
 
 DESCRIPTION="Open Dynamics Engine SDK"
 HOMEPAGE="http://ode.org/";
@@ -13,13 +12,19 @@ SLOT="0"
 KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux"
 IUSE="debug doc double-precision examples gyroscopic static-libs"
 
-RDEPEND="examples? (
+RDEPEND="
+   examples? (
virtual/opengl
-   )"
-DEPEND="${RDEPEND}
-   doc? ( app-doc/doxygen )"
+   )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="doc? ( app-doc/doxygen )"
+
+DOCS=( CHANGELOG.txt README.txt )
 
 src_prepare() {
+   default
+
sed -i \
-e "s:\$.*/drawstuff/textures:/usr/share/doc/${PF}/examples:" \
drawstuff/src/Makefile.in \
@@ -41,30 +46,38 @@ src_configure() {
 
 src_compile() {
emake
+
if use doc ; then
-   cd ode/doc
+   cd ode/doc || die
doxygen Doxyfile || die
fi
 }
 
 src_install() {
-   DOCS="CHANGELOG.txt README.txt" \
-   default
-   prune_libtool_files
+   default
+
+   find "${ED}" -name '*.la' -delete || die
+
if use doc ; then
-   dohtml docs/*
+   docinto html
+   dodoc docs/*
fi
-   if use examples; then
-   cd ode/demo
+
+   if use examples ; then
+   cd ode/demo || die
+
exeinto /usr/share/doc/${PF}/examples
+
local f
for f in *.c* ; do
doexe .libs/${f%.*}
done
-   cd ../..
+
+   cd ../.. || die
+
doexe drawstuff/dstest/dstest
-   insinto /usr/share/doc/${PF}/examples
-   doins ode/demo/*.{c,cpp,h} \
+   docinto examples
+   dodoc ode/demo/*.{c,cpp,h} \
 

[gentoo-commits] repo/gentoo:master commit in: dev-games/ode/

2018-04-29 Thread Patrice Clement
commit: a00269a4d67d18484c0ac6b679201e5ef8b06c57
Author: Patrice Clement  gentoo  org>
AuthorDate: Sun Apr 29 11:42:09 2018 +
Commit: Patrice Clement  gentoo  org>
CommitDate: Sun Apr 29 11:43:17 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a00269a4

dev-games/ode: regenerate Manifest file.

Package-Manager: Portage-2.3.19, Repoman-2.3.6

 dev-games/ode/Manifest | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-games/ode/Manifest b/dev-games/ode/Manifest
index 278a8722faf..4528a5fa39c 100644
--- a/dev-games/ode/Manifest
+++ b/dev-games/ode/Manifest
@@ -1,3 +1,3 @@
 DIST ode-0.11.1.tar.bz2 1720088 BLAKE2B 
0908356d45e9b17af80cc2afefd3a09735c4955d0a03b502a60f0bd01023796c3b00b1caf379eac354d7754035db11bcdf802c1ecc72abd28a9fce7e1dd7eef1
 SHA512 
1e015231f4d01c68e7539144d197031cca23d4b58ea53733184a826ce23388956c428a53385254e7eed2c5d3fc28224a688eb13be7ea648bd78e186c8f203d37
 DIST ode-0.12.tar.bz2 1816246 BLAKE2B 
7ac4b9158f6672775e0374a619f71a178cb8a3a1cf8c957d67c2547081a9dd660a091923fec364133dfbe4cd6b82cfe14961bda8994bb6241aa9e1af61ef22ef
 SHA512 
303ffda8afcb89a87d09c44393f590f5646f10e8959ca06746121859ad2407709cd711ab185fed4817a9f74c9ca4ee13d1698a28577211bf65dbaad1141f6fc0
-DIST ode-0.14.tar.gz 2132897 BLAKE2B 
840f7c368590f549b832a18ebda1a653a0a690b29951dcc4480b95e5dcd8105790ff8d79577fcc8d0cc7bef067f67b505645ec482b1417262ac154ba589020d8
 SHA512 
356c3edd10274a00516c459035180c74e611fffba42b7674fbf1ee5225a27b54dfeb5eeeaa2ff85ecd2fdea5f634e2732df38333b58c4a43f7befa25ba321927
+DIST ode-0.14.tar.gz 4018146 BLAKE2B 
7dbb3d4cd673dabce176cf92d9d0b5fdd21dea25b751b8b43fd99a71e7806170fb97459dc2ecc7a9cbd14bf54bd32b4a3e631b78a1c3420ebc11c2d518f0eb45
 SHA512 
1f74c3c4687ee9665fa70e65a79100747fba577729830a90806e374115f1c161a2f4545cf591b0979054aa3e2f9a3673635668cb7362ab5c213ada0d39b1a03d



[gentoo-commits] repo/gentoo:master commit in: dev-games/ode/

2018-04-25 Thread Matt Turner
commit: 4f321b76aed7808cb5f4fe3f9f0d931140092909
Author: Matt Turner  gentoo  org>
AuthorDate: Thu Apr 26 04:06:59 2018 +
Commit: Matt Turner  gentoo  org>
CommitDate: Thu Apr 26 04:20:49 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4f321b76

dev-games/ode: dropped ppc64 keywords, bug 653160

No reverse dependencies on ppc64.

 dev-games/ode/ode-0.11.1.ebuild  | 2 +-
 dev-games/ode/ode-0.12.ebuild| 2 +-
 dev-games/ode/ode-0.14-r1.ebuild | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/dev-games/ode/ode-0.11.1.ebuild b/dev-games/ode/ode-0.11.1.ebuild
index 710cd3dcdb9..b0af397fe52 100644
--- a/dev-games/ode/ode-0.11.1.ebuild
+++ b/dev-games/ode/ode-0.11.1.ebuild
@@ -10,7 +10,7 @@ SRC_URI="mirror://sourceforge/opende/${P}.tar.bz2"
 
 LICENSE="|| ( LGPL-2.1 BSD )"
 SLOT="0"
-KEYWORDS="amd64 ppc64 x86 ~x86-fbsd"
+KEYWORDS="amd64 x86 ~x86-fbsd"
 IUSE="debug doc double-precision examples gyroscopic static-libs"
 
 RDEPEND="examples? (

diff --git a/dev-games/ode/ode-0.12.ebuild b/dev-games/ode/ode-0.12.ebuild
index 3af95e61fae..2a92674fd71 100644
--- a/dev-games/ode/ode-0.12.ebuild
+++ b/dev-games/ode/ode-0.12.ebuild
@@ -10,7 +10,7 @@ SRC_URI="mirror://sourceforge/opende/${P}.tar.bz2"
 
 LICENSE="|| ( LGPL-2.1 BSD )"
 SLOT="0"
-KEYWORDS="amd64 ppc64 x86 ~x86-fbsd ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 x86 ~x86-fbsd ~amd64-linux ~x86-linux"
 IUSE="debug doc double-precision examples gyroscopic static-libs"
 
 RDEPEND="examples? (

diff --git a/dev-games/ode/ode-0.14-r1.ebuild b/dev-games/ode/ode-0.14-r1.ebuild
index 84bd2582e4e..3f54e7ff25f 100644
--- a/dev-games/ode/ode-0.14-r1.ebuild
+++ b/dev-games/ode/ode-0.14-r1.ebuild
@@ -10,7 +10,7 @@ 
SRC_URI="https://bitbucket.org/odedevs/ode/downloads/${P}.tar.gz";
 
 LICENSE="|| ( LGPL-2.1+ BSD )"
 SLOT="0/6"
-KEYWORDS="amd64 ~ppc64 x86 ~x86-fbsd ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 x86 ~x86-fbsd ~amd64-linux ~x86-linux"
 IUSE="debug doc double-precision examples gyroscopic static-libs"
 
 RDEPEND="examples? (



[gentoo-commits] repo/gentoo:master commit in: dev-games/ode/

2018-04-22 Thread Aaron Bauman
commit: 9791310b0c8499ce3533c8c762e86bb99ac7b974
Author: Aaron Bauman  gentoo  org>
AuthorDate: Mon Apr 23 03:06:54 2018 +
Commit: Aaron Bauman  gentoo  org>
CommitDate: Mon Apr 23 03:06:54 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9791310b

dev-games/ode: amd64 stable wrt bug #653160

Bug: https://bugs.gentoo.org/653160
Package-Manager: Portage-2.3.31, Repoman-2.3.9

 dev-games/ode/ode-0.14-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-games/ode/ode-0.14-r1.ebuild b/dev-games/ode/ode-0.14-r1.ebuild
index 6cb52f0998f..75e9f439ec7 100644
--- a/dev-games/ode/ode-0.14-r1.ebuild
+++ b/dev-games/ode/ode-0.14-r1.ebuild
@@ -10,7 +10,7 @@ 
SRC_URI="https://bitbucket.org/odedevs/ode/downloads/${P}.tar.gz";
 
 LICENSE="|| ( LGPL-2.1+ BSD )"
 SLOT="0/6"
-KEYWORDS="~amd64 ~ppc64 ~x86 ~x86-fbsd ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 ~ppc64 ~x86 ~x86-fbsd ~amd64-linux ~x86-linux"
 IUSE="debug doc double-precision examples gyroscopic static-libs"
 
 RDEPEND="examples? (



[gentoo-commits] repo/gentoo:master commit in: dev-games/ode/files/, dev-games/ode/

2018-04-14 Thread Pacho Ramos
commit: 7e72f270ed1ce09b77b1b5f724bc76d77644
Author: Peter Levine  gmail  com>
AuthorDate: Sun Mar 25 05:47:01 2018 +
Commit: Pacho Ramos  gentoo  org>
CommitDate: Sat Apr 14 16:18:27 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7e72f270

dev-games/ode: Fix building with GCC-7

Bug: https://bugs.gentoo.org/646538
Package-Manager: Portage-2.3.16, Repoman-2.3.6
Closes: https://bugs.gentoo.org/646538
Closes: https://github.com/gentoo/gentoo/pull/7605

 dev-games/ode/files/ode-0.14-gcc7.patch | 52 +
 dev-games/ode/ode-0.14-r1.ebuild|  4 ++-
 2 files changed, 55 insertions(+), 1 deletion(-)

diff --git a/dev-games/ode/files/ode-0.14-gcc7.patch 
b/dev-games/ode/files/ode-0.14-gcc7.patch
new file mode 100644
index 000..aad0117f3be
--- /dev/null
+++ b/dev-games/ode/files/ode-0.14-gcc7.patch
@@ -0,0 +1,52 @@
+Bug: https://bugs.gentoo.org/646538
+Upstream commit: 
https://bitbucket.org/odedevs/ode/commits/6f44023660dc830147a56314ea0627a23f11ad86
+
+# HG changeset patch
+# User oleh_derevenko <>
+# Date 1521993135 -10800
+# Node ID 6f44023660dc830147a56314ea0627a23f11ad86
+# Parent  6a68227619feebf85513331d7320b5a89eadf44f
+Fixed: Command line parameter validation errors have been fixed in some demos 
(reported by Peter Levine)
+
+diff --git a/ode/demo/demo_jointPR.cpp b/ode/demo/demo_jointPR.cpp
+--- a/ode/demo/demo_jointPR.cpp
 b/ode/demo/demo_jointPR.cpp
+@@ -328,8 +328,8 @@
+ if (0 == strcmp("-t", argv[i]) || 0 == strcmp("--texture-path", 
argv[i]))
+ {
+ int j = i+1;
+-if ( j+1 > argc  ||  // Check if we have enough arguments
+-argv[j] == '\0' ||  // We should have a path here
++if ( j >= argc  ||  // Check if we have enough arguments
++argv[j][0] == '\0' ||  // We should have a path here
+ argv[j][0] == '-' ) // We should have a path not a 
command line
+ Help(argv);
+ else
+diff --git a/ode/demo/demo_jointPU.cpp b/ode/demo/demo_jointPU.cpp
+--- a/ode/demo/demo_jointPU.cpp
 b/ode/demo/demo_jointPU.cpp
+@@ -575,8 +575,8 @@
+ 
+   if (0 == strcmp ("-t", argv[i]) || 0 == strcmp ("--texture-path", 
argv[i]) ) {
+ int j = i+1;
+-if ( j+1 > argc  ||  // Check if we have enough arguments
+- argv[j] == '\0' ||  // We should have a path here
++if ( j >= argc  ||  // Check if we have enough arguments
++ argv[j][0] == '\0' ||  // We should have a path here
+  argv[j][0] == '-' ) // We should have a path not a command line
+   Help (argv);
+ else
+diff --git a/ode/demo/demo_piston.cpp b/ode/demo/demo_piston.cpp
+--- a/ode/demo/demo_piston.cpp
 b/ode/demo/demo_piston.cpp
+@@ -658,8 +658,8 @@
+ if ( 0 == strcmp ("-t", argv[i]) || 0 == strcmp 
("--texture-path", argv[i]) )
+ {
+ int j = i+1;
+-if ( j+1 > argc  ||  // Check if we have enough 
arguments
+-argv[j] == '\0' ||  // We should have a path here
++if ( j >= argc  ||  // Check if we have enough 
arguments
++argv[j][0] == '\0' ||  // We should have a path 
here
+ argv[j][0] == '-' ) // We should have a path not 
a command line
+ Help (argv);
+ else

diff --git a/dev-games/ode/ode-0.14-r1.ebuild b/dev-games/ode/ode-0.14-r1.ebuild
index 08bd2181aff..6cb52f0998f 100644
--- a/dev-games/ode/ode-0.14-r1.ebuild
+++ b/dev-games/ode/ode-0.14-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -22,6 +22,8 @@ DEPEND="${RDEPEND}
 MY_EXAMPLES_DIR=/usr/share/doc/${PF}/examples
 
 src_prepare() {
+   epatch "${FILESDIR}"/${PN}-0.14-gcc7.patch
+
sed -i \
-e "s:\$.*/drawstuff/textures:${MY_EXAMPLES_DIR}:" \
drawstuff/src/Makefile.am \



[gentoo-commits] repo/gentoo:master commit in: dev-games/ode/

2017-01-16 Thread Ian Stakenvicius
commit: e5eb122f8a0770c92ce3d8f7f9f1c5c18471b570
Author: Ian Stakenvicius  gentoo  org>
AuthorDate: Mon Jan 16 22:14:36 2017 +
Commit: Ian Stakenvicius  gentoo  org>
CommitDate: Mon Jan 16 22:31:21 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e5eb122f

dev-games/ode: revbump to change SLOT="0/6" for slot-operator rebuilds

Package-Manager: portage-2.3.0

 dev-games/ode/{ode-0.14.ebuild => ode-0.14-r1.ebuild} | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-games/ode/ode-0.14.ebuild b/dev-games/ode/ode-0.14-r1.ebuild
similarity index 96%
rename from dev-games/ode/ode-0.14.ebuild
rename to dev-games/ode/ode-0.14-r1.ebuild
index 48021bb..8255bce 100644
--- a/dev-games/ode/ode-0.14.ebuild
+++ b/dev-games/ode/ode-0.14-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -10,7 +10,7 @@ HOMEPAGE="http://ode.org/";
 SRC_URI="https://bitbucket.org/odedevs/ode/downloads/${P}.tar.gz";
 
 LICENSE="|| ( LGPL-2.1+ BSD )"
-SLOT="0"
+SLOT="0/6"
 KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux"
 IUSE="debug doc double-precision examples gyroscopic static-libs"
 



[gentoo-commits] repo/gentoo:master commit in: dev-games/ode/

2016-06-07 Thread Michael Sterrett
commit: a03a7daa4e68dca928912d0ed4a1db52527caaf0
Author: Michael Sterrett  gentoo  org>
AuthorDate: Tue Jun  7 17:15:19 2016 +
Commit: Michael Sterrett  gentoo  org>
CommitDate: Tue Jun  7 22:27:31 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a03a7daa

dev-games/ode: clean old

Package-Manager: portage-2.2.28

 dev-games/ode/Manifest|  1 -
 dev-games/ode/ode-0.13.ebuild | 75 ---
 2 files changed, 76 deletions(-)

diff --git a/dev-games/ode/Manifest b/dev-games/ode/Manifest
index 36689e9..f81e11d 100644
--- a/dev-games/ode/Manifest
+++ b/dev-games/ode/Manifest
@@ -1,4 +1,3 @@
 DIST ode-0.11.1.tar.bz2 1720088 SHA256 
877884a86a3d53f3c5f2e35fbd8a3dc23c20249f0636c76f6ef41f6bf57a03a1 SHA512 
1e015231f4d01c68e7539144d197031cca23d4b58ea53733184a826ce23388956c428a53385254e7eed2c5d3fc28224a688eb13be7ea648bd78e186c8f203d37
 WHIRLPOOL 
a77c4a61b1dd551911e87a2233f279ac5e6cdea9abf1704574f2a42ab683a426b7fc2a8e9b422f80ca379532b7d755cf7d28f1a47948dd80444cff8c7796cd32
 DIST ode-0.12.tar.bz2 1816246 SHA256 
65c5315a42c725d2da01ea2c1b045583d54e0d1a95e3f7c062e5ba3769f5c350 SHA512 
303ffda8afcb89a87d09c44393f590f5646f10e8959ca06746121859ad2407709cd711ab185fed4817a9f74c9ca4ee13d1698a28577211bf65dbaad1141f6fc0
 WHIRLPOOL 
def7dfd7bb9f78db9c593bb99eb635da9868dd05362817ca344e583ca157da87c3e6932b9912684bc3deed2aff9eeb409d57fd9eb388e2f195f9c83b5cccabc4
-DIST ode-0.13.tar.bz2 2008288 SHA256 
34ce3e236e313bf109a0cb5546d2fca462aed99f29a42e62bc1463b803c31ef9 SHA512 
d30c5228e10df5784802ceaea08353a3fd1088450b2ba69ad1da840b8aad2224484e5642145820621e105e08aa6da6f3e9957780d4c3b047647558b1abc32780
 WHIRLPOOL 
ab7283fb0c957c0bac334150c4dc4d342a200fb1bfdeb26cbd8da13f0a8699bc9664af7a0cb9d0211d7484dc56a4608b8b4a60e81cf1008b5feff534733dbdb4
 DIST ode-0.14.tar.gz 2132897 SHA256 
1072fc98d9d00262a0d6136e7b9ff7f5d953bbdb23b646f426909d28c0b4f6db SHA512 
356c3edd10274a00516c459035180c74e611fffba42b7674fbf1ee5225a27b54dfeb5eeeaa2ff85ecd2fdea5f634e2732df38333b58c4a43f7befa25ba321927
 WHIRLPOOL 
542867795477b03dd3268ee5e9d54c86990b67016084b8ef68364615fc0eb6e7f0264b5180e7c4bc0ef972234ede26ccb652505b95958e412286addfa5b56591

diff --git a/dev-games/ode/ode-0.13.ebuild b/dev-games/ode/ode-0.13.ebuild
deleted file mode 100644
index 2f22678..000
--- a/dev-games/ode/ode-0.13.ebuild
+++ /dev/null
@@ -1,75 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-inherit eutils
-
-DESCRIPTION="Open Dynamics Engine SDK"
-HOMEPAGE="http://ode.org/";
-SRC_URI="mirror://sourceforge/opende/${P}.tar.bz2"
-
-LICENSE="|| ( LGPL-2.1+ BSD )"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux"
-IUSE="debug doc double-precision examples gyroscopic static-libs"
-
-RDEPEND="examples? (
-   virtual/glu
-   virtual/opengl )"
-DEPEND="${RDEPEND}
-   doc? ( app-doc/doxygen )"
-
-MY_EXAMPLES_DIR=/usr/share/doc/${PF}/examples
-
-src_prepare() {
-   sed -i \
-   -e "s:\$.*/drawstuff/textures:${MY_EXAMPLES_DIR}:" \
-   drawstuff/src/Makefile.in \
-   ode/demo/Makefile.in || die
-}
-
-src_configure() {
-   # use bash (bug #335760)
-   CONFIG_SHELL=/bin/bash \
-   econf \
-   --enable-shared \
-   $(use_enable static-libs static) \
-   $(use_enable debug asserts) \
-   $(use_enable double-precision) \
-   $(use_enable examples demos) \
-   $(use_enable gyroscopic) \
-   $(use_with examples drawstuff X11)
-}
-
-src_compile() {
-   emake
-   if use doc ; then
-   cd ode/doc
-   doxygen Doxyfile || die
-   fi
-}
-
-src_install() {
-   DOCS="CHANGELOG.txt README.txt" \
-   default
-   prune_libtool_files
-   if use doc ; then
-   dohtml docs/*
-   fi
-   if use examples; then
-   docompress -x "${MY_EXAMPLES_DIR}"
-   insinto "${MY_EXAMPLES_DIR}"
-   exeinto "${MY_EXAMPLES_DIR}"
-   doexe drawstuff/dstest/dstest
-   doins ode/demo/*.{c,cpp,h} \
-   drawstuff/textures/*.ppm \
-   drawstuff/dstest/dstest.cpp \
-   drawstuff/src/{drawstuff.cpp,internal.h,x11.cpp}
-   cd ode/demo
-   local f
-   for f in *.c* ; do
-   doexe .libs/${f%.*}
-   done
-   fi
-}



[gentoo-commits] repo/gentoo:master commit in: dev-games/ode/

2016-04-07 Thread Michael Sterrett
commit: 353af8036762f47a6723ea7a711c253bc5f3ebac
Author: Michael Sterrett  gentoo  org>
AuthorDate: Thu Apr  7 17:22:40 2016 +
Commit: Michael Sterrett  gentoo  org>
CommitDate: Thu Apr  7 17:23:05 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=353af803

dev-games/ode: version bump

Package-Manager: portage-2.2.26

 dev-games/ode/Manifest|  1 +
 dev-games/ode/ode-0.14.ebuild | 76 +++
 2 files changed, 77 insertions(+)

diff --git a/dev-games/ode/Manifest b/dev-games/ode/Manifest
index 6cceaaa..36689e9 100644
--- a/dev-games/ode/Manifest
+++ b/dev-games/ode/Manifest
@@ -1,3 +1,4 @@
 DIST ode-0.11.1.tar.bz2 1720088 SHA256 
877884a86a3d53f3c5f2e35fbd8a3dc23c20249f0636c76f6ef41f6bf57a03a1 SHA512 
1e015231f4d01c68e7539144d197031cca23d4b58ea53733184a826ce23388956c428a53385254e7eed2c5d3fc28224a688eb13be7ea648bd78e186c8f203d37
 WHIRLPOOL 
a77c4a61b1dd551911e87a2233f279ac5e6cdea9abf1704574f2a42ab683a426b7fc2a8e9b422f80ca379532b7d755cf7d28f1a47948dd80444cff8c7796cd32
 DIST ode-0.12.tar.bz2 1816246 SHA256 
65c5315a42c725d2da01ea2c1b045583d54e0d1a95e3f7c062e5ba3769f5c350 SHA512 
303ffda8afcb89a87d09c44393f590f5646f10e8959ca06746121859ad2407709cd711ab185fed4817a9f74c9ca4ee13d1698a28577211bf65dbaad1141f6fc0
 WHIRLPOOL 
def7dfd7bb9f78db9c593bb99eb635da9868dd05362817ca344e583ca157da87c3e6932b9912684bc3deed2aff9eeb409d57fd9eb388e2f195f9c83b5cccabc4
 DIST ode-0.13.tar.bz2 2008288 SHA256 
34ce3e236e313bf109a0cb5546d2fca462aed99f29a42e62bc1463b803c31ef9 SHA512 
d30c5228e10df5784802ceaea08353a3fd1088450b2ba69ad1da840b8aad2224484e5642145820621e105e08aa6da6f3e9957780d4c3b047647558b1abc32780
 WHIRLPOOL 
ab7283fb0c957c0bac334150c4dc4d342a200fb1bfdeb26cbd8da13f0a8699bc9664af7a0cb9d0211d7484dc56a4608b8b4a60e81cf1008b5feff534733dbdb4
+DIST ode-0.14.tar.gz 2132897 SHA256 
1072fc98d9d00262a0d6136e7b9ff7f5d953bbdb23b646f426909d28c0b4f6db SHA512 
356c3edd10274a00516c459035180c74e611fffba42b7674fbf1ee5225a27b54dfeb5eeeaa2ff85ecd2fdea5f634e2732df38333b58c4a43f7befa25ba321927
 WHIRLPOOL 
542867795477b03dd3268ee5e9d54c86990b67016084b8ef68364615fc0eb6e7f0264b5180e7c4bc0ef972234ede26ccb652505b95958e412286addfa5b56591

diff --git a/dev-games/ode/ode-0.14.ebuild b/dev-games/ode/ode-0.14.ebuild
new file mode 100644
index 000..48021bb
--- /dev/null
+++ b/dev-games/ode/ode-0.14.ebuild
@@ -0,0 +1,76 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit autotools eutils
+
+DESCRIPTION="Open Dynamics Engine SDK"
+HOMEPAGE="http://ode.org/";
+SRC_URI="https://bitbucket.org/odedevs/ode/downloads/${P}.tar.gz";
+
+LICENSE="|| ( LGPL-2.1+ BSD )"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux"
+IUSE="debug doc double-precision examples gyroscopic static-libs"
+
+RDEPEND="examples? (
+   virtual/glu
+   virtual/opengl )"
+DEPEND="${RDEPEND}
+   doc? ( app-doc/doxygen )"
+
+MY_EXAMPLES_DIR=/usr/share/doc/${PF}/examples
+
+src_prepare() {
+   sed -i \
+   -e "s:\$.*/drawstuff/textures:${MY_EXAMPLES_DIR}:" \
+   drawstuff/src/Makefile.am \
+   ode/demo/Makefile.am || die
+   eautoreconf
+}
+
+src_configure() {
+   # use bash (bug #335760)
+   CONFIG_SHELL=/bin/bash \
+   econf \
+   --enable-shared \
+   $(use_enable static-libs static) \
+   $(use_enable debug asserts) \
+   $(use_enable double-precision) \
+   $(use_enable examples demos) \
+   $(use_enable gyroscopic) \
+   $(use_with examples drawstuff X11)
+}
+
+src_compile() {
+   emake
+   if use doc ; then
+   cd ode/doc
+   doxygen Doxyfile || die
+   fi
+}
+
+src_install() {
+   DOCS="CHANGELOG.txt README.md" \
+   default
+   prune_libtool_files
+   if use doc ; then
+   dohtml docs/*
+   fi
+   if use examples; then
+   docompress -x "${MY_EXAMPLES_DIR}"
+   insinto "${MY_EXAMPLES_DIR}"
+   exeinto "${MY_EXAMPLES_DIR}"
+   doexe drawstuff/dstest/dstest
+   doins ode/demo/*.{c,cpp,h} \
+   drawstuff/textures/*.ppm \
+   drawstuff/dstest/dstest.cpp \
+   drawstuff/src/{drawstuff.cpp,internal.h,x11.cpp}
+   cd ode/demo
+   local f
+   for f in *.c* ; do
+   doexe .libs/${f%.*}
+   done
+   fi
+}



[gentoo-commits] repo/gentoo:master commit in: dev-games/ode/

2015-12-29 Thread Michael Sterrett
commit: 6dbff770e17c03003e107acfcbcd99b68b442826
Author: Michael Sterrett  gentoo  org>
AuthorDate: Wed Dec 30 07:51:26 2015 +
Commit: Michael Sterrett  gentoo  org>
CommitDate: Wed Dec 30 07:51:26 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6dbff770

dev-games/ode: correct example install (bug #568920)

Package-Manager: portage-2.2.24

 dev-games/ode/ode-0.13.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-games/ode/ode-0.13.ebuild b/dev-games/ode/ode-0.13.ebuild
index b123af8..2f22678 100644
--- a/dev-games/ode/ode-0.13.ebuild
+++ b/dev-games/ode/ode-0.13.ebuild
@@ -59,14 +59,14 @@ src_install() {
fi
if use examples; then
docompress -x "${MY_EXAMPLES_DIR}"
-   doexe drawstuff/dstest/dstest
insinto "${MY_EXAMPLES_DIR}"
+   exeinto "${MY_EXAMPLES_DIR}"
+   doexe drawstuff/dstest/dstest
doins ode/demo/*.{c,cpp,h} \
drawstuff/textures/*.ppm \
drawstuff/dstest/dstest.cpp \
drawstuff/src/{drawstuff.cpp,internal.h,x11.cpp}
cd ode/demo
-   exeinto "${MY_EXAMPLES_DIR}"
local f
for f in *.c* ; do
doexe .libs/${f%.*}



[gentoo-commits] repo/gentoo:master commit in: dev-games/ode/

2015-12-17 Thread Michael Sterrett
commit: 3fad9c8148caa42a06ad68662cc8178839003ded
Author: Michael Sterrett  gentoo  org>
AuthorDate: Thu Dec 17 21:51:29 2015 +
Commit: Michael Sterrett  gentoo  org>
CommitDate: Fri Dec 18 00:39:27 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3fad9c81

version bump

Package-Manager: portage-2.2.24

 dev-games/ode/Manifest|  1 +
 dev-games/ode/ode-0.13.ebuild | 75 +++
 2 files changed, 76 insertions(+)

diff --git a/dev-games/ode/Manifest b/dev-games/ode/Manifest
index c6f2d2d..6cceaaa 100644
--- a/dev-games/ode/Manifest
+++ b/dev-games/ode/Manifest
@@ -1,2 +1,3 @@
 DIST ode-0.11.1.tar.bz2 1720088 SHA256 
877884a86a3d53f3c5f2e35fbd8a3dc23c20249f0636c76f6ef41f6bf57a03a1 SHA512 
1e015231f4d01c68e7539144d197031cca23d4b58ea53733184a826ce23388956c428a53385254e7eed2c5d3fc28224a688eb13be7ea648bd78e186c8f203d37
 WHIRLPOOL 
a77c4a61b1dd551911e87a2233f279ac5e6cdea9abf1704574f2a42ab683a426b7fc2a8e9b422f80ca379532b7d755cf7d28f1a47948dd80444cff8c7796cd32
 DIST ode-0.12.tar.bz2 1816246 SHA256 
65c5315a42c725d2da01ea2c1b045583d54e0d1a95e3f7c062e5ba3769f5c350 SHA512 
303ffda8afcb89a87d09c44393f590f5646f10e8959ca06746121859ad2407709cd711ab185fed4817a9f74c9ca4ee13d1698a28577211bf65dbaad1141f6fc0
 WHIRLPOOL 
def7dfd7bb9f78db9c593bb99eb635da9868dd05362817ca344e583ca157da87c3e6932b9912684bc3deed2aff9eeb409d57fd9eb388e2f195f9c83b5cccabc4
+DIST ode-0.13.tar.bz2 2008288 SHA256 
34ce3e236e313bf109a0cb5546d2fca462aed99f29a42e62bc1463b803c31ef9 SHA512 
d30c5228e10df5784802ceaea08353a3fd1088450b2ba69ad1da840b8aad2224484e5642145820621e105e08aa6da6f3e9957780d4c3b047647558b1abc32780
 WHIRLPOOL 
ab7283fb0c957c0bac334150c4dc4d342a200fb1bfdeb26cbd8da13f0a8699bc9664af7a0cb9d0211d7484dc56a4608b8b4a60e81cf1008b5feff534733dbdb4

diff --git a/dev-games/ode/ode-0.13.ebuild b/dev-games/ode/ode-0.13.ebuild
new file mode 100644
index 000..b123af8
--- /dev/null
+++ b/dev-games/ode/ode-0.13.ebuild
@@ -0,0 +1,75 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit eutils
+
+DESCRIPTION="Open Dynamics Engine SDK"
+HOMEPAGE="http://ode.org/";
+SRC_URI="mirror://sourceforge/opende/${P}.tar.bz2"
+
+LICENSE="|| ( LGPL-2.1+ BSD )"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux"
+IUSE="debug doc double-precision examples gyroscopic static-libs"
+
+RDEPEND="examples? (
+   virtual/glu
+   virtual/opengl )"
+DEPEND="${RDEPEND}
+   doc? ( app-doc/doxygen )"
+
+MY_EXAMPLES_DIR=/usr/share/doc/${PF}/examples
+
+src_prepare() {
+   sed -i \
+   -e "s:\$.*/drawstuff/textures:${MY_EXAMPLES_DIR}:" \
+   drawstuff/src/Makefile.in \
+   ode/demo/Makefile.in || die
+}
+
+src_configure() {
+   # use bash (bug #335760)
+   CONFIG_SHELL=/bin/bash \
+   econf \
+   --enable-shared \
+   $(use_enable static-libs static) \
+   $(use_enable debug asserts) \
+   $(use_enable double-precision) \
+   $(use_enable examples demos) \
+   $(use_enable gyroscopic) \
+   $(use_with examples drawstuff X11)
+}
+
+src_compile() {
+   emake
+   if use doc ; then
+   cd ode/doc
+   doxygen Doxyfile || die
+   fi
+}
+
+src_install() {
+   DOCS="CHANGELOG.txt README.txt" \
+   default
+   prune_libtool_files
+   if use doc ; then
+   dohtml docs/*
+   fi
+   if use examples; then
+   docompress -x "${MY_EXAMPLES_DIR}"
+   doexe drawstuff/dstest/dstest
+   insinto "${MY_EXAMPLES_DIR}"
+   doins ode/demo/*.{c,cpp,h} \
+   drawstuff/textures/*.ppm \
+   drawstuff/dstest/dstest.cpp \
+   drawstuff/src/{drawstuff.cpp,internal.h,x11.cpp}
+   cd ode/demo
+   exeinto "${MY_EXAMPLES_DIR}"
+   local f
+   for f in *.c* ; do
+   doexe .libs/${f%.*}
+   done
+   fi
+}