Bug 244974 - New port: games/micropolis-fbsd: Opensource SimCity clone
Summary: New port: games/micropolis-fbsd: Opensource SimCity clone
Status: Open
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Felix Palmen
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-03-22 12:02 UTC by Felix Palmen
Modified: 2023-01-10 19:38 UTC (History)
2 users (show)

See Also:


Attachments
Add games/micropolis-fbsd (21.48 KB, patch)
2020-03-22 12:02 UTC, Felix Palmen
no flags Details | Diff
0001-games-micropolis-fbsd-add-new-port (20.86 KB, patch)
2021-10-16 13:14 UTC, Felix Palmen
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Felix Palmen freebsd_committer freebsd_triage 2020-03-22 12:02:52 UTC
Created attachment 212610 [details]
Add games/micropolis-fbsd

Micropolis is a game very similar to the classic SimCity.
Comment 1 Li-Wen Hsu freebsd_committer freebsd_triage 2020-07-03 17:07:45 UTC
Thanks for submitting, it looks good and builds fine.
Do we really need -fbsd suffix when this lands in FreeBSD ports tree?
Comment 2 Felix Palmen freebsd_committer freebsd_triage 2020-07-03 18:56:54 UTC
(In reply to Li-Wen Hsu from comment #1)
Well, my reasoning was that the repository I used for upstream states that it is specifically ported to FreeBSD: https://github.com/interkosmos/micropolis

So, do you think this needs a suffix or not? I'm not entirely sure about precise rules here.
Comment 3 Li-Wen Hsu freebsd_committer freebsd_triage 2020-07-03 19:01:22 UTC
(In reply to Felix Palmen from comment #2)
I don't think there is a strict rule here, but since that repository contains the patches that you created for porting https://github.com/SimHacker/micropolis to FreeBSD, it sounds a port with "external patches" of the same software. So I suggest let's keep the original name and I encourage you try to upstream patches to let them officially support FreeBSD.
Comment 4 Felix Palmen freebsd_committer freebsd_triage 2020-07-03 19:08:12 UTC
(In reply to Li-Wen Hsu from comment #3)
That's a misunderstanding, the upstream repository isn't mine. And, both repositories seem pretty inactive for a long time.
Comment 5 Felix Palmen freebsd_committer freebsd_triage 2020-07-04 06:25:32 UTC
Elaborating on this a bit:

https://github.com/SimHacker/micropolis which is given as the "source" seems to have different implementations, Python, C#, Java, ... there's also some TCL code there, but from what you find in the README, it seems that was abandoned earlier.

https://github.com/interkosmos/micropolis just states it's ported to FreeBSD. It's TCL/Tk (with a bundled runtime) exclusively. So, I'm not even sure this is a "fork", it might have imported some older code. According to my testing, the game works and is playable :)

The reason I added the -fbsd suffix was to make it obvious this is not the "original" micropolis but the "ported" one from this interkosmos repo. Again, I'm not sure this is the correct usage for name suffixes, so if there are good reasons not to do it, I'm fine with it as well.

Given both repositories haven't been active for a long time, I'd expect this to be a port that could live as long as you can make it compile and run correctly. Depending only on some X11 libraries, it's IMHO unlikely to break too soon. Of course, I'd also understand if you don't want to have such inactive stuff in the ports tree.

If someone is thinking about committing this, I could give it a few "testport" runs on a recent ports tree again, also with an up-to-date -CURRENT.
Comment 6 Felix Palmen freebsd_committer freebsd_triage 2021-10-16 13:14:40 UTC
Created attachment 228763 [details]
0001-games-micropolis-fbsd-add-new-port

Well, it's been a while and nothing happened "upstream". I just updated the patch onto a current version of the ports tree (and in a format that can be applied with 'git am').

The game still builds and works fine, and I'd assume upstream is inactive for good, so if that's a reason not to add the port, please just close this PR :)
Comment 7 Daniel Engberg freebsd_committer freebsd_triage 2022-08-07 23:45:54 UTC
Upstream seems dead so I'd be reluctant adding it as-is and having a quick look at GitHub there seems to be various ports and active upstream repos.
Comment 8 Daniel Engberg freebsd_committer freebsd_triage 2023-01-10 19:38:31 UTC
Felix, is this still something of interest?