* games-arcade/tomatoes Latest version available: 1.0 Latest version installed: 1.0 Size of downloaded files: 51 kB Homepage: http://tomatoes.sourceforge.net/about.html Description: How many tomatoes can you smash in ten short minutes? License: ZLIB * games-arcade/tomatoes-data Latest version available: 1.0 Latest version installed: 1.0 Size of downloaded files: 8,580 kB Homepage: http://tomatoes.sourceforge.net/about.html Description: Data files for games-arcade/tomatoes. License: ZLIB
Created attachment 39773 [details] tomatoes-1.0.ebuild
Created attachment 39774 [details] tomatoes-data-1.0.ebuild
Just include the data in the tomatoes ebuild please.
Created attachment 39810 [details] tomatoes-1.0.ebuild Added data to src ebuild.
kind of works. trying to modify the options makes it bail out though.
Created attachment 39870 [details] tomatoes-1.0.ebuild filed file perms (g+w) of config.cfg.
Comment on attachment 39870 [details] tomatoes-1.0.ebuild Fixed ebuild filer perms (g+w) on config file.
No, we really don't want individual users to be able to change the global config file. The game needs to be patched to save the config file to ~/.tomatoesrc or something and try to read first from there, falling back to reading from the system location.
Created attachment 40145 [details] tomatoes-1.0.ebuild My current ebuild. Still needs the homedir patch.
Created attachment 40173 [details] tomatoes-1.0.ebuild patched ebuild
Created attachment 40174 [details, diff] adds ~/.tomatoesrc support
Created attachment 41456 [details] tomatoes-1.5.ebuild this is an ebuild for the 1.5 version, the code changed a little so, i had to make changes to the ebuild, and i also disabled the patching for using ~/.tomatoesrc since i didn't have time to change this, the config is stored (currently, waiting for a new patch) in /var/games/tomatoes/config.cfg
The 1.5 version has the user HOME dir support built-in. Can't it be used as it is?
i didn't try it yet ... but if you're sur it is, then it can be used as is
I checked the code and the author added home directory support in config.cpp. It should be good to go without a new patch. He did move it to ~/.tomatoes/config.cfg, so update the ebuild to reflect that change.
Created attachment 42009 [details] tomatoes-1.5.ebuild (update) this new ebuild, just install the config file into the sysgameconfig location (/etc/games) since the 1.5 version support the homedir config file !
games-arcade/tomatoes added to portage. Thanks for the bug report and ebuild.
*** Bug 59247 has been marked as a duplicate of this bug. ***