Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 166192 (bullet-2.42b) - [science overlay] sci-physics/bullet-2.64 new package
Summary: [science overlay] sci-physics/bullet-2.64 new package
Status: RESOLVED FIXED
Alias: bullet-2.42b
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo Science Physics related packages
URL: http://www.continuousphysics.com/Bullet/
Whiteboard:
Keywords: REGRESSION
Depends on:
Blocks: 179502 209383
  Show dependency tree
 
Reported: 2007-02-10 11:24 UTC by Renato Caldas
Modified: 2008-03-11 21:46 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
The proposed ebuild (bullet-2.42b.ebuild,484 bytes, text/plain)
2007-02-10 18:44 UTC, Renato Caldas
Details
The updated ebuild (bullet-2.50b.ebuild,676 bytes, text/plain)
2007-05-20 13:52 UTC, Renato Caldas
Details
The working ebuild (bullet-2.50b.ebuild,685 bytes, text/plain)
2007-05-20 14:14 UTC, Renato Caldas
Details
sci-physics/bullet-2.51 (bullet-2.51.ebuild,682 bytes, text/plain)
2007-05-23 09:15 UTC, Christoph Brill (egore) (RESIGNED)
Details
bullet-2.52.ebuild (bullet-2.52.ebuild,696 bytes, text/plain)
2007-06-09 23:49 UTC, Santiago M. Mola (RETIRED)
Details
bullet-2.64-gcc4.patch (bullet-2.64-gcc4.patch,266 bytes, patch)
2008-02-11 21:12 UTC, Christoph Brill (egore) (RESIGNED)
Details | Diff
sci-physics/bullet-2.64.ebuild (bullet-2.64.ebuild,956 bytes, text/plain)
2008-02-18 23:05 UTC, Piotr Szymaniak
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Renato Caldas 2007-02-10 11:24:27 UTC
I would like to see bullet-2.42b on portage. I find this physics sdk somewhat better structured than ODE, and ODE is already there.

If anyone has made an ebuild please submit it. If not, then I'll do it myself, hoping it will be accepted..

Thanks
Comment 1 Renato Caldas 2007-02-10 18:42:29 UTC
I've done a simple ebuild that works.

The only problem seems to be that the Demos and the Extras get built, and I can find no way of turning that off.. They don't get installed, but it takes a bit longer to build everything.
Comment 2 Renato Caldas 2007-02-10 18:44:14 UTC
Created attachment 109799 [details]
The proposed ebuild

This is my proposed ebuild.

The only things lacking may be the ability to not compile the Extras and Demos or the ability to install them.
Comment 3 Sébastien Fabbro (RETIRED) gentoo-dev 2007-05-03 16:14:01 UTC
Hi Renato,

Thanks for your input.
In order to have bullet in the tree, the ebuild needs more work:
- RDEPEND does not need jam
- use the die function when you can (e.g. for econf) 
- there seems to have an opengl/glut dependency
- documentation: the package provides much, but the ebuild does not install any
- an src_test would be very nice (it seems you need cppunit in this case)
- if there is a way to build the shared library, include it

You also might want to update to the latest, which also seem to use cmake.

Sébastien
Comment 4 Renato Caldas 2007-05-03 20:54:47 UTC
Ok, I'll work on it. Thanks for the input.

I'll be really busy until the end of the next week, but expect something done after that.

Cheers,
  Renato
Comment 5 Renato Caldas 2007-05-20 13:50:42 UTC
(In reply to comment #3)
> Hi Renato,
Hello!

> Thanks for your input.
> In order to have bullet in the tree, the ebuild needs more work:

> - RDEPEND does not need jam
Done,

> - use the die function when you can (e.g. for econf) 
Done,

> - there seems to have an opengl/glut dependency
It's for the demos. I've added a use flag, although no install mechanism is in place (see bellow).. Also, there seems to be no effect of setting --without-x and --without-mesa...

> - documentation: the package provides much, but the ebuild does not install any
I can't see any docs on the 2.50b tarball.. Can you point me to them?

> - an src_test would be very nice (it seems you need cppunit in this case)
Hum, not sure how to do this, will try to learn :)

> - if there is a way to build the shared library, include it
Apparently the author doesn't want this, so it provides no visible mechanism... Only the static library is built..
 
> You also might want to update to the latest, which also seem to use cmake.
CMake is broken on purpose, as the author states here:
http://www.continuousphysics.com/Bullet/phpBB2/viewtopic.php?p=3876&sid=c70f16763aef803fee76512bfa26dd06

There is no ability to install anything with cmake. And now with 2.50b jam is also unable to install the libraries/headers:

>>> Merging sci-physics/bullet-2.50b to /
>>> sci-physics/bullet-2.50b merged.
>>> Recording sci-physics/bullet in "world" favorites file...

>>> No packages selected for removal by clean
>>> Auto-cleaning packages...

>>> No outdated packages were found on your system.
 * GNU info directory index is up-to-date.

Summing up, the build system(s) is(are) broken.. So unless the author changes his philosophy I guess there's no point for the bullet ebuild....

Cheers,
  Renato
Comment 6 Renato Caldas 2007-05-20 13:52:34 UTC
Created attachment 119791 [details]
The updated ebuild

Here's the updated (although not working) ebuild
Comment 7 Renato Caldas 2007-05-20 14:14:16 UTC
Created attachment 119803 [details]
The working ebuild

Oh, sorry, I forgot the double-ticks around the ${D}.. now it installs everything correctly :)

So the ebuild is working! (although the demos keep being compiled..)
Comment 8 Christoph Brill (egore) (RESIGNED) 2007-05-23 09:15:31 UTC
Created attachment 120066 [details]
sci-physics/bullet-2.51

Took the 2.50b ebuild. Fixed:

- LICENCE -> LICENSE
- "" round ZLIB
- use sourceforge mirrors
Comment 9 Renato Caldas 2007-05-23 13:44:32 UTC
(In reply to comment #8)
> Created an attachment (id=120066) [edit]
> sci-physics/bullet-2.51
> 
> Took the 2.50b ebuild. Fixed:
> 
> - LICENCE -> LICENSE
> - "" round ZLIB
Ooops.. these were really stupid bugs..

> - use sourceforge mirrors
> 

Seems better!
Comment 10 Renato Caldas 2007-06-04 11:56:01 UTC
Bullet 2.52 is out.
Comment 11 Santiago M. Mola (RETIRED) gentoo-dev 2007-06-09 23:49:38 UTC
Created attachment 121640 [details]
bullet-2.52.ebuild

Bump.
Comment 12 Renato Caldas 2007-06-10 10:39:39 UTC
Maybe sunrise would be a better place for this ebuild :)
Comment 13 Sébastien Fabbro (RETIRED) gentoo-dev 2007-06-10 14:48:36 UTC
just put a slightly modified ebuild in gentooscience. thanks!
Comment 14 Auke Booij (tulcod) 2007-08-29 16:19:33 UTC
With a view on the possibility of games which might be depending on this library, I think it should be in the main repos
Comment 15 Sébastien Fabbro (RETIRED) gentoo-dev 2007-09-15 09:30:45 UTC
> With a view on the possibility of games which might be depending on this
> library, I think it should be in the main repos

Well I'd be willing to do this. But I don't know this package at all. So if someone could provide a way to test it, or better a src_test function in the ebuild, that would be great.

Comment 16 Sébastien Fabbro (RETIRED) gentoo-dev 2007-11-14 15:27:31 UTC
bumped to 2.64. Vote for this bug or CC yourself to it if you would like to see this in the main tree.
Comment 17 Christoph Brill (egore) (RESIGNED) 2008-02-11 21:12:56 UTC
Created attachment 143238 [details, diff]
bullet-2.64-gcc4.patch

I needed this patch to compile bullet 2.64 under gcc 4.2.2
Comment 18 Piotr Szymaniak 2008-02-18 20:51:02 UTC
(In reply to comment #13)
> just put a slightly modified ebuild in gentooscience. thanks!

Would be nice to post it here since gentooscience looks... dead?

Anyone with that 2.64 ebuild?
Comment 19 Piotr Szymaniak 2008-02-18 23:05:24 UTC
Created attachment 143919 [details]
sci-physics/bullet-2.64.ebuild

Found it somewhere in the internet, added patch from egore. Works here.
Comment 20 Sébastien Fabbro (RETIRED) gentoo-dev 2008-02-26 11:35:40 UTC
> Would be nice to post it here since gentooscience looks... dead?
> 
> Anyone with that 2.64 ebuild?

gentooscience has been transfered to overlays.gentoo.org. You can still add it with layman -a science, just as before.
Also the 2.64 ebuild has been there, and I just updated it with the gcc-4.2 patch.
I will probably push bullet in the main tree once 2.67 is out, since 2.66 has some issues.
Thanks
Comment 21 Sébastien Fabbro (RETIRED) gentoo-dev 2008-03-11 21:46:25 UTC
bullet-2.67 now in the main tree. Thanks all.