Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 259181 - Numpty Physics [new package]
Summary: Numpty Physics [new package]
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All Linux
: High enhancement with 1 vote (vote)
Assignee: Gentoo Games
URL: http://numptyphysics.garage.maemo.org/
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2009-02-16 06:41 UTC by Anton Romanov
Modified: 2015-11-28 00:13 UTC (History)
4 users (show)

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


Attachments
ebuild of numptyphysics svn revision 120 (numptyphysics-svn-120.ebuild,530 bytes, text/plain)
2009-03-18 16:22 UTC, Vladimir Dolzhenko
Details
live ebuild for numpty physics (numptyphysics-9999.ebuild,1.14 KB, text/plain)
2009-06-03 09:47 UTC, Bruno 'brubru' Tarquini
Details
failed build log (build.log,11.93 KB, text/plain)
2010-10-24 09:50 UTC, mcarrow
Details
numptyphysics-9999.ebuild (numptyphysics-9999.ebuild,2.45 KB, text/plain)
2015-11-25 23:27 UTC, Samuel Bauer
Details
numptyphysics-9999.ebuild.patch (numptyphysics-9999.ebuild.patch,469 bytes, patch)
2015-11-28 00:13 UTC, Samuel Bauer
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Anton Romanov 2009-02-16 06:41:04 UTC
Harness gravity with your crayon and set about creating blocks, ramps, levers, pulleys and whatever else you fancy to get the little red thing to the little yellow thing.

Numpty Physics is a drawing puzzle game in the spirit (and style?) of Crayon Physics using the same excellent Box2D engine.
Comment 1 Cyp 2009-02-20 21:05:05 UTC
Looked quickly at this, but wasn't sure how to make ebuilds for it. (I'm not a Gentoo dev nor ebuild expert...)

Random observations:

I couldn't locate a source tarball for Numpty Physics. (Maybe I missed it, I just found binaries and svn.)

Didn't find any Box2D ebuilds.

Dependencies for Box2D seem to be freeglut (in portage) and glui (not in portage, but ebuild is in bug 23207), since they are bundled with Box2D.

The main box2d.h header includes a lot of files called "../Source/*/*.h". I imagine that the paths should be rewritten when installing headers, or something like that.


(P.S. Huh? Only the assignee, bug reporter or a superuser can change the "Bug 259181 depends on:" list? I tried to add 23207.)
Comment 2 Vladimir Dolzhenko 2009-03-18 13:47:55 UTC
Well, source successfully compiled and work from svn rev 120  
I'm goint to write eduilb in a few days 
Comment 3 Vladimir Dolzhenko 2009-03-18 16:22:00 UTC
Created attachment 185449 [details]
ebuild of numptyphysics svn revision 120

ebuild of numptyphysics svn revision 120
Comment 4 Vladimir Dolzhenko 2009-03-18 16:23:44 UTC
perhaps, ebuild require more dependencies
Comment 5 Bruno 'brubru' Tarquini 2009-06-03 09:47:33 UTC
Created attachment 193384 [details]
live ebuild for numpty physics

Here some updates for this ebuild:

* more dependencies: SDL, libX11... (checked in configure.in and with ldd)
* use games.eclass
* fix the datadir search /usr/share -> /usr/share/games
* move icons to the right place

I tested the latest svn revision (142). But if the ebuild is renamed to numptyphysics-REV.ebuild it will build at this revision.
Comment 6 Vladimir Dolzhenko 2009-06-03 11:24:01 UTC
what's about add ebuild to portage tree or sunrise overlay ???
Comment 7 Cyp 2009-08-04 17:39:35 UTC
Builds on amd64.

I got the red thing to touch the yellow thing, and the yellow thing disappeared. Is anything supposed to happen after that? (Such as going to a new level or something?)
Comment 8 Maxim Konyushikhin 2009-08-15 17:13:59 UTC
Ebuild compiles and works fine for me on intel core2 duo.

media-libs/sdl-image must be added to the dependencies.
Comment 9 Account removed 2009-10-13 07:03:46 UTC
just added the ebuild with some modifications (f.e. depending on dev-libs/box2d)
to the develbranch of our gamerlay overlay - 
http://git.overlays.gentoo.org/gitweb/?p=proj/gamerlay.git;a=commit;h=93da08bd64c764f29e230f5e8cd9aa0c0b815365

you're welcome to join us on irc freenode #gentoo-gamerlay 
Comment 10 mcarrow 2010-10-24 09:50:11 UTC
Created attachment 251781 [details]
failed build log
Comment 11 mcarrow 2010-10-24 09:50:36 UTC
Failed to build:
WARNING: `aclocal-1.10' is missing on your system.  You should only need it if
         you modified `acinclude.m4' or `configure.in'.  You might want
         to install the `Automake' and `Perl' packages.  Grab them from
         any GNU archive site.
perl and automake are already installed.
Comment 12 Samuel Bauer 2015-11-25 23:27:24 UTC
Created attachment 417894 [details]
numptyphysics-9999.ebuild

A modified version of the live ebuild
Hope to see this package soon in the portage tree
Comment 13 Mr. Bones. (RETIRED) gentoo-dev 2015-11-26 10:09:22 UTC
yeah, fun game.  in portage.  thanks for the bug report and ebuild submission.
Comment 14 Samuel Bauer 2015-11-28 00:13:20 UTC
Created attachment 418034 [details, diff]
numptyphysics-9999.ebuild.patch

I didn't hope the push to be so fast as bug has been opened since quite 6 years.

Meanwhile I sent bug report to this project dev, and he just commited fix 2 hours ago. Even the ebuild will still build fine the last call to sed in src_prepare is no more required.

Thanks.