Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 64431

Summary: ebuilds for new game tomatoes (I Have No Tomatoes)
Product: Gentoo Linux Reporter: Greg Watson (linuxkrn) <bugs>
Component: [OLD] GamesAssignee: Gentoo Games <games>
Status: RESOLVED FIXED    
Severity: enhancement CC: flash3001, lsoft, m.debruijne, mr_bones_
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
URL: http://tomatoes.sourceforge.net/about.html
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: tomatoes-1.0.ebuild
tomatoes-data-1.0.ebuild
tomatoes-1.0.ebuild
tomatoes-1.0.ebuild
tomatoes-1.0.ebuild
tomatoes-1.0.ebuild
adds ~/.tomatoesrc support
tomatoes-1.5.ebuild
tomatoes-1.5.ebuild (update)

Description Greg Watson (linuxkrn) 2004-09-17 11:35:36 UTC
*  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
Comment 1 Greg Watson (linuxkrn) 2004-09-17 11:36:31 UTC
Created attachment 39773 [details]
tomatoes-1.0.ebuild
Comment 2 Greg Watson (linuxkrn) 2004-09-17 11:36:50 UTC
Created attachment 39774 [details]
tomatoes-data-1.0.ebuild
Comment 3 Mr. Bones. (RETIRED) gentoo-dev 2004-09-17 14:37:26 UTC
Just include the data in the tomatoes ebuild please.
Comment 4 Greg Watson (linuxkrn) 2004-09-17 15:12:52 UTC
Created attachment 39810 [details]
tomatoes-1.0.ebuild

Added data to src ebuild.
Comment 5 Mr. Bones. (RETIRED) gentoo-dev 2004-09-17 19:46:16 UTC
kind of works.  trying to modify the options makes it bail out though.
Comment 6 Greg Watson (linuxkrn) 2004-09-18 11:58:12 UTC
Created attachment 39870 [details]
tomatoes-1.0.ebuild

filed file perms (g+w) of config.cfg.
Comment 7 Greg Watson (linuxkrn) 2004-09-18 11:58:58 UTC
Comment on attachment 39870 [details]
tomatoes-1.0.ebuild

Fixed ebuild filer perms (g+w) on config file.
Comment 8 Mr. Bones. (RETIRED) gentoo-dev 2004-09-18 14:33:17 UTC
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.
Comment 9 Mr. Bones. (RETIRED) gentoo-dev 2004-09-22 01:44:30 UTC
Created attachment 40145 [details]
tomatoes-1.0.ebuild

My current ebuild.  Still needs the homedir patch.
Comment 10 Greg Watson (linuxkrn) 2004-09-22 10:20:07 UTC
Created attachment 40173 [details]
tomatoes-1.0.ebuild

patched ebuild
Comment 11 Greg Watson (linuxkrn) 2004-09-22 10:21:26 UTC
Created attachment 40174 [details, diff]
adds ~/.tomatoesrc support
Comment 12 Ali Sabil 2004-10-10 07:24:23 UTC
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
Comment 13 Mika Halttunen 2004-10-11 04:21:22 UTC
The 1.5 version has the user HOME dir support built-in. Can't it be used as it is?
Comment 14 Ali Sabil 2004-10-11 09:26:57 UTC
i didn't try it yet ... but if you're sur it is, then it can be used as is
Comment 15 Greg Watson (linuxkrn) 2004-10-14 14:45:28 UTC
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.

Comment 16 Ali Sabil 2004-10-17 00:05:39 UTC
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 !
Comment 17 Mr. Bones. (RETIRED) gentoo-dev 2004-10-18 19:01:07 UTC
games-arcade/tomatoes added to portage.  Thanks for the bug report and ebuild.
Comment 18 Mr. Bones. (RETIRED) gentoo-dev 2004-10-18 19:01:54 UTC
*** Bug 59247 has been marked as a duplicate of this bug. ***