Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 205707 - New package: games-simulation/micropolis
Summary: New package: games-simulation/micropolis
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Gentoo Games
URL: http://www.donhopkins.com/home/microp...
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2008-01-13 20:43 UTC by Santiago M. Mola (RETIRED)
Modified: 2008-06-11 15:11 UTC (History)
11 users (show)

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


Attachments
ebuild for Micropolis (a.k.a S*m C*ty) (micropolis-1.0.ebuild,2.14 KB, text/plain)
2008-02-06 04:32 UTC, Mike Gualtieri
Details
patch for micropolis source (micropolis_git.patch,70.03 KB, patch)
2008-02-06 04:34 UTC, Mike Gualtieri
Details | Diff
updated ebuild - 2/6/08 (micropolis-1.0.ebuild,2.19 KB, text/plain)
2008-02-07 02:09 UTC, Mike Gualtieri
Details
latest mods on the micropolis ebuild - updated 2/11/08 (micropolis-1.0.ebuild,2.19 KB, text/plain)
2008-02-12 02:20 UTC, Mike Gualtieri
Details
micropolis licence (micropolis,5.94 KB, text/plain)
2008-02-12 02:21 UTC, Mike Gualtieri
Details

Note You need to log in before you can comment on or make changes to this bug.
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.