xlincity, another opensource S\*mC\*ty fork, now runs on OpenSolaris
By bnitz on Jan 28, 2008
Now there are two OpenSolaris options for those who spent many long hours playing SimCity in the 1980s and 90s, or those who would like to experiment with city simulations and contribute to the project. The first was micropolis, a port designed with the XO One Laptop Per Child project in mind and promising extensibility via Python modules.
And now I've checked in a spec file and patch which builds xlincity (a.k.a. lincity.) which looks to be a rather old, but ready to play X11 port of the classic game. For some reason, parts of the lincity source code seemed to have been written with notepad, edlin or some other Windows/DOS text editor, as they had to be run through dos2unix in order to get them to build properly on OpenSolaris. But the SFExlincity spec file sorts that out for you and it applies a small xlincity-01-solaris.diff patch.
The easiest way to build it on OpenSolaris (and possibly Solaris 10?) is:
- Install the OpenSolaris Common Build Environment (CBE) from http://opensolaris.org/os/project/jds/contributing/building
- Checkout a copy of Spec-files-extra: svn co https://pkgbuild.svn.sourceforge.net/svnroot/pkgbuild/spec-files-extra/trunk SFE
- Set your proxy (if needed): export http_proxy=http://your.proxy.server:your_proxy_port_number
- pkgtool build-install --download SFExlincity.spec