Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 78823 - games-arcade/bub-n-bros-1.5 version bump
Summary: games-arcade/bub-n-bros-1.5 version bump
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All Linux
: High enhancement
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
: 95923 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-01-20 08:44 UTC by Stolz
Modified: 2007-06-08 01:02 UTC (History)
6 users (show)

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


Attachments
bub-n-bros-1.3.ebuild (bub-n-bros-1.3.ebuild,1.83 KB, text/plain)
2005-01-23 23:17 UTC, Mr. Bones. (RETIRED)
Details
bub-n-bros-1.3.ebuild (bub-n-bros-1.3.ebuild,1.85 KB, text/plain)
2005-02-28 20:32 UTC, Fernando Serboncini (RETIRED)
Details
tested 1.3 ebuild (bub-n-bros-1.3.ebuild,1.14 KB, text/plain)
2005-06-13 01:53 UTC, Jeffrey
Details
bub-n-bros-1.3.ebuild try 2 (bub-n-bros-1.3.ebuild,1.07 KB, text/plain)
2005-06-13 17:16 UTC, Jeffrey
Details
files/bub-n-bros (wrapper script) (bub-n-bros,715 bytes, text/plain)
2005-06-13 17:18 UTC, Jeffrey
Details
bub-n-bros-1.5.ebuild (bub-n-bros-1.5.ebuild,1.85 KB, text/plain)
2007-05-23 21:34 UTC, Tomasz Mon
Details
bub-n-bros-9999.ebuild (bub-n-bros-9999.ebuild,1.94 KB, text/plain)
2007-05-24 11:17 UTC, Tomasz Mon
Details
bub-n-bros-1.5.patch (bub-n-bros-1.5.patch,2.97 KB, text/plain)
2007-06-07 16:41 UTC, Tomasz Mon
Details
bub-n-bros-1.5.ebuild (bub-n-bros-1.5.ebuild,1.26 KB, text/plain)
2007-06-07 16:41 UTC, Tomasz Mon
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Stolz 2005-01-20 08:44:01 UTC
I would like version bump of bub-n-bros ebuild.

Thanks.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Mr. Bones. (RETIRED) gentoo-dev 2005-01-23 23:17:39 UTC
Created attachment 49341 [details]
bub-n-bros-1.3.ebuild

Non-working ebuild to work from.  I hate python.
Comment 2 Mr. Bones. (RETIRED) gentoo-dev 2005-02-28 09:39:23 UTC
python guys - can you take a shot at making this work please?   I don't know enough python to fix it up.
Comment 3 Fernando Serboncini (RETIRED) gentoo-dev 2005-02-28 20:32:42 UTC
Created attachment 52338 [details]
bub-n-bros-1.3.ebuild

Fixed the python imports. The server does run, but needs write access to some
files when you create a new game. Your turn, Mr.Bones.
Comment 4 Stian Skjelstad 2005-05-23 12:37:19 UTC
About time to upgrade.... 1.4 is out (please update summary)
Comment 5 Mr. Bones. (RETIRED) gentoo-dev 2005-06-12 21:31:47 UTC
*** Bug 95923 has been marked as a duplicate of this bug. ***
Comment 6 Jeffrey 2005-06-13 01:53:36 UTC
Created attachment 61133 [details]
tested 1.3 ebuild

fixed (and tested) 1.3 ebuild

There is a really weird hack used to get the permissions right (the game needs
write access). Adding it after prepgamesdirs doesn't seem to have much effect,
so I had to add a pkg_postinst.

There could still be improvements to this, like removing that weird hack.
Comment 7 Jeffrey 2005-06-13 01:56:07 UTC
Sorry for the bugspam, but I forgot to mention that 1.4 is (at least here)
completely broken. Saving configs and starting new games doesn't work, even when
installed in your home dir.
Comment 8 Mr. Bones. (RETIRED) gentoo-dev 2005-06-13 07:33:45 UTC
There's no way it can go into portage when it writes to /usr.
Comment 9 Jeffrey 2005-06-13 17:16:54 UTC
Created attachment 61180 [details]
bub-n-bros-1.3.ebuild try 2

changes:
- now uses a wrapper script which mirrors the libdir in ${HOME} and runs the
game from there, based on the epsxe one which uses symlinks, I'll attach this
in a minute
- some more || die's

The wrapper script could be more efficent. Currently, it copies the entire
directory over instead of mirroring with symlinks. If anyone wants to try using
symlinks, have fun, but make sure to check if the game actually runs.
The game needs write access to http2/config.txt, bubbob/ext* and bubbob/images
(and the files in there) and BubBob.log and perhaps some other files.
BubBob.log isn't needed, but otherwise, it writes to /tmp/BubBob.log without
checking if the file already exists, a possible local security hole.
Comment 10 Jeffrey 2005-06-13 17:18:48 UTC
Created attachment 61181 [details]
files/bub-n-bros (wrapper script)
Comment 11 Chris Gianelloni (RETIRED) gentoo-dev 2005-07-29 07:11:32 UTC
I think the proper solution here would be to patch the game to write to $HOME,
rather than using a wrapper, and to send the patch upstream.  We're trying to
keep from adding any more wrapper hacks such as this to anything that is not
binary-only.  Once a patch is made, then we can look at including this into portage.
Comment 12 Daniel Webert 2005-09-05 13:44:33 UTC
someone has send this info upstream, so that we can this close soon?
Comment 13 Chris Gianelloni (RETIRED) gentoo-dev 2005-09-26 11:55:29 UTC
If you're asking if anyone has written a patch yet, then the answer is no.
Comment 14 Tupone Alfredo gentoo-dev 2006-06-04 10:43:02 UTC
bub-n-bros 1.5 is out 
Comment 15 Chris Gianelloni (RETIRED) gentoo-dev 2006-06-06 14:29:37 UTC
Does 1.5 write to $HOME?
Comment 16 Mr. Bones. (RETIRED) gentoo-dev 2006-06-06 15:22:04 UTC
The changelog claims it does but it still needs a patch to the code to find the data files.  It expects to find them in ./
Comment 17 Tomasz Mon 2007-05-23 21:34:02 UTC
Created attachment 120135 [details]
bub-n-bros-1.5.ebuild

This ebuild changes files so it's possible to run without having write access to game directory. Config file is saved into ~/.bubnbros
Comment 18 Tomasz Mon 2007-05-24 11:17:55 UTC
Created attachment 120181 [details]
bub-n-bros-9999.ebuild

bub-n-bros CVS ebuild
Comment 19 Tomasz Mon 2007-06-07 16:41:19 UTC
Created attachment 121417 [details]
bub-n-bros-1.5.patch

Patch which does what sed did in previous ebuild
Comment 20 Tomasz Mon 2007-06-07 16:41:53 UTC
Created attachment 121418 [details]
bub-n-bros-1.5.ebuild

ebuild that uses bub-n-bros-1.5.patch
Comment 21 Tristan Heaven (RETIRED) gentoo-dev 2007-06-08 01:02:11 UTC
Fixed, thanks.