I would like version bump of bub-n-bros ebuild. Thanks. Reproducible: Always Steps to Reproduce: 1. 2. 3.
Created attachment 49341 [details] bub-n-bros-1.3.ebuild Non-working ebuild to work from. I hate python.
python guys - can you take a shot at making this work please? I don't know enough python to fix it up.
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.
About time to upgrade.... 1.4 is out (please update summary)
*** Bug 95923 has been marked as a duplicate of this bug. ***
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.
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.
There's no way it can go into portage when it writes to /usr.
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.
Created attachment 61181 [details] files/bub-n-bros (wrapper script)
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.
someone has send this info upstream, so that we can this close soon?
If you're asking if anyone has written a patch yet, then the answer is no.
bub-n-bros 1.5 is out
Does 1.5 write to $HOME?
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 ./
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
Created attachment 120181 [details] bub-n-bros-9999.ebuild bub-n-bros CVS ebuild
Created attachment 121417 [details] bub-n-bros-1.5.patch Patch which does what sed did in previous ebuild
Created attachment 121418 [details] bub-n-bros-1.5.ebuild ebuild that uses bub-n-bros-1.5.patch
Fixed, thanks.