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

Bug 205707

Summary: New package: games-simulation/micropolis
Product: Gentoo Linux Reporter: Santiago M. Mola (RETIRED) <coldwind>
Component: [OLD] GamesAssignee: Gentoo Games <games>
Status: RESOLVED FIXED    
Severity: enhancement CC: alex, bugzie, bWare, flophousejoe-gentoo-bugzilla-ehx, GenKreton, gotletter, jatany, mike.gualtieri, nbensa, thothonegan, voyageur
Priority: Normal Keywords: InVCS
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://www.donhopkins.com/home/micropolis/
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: ebuild for Micropolis (a.k.a S*m C*ty)
patch for micropolis source
updated ebuild - 2/6/08
latest mods on the micropolis ebuild - updated 2/11/08
micropolis licence

Description Santiago M. Mola (RETIRED) gentoo-dev 2008-01-13 20:43:06 UTC
Micropolis is a GPL'd "fork" of the classic SimCity.
Comment 1 Mike Gualtieri 2008-02-06 04:32:59 UTC
Created attachment 142767 [details]
ebuild for Micropolis (a.k.a S*m C*ty)

Here is an ebuild for Micropolis.  It has a wierd build process and runtime environment, so I'm hoping this ebuild conforms to Gentoo standards.  I can edit it if someone tells me otherwise.

It also has a new license, and I wasn't sure the proper way to add this to portage, so I just had the ebuild copy it over.
Comment 2 Mike Gualtieri 2008-02-06 04:34:27 UTC
Created attachment 142768 [details, diff]
patch for micropolis source

This is a patch for the Micropolis source.  It should exist inside the files for for the Micropolis ebuild.

The original source of the patch is here:
http://rmdir.de/~michael/micropolis_git.patch
Comment 3 Mike Gualtieri 2008-02-07 02:09:05 UTC
Created attachment 142860 [details]
updated ebuild - 2/6/08

I updated the ebuild based on a few comments on the forums...
http://forums.gentoo.org/viewtopic-p-4824296.html
Comment 4 Paulo da Silva 2008-02-07 02:44:53 UTC
Looks fine ...

No sound however!

Permissions to execute by user and group should be given to
/usr/games/share/micropolis/res/sounds/player

Thanks
Comment 5 bware 2008-02-07 14:39:48 UTC
This works on ~amd64 if you install dev-util/yacc first (it dose not compile with the default bison). 
Comment 6 Paulo da Silva 2008-02-07 20:04:00 UTC
(In reply to comment #5)
> This works on ~amd64 if you install dev-util/yacc first (it dose not compile
> with the default bison). 
> 

I did
ACCEPT_KEYWORDS=~x86 emerge micropolis
with the 1st ebuild here published and it compiled and runs fine on my 64 bits system. I do *not* have yacc installed!

BTW, I don't know what is the effect of compiling using ACCEPT_KEYWORDS=~x86 on a 64 bits system. I just did that instead of changing the ebuild.
Comment 7 Kyle Hunter 2008-02-08 05:59:41 UTC
(In reply to comment #6)
> (In reply to comment #5)
> > This works on ~amd64 if you install dev-util/yacc first (it dose not compile
> > with the default bison). 
> > 
> 
> I did
> ACCEPT_KEYWORDS=~x86 emerge micropolis
> with the 1st ebuild here published and it compiled and runs fine on my 64 bits
> system. I do *not* have yacc installed!
> 
> BTW, I don't know what is the effect of compiling using ACCEPT_KEYWORDS=~x86 on
> a 64 bits system. I just did that instead of changing the ebuild.
> 

You should add
games-simulation/micropolis ~x86
in /etc/portage/package.keywords

And it will have the same effect - without modifying the keyword or globally setting ~x86.
Comment 8 Mike Gualtieri 2008-02-12 02:20:47 UTC
Created attachment 143273 [details]
latest mods on the micropolis ebuild - updated 2/11/08

New ebuild...
Comment 9 Mike Gualtieri 2008-02-12 02:21:58 UTC
Created attachment 143275 [details]
micropolis licence
Comment 10 Hanno Böck gentoo-dev 2008-06-11 15:11:04 UTC
I've added a cleaned up version of the ebuild to the tree.